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 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
Release history Release notifications | RSS feed
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-1.0.tar.gz
(3.7 kB
view details)
File details
Details for the file prototxt_parser-1.0.tar.gz.
File metadata
- Download URL: prototxt_parser-1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adc568acebe3870fb58e8297fc4ee5964a12358ba12b906f303ad649e956795b
|
|
| MD5 |
86aa4305938b6be5653a3c25e88fec8c
|
|
| BLAKE2b-256 |
bcd3bdd0901ba575e7119109540e6f0a2edd7692eff391e51d2005554aaa9a71
|