Skip to main content

surreal-db-python

A pure python (and compilable) database client for SurrealDB.

Installation

  1. Install with
pip install surreal-db-python

Usage

import surreal

client = surreal.SurrealDB(
    host: str,
    username: str,
    password: str,
    db: str,
    namespace: str
)

client.execute("CREATE deez:nut SET nice = 69 + 420;")
client.fetch("SELECT * FROM deez:nut;")

Features

  • Supported Asynchronous Operation (with class AsyncSurrealDB) (AsyncSurrealDB have same API as `SurrealDB but you await them.)
  • (not) Supported websocket (yet)

Build from source

  1. Clone repository

  2. poetry install

  3. ./setup.py sdist bdist_wheel for wheel or ./setup.py install for install package directly (egg included)

Metadata

Release files for surreal-db-python 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for surreal-db-python 1.0.2
File Size Uploaded Provenance Actions
surreal-db-python-1.0.2.tar.gz 5.5 kB Without provenance Details for surreal-db-python-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for surreal-db-python 1.0.2
File Interpreter ABI Platform Actions
surreal_db_python-1.0.2-py3-none-any.whl Python 3 none any Details for surreal_db_python-1.0.2-py3-none-any.whl

Total release size: 11.0 kB

Release files / surreal-db-python-1.0.2.tar.gz

Download URL surreal-db-python-1.0.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
81cc270a979aa191c65ff86280a970c4e4cefb3eec48b76201821037a05245b1
BLAKE2b-256 checksum
How to use checksums
96b7eedaa9488b709e88d426c41d7cec9ef407cfeb2835c285f96b3e13dbf6e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / surreal_db_python-1.0.2-py3-none-any.whl

Download URL surreal_db_python-1.0.2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b2eebb7f0228862cde333306932f6d4b085b6e8c945eae25969eb609c1dce49
BLAKE2b-256 checksum
How to use checksums
eb2ce4f8c802e63d558de131d010acea8e24c1e16d4f96681ec681cd62475b4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for surreal-db-python 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page