distributed file system based on kademlia dht
Project description
Distributed file system based on https://github.com/bmuller/kademlia for the final project of distributed systems
Basic Usage
- Clone the repo and run poetry install
- Run server.py in one pc or several pc in a local network
- Run cli.py in any pc of the network and start playing with the system
Installation
- pip install kade-drive
Server
from kade_drive.server import start_server
start_server()
Client
Note: Make shure that there exist at least a server in the local network
from kade_drive.cli import ClientSession
client = ClientSession()
client.connect()
client.put(4, 5)
value = client.get(4)
assert value == 5
Tests
To run tests make shure that there is at least one server in the network.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kade_drive-0.5.1.tar.gz
(25.9 kB
view hashes)
Built Distribution
kade_drive-0.5.1-py3-none-any.whl
(32.8 kB
view hashes)
Close
Hashes for kade_drive-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8367c4af1c438097ee430a1edefee2cfed882af29e02610b751fc63aa924af11 |
|
MD5 | 0044d363f7dbf5b1d21114ed150b8be0 |
|
BLAKE2b-256 | 60b7cbef842680ded91cb69045dfe2c75e1fb59798087e74d32a25d5eb3b07aa |