{ "info": { "author": "ShuFeng Ying", "author_email": "me@yingsf.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: Chinese (Simplified)", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Unix", "Programming Language :: Python :: 3 :: Only" ], "description": "## PIDB\n\n[![License](https://img.shields.io/badge/License-MIT-red.svg)]()\n[![OS](https://img.shields.io/badge/OS-MacOS%2C%20Linux-brightgreen.svg)]()\n[![Python](https://img.shields.io/badge/Python-3.6.5-blue.svg)]()\n[![Pypi](https://img.shields.io/pypi/wheel/Django.svg)]()\n[![version](https://img.shields.io/badge/Version-0.0.1-yellow.svg)]()\n\nPython3.6, JSON, Unqlite-python. Store personal private information in josn format.\n\nData is encrypted by RSA.\n\n### Install\n\n```bash\npip install pidb\n```\n\n### Example Usage\n\n```python\n>>> import pidb\n>>> pidb.connect('./demo.db', 'mypassword') \n>>> \n>>> \n>>> pidb.Collection('demo').insert('first_record', {\"key1\": [\"value1\", \"value2\"], \"key2\": {\"son_key1\": \"son_value1\"}})\n{'Sucess': 'db record_id is: 0'}\n>>> \n>>> \n>>> pidb.Collection('demo').find_by_id()\n{'0': {'key1': ['value1', 'value2'], 'key2': {'son_key1': 'son_value1'}}}\n>>> \n>>> \n>>> >>> pidb.Collection('demo').find_by_id(0)\n{'0': {'key1': ['value1', 'value2'], 'key2': {'son_key1': 'son_value1'}}}\n>>> \n>>> \n>>> pidb.Collection('demo').find_by_title('first_record')\n{'0': {'key1': ['value1', 'value2'], 'key2': {'son_key1': 'son_value1'}}}\n>>> \n>>> \n>>> pidb.Collection('demo').update('first_record', {\"key2\": {\"new_son_key1\": \"values\"}}, 'update_kv')\n{'Sucess': 'update 1 record'}\n>>> \n>>> \n>>> pidb.Collection('demo').find_by_title('first_record')\n{'0': {'key1': 'value1', 'key2': {'new_son_key1': 'values'}}}\n>>> \n>>> \n>>> pidb.Collection('demo').update('first_record', {\"new_dict\": \"new_dict_value\"}, 'update_all')\n{'Sucess': 'update 1 record'}\n>>>\n>>>\n>>> pidb.Collection('demo').find_by_title('first_record')\n{'0': {'new_dict': 'new_dict_value'}}\n```\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/yingsf//tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yingsf/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pidb", "package_url": "https://pypi.org/project/pidb/", "platform": "MacOS", "project_url": "https://pypi.org/project/pidb/", "project_urls": { "Download": "https://github.com/yingsf//tarball/master", "Homepage": "https://github.com/yingsf/" }, "release_url": "https://pypi.org/project/pidb/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Store personal private information in josn format over UnQLite.", "version": "0.0.2" }, "last_serial": 4081050, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "e44b06bd4e6df76067cac743a494c187", "sha256": "e18456dcd9049d4e73904edb14167e626a16e419e24f85b7737380db7d69e46c" }, "downloads": -1, "filename": "pidb-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e44b06bd4e6df76067cac743a494c187", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6453, "upload_time": "2018-07-19T08:14:04", "url": "https://files.pythonhosted.org/packages/f5/81/db03e2504ef4213c5b4430536ab6da3d18eac0d54046ff6848db2f23a03f/pidb-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d0363f3abacc9e542486c05cc4dd696f", "sha256": "e5aed0e558ac496e61fecf11d5ffdd725ccd9f803cdf206181e921c03e4568c2" }, "downloads": -1, "filename": "pidb-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d0363f3abacc9e542486c05cc4dd696f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8059, "upload_time": "2018-07-19T08:14:02", "url": "https://files.pythonhosted.org/packages/5f/c4/465819bd60faa56e0552f1b5d326e95ff99302eb8bbe75c682a0a813960a/pidb-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e44b06bd4e6df76067cac743a494c187", "sha256": "e18456dcd9049d4e73904edb14167e626a16e419e24f85b7737380db7d69e46c" }, "downloads": -1, "filename": "pidb-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e44b06bd4e6df76067cac743a494c187", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6453, "upload_time": "2018-07-19T08:14:04", "url": "https://files.pythonhosted.org/packages/f5/81/db03e2504ef4213c5b4430536ab6da3d18eac0d54046ff6848db2f23a03f/pidb-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d0363f3abacc9e542486c05cc4dd696f", "sha256": "e5aed0e558ac496e61fecf11d5ffdd725ccd9f803cdf206181e921c03e4568c2" }, "downloads": -1, "filename": "pidb-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d0363f3abacc9e542486c05cc4dd696f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8059, "upload_time": "2018-07-19T08:14:02", "url": "https://files.pythonhosted.org/packages/5f/c4/465819bd60faa56e0552f1b5d326e95ff99302eb8bbe75c682a0a813960a/pidb-0.0.2.tar.gz" } ] }