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
Metadata
Release files for example-package-lth 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| example-package-lth-0.1.0.tar.gz | 3.9 kB | Without provenance | Details for example-package-lth-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| example_package_lth-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for example_package_lth-0.1.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / example-package-lth-0.1.0.tar.gz
| Download URL | example-package-lth-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e4a8fc4f0b5224509c70add72e51a92ff60deb77043533e4525650ae6ea0a49
|
|
BLAKE2b-256 checksum How to use checksums |
4f91b6bfedebdbfdf1254df19c3d5337a20d6d4e7cbb52b29f22bc83d4342e28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.12 Linux/5.13.0-1021-azure
|
Release files / example_package_lth-0.1.0-py3-none-any.whl
| Download URL | example_package_lth-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63396ccd9ed6388a8031ce4a2968755870291a05241bdc782dcb7e4ed3df9298
|
|
BLAKE2b-256 checksum How to use checksums |
46fd941a77ba0391f0c3339cdb7dbc69c1b215a3abeb4fd2aa471e8224808bac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.12 Linux/5.13.0-1021-azure
|
Security for example-package-lth 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.