Skip to content

Releases: trag1c/ixia

Ixia 1.3.2

03 Jun 12:27
bb120e0
Compare
Choose a tag to compare

Added

  • A py.typed marker
  • Missing docstrings for ixia.rand_date and ixia.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

02 Oct 07:52
d6d28e3
Compare
Choose a tag to compare

Fixed

  • Included rand_ints in __all__

Ixia 1.3.0

02 Oct 07:16
9671975
Compare
Choose a tag to compare

Redoing this release as it turns out I never bumped the version and it was never published on PyPI

Added

  • ixia.choice now accepts a weights or a cumulative_weights argument
  • ixia.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 for ixia.expo_variate
    • Added ixia.binomial_variate

Changed

  • ixia.choice now does an early check for an empty sequence
  • Improved speed for ixia.rand_bool (~35% faster) and ixia.choices (~3% faster)

Ixia 1.2.0

12 Mar 16:50
d0ec8a2
Compare
Choose a tag to compare

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

02 Mar 13:39
5b5fb28
Compare
Choose a tag to compare

Added

  • rand_bool() -> bool
  • rand_line(file: TextIOBase | str) -> str
  • Default values for gauss and normal_variate (to comply with Python 3.11)

Ixia 1.0.0

31 Oct 05:04
Compare
Choose a tag to compare

Initial release 🎉