Name | crudtoml JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | Perform CRUD operations on TOML files. |
upload_time | 2024-03-20 16:44:14 |
maintainer | None |
docs_url | None |
author | None |
requires_python | ~=3.10 |
license | None |
keywords |
toml
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# [crudtoml](https://github.com/Edward-Knight/crudtoml)
[![PyPI - Status](https://img.shields.io/pypi/status/crudtoml)](https://pypi.org/project/crudtoml/)
[![PyPI - License](https://img.shields.io/pypi/l/crudtoml)](https://pypi.org/project/crudtoml/)
[![PyPI - Latest Project Version](https://img.shields.io/pypi/v/crudtoml)](https://pypi.org/project/crudtoml/)
Perform CRUD operations on TOML files.
## Features
* Style-preserving edits
* Supports indexing into arrays
* Write back to input file with `-i`
* "Shell-compatible" output à la `jq` with `-r`
## Examples
```shell
$ echo -e '[project]\nname = "crudtoml"' | tee test.toml
[project]
name = "crudtoml"
```
### Create!
```shell
$ crudtoml test.toml create project dob 2023-05-23
[project]
name = "crudtoml"
dob = 2023-06-23
```
### Read!
```shell
$ crudtoml test.toml read project name
"crudtoml"
```
### Update!
```shell
$ crudtoml test.toml update project name '"crudini"'
[project]
name = "crudini"
```
### Delete!
```shell
$ crudtoml test.toml delete project name
[project]
```
Raw data
{
"_id": null,
"home_page": null,
"name": "crudtoml",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.10",
"maintainer_email": null,
"keywords": "TOML",
"author": null,
"author_email": "Edward Knight <edw@rdknig.ht>",
"download_url": "https://files.pythonhosted.org/packages/60/d6/55d0ddc27154ab62aa23730bff3a6733439387f17527aa48ded2c3b5d449/crudtoml-0.1.1.tar.gz",
"platform": null,
"description": "# [crudtoml](https://github.com/Edward-Knight/crudtoml)\n\n[![PyPI - Status](https://img.shields.io/pypi/status/crudtoml)](https://pypi.org/project/crudtoml/)\n[![PyPI - License](https://img.shields.io/pypi/l/crudtoml)](https://pypi.org/project/crudtoml/)\n[![PyPI - Latest Project Version](https://img.shields.io/pypi/v/crudtoml)](https://pypi.org/project/crudtoml/)\n\nPerform CRUD operations on TOML files.\n\n\n## Features\n\n* Style-preserving edits\n* Supports indexing into arrays\n* Write back to input file with `-i`\n* \"Shell-compatible\" output \u00e0 la `jq` with `-r`\n\n\n## Examples\n\n```shell\n$ echo -e '[project]\\nname = \"crudtoml\"' | tee test.toml\n[project]\nname = \"crudtoml\"\n```\n\n### Create!\n\n```shell\n$ crudtoml test.toml create project dob 2023-05-23\n[project]\nname = \"crudtoml\"\ndob = 2023-06-23\n```\n\n### Read!\n\n```shell\n$ crudtoml test.toml read project name\n\"crudtoml\"\n```\n\n### Update!\n\n```shell\n$ crudtoml test.toml update project name '\"crudini\"'\n[project]\nname = \"crudini\"\n```\n\n### Delete!\n\n```shell\n$ crudtoml test.toml delete project name\n[project]\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Perform CRUD operations on TOML files.",
"version": "0.1.1",
"project_urls": {
"Home": "https://github.com/Edward-Knight/crudtoml"
},
"split_keywords": [
"toml"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "46f21c9c7946f549ca3c18c4f29d26cd0f6c9f4aca51a8dc9c5c174939b53d9c",
"md5": "fab62d0c724200f5081aa5349a7082c4",
"sha256": "2e1d6f2ebbf79cc816e73811f4954e02e521ced6d7023d484c81af84bdb86655"
},
"downloads": -1,
"filename": "crudtoml-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fab62d0c724200f5081aa5349a7082c4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.10",
"size": 5513,
"upload_time": "2024-03-20T16:44:12",
"upload_time_iso_8601": "2024-03-20T16:44:12.380223Z",
"url": "https://files.pythonhosted.org/packages/46/f2/1c9c7946f549ca3c18c4f29d26cd0f6c9f4aca51a8dc9c5c174939b53d9c/crudtoml-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "60d655d0ddc27154ab62aa23730bff3a6733439387f17527aa48ded2c3b5d449",
"md5": "2ddb4341104b79228aebb3d6d4a86ed6",
"sha256": "3504e56be9c33065671b0bcd2525f0ac68da02730087ba7dc275abfb759673b0"
},
"downloads": -1,
"filename": "crudtoml-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "2ddb4341104b79228aebb3d6d4a86ed6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.10",
"size": 4803,
"upload_time": "2024-03-20T16:44:14",
"upload_time_iso_8601": "2024-03-20T16:44:14.071467Z",
"url": "https://files.pythonhosted.org/packages/60/d6/55d0ddc27154ab62aa23730bff3a6733439387f17527aa48ded2c3b5d449/crudtoml-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-20 16:44:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Edward-Knight",
"github_project": "crudtoml",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "crudtoml"
}