┏┓┓ ┏┓┏┓┏┓┳┓┳┓┏┓┳┓
┣┫┃ ┣┫┃ ┃┃┣┫┃┃┣ ┣┫
┛┗┗┛┛┗┗┛┗┛┛┗┻┛┗┛┛┗
(c) 2023 Sam Robson
Alacorder
Alacorder collects and processes case detail PDFs into data tables suitable for research purposes.
GitHub | PyPI | Report an issue
Installation
If your device can run Python 3.10+, it can run Alacorder. Use pip to install the command line interface.
- Install Anaconda Distribution to install the latest Python.
- Once your Anaconda environment is configured, open a terminal from Anaconda Navigator and enter
pip install -U alacorderto install.
Usage: alacorder [OPTIONS] COMMAND [ARGS]...
Alacorder collects case detail PDFs from Alacourt.com and processes them into
data tables suitable for research purposes.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --version Show the version and exit. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ autofilter Automatically filter `party_search_results` using crawl-adoc │
│ outputs, so that cases with mismatching DOBs are removed. │
│ autopair Automatically generate filled pairs template from party │
│ search results table with 'Search' and 'Name' columns. │
│ crawl-adoc Collect full inmates list from ADOC Inmate Search and write │
│ to table at `output_path` (.xlsx, .csv, .json, .parquet). │
│ fetch-cases From a queue table with 'Case Number' or 'CaseNumber' │
│ column, download case detail PDFs to directory at │
│ `output_path`. │
│ launch Launch textual user interface. │
│ make-archive Create case text archive from directory of case detail PDFs. │
│ make-documents Make .docx summaries with voting rights information for each │
│ unique identifier in `pairs` at `output_dir`. │
│ make-summary Create voting rights summary grouped by person using a │
│ completed name/AIS pairing template (use make-template to │
│ create empty template). │
│ make-table Create table at `output_path` from archive or directory at │
│ `input_path`. │
│ make-template Create empty pairing template to be used as input for │
│ make-summary to create a voting rights summary grouped by │
│ person instead of by case. │
│ party-search Collect results from Alacourt Party Search into a table at │
│ `output_path`. Input `queue_path` table from .xlsx, .csv, │
│ .json, or .parquet with columns corresponding to Alacourt │
│ Party Search fields: 'Name', 'Party Type', 'SSN', 'DOB', │
│ 'County', 'Division', 'Case Year', 'Filed Before', 'Filed │
│ After', 'No Records'. │
│ rename-cases Rename all cases in a directory to full case number. │
│ Duplicates will be removed. │
│ search-adoc Search ADOC using queue with 'First Name', 'Last Name', and │
│ 'AIS' columns to retrieve sentencing information from ADOC. │
│ Record table to `output_path`. │
╰──────────────────────────────────────────────────────────────────────────────╯
Metadata
Release files for alacorder 81.2.26
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 |
|---|---|---|---|---|
| alacorder-81.2.26.tar.gz | 101.6 kB | Without provenance | Details for alacorder-81.2.26.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alacorder-81.2.26-py3-none-any.whl | Python 3 | none | any | Details for alacorder-81.2.26-py3-none-any.whl |
Total release size: 203.0 kB
Release files / alacorder-81.2.26.tar.gz
| Download URL | alacorder-81.2.26.tar.gz |
|---|---|
| Size | 101.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbc263ef6a91e06b053c3c5540d02f7f97d2303fd37a74802ba722dec149a2da
|
|
BLAKE2b-256 checksum How to use checksums |
b0611c2e7adc9000fe1fc57a11fedf4185d145a6aa76c2057eff4d4f96d26473
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.9 Darwin/23.4.0
|
Release files / alacorder-81.2.26-py3-none-any.whl
| Download URL | alacorder-81.2.26-py3-none-any.whl |
|---|---|
| Size | 101.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f54194dccb120dcb7d88c03a9f7674582222c4a3fb5cbe521b40fd7bf752df9
|
|
BLAKE2b-256 checksum How to use checksums |
07c7c3a5e33d8d5e2eb9b6afad3bbb1ca6d0574e69283b9f6242b35dbad1b2fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.9 Darwin/23.4.0
|
Security for alacorder 81.2.26
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.