Skip to main content

A Python library for Safibase.

Project description

safibase

A Python library for safibase. A high performance realtime database.

Installation

You can install this package using pip:

pip install safibase


##Usage

from safibase import Safibase

# Get your api key 'your_api_key' with the actual API key
api_key = 'your_api_key'

# Usage with lake specified separately
safibase = Safibase(api_key)
response = safibase.lake('test_lake').record('test_record').create(model).run()
print(response)

#Deleting a record operation
response = safibase.lake('test_lake').record('test_record').delete('at id='2'').run()
print(response)

# Usage with lake specified along with API key
safibase = safibase(api_key, lake_name='test_lake')
response = safibase.record('test_record').create(model).run()
print(response)

response = safibase.record('test_record').delete('at id='2'').run()
print(response)

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

safibase-0.1.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

safibase-0.1.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file safibase-0.1.3.tar.gz.

File metadata

  • Download URL: safibase-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for safibase-0.1.3.tar.gz
Algorithm Hash digest
SHA256 73049ea4a163ef20c64482b312b93851adeaf00da7a9bf276662c2fdca42c525
MD5 fcb629b774bc1f2f6a81b6faf9885d54
BLAKE2b-256 5e7b5c1cfad6b8c20ba78b06cbcf21d13077a79c20cbc5ad6819b210eb35915a

See more details on using hashes here.

File details

Details for the file safibase-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: safibase-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for safibase-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b73a317ab16f31ba823f3af68c4dc553b4684eae16def45bb5941dca4a203099
MD5 7721da5c45a0f0a859e661727e69e0d6
BLAKE2b-256 57891f7148bfbee0fc502b2a6d97f1f3ef8a0de133a1c8b1c0d0c3281164692f

See more details on using hashes here.

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