Skip to main content

A fast random number generator for python

Project description

nazo_rand

Inspired to write from Pyewacket

A fast random number generator for python

rand_int.choice(seq: list|Tuple) -> Any example:

from nazo_rand import choice
temp = [1,2,3,4,5,6]
choice(temp)

rand_int.randbelow(a: int) -> int example:

from nazo_rand import randbelow
randbelow(10)   # -> [0, 10)
randbelow(0)    # -> [0, 0) => 0
randbelow(-10)  # -> (-10, 0]

rand_int.randint(a: int , b: int) -> int example:

from nazo_rand import randint
randint(1, 10)   # -> [1, 10]
randint(10, 1)   # -> [1, 10]
randint(10, 10)  # -> [10, 10] => 10

rand_int.randrange(start: int , stop: int = 0 , step: int = 1 ) example:

from nazo_rand import randrange
randrange(10)           # -> [0, 10) by whole numbers
randrange(1, 10)        # -> [1, 10) by whole numbers
randrange(1, 10, 2)     # -> [1, 10) by 2, odd numbers
randrange(-10)          # -> [-10, 0) by 1
randrange(10, 1)        # -> [1, 10) by 1
randrange(10, 0, 2)     # -> [0, 10) by 2, even numbers
randrange(10, 10, 0)    # -> [10, 10) => 10

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

nazo_rand-0.1.1.tar.gz (64.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

nazo_rand-0.1.1-cp313-cp313-win_amd64.whl (89.4 kB view details)

Uploaded CPython 3.13Windows x86-64

nazo_rand-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (277.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

nazo_rand-0.1.1-cp313-cp313-macosx_10_13_universal2.whl (115.2 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

nazo_rand-0.1.1-cp312-cp312-win_amd64.whl (90.4 kB view details)

Uploaded CPython 3.12Windows x86-64

nazo_rand-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (284.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

nazo_rand-0.1.1-cp312-cp312-macosx_10_13_universal2.whl (116.5 kB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

nazo_rand-0.1.1-cp311-cp311-win_amd64.whl (90.1 kB view details)

Uploaded CPython 3.11Windows x86-64

nazo_rand-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (276.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

nazo_rand-0.1.1-cp311-cp311-macosx_10_9_universal2.whl (116.0 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

nazo_rand-0.1.1-cp310-cp310-win_amd64.whl (90.0 kB view details)

Uploaded CPython 3.10Windows x86-64

nazo_rand-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (257.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

nazo_rand-0.1.1-cp310-cp310-macosx_10_9_universal2.whl (115.9 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

nazo_rand-0.1.1-cp39-cp39-win_amd64.whl (90.0 kB view details)

Uploaded CPython 3.9Windows x86-64

nazo_rand-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (256.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

nazo_rand-0.1.1-cp39-cp39-macosx_10_9_universal2.whl (115.9 kB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

nazo_rand-0.1.1-cp38-cp38-win_amd64.whl (90.0 kB view details)

Uploaded CPython 3.8Windows x86-64

nazo_rand-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (255.6 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

nazo_rand-0.1.1-cp38-cp38-macosx_11_0_universal2.whl (116.0 kB view details)

Uploaded CPython 3.8macOS 11.0+ universal2 (ARM64, x86-64)

File details

Details for the file nazo_rand-0.1.1.tar.gz.

File metadata

  • Download URL: nazo_rand-0.1.1.tar.gz
  • Upload date:
  • Size: 64.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nazo_rand-0.1.1.tar.gz
Algorithm Hash digest
SHA256 70aad7e64439aa02da52331626584a5b859d0de9a802424716ec26cd17259845
MD5 4cb23ebb2313549b4bc67bbf75b7806b
BLAKE2b-256 95ba0704cf178799fb8794783f3d2d2f8c7d6ff7079838b1b7a612a23ff2137a

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: nazo_rand-0.1.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 89.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nazo_rand-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8a5903cda0950d0ec5207bb09525b9b4a1c01c4793769b24216ac0e5a1b79166
MD5 4a702ec2ca079e7bc43907c21b9046a6
BLAKE2b-256 a95ab07980f7dc2d180a04be56c0b67b9dc1132d83072e03feb98ebb92e69059

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35eb97e35096ef9bd8a6fcd32c44a5f1b9a82e71ea211f363c45c7f7985991fc
MD5 71a7f84c3c20586724187751ddbfb5f6
BLAKE2b-256 387eff9c8f81635e09f3955c2271942c083d0edbc646a7277236496a22696e5e

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 9d0449a94bcbf789d9f2109af52853be4cd46ba3977f1f87f5495de74a784e12
MD5 12ccfaa45d3829cfbe99665c986023f4
BLAKE2b-256 8426e6ebb92a8ed6d78bfd5327ffb10b3d09c00f77dcb7310fd393c619b06700

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: nazo_rand-0.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 90.4 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nazo_rand-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 997c0a0f1642ec93f5a3e1447c6af0dfb6a4009ed38df9e663c06035201a5a46
MD5 836040598dfa8c10eed440984f6d9d7f
BLAKE2b-256 1b9b27e4d7813187784f3866035095f7c2efa91cbda1932f8b18c3162be2b8c5

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c0b418db5e5d80dd28722c61bfa808c02ba8de13dadc911afdf0c058b1e13d4
MD5 5438e23726cb78156da10ad969c2c66c
BLAKE2b-256 b1ff400d31d403e83c11a741405fcf1c2a0a58dfea3f9c9629b6d8628748af72

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 7e9602cb8d612c58e394f6facf9fc2deaca68861a6efc2e0f7e56d260b945c19
MD5 d1883bb86320842f72b5888c2012a3dc
BLAKE2b-256 7e61fc6e046b6217fd93d168a7c1bdcad9dca6287f9667aee3868c73e3e70265

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: nazo_rand-0.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 90.1 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nazo_rand-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f379072c2324efdbf0ecc5de888f94f8c18e188646df2db0475d29556432f88d
MD5 ee02ae8a65e84d2dc46d0c4d76d6d4b1
BLAKE2b-256 d714e17772a269484ffe5a2299298f80787c371447ebf9addfd6f455a64f9795

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a42e78b986d905eda4459a03af0c738e51555057082db80fedecee4c52ceb3e4
MD5 bdb07c4c5e7f7db7245113cc46462731
BLAKE2b-256 7f34f58cce78648a83846ece81248116820bd0145de744eb17c6105726cdd37f

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 edd81c69080b6154db8fc716ade58bc581d6d2cce143a232dd7b9fb8f9b18dd3
MD5 9e9e3c0bcef360eab0a8f3e4cb0ba146
BLAKE2b-256 ea8fa0780a88bb2e37f15279521aeda43673ccabac508e4efa12634b5236851d

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: nazo_rand-0.1.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 90.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nazo_rand-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 492cb2ac60e4451663385222e1d9b52b788d2f2a3830664ee130a1d89566e665
MD5 5011ceef415bd99c7ca12a3aa4ac1ea6
BLAKE2b-256 ff3e025032a1bf2dbc653006d50df1ad74330a173d59ec84afeef9f2d1b7f8ab

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30505dabe143a85e81c472f2829b91bea9c6eef510c29c6d6bc305150de300b1
MD5 064041286f28bd576b4faf5f60ecbcfa
BLAKE2b-256 0256055bdab9364f38dbdaca2cffb4f8f202e8027a6b53b7394f5a5d7be501cf

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 742d431ca16f5f7ca4e7fec0eb9f1b462a6f1d21721f245c1f1d8e73ab077b8b
MD5 f19c5e5a3b6f24c3e7f6ccb555fcf887
BLAKE2b-256 287ede6bcb2348d9eab4a07fe04e3fd586d9b5240120a43ae9db92bc7d66139c

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: nazo_rand-0.1.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 90.0 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nazo_rand-0.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c356962bfff8e127765e4d37746a6fade84892f6615d95cfc8221e4af4969bdb
MD5 916f61101ff16265c4147ab00e27bbed
BLAKE2b-256 21135d98d810d71e1df6015c0ef8c0159db19c9a088e0d87c06ca2df896b151c

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 327418b8450febdcf596d90a6e099b8bbb7f9c25358e1a88f4dbf93aa45affc5
MD5 2c9e9218e8bacd7602b26ca5ee61bb52
BLAKE2b-256 de8039ed617fd529e822a0b7dff6f004ec13efc6986ad34eae1eefa071d9b47a

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d7ba5efa44fcfcced010f3ca7abcb48204319557943f0d7a5968ff3248d3a8f8
MD5 b914dce5c3527176d6eee63ffb325f1e
BLAKE2b-256 7254114722063d410bdc31d6a5dbb56507a6d97964a579bd572c5d8a7220887c

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: nazo_rand-0.1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 90.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nazo_rand-0.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d663331c77d8063755de985d66697d5254fc0d85711ad20a368d2c11deb5cb75
MD5 666e155bf942eb4260b1cf68ae29c4e2
BLAKE2b-256 754ca70896f1c5f1a2cb50178f8729368f9a49b99a43ed42f21a8ee15165f715

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 431c9c0345cae7453221aa121d43dd1afa45f8d9661b8b233c0a1f735c62af9f
MD5 05d9c868b210d952dd0ef931ee0b0d34
BLAKE2b-256 1e3b954d4bdfb23c85054967ed8325999a2a9ef26041ab6d08060b0ef840e4dd

See more details on using hashes here.

File details

Details for the file nazo_rand-0.1.1-cp38-cp38-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for nazo_rand-0.1.1-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 2a9ad8c7e8a77949787d9ef1a2aeb9d6c897ea7c5590dd041438f07de6fc5349
MD5 eaaee93ae0459d6e84414de504491f81
BLAKE2b-256 87b1c38127ab1118649daa0823b3da1271feb7e55f0b762bfe17d93bee128037

See more details on using hashes here.

Supported by

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