Skip to main content

a bounded zipf generator ported from Go

Project description

bounded-zipf

Bounded Zipf generator ported from Go:

https://github.com/golang/go/blob/master/src/math/rand/zipf.go

from bounded_zipf import Zipf

z = Zipf(1.0001, 10, 100000)
num = z.get()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bounded_zipf-1.0.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

bounded_zipf-1.0.0-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page