civic-paperkit
Automatically download research data linked to your bibliography references.
civic-paperkit fetches datasets, CSVs, and supplementary materials referenced in your academic papers.
It reads your .bib file and a companion metadata file to archive all your sources.
Installation
pip install civic-paperkit
Quick Start
- Create a
refs_meta.yamlfile mapping your BibTeX keys to data sources:
# refs_meta.yaml
cdc_pmdr:
notes: "CDC Maternal Mortality Rates 2018-2022"
assets:
- url: "https://data.cdc.gov/api/views/e2d5-ggg7/rows.csv"
filename: "maternal_mortality.csv"
smith2024:
assets:
- page_url: "https://example.org/supplementary"
allow_ext: [".csv", ".xlsx", ".zip"]
- Run the tool:
ci-paperkit --bib paper/refs.bib --meta paper/refs_meta.yaml
- Find your data in
data/raw/<bibkey>/
Features
- Download direct file URLs (CSV, Excel, PDF, etc.)
- Scrape pages for data files
- Organize downloads by citation key
- Checksum verification (optional)
- Configurable output directories
Requirements
- Python 3.12+
- A BibTeX file with your references
- A YAML metadata file mapping references to data sources
License
MIT
Metadata
Release files for civic-paperkit 0.0.2
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 | |
|---|---|---|---|---|
| civic_paperkit-0.0.2.tar.gz | 43.6 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| civic_paperkit-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.6 MB
Release files / civic_paperkit-0.0.2.tar.gz
| Download URL | civic_paperkit-0.0.2.tar.gz |
|---|---|
| Size | 43.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b678c8f2cd56109d9126e02b3245e29fbfd1001bf41c6cc8517bfb031714b68
|
|
BLAKE2b-256 checksum How to use checksums |
9c3a681e5184d6bdc5b0b84f1e2dc1cad115a4af5b73a2505a8e0ab7e59b0b83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2025.
Transparency logRelease files / civic_paperkit-0.0.2-py3-none-any.whl
| Download URL | civic_paperkit-0.0.2-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bb91335c26cfd06082246044b33e409e0212993b2aced7e88ba6064de5af7df
|
|
BLAKE2b-256 checksum How to use checksums |
cbcee69dc61fa5d86605bba3e92a7424139a24172c5c382ab1ee3636858d3e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2025.
Transparency logSecurity for civic-paperkit 0.0.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for civic_paperkit-0.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2025.
Transparency logA 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.