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/* (claim–evidence review: "Does your supplied source support this sentence?") ✅ ported — provider-based (any OpenAI-compatible endpoint, e.g. Ollama), verbatim-quote validation, advisory; resumable runner/benchmark harnesses not ported

Install / use

pip install cite-analyser

cite-analyser analyse essay.md --json     # extract references + in-text citations
cite-analyser claims essay.md --sources manifest.json   # claim–evidence check
cite-analyser serve --port 8006           # the family HTTP contract (POST /analyse, /claims)

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.3.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.3.0
File Size Uploaded Provenance Actions
cite_analyser-0.3.0.tar.gz 42.0 kB Without provenance Details for cite_analyser-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 93.1 kB

Release files / cite_analyser-0.3.0.tar.gz

Download URL cite_analyser-0.3.0.tar.gz
Size 42.0 kB
Tags Source
SHA-256 checksum
How to use checksums
99e18cab1172a757b779ca81e66cf531277ede33779e01d79d2c1a4ef14c1bb8
BLAKE2b-256 checksum
How to use checksums
013e0a4262d9574c8a353ce7f38669e8d2b6598b97084a2c30e1e78e4557a458
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.3.0-py3-none-any.whl

Download URL cite_analyser-0.3.0-py3-none-any.whl
Size 51.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd1dd53b48de62e112d514327dafed3ce8f71976a1219a3ad2adf8f11fd601ed
BLAKE2b-256 checksum
How to use checksums
876583ee0f2540e22b1869d994868af10a27bb455c15fbbed8b97a78f603f7bb
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.3.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