Skip to main content

Command line interface to read and write keys/values to/from toml files

Project description

tom-cli

Build Hits

Command line interface for toml files.

This can be usefull for getting or setting parts of a toml file without an editor. Which can be convinient when values have to be read by a script for example in continuous development steps.

Install

pip install toml-cli

Get a value

toml get --toml-path pyproject.toml tool.poetry.name

Set a value

toml set --toml-path pyproject.toml tool.poetry.version 0.2.0

Add a section

toml add_section --toml-path pyproject.toml tool.poetry.new_section

Unset a value

toml unset --toml-path pyproject.toml tool.poetry.version

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-cli-0.3.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toml_cli-0.3.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file toml-cli-0.3.1.tar.gz.

File metadata

  • Download URL: toml-cli-0.3.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-1022-azure

File hashes

Hashes for toml-cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6f1d92a15d8bdab0423682b4ca13e694a320d1fb117a5a285c0f28ac4d668e91
MD5 be49804e91d6084494b8f157aacd01b4
BLAKE2b-256 0537187fdfbcc45997cf69d2552e8387a8d3cfb2ad3cbd1e01e6a29be5a6b62d

See more details on using hashes here.

File details

Details for the file toml_cli-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: toml_cli-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-1022-azure

File hashes

Hashes for toml_cli-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca062222d09deef1a92fa8ef464816e7a643206a77fcf48a6696d9174d48966
MD5 9d1c9c6d5385f36e5b88ea6f0eed576f
BLAKE2b-256 803d15ed9341ffe704543f63f02289491e9d3c942cab246a07eb101a659fb421

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page