Skip to main content

Pure_NRNG

PyPI PyPI - Status GitHub Release Date Language grade: Python Codacy Badge PyPI - Downloads PyPI - Python Version PyPI - License

Generate multi-precision non-deterministic random Numbers package in python.

According to the calculation of the minimum entropy value of the raw entropy, the adaptive absorption of the appropriate entropy bit.

Installation

Installation can be done through pip. You must have python version >= 3.8

pip install pure-nrng

Usage

The statement to import the package:

from pure_nrng_package import pure_nrng
or
from pure_nrng_package import *

Example:

>>> nrng_instance = pure_nrng()
>>> true_rand_bits = nrng_instance.true_rand_bits(256)
>>> next(true_rand_bits)
>>> true_rand_float = nrng_instance.true_rand_float(256)
>>> next(true_rand_float)
>>> true_rand_int = nrng_instance.true_rand_int(100, 1)
>>> next(true_rand_int)

Metadata

Release files for pure-nrng 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pure-nrng 1.1.0
File Size Uploaded
pure_nrng-1.1.0.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pure-nrng 1.1.0
File Interpreter ABI Platform
pure_nrng-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / pure_nrng-1.1.0.tar.gz

Download URL pure_nrng-1.1.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1277efddf94c1fcd5106be593b7f4e5ca1704fd285f4764ee0880a7fddc98529
BLAKE2b-256 checksum
How to use checksums
f800728f25089dd2b8c89e51ce23925d1570e3bd9ba6166706aef35038216034
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / pure_nrng-1.1.0-py3-none-any.whl

Download URL pure_nrng-1.1.0-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f0f88c45b397b62d83ce14d69d6e4b5ed45aad20dbdd2dd1c6ce9e237f07180
BLAKE2b-256 checksum
How to use checksums
b426926b09f7dc086e1c374abed16c116930e602f9da9e99b069e6bee9cc25d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page