resolvelib
Resolve abstract dependencies into concrete ones
Decision gist · record as of 2026-08-14
Yes. ResolveLib is actively maintained, has no external dependencies, requires only Python 3.9+, carries a permissive license, and has no known vulnerabilities. It's a solid choice if you need to implement dependency resolution and want to avoid writing the algorithm yourself. Install it if you're building a package manager, build tool, or similar system that requires resolving abstract requirements to concrete versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low install friction with no runtime dependencies.
- Actively maintained as of March 2026, with 307 days since last release and a stable repository.
License · maintenance · safety
ISC License (permissive) — ISC License is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.
last release 2025-10-11 (307 days) · last repo commit 2026-03-16 · 166 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 22,346,464 downloads/mo, #976 on PyPI
Alternatives
Verify before relying
import resolvelib
class MyProvider:
# Implement required methods from resolvelib.providers interface
pass
provider = MyProvider()
reporter = resolvelib.BaseReporter()
resolver = resolvelib.Resolver(provider, reporter)
result = resolver.resolve(requirements)- Whether the provider interface is stable or subject to breaking changes in future releases.
- Performance characteristics when resolving large or complex dependency graphs.
- Whether backtracking behavior and conflict resolution strategy are documented.
What it is and what it does
ResolveLib is a generic dependency resolution library that decouples the resolution algorithm from the specifics of any particular package system. You provide a custom provider that tells the resolver how to interpret your requirements, fetch candidates, and identify dependencies; the resolver then handles the logic of finding a consistent set of concrete versions that satisfy all constraints.
It's designed for package managers, build systems, and other tools that need to resolve abstract dependency specifications into locked, concrete versions. The library handles the hard part—backtracking, conflict detection, and version selection—while you focus on adapting it to your domain's package format and metadata sources.
Use it for
- Building a custom package manager or dependency resolver for a domain-specific package format.
- Implementing version resolution in build tools or project scaffolders that manage third-party dependencies.
- Creating a dependency resolver for internal artifact repositories or private package ecosystems.
- Prototyping or testing alternative dependency resolution strategies without writing resolution logic from scratch.
- Integrating dependency resolution into tools that need to lock abstract requirements to concrete versions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
ResolveLib is actively maintained, has no external dependencies, requires only Python 3.9+, carries a permissive license, and has no known vulnerabilities. It's a solid choice if you need to implement dependency resolution and want to avoid writing the algorithm yourself. Install it if you're building a package manager, build tool, or similar system that requires resolving abstract requirements to concrete versions.
Install
resolvelib on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained as of March 2026, with 307 days since last release and a stable repository.
Requires Python 3.9 or later.
License in practice
ISC License is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
import resolvelib
class MyProvider:
# Implement required methods from resolvelib.providers interface
pass
provider = MyProvider()
reporter = resolvelib.BaseReporter()
resolver = resolvelib.Resolver(provider, reporter)
result = resolver.resolve(requirements)
Verify before relying
- Whether the provider interface is stable or subject to breaking changes in future releases.
- Performance characteristics when resolving large or complex dependency graphs.
- Whether backtracking behavior and conflict resolution strategy are documented.
Package facts
| License | ISC License permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 307 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 22,346,464 / month, #976 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Operating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules |
Evidence: resolvelib-1.2.1-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 › “dependency resolution algorithm”
- resolvelibResolveLib provides a generic dependency resolver that takes abstract…
- schedulaSchedula is a flow-based programming library that automatically…
- merge3Implements 3-way merge of text sequences, combining changes from two…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also nab-python · nab-resolver · requirementslib · sceptre-cmd-resolver · unearth · referencing · simplesat · pkgutil_resolve_name · sceptre-file-resolver · abstractcp