--- id: outcome version: "1.3.0.post0" license: MIT OR Apache-2.0 license_treatment: permissive maintenance: aging --- # outcome — Capture the outcome of Python function calls. License: permissive · Maintenance: aging · Popularity: top 1,000 on PyPI ## Install pip install outcome uv add outcome poetry add outcome ## Description .. image:: https://img.shields.io/badge/chat-join%20now-blue.svg :target: https://gitter.im/python-trio/general :alt: Join chatroom .. image:: https://img.shields.io/badge/docs-read%20now-blue.svg :target: https://outcome.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://travis-ci.org/python-trio/trio.svg?branch=master :target: https://travis-ci.org/python-trio/outcome :alt: Automated test status (Linux and MacOS) .. image:: https://ci.appveyor.com/api/projects/status/c54uu4rxlgs2usmj/branch/master?svg=true :target: https://ci.appveyor.com/project/RazerM/outcome/history :alt: Automated test status (Windows) .. image:: https://codecov.io/gh/python-trio/trio/branch/master/graph/badge.svg :target: https://codecov.io/gh/python-trio/outcome :alt: Test coverage outcome ======= Welcome to `outcome `__! Capture the outcome of Python function calls. Extracted from the `Trio `__ project. License: Your choice of MIT or Apache License 2.0 ## AI interpretation — verify before relying Captures the outcome of Python function calls as either a success value or an exception, providing a structured way to handle and propagate results without raising. Verdict: Stable, well-maintained utility for structured result handling extracted from the Trio async framework. No known vulnerabilities, permissive dual licensing, and minimal dependencies make it a low-risk addition. The aging maintenance status reflects infrequent updates rather than abandonment—appropriate for a mature, focused library. [View on SkillFed](https://skillfed.io/packages/outcome) · [View on PyPI](https://pypi.org/project/outcome/)