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.4.0.tar.gz (5.9 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.4.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file toml_cli-0.4.0.tar.gz.

File metadata

  • Download URL: toml_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure

File hashes

Hashes for toml_cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5009a5a41d258a786d4e5a47bafcdabea93257b6b67b96656027e8cf8e6490a8
MD5 9229639c4c84d9cd00783e1011a0493a
BLAKE2b-256 db8dfce5ef6c0eaa0e07d818c3b70f1a85b338849170e3e3cf71b7cdee38378b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toml_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure

File hashes

Hashes for toml_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c98b38843b19dad13bd00e1fe0a36cee3b40fdc681f60fcf3988cb05ca9303c0
MD5 135568a996223d58ae86cb5fcde2090c
BLAKE2b-256 da47e3d60dfa09738005ab04a2cb03894df9e64812cd21aae3ada1d406ca84d6

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