Skip to main content

A simple HTTP accessible database for IoT projects

Project description

BlanketDB

https://img.shields.io/pypi/v/blanketdb.svg https://img.shields.io/travis/luphord/blanketdb.svg Documentation Status

BlanketDB is a very simple database written in Python based on SQLite. It is intended for small IoT projects where you need a quick way to collect and store data from sensors and other devices. You communicate to BlanketDB using HTTP GET / POST / DELETE requests. Request and response bodies are usually JSON, but you can also POST HTML forms directly to BlanketDB. There is no schema in the database, you simply store objects in buckets.

BlanketDB is free software provided under a MIT license. Documentation is available https://blanketdb.readthedocs.io.

Features

  • GET / POST / DELETE requests to communicate with BlanketDB

  • JSON requests / responses

  • HTML forms can POST directly to BlanketDB

  • Data stored in buckets

  • Schemaless

  • Query using various parameters to a HTTP GET request

  • Data is stored in a single file on the file system which is a SQLite database

  • BlanketDB is a single Python file without any dependencies besides the standard library

  • No sequrity whatsoever; BlanketDB is completely open to readers and writers (use with care!)

Credits

Main author and project maintainer is luphord.

This package was prepared with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.1 (2019-01-24)

  • fix tag confusion

0.2.0 (2019-01-24)

  • Added CLI for starting BlanketDB with wsgiref.simple_server

  • Tests for BlanketDB Web API using webtest

  • Added documentation for usage and Web API

0.1.0 (2019-01-18)

  • First release on PyPI.

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

blanketdb-0.2.1.tar.gz (21.7 kB view hashes)

Uploaded Source

Built Distribution

blanketdb-0.2.1-py2.py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 2 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