Skip to main content

No project description provided

Project description

kcl.py

Python bindings to the rust kcl-lib crate.

Usage

The tests.py file contains examples of how to use the library.

Development

We use maturin for this project.

You can either download binaries from the latest release or install it with pipx:

pipx install maturin

[!NOTE]

pip install maturin should also work if you don't want to use pipx.

There are four main commands:

  • maturin publish builds the crate into python packages and publishes them to pypi.
  • maturin build builds the wheels and stores them in a folder (target/wheels by default), but doesn't upload them. It's possible to upload those with twine or maturin upload.
  • maturin develop builds the crate and installs it as a python module directly in the current virtualenv. Note that while maturin develop is faster, it doesn't support all the feature that running pip install after maturin build supports.

pyo3 bindings are automatically detected. maturin doesn't need extra configuration files and doesn't clash with an existing setuptools-rust or milksnake configuration.

Releasing a new version

  1. Make sure the Cargo.toml has the new version you want to release.
  2. Run make tag this is just an easy command for making a tag formatted correctly with the version.
  3. Push the tag (the result of make tag gives instructions for this)
  4. Everything else is triggered from the tag push. Just make sure all the tests pass on the main branch before making and pushing a new tag.

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

zoo_kcl-0.1.17.tar.gz (32.9 kB view hashes)

Uploaded Source

Built Distributions

zoo_kcl-0.1.17-cp312-none-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

zoo_kcl-0.1.17-cp312-none-win32.whl (3.8 MB view hashes)

Uploaded CPython 3.12 Windows x86

zoo_kcl-0.1.17-cp312-cp312-macosx_11_0_arm64.whl (4.6 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

zoo_kcl-0.1.17-cp312-cp312-macosx_10_12_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

zoo_kcl-0.1.17-cp311-none-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

zoo_kcl-0.1.17-cp311-none-win32.whl (3.8 MB view hashes)

Uploaded CPython 3.11 Windows x86

zoo_kcl-0.1.17-cp311-cp311-macosx_11_0_arm64.whl (4.6 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

zoo_kcl-0.1.17-cp311-cp311-macosx_10_12_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

zoo_kcl-0.1.17-cp310-none-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

zoo_kcl-0.1.17-cp310-none-win32.whl (3.8 MB view hashes)

Uploaded CPython 3.10 Windows x86

zoo_kcl-0.1.17-cp310-cp310-macosx_11_0_arm64.whl (4.6 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

zoo_kcl-0.1.17-cp39-none-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

zoo_kcl-0.1.17-cp39-none-win32.whl (3.8 MB view hashes)

Uploaded CPython 3.9 Windows x86

zoo_kcl-0.1.17-cp39-cp39-macosx_11_0_arm64.whl (4.6 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

zoo_kcl-0.1.17-cp38-none-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

zoo_kcl-0.1.17-cp38-none-win32.whl (3.8 MB view hashes)

Uploaded CPython 3.8 Windows x86

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