Desmod

Latest version: v0.6.1

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

Scan your dependencies

Page 1 of 4

0.6.1

-------------------------
* [FIX] Pool when_not_full and when_not_empty broken epsilon
* [FIX] Typing for SimEnvironment.time()
* [FIX] Typing for __exit__() methods

0.6.0

-------------------------
* [BREAK] Drop support for Python < 3.6
* [NEW] Inline type annotations
* [FIX] Use yaml.safe_load() in tests

0.5.6

-------------------------
* [NEW] PriorityPool for prioritized get/put requests
* [NEW] Queue.when_at_most() and when_at_least() events (18)
* [NEW] Pool.when_at_most() and when_at_least() events (18)
* [CHANGE] Remove Queue.when_new() event
* [CHANGE] Gas station example uses Pool/Pool.when_at_most() (18)
* [FIX] Add API docs for desmod.pool

0.5.5

-------------------------
* [NEW] Add Queue.when_not_full() and Pool.when_not_full()
* [NEW] Context manager protocol for Queue and Pool
* [CHANGE] Pool checks validity of get/put amounts
* [CHANGE] Pool getters/putters are not strictly FIFO
* [CHANGE] __repr__() for Queue and Pool
* [FIX] Pool no longer allows capacity to be exceeded
* [FIX] Pool and Queue trigger all getters and putters
* [FIX] Pool and Queue trigger from callbacks
* [FIX] Repair deprecated import from collections
* [FIX] Various Pool docstrings
* [FIX] Complete unit test coverage for Queue and Pool

0.5.4

-------------------------
* [NEW] Add desmod.pool.Pool for modeling pool of resources

0.5.3

-------------------------
* [FIX] Repair silent truncation of config override
* [CHANGE] Update dev requirements
* [CHANGE] Do not use bare except
* [CHANGE] Modernize travis-ci config

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.