Top 0.2% dependent packages on proxy.golang.org
Top 0.4% dependent repos on proxy.golang.org
Top 3.7% forks on proxy.golang.org
Top 1.0% docker downloads on proxy.golang.org
proxy.golang.org : github.com/mroth/weightedrand
Package weightedrand contains a performant data structure and algorithm used to randomly select an element from some kind of list, where the chances of each element to be selected not being equal, but defined by relative "weights" (or probabilities). This is called weighted random selection. Compare this package with (github.com/jmcvetta/randutil).WeightedChoice, which is optimized for the single operation case. In contrast, this package creates a presorted cache optimized for binary search, allowing for repeated selections from the same set to be significantly faster, especially for large data sets. In this example, we create a Chooser to pick from amongst various emoji fruit runes. We assign a numeric weight to each choice. These weights are relative, not on any absolute scoring system. In this trivial case, we will assign a weight of 0 to all but one fruit, so that the output will be predictable.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/mroth/weightedrand
Keywords:
go
, golang
, random
, sampling
, weighted-random
License: MIT
Latest release: over 2 years ago
First release: almost 7 years ago
Namespace: github.com/mroth
Dependent packages: 359
Dependent repositories: 277
Stars: 288 on GitHub
Forks: 41 on GitHub
Docker dependents: 16
Docker downloads: 17,716,053
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/mroth
Last synced: about 10 hours ago
github.com/sealdice/sealdice-core v1.4.5 💰
海豹骰核心程序,船新的trpg骰点机器人。轻量易用,功能强大,支持所有主流IM平台,并能在win/linux/mac/android下使用。28 versions - Latest release: about 1 year ago - 114 stars on GitHub
github.com/hossinasaadi/warp-plus v1.0.3-rc2
Warp+Psiphon, an anti censorship utility for iran1 version - Latest release: about 1 year ago - 1 stars on GitHub
git.pinjamwinwin.com/aidc/framework/v2 v2.0.8
8 versions - Latest release: about 1 year agogithub.com/badrootd/sei-tendermint v0.0.0-sei-fork
Tendermint fork with ABCI++ support, bug fixes, and custom features1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/F4RD1N/tun2socks v1.0.1
2 versions - Latest release: about 1 year ago - 0 stars on GitHubgithub.com/f4rd1n/tun2socks v1.0.1
2 versions - Latest release: about 1 year ago - 0 stars on GitHubgithub.com/phoenixglobal/phoenix-chain-sdk v1.2.2
15 versions - Latest release: about 1 year agogithub.com/ipfs-force-community/damocles/damocles-manager v0.0.0-20240111153612-3dc15784134f
sealing cluster for venus67 versions - Latest release: over 1 year ago - 1 dependent repositories - 20 stars on GitHub
github.com/quibbble/go-quibbble v1.4.12
Quibbble game service38 versions - Latest release: over 1 year ago - 1 stars on GitHub
github.com/quibbble/go-stratego v1.1.6
Go implementation of Stratego18 versions - Latest release: over 1 year ago - 1 dependent package - 0 stars on GitHub
github.com/koeng101/dnadesign v0.0.0-20231216035044-6adf9db2add7
4 versions - Latest release: over 1 year ago - 2 stars on GitHubgithub.com/vatebur/zerobot-plugin v1.7.10
基于 ZeroBot 的 OneBot 插件22 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/vatebur/ZeroBot-Plugin v1.7.9
基于 ZeroBot 的 OneBot 插件21 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/ipfs-force-community/venus-tool v0.1.3
venus-tool8 versions - Latest release: over 1 year ago - 2 stars on GitHub
github.com/ipfs-force-community/brightbird v1.0.3
31 versions - Latest release: over 1 year ago - 3 stars on GitHubgithub.com/Theia-network/theia-tendermint v0.2.30
Tendermint fork with ABCI++ support, bug fixes, and custom features237 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/theia-network/theia-tendermint v0.2.30
Tendermint fork with ABCI++ support, bug fixes, and custom features237 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/refraction-networking/gotapdance v1.7.10
:twisted_rightwards_arrows: Cross-platform Golang implementation of TapDance censorship circumven...43 versions - Latest release: over 1 year ago - 14 dependent packages - 12 dependent repositories - 40 stars on GitHub
github.hscsec.cn/refraction-networking/conjure v0.7.10
35 versions - Latest release: over 1 year agogithub.skymusic.top/refraction-networking/conjure v0.7.10
35 versions - Latest release: over 1 year agogithub.imxd.top/refraction-networking/conjure v0.7.10
35 versions - Latest release: over 1 year agogithub.1git.de/refraction-networking/conjure v0.7.10
35 versions - Latest release: over 1 year agogithub.com/yiwen-chan/groupmanager v1.7.6 removed
基于 ZeroBot 的 OneBot 插件167 versions - Latest release: over 1 year ago - 2,063 stars on GitHub
github.com/nanalabio/sdk v0.0.2
3 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/astaguna/popon-core v0.0.0-20231019235610-96e42d76a5ff
8 versions - Latest release: over 1 year ago - 2 dependent packagesgithub.com/twflem/poly v0.27.2
A Go package for engineering organisms.50 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/TwFlem/poly v0.27.2
A Go package for engineering organisms.50 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/ctcticxh/ZeroBot-Plugin v0.0.0-20231010094513-6f4fb1452a3a
Package main ZeroBot-Plugin main file3 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/quibbble/go-codenames v1.0.3
Go implementation of Codenames4 versions - Latest release: over 1 year ago - 1 dependent package - 1 dependent repositories - 0 stars on GitHub
github.com/floattech/gocqzbp v1.7.3
go-cqhttp与ZeroBot-Plugin的合体92 versions - Latest release: over 1 year ago - 165 stars on GitHub
github.com/FloatTech/gocqzbp v1.7.3
go-cqhttp与ZeroBot-Plugin的合体92 versions - Latest release: over 1 year ago - 165 stars on GitHub
github.com/goharbor/harbor-scanner-fake v0.0.0-20230828033412-e4cb163b153e
1 version - Latest release: over 1 year ago - 1 stars on GitHubgithub.com/talariadb/talaria v1.6.1
TalariaDB is a distributed, highly available, and low latency time-series database for Presto37 versions - Latest release: almost 2 years ago - 175 stars on GitHub
github.com/kelindar/talaria v1.6.1
37 versions - Latest release: almost 2 years agogithub.com/HughNian/nmid v1.10.12
Go实现微服务调度服务,分为调度服务端,客户端,工作端。20 versions - Latest release: almost 2 years ago - 4 dependent packages - 1 dependent repositories - 9 stars on GitHub
github.com/hughnian/nmid v1.10.12
Go实现微服务调度服务,分为调度服务端,客户端,工作端。20 versions - Latest release: almost 2 years ago - 9 stars on GitHub
github.com/fibonacci-chain/fbc-tendermint v0.2.24
2 versions - Latest release: almost 2 years ago - 0 stars on GitHubgithub.com/ooni/2023-05-richer-input v0.3.0
3 versions - Latest release: almost 2 years ago - 0 stars on GitHubgithub.com/anderstorpsfestivalen/benis-phone v0.0.0-20230626095406-caf4762947af
benis1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/chorusone/sei-tendermint v0.2.24
Tendermint fork with ABCI++ support, bug fixes, and custom features250 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/ChorusOne/sei-tendermint v0.2.24
Tendermint fork with ABCI++ support, bug fixes, and custom features250 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/shravan9912/mpquic_ml_vb v0.0.0-20230613171823-af7f83e9b3f9
1 version - Latest release: almost 2 years ago - 0 stars on GitHubgithub.com/ipfs-force-community/venus-cluster/venus-sector-manager v0.0.0-20230609081829-98e9d40ce681
sealing cluster for venus63 versions - Latest release: almost 2 years ago - 1 dependent repositories - 16 stars on GitHub
github.com/joanlopez/mclogs v0.1.0
🤡 A fake log generator, heavily inspired on flog, with a wink to McDonald's, and written in Go1 version - Latest release: about 2 years ago - 1 stars on GitHub
github.com/ari-anchor/sei-tendermint v0.0.0-20230519142905-1abf0d16245d
Tendermint fork with ABCI++ support, bug fixes, and custom features2 versions - Latest release: about 2 years ago - 0 stars on GitHub
github.com/hashkey-chain/hashkey-chain v0.0.0-20230404073623-c32b194776d1
Package hskchain defines interfaces for interacting with hskchain.1 version - Latest release: about 2 years ago
github.com/phoenixglobal/phoenix-chain-core v1.1.3
6 versions - Latest release: about 2 years ago - 2 stars on GitHubgithub.com/PhoenixGlobal/Phoenix-Chain-Core v1.1.3
Package phoenixchain defines interfaces for interacting with phoenixchain.6 versions - Latest release: about 2 years ago - 2 dependent packages - 2 stars on GitHub
github.com/Jiang-Red/ZeroBot-Plugin v1.7.0
基于 ZeroBot 的 OneBot 插件228 versions - Latest release: about 2 years ago - 28 stars on GitHub
github.com/jiang-red/zerobot-plugin v1.7.0
基于 ZeroBot 的 OneBot 插件228 versions - Latest release: about 2 years ago - 28 stars on GitHub
github.com/minggaodong/sei-tendermint v0.1.180
2 versions - Latest release: about 2 years agogithub.com/cha0sidl/zerobot-plugin v1.6.2
基于 ZeroBot 的 OneBot 插件150 versions - Latest release: about 2 years ago - 2 stars on GitHub
github.com/Cha0sIDL/ZeroBot-Plugin v1.6.2
基于 ZeroBot 的 OneBot 插件150 versions - Latest release: about 2 years ago - 2 stars on GitHub
github.com/JODA-Explore/BETZE v0.2.0
Benchmark generator for exploratory incremental query sessions on semi-structured data2 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/MetLifeLegalPlans/sidearm v0.0.0-20230106034110-90d4b8e68d07
Utilities for load testing.2 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/ooni/psiphon/tunnel-core v0.0.0-20230105123940-fe12a24c96ee
Vendor psiphon and dependencies2 versions - Latest release: over 2 years ago - 1 dependent package - 2 dependent repositories - 1 stars on GitHub
github.com/mukswilly/udpgw v0.0.0-20221229081411-176d2f926235
2 versions - Latest release: over 2 years ago - 3 stars on GitHubgithub.com/infinimesh/tn_fake_feeder v0.0.6
internal tool to feed fake data to platform12 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/huaixwuyu/ZeroBot-Plugin v1.2.0
基于 ZeroBot 的 OneBot 插件10 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/huaixwuyu/zerobot-plugin v1.2.0
基于 ZeroBot 的 OneBot 插件10 versions - Latest release: over 2 years ago - 0 stars on GitHub
gitlab.com/Grouumf/processfastafiles/BLASTClStats v0.0.0-20221022021806-3deffe190fe2
2 versions - Latest release: over 2 years agogitlab.com/Grouumf/processfastafiles/fastaUtils v0.0.0-20221022021806-3deffe190fe2
2 versions - Latest release: over 2 years ago - 3 dependent packages - 1 dependent repositoriesgithub.com/moyoez/zerobot-plugin v1.5.1
131 versions - Latest release: over 2 years agogithub.com/MoYoez/ZeroBot-Plugin v1.5.1
131 versions - Latest release: over 2 years agogithub.com/ActuallyGiggles/go-markov v0.0.1
Simple Markov chain input and output. :)1 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/actuallygiggles/go-markov v0.0.1
Simple Markov chain input and output. :)1 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/slntopp/vrp-faker v0.0.1
Fake Vehicles Registration Plates Generator1 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/Timothystiles/poly v0.21.1 removed
37 versions - Latest release: over 2 years agogitlab.foundingaz.cn/tools/invite-code-handler v0.0.4
4 versions - Latest release: almost 3 years agogithub.com/tang-guo-guo/ZeroBot-Plugin v1.2.3
基于 ZeroBot 的 OneBot 插件25 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/tang-guo-guo/zerobot-plugin v1.2.3
基于 ZeroBot 的 OneBot 插件25 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/jeffreylean/talaria v1.6.1
TalariaDB is a distributed, highly available, and low latency time-series database for Presto37 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/injectivelabs/informal-tendermint v0.35.9
A fork of the original Tendermint Core repository242 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/Switcheo/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go241 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/chillyvee/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go238 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/neobase-one/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go241 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/switcheo/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go241 versions - Latest release: almost 3 years ago - 3 dependent packages - 8 dependent repositories - 0 stars on GitHub
github.com/Team-Kujira/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go244 versions - Latest release: almost 3 years ago - 2 dependent repositories - 0 stars on GitHub
github.com/RBFLabs/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go243 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/Tendermint/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go241 versions - Latest release: almost 3 years ago - 5,446 stars on GitHub
github.com/InjectiveLabs/informal-tendermint v0.35.9
A fork of the original Tendermint Core repository242 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/slandymani/tendermint-informalsystems v0.35.9
A fork of the original Tendermint Core repository243 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/figment-networks/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go320 versions - Latest release: almost 3 years ago - 1 dependent package - 0 stars on GitHub
github.com/andy108369/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go221 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/fr00000/blue-tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go236 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/injectivelabs/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go241 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/dydxprotocol/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go263 versions - Latest release: almost 3 years ago - 7 stars on GitHub
github.com/EtherCS/recovery v0.35.9
the implementation of recovery BFT protocol234 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/MonOsmosis/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go239 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/crossel87a/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go239 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/villagelabsco/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go241 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/Pitasi/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go234 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/baryariv/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go304 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/marginxio/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go239 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/zaradartr/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go238 versions - Latest release: almost 3 years ago - 4 stars on GitHub
github.com/rbflabs/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go243 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/PUFreedomLab/haechi v0.35.9
Haechi: a fair cross-shard consensus protocol239 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/mmsqe/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go254 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/crescent-network/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go241 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/0xprincess/tendermint v0.35.9
⟁ Tendermint Core (BFT Consensus) in Go232 versions - Latest release: almost 3 years ago - 0 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.