{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"Implements consistent hashing in Python using md5 as the hashing function, enabling distributed systems to map keys to nodes in a way that minimizes remapping when nodes are added or removed.","skillfed_tags":["distributed-systems","hashing","unmaintained"],"use_cases":["Distributing cache keys across multiple Memcached or Redis nodes with minimal key remapping on node failure or addition.","Assigning database shard keys in a distributed database cluster to balance load while maintaining consistent routing.","Load-balancing requests to backend servers in a way that keeps related requests routed to the same server.","Partitioning data across multiple storage nodes in a distributed system while minimizing data movement on topology changes."],"what_it_does":"Hashring provides a consistent hashing implementation for Python, using md5 as its underlying hash function. It solves the problem of distributing keys across a set of nodes (such as cache servers or database shards) in a way that minimizes the number of keys that need to be remapped when the set of nodes changes. This is particularly useful in distributed systems where you want stable key-to-node assignments despite node additions or removals.\n\nThe package has no external runtime dependencies and installs as a pure Python wheel, making it lightweight to add to any project. However, it is no longer actively maintained\u2014the last commit was in November 2021 and the most recent release dates to April 2015. While it is classified as Production/Stable, you should be aware that bugs or compatibility issues with modern Python versions will not receive fixes.","worth_installing":"Yes, if you need consistent hashing and are comfortable with an unmaintained library. The code is simple and stable, with no known vulnerabilities and low install friction. However, verify that md5 hashing meets your security and collision-tolerance requirements, and test compatibility with your target Python version\u2014the package's classifiers only list support up to Python 3.4, and there is no active maintenance to address issues with newer versions."},"id":"hashring","links":{"html":"https://skillfed.io/packages/hashring","md":"https://skillfed.io/packages/hashring.md","pypi":"https://pypi.org/project/hashring/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2015-04-14","license_spdx":null,"license_treatment":"permissive","name":"hashring","python_support":"unspecified","summary":"Implements consistent hashing in Python (using md5 as hashing function)."},"popularity":{"monthly_downloads":75180,"position":14744,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.5.1"}
