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.1.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.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rng_alg-1.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 b53095737a2d9f1bff7f4e41ed6147d3455795d712ebc181f8b4879938f32fe6
MD5 fda40de5eb7a5faeb403c924509acc7d
BLAKE2b-256 499474eeb0e28e42dfd05bf629a2b76414862d07ce06d5bad97338918cccfe9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rng_alg-1.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b75d1dd3bf7262f17117008440dbe69f661bac227ebb410c5f644027e394e7f0
MD5 fc4de4975c5d9d76503a5cb4ee1e66e0
BLAKE2b-256 56589da13bd105a3f116562f0fcedc895d1901bb627059ab01d7a259598f0240

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