Skip to main content

uaid

Identify crawlers and bots by user agent. Plain substring matching, no regex, no dependencies.

pip install uaid
import uaid

uaid.is_bot("curl/8.4.0")  # True

uaid.identify("Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)")
# {'description': 'Google search indexing bot', 'tags': ['search-engine'], 'url': ..., 'rdns': [...]}
  • is_bot checks ~2900 known crawlers plus a keyword heuristic for unknown bots (~94% recall, ~0.1% false positives on 30k real browser user agents).
  • identify returns the most specific known crawler, or None.
  • rdns lists forward-confirmed reverse DNS suffixes for verifying a crawler's IP.

Data

crawlers.json is the source database. Each match rule is tested against the lowercased user agent: a string must be contained, a leading ^ anchors it to the start, a nested list requires all parts. The wheel ships a compact, pre-sorted version generated at build time.

Metadata

Release files for uaid 0.1.0

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

Source distribution (sdist)

Source distribution for uaid 0.1.0
File Size Uploaded Provenance Actions
uaid-0.1.0.tar.gz 259.8 kB With provenance Details for uaid-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 360.2 kB

Release files / uaid-0.1.0.tar.gz

Download URL uaid-0.1.0.tar.gz
Size 259.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d1a7de3a592287653ec5f2e1afe3f1ff1ed21d11589b38a956ab1e2bf22905f4
BLAKE2b-256 checksum
How to use checksums
ae7949745ed5ee8b8c0d8d709bc8510225d6764b02bfec8fa626181454d33c24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Release files / uaid-0.1.0-py3-none-any.whl

Download URL uaid-0.1.0-py3-none-any.whl
Size 100.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea707d48b9b41a9a97ae75d053e98a5a2fd86d58eb7d920f5ca0e75a2d8cd34b
BLAKE2b-256 checksum
How to use checksums
395e47d069a17a6adce8faa3a7cc5bf722909f520d6bccaa980b94da26ff67fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for uaid 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for uaid-0.1.0.tar.gz

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 Nov 14, 2026.

Transparency log

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