Skip to main content

django_simple_proxy

Simple Proxy for Python Django framework

Installation

pip install django-simple-proxy

Then add django_simple_proxy to INSTALLED_APPS

Usage

First, set Proxy in the database using the admin panel.

Manually, with requests library.

import requests

from django_simple_proxy.tools import random_proxy

proxy_url = random_proxy()
proxies = {'http': proxy_url, 'https': proxy_url}
response = requests.get(url, proxies=proxies)

Or using get_request / post_request:

from django_simple_proxy.tools import get_request

response = get_request(url)

Release files for django-simple-proxy 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-simple-proxy 0.1.5
File Size Uploaded
django_simple_proxy-0.1.5.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-simple-proxy 0.1.5
File Interpreter ABI Platform
django_simple_proxy-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / django_simple_proxy-0.1.5.tar.gz

Download URL django_simple_proxy-0.1.5.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
beb575e9fad3dc1150baaee4b9afd6fdb1362ba4c9da993fc9519a9dac96b159
BLAKE2b-256 checksum
How to use checksums
c0ae2c955636462f130f3ed82ef9bdac021b4e78d589fb763de9cd025ace2762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-47-generic

Release files / django_simple_proxy-0.1.5-py3-none-any.whl

Download URL django_simple_proxy-0.1.5-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fa1b8a7b6e0b96d16662ee0d9f3b6e710228dd49f192edf972f306661282f46
BLAKE2b-256 checksum
How to use checksums
d34e5f7744a3d7e3913392da2f7f2bdd67b5bfe6a0357fc97b02ac77110169bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-47-generic

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page