python-roundrobin 0.0.4-3 source package in Ubuntu

Changelog

python-roundrobin (0.0.4-3) unstable; urgency=medium

  * drop DPT

 -- Sandro Tosi <email address hidden>  Sat, 02 Mar 2024 03:52:58 -0500

Upload details

Uploaded by:
Sandro Tosi
Uploaded to:
Sid
Original maintainer:
Sandro Tosi
Architectures:
all
Section:
misc
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Oracular release universe misc
Noble release universe misc

Builds

Noble: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
python-roundrobin_0.0.4-3.dsc 1.9 KiB c805c49fd80a854de16fcdab651eb0ef72243fb97428660ca9028ea531f6a309
python-roundrobin_0.0.4.orig.tar.gz 3.2 KiB 9bcf96b4b6d222b09c05c1e8388faafb37e50923117b679085fc4d297c4b4b81
python-roundrobin_0.0.4-3.debian.tar.xz 2.1 KiB a561cf1d397b4aee464e24addf71778c1da7654ad7c8bdb882375057cebbcb99

Available diffs

No changes file available.

Binary packages built by this source

python3-roundrobin: collection of roundrobin utilities

 This is rather small collection of round robin utilities.
 .
 Some examples:
 .
   ```
    >>> 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'
   ```