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 [database] url = "postgresql://localhost/sample" [web] debug = true $ subtoml database.url 'postgresql://localhost/test' < sample.toml [database] url = "postgresql://localhost/test" [web] debug = true
Please read subtoml --help for more details.
Distributed under GPLv3 or later.
Changelog
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.0
Released on September 9, 2017. Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size subtoml-0.3.0-py2.py3-none-any.whl (4.6 kB) | File type Wheel | Python version 3.6 | Upload date | Hashes View |
Filename, size subtoml-0.3.0.tar.gz (3.1 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for subtoml-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d411d4da4e41ad351cb4af8de84de675655ce8aeca5f5ca28eaa990264913b |
|
MD5 | c0c3b9198a2d53238bf1048673cea71d |
|
BLAKE2-256 | 5312c6b25e703e9dafaa58a597b2edc3d8dcabb6311ac0666484e84a74bc0e50 |