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
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| citation_report-1.0.1.tar.gz | 7.3 kB | Without provenance | Details for citation_report-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| citation_report-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for citation_report-1.0.1-py3-none-any.whl |
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}
|
Security for citation-report 1.0.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.