Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cetk-0.0.8.dev0.tar.gz (342.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cetk-0.0.8.dev0-py3-none-any.whl (115.8 kB view details)

Uploaded Python 3

File details

Details for the file cetk-0.0.8.dev0.tar.gz.

File metadata

  • Download URL: cetk-0.0.8.dev0.tar.gz
  • Upload date:
  • Size: 342.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cetk-0.0.8.dev0.tar.gz
Algorithm Hash digest
SHA256 605c71097d6f4c5d9cc89dec4de93af2ac45fc17bb32de9bd217010bd4316e5d
MD5 add8140f295518bfbafea6038facb582
BLAKE2b-256 722159f408fc7fd105286060f9a4607962c77804bef71102ed614336feb9b0f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cetk-0.0.8.dev0.tar.gz:

Publisher: build_wheels.yml on foclair/cetk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cetk-0.0.8.dev0-py3-none-any.whl.

File metadata

  • Download URL: cetk-0.0.8.dev0-py3-none-any.whl
  • Upload date:
  • Size: 115.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cetk-0.0.8.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 4be98bf2204ea7a57caf9ac7de058f10becda9685bf840910bf90baf40eb0465
MD5 b6f518b7f6d8c56b550e30a8b6db1187
BLAKE2b-256 a13c0f4f2a9b30f4690f7bc6d36dec7acd953bca67207ec19119ae200fd234a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cetk-0.0.8.dev0-py3-none-any.whl:

Publisher: build_wheels.yml on foclair/cetk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.8

2 files

This release

0.0.8.dev0 This release

2 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