Skip to main content

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

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


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)

Uploaded Source

Built Distribution

rest_db_client-2.2.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded 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