Skip to main content

mt19937ar for Python

Project description

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

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

mt19937ar-0.1.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mt19937ar-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file mt19937ar-0.1.1.tar.gz.

File metadata

  • Download URL: mt19937ar-0.1.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for mt19937ar-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cd913011d912d66f4a6163b21c3a46fcedbc0fc087b3d679aaff2074328cb2ad
MD5 b8e32964966c43170225328e0d083633
BLAKE2b-256 bbca5477f04c6fd3c2412949c73280282b5d102526564ff88602cd2b712352b2

See more details on using hashes here.

File details

Details for the file mt19937ar-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mt19937ar-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for mt19937ar-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68f3f571f907e6bb8034c7ed1163b0dd80bdb4efaf4881068d46b9176b9fd2bd
MD5 3ecf044a6dbc23b7e5f354021f90c810
BLAKE2b-256 c83d9a169fb01a3fd261c68e7609aacf18328f8f357a7ccf084c9bd12980456c

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