skillfed

types-pycurl

Typing stubs for pycurl

types-pycurl v7.47.0.20260703 783.9K downloads/30d#5,073 on PyPI37
Permissive license Apache-2.0 Active released

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 on this page — 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

types-pycurl on PyPI

pip

pip install types-pycurl

uv

uv add types-pycurl

poetry

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 the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 42 days since the last release
Last repo commit
First released
Downloads 783,926/month — #5,073 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_pycurl-7.47.0.20260703-py3-none-any.whl

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

pycurl type stubstype hints for pycurlpycurl typing annotationsstatic type checking pycurlmypy pycurl supportpyright pycurl types
type-stubsstatic-analysis

More Software Development packages