Skip to main content

Parser for Texas RRC W-1 data files

Project description

w1_py_parse

A Python parser for Texas RRC W-1 data files.

Description

This tool allows for parsing fixed-width data files from the Texas Railroad Commission, specifically handling schema format 01.

Installation

pip install w1_py_parse

Usage

from w1_py_parse import W1Parser

parser = W1Parser()
# Parse all schemas (default)
parser.parse_file("path/to/data.dat")

# Parse specific schemas by name or ID
# parser.parse_file("path/to/data.dat", schemas=["DAROOT"])

print(parser.records)

Credits

Made almost entirely with Google DeepMind's Gemini 3 Pro.

This project serves as a demonstration of the capabilities of advanced AI in software development.

Publishing to PyPI

To publish this package to PyPI, run the following commands:

# Clean up previous builds
rm -rf dist/*

# Build the package
python3 setup.py sdist bdist_wheel

# Upload to PyPI
twine upload dist/*

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

w1_py_parse-0.2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

w1_py_parse-0.2.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file w1_py_parse-0.2.0.tar.gz.

File metadata

  • Download URL: w1_py_parse-0.2.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for w1_py_parse-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cd21317ae793f7fad375088b65b8f824877a48118bdf2073b142374dc6d5a2fb
MD5 a237ad9a1e25f44772137440cd6acb54
BLAKE2b-256 3c12f03576e536b59eb1129f45ebbb0d86ee60441fee86db036a0034e8325c09

See more details on using hashes here.

File details

Details for the file w1_py_parse-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: w1_py_parse-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for w1_py_parse-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e8737537f3f25f98d174d60c543b8ea4ffd19bba5deaa2272fdc47fe5a560d2
MD5 58c89e3cfea54379dd61aec11049ced1
BLAKE2b-256 ea96eab43e06465191e61713364a0ccaf5345aa86106ecec9e7350d2580ec631

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