update_toml


Nameupdate_toml JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
SummaryUpdate a toml value from a CLI
upload_time2024-05-15 23:49:00
maintainerNone
docs_urlNone
authorJake Cyr
requires_python>=3.8
licenseMIT
keywords toml requirements update
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Update TOML

Simple CLI to update a value in a TOML file.

## Installation

Install with pip:

```bash
pip install update-toml
```

## Usage

### Update

Run the following command, passing in a path and value to update in the specified .toml file:

```bash
update-toml --path project.version --value 0.0.1 --file pyproject.toml
```

### Get

Get a value from a .toml file:

```bash
update-toml --path project.version --file pyproject.toml
# Example return: 0.0.1
```

### Exists

Check if a path exists in a .toml file:

```bash
update-toml --path project.version --file pyproject.toml
# Example return: True or False
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "update_toml",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "toml, requirements, update",
    "author": "Jake Cyr",
    "author_email": "cyrjake@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/89/fa/4238c64177886003312a61a5deda93876a1cb023c6efe1ee204573209ad1/update_toml-0.2.1.tar.gz",
    "platform": null,
    "description": "# Update TOML\n\nSimple CLI to update a value in a TOML file.\n\n## Installation\n\nInstall with pip:\n\n```bash\npip install update-toml\n```\n\n## Usage\n\n### Update\n\nRun the following command, passing in a path and value to update in the specified .toml file:\n\n```bash\nupdate-toml --path project.version --value 0.0.1 --file pyproject.toml\n```\n\n### Get\n\nGet a value from a .toml file:\n\n```bash\nupdate-toml --path project.version --file pyproject.toml\n# Example return: 0.0.1\n```\n\n### Exists\n\nCheck if a path exists in a .toml file:\n\n```bash\nupdate-toml --path project.version --file pyproject.toml\n# Example return: True or False\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Update a toml value from a CLI",
    "version": "0.2.1",
    "project_urls": null,
    "split_keywords": [
        "toml",
        " requirements",
        " update"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7394d4dd5609d95c83d85b18b79121dd834a86a2e1b57d63d9b3d5388143c4cb",
                "md5": "440940467ef905448867e4849decb034",
                "sha256": "90d5d9d2efbe2f273328ec78394912c33c0f741dc3b0ae744cfc4ddbe27051f7"
            },
            "downloads": -1,
            "filename": "update_toml-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "440940467ef905448867e4849decb034",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4755,
            "upload_time": "2024-05-15T23:48:58",
            "upload_time_iso_8601": "2024-05-15T23:48:58.817322Z",
            "url": "https://files.pythonhosted.org/packages/73/94/d4dd5609d95c83d85b18b79121dd834a86a2e1b57d63d9b3d5388143c4cb/update_toml-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "89fa4238c64177886003312a61a5deda93876a1cb023c6efe1ee204573209ad1",
                "md5": "8a285328bb0c6e257369e9570bbe5707",
                "sha256": "92870b2ef8591eeffa32df674d9b4c4fce59a428f65063e138dee253bdb5d372"
            },
            "downloads": -1,
            "filename": "update_toml-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8a285328bb0c6e257369e9570bbe5707",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3095,
            "upload_time": "2024-05-15T23:49:00",
            "upload_time_iso_8601": "2024-05-15T23:49:00.323561Z",
            "url": "https://files.pythonhosted.org/packages/89/fa/4238c64177886003312a61a5deda93876a1cb023c6efe1ee204573209ad1/update_toml-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-15 23:49:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "update_toml"
}
        
Elapsed time: 0.32937s