{"id":16942751,"url":"https://github.com/jd/fastcounter","last_synced_at":"2025-07-17T00:31:52.671Z","repository":{"id":53014017,"uuid":"223415865","full_name":"jd/fastcounter","owner":"jd","description":"Fast counters for Python","archived":false,"fork":false,"pushed_at":"2023-09-05T20:23:39.000Z","size":22,"stargazers_count":40,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-11T21:13:24.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jd.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-11-22T14:03:18.000Z","updated_at":"2024-11-28T16:34:33.000Z","dependencies_parsed_at":"2024-06-20T00:09:59.780Z","dependency_job_id":"2b443a86-532d-4576-994e-ec4365f7569b","html_url":"https://github.com/jd/fastcounter","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.2857142857142857,"last_synced_commit":"f67b2befad63103890b68355b37fdf4fc68466c8"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jd/fastcounter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Ffastcounter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Ffastcounter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Ffastcounter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Ffastcounter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jd","download_url":"https://codeload.github.com/jd/fastcounter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd%2Ffastcounter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265032472,"owners_count":23700854,"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","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":[],"created_at":"2024-10-13T21:12:49.837Z","updated_at":"2025-07-17T00:31:52.647Z","avatar_url":"https://github.com/jd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fastcounter\n===========\n.. image:: https://img.shields.io/pypi/v/fastcounter.svg\n    :target: https://pypi.python.org/pypi/fastcounter\n\n.. image:: https://circleci.com/gh/jd/fastcounter.svg?style=svg\n    :target: https://circleci.com/gh/jd/fastcounter\n\n.. image:: https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.svg\n    :target: https://saythanks.io/to/jd\n\n.. image:: https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/jd/fastcounter\u0026style=flat\n   :target: https://mergify.io\n   :alt: Mergify Status\n\nFastcounter is an Apache 2.0 licensed fast counter library written in Python.\nIt aims at implementing fast incremental integer with different trade-offs on\nperformance depending on your use case.\n\nIt provides 3 classes:\n\n- `Counter`, a simple integer counter that does not support any concurrency.\n- `FastWriteCounter`, a counter that is thread-safe and is faster at writing\n  than reading.\n- `FastReadCounter`, a counter that is thread-safe and is faster at reading\n  than writing.\n\nExample::\n\n  import fastcounter\n\n  counter = fastcounter.Counter()\n\n  counter.value # returns 1\n  counter.increment()\n  counter.value # returns 2\n\n  counter.increment(10)\n  counter.value # returns 12\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd%2Ffastcounter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd%2Ffastcounter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd%2Ffastcounter/lists"}