The Hirundo platform provides APIs for: LLM behavior unlearning & dataset QA.
Project description
Hirundo Python SDK
The Hirundo Python SDK lets you:
- Launch and monitor LLM behavior unlearning runs.
- Run LLM behavior evaluations for bias, hallucination, and prompt injection.
- Run dataset QA for ML datasets (classification, object detection, and more).
- Fetch QA results as
pandasorpolarsDataFrames.
This SDK requires access to a Hirundo server (SaaS, VPC, or on-prem).
Requirements
- Python 3.10, 3.11, 3.12, or 3.13 (CPython).
- A Hirundo API key.
Installation
pip install hirundo
Optional extras:
- LLM behavior unlearning (Transformers + PEFT):
pip install hirundo[transformers] - Dataset QA or LLM behavior eval results as DataFrames:
pip install hirundo[pandas]orpip install hirundo[polars]
If you want to install from source, clone this repository and run:
pip install .
Configure API access
You can set environment variables directly or use the CLI helper:
hirundo setup
This writes API_KEY (and optionally API_HOST) to .env in the current directory or ~/.hirundo.conf.
Quickstart examples
The full quickstart examples now live in the Sphinx docs so they can be linted,
formatted, and type-checked as real Python files. See the examples embedded in
docs/index.rst, which are sourced from docs/*.py files.
Supported dataset storage
- Amazon S3
- Google Cloud Storage (GCS)
- Git repositories with LFS (GitHub, Hugging Face)
Further documentation
- Documentation site: https://docs.hirundo.io/
- Example notebooks: notebooks/
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
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 hirundo-0.2.3.post2.tar.gz.
File metadata
- Download URL: hirundo-0.2.3.post2.tar.gz
- Upload date:
- Size: 40.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f6a76f2d7a82747852a927ac2c4bd01cf36dd45fa0bd89617f70669d702e334
|
|
| MD5 |
55d015a5dc7788274e21da1e0ef23ba7
|
|
| BLAKE2b-256 |
4dacd38c74f72262e671de6410df1412c2263552598ed5c0d3b1997a4fb64d49
|
Provenance
The following attestation bundles were made for hirundo-0.2.3.post2.tar.gz:
Publisher:
deploy-to-pypi.yaml on Hirundo-io/hirundo-python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hirundo-0.2.3.post2.tar.gz -
Subject digest:
4f6a76f2d7a82747852a927ac2c4bd01cf36dd45fa0bd89617f70669d702e334 - Sigstore transparency entry: 919722897
- Sigstore integration time:
-
Permalink:
Hirundo-io/hirundo-python-sdk@8bdb1e3b41af98a5af9ccdd6222cf69bcff22c72 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Hirundo-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-to-pypi.yaml@8bdb1e3b41af98a5af9ccdd6222cf69bcff22c72 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file hirundo-0.2.3.post2-py3-none-any.whl.
File metadata
- Download URL: hirundo-0.2.3.post2-py3-none-any.whl
- Upload date:
- Size: 46.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 |
3546efcb774968846f50156ab8a109c19a0abcccddd9e3ece0e8cebd896e4c9a
|
|
| MD5 |
fadfd4d76b1a150bc2b8e03c197e5b7e
|
|
| BLAKE2b-256 |
f0dfe93f13ed464e1427aaa7d96be465d4ca083f5707509f3ad63a91cf994acb
|
Provenance
The following attestation bundles were made for hirundo-0.2.3.post2-py3-none-any.whl:
Publisher:
deploy-to-pypi.yaml on Hirundo-io/hirundo-python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hirundo-0.2.3.post2-py3-none-any.whl -
Subject digest:
3546efcb774968846f50156ab8a109c19a0abcccddd9e3ece0e8cebd896e4c9a - Sigstore transparency entry: 919722898
- Sigstore integration time:
-
Permalink:
Hirundo-io/hirundo-python-sdk@8bdb1e3b41af98a5af9ccdd6222cf69bcff22c72 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Hirundo-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-to-pypi.yaml@8bdb1e3b41af98a5af9ccdd6222cf69bcff22c72 -
Trigger Event:
pull_request
-
Statement type: