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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for rest-db-client-2.2.0.tar.gz
Algorithm Hash digest
SHA256 968be4ccde69c1c4b8c7defd9ad9fd452f2c21a290758b1b5145ca193d90ffa5
MD5 46cc526a7f28d58bdcc2d3e1ec021e6f
BLAKE2b-256 ab3451975dbb8e7e41e3bdcdfd8f51d7032faa1a37971684cf3757f14e4b7574

See more details on using hashes here.

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

Hashes for rest_db_client-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d04905307266930f6700f2cb3ec495b63265a498e8d5487557e9732b632795a
MD5 8234c2c010a35923e3133390bbe224d2
BLAKE2b-256 73a6bd449d2a5760adeeee5bf3b35d9904dccb1ea414874b56377dc91b5387e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page