#Use for
This project allows user to define json structure for creating sqlite3
database as defined in the json file.
#Use the following code
import os
from src.main import main
def generator():
To generate the schema for us
sr = input('Enter your source of json file> ')
dis = input('Enter your destination for .db file> ')
main(sr, dis)
if __name__ == '__main__':
generator()
# make sure
that the json structure is same as the given structure.
Have following project structure
your project
|
|json_folder
|
|json_files
main.py
Raw data
{
"_id": null,
"home_page": "",
"name": "db-generator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,database,json configuration for database,json,sqlite3,mobile database",
"author": "Ganesh Yatesh Joshi",
"author_email": "ganesh.22110724@viit.ac.in",
"download_url": "https://files.pythonhosted.org/packages/3e/26/cca4a70bc2c847336a9f75211ba8fbb6222c7ea6b382d73a47b7f857e929/db_generator-1.0.4.tar.gz",
"platform": null,
"description": "\r\n\r\n#Use for\r\n\r\nThis project allows user to define json structure for creating sqlite3 \r\ndatabase as defined in the json file.\r\n\r\n#Use the following code\r\n\r\n\r\nimport os\r\nfrom src.main import main\r\n\r\ndef generator():\r\n To generate the schema for us\r\n sr = input('Enter your source of json file> ')\r\n dis = input('Enter your destination for .db file> ')\r\n main(sr, dis)\r\n\r\nif __name__ == '__main__':\r\n generator()\r\n\r\n# make sure\r\n\r\nthat the json structure is same as the given structure.\r\nHave following project structure\r\n\r\nyour project\r\n |\r\n |json_folder\r\n |\r\n |json_files\r\n main.py \r\n\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A package which will create sqlite3 database code by configuring them in json file",
"version": "1.0.4",
"split_keywords": [
"python",
"database",
"json configuration for database",
"json",
"sqlite3",
"mobile database"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4845b60d0975f9bc749ebbc0c5462d330b7895eeb7074ab8a8f674335deeb6b7",
"md5": "850b4a3d1183149179944776e08918ac",
"sha256": "efe506a0e1b5620244ec73a442c0d025f8f0aa0bd23deac043174a182073b41a"
},
"downloads": -1,
"filename": "db_generator-1.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "850b4a3d1183149179944776e08918ac",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2991,
"upload_time": "2023-04-04T07:52:40",
"upload_time_iso_8601": "2023-04-04T07:52:40.077088Z",
"url": "https://files.pythonhosted.org/packages/48/45/b60d0975f9bc749ebbc0c5462d330b7895eeb7074ab8a8f674335deeb6b7/db_generator-1.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3e26cca4a70bc2c847336a9f75211ba8fbb6222c7ea6b382d73a47b7f857e929",
"md5": "7ce63121eaafc5c077ffb63289b854be",
"sha256": "4177a3e16036c40b6454a7af426a122bfdd95b73d3036d980621f8819e5cad20"
},
"downloads": -1,
"filename": "db_generator-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "7ce63121eaafc5c077ffb63289b854be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2728,
"upload_time": "2023-04-04T07:52:42",
"upload_time_iso_8601": "2023-04-04T07:52:42.462311Z",
"url": "https://files.pythonhosted.org/packages/3e/26/cca4a70bc2c847336a9f75211ba8fbb6222c7ea6b382d73a47b7f857e929/db_generator-1.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-04 07:52:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "db-generator"
}