Svcs

Latest version: v24.1.0

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

Scan your dependencies

Page 4 of 4

23.4.0

The only difference is that we've rebranded ourselves to *svcs* which is easier to type and leaves back the "registry" baggage.

I'm still open to better names before we go official tho!

23.3.0

Added

- Async method `Container.aget()`. This was necessary for generator-based cleanups. It works with sync factories too, so you can use it universally in async code.
- Async method `ServicePing.aping()`. It works with sync factories and pings too, so you can use it universally in async code. [\4](https://github.com/hynek/svc-reg/pull/4)

Changed

- Switched the cleanup mechanism from passing a function to allowing the factory to be a generator that yields the resource and can clean up after the `yield`. Just like Pytest fixtures. [\3](https://github.com/hynek/svc-reg/pull/3)

23.2.0

Still totally in RFC mode, so I've activated discussions for this project: https://github.com/hynek/svc-reg/discussions/1

Feel free to LMK what you think, the changes are [here](https://github.com/hynek/svc-reg/blob/main/CHANGELOG.md).

23.1.0

This is the first release and more of a RFC. I'm using it in production in conjunction with Flask for years, but I wonder where it could be taken.

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.