Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

pyparser is a collection of classes to make it easier to parse text data in a pythonic way.

Project description

PyParser is a simple library that makes it easier to parse files. I wrote it when I needed to parse a ton of string output and files, and got very tired of writing stuff like the following

data = {}

for line in output:

line = line.strip()

if not ‘:’ in line:
continue

key, value = line.split(‘:’, 1) data[key] = value

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyparser, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyparser-0.2.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page