Work with Kappa rule-based models in Python
Project description
kappybara
See our website: kappybara.io.
Development
Developer requirements can be installed via:
pip install -r requirements.txt
With uv (optional alternative to pip):
Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then:uv sync --dev
To access uv dependencies, run your commands through uv like
uv run python
Or, if you want to run commands normally, create a virtual environment:
uv venv # Do this once
source .venv/bin/activate # Do this every new shell
and run commands as usual. (deactivate exits the venv.)
Adding a Python package dependency (this automatically updates pyproject.toml):
uv add [package-name]
Adding a package as a dev dependency:
uv add --dev [package-name]
To run correctness tests, run pytest.
Running ./tests/cpu-profiles/run_profiler.sh will CPU-profile predefined Kappa models and write the results to tests/cpu-profiles/results.
We use the Black code formatter, which can be run as black .
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kappybara-0.1.1.tar.gz.
File metadata
- Download URL: kappybara-0.1.1.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0af38d89e1060c217adc5660ad5e6d4c64ede4c3ce196bc393122e730ef353a3
|
|
| MD5 |
7db3ea9f2b2b48f6bd8933faa200ad89
|
|
| BLAKE2b-256 |
97616985208efae318f056d17b0ab32b702ab09fc0601cb1f2860d27a24f52a1
|
Provenance
The following attestation bundles were made for kappybara-0.1.1.tar.gz:
Publisher:
publish.yml on berkalpay/kappybara
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kappybara-0.1.1.tar.gz -
Subject digest:
0af38d89e1060c217adc5660ad5e6d4c64ede4c3ce196bc393122e730ef353a3 - Sigstore transparency entry: 618931877
- Sigstore integration time:
-
Permalink:
berkalpay/kappybara@4a70b023fd7407a928556791cc08c781bb8ae607 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/berkalpay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4a70b023fd7407a928556791cc08c781bb8ae607 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kappybara-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kappybara-0.1.1-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e0d4161822bab8e5274e33f871681a6eec93a649699ddc306666019ae93a45e
|
|
| MD5 |
e0df6cdf818d386bbc4227607aa643ae
|
|
| BLAKE2b-256 |
0bacd75add92f132fee6cc34457d253139ca3b86f5dfc2cdeae688faf279d469
|
Provenance
The following attestation bundles were made for kappybara-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on berkalpay/kappybara
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kappybara-0.1.1-py3-none-any.whl -
Subject digest:
7e0d4161822bab8e5274e33f871681a6eec93a649699ddc306666019ae93a45e - Sigstore transparency entry: 618931883
- Sigstore integration time:
-
Permalink:
berkalpay/kappybara@4a70b023fd7407a928556791cc08c781bb8ae607 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/berkalpay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4a70b023fd7407a928556791cc08c781bb8ae607 -
Trigger Event:
push
-
Statement type: