{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Provides a drop-in replacement for Starlette's TestClient that uses requests instead of httpx for testing Starlette applications.","skillfed_tags":["starlette","testing","migration-aid"],"use_cases":["Testing applications in codebases that standardize on requests and cannot yet migrate to httpx.","Gradual migration: use this backport while transitioning test suites from requests to httpx-based clients.","Legacy projects: maintain existing test patterns in older applications without rewriting test infrastructure.","Minimal dependency footprint: avoid adding httpx to projects that already have requests as a core dependency."],"what_it_does":"starlette-testclient is a backport of Starlette's TestClient that swaps out httpx for requests as the underlying HTTP library. It exists as a migration aid: if your codebase still uses requests for testing and you're not ready to switch to httpx, this package lets you keep that pattern without forking Starlette's test utilities. You import from starlette_testclient instead of starlette.testclient and get the same TestClient interface backed by requests.\n\nThe package depends on requests and starlette as runtime libraries and supports Python 3.7 through 3.12. It is classified as Alpha and has not been actively maintained for over two years, so it functions as a compatibility shim rather than an evolving tool. No known security vulnerabilities are recorded.","worth_installing":"Yes, if you are actively migrating away from this package or need a temporary requests-based TestClient for an existing codebase. No, if you are starting a new project\u2014use the native httpx-based TestClient instead. The dormant maintenance status means this is a bridge tool, not a long-term solution; plan to migrate to the standard TestClient."},"id":"starlette-testclient","links":{"html":"https://skillfed.io/packages/starlette-testclient","md":"https://skillfed.io/packages/starlette-testclient.md","pypi":"https://pypi.org/project/starlette-testclient/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-29","license_spdx":null,"license_treatment":"permissive","name":"starlette-testclient","python_support":"supports_current","summary":"A backport of Starlette TestClient using requests! \u23ea\ufe0f"},"popularity":{"monthly_downloads":2751808,"position":2906,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.4.1"}
