File: control

package info (click to toggle)
python-uhashring 2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 160 kB
  • sloc: python: 634; makefile: 19
file content (53 lines) | stat: -rw-r--r-- 1,998 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Source: python-uhashring
Section: python
Priority: optional
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Uploaders:
 Thomas Goirand <zigo@debian.org>,
Build-Depends:
 debhelper-compat (= 11),
 dh-python,
 openstack-pkg-tools,
 pybuild-plugin-pyproject,
 python3-all,
 python3-hatchling,
 python3-poetry-core,
 python3-setuptools,
Build-Depends-Indep:
 python3-memcache,
 python3-pytest,
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-uhashring
Vcs-Git: https://salsa.debian.org/openstack-team/python/python-uhashring.git
Homepage: https://github.com/ultrabug/uhashring

Package: python3-uhashring
Architecture: all
Depends:
 python3-memcache,
 ${misc:Depends},
 ${python3:Depends},
Description: 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.