{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/4"}],"enrichment":{"capability":"ccimport builds Python C++ bindings on-the-fly using pybind11 and ninja, letting you compile and import C++ code directly from Python without separate build steps.","skillfed_tags":["c++-binding","build-automation","pybind11"],"use_cases":["Rapidly prototype C++ algorithms in Python without writing a full setup.py and build configuration.","Embed performance-critical C++ code directly in a Python script for one-off computation or testing.","Build Python bindings for existing C++ libraries during development without committing to a formal build system.","Automate C++ module compilation in a Python-based build or CI pipeline that needs dynamic compilation.","Teach or demonstrate C++ integration with Python in interactive environments without build boilerplate."],"what_it_does":"ccimport is a lightweight wrapper around pybind11 and ninja that compiles C++ source files into Python-importable modules on demand. Instead of writing a setup.py and running a separate build step, you call ccimport.ccimport() with your C++ source paths, output directory, and build configuration (includes, compiler flags, linker flags), and it handles compilation and loading in one go. It's designed for rapid iteration during development or for embedding C++ code directly in Python scripts without a formal build infrastructure.\n\nThe package depends on pybind11 for C++-to-Python binding generation, ninja for fast parallel compilation, requests for potential network operations, and importlib-metadata for runtime package introspection. It requires Python 3.6 or later and a system C++ compiler. With dormant maintenance (last release 668 days ago) but no known vulnerabilities and a stable dependency chain, it remains usable for straightforward binding tasks, though long-term support is uncertain.","worth_installing":"Yes, if you need fast on-demand C++ compilation for Python and are comfortable with dormant maintenance. The low install friction, permissive MIT license, stable dependencies, and zero known vulnerabilities make it safe to use. However, be aware that the last release was 668 days ago; if you encounter issues with newer Python or compiler versions, community support may be limited. Best suited for development workflows or one-off scripts rather than production systems requiring active maintenance."},"id":"ccimport","links":{"html":"https://skillfed.io/packages/ccimport","md":"https://skillfed.io/packages/ccimport.md","pypi":"https://pypi.org/project/ccimport/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-10-15","license_spdx":null,"license_treatment":"permissive","name":"ccimport","python_support":"supports_current","summary":"a tiny package for fast python c++ binding build."},"popularity":{"monthly_downloads":182040,"position":10108,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.4"}
