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-dependencies

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 pyproject.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.3.tar.gz (96.2 kB view details)

Uploaded Source

Built Distribution

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

kiara_plugin.develop-0.5.3-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kiara_plugin_develop-0.5.3.tar.gz
  • Upload date:
  • Size: 96.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for kiara_plugin_develop-0.5.3.tar.gz
Algorithm Hash digest
SHA256 2f1db061eaf3e53d7307fcbf7f6777f2f75fa43e50fc354a9dd28063c40d4fa5
MD5 c0584cd4526ea2f31efcdcc8c4440246
BLAKE2b-256 0dc95a60069a3fd73e7adfffca0b6ef681743dce9e707c7288c568403806b60d

See more details on using hashes here.

Provenance

The following attestation bundles were made for kiara_plugin_develop-0.5.3.tar.gz:

Publisher: build-linux.yaml on DHARPA-Project/kiara_plugin.develop

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

File details

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

File metadata

File hashes

Hashes for kiara_plugin.develop-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce5738f256a3d5ef7696450f47b1e6bc68751682cc1f14f19c51a855cb4a0c51
MD5 a3138d9ac1e83e426667de3ea2f8f686
BLAKE2b-256 292f182d06f6e06e35d0bc2be34c36f6b018985f0f4bea12c1b117159a05fbee

See more details on using hashes here.

Provenance

The following attestation bundles were made for kiara_plugin.develop-0.5.3-py3-none-any.whl:

Publisher: build-linux.yaml on DHARPA-Project/kiara_plugin.develop

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

Supported by

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