pytekukko -- Jätekukko Omakukko API client
Simple Python asyncio client for the Jätekukko Omakukko API.
The API of this package is modeled closely after the Omakukko API. Only read operations are implemented (well apart from, strictly speaking, login/logout), and there are no plans to add support for any write ones.
Usage in a nutshell:
- construct an aiohttp
ClientSession, - construct a
Pytekukkoclient with it and your credentials, - invoke methods on the client.
The Omakukko API uses cookie based sessions, use a persistent aiohttp
CookieJar
to maintain client session across interpreter restarts.
High level client methods handle logging in when the need to do so is
detected. If the detection is successful, there is no need to
separately track session expiration or use the login method in the
first place.
Command line examples
For usage examples, see utilities in the pytekukko.examples
package. Executables and dependencies for these are installed when the
package is installed with the examples extra, invoke them with
--help for usage and setup information:
pytekukko-collection-schedules: output collection schedules in JSON or iCalendarpytekukko-invoice-headers: output basic info on invoices in JSONpytekukko-next-collections: output next collection dates in JSON
Shell completions for the examples can be generated with shtab's CLI usage mode.
shtab \
--prog pytekukko-collection-schedules \
--prefix pytekukko_collection_schedules \
pytekukko.examples.print_collection_schedules.argparser
shtab \
--prog pytekukko-invoice-headers \
--prefix pytekukko_invoice_headers \
pytekukko.examples.print_invoice_headers.argparser
shtab \
--prog pytekukko-next-collections \
--prefix pytekukko_next_collections \
pytekukko.examples.print_next_collections.argparser
Disclaimer
This package is not supported by or endorsed by Jätekukko. Do not bother them with questions or issues related to it.
Release files for pytekukko 0.17.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytekukko-0.17.1.tar.gz | 25.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytekukko-0.17.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.7 kB
Release files / pytekukko-0.17.1.tar.gz
| Download URL | pytekukko-0.17.1.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b067ae65fe1bfcde6532fee0190f12eb0adc7bff814637878a27168fcd7fc171
|
|
BLAKE2b-256 checksum How to use checksums |
8e4d3c323d9f8dcce1193152116f170b0ccedb881cf343784f78c23471054c71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jun 17, 2026.
Transparency logRelease files / pytekukko-0.17.1-py3-none-any.whl
| Download URL | pytekukko-0.17.1-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1449bcdac8f275096a32ffcef03c5e38227482137bdd51176a26ba31bafbf8ea
|
|
BLAKE2b-256 checksum How to use checksums |
268fb5fa409cd23db9d98cef16d6bd600afb301ffedfe5f6ec1848afae0aecfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jun 17, 2026.
Transparency log