Python Library Template
WIP: Document python library.
Requirements
- Python 3.6+
Installation
Install via pip:
pip install --upgrade -e path/to/lib
Usage
After installation, the package can be imported:
import template_package
Development
This library uses black for auto-formatting, isort for import sorting, flake8 for linting, mypy for type checking, and pydocstyle for docstring style checks. All code is written compatible with Python 3.6+, with type hints wherever possible.
Testing
- DeploymentManager:
- By default, just the DockerDeploymentManager is executed. To execute also the Kubernetes-related tests, a Kubernetes cluster has to be available from where the code is executed. On your local Mac, you can simply start one by executing
kind create cluster. Then execute the tests by setting the environment variableKUBE_AVAILABLE=true(in VS Code, you can for example set the env variable in thelaunch.jsonor append it in front of the pytest command, e.g.KUBE_AVAILABLE=true pytest...)
- By default, just the DockerDeploymentManager is executed. To execute also the Kubernetes-related tests, a Kubernetes cluster has to be available from where the code is executed. On your local Mac, you can simply start one by executing
Metadata
Release files for docknet 0.0.23
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 | |
|---|---|---|---|---|
| docknet-0.0.23.tar.gz | 145.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docknet-0.0.23-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 305.2 kB
Release files / docknet-0.0.23.tar.gz
| Download URL | docknet-0.0.23.tar.gz |
|---|---|
| Size | 145.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24853b98822d5d8587e162afeaea0e4d3daabeb22dc3a3abba96038345f413c0
|
|
BLAKE2b-256 checksum How to use checksums |
49f6cb6a2c4f5f931d1b37c1f86e355814701e3a83034501d8c3f61e95ff0731
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / docknet-0.0.23-py3-none-any.whl
| Download URL | docknet-0.0.23-py3-none-any.whl |
|---|---|
| Size | 159.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3578e2e9755237e0daf8cadf8444ec70ab7a01c6cf763f90b9bbb16ff1f9ba6b
|
|
BLAKE2b-256 checksum How to use checksums |
bdf3eea64ad9405fdbea9189786a1946025f671d925d6df0a8ab95e8fb3a6614
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for docknet 0.0.23
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.