Skip to content

grampelberg/python-flockdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Create a new client:

import flockdb
client = flockdb.Client("localhost", 7915, {
    "follows": 1,
    "blocks": 2,
    })

Edge manipulation:

client.add(1, "follows", 2)
client.remove(1, "follows", 2)

Perform a query:

client.get(1, "follows", None)
=> (2,)
client.get(None, "follows", 2)
=> (1,)
client.get_all([(1, "follows", 2), (2, "follows", 3)])
=> [(2,), ()]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages