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.

Development

See CONTRIBUTING.md.

Security

If you discover a security issue, please do not open a public issue. See SECURITY.md for the full policy/reporting instructions.

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.0.0.tar.gz (10.4 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.0.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chordnet-2.0.0.tar.gz
Algorithm Hash digest
SHA256 8e12501e3eb4018d57d543e02d589197a3e52aab8cba70c4fbdec4ddbce2a677
MD5 fc217b7b535451a418332eb66f6320f4
BLAKE2b-256 21eef4b224729e846e1878a912aec9c90f17fc6ec571ae46b726235cb97428b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for chordnet-2.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: chordnet-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 638607ee2de12348b698568e5c00697df62302d7c7ec7996aedf48c854cda212
MD5 40ecf726d290a1190c0b41b9d62a43c7
BLAKE2b-256 514696d4b2fee2bbee115263a26728c016c44be1b3638db1ed807d42d87ff040

See more details on using hashes here.

Provenance

The following attestation bundles were made for chordnet-2.0.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