Skip to main content

Utilities for working with toml files

Project description

bhdg-toml

Some utilities for working with toml files.

Usage

To convert toml to json:

$ toml2json < pyproject.toml > pyproject.json
$ toml2json pyproject.toml > pyproject.json
$ toml2json pyproject.toml - > pyproject.json
$ toml2json pyproject.toml pyproject.json
$ cat pyproject.toml | toml2json
$ cat pyproject.toml | toml2json -

To convert json to toml:

$ json2toml < pyproject.json
$ json2toml pyproject.json
$ cat pyproject.toml | json2toml
$ cat pyproject.toml | json2toml -

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetblack-tomlutils-0.1.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

jetblack_tomlutils-0.1.0-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page