A Python parser for Texas RRC Statewide API Data (DBF format)
Project description
RRC Statewide API Parser
A Python library for parsing and processing the Texas Railroad Commission (RRC) Statewide API Data provided in dBase (.dbf) format.
Features
- Efficient parsing of legacy
.dbffiles usingdbfread. - Automatic handling of character encoding (
ISO-8859-1). - Standardized mapping and normalization of date fields.
- Helper utilities for RRC-specific data formatting.
Installation
pip install rrc-statewide-api
Usage
from rrc_statewide_api import RRCStatewideParser
parser = RRCStatewideParser("path/to/file.dbf")
for record in parser.parse():
print(record['API_NUM'], record['LEASE_NAME'])
# Inspect available fields
print(parser.get_fields())
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 rrc_statewide_api-1.0.2.tar.gz.
File metadata
- Download URL: rrc_statewide_api-1.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
439917ce211abc64695a73fb86c4ee9367ccf93830157893bf08c14e17e49d0b
|
|
| MD5 |
b62833369ff19e48a71f426adcc87e45
|
|
| BLAKE2b-256 |
167d698bc639281e9b2979b474e2e84ec8157cb64be65a8028bae52e1f667748
|
File details
Details for the file rrc_statewide_api-1.0.2-py3-none-any.whl.
File metadata
- Download URL: rrc_statewide_api-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2025d5b49f9475730995ac9d2ee1d6597419232a082c2228273da4a6f7906494
|
|
| MD5 |
704df1638f2408fbff288f67e165998d
|
|
| BLAKE2b-256 |
11c50ee3fce1e188a1c508d49778ed15b7b425b8a9b96af4a8b936518a18d861
|