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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size formats-0.1.1-py2.py3-none-any.whl (6.2 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size formats-0.1.1.tar.gz (3.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for formats-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11365d57f267e1bc83776b6eb75635604ef2ba2f5f7a707263d626b81feb98fe |
|
MD5 | f4008a68c93c036e649ece0386296048 |
|
BLAKE2-256 | 52a511c3f7c761c12cde79e97718b3297173f960b899fd6110629d370d23f6ff |