Skip to main content

starlette-testclient

Latest Commit
Package version

This is a backport of Starlette's TestClient using requests instead of httpx.

The reason behind here is to give more time for people to migrate.

Installation

pip install starlette-testclient

Usage

You just need to replace the import statement from:

from starlette.testclient import TestClient

to:

from starlette_testclient import TestClient

Easy, right? 😅

License

This project is licensed under the terms of the BSD 3-Clause license.

Metadata

Release files for starlette-testclient 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for starlette-testclient 0.3.0
File Size Uploaded Provenance Actions
starlette_testclient-0.3.0.tar.gz 12.4 kB Without provenance Details for starlette_testclient-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for starlette-testclient 0.3.0
File Interpreter ABI Platform Actions
starlette_testclient-0.3.0-py3-none-any.whl Python 3 none any Details for starlette_testclient-0.3.0-py3-none-any.whl

Total release size: 20.5 kB

Release files / starlette_testclient-0.3.0.tar.gz

Download URL starlette_testclient-0.3.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
31c28c10abd240beb327ef1ee4dc395403c87da07d4665126b7d3c7b60444e04
BLAKE2b-256 checksum
How to use checksums
6b13407b505994e1d40f1b903b1a6019b47b9cccb5456a8c10d7acb08f70c23d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release files / starlette_testclient-0.3.0-py3-none-any.whl

Download URL starlette_testclient-0.3.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84306a5ca443f81b2d5e838071ed175e9f1ece4ff0806b94778f5122b1c57ee6
BLAKE2b-256 checksum
How to use checksums
86987e46729595fdbad9b4b7e704d40bc2bf29e1c329843d2ad9589c9d33b60f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Security for starlette-testclient 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page