{ "info": { "author": "Lirian Su", "author_email": "liriansu@gmail.com", "bugtrack_url": null, "classifiers": [], "description": ".. figure:: https://rawgit.com/hui-z/ForgiveDB/master/pics/logo.svg\n :alt: logo\n\n logo\n\n|Package| |Updates| |CI| |Coverage| |CodeHealth| |License| |README|\n\n- What if no one accept your PR ?\n- What if lib upgrade their dependency ?\n- What if you got a brand new requirement ?\n\n.. figure:: https://rawgit.com/hui-z/ForgiveDB/master/pics/forgive.jpg\n :alt: forgive\n\n forgive\n\n`lowdb `__ is JavaScript,\n`tinydb `__ is not\nthat tiny. `ForgiveDB `__ is your\ndestiny.\n\nForgiveDB is a small, independent database, supports in-memory or\njson-file storage.\n\nInstallation\n------------\n\nUse pip. Oh you should learn it.\n\n.. code:: python\n\n pip install forgive\n\nUsage\n-----\n\nCode is the best document. (Because we are not good at writing\ndocuments.)\n\n.. code:: python\n\n from forgive import ForgiveDB\n\n file_db = ForgiveDB('/some/path')\n # file_db = ForgiveDB(r'C:\\\\some\\\\path') # windows\n file_db.set('key', 'value')\n value = file_db.get('key')\n default_value = file_db.get('no-such-key', 'default-value')\n\n # Or in memory\n memory_db = ForgiveDB()\n memory_db.set(ForgiveDB, 'simple and interesting')\n memory_db.get(ForgiveDB) # simple and interesting\n\n.. |Package| image:: https://img.shields.io/pypi/v/forgive.svg\n :target: https://pypi.python.org/pypi/forgive\n.. |Updates| image:: https://pyup.io/repos/github/hui-z/ForgiveDB/shield.svg\n :target: https://pyup.io/repos/github/hui-z/ForgiveDB/\n.. |CI| image:: https://travis-ci.org/hui-z/ForgiveDB.svg?branch=master\n :target: https://travis-ci.org/hui-z/ForgiveDB\n.. |Coverage| image:: http://codecov.io/github/hui-z/ForgiveDB/coverage.svg?branch=master\n :target: http://codecov.io/github/hui-z/ForgiveDB?branch=master\n.. |CodeHealth| image:: https://landscape.io/github/hui-z/ForgiveDB/master/landscape.svg?style=flat\n :target: https://landscape.io/github/hui-z/ForgiveDB/master\n.. |License| image:: https://img.shields.io/github/license/hui-z/ForgiveDB.svg\n :target: https://github.com/hui-z/ForgiveDB/blob/master/LICENSE\n.. |README| image:: https://img.shields.io/badge/\u7b80\u4ecb-\u4e2d\u6587-brightgreen.svg\n :target: README.cn.md\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hui-z/ForgiveDB", "keywords": "", "license": "WTFPL", "maintainer": "", "maintainer_email": "", "name": "forgive", "package_url": "https://pypi.org/project/forgive/", "platform": "", "project_url": "https://pypi.org/project/forgive/", "project_urls": { "Homepage": "https://github.com/hui-z/ForgiveDB" }, "release_url": "https://pypi.org/project/forgive/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Coding should be simple and fun. Certainly I will choose ForgiveDB.", "version": "1.0.0" }, "last_serial": 3059489, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9b505957f16e0f22653b6ef14c824f02", "sha256": "19cb82827005df87be3b68195422a593e1e49d7d7ffe411309f19e8cff3cb409" }, "downloads": -1, "filename": "forgive-0.0.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "9b505957f16e0f22653b6ef14c824f02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1271, "upload_time": "2017-07-04T14:05:19", "url": "https://files.pythonhosted.org/packages/60/28/7ca729cdbce6dfc0b3c85c492a471e2727bbc9e271937ef581c5f286d1af/forgive-0.0.1.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "a433a4b7dac241a533afd510759af1f4", "sha256": "73b77321ab28109f7303c59452c9232fbd1627ca2a8c15fd9a7a615076c452a2" }, "downloads": -1, "filename": "forgive-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "a433a4b7dac241a533afd510759af1f4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2282, "upload_time": "2017-07-04T14:05:21", "url": "https://files.pythonhosted.org/packages/2e/7a/8b7cc5ddbfb6a96dd29174b566159f557a8936060678444755a328dc5079/forgive-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6c132bd9cc35177426fa9d06dc61c59", "sha256": "c607ec77cf1b6c7cd6e8be9ec5f3d85ad866e730c343e329dc63961d6801955e" }, "downloads": -1, "filename": "forgive-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d6c132bd9cc35177426fa9d06dc61c59", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2281, "upload_time": "2017-07-04T14:05:23", "url": "https://files.pythonhosted.org/packages/cd/f7/6b1e673946ac379eb6b942b8c6592a4684b585924bfa1df37882e242f972/forgive-0.0.1-py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "ea4cc6366a3fcb543894356c05c8dc55", "sha256": "7176604491690c4d4095a02deb4f8f159f2bd48fe91d609e19e0f48489037ddf" }, "downloads": -1, "filename": "forgive-1.0.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "ea4cc6366a3fcb543894356c05c8dc55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3244, "upload_time": "2017-07-30T16:02:33", "url": "https://files.pythonhosted.org/packages/0f/15/65c0f78a5368de786f6544d92ed6642ead5194cf4028cb7efc1831aa16a4/forgive-1.0.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "e6c3b2d5aa2ae0a4b7785d45d14b79d4", "sha256": "846f62999afaf769820b7243fa7074094e05679f7b82bd09a2473e82bd2e9cae" }, "downloads": -1, "filename": "forgive-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e6c3b2d5aa2ae0a4b7785d45d14b79d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4497, "upload_time": "2017-07-30T16:02:32", "url": "https://files.pythonhosted.org/packages/71/35/473d8fdd63293476132eecc0ce0ee885166f52dc6022b4b8985b7cc5c673/forgive-1.0.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea4cc6366a3fcb543894356c05c8dc55", "sha256": "7176604491690c4d4095a02deb4f8f159f2bd48fe91d609e19e0f48489037ddf" }, "downloads": -1, "filename": "forgive-1.0.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "ea4cc6366a3fcb543894356c05c8dc55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3244, "upload_time": "2017-07-30T16:02:33", "url": "https://files.pythonhosted.org/packages/0f/15/65c0f78a5368de786f6544d92ed6642ead5194cf4028cb7efc1831aa16a4/forgive-1.0.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "e6c3b2d5aa2ae0a4b7785d45d14b79d4", "sha256": "846f62999afaf769820b7243fa7074094e05679f7b82bd09a2473e82bd2e9cae" }, "downloads": -1, "filename": "forgive-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e6c3b2d5aa2ae0a4b7785d45d14b79d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4497, "upload_time": "2017-07-30T16:02:32", "url": "https://files.pythonhosted.org/packages/71/35/473d8fdd63293476132eecc0ce0ee885166f52dc6022b4b8985b7cc5c673/forgive-1.0.0-py3-none-any.whl" } ] }