pymujkaktus
Python API pro získávání informací z Můj Kaktus samoobsluhy.
Instalace
Doporučujeme použít moderní nástroje jako pip, uv nebo pdm.
pip install .
Nebo pro vývoj:
pip install -e .
Vývoj a testování
Pro instalaci vývojových závislostí:
pip install -e ".[test]"
Pro spuštění integračních testů (vyžaduje reálné přihlašovací údaje):
export PYMUJKAKTUS_USER="vaše_jméno"
export PYMUJKAKTUS_PASS="vaše_heslo"
pytest -s tests/test_integration.py
CI/CD
Projekt používá GitHub Actions pro:
- Automatické testování při každém pushi nebo PR.
- Automatickou publikaci na PyPI při vytvoření release.
Použití
from pymujkaktus import KaktusAPI
# Klasické přihlášení (nyní plně automatizované)
api = KaktusAPI("username", "password")
if api.login():
credit = api.get_credit()
print(f"Kredit: {credit} Kč")
calls = api.get_call_history()
for call in calls:
print(f"Volání: {call}")
api.close()
Metadata
Release files for pymujkaktus 0.1.18
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 |
|---|---|---|---|---|
| pymujkaktus-0.1.18.tar.gz | 14.9 kB | With provenance | Details for pymujkaktus-0.1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymujkaktus-0.1.18-py3-none-any.whl | Python 3 | none | any | Details for pymujkaktus-0.1.18-py3-none-any.whl |
Total release size: 23.0 kB
Release files / pymujkaktus-0.1.18.tar.gz
| Download URL | pymujkaktus-0.1.18.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
391a63cfc991abed5aa94bfafc78983d58c489469f910b54f258a926bbe1b2ef
|
|
BLAKE2b-256 checksum How to use checksums |
86d6d9f72fa4594cc5c6c70a6c6be659e12a3ac9a470f7d4748786fa35566822
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2026.
Transparency logRelease files / pymujkaktus-0.1.18-py3-none-any.whl
| Download URL | pymujkaktus-0.1.18-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
389042f9d289daaa0feb23caf9378ed64957420fd253bfe44dd74e5cae5606f5
|
|
BLAKE2b-256 checksum How to use checksums |
870e616cf77446429f99e1908921cdfcdb3c601c8c80da8b579ec77e1db0d85e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2026.
Transparency logSecurity for pymujkaktus 0.1.18
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pymujkaktus-0.1.18.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 10, 2026.
Transparency logA 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.