Skip to main content

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


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.3.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

toml_sort-0.3.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file toml-sort-0.3.0.tar.gz.

File metadata

  • Download URL: toml-sort-0.3.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/4.15.0-55-generic

File hashes

Hashes for toml-sort-0.3.0.tar.gz
Algorithm Hash digest
SHA256 53fad5b19d156155f748a12e8bd458aef4213f8882a9a65c5614dbf3b8f02f51
MD5 b0eddd4af5dd2cfe4277ada6a70cf30e
BLAKE2b-256 12d43f270a4b44a53a809aac95fb0dc66450b5be5507b7008287eb96127843b5

See more details on using hashes here.

File details

Details for the file toml_sort-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: toml_sort-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/4.15.0-55-generic

File hashes

Hashes for toml_sort-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c8f4ff63cb197588f87a289ad2388c09e1e9c9d193f6d5ed000cb6f58fbe9e
MD5 6878c45daec362d53fafe30a11853d2c
BLAKE2b-256 4046d696d1935fcbd56fc398f19eee9c185c16ddf019b8b8f12f8fe9598c450e

See more details on using hashes here.

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