Python urllib Projects
-
pyodide-http
Provides patches for widely used http libraries to make them work in Pyodide environments like JupyterLite
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Project mention: Python HTTP library 'urllib3' now works in the browser | news.ycombinator.com | 2024-01-30This a a great example of good work getting 'upstreamed.' The go-to solution for using requests and urllib3 in the browser had been Koen Vossen's 'pyodide-http' package, which you'd install in PyScript/Pyodide and then call 'pyodide_http.patch_all()`. It monkey-patched requests and urllib3 to use the browser API's. [1]
Then 'pyodide-http' got adopted into the Pyodide-included packages[2], so you didn't have to specify it for install, just import it and run patch_all().
And now a similar technique has been incorporated directly into urllib3. (Not a direct port - as far as I know Joe Marshall did a full reimplementation so that urllib3's API's would be maintained as much as possible). [2]
Very cool.
[1] https://github.com/koenvo/pyodide-http
Project mention: What's the most pointless program you've made with Python that you still use today? | /r/Python | 2023-05-23
Index
Project | Stars | |
---|---|---|
1 | pyodide-http | 70 |
2 | passgen | 1 |
Sponsored