Skip to main content

prototxt-parser allows to parse *.prototxt files to python dict objects

Project description

prototxt-parser

prototxt-parser allows to parse *.prototxt files to python dict objects

Usage:

From command line from this repo:

$ python3 prototxt_parser_main.py prototxt_file

Alternatively can use pip as well to get the package:

pip3 install --extra-index-url https://testpypi.python.org/pypi prototxt-parser

To run, from python:

input_string = ... # the prototxt string to be parsed e.g., open("some_prototxt_file").read()
from prototxt_parser.prototxt import parse
parsed_dict = parse(input_string)

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

prototxt_parser-0.1.6.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page