Skip to main content

A simple CORS proxy utility with requests-like response

Project description

jupyterlite-simple-cors-proxy

Simple CORS proxy for making http requests from JupyterLite

Installation

pip install simple-cors-proxy

Usage

from simple_cors_proxy import cors_proxy

# Make a request
url = "https://api.example.com/data"
params = {"key": "value"}
response = cors_proxy(url, params)

# Use like requests
print(response.text)
data = response.json()
raw = response.content

Features

  • Simple CORS proxy wrapper
  • Requests-like response object
  • Support for URL parameters
  • JSON parsing

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

jupyterlite_simple_cors_proxy-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file jupyterlite_simple_cors_proxy-0.0.1.tar.gz.

File metadata

File hashes

Hashes for jupyterlite_simple_cors_proxy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f8700b2f5ed68c1a101c16898fd5f5545740499c847ab72087b6cce4234c0177
MD5 2371a30760845295ffa002692f0c1802
BLAKE2b-256 f1081abc07dba157b50abdf39938c1bd5fa338f260d502f2c122cff7ac12b686

See more details on using hashes here.

File details

Details for the file jupyterlite_simple_cors_proxy-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlite_simple_cors_proxy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 673d06c2d2694806b3da9d4b82d77a473bfafe5d0634407056cbc2de33192955
MD5 db89d141aec41fb46f5de5fee1ea39b4
BLAKE2b-256 c0c481313bd83d1b6f58b84822ef9e2a4dfa3954db67a5d2faf63921fb03d337

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