Skip to main content

A package for random number generation algorithms like hexadecimal, pi, and advanced RNGs.

Project description

rngalg

Description

This add some random algorithm with pi, hex, advanced rng and special charactere generator

📦 Installation 📦

Just one command

pip install rng-alg

Use

import rngalg

Random with pi

rngalg.pialg()

normal avanced rng

rngalg.advancedrng(1, 40) # generate between 1 to 40

hexadecimal

rngalg.hex() # generate hexadecimal number between 1 to FFFFF

rngalg.hex(100, 1000) # generate hexadecimal number between 100 to 1000

rngalg.hex(None, 5000) # generate hexadecimal number between 1 to 5000

rngalg.hex(200, None) # generate hexadecimal number between 200 to FFFFF

generate special charactere

rngalg.specialchargen() # 1 special charactere

rngalg.specialchargen(5) # 5 special charactere

rngalg.specialchargen(10) # 10 special charactere

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

rng_alg-1.6.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

rng_alg-1.6.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file rng_alg-1.6.0.tar.gz.

File metadata

  • Download URL: rng_alg-1.6.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for rng_alg-1.6.0.tar.gz
Algorithm Hash digest
SHA256 dc66da88093b94ba5073bb4b0c06b9c15b9bd78f2e5cb720ee08babbd5deaf7b
MD5 e709e39d4a87a058fd14b17f09620188
BLAKE2b-256 32795879eb59db2ac3cc2a7ae35ee9a5b484d6ecb9cd938e02dffde4a466ca81

See more details on using hashes here.

File details

Details for the file rng_alg-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: rng_alg-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for rng_alg-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a571621e70a0c481575122d7d60dd79cbd0cbf468f802a4622e5059d27a45af
MD5 e10147d038f30a7c7fa6e7860128fd2b
BLAKE2b-256 a9021083272ab43bd43d427b8a0e7e3a25c1e568a870f28c98ff9c983f0539ff

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