Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xrequest-0.0.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

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

Hashes for xrequest-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0785cd5e4426da05512f1af01cec54751db9a0be00e0d21e10c75d8401eb0da5
MD5 18ffa979fb31f4e18aad1486f15e77fe
BLAKE2b-256 a160b174dfc76dee0329e9ee1cecc6a8e7213131fe66340225424a558a5fe78e

See more details on using hashes here.

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

Hashes for xrequest-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3bcaf379d5e9b53a1d92d763827b2cd3d637bb1e8bac9a0c9a1f5e612e8b83e5
MD5 067a62e7e2c12a3cfa46d445b7a33988
BLAKE2b-256 cb5c1a7c1c78f2d0ce7ea1c6f78222e7874ef83633a6d6d85ae4d258076dba42

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page