Skip to main content

Add your description here

Project description

ruquests

Usage

Calling HTTP methods (get, post, put, patch, delete) creates a request to be sent. When user wants to actually send it, it should call "send()" and it will return a response object which has the headers and the body of the response.


Simple usage example:

import ruquests

r = ruquests.get("http://google.com", headers={"accept": "text/html"}).send()
print(r.text())

Raising for invalid status code

import ruquests

r = ruquests.post("http://google.com").send()
r.raise_for_status()

Checking response headers

import ruquests

r = ruquests.get("http://google.com").send()
print(r.headers)

Checking status code

import ruquests

r = ruquests.get("http://google.com").send()
print(r.status_code)

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

ruquests-1.0.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distributions

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

ruquests-1.0.0-cp312-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

ruquests-1.0.0-cp312-cp312-manylinux_2_34_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

File details

Details for the file ruquests-1.0.0.tar.gz.

File metadata

  • Download URL: ruquests-1.0.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.1

File hashes

Hashes for ruquests-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f4e3da69f600bb571ad4a73ee19ec18adad2501ffc3dd8989f028fdffc6359c6
MD5 f7e22dd8efb75bb22d0b223bc1dd1474
BLAKE2b-256 321b3abd3e49515712ef97a95d69a1dc5a82a38d801f95cfc82d3930d496252a

See more details on using hashes here.

File details

Details for the file ruquests-1.0.0-cp312-none-win_amd64.whl.

File metadata

  • Download URL: ruquests-1.0.0-cp312-none-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.1

File hashes

Hashes for ruquests-1.0.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 e4e686bcca5ecfe2e65435b3ff5c1db5581c7aa43754144b2d212310c5d605f4
MD5 def30a9e602486dc53a4b29606b58110
BLAKE2b-256 d8112ce98cfe9a3edb09a548da638ece60ab6337bde563ea635b03c3d93b16ae

See more details on using hashes here.

File details

Details for the file ruquests-1.0.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for ruquests-1.0.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 99e5079558cf8d78c966426762bff3c944f1b8c3d7a9e022f969deb4fbf8c4ea
MD5 1c3c80c6a69de66fc6ea27f268ea909d
BLAKE2b-256 a0d45a1e30d46f753386ba6c1e9e224efbb95d051476893897f61aecd6f432d3

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