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.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 cite-analyser 0.2.2
File Size Uploaded Provenance Actions
cite_analyser-0.2.2.tar.gz 35.7 kB Without provenance Details for cite_analyser-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cite-analyser 0.2.2
File Interpreter ABI Platform Actions
cite_analyser-0.2.2-py3-none-any.whl Python 3 none any Details for cite_analyser-0.2.2-py3-none-any.whl

Total release size: 79.0 kB

Release files / cite_analyser-0.2.2.tar.gz

Download URL cite_analyser-0.2.2.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2f65d5c8bac8ac39e9c8be0a1ceff1e2218184fed381d72a447ab69da7dafef0
BLAKE2b-256 checksum
How to use checksums
7a4b0e616662105720c605dacee99321f3b9545bf98450acaf11a4ff7582c5c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / cite_analyser-0.2.2-py3-none-any.whl

Download URL cite_analyser-0.2.2-py3-none-any.whl
Size 43.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecce94d3d506ecf75ba4a322975e46de004953c5272bb47fd8ff17b1860c5e1f
BLAKE2b-256 checksum
How to use checksums
5672d4f46442975252b9e7e4efafc64d5075140171e54602e277ae6da7d4b158
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.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.

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