Skip to main content

Darko is lightweight Graph Key-Value store

Project description

Darko

Why name is Darko ?

Because Donnie Darko is my favorite movie character.

What is Darko ?

Darko is a lightweight key-value store. Also use graph tech so dont repeat common data.

Why use Graph ?

Because, we usually use to common value for each keys. Like

john:doe
jane:doe
doe:george

So think about it, Why we get memmory address every each 'doe'.

Usage

First,run project

git clone https://github.com/UtkucanBykl/Darko.git
cd Darko/Darko
python run.py

If you want close the wal(Write Ahead Log) or change wal directory

from config import Config
config = Config.get_config()
config.wal = False
config.wal_path = '../'

For create key-value

http://127.0.0.1:12345/create?sentence=key:value

Also you can create multiple

http:127.0.0.1:12345/create?sentence=key:value&sentence=value:key

For delete key-value

http://127.0.0.1:12345/delete?sentence=key:value

For retrieve node

http://127.0.0.1:12345/nodes

For get value of key

http://127.0.0.1:12345/<key_name>

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Darko-0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file Darko-0.1-py3-none-any.whl.

File metadata

  • Download URL: Darko-0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for Darko-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e9d416155e4545e6f56a90ad404289b608f949fdd939be1e832a9e0c41ade18
MD5 084644c9fb84921fc0a251525d258b19
BLAKE2b-256 410977f788c51d0806c9877d5eaf73f6b89d3f6c97ed12c80578679975a682d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page