An example Python package
Project description
Python Example Package
Clone of cjolowicz/hypermodern-python
Making an example package using modern Python toolchain. To quick start with a Cookiecutter template, refer to https://github.com/cjolowicz/cookiecutter-hypermodern-python.
Topics covered:
- Create a package in src layout
- Manage dependency with Poetry
- Command-line interfaces with click
- Consume a REST API with requests
- Unit testing with pytest
- Code coverage with Coverage.py
- Test automation with Nox
- Mocking with pytest-mock
- End-to-end testing
- Linting with flake8
- Code formatting with black
- Checking import with flake8-import-order
- Finding more bugs with flake8-bugbear
- Identifying security issues with bandit
- Finding security vulnerabilities in dependencies with Safety
- Managing dependencies in Nox sessions with Poetry
- Managing Git hooks with pre-commit
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
Built Distribution
Close
Hashes for example-package-lth-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4a8fc4f0b5224509c70add72e51a92ff60deb77043533e4525650ae6ea0a49 |
|
MD5 | 94db4b577ec21094383acee848c1433e |
|
BLAKE2b-256 | 4f91b6bfedebdbfdf1254df19c3d5337a20d6d4e7cbb52b29f22bc83d4342e28 |
Close
Hashes for example_package_lth-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63396ccd9ed6388a8031ce4a2968755870291a05241bdc782dcb7e4ed3df9298 |
|
MD5 | 5a99c667bd159cb4625a48fdd59a5d07 |
|
BLAKE2b-256 | 46fd941a77ba0391f0c3339cdb7dbc69c1b215a3abeb4fd2aa471e8224808bac |