Connecting secrets' security with random's versatility
Project description
Ixia
Ixia is a cryptographically secure RNG library. It mainly merges secrets
'
security with random
's versatility, but also adds some of its own
functions, such as ixia.passphrase()
,
ixia.shuffled()
or ixia.universe_rand()
.
All random values are generated using urandom
(or BCryptGenRandom
on Windows).
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/.
License
Ixia is licensed under the MIT License.
⚠️ Important Notes
While supporting Python 3.8+, Ixia is based on the Python 3.12 implementation
of the random
module. The following changes have been made to the module
since Python 3.8:
getrandbits
accepts 0 fork
choices
raises aValueError
if all weights are zerosample
has a newcounts
parametergauss
andnormal_variate
have default parameter values
Additionally, Ixia executes 3.9+ deprecations, thus:
ixia.rand_range
doesn't convert non-integer types to equivalent integersixia.sample
doesn't supportset
as a sequence typeixia.shuffle
doesn't support therandom
parameter
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
Built Distribution
File details
Details for the file ixia-1.3.2.tar.gz
.
File metadata
- Download URL: ixia-1.3.2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.8.18 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40eb26f46064bd2cf04748b077b4d3037db5243cdd8f721c3a2958cbf0105d03 |
|
MD5 | 67c7be93dd350969b4dfe561347b3da6 |
|
BLAKE2b-256 | 1a6fa884908f7be2c930158c01a65ba812917e0e1f85ce6e3aae737c6f9d6256 |
File details
Details for the file ixia-1.3.2-py3-none-any.whl
.
File metadata
- Download URL: ixia-1.3.2-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.8.18 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea01304ec00844a72d3276482cc627df4d216ce0d5ae9827263aac57375ca5d |
|
MD5 | 6be8e82e262df030da96d2dd2e8b17a8 |
|
BLAKE2b-256 | 9f731a4ead8cab50a448d0441ef454dabc4fe0c286b1fb80d4dad9fb6ebdc5cf |