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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bounded_zipf-1.0.0.tar.gz.

File metadata

  • Download URL: bounded_zipf-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.10 Linux/5.15.0-1033-azure

File hashes

Hashes for bounded_zipf-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5377e2353ea30f3dfdfdce1f4f175f94d8b7b51711795bccc96a3b827581335
MD5 e04379647244b28440589160a23c99bd
BLAKE2b-256 d19907993738bd7e8fde641bb0b8de10a7266aec6e89d6d9ed089eb868e0ac59

See more details on using hashes here.

File details

Details for the file bounded_zipf-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bounded_zipf-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.10 Linux/5.15.0-1033-azure

File hashes

Hashes for bounded_zipf-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b93fa39568dfa8d83763b2eb7cf67f9a7667a9dcbde12e964a072e905b4eeca
MD5 088ec06b6dfe60bb3c0a00d225326061
BLAKE2b-256 2d412ea40e69a9e7f4e20d0de362a4d19e0e0be6cfd144cd246b859e9ceb7632

See more details on using hashes here.

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