Releases: trag1c/ixia
Releases · trag1c/ixia
Ixia 1.3.2
Added
- A
py.typed
marker - Missing docstrings for
ixia.rand_date
andixia.rand_time
ixia.passphrase
now also accepts any path-like object
Fixed
- Corrected a typo in
ixia.sample
's docstring - Corrected
ixia.passphrase
path handling for non-macOS targets - Included
ixia.binomial_variate
in__all__
and made it correctly importable
Ixia 1.3.1
Fixed
- Included
rand_ints
in__all__
Ixia 1.3.0
Redoing this release as it turns out I never bumped the version and it was never published on PyPI
Added
ixia.choice
now accepts aweights
or acumulative_weights
argumentixia.rand_ints(a, b, k)
, equivalent to[ixia.rand_int(a, b) for _ in range(k)]
- Updated the project to be based on the Python 3.12 implementation:
- Added a default value of
1.0
forixia.expo_variate
- Added
ixia.binomial_variate
- Added a default value of
Changed
ixia.choice
now does an early check for an empty sequence- Improved speed for
ixia.rand_bool
(~35% faster) andixia.choices
(~3% faster)
Ixia 1.2.0
Added
rand_date(start: Datelike, end: Datelike | None = None) -> datetime.date
rand_time(start: Timelike | None = None, end: Timelike | None = None) -> datetime.time
Changed
- Improved project structure
Ixia 1.1.0
Added
rand_bool() -> bool
rand_line(file: TextIOBase | str) -> str
- Default values for
gauss
andnormal_variate
(to comply with Python 3.11)
Ixia 1.0.0
Initial release 🎉