remarshal-project / remarshal

Convert between CBOR, JSON, MessagePack, TOML, and YAML

Home Page:https://pypi.org/project/remarshal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch to another TOML package

mischkl opened this issue · comments

The pytoml package that is currently used is deprecated; the recommended replacement is the toml package. I believe that also implements indentation and the newest version of TOML, thus resolving #10 and #15.

I plan on switching away from pytoml. A few months ago I evaluated the toml package and found it unsuitable due to uiri/toml#201 and other issues. I also didn't like that the serializer produced trailing whitespace. I am waiting for another TOML package to mature. The current candidates are:

I'll keep this issue open but change the title to more general.

and the winner is ?

@bealdav None so far. qtoml does not support Python 2 and TOML Kit has a blocking issue (python-poetry/tomlkit#93).

I've switched to TOML Kit in the master branch. Now remarshal supports TOML v1.0.0-rc1. Please check if you have any problems with it. If not, I'll release a new version soon.