Skip to main content

Implementation of the chord peer-to-peer networking protocol, introduced by Stoica et al.

Project description

ChordNet

GitHub Actions Workflow Status GitHub Actions Workflow Status

GitHub License PyPI - Types PyPI - Version PyPI - Downloads PyPI - Python Version PyPI - Implementation

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 naming your chordnet attribute ring:

from chordnet import ChordNet

ring = new ChordNet(...)
ring.create()
# or ring.join(...)
#...
ring.leave()

This fits with the concept of "joining" an existing ring network, or creating a new one. Examples follow this practice.

Project details


Download files

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

Source Distribution

chordnet-2.2.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chordnet-2.2.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file chordnet-2.2.0.tar.gz.

File metadata

  • Download URL: chordnet-2.2.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chordnet-2.2.0.tar.gz
Algorithm Hash digest
SHA256 dfbb6acc4a8677bec2d625521dc119807cf675b182b7a916b77b28e020e6f258
MD5 049c498f6f98d86d1fec80e39800bfcf
BLAKE2b-256 d7ab3c0c31fdf1ba10801e731fb7993a03f23f0cfbf217aa88dd1c1dcbf452fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for chordnet-2.2.0.tar.gz:

Publisher: release.yml on jacklowrie/chordnet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chordnet-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: chordnet-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chordnet-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 259254b08762f1886ec42fb3be6a2633036ed1c2d635c88b14ff80f22691e89b
MD5 3c86f39de9c90d9ae163e6bb003efef2
BLAKE2b-256 e594f61ddcc8414a013b27e891aa671f89994343ca15ea3829ae5617d1ba83c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for chordnet-2.2.0-py3-none-any.whl:

Publisher: release.yml on jacklowrie/chordnet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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