{"id":30838796,"url":"https://github.com/benwebber/texting-robots-py","last_synced_at":"2026-01-20T17:55:00.017Z","repository":{"id":306365805,"uuid":"1025949221","full_name":"benwebber/texting-robots-py","owner":"benwebber","description":"Python binding for the Texting Robots robots.txt parser","archived":false,"fork":false,"pushed_at":"2025-07-25T06:26:25.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T23:53:14.676Z","etag":null,"topics":["robots-txt","scraping"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/texting-robots-py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benwebber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.Apache-2.0","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-25T04:34:48.000Z","updated_at":"2025-07-25T06:27:38.000Z","dependencies_parsed_at":"2025-07-25T09:16:25.869Z","dependency_job_id":"e445fadd-d404-4f99-9e9a-1051425e440b","html_url":"https://github.com/benwebber/texting-robots-py","commit_stats":null,"previous_names":["benwebber/texting-robots-py"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/benwebber/texting-robots-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwebber%2Ftexting-robots-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwebber%2Ftexting-robots-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwebber%2Ftexting-robots-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwebber%2Ftexting-robots-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benwebber","download_url":"https://codeload.github.com/benwebber/texting-robots-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwebber%2Ftexting-robots-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273941527,"owners_count":25195104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["robots-txt","scraping"],"created_at":"2025-09-06T18:12:11.183Z","updated_at":"2026-01-20T17:54:59.942Z","avatar_url":"https://github.com/benwebber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# texting-robots-py\n\nPython binding for the [Texting Robots](https://github.com/Smerity/texting_robots) `robots.txt` parser.\nRefer to that project for details.\n\n```\npip install texting-robots-py\n```\n\n## Usage\n\n```python\nfrom texting_robots import Robot\n\ntxt = b'''\nUser-Agent: FerrisCrawler\nAllow: /ocean\nDisallow: /rust\nDisallow: /forest*.py\nCrawl-Delay: 10\nUser-Agent: *\nDisallow: /\nSitemap: https://www.example.com/site.xml\n'''\n\nrobot = Robot('FerrisCrawler', txt)\n\nassert robot.delay == 10\n\nassert robot.sitemaps == ['https://www.example.com/site.xml']\n\nassert robot.allowed('https://www.rust-lang.org/ocean')\nassert robot.allowed('/ocean')\nassert robot.allowed('/ocean/reef.html')\nassert not robot.allowed('/rust')\nassert not robot.allowed('/forest/tree/snake.py')\n```\n\n## Version numbering\n\nThe version of this project will equal the version of Texting Robots it depends on. For example, version 0.2.2 of `texting-robots-py` depends on version 0.2.2 of the `texting_robots` crate.\n\nIf necessary, this project will use [post releases](https://packaging.python.org/en/latest/specifications/version-specifiers/#post-releases) for changes specific to the Python package.\n\n## Licence\n\nThis project is licensed under both the Apache 2.0 and MIT licences.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenwebber%2Ftexting-robots-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenwebber%2Ftexting-robots-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenwebber%2Ftexting-robots-py/lists"}