GithubHelp home page GithubHelp logo

kotolex / surrealist Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 0.0 473 KB

Python library to work with SurrealDB

License: MIT License

Python 99.98% Shell 0.02%
surreal surrealdb surrealdb-database python

surrealist's People

Contributors

kotolex avatar lexdraven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

surrealist's Issues

Refactoring

  • move Release notes to separate file
  • wraps for decorator
  • todo for commented tests

Create Connection Pool

2 connection by default and maximum 50, use "task-stealing" and check for busy threads, if they all busy -append new threads until max

Need to think how to integrate that in current Connection scheme

Improve INDEX statement

  • add more precise names for INDEX methods (M, TYPE)
  • limit allowed options for some methods (TYPE)
  • add documentation for index methods
  • fix BM25
  • add more docs to different methods of all statements
  • fix examples and tests

Tests for defaults

create big integration suite on all defaul values of SurrealDB and all functions

`.set("a=1", b=2)` silently ignores kwargs

This happened to me when using db.relate and I guess the same issue exists elsewhere.
I would have liked surrealist to either combine the string and the kwargs or raise an exception when trying to use both.

JSON-parser

need (?) another json parser, without recursion

Up to Surreal 1.4.0

prepare for new version:

  • fix bugs, docs
  • DEFINE...RELATE
  • INCLUDE ORIGINAL
  • highlight
  • http /rpc

add CBOR feature

CBOR is faster, smaller than json, no recurse maximum problem and it can have bytes type (JSON cant)
The main thing is - get 3rd party library or write it for Surreal exact case

Logging options

change logging to be usable by user itself, inherit main params based on standard logging

  • remove log_level params
  • remove handlers
  • make default format
  • fix examples
  • fix readme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.