REST DB Client
A simple Python3 library for connecting to RESTful databases.
Installation
Install via pip:
$ pip install rest-db-client
Example
from rest_db_client import RestDbClient
client = RestDbClient(port=6501)
domain = client['Galaxy']
model = domain['SolarSystem']
datasets = [
{
'planet': 'Jupiter',
'moons': 69
},
{
'planet': 'Mars'
},
{
'planet': 'Earth',
'moons': 1,
'inhabited': True
},
]
model.insert(datasets)
Documentation
The API documentation is in docs/api.md.
Contribute
To learn more on how to successfully contribute please read the contributing
information in the LibreCube guidelines.
Support
If you are having issues, please let us know. Reach us at
Matrix
or via Email.
License
The project is licensed under the MIT license. See the LICENSE file for details.