[ Paquet source : python-roundrobin ]
Paquet : python3-roundrobin (0.0.4-2)
Liens pour python3-roundrobin
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source python-roundrobin :
- [python-roundrobin_0.0.4-2.dsc]
- [python-roundrobin_0.0.4.orig.tar.gz]
- [python-roundrobin_0.0.4-2.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
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' ```
Autres paquets associés à python3-roundrobin
|
|
|
|
-
- dep: python3
- langage orienté objet interactif de haut niveau – version par défaut de Python 3
Télécharger python3-roundrobin
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 4,2 ko | 26,0 ko | [liste des fichiers] |