Library for COUNTER-compliant detection of machines and robots.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
counter_robots
docs
scripts
tests
.dockerignore
.editorconfig
.gitignore
.travis.yml
AUTHORS.rst
CHANGES.rst
CONTRIBUTING.rst
INSTALL.rst
LICENSE
MANIFEST.in
README.rst
pytest.ini
run-tests.sh
setup.cfg
setup.py

README.rst

COUNTER-Robots

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: