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
Metadata
Release files for cetk 0.0.6.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cetk-0.0.6.dev0.tar.gz | 342.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cetk-0.0.6.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 457.9 kB
Release files / cetk-0.0.6.dev0.tar.gz
| Download URL | cetk-0.0.6.dev0.tar.gz |
|---|---|
| Size | 342.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b629123d9618033a9b6de89d00beb4a6968ab00d419413bc5dd771876239b7c
|
|
BLAKE2b-256 checksum How to use checksums |
deb615627d0536db9a5b241a63c15f06367fcfa1b6433ae4e39b97edb604ec93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / cetk-0.0.6.dev0-py3-none-any.whl
| Download URL | cetk-0.0.6.dev0-py3-none-any.whl |
|---|---|
| Size | 115.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ccdab91eca30efee9fc970615fc645e9ec5cd0766ddd3e03a4660406df3dc5b
|
|
BLAKE2b-256 checksum How to use checksums |
09baafc1b249bd85d318dd051840959a33e072ce952b4edca286e9cfba5cc508
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|