Skip to main content

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 .dbf files using dbfread.
  • 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


Download files

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

Source Distribution

rrc_statewide_api-1.0.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

rrc_statewide_api-1.0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for rrc_statewide_api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 439917ce211abc64695a73fb86c4ee9367ccf93830157893bf08c14e17e49d0b
MD5 b62833369ff19e48a71f426adcc87e45
BLAKE2b-256 167d698bc639281e9b2979b474e2e84ec8157cb64be65a8028bae52e1f667748

See more details on using hashes here.

File details

Details for the file rrc_statewide_api-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for rrc_statewide_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2025d5b49f9475730995ac9d2ee1d6597419232a082c2228273da4a6f7906494
MD5 704df1638f2408fbff288f67e165998d
BLAKE2b-256 11c50ee3fce1e188a1c508d49778ed15b7b425b8a9b96af4a8b936518a18d861

See more details on using hashes here.

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