Core data types for kiara.
Project description
kiara plugin: (core-types)
Core data types for kiara.
- Documentation: https://DHARPA-Project.github.io/kiara_plugin.core_types
- Code: https://github.com/DHARPA-Project/kiara_plugin.core_types
kiara
: https://dharpa.org/kiara.documentation
Description
TODO
Development
Requirements
- Python (version >= 3.8)
- pip, virtualenv
- git
- make (on Linux / Mac OS X -- optional)
Prepare development environment
If you only want to work on the modules, and not the core Kiara codebase, follow the instructions below. Otherwise, please check the notes on how to setup a Kiara development environment under (TODO).
Using pixi
(recommended)
The recommended way to setup a development environment is to use pixi. Check out their install instructions.
Once you have pixi
installed, you need to initialize the environment once:
pixi run install-dev-env
You also need to do this whenever a depdendency of this plugin is updated (for example the core kiara
package).
Once that is done, you can enter the environment with:
pixi shell
This will start a sub-shell with the virtual environment activated, and all dependencies of the plugin package installed. To confirm it works, you can run any kiara
command:
kiara --version
# or
kiara operation list
# or
...
...
Once you are finished with your development session, you can exit the sub-shell as you would normally do in such cases:
exit
Alternatively, you can also run the kiara
executable directly, it is located in .pixi/env/bin/kiara
. So either adapt your PATH
variable, or do something like:
.pixi/env/bin/kiara operation list
In most cases it's recommended to use a pixi shell though.
Using pre-defined development-related tasks
The included pixi.toml
file includes some useful tasks that help with development:
pixi run pre-commit-check
: runs a set of checks against all filespixi run tests
: runs the unit testspixi run mypy
: run mypy checks
Copyright & license
This project is MPL v2.0 licensed, for the license text please check the LICENSE file in this repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kiara_plugin_core_types-0.5.1.tar.gz
.
File metadata
- Download URL: kiara_plugin_core_types-0.5.1.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71a0847164aeecbcd6945d2a0fac05d3877e4dafa58deccfe2c85d0f949edf61 |
|
MD5 | b9027f2b1c5c8782650ced53e8044b4e |
|
BLAKE2b-256 | 9bf945167f2dd8efcbc06e406c5397f1d983eb4d05f5bc21a71f721da6764e07 |
File details
Details for the file kiara_plugin.core_types-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: kiara_plugin.core_types-0.5.1-py3-none-any.whl
- Upload date:
- Size: 26.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a4067dde28007e149d732d912bcbe2638c4305772a3c352b137d3cb59b8c214 |
|
MD5 | 23803a4383d6ad18946a2effe8ab1f11 |
|
BLAKE2b-256 | 1deb002b4cb6f70de51ef0e8be6d03aebdd84e8159a91779bfce2886a9b0f796 |