Skip to main content

qaviton proxy

Project description

Qaviton Proxy

logo
version 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

qaviton_proxy-2019.9.26.18.36.49.804439.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: qaviton_proxy-2019.9.26.18.36.49.804439.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.26.18.36.49.804439.tar.gz
Algorithm Hash digest
SHA256 adb67cf6c927167beb87c941c7d50a43042342b9ec2623536d64439a4b805938
MD5 a0d9d30afd6387af148c08f2259b5f3e
BLAKE2b-256 10b7efbbe35bfb78df3cd10b1810225b024bdcedd3ed9b1ccca442bb62fe35d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qaviton_proxy-2019.9.26.18.36.49.804439-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 2, Python 3
  • 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.26.18.36.49.804439-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 add73b8f24f59fdd55f002b14463c1a1d517dde46d95e384954b3afe253d082d
MD5 3bb07006ad6b6f8172d3dce1d5841a98
BLAKE2b-256 b2572589962e9a764ebe525ccb0b1d8ef370055f907d883887d9e8f558f854e1

See more details on using hashes here.

Supported by

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