Name | alacorder JSON |
Version |
81.2.19
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 | 2024-03-18 18:35:25 |
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`. │
│ 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`. │
╰──────────────────────────────────────────────────────────────────────────────╯
```
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/b9/1f/ec2d88080da2223866ef87493c226691ee4dff8029dbe9049c04ca41ccdc/alacorder-81.2.19.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\n data tables 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\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\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\u256e\n\u2502 autofilter Automatically filter `party_search_results` using crawl-adoc \u2502\n\u2502 outputs, so that cases with mismatching DOBs are removed. \u2502\n\u2502 autopair Automatically generate filled pairs template from party \u2502\n\u2502 search results table with 'Search' and 'Name' columns. \u2502\n\u2502 crawl-adoc Collect full inmates list from ADOC Inmate Search and write \u2502\n\u2502 to table at `output_path` (.xlsx, .csv, .json, .parquet). \u2502\n\u2502 fetch-cases From a queue table with 'Case Number' or 'CaseNumber' \u2502\n\u2502 column, download case detail PDFs to directory at \u2502\n\u2502 `output_path`. \u2502\n\u2502 launch Launch textual user interface. \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 \u2502\n\u2502 unique identifier in `pairs` at `output_dir`. \u2502\n\u2502 make-summary Create voting rights summary grouped by person using a \u2502\n\u2502 completed name/AIS pairing template (use make-template to \u2502\n\u2502 create empty template). \u2502\n\u2502 make-table Create table at `output_path` from archive or directory at \u2502\n\u2502 `input_path`. \u2502\n\u2502 make-template Create empty pairing template to be used as input for \u2502\n\u2502 make-summary to create a voting rights summary grouped by \u2502\n\u2502 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, \u2502\n\u2502 .json, or .parquet with columns corresponding to Alacourt \u2502\n\u2502 Party Search fields: 'Name', 'Party Type', 'SSN', 'DOB', \u2502\n\u2502 'County', 'Division', 'Case Year', 'Filed Before', 'Filed \u2502\n\u2502 After', 'No Records'. \u2502\n\u2502 rename-cases Rename all cases in a directory to full case number. \u2502\n\u2502 Duplicates will be removed. \u2502\n\u2502 search-adoc Search ADOC using queue with 'First Name', 'Last Name', and \u2502\n\u2502 'AIS' columns to retrieve sentencing information from ADOC. \u2502\n\u2502 Record table to `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\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.19",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "23c380eefeadf169604b607080383de4eb6fe44f022eb967d707f384debb145e",
"md5": "95ab7d25441d6ad5afafc8aa5e582fc4",
"sha256": "2706282f7c5ffbc229de7ae38ccf04a05ad88b31f71cda9e15f4698d496b1ab1"
},
"downloads": -1,
"filename": "alacorder-81.2.19-py3-none-any.whl",
"has_sig": false,
"md5_digest": "95ab7d25441d6ad5afafc8aa5e582fc4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 99196,
"upload_time": "2024-03-18T18:35:14",
"upload_time_iso_8601": "2024-03-18T18:35:14.266981Z",
"url": "https://files.pythonhosted.org/packages/23/c3/80eefeadf169604b607080383de4eb6fe44f022eb967d707f384debb145e/alacorder-81.2.19-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b91fec2d88080da2223866ef87493c226691ee4dff8029dbe9049c04ca41ccdc",
"md5": "55714e5d492854294a4ddb2ec7be0345",
"sha256": "176d395bf54ac2b9ccdb44a3bfdfa8b563b93d6d123bd3e05ecd2012a01c852b"
},
"downloads": -1,
"filename": "alacorder-81.2.19.tar.gz",
"has_sig": false,
"md5_digest": "55714e5d492854294a4ddb2ec7be0345",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 99251,
"upload_time": "2024-03-18T18:35:25",
"upload_time_iso_8601": "2024-03-18T18:35:25.774087Z",
"url": "https://files.pythonhosted.org/packages/b9/1f/ec2d88080da2223866ef87493c226691ee4dff8029dbe9049c04ca41ccdc/alacorder-81.2.19.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-18 18:35:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "alacorder"
}