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 (here).

Security

If you discover a security issue, please do not open a public issue. See the security policy for 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.1.0.tar.gz (10.7 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.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chordnet-2.1.0.tar.gz
Algorithm Hash digest
SHA256 65f4f8caa7770354800c01d141e2250aae6d7801e0c9b0f92c964ae40b14b8a6
MD5 d9867697d3587bde8338dea67fc0f1f7
BLAKE2b-256 2615f9b98006086c3ba31f3ef349f620923d991bf41774572e27a02fa278f53e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: chordnet-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59cf93ae454165430906b4bbf82a6718f56348b6c8153dd76524ed883683fb6a
MD5 a60e53f6be423d72eebfc10594620ac7
BLAKE2b-256 bb4613d6139f2cd34f71da55d4912b5d0109805a9fe8ad5652bc3132727ae5d7

See more details on using hashes here.

Provenance

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