Uhashring

Latest version: v2.4

Safety actively analyzes 726363 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.3

* allow benchmark to run without ketama
* map has better performance than comprehension list thx to btall
* implement a weight_fn parameter allowing users to pass their own weight calculation function to the hash ring
* add tests for weight_fn implementation
* document and demonstrate the weight_fn implementation

0.2

* add get_instances method to get a list of all available instances on the ring
* ring.nodes is an alias of ring.conf for convenience

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.