Skip to main content

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

Project description

rng_alg

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 rng_alg

Random with pi

rng_alg.RGN.pi_alg()

normal avanced rng

rng_alg.RGN.advanced_rng(1, 40) # generate between 1 to 40

hexadecimal

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

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

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

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

generate special charactere

rng_alg.RGN.special_char_gen() # 1 special charactere

rng_alg.RGN.special_char_gen(5) # 5 special charactere

rng_alg.RGN.special_char_gen(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.0.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.0.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rng_alg-1.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 df3da9cb91c359851a97acd344e2eebe2cfd102da067fdae697bb2ecbddd0c2e
MD5 2ae81e1179acfb8527c70ffecad05396
BLAKE2b-256 9e1953b89881ba6a8d5ee542d877573d2f6737b4f1b1d4d013f80aca5e6c25e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rng_alg-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9da029310ca6faf1ad92ed4af556dcd32d1dc529870b0ef555394a45be78cede
MD5 235ecbac1733534f8b5bc5f097f02f4f
BLAKE2b-256 3bbf6053f83986418b82fa657ebd70b9139f2691242b9f7d2b12d628dab2f4dc

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