Skip to main content
Help us improve Python packaging – donate today!

Support multiple formats with ease

Project Description

Version License

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"]}'

Release history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

History Node

0.1.0a3

History Node

0.1.0a2

History Node

0.1.0a1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
formats-0.1.1-py2.py3-none-any.whl (6.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 11, 2015
formats-0.1.1.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Feb 11, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page