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 rngalg

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.4.0.tar.gz (2.3 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.4.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rng_alg-1.4.0.tar.gz
  • Upload date:
  • Size: 2.3 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.4.0.tar.gz
Algorithm Hash digest
SHA256 878d35556de1e23fc5ea557273a51314c9cd61eaded0a61301c55430c749ba79
MD5 633282333ea94163c71a6a8a80b355fc
BLAKE2b-256 4729cf4c8dddfa7b3f2483ebd8c42534ff5009dc2864fe19fc38b821c6a6c908

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rng_alg-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fdc22f14a02b3caf83517acb8fafc8e92c4416fa34963fc24e6605eaca46ff1
MD5 d3b2af997ea413e76758e977309c731f
BLAKE2b-256 55b419cfe4fc538dc77d15011e2c7b4cc9297c6ac65acc95243afb11525b73b6

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