Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jupyterlite-simple-cors-proxy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyterlite-simple-cors-proxy

A simple CORS proxy utility with requests-like response

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

jupyterlite-simple-cors-proxy

Simple CORS proxy for making http requests from JupyterLite

Installation

pip install jupyterlite-simple-cors-proxy

Usage

from simple_cors_proxy import cors_proxy_get, robust_get_request

# 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

The robust_get_request() will first try a simple reuqst, then a proxied request: robust_get_request(url, params)

Features

  • Simple CORS proxy wrapper
  • Requests response object
  • Support for URL parameters

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc