Skip to content

Anton-2/surrealpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

surrealpy is another Python tool for working with SurrealDB v2.x.

It is asynchronous and unofficial, so if you need an

  • Official client, go here. But the current release v0.3.2 is not really usable in async environments Bug: Concurrency issues
  • Unofficial but up to date synchronous client, go here

This is a very rough release, it works for me (python 3.12 on macos) but needs to be tested on more environments.

Key features:

  • Asynchronous
  • CBOR over websocket: live queries, small data transfers, full type conversion between surrealdb and python.
  • Only two dependencies (websockets and CBOR)
  • Not well documented
  • Not well tested
  • Only compatible with SurrealDB 2.x

Plans:

  • Add all SDK methods (missing: signup, graphql, run, insert, insert_relation, upsert, relate, merge, patch)
  • Documentation
  • Testing

Maybe ?:

Installation

Via pip:

pip install 'git+https://github.com/Anton-2/surrealpy.git'.

About

Asynchronous client for SurrealDB v2.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages