Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

surreal-db-python

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

surreal-db-python

Python client for the Surreal Database (Websocket not supported)

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc