corpus-writer
Update pre-existing opinion file (in markdown front-matter) with statutes, citations, short title.
The decisions / statutes directories needs to be configured via an .env file, see just dumpenv for an
Steps
- Delete the statutes database since this may have been previously updated via their original yaml files
- The lack of a statutes database will cause a rebuild of the same
Run the following python command:
from corpus_writer import get_opinion_files_by_year, update_markdown_opinion_file
for i in range(1900, 1946):
for file in get_opinion_files_by_year(year=i):
update_markdown_opinion_file(file=file)
Note that for cases like am/97-9-282-rtc/1998-04-22/main-123.md where it takes too long to determine citations (likely a recursive regex error), a timer of 5 seconds is used by update_markdown_opinion_file.
Metadata
Release files for corpus-writer 0.0.5
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_writer-0.0.5.tar.gz | 4.1 kB | Without provenance | Details for corpus_writer-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| corpus_writer-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for corpus_writer-0.0.5-py3-none-any.whl |
Total release size: 8.9 kB
Release files / corpus_writer-0.0.5.tar.gz
| Download URL | corpus_writer-0.0.5.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b112369a20d5c52c5f5ff00ecc1af2f76145068e5022d5c2dc5e2d5a990cdcf
|
|
BLAKE2b-256 checksum How to use checksums |
347e4e02378d42bb5d8b4a2b279b3b6e4b05cc6418ccfca9d0c6698901927274
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.6 Darwin/23.0.0
|
Release files / corpus_writer-0.0.5-py3-none-any.whl
| Download URL | corpus_writer-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95c973362200f233c2f9b7263a3c1c77ea44adf2ecab5a185641bbfa166c7425
|
|
BLAKE2b-256 checksum How to use checksums |
47016a5cd7fd7ce18086e79b53eae613360b6ed91ad27246eb336e105062a328
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.6 Darwin/23.0.0
|
Security for corpus-writer 0.0.5
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.