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>
Metadata
Release files for Darko 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Darko-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / Darko-0.1-py3-none-any.whl
| Download URL | Darko-0.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e9d416155e4545e6f56a90ad404289b608f949fdd939be1e832a9e0c41ade18
|
|
BLAKE2b-256 checksum How to use checksums |
410977f788c51d0806c9877d5eaf73f6b89d3f6c97ed12c80578679975a682d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|