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.1.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.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file xrequest-0.0.1.tar.gz.

File metadata

  • Download URL: xrequest-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7b66aad51d4a0b5aada037a1fb096c05f6ac03d478df0df73cea793a7e83673e
MD5 c37a6c8e275f065c9a97b2bbf6b402c0
BLAKE2b-256 9b90da5497bcb86732341c6529570d7e4ae36616838fd984cd0db90cec1146d7

See more details on using hashes here.

File details

Details for the file xrequest-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: xrequest-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c2e40b700cf675dba1c66f1ad3d65b43057fb791f35dd5e2ac1f15c1ff0aeaf
MD5 66e66c7264007765afb0d4bfd2a61d9c
BLAKE2b-256 0a86f74abb57a17f183b92956cf0bb9c48c71c7843f54e85a4228d0fc9a23911

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