$npx skillfedfor your agent

eyecite

Tool for extracting legal citations from text strings.

Worth itPyPI Python ModulesReleased Jul 2026381.4K downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — eyecite-2.7.8-py3-none-any.whl
v2.7.8 · released 2026-07-01 · Python >=3.10 · 6 runtime deps: courts-db, fast-diff-match-patch, lxml, pyahocorasick, regex, reporters-db

Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and solves a specific and well-defined problem for legal text processing. It is production-stable and already proven at scale by major legal research projects. Install it if you need to extract or parse legal citations from American legal documents.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; depends on courts-db and reporters-db databases which are installed as dependencies.
  • Low friction install with six runtime dependencies.
  • Actively maintained with a recent release; last commit was 2026-08-14 and the project has been in active development since 2021.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause permissive license allows use in most projects, including commercial ones, with minimal restrictions beyond attribution.

last release 2026-07-01 (44 days) · last repo commit 2026-08-14 · 268 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 381,356 downloads/mo, #7,095 on PyPI

Verify before relying

pip install eyecite

from eyecite import get_citations

text = "Foo v. Bar, 1 U.S. 2, 3-4 (1999). Id. at 5."
citations = get_citations(text)
for citation in citations:
    print(citation)
  • Whether the package handles citations from non-U.S. legal systems or only American law
  • Performance characteristics when processing very large documents or batches
  • Accuracy rates or benchmarks against real-world legal corpora
Same gist for agents: .md · .json

What it is and what it does

eyecite is a citation extraction tool designed to recognize and parse legal citations from American legal text. It identifies full case citations (e.g., "Bush v. Gore, 531 U.S. 98"), statutory references, law journal citations, and reference forms like "supra" and "Id." The package is built on a database trained against over 55 million existing citations and is used by CourtListener and Harvard's Caselaw Access Project to process millions of legal documents.

The package provides four core functions: extraction (finding citations in text), aggregation (linking related citations like "supra" to their antecedents), annotation (marking up citations with custom markup), and text cleaning. It depends on courts-db and reporters-db for citation pattern databases, plus lxml, pyahocorasick, regex, and fast-diff-match-patch for text processing. It requires Python 3.10 or later.

Use it for

  • Extract citations from court opinions or legal briefs for indexing or linking to case databases
  • Identify statutory references in legal documents to cross-reference legislation
  • Resolve short-form citations like "Id." and "supra" back to their original case references
  • Annotate legal text with markup around each citation for downstream processing or display
  • Preprocess and clean legal text before analysis or machine learning workflows

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, uses a permissive license, and solves a specific and well-defined problem for legal text processing. It is production-stable and already proven at scale by major legal research projects. Install it if you need to extract or parse legal citations from American legal documents.

Install

eyecite on PyPI

Before you install

Low friction install with six runtime dependencies. Actively maintained with a recent release; last commit was 2026-08-14 and the project has been in active development since 2021.

Requires Python 3.10 or later; depends on courts-db and reporters-db databases which are installed as dependencies.

License in practice

BSD-2-Clause permissive license allows use in most projects, including commercial ones, with minimal restrictions beyond attribution.

Quickstart

pip install eyecite

from eyecite import get_citations

text = "Foo v. Bar, 1 U.S. 2, 3-4 (1999). Id. at 5."
citations = get_citations(text)
for citation in citations:
    print(citation)

Verify before relying

  • Whether the package handles citations from non-U.S. legal systems or only American law
  • Performance characteristics when processing very large documents or batches
  • Accuracy rates or benchmarks against real-world legal corpora

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
courts-dbfast-diff-match-patchlxmlpyahocorasickregexreporters-db
MaintenanceActively maintained 44 days since the last release
Last repo commit
First released
Downloads381,356 / month, #7,095 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: eyecite-2.7.8-py3-none-any.whl

Tags

Capabilities
legal citation extractionparse court case citationsextract legal references from textcase law citation parserstatutory citation recognitionlegal document citation finderAmerican legal citation tool
Topics
legal-techcitation-parsingnlp
PyPI keywords
legalcourtscitationsextractioncites

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “legal citation extraction”

  • eyeciteExtracts legal citations from text, recognizing case names, statutory…
  • reporters-dbProvides a comprehensive database of U.S. court reporters and legal…
  • courts-dbProvides a searchable database of current and historical courts with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also reporters-db · courts-db · textract · citeproc-py · sphinxcontrib-bibtex · pdfminer.six · goose3 · cohere-melody · langextract · MainContentExtractor