Current collected state Current
Observed since 20 Oct, 21:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aftercare
Teardown orchestration: reverse-order cleanup with success logging.
Teardown orchestration for Python. Register cleanup steps, then run them in reverse order on exit — logging each one's success or failure without short-circuiting the rest.
pip install aftercare
from aftercare import Aftercare
order = []
with Aftercare() as ac:
ac.add(lambda: order.append("close_db"), name="close_db")
ac.add(lambda: order.append("flush_cache"), name="flush_cache")
# main work...
assert order == ["flush_cache", "close_db"]
assert all(r.ok for r in ac.results)
This is an early 0.1.0 release with active development planned:
Coldbricks — coldbricks@gmail.com
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
bdist_wheel · 3.5 KB · Python py3
sdist · 2.89 KB · Python source
Observed since 20 Oct, 21:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:00e6954dcffb2f014fbab45e09e0e29e8a256696b991b5b2a25c934816da548c