Ayto

Latest version: v1.0.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0

First "production" release
- core API finalized
- `save` and `load` to/from a lightweight JSON file by simply tracking and replaying events
- 100% test coverage

0.4.0

- change `save`/`load` behavior to json, though I plan to change this again before v1
- `probabilities` is no longer a property, just an attribute
- refactor to better support new `try_partial_scenario` feature
- new `try_partial_scenario` feature lets user test out hypothetical situations, including hypothetical matches and non-matches. (closes 5 )
- tests for `try_partial_scenario`
- test coverage calculation

0.3.0

user-facing:
- added benchmark tests on realistic dummy data
- replaced `itertools.permutations` with Daniel Giger's `faster_permutations` from [Stack Overflow](https://stackoverflow.com/a/71231033), speeding up AYTO initialization substantially
- reimplemented `compute_probabilities` with numpy methods instead of for loops, speeding up probability computation substantially

dev-facing:
- remove unused `girls` and `guys` test fixtures
- added new `names_long` test fixture

0.2.0

- use numpy instead of a for loop for pruning scenarios
- don't expose `scenarios` attribute, just expose `num_scenarios`
- remove `verbose` mode
- change names:
- `AYTO.probs` -> `AYTO.probabilities`
- `AYTO.calc_probs` -> `AYTO.calculate_probabilities`

0.1.0

Initial release, basic functionality implemented

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.