--- id: types-pycurl version: "7.47.0.20260703" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-pycurl — Typing stubs for pycurl License: permissive · Maintenance: active · Downloads: 783.9K/mo ## What it is and what it does types-pycurl is a type stub package that supplies static type information for pycurl, the Python binding to libcurl. It allows type checkers like mypy and pyright to understand and validate code that uses pycurl's HTTP client APIs. The stubs are maintained as part of the typeshed project and are tested against mypy 2.1.0 and pyright 1.1.411. This package contains no runtime code—it is purely metadata for type checkers. Installing it alongside pycurl enables developers to catch type errors during development rather than at runtime. The stubs target pycurl version 7.47.0 specifically, so they are most accurate when used with that version or compatible releases. Use it for: - Enable mypy or pyright to type-check code that calls pycurl HTTP methods and options. - Catch type mismatches in pycurl configuration before running integration tests. - Provide IDE autocomplete and inline documentation for pycurl APIs in editors that support type hints. - Validate that callback functions passed to pycurl have the correct signatures. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type hints for the pycurl HTTP client library, enabling static type checking of pycurl code with mypy, pyright, and other type checkers. Yes, if you use pycurl and want static type checking. Install it alongside pycurl to enable mypy or pyright to validate your code. No runtime cost, low friction, and maintained by typeshed. Only caveat: stubs are pinned to pycurl 7.47.0, so verify compatibility with your pycurl version. ## Install pip install types-pycurl uv add types-pycurl poetry add types-pycurl ## Installing types-pycurl Before you install: Low friction: a pure-Python stub package with no runtime dependencies. Maintained as part of the typeshed project with active updates; last release 42 days ago. License in practice: Apache-2.0 permissive license; no restrictions on use, modification, or distribution in proprietary or open-source projects. Quickstart: pip install types-pycurl # In your code, import pycurl normally; type checkers will use the stubs: import pycurl c = pycurl.Curl() # mypy or pyright will now type-check your pycurl calls Requires Python 3.10 or later. The actual pycurl package must be installed separately for runtime use. Verify before relying: - Whether the stubs remain accurate as pycurl evolves beyond version 7.47.0 - Coverage completeness for all pycurl APIs and edge cases ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 783.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pycurl type stubs, type hints for pycurl, pycurl typing annotations, static type checking pycurl, mypy pycurl support, pyright pycurl types, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-pycurl) · [View on PyPI](https://pypi.org/project/types-pycurl/)