Development
Environment Setup
During development, use symlinks to include this package instead of pipenv:
cd /project/using/k8kat
ln -s $k8kat_path/k8kat
Building
https://packaging.python.org/tutorials/packaging-projects/
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
or
twine upload dist/*
Cluster Authentication
By default it works as kubectl - try to find kubeconfig and reads authentication data.
Playing Around
pipenv shell
run examples from examples/:
python examples/list_pod.py
Test Suite
Run unit-tests (no cluster required):
python3 -m unittest discover -v k8kat/tests
Run e2e-test (you should be using an empty cluster):
python3 -m unittest discover -v k8kat/e2e-tests
Formating, typing
Use Black to formate code
black .
To run type checker
mypy k8kat examples/
Metadata
Release files for k8kat 0.1.2
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 |
|---|---|---|---|---|
| k8kat-0.1.2.tar.gz | 19.0 kB | Without provenance | Details for k8kat-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| k8kat-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for k8kat-0.1.2-py3-none-any.whl |
Total release size: 45.0 kB
Release files / k8kat-0.1.2.tar.gz
| Download URL | k8kat-0.1.2.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d189365dcfa6d15a65a2d5b8954baef5d9af178ec089693abb3989445f31ab92
|
|
BLAKE2b-256 checksum How to use checksums |
0e5c173a7aadd14f4f4e80bf8a2f30743ade674e40bd22360f91d6db93f8ea98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / k8kat-0.1.2-py3-none-any.whl
| Download URL | k8kat-0.1.2-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1d32d1fa8c50ec2658c2bb8e937f064513f3b90c463c6f6a6ef6e84dfdbd1de
|
|
BLAKE2b-256 checksum How to use checksums |
737b581bc58b77d7aa35e7582d4883d861372f63491d2eabbfc8a584f64fcfde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for k8kat 0.1.2
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.