Skip to main content

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.

Source Distribution

Built Distribution

qaviton_proxy-2019.9.29.7.59.59.460885-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file qaviton_proxy-2019.9.29.7.59.59.460885.tar.gz.

File metadata

  • Download URL: qaviton_proxy-2019.9.29.7.59.59.460885.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for qaviton_proxy-2019.9.29.7.59.59.460885.tar.gz
Algorithm Hash digest
SHA256 184e843ae7af6b94f1b173ae9d44aff28a854b54f442b1b83a4f10f9dd0df6d0
MD5 6991b62ef85d1c1f50060831b2aa177d
BLAKE2b-256 9e2c5f383ebaf5024a24f9732441074b07a70806d8fcc9cb876b090346438df4

See more details on using hashes here.

File details

Details for the file qaviton_proxy-2019.9.29.7.59.59.460885-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for qaviton_proxy-2019.9.29.7.59.59.460885-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b76737f616216f58cd46b047386614b73cccc692bab5dbcd532d16fc3651c9f7
MD5 a67a893b006e05f7d1a7b19c1ae8181b
BLAKE2b-256 1a3f59fcc4f79d10cb20974886a99acba7d10791052af05c402f1835cd917979

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page