Skip to main content

Emission ToolKit cetk

Emission toolkit for command line to import, validate, edit and analyse emissions. Used in QGIS Plugin Eclair. This package is maintained by Eef van Dongen at SMHI.

Installation

python3 -m venv --prompt cetk .venv
. .venv/bin/activate
python -m pip install -e .

Check that installation was successful and receive information on how to use the toolkit:

cetk -h

Before using the toolkit, initialize the template database by:

cetkmanage migrate

If you did not change the default path, this should create ~/.config/eclair/eclair.gpkg

New databases can now be created by copying the template database. This is easiest done using the cetk command:

cetk create /home/myuser/mydatabase.gpkg

To use a specific database, set environment variable "CETK_DATABASE_PATH".

export CETK_DATABASE_PATH="/home/myuser/mydatabase.gpkg"

For more verbose logging, set environment variable CETK_DEBUG=1:

export CETK_DEBUG=1

Contributing

Environment

Install pre-commit hooks:

. .venv/bin/activate
pip install -r requirements-dev.txt
pre-commit install

Testing

Run tests with

nox

Update requirements

If any new development requirements are added to requirements-dev.in, update requirements-dev.txt by running

nox -s requirements

Metadata

Release files for cetk 0.1.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 cetk 0.1.0
File Size Uploaded Provenance
cetk-0.1.0.tar.gz 342.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 458.2 kB

Release files / cetk-0.1.0.tar.gz

Download URL cetk-0.1.0.tar.gz
Size 342.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a10b363de4a8978dafb52b8efa3d92782a9ac5a47b3473aec36cb0f881dae317
BLAKE2b-256 checksum
How to use checksums
5799f6a06f2e9b291bc718b82895927feee4ebe41754c4dfe01b6efb60d8208f
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 Sep 16, 2026.

Transparency log

Release files / cetk-0.1.0-py3-none-any.whl

Download URL cetk-0.1.0-py3-none-any.whl
Size 115.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85a85c82e02159de38e15b119af839e8fed4eaa5c96efada20c064a76b51335f
BLAKE2b-256 checksum
How to use checksums
66f48b63ef7624033d03d1c08386b11219d008ad259f84e52c4c9ee64a014cd0
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 Sep 16, 2026.

Transparency log

Security for cetk 0.1.0

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.

Select from 2 files

Attestation for cetk-0.1.0.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 Sep 16, 2026.

Transparency log

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.

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