Fetch ARDOT permit officer contact info from all 10 district pages.
Project description
ardot_permit_officer
A Python package to fetch ARDOT permit officer contact information from all 10 district pages.
Features
- Scrapes name, email, and phone number for each district's permit officer
- CLI tool to print or export the data
Usage
Command Line
Install the package (from PyPI or locally):
pip install ardot_permit_officer
Run the CLI to print all permit officer info as JSON:
ardot-permit-officer
Python API
You can also use the package in your own Python code. You can choose between dict (default) or object-oriented (Officer class) results:
Get all permit officers (dicts)
from ardot_permit_officer.scraper import get_all_permit_officers
officers = get_all_permit_officers()
for officer in officers:
print(officer['email'])
Get all permit officers (objects)
from ardot_permit_officer.scraper import get_all_permit_officers_obj
officers = get_all_permit_officers_obj()
for officer in officers:
print(officer.email)
Get a single district's permit officer (dict)
from ardot_permit_officer.scraper import get_permit_officer_by_district
officer = get_permit_officer_by_district(7) # For district 7
print(officer['email'])
Get a single district's permit officer (object)
from ardot_permit_officer.scraper import get_permit_officer_by_district_obj
officer = get_permit_officer_by_district_obj(7)
print(officer.email)
Publishing
Publishing to PyPI is automated via GitHub Actions. See .github/workflows/publish.yml.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ardot_permit_officer-1.0.0.tar.gz.
File metadata
- Download URL: ardot_permit_officer-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a94f868a1bdd540e13b3f87b8bf5db4be88afc7790fedb9f4bda771b68511e3
|
|
| MD5 |
652d0734c64e3f7a572deb03b4e8822c
|
|
| BLAKE2b-256 |
f82973ee10668684a836fe33b458a5d5b35268859a8eb8b244a4922e701d9b7c
|
Provenance
The following attestation bundles were made for ardot_permit_officer-1.0.0.tar.gz:
Publisher:
pypi-publish.yml on kumpeapps/ardot-permit-officer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ardot_permit_officer-1.0.0.tar.gz -
Subject digest:
5a94f868a1bdd540e13b3f87b8bf5db4be88afc7790fedb9f4bda771b68511e3 - Sigstore transparency entry: 476480180
- Sigstore integration time:
-
Permalink:
kumpeapps/ardot-permit-officer@2c75cee637e739fe8a912912f94d08438f6b107c -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/kumpeapps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@2c75cee637e739fe8a912912f94d08438f6b107c -
Trigger Event:
push
-
Statement type:
File details
Details for the file ardot_permit_officer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ardot_permit_officer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a78dd70e6d4d1b252314a5d52c8678f189b670b42b1b30d655c608c4c7e4095f
|
|
| MD5 |
492e2c29884d8f71c9d3a971f4536a4d
|
|
| BLAKE2b-256 |
d7176e808830cf11c2d77ef3e7cd14ac97765d4ae9f9be2e1b4764440349c29e
|
Provenance
The following attestation bundles were made for ardot_permit_officer-1.0.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on kumpeapps/ardot-permit-officer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ardot_permit_officer-1.0.0-py3-none-any.whl -
Subject digest:
a78dd70e6d4d1b252314a5d52c8678f189b670b42b1b30d655c608c4c7e4095f - Sigstore transparency entry: 476480237
- Sigstore integration time:
-
Permalink:
kumpeapps/ardot-permit-officer@2c75cee637e739fe8a912912f94d08438f6b107c -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/kumpeapps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@2c75cee637e739fe8a912912f94d08438f6b107c -
Trigger Event:
push
-
Statement type: