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.3

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.3
File Size Uploaded
hirundo-0.3.3.tar.gz 56.2 kB Details

Built distribution (wheel)

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

Total release size: 112.7 kB

Release files / hirundo-0.3.3.tar.gz

Download URL hirundo-0.3.3.tar.gz
Size 56.2 kB
Tags Source
SHA-256 checksum
How to use checksums
abcaa54c7307d3d294fe1f9d1c6f3ea7fd292b8b90fb92ad5a84314537a8d5f4
BLAKE2b-256 checksum
How to use checksums
0f6231f35b256491ea5e43eb69648ee9eb81795dc309a4af44d78effff08af53
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 30, 2026.

Transparency log

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

Download URL hirundo-0.3.3-py3-none-any.whl
Size 56.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e16d6a9a548e45deae1741af72599dd9aed557f17a3031a0471cee5d4c5043c1
BLAKE2b-256 checksum
How to use checksums
87333d9d3188e30c0fbc5e1241d5db53d7cb3ce8adefe27113e42f23dc564ca2
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 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

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