jupyterlite-simple-cors-proxy 0.1.5__py3-none-any.whl → 0.1.6__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  # File: jupyterlite_simple_cors_proxy/__init__.py
2
- from .proxy import cors_proxy, robust_get_request
2
+ from .proxy import cors_proxy_get, robust_get_request, xurl, furl
3
3
 
4
- __version__ = "0.1.2"
5
- __all__ = ["cors_proxy_get", "robust_get_request"]
4
+ __version__ = "0.1.6"
5
+ __all__ = ["cors_proxy_get", "robust_get_request", "xurl", "furl"]
@@ -6,8 +6,8 @@ import io
6
6
  import platform
7
7
  PLATFORM = platform.system().lower()
8
8
 
9
- def xurl(url, params=None):
10
- if PLATFORM=="emscripten":
9
+ def xurl(url, params=None, force=False):
10
+ if PLATFORM=="emscripten" or force:
11
11
  if params:
12
12
  url = f"{url}?{urlencode(params)}"
13
13
  url = f"https://corsproxy.io/{quote(url)}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: jupyterlite-simple-cors-proxy
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: A simple CORS proxy utility with requests-like response
5
5
  Home-page: https://github.com/innovationOUtside/jupyterlite-simple-cors-proxy
6
6
  Author: Tony Hirst
@@ -0,0 +1,7 @@
1
+ jupyterlite_simple_cors_proxy/__init__.py,sha256=LLiWTvpFRjtUNxEgpzSWkI4CAXIBtR1XlXgBc-gkkcw,206
2
+ jupyterlite_simple_cors_proxy/proxy.py,sha256=d7SF-HszSUA3DemI04UHS8c5bJ2XXshPGD_ngUEe3-s,1236
3
+ jupyterlite_simple_cors_proxy-0.1.6.dist-info/LICENSE,sha256=Ogw7GUmeZIxmDNiKWsu_N07svNoGnPB7lWyiXHX_rMY,1074
4
+ jupyterlite_simple_cors_proxy-0.1.6.dist-info/METADATA,sha256=aIrUBWiyExB8LxIvsZX5S-TJcXvPw5tM8HIXRiWqEkg,1682
5
+ jupyterlite_simple_cors_proxy-0.1.6.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
+ jupyterlite_simple_cors_proxy-0.1.6.dist-info/top_level.txt,sha256=Oh0oQrSmRnBq5u675coiKMbkb2ASg8AGF8ZiZTzUS5Q,30
7
+ jupyterlite_simple_cors_proxy-0.1.6.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- jupyterlite_simple_cors_proxy/__init__.py,sha256=F1Y3oZFLKGV_q2B90txW9Lvxw8F9EyAEdnuk0WSeNiA,174
2
- jupyterlite_simple_cors_proxy/proxy.py,sha256=eE7K9qvfIdW7NiW_I9Q4cruyZyIHE9QEBBchHxxhNcw,1214
3
- jupyterlite_simple_cors_proxy-0.1.5.dist-info/LICENSE,sha256=Ogw7GUmeZIxmDNiKWsu_N07svNoGnPB7lWyiXHX_rMY,1074
4
- jupyterlite_simple_cors_proxy-0.1.5.dist-info/METADATA,sha256=NG7Bw00dVZX9Yh0CPOxJ0yznuuX_QkNCnwD9xKz8b5w,1682
5
- jupyterlite_simple_cors_proxy-0.1.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
- jupyterlite_simple_cors_proxy-0.1.5.dist-info/top_level.txt,sha256=Oh0oQrSmRnBq5u675coiKMbkb2ASg8AGF8ZiZTzUS5Q,30
7
- jupyterlite_simple_cors_proxy-0.1.5.dist-info/RECORD,,