{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/9"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"}],"enrichment":{"capability":"cwrap is a Python wrapper around C code that builds on ctypes, allowing you to call C functions and work with C data structures from Python.","skillfed_tags":["c-interop","ctypes"],"use_cases":["Wrapping a C library to call its functions from Python without writing a C extension module","Defining Python-friendly interfaces to C structs and data types for scientific or systems code","Rapid prototyping of C bindings during development before committing to a full extension","Integrating legacy C code into a Python application without rewriting it"],"what_it_does":"cwrap simplifies the process of wrapping C code for use in Python by building on top of ctypes. Rather than writing raw ctypes bindings by hand, cwrap provides a higher-level interface to reduce boilerplate and make C interop more ergonomic. It is intended for developers who need to call C functions or work with C data types from Python but want to avoid writing C extension modules.\n\nThe package has been in active development since its first release and is marked as Production/Stable. It carries no runtime dependencies, making it lightweight to add to a project. The GPL-3.0 copyleft license means you must ensure compatibility with your project's licensing model before use.","worth_installing":"Yes, if you need to call C code from Python and prefer a higher-level wrapper over raw ctypes, and your project is compatible with GPL-3.0 copyleft licensing. The package is actively maintained, has no dependencies, and supports modern Python versions. If your project cannot use GPL-3.0 code, do not install."},"id":"cwrap","links":{"html":"https://skillfed.io/packages/cwrap","md":"https://skillfed.io/packages/cwrap.md","pypi":"https://pypi.org/project/cwrap/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-02","license_spdx":null,"license_treatment":"copyleft","name":"cwrap","python_support":"supports_current","summary":"cwrap - ctypes blanket"},"popularity":{"monthly_downloads":102133,"position":12888,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.6.16"}
