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.2.4.tar.gz (43.3 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.2.4-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hirundo-0.2.4.tar.gz
Algorithm Hash digest
SHA256 44ec29a7819be629cfa7bb2fde01720dabc653f2a548f0812112c0beea5de00f
MD5 93f97cac283035b6792a554f27d58857
BLAKE2b-256 81ea6927d0b40f3ef3df59e862948ac1c8efe32cab9d8dd7b29d6170b653853b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hirundo-0.2.4.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.2.4-py3-none-any.whl.

File metadata

  • Download URL: hirundo-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 46.6 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.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5413809680e83f04ba5bf978ee23c81c7e5fc02ae7aa95bf81025420d0b8f0ea
MD5 932e0b4324a4914dd508497f8fa4e44e
BLAKE2b-256 cc3a4c431c75ea06e2832ee697445e3be8ac5bdc33e5ce05fc3af6c66d35ebc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hirundo-0.2.4-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