https://github.com/marksteve/toml-ply
TOML PLY parser
https://github.com/marksteve/toml-ply
Last synced: about 1 year ago
JSON representation
TOML PLY parser
- Host: GitHub
- URL: https://github.com/marksteve/toml-ply
- Owner: marksteve
- Created: 2013-02-25T03:47:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-04T09:43:52.000Z (over 13 years ago)
- Last Synced: 2025-04-14T00:16:27.166Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 143 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
========
toml-ply
========
TOML PLY parser. Still missing some restrictions and error handling but mostly works :)
Supports (supposedly)
-------
https://github.com/mojombo/toml/commit/3f4224ecdc4a65fdd28b4fb70d46f4c0bd3700aa
Use
---
.. code-block:: python
import toml_ply as toml
with open('config.toml') as f:
pprint(toml.loads(f.read()), indent=2)
License
-------
http://marksteve.mit-license.org