Corpus Judge
corpus-judge provides a curated Supreme Court justice roster plus utilities
for normalizing opinion-writer names and selecting a likely justice for a case
date. It is intended for Philippine legal-corpus ingestion, where the original
writer text should remain available as source evidence. Selection is
conservative: when the source text and active roster do not support one
justice, the result is unresolved rather than a guessed attribution.
Quick Example
from corpus_judge import CandidateJustice, load_justice_records
from sqlite_utils import Database
db = Database(":memory:")
db["justices"].insert_all(load_justice_records())
candidate = CandidateJustice(
db=db,
text="Justice Antonio T. Kho, Jr.",
date_str="2023-04-03",
)
assert candidate.detail is not None
assert candidate.detail.raw_ponente == "Kho"
Documentation
See the documentation for the roster schema, name-normalization rules, selection behavior, and development commands. The release notes compare the current major release with the previously published package.
Testing
uv sync --all-extras --dev
just check
Metadata
Release files for corpus-judge 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 |
|---|---|---|---|---|
| corpus_judge-1.0.1.tar.gz | 19.7 kB | Without provenance | Details for corpus_judge-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| corpus_judge-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for corpus_judge-1.0.1-py3-none-any.whl |
Total release size: 40.8 kB
Release files / corpus_judge-1.0.1.tar.gz
| Download URL | corpus_judge-1.0.1.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96d94ebad428d2a2fca34f0e0415c0a74bf51bcb7358ec1c64eed4bf758ecc2b
|
|
BLAKE2b-256 checksum How to use checksums |
c8cd350c30c22d6ad2b254e41ba9f2c9488f80accfd6e8e30615bfb68480e65e
|
| 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 / corpus_judge-1.0.1-py3-none-any.whl
| Download URL | corpus_judge-1.0.1-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c614cd7b3e56845e50593023399ed11310472b697770326767474a659564262c
|
|
BLAKE2b-256 checksum How to use checksums |
78e356e26b7795a7f8c76e1d8a3141b8eae4e45a081b80b073e3ef370d0d2388
|
| 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 corpus-judge 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.