Skip to main content

civic-paperkit

PyPI Python versions License: MIT CI Status Docs

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

  1. Create a refs_meta.yaml file 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"]
  1. Run the tool:
ci-paperkit --bib paper/refs.bib --meta paper/refs_meta.yaml
  1. 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)

Source distribution for civic-paperkit 0.0.2
File Size Uploaded Provenance
civic_paperkit-0.0.2.tar.gz 43.6 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for civic-paperkit 0.0.2
File Interpreter ABI Platform
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 log

Release 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 log

Security 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.

Select from 2 files

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 log

A 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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page