How to Install and Uninstall python3-uhashring Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "python3-uhashring" package

This guide let you learn how to install python3-uhashring on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-uhashring

2. Uninstall "python3-uhashring" package

Please follow the steps below to uninstall python3-uhashring on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-uhashring $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-uhashring package on Ubuntu 21.10 (Impish Indri)

Package: python3-uhashring
Architecture: all
Version: 1.2-2
Priority: optional
Section: universe/python
Source: python-uhashring
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52
Depends: python3-memcache, python3:any
Filename: pool/universe/p/python-uhashring/python3-uhashring_1.2-2_all.deb
Size: 10488
MD5sum: 743020e72cf7806c5754dae116c1e693
SHA1: 02f8a1c377c7088edf8899df037a517f4583058b
SHA256: 571426f55a7eab10a6f0b97a98bd3924665b0c6ab7ee608ca1298cb2132bb77f
SHA512: a3c8ca4ab22251b46a6903b52032aeb55789c23d83b9c4470675f5fd7a74f47bd3cebda4e23e2ed9d990d324ec58a64402db70c354ae847a2b60c43f678f6033
Homepage: https://github.com/ultrabug/uhashring
Description-en: full featured consistent hashing python library compatible with ketama
Uhashring implements consistent hashing in pure Python.
.
Consistent hashing is mostly used on distributed systems/caches/databases as
this avoid the total reshuffling of your key-node mappings when adding or
removing a node in your ring (called continuum on libketama). More information
and det ails about this can be found in the *literature* section.
.
This full featured implementation offers:
* a lot of convenient methods to use your consistent hash ring in real world
applications.
* simple integration with other libs such as memcache through monkey
patching.
* a full ketama compatibility if you need to use it.
* all the missing functions in the libketama C python binding (which is not
even available on pypi) for ketama users.
* possibility to use your own weight and hash functions if you don't care
about the ketama compatibility.
* Instance-oriented usage, so you can use your consistent hash ring object
directly in your code (see advanced usage).
* tests of implementation, key distribution and ketama compatibility.
.
Per node weight is also supported and will affect the nodes distribution on
the ring.
Description-md5: fee4074a1438b83e26dbdf15e566037e