mt19937ar
Python implementation of mt19937ar
Installation
pip install mt19937ar
Usage
from mt19937ar import MT19937ar
mt = MT19937ar()
mt.init_by_array([0x123, 0x234, 0x345, 0x456])
print(mt.genrand_int32()) # 1067595299
print(mt.genrand_int32()) # 955945823
print(mt.genrand_int32()) # 477289528
Metadata
Release files for mt19937ar 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mt19937ar-0.1.2.tar.gz | 11.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mt19937ar-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / mt19937ar-0.1.2.tar.gz
| Download URL | mt19937ar-0.1.2.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e47df1c77b397cdb89f65490a04a38f473c11b0444daa914a097d873cd430c5e
|
|
BLAKE2b-256 checksum How to use checksums |
7da5a24107a331d0ae4d6d1d96f8b6b1db6b377f691981bd81f1c0415b9731da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|
Release files / mt19937ar-0.1.2-py3-none-any.whl
| Download URL | mt19937ar-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dada069289f51be8df118293196811121e094bfcb39ac0eff76e50c3fc42eabf
|
|
BLAKE2b-256 checksum How to use checksums |
938da72db3cfd0a160109c3be74147a6f64cfd975b3664cd760596a376a166b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|