You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

starlette-testclient

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

starlette-testclient

A backport of Starlette TestClient using requests! ⏪️

0.4.1
Source
pipPyPI
Maintainers
2

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? :sweat_smile:

License

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts