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

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.1
File Size Uploaded Provenance Actions
cite_analyser-0.2.1.tar.gz 35.6 kB Without provenance Details for cite_analyser-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 79.0 kB

Release files / cite_analyser-0.2.1.tar.gz

Download URL cite_analyser-0.2.1.tar.gz
Size 35.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d9c59a370f7c653ae21541c5c56d8c043c8eab9c17b0ff1d735beff479f1f45f
BLAKE2b-256 checksum
How to use checksums
d22a1842a72061ea4404a30b83b0cd6e6d4d2e7c9b7f7c8385343184874da849
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.1-py3-none-any.whl

Download URL cite_analyser-0.2.1-py3-none-any.whl
Size 43.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab7da8502dd05fc8fd06ed2da41fd0f7a06814a1b79f6bb749d7fea01b51f85f
BLAKE2b-256 checksum
How to use checksums
84d6187c56ff52bc140727ef79eec0c2ad5a0ab488eb45a5d248c7251cb3072e
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.1

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