{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"}],"enrichment":{"capability":"Locates the libpython dynamic library path for the current Python environment, working across conda, system, and custom installations on Windows, macOS, and Linux.","skillfed_tags":["build-system","c-interop","cross-platform"],"use_cases":["Embed a Python interpreter in a C/C++ application by discovering the correct libpython to link against.","Build Python extension modules in makefile-based systems by querying the script for the libpython path.","Automate library path resolution in distutils or setuptools-based build systems across multiple platforms.","Locate libpython in conda environments or custom Python installations for FFI bindings.","Debug Python installation issues by inspecting candidate library names and paths via CLI flags."],"what_it_does":"find_libpython is a utility that discovers the path to the libpython shared library for your current Python environment. It handles the complexity of locating libpython across different installation methods\u2014conda, system package managers, custom builds\u2014and different operating systems. The package works both as a command-line tool (useful in makefiles and build scripts) and as a Python library (useful in distutils-based build systems or Python code that embeds a Python interpreter).\n\nThe main use case is enabling other projects to link against or embed Python without hardcoding library paths. It abstracts away platform-specific search logic and installation variations, returning either the path as a string or None if the library cannot be found. No external dependencies are required, making it lightweight to integrate into build toolchains.","worth_installing":"Yes. The package solves a genuine cross-platform problem with no dependencies, active maintenance, and a permissive license. Install it if you need to locate libpython for embedding, linking, or build automation. The low friction and clear scope make it a safe addition to build toolchains."},"id":"find-libpython","links":{"html":"https://skillfed.io/packages/find-libpython","md":"https://skillfed.io/packages/find-libpython.md","pypi":"https://pypi.org/project/find-libpython/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-11","license_spdx":null,"license_treatment":"permissive","name":"find-libpython","python_support":"supports_current","summary":"Finds the libpython associated with your environment, wherever it may be hiding"},"popularity":{"monthly_downloads":986854,"position":4572,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.1"}
