Simple httpx for lazy people
Project description
xrequest
Biblioteca simples para requisições HTTP assíncronas.
Instalação
pip install xrequest
Uso
Sem Session
import xrequest
response = await xrequest.get("https://api.example.com")
Com Session (reutilizar conexão)
import xrequest
session = xrequest.Session()
try:
response = await session.get("https://api.example.com")
finally:
await session.close()
Licença
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xrequest-0.0.2.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xrequest-0.0.2.tar.gz.
File metadata
- Download URL: xrequest-0.0.2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0785cd5e4426da05512f1af01cec54751db9a0be00e0d21e10c75d8401eb0da5
|
|
| MD5 |
18ffa979fb31f4e18aad1486f15e77fe
|
|
| BLAKE2b-256 |
a160b174dfc76dee0329e9ee1cecc6a8e7213131fe66340225424a558a5fe78e
|
File details
Details for the file xrequest-0.0.2-py3-none-any.whl.
File metadata
- Download URL: xrequest-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bcaf379d5e9b53a1d92d763827b2cd3d637bb1e8bac9a0c9a1f5e612e8b83e5
|
|
| MD5 |
067a62e7e2c12a3cfa46d445b7a33988
|
|
| BLAKE2b-256 |
cb5c1a7c1c78f2d0ce7ea1c6f78222e7874ef83633a6d6d85ae4d258076dba42
|