Implementation of the chord peer-to-peer networking protocol, introduced by Stoica et al.
Project description
chordnet
Python implementation of the chord protocol, introduced by Stoica et al This library began as a group project for cs536 at Purdue University in Fall 2024.
Installation
pip install chordnet
uv add chordnet
Usage
to stay consistent with the language from the original
paper, we recommend importing this package as ring:
from chordnet import Node as ring
This fits with the concept of "joining" an existing ring network, or creating a
new one (ring.join(...), ring.create(). Examples follow this practice.
High level roadmap
- port over code from course project
- set up repo/project workflows, including using
uv - make sure nodes can run on a single computer (same IP, diff't ports)
- add robust testing
- refactor to use asyncio
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chordnet-0.1.0.tar.gz.
File metadata
- Download URL: chordnet-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
042d6bf5e23216c28d8d24e98936680db151cb0619495fcb6f9ea4dfc657ef0f
|
|
| MD5 |
edd8543f0a0e30ae4f4c4d3eae7e5146
|
|
| BLAKE2b-256 |
63b84be69f6bb3c7d6c8012868ad442d0d2d8b1217082aafdaca981e3746f84e
|
File details
Details for the file chordnet-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chordnet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56edb932a336f6d328a47f90eab3400fbbe362c7054b9f2faaabbc0cb9c449a9
|
|
| MD5 |
c0cd64ae8e61bef2dc67b1201c78f248
|
|
| BLAKE2b-256 |
c5fda21fd54eb4bbf6f6446b015d3aaade9667bfdad8bfe2826257ef76330ac3
|