Citation Report Parser
citation-report provides regex patterns and structured extraction for
Philippine Supreme Court report citations: Philippine Reports (Phil.),
Supreme Court Reports Annotated (SCRA), and the Official Gazette (O.G.).
It is used with citation-date in
the LawSQL dataset.
The package isolates report-citation grammar so downstream parsers can compose the pattern without duplicating publisher variants or date handling.
Quick Example
from citation_report import Report
report = next(Report.extract_reports("250 Phil. 271, Jan. 1, 2019"))
assert report.volpubpage == "250 Phil. 271"
assert str(report.report_date) == "2019-01-01"
Documentation
See the documentation for
pattern composition, extraction behavior, and development commands. The
1.0 release notes
compare the current public contract with the last pushed 0.2.0 release.
Testing
uv sync --all-extras --dev
just check
Release files for citation-report 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| citation_report-1.0.1.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| citation_report-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / citation_report-1.0.1.tar.gz
| Download URL | citation_report-1.0.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d94d0af4c160920a4758824db788f43442b53493b2cb1f34252bb477f41b98db
|
|
BLAKE2b-256 checksum How to use checksums |
31f1730b500591ec1e8017a855b8298d2a5c876619e8881d498ef9de2136be7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / citation_report-1.0.1-py3-none-any.whl
| Download URL | citation_report-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
701339f0a2e36f4303d1db6fe689fac481c6a6e3cc0a743520929730eb31bde7
|
|
BLAKE2b-256 checksum How to use checksums |
946dbc279c994fdb147db60d3cce2a74a0147e1d45d23d946d2a3639864d5235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|