FortranRNG
Fortran RNG for Python3
Installation requires a modern Fortran compiler.
- macOS: Gfortran
brew install gcc - Debian Linux: Gfortran
apt install gcc gfortran - Amazon (Red Hat) Linux: Gfortran
yum groupinstall "Development Tools" - Windows: Cygwin
www.cygwin.org/cygwin, good luck with that!
PyPi Installation
python3 -m pip install FortranRNG
Source Installation
python3 -m pip install ./FortranRNG
FortranRNG Python Interface
- Boolean Generator
FortranRNG.percent_true(percent: float) -> bool(int)
- Integer Generators
FortranRNG.random_below(limit: int) -> intFortranRNG.random_integer(low: int, high: int) -> intFortranRNG.random_range(start: int, stop: int, step: int) -> intFortranRNG.d(sides: int) -> intFortranRNG.dice(rolls: int, sides: int) -> intFortranRNG.plus_or_minus(amount: int) -> intFortranRNG.plus_or_minus_linear(amount: int) -> int
- Float Generators
FortranRNG.canonical() -> floatFortranRNG.random_float(low, high) -> floatFortranRNG.triangular(low: float, high: float, mode: float) -> float
- ZeroCool Index Generators
FortranRNG.random_index(limit) -> intFortranRNG.front_linear(limit) -> intFortranRNG.middle_linear(limit) -> intFortranRNG.back_linear(limit) -> intFortranRNG.quantum_linear(limit) -> int
- Arrays
FortanRNG.array.random_below(limit, width, height) -> np.array
Metadata
Release files for FortranRNG 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FortranRNG-1.5.1.tar.gz | 11.6 kB | Without provenance | Details for FortranRNG-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FortranRNG-1.5.1-cp310-cp310-macosx_10_9_universal2.whl | CPython 3.10 | CPython 3.10 | macOS 10.9+ universal2 (ARM64, x86-64) | Details for FortranRNG-1.5.1-cp310-cp310-macosx_10_9_universal2.whl |
Total release size: 39.6 kB
Release files / FortranRNG-1.5.1.tar.gz
| Download URL | FortranRNG-1.5.1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
faf28147893bf6502ceaf36fc1c65ba70441c3e294f502b020ff9d7aa178a950
|
|
BLAKE2b-256 checksum How to use checksums |
81560969ea2acbf9967e09a3f2fd00e5975d1cd5bfd176590ddb17d09589d864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.2
|
Release files / FortranRNG-1.5.1-cp310-cp310-macosx_10_9_universal2.whl
| Download URL | FortranRNG-1.5.1-cp310-cp310-macosx_10_9_universal2.whl |
|---|---|
| Size | 28.0 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
e3b4cec20368b78765e0c3e3e56e43b1d1b5244076b5a290403415e39f986c13
|
|
BLAKE2b-256 checksum How to use checksums |
af879a3275fa525c00a2c8ed8c98de515ad6889872591ac2edc57240382ef7a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.2
|
Security for FortranRNG 1.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.