Pyodide

https://pyodide.org/en/stable/console.html

from pyodide.http import pyfetch

import micropip


await micropip.install(["pandas", "shapely", "pyproj"])

await micropip.install("geopandas", deps=False)


df = pd.read_json(micropip.freeze())


import geopandas as gpd


res = await pyfetch("https://development-data-hub-s3-public.s3.amazonaws.com/ddhfiles/144828/africawaterbody.geojson")

data = await res.json()

gdf = gpd.GeoDataFrame.from_features(data)