feu
A lightweight Python library for managing packages and versions across different Python environments
Decision gist · record as of 2026-08-14
Yes, if you need to manage package versions across multiple Python environments or automate version compatibility checks. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Start with the basic import/version-check functions; the CLI and GitHub utilities are optional. Not necessary if you only target a single Python version or manually manage dependencies.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with only packaging and tomli as runtime dependencies.
- Active maintenance with a release 4 days ago; repository shows recent activity.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute feu with minimal restrictions, provided you include the license notice.
last release 2026-08-10 (4 days) · last repo commit 2026-08-14 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 938,001 downloads/mo, #4,688 on PyPI
Alternatives
Verify before relying
pip install feu
from feu.imports import is_package_available
from feu.compat import Target, find_closest_version
if is_package_available("numpy"):
version = find_closest_version(
pkg_name="numpy", pkg_version="2.0.2", target=Target(python_version="3.10")
)
print(f"Closest valid version: {version}")- Whether built-in registry covers the packages you need or if PyPI fallback is reliable for your use case.
- Performance characteristics when querying PyPI for version compatibility on large package lists.
- Accuracy of version compatibility predictions across different OS and CPU architectures.
What it is and what it does
feu is a lightweight library that automates Python package version management across different Python environments. It solves the problem of manually tracking which package versions work with which Python versions by providing tools to check package availability, discover compatible versions from PyPI, and validate versions before installation. The core functionality depends only on packaging, with optional dependencies for CLI tools and GitHub integration.
Typically used when you need to support multiple Python versions in a project or when deploying code to environments with different Python versions and package availability. It includes a built-in registry of compatibility information for popular packages like numpy, pandas, and torch, and falls back to PyPI discovery for packages not in the registry.
Use it for
- Verify if a package is installed and get its version before attempting to use it in your code.
- Find the closest compatible version of a package for a specific Python version before installation.
- Automate version selection in CI/CD pipelines to prevent installation failures across multiple Python versions.
- Build tools that need to discover and install packages with automatic version compatibility checks.
- Support multi-version Python projects by querying compatibility across different target environments.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to manage package versions across multiple Python environments or automate version compatibility checks.
The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Start with the basic import/version-check functions; the CLI and GitHub utilities are optional. Not necessary if you only target a single Python version or manually manage dependencies.
Install
feu on PyPI
Before you install
Low install friction with only packaging and tomli as runtime dependencies. Active maintenance with a release 4 days ago; repository shows recent activity.
Requires Python 3.10 or later.
License in practice
BSD-3-Clause is permissive; you can use, modify, and distribute feu with minimal restrictions, provided you include the license notice.
Quickstart
pip install feu
from feu.imports import is_package_available
from feu.compat import Target, find_closest_version
if is_package_available("numpy"):
version = find_closest_version(
pkg_name="numpy", pkg_version="2.0.2", target=Target(python_version="3.10")
)
print(f"Closest valid version: {version}")
Verify before relying
- Whether built-in registry covers the packages you need or if PyPI fallback is reliable for your use case.
- Performance characteristics when querying PyPI for version compatibility on large package lists.
- Accuracy of version compatibility predictions across different OS and CPU architectures.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespackagingtomli |
| Maintenance | Actively maintained 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 938,001 / month, #4,688 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Installation/SetupTopic :: System :: Software DistributionTopic :: Utilities |
Evidence: feu-0.8.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 › “python package version compatibility”
- feufeu checks package availability, resolves compatible versions across…
- oldest-supported-numpyProvides the oldest version of NumPy compatible with a given Python…
- dbt-fusion-package-toolsUpgrades dbt package dependencies to versions compatible with dbt…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also verspec · update · coola · datapackage · dep-logic · unearth · django-nine · enum-compat · update_checker · ansible-compat