Skip to main content

pytekukko -- Jätekukko Omakukko API client

PyPI version CI status OpenSSF Scorecard

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 Pytekukko client with it and your credentials,
  • invoke methods on the client.

The Omakukko API uses token based sessions. The token is stored in the client's token attribute, persist and load it as appropriate to maintain the session across interpreter restarts. The service also sets some cookies, use a persistent CookieJar to maintain them similarly.

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-invoices: output basic info on invoices in JSON
  • pytekukko-next-emptyings: output next emptying dates in JSON
  • pytekukko-planned-emptyings: output planned emptying schedules in JSON or iCalendar

Shell completions for the examples can be generated with shtab's CLI usage mode.

shtab \
  --prog pytekukko-invoices \
  --prefix pytekukko_invoices \
  pytekukko.examples.print_invoices.argparser
shtab \
  --prog pytekukko-next-emptyings \
  --prefix pytekukko_next_emptyings \
  pytekukko.examples.print_next_emptyings.argparser
shtab \
  --prog pytekukko-planned-emptyings \
  --prefix pytekukko_planned_emptyings \
  pytekukko.examples.print_planned_emptyings.argparser

Disclaimer

This package is not supported by or endorsed by Jätekukko. Do not bother them with questions or issues related to it.

Metadata

Release files for pytekukko 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytekukko 1.0.0
File Size Uploaded
pytekukko-1.0.0.tar.gz 27.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytekukko 1.0.0
File Interpreter ABI Platform
pytekukko-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.5 kB

Release files / pytekukko-1.0.0.tar.gz

Download URL pytekukko-1.0.0.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ea045f9108a7af3edee3ddf9ba64a3029b7b0a9856f0ee4630dddf753ee3a30e
BLAKE2b-256 checksum
How to use checksums
ab12fc4a1ab9f2517e69ebd722d681ad0a40d4a232249390c1a6640a90c91b52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release files / pytekukko-1.0.0-py3-none-any.whl

Download URL pytekukko-1.0.0-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dcf972bca6075810ee896ec0f32b42e48bc4db1e516250040e7dc2095f7f4ae9
BLAKE2b-256 checksum
How to use checksums
772d1dde1a341d5147e1ae0f49415d68dc74f331c5ca2da78f6764095d9a322c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page