Skip to content
Neuroca-IncPublic

About

One-command distribution snapshot across Zenodo, Hugging Face and GitHub. Separates unique from raw counts so you can see how much of your reach is human rather than crawler.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

reach

One-command distribution snapshot across Zenodo, Hugging Face and GitHub. Separates unique from raw counts so you can see how much of your reach is human rather than crawler.

Part of the Neuroca-Inc research tooling.


Install

pip install -e .

Installs the following command(s):

  • reach

For an isolated global install:

pipx install -e .
pipx ensurepath

Usage

usage: cli.py [-h] [--zenodo-creator ZENODO_CREATOR] [--hf-dataset OWNER/NAME]
              [--hf-model OWNER/NAME] [--github-org GITHUB_ORG] [--out OUT]
              [--diff PRIOR_CSV]

Collect distribution stats across Zenodo, HF and GitHub.

options:
  -h, --help            show this help message and exit
  --zenodo-creator ZENODO_CREATOR
                        creator name, e.g. "Lietz"
  --hf-dataset OWNER/NAME
                        repeatable
  --hf-model OWNER/NAME
                        repeatable
  --github-org GITHUB_ORG
                        repeatable
  --out OUT             output CSV path
  --diff PRIOR_CSV      compare against a previous run

Layout

    └─ cli.py
    └─ zenodo_corpus.py

Notes

  • The load-bearing idea is in reach.py's docstring: Zenodo publishes unique_views and unique_downloads alongside raw counts, raw counts include crawlers and harvesters, and the ratio is a human-reach signal a raw CSV export cannot give you.
  • GITHUB_TOKEN raises the rate limit and, with push access to the org, unlocks per-repo traffic. ZENODO_TOKEN is only needed for restricted or draft records.
  • zenodo_corpus.py currently hardcodes an ORCID and a creator name.

Provenance

Every carved tree ships with a PROVENANCE_manifest_*.json (vdm.provenance.manifest.v1): SHA-256 per file, byte sizes, and a deterministic tree hash over the whole set. To confirm nothing has drifted since the carve:

neuroca-carve verify --repo .

License

Apache-2.0. See LICENSE.

About

One-command distribution snapshot across Zenodo, Hugging Face and GitHub. Separates unique from raw counts so you can see how much of your reach is human rather than crawler.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages