Skip to content

Need a Python notebook that already runs?

Open, BSD-licensed Jupyter notebooks from Eugo: case studies on public NOAA and Copernicus data, Ray patterns, Python library demos and package smoke tests.

ganymede is an open collection of Jupyter notebooks from Eugo: worked case studies on public NOAA and Copernicus data, small runnable programs for Ray Core, Ray Data, Ray Serve, Ray Train and Ray Tune, short demos of popular Python libraries, and smoke tests for Python packages and native libraries. The notebooks use open-source Python packages that you install yourself, mostly with pip, and the source is on GitHub under the BSD 3-Clause License.

Eugo is building the performance cloud. We’re making high performance computing the default for every engineering team. None of these notebooks needs Eugo.

  • Scientific and geospatial Python users who want to read public satellite and hydrology archives (GOES-16, the National Water Model, Sentinel-2) straight from cloud storage with xarray, rasterio and STAC, and then scale the same step out with Ray.
  • Ray users looking for one short, runnable example of a Ray feature: tasks and actors, datasets, model serving, distributed training or hyperparameter tuning.
  • Anyone checking an environment: the package smoke tests show quickly whether an installed Python package or native library actually works.

Figures from the notebooks, as committed in the repository. Select one to open its notebook.

  1. Clone the repository and make a virtual environment:

    Terminal window
    git clone https://github.com/eugo-inc/ganymede.git
    cd ganymede
    python -m venv .venv && . .venv/bin/activate
  2. Install what the notebooks you want need, then run them.

    Ray patterns: install Ray and open any notebook. Some patterns need extra libraries (for example torch, lightgbm, xgboost or optuna); the Ray patterns page lists what each one needs. Keep protobuf below 7: Ray Serve 2.55.1 does not work with protobuf 7.

    Terminal window
    pip install "ray[default,data,serve,train,tune]==2.55.1" "protobuf<7" jupyterlab
    jupyter lab ray_patterns/

    Package tests: install the runner and the package you want to test, then run its notebook.

    Terminal window
    pip install -r package_tests/python/requirements.txt numpy
    pytest package_tests/python/numpy.ipynb

    Native checks: point the runner at an install prefix.

    Terminal window
    python package_tests/native/run_native_checks.py --prefix /usr/local -k zlib_ng
  3. For the demo notebooks that connect to a database or a cloud service, set the environment variables that the Environment variables cell right after each title lists. The case studies need no account: every read is anonymous.

ganymede is made by Eugo