Name | alacorder JSON |
Version |
81.2.8
JSON |
| download |
home_page | |
Summary | Alacorder retrieves case detail PDFs from Alacourt.com and processes them into data tables suitable for research purposes. |
upload_time | 2023-09-29 03:22:40 |
maintainer | |
docs_url | None |
author | Sam Robson |
requires_python | >=3.10,<4.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
```
┏┓┓ ┏┓┏┓┏┓┳┓┳┓┏┓┳┓
┣┫┃ ┣┫┃ ┃┃┣┫┃┃┣ ┣┫
┛┗┗┛┛┗┗┛┗┛┛┗┻┛┗┛┛┗
(c) 2023 Sam Robson
```
# **Alacorder**
### Alacorder collects and processes case detail PDFs into data tables suitable for research purposes.
<sup>[GitHub](https://github.com/sbrobson959/alacorder) | [PyPI](https://pypi.org/project/alacorder/) | [Report an issue](mailto:sbrobson@crimson.ua.edu)
</sup>
## **Installation**
**If your device can run Python 3.10+, it can run Alacorder. Use `pip` to install the command line interface.**
* Install [Anaconda Distribution](https://www.anaconda.com/products/distribution) to install the latest Python.
* Once your Anaconda environment is configured, open a terminal from Anaconda Navigator and enter `pip install -U alacorder` to 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`. │
│ 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`. │
╰──────────────────────────────────────────────────────────────────────────────────────────╯
```
Raw data
{
"_id": null,
"home_page": "",
"name": "alacorder",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Sam Robson",
"author_email": "sbrobson@crimson.ua.edu",
"download_url": "https://files.pythonhosted.org/packages/3c/8b/06b6c641077ef571cfce00037b04fbed587c976602b1864a039adf4a6cc5/alacorder-81.2.8.tar.gz",
"platform": null,
"description": "```\n\u250f\u2513\u2513 \u250f\u2513\u250f\u2513\u250f\u2513\u2533\u2513\u2533\u2513\u250f\u2513\u2533\u2513 \n\u2523\u252b\u2503 \u2523\u252b\u2503 \u2503\u2503\u2523\u252b\u2503\u2503\u2523 \u2523\u252b \n\u251b\u2517\u2517\u251b\u251b\u2517\u2517\u251b\u2517\u251b\u251b\u2517\u253b\u251b\u2517\u251b\u251b\u2517 \n(c) 2023 Sam Robson\n```\n# **Alacorder**\n### Alacorder collects and processes case detail PDFs into data tables suitable for research purposes.\n\n<sup>[GitHub](https://github.com/sbrobson959/alacorder) | [PyPI](https://pypi.org/project/alacorder/) | [Report an issue](mailto:sbrobson@crimson.ua.edu)\n</sup>\n\n## **Installation**\n\n**If your device can run Python 3.10+, it can run Alacorder. Use `pip` to install the command line interface.**\n\n* Install [Anaconda Distribution](https://www.anaconda.com/products/distribution) to install the latest Python.\n* Once your Anaconda environment is configured, open a terminal from Anaconda Navigator and enter `pip install -U alacorder` to install.\n\n```\n\n Usage: alacorder [OPTIONS] COMMAND [ARGS]...\n\n Alacorder collects case detail PDFs from Alacourt.com and processes them into data tables \n suitable for research purposes.\n\n\u256d\u2500 Options \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256e\n\u2502 --version Show the version and exit. \u2502\n\u2502 --help Show this message and exit. \u2502\n\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256f\n\u256d\u2500 Commands \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256e\n\u2502 autofilter Automatically filter `party_search_results` using crawl-adoc outputs, so \u2502\n\u2502 that cases with mismatching DOBs are removed. \u2502\n\u2502 autopair Automatically generate filled pairs template from party search results \u2502\n\u2502 table with 'Search' and 'Name' columns. \u2502\n\u2502 crawl-adoc Collect full inmates list from ADOC Inmate Search and write to table at \u2502\n\u2502 `output_path` (.xlsx, .csv, .json, .parquet). \u2502\n\u2502 fetch-cases From a queue table with 'Case Number' or 'CaseNumber' column, download \u2502\n\u2502 case detail PDFs to directory at `output_path`. \u2502\n\u2502 make-archive Create case text archive from directory of case detail PDFs. \u2502\n\u2502 make-documents Make .docx summaries with voting rights information for each unique \u2502\n\u2502 identifier in `pairs` at `output_dir`. \u2502\n\u2502 make-summary Create voting rights summary grouped by person using a completed \u2502\n\u2502 name/AIS pairing template (use make-template to create empty template). \u2502\n\u2502 make-table Create table at `output_path` from archive or directory at `input_path`. \u2502\n\u2502 make-template Create empty pairing template to be used as input for make-summary to \u2502\n\u2502 create a voting rights summary grouped by person instead of by case. \u2502\n\u2502 party-search Collect results from Alacourt Party Search into a table at \u2502\n\u2502 `output_path`. Input `queue_path` table from .xlsx, .csv, .json, or \u2502\n\u2502 .parquet with columns corresponding to Alacourt Party Search fields: \u2502\n\u2502 'Name', 'Party Type', 'SSN', 'DOB', 'County', 'Division', 'Case Year', \u2502\n\u2502 'Filed Before', 'Filed After', 'No Records'. \u2502\n\u2502 rename-cases Rename all cases in a directory to full case number. Duplicates will be \u2502\n\u2502 removed. \u2502\n\u2502 search-adoc Search ADOC using queue with 'First Name', 'Last Name', and 'AIS' \u2502\n\u2502 columns to retrieve sentencing information from ADOC. Record table to \u2502\n\u2502 `output_path`. \u2502\n\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256f\n\n```",
"bugtrack_url": null,
"license": "",
"summary": "Alacorder retrieves case detail PDFs from Alacourt.com and processes them into data tables suitable for research purposes.",
"version": "81.2.8",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a01125dc6d7a09ae8109ead7b5081d5498bd0f372aa0659b603957121300a03f",
"md5": "85928d685bf50fea6e534695ce987ccd",
"sha256": "f2ca7a5b27b4bbfbe3e5eb87ccb66a0a5cecde4ccaff58c54953fe3a200fa00a"
},
"downloads": -1,
"filename": "alacorder-81.2.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "85928d685bf50fea6e534695ce987ccd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 91118,
"upload_time": "2023-09-29T03:22:38",
"upload_time_iso_8601": "2023-09-29T03:22:38.055325Z",
"url": "https://files.pythonhosted.org/packages/a0/11/25dc6d7a09ae8109ead7b5081d5498bd0f372aa0659b603957121300a03f/alacorder-81.2.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3c8b06b6c641077ef571cfce00037b04fbed587c976602b1864a039adf4a6cc5",
"md5": "3ea0109b2e1fd2c246a1836aea43058f",
"sha256": "9776d155d5bcd43a5e42f57b9dd17924a36f6f237a551fe7aa88922ba0c506de"
},
"downloads": -1,
"filename": "alacorder-81.2.8.tar.gz",
"has_sig": false,
"md5_digest": "3ea0109b2e1fd2c246a1836aea43058f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 90630,
"upload_time": "2023-09-29T03:22:40",
"upload_time_iso_8601": "2023-09-29T03:22:40.516480Z",
"url": "https://files.pythonhosted.org/packages/3c/8b/06b6c641077ef571cfce00037b04fbed587c976602b1864a039adf4a6cc5/alacorder-81.2.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-29 03:22:40",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "alacorder"
}