security/py-uhashring 2.5 FreeBSD
Full featured consistent hashing python library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
902d443b12- License
- BSD3CLAUSE
- Categories
- security, python
- Package size
- 19.6 KiB, 83.5 KiB installed
Description
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).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/py-uhashring | 2.5 |
| DragonFly | security/py-uhashring | 2.3 |
Install
Binary package:
pkg install py312-uhashring
From the ports tree:
cd /usr/ports/security/py-uhashring/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-uhashring>0:security/py-uhashring
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.5 | 2.5 | 2.2 | 2.4 | 2.5 |
| FreeBSD:14:quarterly | 2.5 | 2.5 | n/a | 2.4 | 2.5 |
| FreeBSD:15:latest | 2.5 | 2.5 | n/a | 2.4 | 2.4 |
| FreeBSD:15:quarterly | 2.5 | 2.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.5 | 2.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=1.26.1: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| uhashring-2.5.tar.gz | 9860 | 4855ede3ea66e645eaee016bbeb004e20570ada7714ecb1947cd45ce85d0c08e |
Master sites 1
- PYPI