qaviton proxy
Project description
Qaviton Proxy
Proxy functionality, developed for flask applications.
Installation
pip install --upgrade qaviton_proxy
Requirements
- Python 3.6+
Features
- proxy requests ✓
Usage
creating a flask app
# app.py
from flask import Flask
from qaviton_proxy import proxy
app = Flask(__name__)
@app.route("/prox", methods=['GET'])
def client_session():
return proxy('https://proxied.com')
app.run(port=3000)
run the app
python app.py
send request to app
import requests
response = requests.get('localhost:3000/prox') # send request to app
print(response.json()) # got response from 'localhost:3000/prox' which proxied 'https://proxied.com'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for qaviton_proxy-2019.9.26.18.36.49.804439.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | adb67cf6c927167beb87c941c7d50a43042342b9ec2623536d64439a4b805938 |
|
MD5 | a0d9d30afd6387af148c08f2259b5f3e |
|
BLAKE2b-256 | 10b7efbbe35bfb78df3cd10b1810225b024bdcedd3ed9b1ccca442bb62fe35d3 |
Close
Hashes for qaviton_proxy-2019.9.26.18.36.49.804439-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | add73b8f24f59fdd55f002b14463c1a1d517dde46d95e384954b3afe253d082d |
|
MD5 | 3bb07006ad6b6f8172d3dce1d5841a98 |
|
BLAKE2b-256 | b2572589962e9a764ebe525ccb0b1d8ef370055f907d883887d9e8f558f854e1 |