Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ardot_permit_officer-1.0.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ardot_permit_officer-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for ardot_permit_officer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5a94f868a1bdd540e13b3f87b8bf5db4be88afc7790fedb9f4bda771b68511e3
MD5 652d0734c64e3f7a572deb03b4e8822c
BLAKE2b-256 f82973ee10668684a836fe33b458a5d5b35268859a8eb8b244a4922e701d9b7c

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ardot_permit_officer-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ardot_permit_officer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a78dd70e6d4d1b252314a5d52c8678f189b670b42b1b30d655c608c4c7e4095f
MD5 492e2c29884d8f71c9d3a971f4536a4d
BLAKE2b-256 d7176e808830cf11c2d77ef3e7cd14ac97765d4ae9f9be2e1b4764440349c29e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page