Skip to main content

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

Project details


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.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

formats-0.1.1-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file formats-0.1.1.tar.gz.

File metadata

  • Download URL: formats-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for formats-0.1.1.tar.gz
Algorithm Hash digest
SHA256 feb7e3d268d7a4182872f739f7a1af833032c624ddd3121741c47ac37b94385d
MD5 db646b5a7b846994b286a4c1941f3b80
BLAKE2b-256 a6ed077153f3dd959881329c4c1c6a0a73d37d37b5bd193a37e2f8186a7375a9

See more details on using hashes here.

File details

Details for the file formats-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for formats-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 11365d57f267e1bc83776b6eb75635604ef2ba2f5f7a707263d626b81feb98fe
MD5 f4008a68c93c036e649ece0386296048
BLAKE2b-256 52a511c3f7c761c12cde79e97718b3297173f960b899fd6110629d370d23f6ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page