Crjbsim

Latest version: v1.1

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

Scan your dependencies

Page 1 of 2

1.1

Adds support for scenario testing. See [test_scenarios.py](https://github.com/Spycho/crjbsim/blob/main/tests/test_scenarios.py) for an example of how to use it.

1.0

Breaking changes
Alters the `time_provider` to notionally store time in seconds, so as to match `asyncio.sleep`. In practice, all that really changes is the formatter, and you could use time in whatever units you like as long as you avoid using the `get_time_formatted` method.

New features
Adds support for using `asyncio` to build a discrete event simulation. This allows you to call `asyncio.sleep` to simulate time passing (e.g. machinery moving), and also await on instances of `asyncio.Event`. See tests/test_asyncio_des.py for an example.

0.7

0.6

0.5

0.4

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.