vine
Python promises.
Decision gist · record as of 2026-08-14
Yes, if you need promise-based async workflows or lazy evaluation patterns. The package is production-stable, actively maintained, has zero dependencies, and carries a permissive license. Install it only if your application actually needs promise semantics; it is not a general-purpose async tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with no runtime dependencies.
- The package is actively maintained with a recent commit on 2026-08-12 and has been stable since its initial release in 2016-03-02.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.
last release 2023-11-05 (1013 days) · last repo commit 2026-08-12 · 128 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 54,038,980 downloads/mo, #546 on PyPI
Alternatives
Verify before relying
from vine import promise
# Create and chain promises
p = promise()
p.then(lambda x: print(x))- Whether vine is the primary promise implementation used by Celery or if it serves other projects as well
- Performance characteristics compared to asyncio or other async frameworks in typical workloads
- Specific usage patterns and API surface beyond the promise/lazy evaluation core
What it is and what it does
Vine is a promise library for Python that implements a composable abstraction for deferred values and lazy evaluation. Unlike many promise implementations, vine allows promises to be nested—callbacks, filters, and error handlers can themselves return promises, enabling flexible chaining and composition patterns.
The library supports Python 3.7 through 3.12 and has no external runtime dependencies, making it lightweight to integrate. It is actively maintained and carries a permissive BSD license, suitable for both open-source and proprietary projects.
Use it for
- Building async workflows where results depend on other deferred outcomes
- Implementing lazy evaluation chains where computation is deferred until results are needed
- Composing error handling and retry logic across multiple asynchronous operations
- Creating promise-based callback systems where handlers themselves may be promises
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need promise-based async workflows or lazy evaluation patterns.
The package is production-stable, actively maintained, has zero dependencies, and carries a permissive license. Install it only if your application actually needs promise semantics; it is not a general-purpose async tool.
Install
vine on PyPI
Before you install
Low friction installation with no runtime dependencies. The package is actively maintained with a recent commit on 2026-08-12 and has been stable since its initial release in 2016-03-02.
License in practice
BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.
Quickstart
from vine import promise
# Create and chain promises
p = promise()
p.then(lambda x: print(x))
Verify before relying
- Whether vine is the primary promise implementation used by Celery or if it serves other projects as well
- Performance characteristics compared to asyncio or other async frameworks in typical workloads
- Specific usage patterns and API surface beyond the promise/lazy evaluation core
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,013 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 54,038,980 / month, #546 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: vine-5.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “python promises library”
- vineVine provides a Python implementation of promises that support both…
- promiseImplements Promises/A+ specification for Python, enabling…
- nvidia-cutlass-dsl-libs-cu13Provides a Python DSL for writing high-performance CUDA kernels using…
Give your agent the search over MCP, or paste the wish link into any chat.
Similar packages
Implements Promises/A+ specification for Python, enabling asynchronous value resolution and rejection with chainable then/catch handlers.
Install only if you are maintaining legacy code that already uses promise or integrating with a framework that requires it.
Adds promise-based resolver and dataloader support to graphql-core v3+, enabling synchronous promise patterns as an alternative to asyncio for GraphQL execution.
However, the aging maintenance status (525 days since last release) means you should verify compatibility with your target graphql-core version and be prepared to…
Provides functional-style utilities for Python including Optional, Stream, Refreshable, and Supplier classes to simplify chaining operations on iterables and managing optional or lazy-evaluated values.
Lazify provides lazy evaluation utilities for Python, enabling deferred computation and proxy-based lazy object handling.
However, the lack of releases since 2018 and sparse documentation mean you should verify that its lazy patterns match your use case before committing to it.
Provides a @lazy decorator that defers computation of object attributes until first access, then caches the result for subsequent uses.
Install it if you need lazy attribute evaluation in your codebase.
Flupy provides a fluent interface for lazy evaluation of operations on Python iterables, allowing you to chain transformations like map, filter, and chunk while processing data in constant memory regardless of input size.
Install it if you want readable, chainable lazy evaluation for iterables without the overhead of larger frameworks.
See also duet · requests-futures · lazy-object-proxy · lazy-model