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.1.3.tar.gz (8.0 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.1.3-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: w1_py_parse-0.1.3.tar.gz
  • Upload date:
  • Size: 8.0 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.1.3.tar.gz
Algorithm Hash digest
SHA256 3dfdf0f42c2f39603871d18b38f77402702c62a3fd50dd9858052dcf371f2d11
MD5 f171d5448b1c4642aee7459bf3602b2d
BLAKE2b-256 6d76752abbe40f3ec19b7634887471f6985bd1a4b5caa651f1c53ef8f3244780

See more details on using hashes here.

File details

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

File metadata

  • Download URL: w1_py_parse-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b64d881c0c24367024c5ca4e636c890edc1881078e2ec07e79630acef70e9ca8
MD5 9ddda7d21fa54bfc2110a6ee0bf9e91b
BLAKE2b-256 d3c07ccd666d52556a14c601003b14331cd5c986159cac52c7b91f64af680f04

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