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.1.tar.gz (4.3 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file rrc_statewide_api-1.0.1.tar.gz.

File metadata

  • Download URL: rrc_statewide_api-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 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.1.tar.gz
Algorithm Hash digest
SHA256 15950d687bdc0b8e30dbd867c586a187ab032e93a394b27ee6e8b38d391f9534
MD5 2cbd30b573284f10442c74b38aedc507
BLAKE2b-256 2286c1c89edbfb4ba46a9f6f0346af43c2ae3b6bbfcc2ed86852cbf5266d4fbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rrc_statewide_api-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d20b546f587ce6e403b3b1b51742fabb8a75d7214b87897ff5e3fece28a7525c
MD5 7ff2e73963aa845f27bdee086778848a
BLAKE2b-256 baa6c17a2caa5ad99b949d6c112d8e861803317989fb9e1a16bb9c503d94846b

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