2025-06-11 15:30:28 +02:00
2025-06-11 11:17:47 +02:00
2025-06-11 11:26:18 +02:00
2025-06-11 08:57:22 +00:00
2025-06-11 11:03:06 +02:00
2025-06-11 15:30:28 +02:00

Python-Requests

A Python library for simplified HTTP requests, featuring rate limiting, browser-like headers, and automatic retries. Built on the official requests library for reliability.

Features

  • Save responses to cache
  • Use any session (e.g., bypass Cloudflare using cloudscraper)
  • Configurable wait between requests without thread blocking
  • Automatic retries for failed requests

Installation

pip install python-requests

Usage

Basic Usage

from python_requests import Connection, set_cache_directory

set_cache_directory("/tmp/your-project")
connection = Connection()

response = connection.get("https://example.com")

Using with Cloudscraper

from python_requests import Connection, set_cache_directory
import cloudscraper

set_cache_directory("/tmp/your-project")
connection = Connection(cloudscraper.create_scraper())

response = connection.get("https://example.com")

License

This project is licensed under the 🏳️‍🌈 Opinionated Queer License v1.2. So use is strictly prohibited for cops, military and everyone who actively works against human rights.

Description
A Python library for simplified HTTP requests, featuring rate limiting, browser-like headers, and automatic retries. Built on the official requests library for reliability.
Readme 81 KiB
Languages
Python 100%