httpx
PyPIv0.28.1The next generation HTTP client.
Adopt with care
httpx is usable, with caveats. Last published 642 days ago. 8 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 642 days ago. 8 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 8 transitive packages, about 576 KB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package lists no maintainer.
- ALicense: grade A, Excellent.
BSD-3-Clause — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding httpx to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing httpx, not just its own. Check this before a legal review, not after.
Compatibility
- Python
- python >=3.8
Quick start
A usage example from the httpx README.
>>> import httpx
>>> r = httpx.get('https://www.example.org/')
>>> r
<Response [200 OK]>
>>> r.status_code
200
>>> r.headers['content-type']
'text/html; charset=UTF-8'
>>> r.text
'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'Dependencies
Declared by httpx v0.28.1. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (4)
Used by
Popular packages that depend on httpx.
Relationship graph
Dependencies (left) and dependents (right) of httpx.
Frequently installed together
Composable command line interface toolkit
Fast, Extensible Progress Meter
Backported and Experimental Type Hints for Python 3.9+
Core utilities for Python packages
A platform independent file lock.
File-system specification
Fast transfer of large files with the Hugging Face Hub.
Release history
7 releases in the last two years, typically about 42 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.dev6 | 9 days ago | 37 KB | BSD-3-Clause |
| 1.0.dev5 | 19 days ago | 37 KB | BSD-3-Clause |
| 1.0.dev4 | 21 days ago | 36 KB | BSD-3-Clause |
| 1.0.dev3 | 11 months ago | 34 KB | BSD-3-Clause |
| 1.0.dev2 | 1 year ago | 30 KB | BSD-3-Clause |
| 1.0.dev1 | 1 year ago | 30 KB | BSD-3-Clause |
| 0.28.1latest | 1 year ago | 72 KB | BSD-3-Clause |
| 0.28.0 | 1 year ago | 72 KB | BSD-3-Clause |
| 0.27.2 | 2 years ago | 75 KB | BSD-3-Clause |
| 0.27.1 | 2 years ago | 75 KB | BSD-3-Clause |
| 0.27.0 | 2 years ago | 74 KB | BSD-3-Clause |
| 0.26.0 | 2 years ago | 74 KB | BSD-3-Clause |
| 0.25.2 | 2 years ago | 73 KB | BSD-3-Clause |
| 0.25.1 | 2 years ago | 73 KB | BSD-3-Clause |
| 0.25.0 | 3 years ago | 74 KB | BSD-3-Clause |
Overview
httpx is an PyPI package that the next generation HTTP client. It has 1 known dependents in the graph. The latest version is 0.28.1, released under the BSD-3-Clause license.
Who should use it
Teams working in the PyPI ecosystem who need the next generation HTTP client and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.
Pros
- Clear open-source license (BSD-3-Clause).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use httpx?
httpx is usable, with caveats. Last published 642 days ago. 8 releases in the last 2 years.
How do I install httpx?
Run `pip install httpx` to add httpx to your PyPI project.
How many dependencies does httpx have?
httpx declares 4 direct dependencies and pulls in 8 packages in total once its runtime tree is resolved totalling about 576 KB on disk.
What license is httpx released under?
httpx is distributed under the BSD-3-Clause license. Its dependency tree also includes: MIT, MPL-2.0.
How popular is httpx?
PyPI does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on httpx.
Is httpx still maintained?
The most recent release of httpx (v0.28.1) was published 1 year ago.