Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

rbdt - Robots.txt Parser

🚨🚨🚨🚨

rbdt is a work in progress, currently being extracted out of another (private) project for the purpose of open sourcing and better software engineering.

🚨🚨🚨🚨

rbdt is a python library written in rust that parses robots.txt files.

PyPI version

rbdt features:

  • MIT license, have fun.
  • Written in Rust, so it is fast.
  • Callable from Python, so it is useful.
  • Has been and continues to be run against millions of unique robots.txt files.
  • Forgiving, corrects some typical mistakes in files written by hand, like recognizing dissallows probably meant to be disallow.
  • Intentionally provides direct access to the parsed robots.txt representation (unlike Reppy or Google's parser).
  • Ability to compare which user agent has more privilege given to it by the website owner, both heuristically and logically.

rbdt anti-features:

  • rbdt isn't meant to be used as part of a web crawler, but as part of a large scale analysis of robots.txt files. If ends up being useful for web crawlers eventually, that's great and only incidental.

Development

maturin develop
python py_tests/tests.py

Contributions

File a ticket or send a PR if you'd like.

To Do

  • Real Open Sourcing Hours
    • Changelog
    • Write documentation and put them somewhere
  • Crawl-delay parsing and restructuring of the data representation.
  • Be able to detect whether a crawler can access a specific page.
  • More tests of all the various edge cases.
  • Benchmarks, (maybe someday never).
  • Publish it as a Rust library as well (maybe).
  • Get Rust tests working (maybe).

Metadata

Release files for rbdt 0.0.3_alpha1

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

Built distributions (wheels)

Table of built distributions (wheels) for rbdt 0.0.3_alpha1
File Interpreter ABI Platform Actions
rbdt-0.0.3_alpha1-cp38-cp38-macosx_10_7_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.7+ x86-64 Details for rbdt-0.0.3_alpha1-cp38-cp38-macosx_10_7_x86_64.whl
rbdt-0.0.3_alpha1-cp36-cp36m-macosx_10_7_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ x86-64 Details for rbdt-0.0.3_alpha1-cp36-cp36m-macosx_10_7_x86_64.whl

Total release size: 1.8 MB

Release files / rbdt-0.0.3_alpha1-cp38-cp38-macosx_10_7_x86_64.whl

Download URL rbdt-0.0.3_alpha1-cp38-cp38-macosx_10_7_x86_64.whl
Size 914.9 kB
Tags CPython 3.8 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
08aeeb15b069c04e9979636cac75afd5f9a35900a98265f240995f3552ed4798
BLAKE2b-256 checksum
How to use checksums
1a95609432567983d0c0744f4b9011fc805e10484d2677c3e4633181abf8b57b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Release files / rbdt-0.0.3_alpha1-cp36-cp36m-macosx_10_7_x86_64.whl

Download URL rbdt-0.0.3_alpha1-cp36-cp36m-macosx_10_7_x86_64.whl
Size 912.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
930b09158865cdefc4a23da3ec94493815f03a185018e3a9c15d5e5bce27b232
BLAKE2b-256 checksum
How to use checksums
f31b6d4c8038a0144eb29021ca5fcff665b8e0b8eea2047456f824ab498f3443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.11.5

Security for rbdt 0.0.3_alpha1

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