Skip to main content

A python toml decoder and encoder

Project description

https://img.shields.io/pypi/v/atoml.svg https://travis-ci.org/frostming/atoml.svg?branch=master https://coveralls.io/repos/github/frostming/atoml/badge.svg?branch=master

This library is a Python implementation of TOML and conforms v0.4.0 specs. This library runs on Python 2.7 and 3.5+.

The name comes from the famous Japanese cartoon character 鉄腕アトム(Atom)


Installation

$ pip install atoml

Usage

The interface is the same as Python’s built-in json library:

  1. Use loads to read from a string object, load to read from a file object

  2. Use dumps to convert a string object to TOML string, dump to write into a file passed as second argument.

License

BSD2 License

Run Tests

This library passes all the tests in toml-test, to run it, update the submodule first:

$ git submodule init
$ git submodule update

Then, install pytest and run pytest in project root.

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

atoml-0.3.0.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

atoml-0.3.0-py2.py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 2 Python 3

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