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

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.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-py3-none-any.whl (115.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cetk-0.0.8.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.tar.gz
Algorithm Hash digest
SHA256 9f06f82fd6586326865e07a8a71e5475603e2451478cefdc6af890185b86ad5a
MD5 714abcb33055d496f88a99d5f314267f
BLAKE2b-256 2b962e5cdfd646f0767f0f0d409dc3f4c384a66d4623a9758423edccdd9c57fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for cetk-0.0.8.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-py3-none-any.whl.

File metadata

  • Download URL: cetk-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 115.7 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-py3-none-any.whl
Algorithm Hash digest
SHA256 d8c0b0f0a4fb7eb1f654d7c087f620719a0373aa875a87cde577c0c81586289e
MD5 1ddfd38333e270e9f3110c6f6c414c2b
BLAKE2b-256 743b8323988867d8a718b36e0d2f67eb5e3daddba27de7b0be8f63abc4edfb26

See more details on using hashes here.

Provenance

The following attestation bundles were made for cetk-0.0.8-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

This release

0.0.8 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