Toml sorting library
Project description
toml-sort
A command line utility to sort your toml files. Requires Python 3.6 or greater.
Installation
pip install toml-sort
Usage
Read from stdin, write to stdout:
cat input.toml | toml-sort -
Read from file on disk, write to file on disk:
toml-sort -o output.toml input.toml
Read from file on disk, write to stdout
toml-sort input.toml
Read from stdin, write to file on disk
cat input.toml | toml-sort -o output.toml -
Local Development
This project is super simple.
Dependencies
Install the following tools manually.
Recommended
Set up development environment
make setup
Run Tests
make test
Written by
Samuel Roeca samuel.roeca@gmail.com
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.
Source Distribution
toml-sort-0.2.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for toml_sort-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb9e348edb153cdf9b17d79f5937de22f0b6a12518341f3eb51cdd9e3452f28 |
|
MD5 | b4ba63420e3510218676044fb235b0d9 |
|
BLAKE2b-256 | f5dd9dcd3c6c3d1894c611dbf579b709281acb7f6aa05ab32bee9b45f49df8dc |