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)
Installation
$ pip install atoml
Usage
The interface is the same as Python’s built-in json library:
- Use loads to read from a string object, load to read from a file object
- 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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
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 |
Close
Hashes for atoml-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4be6fb73015d8845395b8c1bf1f3070e621a3e90dbc81e7088b08b8b5592ab04 |
|
MD5 | 96b2a01d1b32842f06f7efc2d06ba6fc |
|
BLAKE2-256 | e390671431de879890569a0351d7c2fe8efde0b28ac74b7a36093729428999dc |