wiremock
Wiremock Admin API Client
Decision gist · record as of 2026-08-14
Yes, if you need HTTP service mocking in Python tests. Low install friction, permissive license, and production-stable status make it a solid choice. The 382-day release gap warrants checking whether upstream WireMock features you need are supported, but the package remains widely used and carries no known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running WireMock server instance (either standalone Java server or via testcontainers-python) to connect to.
- Low install friction with only two runtime dependencies (importlib-resources and requests).
- Package is aging—last release was 382 days ago—but marked production/stable and supports current Python versions (3.7–3.11).
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions. No notable licensing constraints for typical adoption.
last release 2025-07-28 (382 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 589,112 downloads/mo, #5,865 on PyPI
Alternatives
Verify before relying
pip install wiremock
from wiremock.client import WireMock
wm = WireMock()
wm.register_stub(request=..., response=...)- Scope and completeness of WireMock feature coverage beyond 'most major' features mentioned in description.
- Whether the 382-day release gap indicates active maintenance or dormancy relative to upstream WireMock changes.
- Specific testcontainers-python integration requirements and version compatibility.
What it is and what it does
Wiremock is a Python client for the WireMock HTTP mocking framework, enabling developers to stub and mock external HTTP services during testing. It works with WireMock running as a standalone Java server or as a containerized service via testcontainers-python, allowing you to define request-response pairs and verify interactions from within your test code.
The library sits between your test code and a WireMock instance, providing a REST API client interface. It supports most major WireMock features for request matching, response templating, and state management, making it useful for unit tests, integration tests, and local development environments where you need to isolate external service dependencies.
Use it for
- Mock third-party REST APIs in unit tests to avoid external dependencies and network calls.
- Stub microservices during integration testing to simulate various response scenarios and error conditions.
- Run WireMock in a Docker container via testcontainers-python for isolated, repeatable test environments.
- Verify that your application makes correct HTTP requests to external services without calling them.
- Test error handling and retry logic by configuring WireMock to return specific status codes and delays.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need HTTP service mocking in Python tests.
Low install friction, permissive license, and production-stable status make it a solid choice. The 382-day release gap warrants checking whether upstream WireMock features you need are supported, but the package remains widely used and carries no known vulnerabilities.
Install
wiremock on PyPI
Before you install
Low install friction with only two runtime dependencies (importlib-resources and requests). Package is aging—last release was 382 days ago—but marked production/stable and supports current Python versions (3.7–3.11).
Requires a running WireMock server instance (either standalone Java server or via testcontainers-python) to connect to.
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions. No notable licensing constraints for typical adoption.
Quickstart
pip install wiremock
from wiremock.client import WireMock
wm = WireMock()
wm.register_stub(request=..., response=...)
Verify before relying
- Scope and completeness of WireMock feature coverage beyond 'most major' features mentioned in description.
- Whether the 382-day release gap indicates active maintenance or dormancy relative to upstream WireMock changes.
- Specific testcontainers-python integration requirements and version compatibility.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release <4.0,>=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesimportlib-resourcesrequests |
| Maintenance | Aging 382 days since the last release |
| First released | |
| Downloads | 589,112 / month, #5,865 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Other EnvironmentEnvironment :: PluginsEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseLicense :: Other/Proprietary LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: ImplementationTopic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: Software Development :: Testing :: MockingTopic :: Software Development :: Testing :: Unit |
Evidence: wiremock-2.7.0-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 › “WireMock Python client”
- wiremockPython client library for interacting with WireMock instances to mock…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also httmock · pook · flexmock · aiointercept · mocket · pytest-mock · requests-mock · mockito · responses · respx