{ "info": { "author": "luphord", "author_email": "luphord@protonmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "=========\nBlanketDB\n=========\n\n\n.. image:: https://img.shields.io/pypi/v/blanketdb.svg\n :target: https://pypi.python.org/pypi/blanketdb\n\n.. image:: https://img.shields.io/travis/luphord/blanketdb.svg\n :target: https://travis-ci.org/luphord/blanketdb\n\n.. image:: https://readthedocs.org/projects/blanketdb/badge/?version=latest\n :target: https://blanketdb.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nBlanketDB_ is a very simple database written in Python based on SQLite.\nIt is intended for small IoT projects where you need a quick way to\ncollect and store data from sensors and other devices.\nYou communicate to BlanketDB using HTTP GET / POST / DELETE requests.\nRequest and response bodies are usually JSON, but you can also POST\nHTML forms directly to BlanketDB.\nThere is no schema in the database, you simply store objects in buckets.\n\nBlanketDB is free software provided under a MIT license.\nDocumentation is available at https://blanketdb.readthedocs.io.\n\nWhy is it called BlanketDB? Well, a blanket_ is simple, lightweight, portable\nand keeps you warm. But if you really want to relax, you'll need a couch_.\n\n.. _BlanketDB: https://github.com/luphord/blanketdb\n.. _blanket: https://github.com/luphord/blanketdb\n.. _couch: http://couchdb.apache.org/\n\n\nFeatures\n--------\n\n* GET / POST / DELETE requests to communicate with BlanketDB\n* JSON requests / responses\n* HTML forms can POST directly to BlanketDB\n* Data stored in buckets\n* Schemaless\n* Query using various parameters to a HTTP GET request\n* Data is stored in a single file on the file system which is a SQLite database\n* BlanketDB is a single Python file without any dependencies besides the standard library\n* No sequrity whatsoever; BlanketDB is completely open to readers and writers (use with care!)\n\nQuickstart\n----------\n\nTo install BlanketDB, you'll need a Python (>=3.4) installation with pip:\n\n.. code-block:: console\n\n $ pip install blanketdb\n\nTo use BlanketDB as a standalone database (and communicate over HTTP), enter the following command:\n\n.. code-block:: console\n\n $ python3 -m blanketdb -i localhost -p 8080 -f /path/to/db.sqlite\n\nBlanketDB will now serve its web interface at http://localhost:8080.\nYou can open this page in your browser to check if everything works.\n\nTo use BlanketDB in a Python project, enter the following code:\n\n.. code-block:: python\n\n from blanketdb import BlanketDB\n db = BlanketDB('/path/to/db.sqlite')\n\n # you can now use db using its Python API\n db.store_dict(x='test')['id']\n for entry in db:\n print(entry)\n\n # db is alse a wsgi conforming callable\n # you can use it e.g. with the wsgi reference implementation\n from wsgiref.simple_server import make_server\n httpd = make_server('localhost', 8080, db)\n httpd.serve_forever()\n\nDetailed documentation is available at https://blanketdb.readthedocs.io.\n\nCredits\n-------\n\nMain author and project maintainer is luphord_.\n\nThis package was prepared with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _luphord: https://github.com/luphord\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.3.1 (2019-03-06)\n------------------\n\n* Improved clarity with default values\n\n0.3 (2019-03-06)\n----------------\n\n* Type annotations for `BlanketDB`\n* Python 3.4 is not supported anymore (as it does not know type annotations)\n\n0.2.2 (2019-01-31)\n------------------\n\n* setuptools entrypoint for cli\n* quickstart documentation\n* added logo\n\n0.2.1 (2019-01-24)\n------------------\n\n* fix tag confusion\n\n0.2.0 (2019-01-24)\n------------------\n\n* Added CLI for starting `BlanketDB` with `wsgiref.simple_server`\n* Tests for `BlanketDB` Web API using `webtest`\n* Added documentation for usage and Web API\n\n0.1.0 (2019-01-18)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/luphord/blanketdb", "keywords": "blanketdb", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "blanketdb", "package_url": "https://pypi.org/project/blanketdb/", "platform": "", "project_url": "https://pypi.org/project/blanketdb/", "project_urls": { "Homepage": "https://github.com/luphord/blanketdb" }, "release_url": "https://pypi.org/project/blanketdb/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "A simple HTTP accessible database for IoT projects", "version": "0.3.1" }, "last_serial": 4906133, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "268015ab2eaaa4331b08902f53efe919", "sha256": "74988e78c93581363430b273a36751d07392765232028a9c08556e0310e88f4a" }, "downloads": -1, "filename": "blanketdb-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "268015ab2eaaa4331b08902f53efe919", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8418, "upload_time": "2019-01-17T23:32:58", "url": "https://files.pythonhosted.org/packages/34/83/701db157933c53453e8d7a685bab249c3a80c16ee2e4c58dd4ae3bbc366e/blanketdb-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5259f569e71dfaebf96bfe1af9e8b176", "sha256": "3f9d124da9a33bf02e0f0e928954ac69d1c9b50c682b2fae8b86cf42b688339e" }, "downloads": -1, "filename": "blanketdb-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5259f569e71dfaebf96bfe1af9e8b176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17664, "upload_time": "2019-01-17T23:33:00", "url": "https://files.pythonhosted.org/packages/31/fe/c08b1672b1464a3552277be016d3f36b51b4664eac7f1023b9b9afc51009/blanketdb-0.1.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "7d88a69a27642dcc52d9892d93c77a9c", "sha256": "ccd39379b0e371092a7e64630cd45233b4f8cadd2a41849417a7cd890914cd44" }, "downloads": -1, "filename": "blanketdb-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7d88a69a27642dcc52d9892d93c77a9c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10820, "upload_time": "2019-01-24T17:16:50", "url": "https://files.pythonhosted.org/packages/2e/08/3716d4d4152a854cb47866e4629c8516d530f96a84e22622a7c10a062d9c/blanketdb-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92b1d363e024c6c57dfca35818cbf468", "sha256": "b867d69a8cfff52fce8727261d5aeaba251e2f8f9ff5213db36834c966e44e0b" }, "downloads": -1, "filename": "blanketdb-0.2.1.tar.gz", "has_sig": false, "md5_digest": "92b1d363e024c6c57dfca35818cbf468", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21663, "upload_time": "2019-01-24T17:16:52", "url": "https://files.pythonhosted.org/packages/ae/e2/e78246008ba5965c4ccd801cb99a1dd7723c3ff49c0452601f7b9a3e2145/blanketdb-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "f382558b984909c12155e403a610c0a4", "sha256": "4de6ab89201236e819d1e3114487c4d8a1b65804f86bc12bf0054038965612de" }, "downloads": -1, "filename": "blanketdb-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f382558b984909c12155e403a610c0a4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11666, "upload_time": "2019-01-31T19:41:50", "url": "https://files.pythonhosted.org/packages/89/70/720916249570bcdb589d32a6c665930d21d935e691e68bf18f44b0c52c29/blanketdb-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bcb2aecb0342ba5e11090b911a7ecff", "sha256": "0cf740ac539cd8d81157884261f20a1704cd1176dc1e0d0d4adcb47e33959568" }, "downloads": -1, "filename": "blanketdb-0.2.2.tar.gz", "has_sig": false, "md5_digest": "6bcb2aecb0342ba5e11090b911a7ecff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39579, "upload_time": "2019-01-31T19:41:52", "url": "https://files.pythonhosted.org/packages/7e/82/4119c5aa65dc687b2db10fb0ca68f4fc49f2c2d41b80295c0fc94a0184ec/blanketdb-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "810f63437d933e5dbccf0785c992b0ab", "sha256": "4e14a928625a6b52d7ca12131fbe478d960105d11f09998ce1b013d82b1514ad" }, "downloads": -1, "filename": "blanketdb-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "810f63437d933e5dbccf0785c992b0ab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12531, "upload_time": "2019-03-06T06:00:58", "url": "https://files.pythonhosted.org/packages/33/a7/6a699cce799307e80208be446233621c8a77649a4b82392cefc5813fe0d4/blanketdb-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e5dc7766fd61bc989dc448459ec5697e", "sha256": "38d138795155063feeb8c7a692aa0aa8c0cb12468de37c896c6c627433faf4bd" }, "downloads": -1, "filename": "blanketdb-0.3.0.tar.gz", "has_sig": false, "md5_digest": "e5dc7766fd61bc989dc448459ec5697e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40065, "upload_time": "2019-03-06T06:01:00", "url": "https://files.pythonhosted.org/packages/4e/b9/acda8df5607e21797a443cfab1d233c3e30172af85e1084f76b630f2363f/blanketdb-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "0ad2259a59876890f8468cd2d8ee5cd1", "sha256": "3f8c487e3831b3352d4e157a5840b8dfcb68c251de8a0fc7cd93d66b32dd91a9" }, "downloads": -1, "filename": "blanketdb-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0ad2259a59876890f8468cd2d8ee5cd1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12572, "upload_time": "2019-03-06T16:14:06", "url": "https://files.pythonhosted.org/packages/24/98/d4261abd1552d26f9108c2ddb5701ba73f638fc91f5ccaa9d7be771a232e/blanketdb-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "160046549db7aafb579dbf9481fedd85", "sha256": "26823f63dea433431e62ea57cdd2ce73a26a813732c65dac7ba025c98cef4bbd" }, "downloads": -1, "filename": "blanketdb-0.3.1.tar.gz", "has_sig": false, "md5_digest": "160046549db7aafb579dbf9481fedd85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40106, "upload_time": "2019-03-06T16:14:08", "url": "https://files.pythonhosted.org/packages/1c/2e/04a1c8e0e14a865811871df409dfbaa7831b6366fcf8f8c371cf0dc6dcb7/blanketdb-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0ad2259a59876890f8468cd2d8ee5cd1", "sha256": "3f8c487e3831b3352d4e157a5840b8dfcb68c251de8a0fc7cd93d66b32dd91a9" }, "downloads": -1, "filename": "blanketdb-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0ad2259a59876890f8468cd2d8ee5cd1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12572, "upload_time": "2019-03-06T16:14:06", "url": "https://files.pythonhosted.org/packages/24/98/d4261abd1552d26f9108c2ddb5701ba73f638fc91f5ccaa9d7be771a232e/blanketdb-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "160046549db7aafb579dbf9481fedd85", "sha256": "26823f63dea433431e62ea57cdd2ce73a26a813732c65dac7ba025c98cef4bbd" }, "downloads": -1, "filename": "blanketdb-0.3.1.tar.gz", "has_sig": false, "md5_digest": "160046549db7aafb579dbf9481fedd85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40106, "upload_time": "2019-03-06T16:14:08", "url": "https://files.pythonhosted.org/packages/1c/2e/04a1c8e0e14a865811871df409dfbaa7831b6366fcf8f8c371cf0dc6dcb7/blanketdb-0.3.1.tar.gz" } ] }