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'])

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.0.tar.gz (4.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.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rrc_statewide_api-1.0.0.tar.gz
  • Upload date:
  • Size: 4.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.0.tar.gz
Algorithm Hash digest
SHA256 6d4c9ccfc03127e4324f70136415af00bbb4437698248a1625cc035a01e6a878
MD5 f098c5ecbfb0073af9c6727905caa592
BLAKE2b-256 e4513b873d149eb686fae677dfb29ca9eede331cf20dfa5ed242f2ad47697ad4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rrc_statewide_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 607fc3daa6aca887aee429664d8e4c2cfefde8240ddc6c2802bb47e42c05e490
MD5 b33ed1e647d1200d1e4514196b6001f7
BLAKE2b-256 7709f634976659df362274c82523c9fa99cf346b203f69a6f0fa16ecbb06434c

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