Skip to main content

Quickly create json keys to store data

Project description

JSONreg

json reg is a python module to quickly create json keys to store data

Examples

Simple json key

main.py

import jsonreg
jsonreg.create("test.json","Test","This is test data")

test.json

{
    "name": "Test",
    "id": 408557195864,
    "data": "This is test data"
}

Json key in an external folder

main.py

import jsonreg
jsonreg.create("reg/test.json","Test","This is test data")

Note: The reg folder must exist and should look like this

.
├── main.py
└── reg

reg/test.json

{
    "name": "Test",
    "id": 408557195864,
    "data": "This is test data"
}

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

jsonreg-0.1.5.tar.gz (15.7 kB view hashes)

Uploaded Source

Built Distribution

jsonreg-0.1.5-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

Supported by

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