Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A python toml decoder and encoder

Project description

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


Release history Release notifications

This version
History Node

0.3.0

History Node

0.2.0.post0

History Node

0.2.0

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 CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page