Skip to main content

Development utilities for kiara.

Project description

PyPI status PyPI version PyPI pyversions Build Status Coverage Status Code style

kiara plugin: (develop)

Development utilities for kiara.

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 files
  • pixi run tests: runs the unit tests
  • pixi 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


Download files

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

Source Distribution

kiara_plugin_develop-0.5.2.tar.gz (96.5 kB view details)

Uploaded Source

Built Distribution

kiara_plugin.develop-0.5.2-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

Details for the file kiara_plugin_develop-0.5.2.tar.gz.

File metadata

  • Download URL: kiara_plugin_develop-0.5.2.tar.gz
  • Upload date:
  • Size: 96.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for kiara_plugin_develop-0.5.2.tar.gz
Algorithm Hash digest
SHA256 c9a319ecb88f40602dd22f8214273522752b16e2262ef180c37f27fb51d8597a
MD5 e1a036e37df9b44703a11a13de8f35bc
BLAKE2b-256 f6583312e513ab0ef2cbb20763e3c160aa4c43431d214b4db2e9cdcf0d35404d

See more details on using hashes here.

File details

Details for the file kiara_plugin.develop-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for kiara_plugin.develop-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f470651814334de739c6cb4a98a51b025e01e2d8b665a74681563b635d3cbd0
MD5 d0559d60eefcdb8ee4f4ea1af0505efc
BLAKE2b-256 ef5463db80f6b6d1ed96182f617578f82fa02e0b66aef1448677bf0f977294ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page