Skip to main content

hirundo · GitHub license pypi version

Deploy to PyPI Deploy docs Ruff & Pyright Sanity tests Vulnerability scan

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 pandas or polars DataFrames.

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] or pip 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 HIRUNDO_API_KEY (and optionally HIRUNDO_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

Metadata

Release files for hirundo 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hirundo 0.3.2
File Size Uploaded
hirundo-0.3.2.tar.gz 55.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hirundo 0.3.2
File Interpreter ABI Platform
hirundo-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 110.8 kB

Release files / hirundo-0.3.2.tar.gz

Download URL hirundo-0.3.2.tar.gz
Size 55.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1f1f9b8d5fe1cf772a9edcc4da49a2699b4c590f2a2c78116c78fba133b36e05
BLAKE2b-256 checksum
How to use checksums
5fffc9d50d605d9e7e7b02ef9b216f203b46604e9d71956a5a006ee4c38f6f2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / hirundo-0.3.2-py3-none-any.whl

Download URL hirundo-0.3.2-py3-none-any.whl
Size 55.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aecffb0fd9ad126464d43db907bebc4bbe0a5d34e63fbca2afb571fb5f46c8e2
BLAKE2b-256 checksum
How to use checksums
5617daf22a34c20ae22667dd504de37228132bfe5294c0cded4535206d19ccb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

2 release files

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.1.21

2 release files

0.1.18

2 release files

0.1.16

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page