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.3.tar.gz (9.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.2.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: w1_py_parse-0.2.3.tar.gz
  • Upload date:
  • Size: 9.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.2.3.tar.gz
Algorithm Hash digest
SHA256 fedd2f21a4e4018ac667691a1d57d3719a46e560a0667c9d228b222bc92ceb32
MD5 1e654029201cdffdd1bc73801745427b
BLAKE2b-256 19444a2d2acb980f4a3fed21d119fed87f1f3d64dc6a0a8a43fa41bff13937e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: w1_py_parse-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 353e89cebd4f78d774a5aff2c2716e6826709b5cb413e6d8e439052cb6967cb8
MD5 ccb006f9e8d535fddf860e7556dfb748
BLAKE2b-256 aa85751032f8cc71cab1e329c3e13888fc668ce0489f29f88ccc22405882c9ad

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