{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/3"}],"enrichment":{"capability":"Implements Promises/A+ specification for Python, enabling asynchronous value resolution and rejection with chainable then/catch handlers.","skillfed_tags":["async-pattern","legacy-maintained"],"use_cases":["Wrapping callback-based async operations (e.g., I/O) in a chainable Promise interface for cleaner control flow","Composing multiple async tasks with Promise.all() to wait for all to complete before proceeding","Converting Python Futures into Promises for interoperability with promise-based libraries or frameworks","Building promise-based libraries or frameworks that need a standard async abstraction layer","Handling rejection and error propagation through .catch() in async workflows without explicit try/except nesting"],"what_it_does":"Promise is a Python implementation of the Promises/A+ specification, a standard for handling asynchronous operations through chainable callbacks. It lets you wrap async work in a Promise object, resolve or reject it with a value, and attach handlers via .then() and .catch() that execute when the promise settles. The library supports composing multiple promises (Promise.all, Promise.for_dict) and wrapping existing futures.\n\nThe package has no runtime dependencies and works with Python 2.7 through 3.8 (and PyPy). It is designed to be a readable, performant alternative to raw callbacks for async patterns in Python, though modern Python now has native async/await syntax and asyncio, which may be preferable for new code.","worth_installing":"Yes-with-conditions. The package is stable (MIT, no known vulnerabilities, 367 GitHub stars) but dormant since 2019. Install only if you are maintaining legacy code that already uses promise or integrating with a framework that requires it. For new projects, use Python's native async/await and asyncio instead."},"id":"promise","links":{"html":"https://skillfed.io/packages/promise","md":"https://skillfed.io/packages/promise.md","pypi":"https://pypi.org/project/promise/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2019-12-18","license_spdx":null,"license_treatment":"permissive","name":"promise","python_support":"unspecified","summary":"Promises/A+ implementation for Python"},"popularity":{"monthly_downloads":3280496,"position":2676,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.3"}
