Skip to main content

Library for COUNTER-compliant detection of machines and robots.

Project description

https://img.shields.io/github/license/inveniosoftware/counter-robots.svg https://github.com/inveniosoftware/counter-robots/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/counter-robots.svg https://img.shields.io/pypi/v/counter-robots.svg

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.2 (released on 2025-02-13)

  • User agents lists update.

Version 2018.6 (released on 2018-06-15)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

counter_robots-2025.2.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

counter_robots-2025.2-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file counter_robots-2025.2.tar.gz.

File metadata

  • Download URL: counter_robots-2025.2.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for counter_robots-2025.2.tar.gz
Algorithm Hash digest
SHA256 dc477abd4199b64211b25f42307ee0835598aa9fbe732a889717466780d3d3f3
MD5 97c1c4f24519304dfe26e362c815e33d
BLAKE2b-256 705e070796e2b6cce119281b0c6d1781c409547dfc0d8e66711aa9acebac4456

See more details on using hashes here.

File details

Details for the file counter_robots-2025.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for counter_robots-2025.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c34d8a3a1df728775f48196f74242c37268b9abc7d919cf4f2a5b6ac879514b7
MD5 b89375fe0dc2172e616498f5ecb50841
BLAKE2b-256 9cf2c49185f039b322a458ee978f595d164fadd748a82c21b8d3a019fed199a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page