Skip to main content

The Hirundo platform provides APIs for: LLM behavior unlearning & dataset QA.

Project description

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

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

hirundo-0.3.0.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hirundo-0.3.0-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file hirundo-0.3.0.tar.gz.

File metadata

  • Download URL: hirundo-0.3.0.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hirundo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fd0116f3cb5c986bce49eb5d7ef795c31ac5b9b62842196b49f481d632de9691
MD5 8b8a59f2d431731a37d231a5de0f7d71
BLAKE2b-256 a6a21386ff2efc424dcfc705c91ddc933b7594f5bb75c52ec9fe4362e0cda88d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hirundo-0.3.0.tar.gz:

Publisher: deploy-to-pypi.yaml on Hirundo-io/hirundo-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hirundo-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: hirundo-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 50.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hirundo-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d260dd22c79b99e39ff35fe8c13d3843e3cecb5be312763354a75b6647fe83f
MD5 e245cb29896a13094724d37b7749d4dc
BLAKE2b-256 2ce220f946077e5e6ac49eab5d307bb3fef6ef331a32daac88300d5fcd50678a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hirundo-0.3.0-py3-none-any.whl:

Publisher: deploy-to-pypi.yaml on Hirundo-io/hirundo-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page