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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rest-db-client-2.2.0.tar.gz.
File metadata
- Download URL: rest-db-client-2.2.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
968be4ccde69c1c4b8c7defd9ad9fd452f2c21a290758b1b5145ca193d90ffa5
|
|
| MD5 |
46cc526a7f28d58bdcc2d3e1ec021e6f
|
|
| BLAKE2b-256 |
ab3451975dbb8e7e41e3bdcdfd8f51d7032faa1a37971684cf3757f14e4b7574
|
File details
Details for the file rest_db_client-2.2.0-py3-none-any.whl.
File metadata
- Download URL: rest_db_client-2.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d04905307266930f6700f2cb3ec495b63265a498e8d5487557e9732b632795a
|
|
| MD5 |
8234c2c010a35923e3133390bbe224d2
|
|
| BLAKE2b-256 |
73a6bd449d2a5760adeeee5bf3b35d9904dccb1ea414874b56377dc91b5387e6
|