Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.25 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.25 KB
@@@       @@@@@@  @@@@@@@  @@@@@@  @@@@@@@  @@@@@@@  @@@@@@@
@@!      @@!  @@@   @@!   @@!  @@@ @@!  @@@ @@!  @@@ @@!  @@@
@!!      @!@  !@!   @!!   @!@  !@! @!@!!@!  @!@  !@! @!@!@!@
!!:      !!:  !!!   !!:   !!:  !!! !!: :!!  !!:  !!! !!:  !!!
: ::.: :  : :. :     :     : :. :   :   : : :: :  :  :: : ::
     auth: smurfd 2024   Database, sneaky like natures bandit

https://en.wikipedia.org/wiki/Raccoon

lotordb

Database and Key value store written in Python. No dependencies.

test

python3 -m pytest lotordb/test

TODO

The database

Usage

Start Table server in one terminal: PYTHONPATH="." python3 lotordb/server.py table
Start Key server in one terminal: PYTHONPATH="." python3 lotordb/server.py key
Start Table client in one terminal: PYTHONPATH="." python3 lotordb/client.py table
Start Key client in one terminal: PYTHONPATH="." python3 lotordb/client.py key

C backend

make -Clotordb/src
./lotordb/src/.build/tests server keys (in one terminal, keyvalue store server)
./lotordb/src/.build/tests client keys (in one terminal, keyvalue store client)

./lotordb/src/.build/tests server tables (in one terminal, table server)
./lotordb/src/.build/tests client tables (in one terminal, table client)

"[o.o]"