{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development"}],"enrichment":{"capability":"Provides type stubs for the cffi package, enabling static type checkers like mypy and pyright to understand and validate code that uses cffi for C foreign function interfaces.","skillfed_tags":["type-stubs","static-analysis"],"use_cases":["Enable mypy or pyright to type-check code that calls cffi functions and classes","Catch type errors in cffi bindings before runtime in CI/CD pipelines","Provide IDE autocomplete and type hints for cffi APIs in editors that support type stubs"],"what_it_does":"types-cffi is a type stub package that bridges the gap between cffi and Python's static type checkers. It provides type annotations for the cffi library so that tools like mypy and pyright can understand and validate code that uses cffi to call C functions from Python. The stubs are maintained as part of the typeshed project and target cffi version 2.0.*.\n\nThis package is not a runtime dependency of your application\u2014it's a development-time tool that helps catch type errors during static analysis. You install it alongside cffi, and your type checker automatically uses it when analyzing code. It requires Python >=3.10 and has been tested with mypy 2.1.0 and pyright 1.1.409.","worth_installing":"Yes, if you use cffi and want static type checking. Install it as a dev dependency alongside cffi to enable type checkers to validate your C bindings. No runtime overhead; purely a type-checking aid. No known vulnerabilities."},"id":"types-cffi","links":{"html":"https://skillfed.io/packages/types-cffi","md":"https://skillfed.io/packages/types-cffi.md","pypi":"https://pypi.org/project/types-cffi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-18","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"types-cffi","python_support":"supports_current","summary":"Typing stubs for cffi"},"popularity":{"monthly_downloads":20698785,"position":1028,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.0.20260518"}
