Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

qaviton proxy

Project description

Qaviton Proxy

logo
version license open issues downloads code size

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qaviton-proxy, version 2019.9.29.7.59.59.460885
Filename, size File type Python version Upload date Hashes
Filename, size qaviton_proxy-2019.9.29.7.59.59.460885-py2.py3-none-any.whl (6.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size qaviton_proxy-2019.9.29.7.59.59.460885.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page