subtoml: Sed for TOML
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.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.
Metadata
Release files for subtoml 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| subtoml-0.3.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| subtoml-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 7.7 kB
Release files / subtoml-0.3.0.tar.gz
| Download URL | subtoml-0.3.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab4c656e246977a648410331c5c1bf4286d153949a4a977878d2e6c1567acfb0
|
|
BLAKE2b-256 checksum How to use checksums |
7b50a21b4825e3fcd5dd61c4a12f45bb07f044a78f45a8e4bd6eef75d9aabc2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / subtoml-0.3.0-py2.py3-none-any.whl
| Download URL | subtoml-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
59d411d4da4e41ad351cb4af8de84de675655ce8aeca5f5ca28eaa990264913b
|
|
BLAKE2b-256 checksum How to use checksums |
5312c6b25e703e9dafaa58a597b2edc3d8dcabb6311ac0666484e84a74bc0e50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |