findlibs
A package to search for shared libraries on various platforms
Decision gist · record as of 2026-08-14
Yes, if you need to locate native shared libraries from Python and want to avoid hardcoding paths or writing platform-specific search logic. The permissive license, zero runtime dependencies, and active maintenance make it low-risk. The Alpha status and small user base mean edge cases may not be well-tested—verify behavior on your target platforms before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction install with no runtime dependencies.
- Active maintenance as of July 2026, though early-stage (Alpha) with minimal download volume relative to its top-5000 tier position.
License · maintenance · safety
Apache License Version 2.0 (permissive) — Apache License 2.0 (permissive) allows commercial use, modification, and redistribution with minimal restrictions—suitable for most projects.
last release 2026-07-14 (31 days) · last repo commit 2026-07-14 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,168,521 downloads/mo, #4,274 on PyPI
Alternatives
Verify before relying
pip install findlibs
import findlibs
lib_path = findlibs.find("eccodes")
# or with explicit package name:
lib_path = findlibs.find(lib_name="odccore", pkg_name="odc")- Whether the library search succeeds reliably on Windows (classifier says OS Independent, but most examples reference Unix-like platforms).
- Performance characteristics when searching across many paths or large directory trees.
- Stability of the Alpha API—whether the find() signature or behavior may change in future releases.
What it is and what it does
findlibs is a utility for locating shared libraries (like .so, .dylib, or .dll files) across different operating systems and installation contexts. It wraps a multi-stage search strategy that checks Python package installations, conda/virtualenv prefixes, environment variables (including custom HOME/DIR variables), user configuration files, standard system paths, and finally falls back to ctypes.util.find_library. This is useful when your Python code needs to call native libraries via ctypes or similar mechanisms but doesn't know where the system has installed them—common in scientific computing and data processing workflows where libraries like eccodes or odc may be installed in non-standard locations.
The package has no runtime dependencies and installs cleanly. It supports Python 3.10+ and is maintained actively, though it remains in Alpha status. The search behavior can be fine-tuned via environment variables to disable specific search stages, and users can define custom search paths in a configuration file.
Use it for
- Locate native libraries installed via conda or system package managers when calling them from ctypes or cffi.
- Build Python bindings that need to find platform-specific compiled libraries without hardcoding paths.
- Support multiple installation contexts (system, conda, custom HOME directories) in a single codebase.
- Resolve library paths in scientific Python packages that wrap Fortran or C libraries like eccodes.
- Debug library discovery issues by testing search paths in a controlled, configurable way.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to locate native shared libraries from Python and want to avoid hardcoding paths or writing platform-specific search logic.
The permissive license, zero runtime dependencies, and active maintenance make it low-risk. The Alpha status and small user base mean edge cases may not be well-tested—verify behavior on your target platforms before relying on it in production.
Install
findlibs on PyPI
Before you install
Low friction install with no runtime dependencies. Active maintenance as of July 2026, though early-stage (Alpha) with minimal download volume relative to its top-5000 tier position.
Requires Python 3.10 or later.
License in practice
Apache License 2.0 (permissive) allows commercial use, modification, and redistribution with minimal restrictions—suitable for most projects.
Quickstart
pip install findlibs
import findlibs
lib_path = findlibs.find("eccodes")
# or with explicit package name:
lib_path = findlibs.find(lib_name="odccore", pkg_name="odc")
Verify before relying
- Whether the library search succeeds reliably on Windows (classifier says OS Independent, but most examples reference Unix-like platforms).
- Performance characteristics when searching across many paths or large directory trees.
- Stability of the Alpha API—whether the find() signature or behavior may change in future releases.
Package facts
| License | Apache License Version 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 31 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,168,521 / month, #4,274 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 :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: findlibs-0.1.3-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 › “find shared libraries python”
- findlibsLocates shared libraries on the system by searching Python packages,…
- find-libpythonLocates the libpython dynamic library path for the current Python…
- abi3auditabi3audit scans Python extension wheels and shared objects for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also dllist · platformdirs · dlinfo · xdg-base-dirs · delocate · whichcraft · globmatch · spglib · python-discovery · pox