$npx skillfedfor your agent

pytest-httpbin

Easily test your HTTP library against a local copy of httpbin

Worth itPyPI LibrariesReleased Sep 2024157.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_httpbin-2.1.0-py3-none-any.whl
v2.1.0 · released 2024-09-18 · Python >=3.8 · 1 runtime deps: httpbin

Yes. This is a stable, actively maintained testing utility with minimal dependencies and no known vulnerabilities. If you test HTTP client code and want to avoid remote service calls, it directly solves that problem with a clean pytest integration. The low install friction and permissive license make adoption straightforward.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency (httpbin).
  • Actively maintained with recent commits and stable production status across Python 3.8–3.11.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.

last release 2024-09-18 (695 days) · last repo commit 2026-06-16 · 194 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 157,747 downloads/mo, #10,746 on PyPI

Verify before relying

pip install pytest-httpbin

# In your test file:
def test_http_get(httpbin):
    response = httpbin.url + '/get'
    assert response is not None
  • Whether the included CA certificate works with standard HTTPS validation workflows without additional configuration.
Same gist for agents: .md · .json

What it is and what it does

pytest-httpbin is a pytest plugin that injects a fixture providing a local HTTP server running httpbin—a service designed to test HTTP client libraries. Instead of making test requests to a remote httpbin.org service, your tests run against a server started in a separate thread on your machine, eliminating network latency and external dependencies.

You use it by accepting the httpbin fixture in your test function and accessing its URL property to make requests. The package supports both HTTP and HTTPS (with its own CA certificate included), and integrates seamlessly with pytest's fixture injection model. It's built on httpbin, which provides endpoints for testing GET, POST, headers, redirects, status codes, and other HTTP behaviors.

Use it for

  • Test HTTP client code without relying on external services or network connectivity.
  • Verify your application's HTTP request handling against a predictable local server.
  • Run fast, isolated test suites that don't depend on httpbin.org availability.
  • Test HTTPS endpoints and certificate handling using the included CA certificate.
  • Develop and validate HTTP client libraries in CI/CD pipelines without network calls.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a stable, actively maintained testing utility with minimal dependencies and no known vulnerabilities. If you test HTTP client code and want to avoid remote service calls, it directly solves that problem with a clean pytest integration. The low install friction and permissive license make adoption straightforward.

Install

pytest-httpbin on PyPI

Before you install

Low friction install with a single runtime dependency (httpbin). Actively maintained with recent commits and stable production status across Python 3.8–3.11.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.

Quickstart

pip install pytest-httpbin

# In your test file:
def test_http_get(httpbin):
    response = httpbin.url + '/get'
    assert response is not None

Verify before relying

  • Whether the included CA certificate works with standard HTTPS validation workflows without additional configuration.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
httpbin
MaintenanceActively maintained 695 days since the last release
Last repo commit
First released
Downloads157,747 / month, #10,746 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Testing

Evidence: pytest_httpbin-2.1.0-py3-none-any.whl

Tags

Capabilities
local httpbin testingpytest http mock servertest http endpoints locallypytest fixture httpbinhttp library testingmock http requests pytest
Topics
pytest-pluginhttp-testingtest-fixtures
PyPI keywords
pytest-httpbintestingpytesthttpbin

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 › “local httpbin testing”

  • pytest-httpbinProvides a pytest fixture that runs a local httpbin server in a test…
  • httpbinhttpbin is a Flask-based HTTP request and response service that…
  • browserstack-localProvides Python bindings to manage BrowserStack Local, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also httpbin · pytest-localserver · pytest-base-url · pytest-httpx · pytest-recording · pytest_httpserver · pytest-localftpserver · pytest-faker · pytest-sftpserver · pytest-responses