[ Source: python-roundrobin ]
Package: python3-roundrobin (0.0.4-3)
Links for python3-roundrobin
Debian Resources:
Download Source Package python-roundrobin:
- [python-roundrobin_0.0.4-3.dsc]
- [python-roundrobin_0.0.4.orig.tar.gz]
- [python-roundrobin_0.0.4-3.debian.tar.xz]
Maintainer:
External Resources:
- Homepage [github.com]
Similar packages:
Samling af roundrobin-redskaber
Dette er en ret lille samling af runde robin-redskaber.
Nogle eksempler:
``` >>> import roundrobin >>> get_roundrobin = roundrobin.basic(["A", "B", "C"]) >>> ''.join([get_roundrobin() for _ in range(7)]) 'ABCABCA' >>> # weighted round-robin balancing algorithm as seen in LVS >>> get_weighted = roundrobin.weighted([("A", 5), ("B", 1), ("C", 1)]) >>> ''.join([get_weighted() for _ in range(7)]) 'AAAAABC' >>> # smooth weighted round-robin balancing algorithm as seen in Nginx >>> get_weighted_smooth = roundrobin.smooth([("A", 5), ("B", 1), ("C", 1)]) >>> ''.join([get_weighted_smooth() for _ in range(7)]) 'AABACAA' ```
Other Packages Related to python3-roundrobin
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
Download python3-roundrobin
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 4.3 kB | 26.0 kB | [list of files] |