paperparse-client
A thin, dependency-free Python client for the paperparse service — turn a scientific-paper PDF into structured output (figures + captions + sub-panels, tables, equations, body markdown) from any backend, without pulling in paperparse's heavy dependencies or source.
pip install paperparse-client
from paperparse_client import PaperparseClient
pp = PaperparseClient(
api_key="denario_live_...", # a denario-web key (issue at denario-web.vercel.app)
client_ref="skepthical:run_abc123", # opaque per-run id — REQUIRED for B2B keys
)
res = pp.parse("paper.pdf", out_dir="run/") # uploads, parses, downloads artifacts
print(res["title"], res["n_figures"], res["cost"]["cost_usd"])
for f in res["figures"]:
print(f["label"], f["path"], f["caption"][:60]) # f["path"] = local PNG (out_dir set)
- Stdlib only. No
requests, no paperparse code — just an HTTP wrapper. client_refis required. An opaque identifier the caller generates (a run id or a user hash). It's used only for attribution (stamped on the service's trace); paperparse never inspects it. B2B API keys reject calls that omit it.- Async + robust. Uses the service's job flow (upload → run → poll), so a long parse survives a dropped connection.
out_dirdownloads everything locally —document.md,figures.json, and each crop — and adds a localpathto every figure/panel/table/equation in the result.
The result shape is documented in the paperparse repo's CONTRACT.md (versioned via
schema_version). Upload is subject to the service's 32 MB request cap (papers are
virtually always under it).
Metadata
Release files for paperparse-client 0.1.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 | |
|---|---|---|---|---|
| paperparse_client-0.1.2.tar.gz | 5.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paperparse_client-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / paperparse_client-0.1.2.tar.gz
| Download URL | paperparse_client-0.1.2.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
927f2a9ce440dd2cf298790ab52f3db8ad0a6b094ac75375c63497c2434433fd
|
|
BLAKE2b-256 checksum How to use checksums |
253f55f28fba443f69739c9cc0d3aafd0740b4f5399a02c134c7ad7122338eba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 12, 2026.
Transparency logRelease files / paperparse_client-0.1.2-py3-none-any.whl
| Download URL | paperparse_client-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
774857f0daa5fdfa21db3a5bec3cdf44cfdbd33abd00929ae324158da53f970f
|
|
BLAKE2b-256 checksum How to use checksums |
3d4daf15ab7a69571053ad17471d60833c4a67335d7901da890cd7ac74ed7b7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 12, 2026.
Transparency logSecurity for paperparse-client 0.1.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 paperparse_client-0.1.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 Jul 12, 2026.
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.