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.1.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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: w1_py_parse-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bb840590fc95b2b0a1ea8d6a2f15801ecc57c7ffe0cfdd87d660df1a555ce493
MD5 0803c76522c453192e05e0e4aaee8422
BLAKE2b-256 87bedc8aede1effe54fa203db899be09c4d6af45a68e9371c9a79203256e6caa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: w1_py_parse-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9ab5806be494e394efeb45817f409b312fc24ee06c11ea5882abfafd3446cfb
MD5 13a886654acec953be6dec1c85cf5394
BLAKE2b-256 02ef21ee7c09399538f3b082a55939a5fc6fa0ec4e5b6386fe5dc0eb2c3494e1

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