Skip to main content

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.

Files for atoml, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size atoml-0.3.0-py2.py3-none-any.whl (9.6 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size atoml-0.3.0.tar.gz (8.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page