Skip to main content

robots-checker

This is a package for convenient robots.txt based compliant filtering. By compliance filtering, we evaluates robots.txt rules specifically for AI training user agents, as shown in the list below.

"AI2Bot",                       # AI2  
"Applebot-Extended",            # Apple  
"Bytespider",                   # Bytedance  
"CCBot",                        # Common Crawl  
"CCBot/2.0",                    # Common Crawl  
"CCBot/1.0",                    # Common Crawl  
"ClaudeBot",                    # Anthropic  
"cohere-training-data-crawler", # Cohere  
"Diffbot",                      # Diffbot  
"Meta-ExternalAgent",           # Meta  
"Google-Extended",              # Google  
"GPTBot",                       # OpenAI  
"PanguBot",                     # Huawei  
"*"

Installation

Currently, only robots.txt checking as of January 2025 is supported.

Install the package

pip install robots-checker==1.2.2

Usage

import url_checker
checker = url_checker.RobotsTxtComplianceChecker() # "Jan-2025"
status = checker.is_compliant("https://blog.example.com/some-page")
print(status)   # ➜  "Compliant"  or  "NonCompliant"

More?

For more information, please check our 🕸️ website

Release files for robots-checker 1.2.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 robots-checker 1.2.3
File Size Uploaded
robots-checker-1.2.3.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robots-checker 1.2.3
File Interpreter ABI Platform
robots_checker-1.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / robots-checker-1.2.3.tar.gz

Download URL robots-checker-1.2.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dbef6d1826822958eb9946bf11f4b851868abd654c2c097dbc154b9c102c4416
BLAKE2b-256 checksum
How to use checksums
883e913e2c9cfe4beec324c14968b63f0b63c735be86c94c0dbcb27060af028f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / robots_checker-1.2.3-py3-none-any.whl

Download URL robots_checker-1.2.3-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
536868a912b92f3446d183f00c50e3bb14f4dfbc453e41f313361fba2e211d90
BLAKE2b-256 checksum
How to use checksums
9a31fe5fea7c51dd46667809d8f38ec808a7a62e597f6d59366f56702a4e91ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

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