susbot
The Python package of sus.bot, a robots.txt checker. It tells you which search engines and AI crawlers a site lets in, what is wrong with the file, and which paths it gives away. It ships the Rust engine behind sus.bot as Python bindings and the susbot command.
pip install susbot
Wheels are built for Linux, macOS and Windows on CPython 3.10 and later.
Command line
susbot https://example.com # audit a live site
susbot robots.txt --format markdown --out audit.md
susbot diff old.txt new.txt # what changed, crawler by crawler
python -m susbot --help
It is the same program as cargo install susbot. Exit codes: 0 on success, 1 when a --fail-on or --fail-on-security threshold is met, 2 on errors.
Python
import susbot
text = open("robots.txt", encoding="utf-8").read()
a = susbot.Analysis(text, site_url="https://example.com/")
a.allowed("GPTBot", "/blog/post") # False
a.check_access("Googlebot", "/admin/") # the verdict and the rule that decided it
a.report["summary"] # counts, default policy, AI training, platform
a.issues # lint findings with stable ids
a.security # disallowed paths that look sensitive
a.markdown() # the client audit; also html(), csv_tabs(), tsv()
old = susbot.Analysis(old_text, site_url="https://example.com/")
susbot.diff(old, a) # crawler verdict flips, new sensitive paths, issues
Analysis takes config= for a TOML file merged over susbot.default_config(), and locale= with lang= for a translated report. The report follows the published JSON schema. The package never fetches anything itself; the susbot command does.
Links
- Website: sus.bot
- Source, GitHub Action and issues: github.com/sitefig/robots
Licence
PolyForm Noncommercial 1.0.0: free for noncommercial use. Commercial use needs a licence from Sitefig.
Release files for susbot 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| susbot-2.0.1.tar.gz | 106.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| susbot-2.0.1-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| susbot-2.0.1-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| susbot-2.0.1-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| susbot-2.0.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| susbot-2.0.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| susbot-2.0.1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| susbot-2.0.1-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 14.7 MB
Release files / susbot-2.0.1.tar.gz
| Download URL | susbot-2.0.1.tar.gz |
|---|---|
| Size | 106.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f35e654ec6e01e83171a3a8dff5730a9ae53a8ea2ff0d285be946ef9f355cb25
|
|
BLAKE2b-256 checksum How to use checksums |
a070afa6ff61691297bcd5874d99e71b6b4552263fa94eb78ec0552f0507c8fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency logRelease files / susbot-2.0.1-cp310-abi3-win_amd64.whl
| Download URL | susbot-2.0.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cc0cb7152dff5b1bc607889f41f50bb891f844048f32341edc29fe2560fcf2f3
|
|
BLAKE2b-256 checksum How to use checksums |
9b2ddcfc721c92452346aa4424091bbbe0676794f7ed50cc9bd8036e3783d705
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency logRelease files / susbot-2.0.1-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | susbot-2.0.1-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
85b75a3e929e51459ef990bd559d58d021146bbe1e4c3b8f69df2500cd54ab68
|
|
BLAKE2b-256 checksum How to use checksums |
9b87c917e8f594447c98598f69cd07b92e52c5ea7f4ded04eac28866c8e4657d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency logRelease files / susbot-2.0.1-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | susbot-2.0.1-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
567de3b745189e1516b6454c50427aed8c2486d9800712a8646ce7a664fc0e98
|
|
BLAKE2b-256 checksum How to use checksums |
e8dc0d40d8e9e25859e7ebdc449011c46659730454a98812529255a955f06394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency logRelease files / susbot-2.0.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | susbot-2.0.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5f986b430fd43be2134d31b9eaef04d907d8c33ce5147e61b46b8ae11d070572
|
|
BLAKE2b-256 checksum How to use checksums |
ffd00ca966ca859e27649484300e82806488b4d2a54c59ef0ef5ef1ab3f92011
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency logRelease files / susbot-2.0.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | susbot-2.0.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
963de9b3811402b0b6db5c97f2865601eb5de449db7b30342f1b049c78aabb95
|
|
BLAKE2b-256 checksum How to use checksums |
4de7353d2cb80b3a9a60cbf5f7958b943082c9bef76ab330876a8d58ab541ac2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency logRelease files / susbot-2.0.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | susbot-2.0.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7b489398394854d0dcd073774c5432a25b931b23b7a2d87c6e0474a3bb27cd5d
|
|
BLAKE2b-256 checksum How to use checksums |
be23e321ed23d1b233d5c4cb215a0f0659fac65ac0bbd3efa6611fdb5e6ea5e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency logRelease files / susbot-2.0.1-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | susbot-2.0.1-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9b2d6bc5e73d0161ee7d283bcfde9ab026e2e2debf3f098b01d918c09e2b33af
|
|
BLAKE2b-256 checksum How to use checksums |
eedac347208ff40893fe74f1253139ba5830b6700b4c319bfe48f8d63ac1e7a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 19, 2026.
Transparency log