Support multiple formats with ease
Project description
Installation via PIP:
pip install --pre formats
Quick usage overview:
>>> import formats >>> formats.discover() >>> text = ''' ... awesome_things: ... - dodos ... - pythons ... ''' >>> formats.parse('yaml', text) {'awesome_things': ['dodos', 'pythons']} >>> formats.convert('yaml', 'json', text) '{"awesome_things": ["dodos", "pythons"]}'
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
formats-0.1.0a3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for formats-0.1.0a3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 669b95c3b93919fa14f264a61f0d46dea06656f815c766dff5781c87be1cbb29 |
|
MD5 | 63af31e4e39441db2a9376fa38a7dbb6 |
|
BLAKE2b-256 | 697b17e071de0467493248343518a16778596980b08bb0b48896939d24a8745a |