Skip to main content

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)

Source distribution for mt19937ar 0.1.2
File Size Uploaded
mt19937ar-0.1.2.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mt19937ar 0.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.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