Library for COUNTER-compliant detection of machines and robots.
The purpose behind COUNTER is to enable comparable usage statistics by only reporting genuine user-driven usage for repositories. The purpose behind Code of Practice for Research Data is to split genuine COUNTER user-driven usage into human- and machine-based access.
This Python library implements a tiny API to check if a given user agent string from a browser is considered a robot/crawler/spider or a machine according to the Code of Practice for Research Data [1] as well as the COUNTER Code of Practice.
The library depends on official lists published by both projects. You can see the lists on:
Changes
Version 2025.11 (released on 2025-11-04)
chore(setup): update dependencies
fix: pkg_resources DeprecationWarning
Version 2025.2 (released on 2025-02-13)
User agents lists update.
Version 2018.6 (released on 2018-06-15)
Initial public release.
Metadata
Release files for counter-robots 2025.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| counter_robots-2025.11.tar.gz | 9.6 kB | Without provenance | Details for counter_robots-2025.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| counter_robots-2025.11-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for counter_robots-2025.11-py2.py3-none-any.whl |
Total release size: 17.2 kB
Release files / counter_robots-2025.11.tar.gz
| Download URL | counter_robots-2025.11.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
624f4c1159ffec041fd96e1420f0698cdd5c0c8ae49ea2d7074c91fe7f90136e
|
|
BLAKE2b-256 checksum How to use checksums |
1770e0df8fc6c6940054630b8a31b5d867d863cf3917de9256340af80dd1457d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / counter_robots-2025.11-py2.py3-none-any.whl
| Download URL | counter_robots-2025.11-py2.py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5a04ed0ef280578232ea8b2d7f96877e1617f8161e7742af116786733c1b7b93
|
|
BLAKE2b-256 checksum How to use checksums |
0a29b6226f9c55f29a335ce493c31c8509d4af66cee9e333924cb6b0968a5b95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for counter-robots 2025.11
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.