Skip to main content

Auto-Labeler

An AI-powered data labeling library for Python.

Key Features

  • 🔍 Discovery: Automatically suggest labels/taxonomy using Iterative or Embedding-based discovery.
  • 🏷️ Assignment: Labels your dataset using LLMs (Gemini, OpenAI, Anthropic, etc.).
  • ⚡ Batching & Async: High-throughput processing for large datasets.
  • 💾 Disk Caching: Save costs and time with local persistence.
  • 💰 cost Tracking: Real-time USD cost estimation for every run.
  • 🛡️ Validation: Pydantic-powered fail-fast checks for your data.

Installation

pip install auto-labeler-ai

Quick Start

from auto_labeler import AutoLabeler
import pandas as pd

labeler = AutoLabeler(model_name="gemini/gemini-2.5-flash")
results = labeler.label_dataset(
    pd.read_csv("data.csv"),
    labels=["Urgent", "Billing", "General"],
    context="Customer support tickets"
)
print(results[["text", "label"]])  # output column is always 'label'
print(labeler.get_usage())

Documentation

For full guides on Advanced discovery, Caching, and API reference, visit our: 👉 Documentation Site

Testing

pytest

License

MIT

Metadata

Release files for auto-labeler-ai 0.1.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 auto-labeler-ai 0.1.3
File Size Uploaded Provenance Actions
auto_labeler_ai-0.1.3.tar.gz 29.9 kB Without provenance Details for auto_labeler_ai-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for auto-labeler-ai 0.1.3
File Interpreter ABI Platform Actions
auto_labeler_ai-0.1.3-py3-none-any.whl Python 3 none any Details for auto_labeler_ai-0.1.3-py3-none-any.whl

Total release size: 53.8 kB

Release files / auto_labeler_ai-0.1.3.tar.gz

Download URL auto_labeler_ai-0.1.3.tar.gz
Size 29.9 kB
Tags Source
SHA-256 checksum
How to use checksums
299b2f0005571aa82c1e075d94d62eed72a01324bf530d42c4dd9903a55abb65
BLAKE2b-256 checksum
How to use checksums
aa701410122081469c2d3691fac6103803b3367b4eb4fc2d96a5505fe832d281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / auto_labeler_ai-0.1.3-py3-none-any.whl

Download URL auto_labeler_ai-0.1.3-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e094699a1abff7c0a005faed0ffb84de0bb163b0264eb6667baf88635ac74261
BLAKE2b-256 checksum
How to use checksums
15ce0d39d201d7cc2f7de4c2094355b0c620f151a000b72f91fe114146d7c075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for auto-labeler-ai 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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