Update TOML
Simple CLI to update a value in a TOML file.
Installation
Install with pip:
pip install update-toml
Usage
Update
Run the following command, passing in a path and value to update in the specified .toml file:
update-toml --path project.version --value 0.0.1 --file pyproject.toml
Get
Get a value from a .toml file:
update-toml --path project.version --file pyproject.toml
# Example return: 0.0.1
Exists
Check if a path exists in a .toml file:
update-toml --path project.version --file pyproject.toml
# Example return: True or False
Metadata
Release files for update_toml 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| update_toml-0.2.1.tar.gz | 3.1 kB | Without provenance | Details for update_toml-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| update_toml-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for update_toml-0.2.1-py3-none-any.whl |
Total release size: 7.8 kB
Release files / update_toml-0.2.1.tar.gz
| Download URL | update_toml-0.2.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92870b2ef8591eeffa32df674d9b4c4fce59a428f65063e138dee253bdb5d372
|
|
BLAKE2b-256 checksum How to use checksums |
89fa4238c64177886003312a61a5deda93876a1cb023c6efe1ee204573209ad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
|
Release files / update_toml-0.2.1-py3-none-any.whl
| Download URL | update_toml-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90d5d9d2efbe2f273328ec78394912c33c0f741dc3b0ae744cfc4ddbe27051f7
|
|
BLAKE2b-256 checksum How to use checksums |
7394d4dd5609d95c83d85b18b79121dd834a86a2e1b57d63d9b3d5388143c4cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
|
Security for update_toml 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.