Ixia
Ixia is a cryptographically secure Python RNG library. It mainly merges
secrets' security with random's versatility, but also rolls some of its own
functions, such as ixia.passphrase(),
ixia.shuffled(),
or ixia.universe_rand().
All random values are generated using urandom
(or BCryptGenRandom onWindows).
Installation
Ixia is available on PyPI and can be installed with pip, or any other Python package manager:
pip install ixia
(Some systems may require you to use pip3, python -m pip, or py -m pip
instead.)
Documentation
Ixia documentation is available at https://trag1c.github.io/ixia/.
[!warning] While supporting Python 3.9+, Ixia is based on the Python 3.13 implementation of the
randommodule. The following changes have been made to the module since Python 3.9:
gauss,expovariateandnormalvariatehave default parameter valuesbinomialvariatewas addedAdditionally, Ixia executes 3.9+ deprecations, thus:
ixia.rand_rangedoesn't convert non-integer types to equivalent integersixia.sampledoesn't supportsetas a sequence typeixia.shuffledoesn't support therandomparameter
Contributing
Contributions are welcome!
Please open an issue before submitting a pull request (doesn't apply to minor changes like typos).
To get started:
- Clone your fork of the project.
- Install the project with uv:
uv sync
- After you're done, use the following
justrecipes to check your changes (or run the commands manually):
just check # pytest, mypy, ruff
just coverage # pytest (with coverage), interrogate (docstring coverage)
License
ixia is licensed under the MIT License.
© trag1c, 2022–2025
Metadata
Release files for ixia 2.0.0
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 |
|---|---|---|---|---|
| ixia-2.0.0.tar.gz | 78.9 kB | Without provenance | Details for ixia-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ixia-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for ixia-2.0.0-py3-none-any.whl |
Total release size: 93.2 kB
Release files / ixia-2.0.0.tar.gz
| Download URL | ixia-2.0.0.tar.gz |
|---|---|
| Size | 78.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89d6372287150b7355ab867b30ed72e2f90bd478990bccf4904230a4fbac1ce2
|
|
BLAKE2b-256 checksum How to use checksums |
4d3b420b3425b2f71e6dce6e5c16936e289e37395bb7d628dbea9b978c32f7f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.21
|
Release files / ixia-2.0.0-py3-none-any.whl
| Download URL | ixia-2.0.0-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13f3bb9dc9a0de5c1004297839aa78c699505a2962e991a04dfb9627473f9ca0
|
|
BLAKE2b-256 checksum How to use checksums |
f636b90848f74aa7852d51d810521366501d7c2e23eef2aee7e5c1ad8b1edadc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.21
|
Security for ixia 2.0.0
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.