Skip to main content

cite-analyser

Part of the lens family.

Citation extraction, reference verification, and in-text cross-checking. The Python successor to the cite-sight TypeScript engine (frozen at 0.13.x — see cite-sight's MIGRATION.md). Ported module-by-module in pipeline order, conformance-tested field-by-field against goldens recorded from the TS engine over its own demo-corpus/.

Port status

cite-sight module Status
references/extractor.ts (section finding, splitting, parsers, in-text) ✅ ported, conformance-gated
extractors/ (pdf, docx, text; limits; DOI repair) ✅ ported, conformance-gated
references/crossReference.ts, duplicates.ts, matching.ts ✅ ported, conformance-gated
references/verifier.ts verdict engine + lookupError.ts ✅ ported (DOI/Crossref/DataCite cascade, corroboration, grey literature, degraded-lookup protection)
doiResolver.ts, crossref.ts, datacite.ts ✅ ported
openAlex.ts, semanticScholar.ts, arxiv.ts, europePmc.ts search providers ✅ ported (retries, daily-budget short-circuit, arXiv ID extraction + Atom parsing)
urlChecker.ts, webSourceVerifier.ts (ISBN/YouTube/OpenLibrary/web metadata), publicationUpdates.ts ✅ ported
formatValidator.ts (APA/MLA/Chicago rules) ✅ ported
claims/* (local claim-evidence review) ⏳ last, optional

Install / use

pip install cite-analyser

cite-analyser analyse essay.md --json     # extract references + in-text citations
cite-analyser serve --port 8006           # the family HTTP contract (POST /analyse)

Python:

from cite_analyser.extractor import extract_references

result = extract_references(text)  # {"references": [...], "inTextCitations": [...]}

Development

uv venv && uv pip install -e ".[dev]"
python -m pytest                # unit + conformance (vs recorded goldens)
python tools/record_goldens.py /path/to/cite-sight   # only if the TS engine changes

Metadata

Release files for cite-analyser 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cite-analyser 0.2.0
File Size Uploaded Provenance Actions
cite_analyser-0.2.0.tar.gz 54.8 MB Without provenance Details for cite_analyser-0.2.0.tar.gz

Release files / cite_analyser-0.2.0.tar.gz

Download URL cite_analyser-0.2.0.tar.gz
Size 54.8 MB
Tags Source
SHA-256 checksum
How to use checksums
e928c189a8ed05fa5ebb4e95c66bb312eb7080ec1f761e42eeca5f3347196259
BLAKE2b-256 checksum
How to use checksums
38b01db3bb77e83ac78f1bc052beebaa690a6dbf6593668e6ec14a0914325d38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for cite-analyser 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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