Client for RESTful databases
Project description
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
- Issue Tracker: https://gitlab.com/librecube/lib/python-rest-db-client/-/issues
- Source Code: https://gitlab.com/librecube/lib/python-rest-db-client
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rest-db-client-2.2.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for rest_db_client-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d04905307266930f6700f2cb3ec495b63265a498e8d5487557e9732b632795a |
|
MD5 | 8234c2c010a35923e3133390bbe224d2 |
|
BLAKE2b-256 | 73a6bd449d2a5760adeeee5bf3b35d9904dccb1ea414874b56377dc91b5387e6 |