Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A python toml decoder and encoder

Project description

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)


$ pip install atoml


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.


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
atoml-0.3.0-py2.py3-none-any.whl (9.6 kB) Copy SHA256 hash SHA256 Wheel 3.6 Mar 26, 2018
atoml-0.3.0.tar.gz (8.9 kB) Copy SHA256 hash SHA256 Source None Mar 26, 2018

Supported by

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