types-httplib2
Typing stubs for httplib2
Decision gist · record as of 2026-08-14
Yes, if you use httplib2 and run static type checking. This is a lightweight, actively maintained stub package with no dependencies and permissive licensing. Install it alongside httplib2 to enable type checkers to validate your HTTP client code. Not necessary if you don't use type checking or don't use httplib2.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- The package itself is stubs-only and does not provide runtime functionality; httplib2 must be installed separately.
- Low install friction with no runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2026-07-20 (25 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,789,324 downloads/mo, #2,888 on PyPI
Alternatives
Verify before relying
pip install types-httplib2
# In your code, type checkers will now understand httplib2:
import httplib2
http = httplib2.Http()
response, content = http.request('http://example.com')- Whether the stubs cover the full public API of httplib2 0.32.0 or only a subset
- Compatibility with httplib2 versions other than 0.32.0
What it is and what it does
This package provides type stub files (.pyi) for httplib2, a mature HTTP client library. Type stubs are metadata files that tell static type checkers like mypy and pyright what types httplib2's functions and classes accept and return, without modifying httplib2 itself. The stubs are maintained as part of typeshed, the community repository of type information for popular Python packages.
When installed alongside httplib2, this package allows your IDE and type checker to catch type errors in code that uses httplib2—for example, passing the wrong argument type to http.request() or accessing non-existent attributes on response objects. The stubs are tested against mypy 2.3.0 and pyright 1.1.411, and track httplib2 version 0.32.0.
Use it for
- Enable mypy or pyright to type-check code that calls httplib2 methods and functions
- Catch type errors in HTTP client code before runtime in a CI/CD pipeline
- Get IDE autocomplete and inline type hints when working with httplib2 in an editor that supports type stubs
- Verify that your code passes httplib2 the correct argument types and uses its return values correctly
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use httplib2 and run static type checking.
This is a lightweight, actively maintained stub package with no dependencies and permissive licensing. Install it alongside httplib2 to enable type checkers to validate your HTTP client code. Not necessary if you don't use type checking or don't use httplib2.
Install
types-httplib2 on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained as part of typeshed, with a recent release 25 days ago and ongoing repository activity.
Requires Python 3.10 or later. The package itself is stubs-only and does not provide runtime functionality; httplib2 must be installed separately.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-httplib2
# In your code, type checkers will now understand httplib2:
import httplib2
http = httplib2.Http()
response, content = http.request('http://example.com')
Verify before relying
- Whether the stubs cover the full public API of httplib2 0.32.0 or only a subset
- Compatibility with httplib2 versions other than 0.32.0
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 25 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,789,324 / month, #2,888 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_httplib2-0.32.0.20260720-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type stubs httplib2”
- types-httplib2Provides type stubs for the httplib2 HTTP client library, enabling…
- google-auth-httplib2Provides an httplib2 transport adapter for google-auth, enabling…
- httplib2httplib2 is an HTTP client library that handles HTTP and HTTPS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-oauthlib · types-pycurl · types-boltons · types-passlib · types-requests · types-pyflakes · types-psycopg2 · types-fpdf2 · types-netaddr · types-Authlib