Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Sed for TOML: subtitute parts of a TOML file

Project Description

subtoml is a small CLI utility that substitutes parts of a TOML file.

$ cat sample.toml
url = "postgresql://localhost/sample"
debug = true
$ subtoml database.url 'postgresql://localhost/test' < sample.toml
url = "postgresql://localhost/test"
debug = true

Please read subtoml --help for more details.

Distributed under GPLv3 or later.


Version 0.3.0

Released on August 29, 2017.

  • Added -d/--delete/--delete-key option.
  • Added --version option.

Version 0.2.0

Released on July 7, 2017.

  • Added -i/--input-file option.
  • Added -o/--output-file option.

Version 0.1.1

Released on April 17, 2017.

  • Fixed TypeError with the recent versions of pytoml.

Version 0.1.0

Released on September 9, 2017. Initial release.

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.6 kB) Copy SHA256 Hash SHA256
Wheel 3.6 Aug 28, 2017
(3.1 kB) Copy SHA256 Hash SHA256
Source None Aug 28, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers