Ezq

Latest version: v3.0.4

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

Scan your dependencies

Page 2 of 2

2.0.2

**Changed**

- `iter_msg` to handle `block` parameter
- `iter_sortq` to be a more generic `sortiter`

**Added**

- [Documentation](https://metaist.github.io/ezq)
- `sortiter` which is a more general form of `iter_sortq`
- `iter_q` for iterating over current contents of a queue

**Removed**

- `count` parameter for `endq`; it was only used internally and was confusing

---

2.0.1

**Fixed**

- README link to license.
- `setup.py` to contain a better `long_description`.

---

2.0.0

**Changed**

- `iter_msg()` no longer checks against a global `IS_ALIVE` boolean. It runs until the queue is ended or the process is killed (possibly throwing errors).
- `wait()` is now called `endq_and_wait` to more clearly explain its function.
- README with more examples and key concepts.

**Added**

- `iter_sortq()`: iterates over the contents of a queue in a sorted way. Useful for collating results in a single process at the end of a pipeline.
- `endq()`: adds the special `END_MSG` to the queue. This makes the API cleaner in terms of ending queues that don't require waiting.

**Removed**

- `IS_ALIVE`, `stop_iter_msg()`: Originally, these were to stop `iter_msg()` from continuing when there was a `SIGINT`. However, this didn't really work properly and so was removed.
- `Daemon`, `start_processes()`, `start()`, `start_numbered()`: these have all been replaced with a simpler `run()` function.

---

1.0.0

Initial release.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.