Name | jsondatasave JSON |
Version |
1.4
JSON |
| download |
home_page | |
Summary | Facilitating the process to store JSON data |
upload_time | 2023-08-31 22:11:07 |
maintainer | |
docs_url | None |
author | YourAverageDev |
requires_python | |
license | MIT |
keywords |
python
json
data storage
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
---
`jsondatasave` Documentation
## Introduction
`jsondatasave` is a simple Python library that facilitates the process of storing and retrieving JSON data. It provides an intuitive interface to read and write JSON data to and from files.
## Installation
To install `jsondatasave`, you can use `pip`:
```
pip install jsondatasave
```
## Features
- Simple JSON data reading and writing.
- Minimalistic API with just two main functions: `load` and `save`.
## Functions
### `load(FileName)`
This function reads a JSON file and returns its content as a Python dictionary.
**Parameters**:
- `FileName` (`str`): The path to the JSON file that you wish to read.
**Returns**:
- `dict`: The content of the JSON file as a Python dictionary.
**Example**:
```python
data = load("sample.json")
print(data)
```
### `save(Data, Filename)`
This function writes a Python dictionary to a JSON file.
**Parameters**:
- `Data` (`dict`): The Python dictionary that you wish to save to a file.
- `Filename` (`str`): The path to the file where the data should be saved.
**Returns**:
- `dict`: The same Python dictionary that was provided as input.
**Example**:
```python
data = {"name": "John", "age": 30}
save(data, "output.json")
```
## Dependencies
Currently, there are no external dependencies for this library. The comment in `setup.py` regarding 'hashl' is not related to the provided functions.
## License
`jsondatasave` is licensed under the MIT license.
## Author
Created by YourAverageDev.
---
Raw data
{
"_id": null,
"home_page": "",
"name": "jsondatasave",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,JSON,Data Storage",
"author": "YourAverageDev",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/4c/04/6059bfcf26744d77029447b42f869dac2f1253017f3f3a337a3c20384e5d/jsondatasave-1.4.tar.gz",
"platform": null,
"description": "\n---\n\n`jsondatasave` Documentation\n\n## Introduction\n\n`jsondatasave` is a simple Python library that facilitates the process of storing and retrieving JSON data. It provides an intuitive interface to read and write JSON data to and from files.\n\n## Installation\n\nTo install `jsondatasave`, you can use `pip`:\n\n```\npip install jsondatasave\n```\n\n## Features\n\n- Simple JSON data reading and writing.\n- Minimalistic API with just two main functions: `load` and `save`.\n\n## Functions\n\n### `load(FileName)`\n\nThis function reads a JSON file and returns its content as a Python dictionary.\n\n**Parameters**:\n- `FileName` (`str`): The path to the JSON file that you wish to read.\n\n**Returns**:\n- `dict`: The content of the JSON file as a Python dictionary.\n\n**Example**:\n\n```python\ndata = load(\"sample.json\")\nprint(data)\n```\n\n### `save(Data, Filename)`\n\nThis function writes a Python dictionary to a JSON file.\n\n**Parameters**:\n- `Data` (`dict`): The Python dictionary that you wish to save to a file.\n- `Filename` (`str`): The path to the file where the data should be saved.\n\n**Returns**:\n- `dict`: The same Python dictionary that was provided as input.\n\n**Example**:\n\n```python\ndata = {\"name\": \"John\", \"age\": 30}\nsave(data, \"output.json\")\n```\n\n## Dependencies\n\nCurrently, there are no external dependencies for this library. The comment in `setup.py` regarding 'hashl' is not related to the provided functions.\n\n## License\n\n`jsondatasave` is licensed under the MIT license.\n\n## Author\n\nCreated by YourAverageDev.\n\n---\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Facilitating the process to store JSON data",
"version": "1.4",
"project_urls": null,
"split_keywords": [
"python",
"json",
"data storage"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51fdd72de5ccd8ac03ec1e9f2cfcd7e8dc17cb4a15031bc696eb6d2aa90a73e6",
"md5": "80435390d66f8967750fc047e441915c",
"sha256": "70a486b700b7a6693c448def50d10a94a446f03b8419972487f7c43fe6b190fc"
},
"downloads": -1,
"filename": "jsondatasave-1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "80435390d66f8967750fc047e441915c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2168,
"upload_time": "2023-08-31T22:11:05",
"upload_time_iso_8601": "2023-08-31T22:11:05.991925Z",
"url": "https://files.pythonhosted.org/packages/51/fd/d72de5ccd8ac03ec1e9f2cfcd7e8dc17cb4a15031bc696eb6d2aa90a73e6/jsondatasave-1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4c046059bfcf26744d77029447b42f869dac2f1253017f3f3a337a3c20384e5d",
"md5": "3c935423dcd090657ad4b17e410d677e",
"sha256": "b7ec11b66435316b9030d079020fa442d495e8ab642a4938e1d829d57805955f"
},
"downloads": -1,
"filename": "jsondatasave-1.4.tar.gz",
"has_sig": false,
"md5_digest": "3c935423dcd090657ad4b17e410d677e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2121,
"upload_time": "2023-08-31T22:11:07",
"upload_time_iso_8601": "2023-08-31T22:11:07.723463Z",
"url": "https://files.pythonhosted.org/packages/4c/04/6059bfcf26744d77029447b42f869dac2f1253017f3f3a337a3c20384e5d/jsondatasave-1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-31 22:11:07",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "jsondatasave"
}