Skip to main content

Needed and up-to-date tools to develop in Python

Project description

Python Dev Tools

Needed and up-to-date tools to develop in Python (WORK IN PROGRESS)

https://img.shields.io/pypi/v/python_dev_tools.svg https://img.shields.io/pypi/l/python_dev_tools.svg https://travis-ci.com/vpoulailleau/python-dev-tools.svg?branch=master Documentation Status Downloads Coverage Status Maintainability Maintainability Maintainability

Documentation

The full documentation can be read at https://python-dev-tools.readthedocs.io.

Installation

Install pipx if not yet installed: https://pipxproject.github.io/pipx/installation/

Then in a terminal, run:

$ pipx install python_dev_tools

Full documentation on installation: https://python-dev-tools.readthedocs.io/en/latest/installation.html

That’s it! Use the provided linter, formatter and precommit hook where applicable.

Upgrade

If not using pipx, follow again the installation procedure.

If using pipx (preferred installation method), run in a terminal:

$ pipx upgrade python_dev_tools

Installation with Visual Studio Code

  • Follow the installation procedure for python-dev-tools

  • Be sure to have the official Python extension installed in VS Code

  • In VS Code, open settings (F1 key, then type “Open Settings (JSON)”, then enter)

  • Add in the opened JSON file:

"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Path": "/home/vincent/.local/bin/whatalinter",
  • Adapt the previous path according to your installation.

Features

Integrate features of commonly used tools. This package provides usual dependencies to develop Python software.

License

BSD 3-Clause license, feel free to contribute: https://python-dev-tools.readthedocs.io/en/latest/contributing.html.

TODO

  • documentation

  • linter

    • add more linters

  • formatter

  • precommit

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

2019.07.21

  • Add –quiet and –diff flags to whataformatter for VS Code compatibility

2019.07.20

  • Add black formatter

  • Add autoflake formatter

  • Add pyupgrade formatter

2019.04.08

  • Add flake8 linter

  • Add flake8-isort linter

  • Add pep8-naming linter

  • Add flake8-comprehensions linter

  • Add flake8-logging-format linter

  • Add flake8-bugbear linter

  • Add flake8-builtins linter

  • Add flake8-broken-line linter

  • Add flake8-fixme linter

  • Add flake8-mutable linter

  • Add flake8-debugger linter

  • Add flake8-variables-names linter

  • Add flake8-bandit linter

2019.03.02

  • Add pydocstyle linter

2019.03.01

  • Add McCabe complexity checker

2019.02.26

  • Add pyflakes linter

  • Add pycodestyle linter

2019.02.23

  • First release on PyPI.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_dev_tools-2019.8.16.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

python_dev_tools-2019.8.16-py2.py3-none-any.whl (14.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file python_dev_tools-2019.8.16.tar.gz.

File metadata

  • Download URL: python_dev_tools-2019.8.16.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for python_dev_tools-2019.8.16.tar.gz
Algorithm Hash digest
SHA256 2a7dc4469dac0a85e9b93617a4e212cbea53dabf529750b82e47a37471d148dc
MD5 552b6b458950cc61588fc694a0e7433c
BLAKE2b-256 83dd7d8b836ddfc29acc4a1cecabb5e56ad5666a48c8660a9595e4d0d3863185

See more details on using hashes here.

File details

Details for the file python_dev_tools-2019.8.16-py2.py3-none-any.whl.

File metadata

  • Download URL: python_dev_tools-2019.8.16-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for python_dev_tools-2019.8.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d590dfac22ccf0c6cd346068ce9e56561510d02d80de7aadad638389c29737ce
MD5 8e0a87fa4e1787c4f6a5cfbca9824d0c
BLAKE2b-256 c8617cc6f4e39c785bf78e09fc0d1dce569c01aedd880f9da1b66a71a7729f66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page