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.2.tar.gz (9.7 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.2-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: w1_py_parse-0.2.2.tar.gz
  • Upload date:
  • Size: 9.7 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.2.tar.gz
Algorithm Hash digest
SHA256 bb1974a541256b1e4d5125562cd4df9db26b7d72aa4917aaf87ec7a447ab6f3c
MD5 092ac8e5b2e9000333909f0478e68b88
BLAKE2b-256 da6f3ac6ba394d4af8ad7b5b8c7f022a46e5da9ad87bba171b1f007d7825a1be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: w1_py_parse-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 13.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f44645f7d4d8fe0ab04bccbb1600c0b76c30bb70b539e2aecfef6a5962b311dd
MD5 14deb9816ef6a95dac80b70ef82f6f65
BLAKE2b-256 2f29ea2ddfc8ca360a634538b9d03c1e7772ca63501aea8582cc3ca9139497cd

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