Skip to content

Instantly share code, notes, and snippets.

@bollwyvl
Last active Jul 30, 2020
Embed
What would you like to do?
Using pypy on binder

on

Binder

Thanks to the toil of the folks at conda-forge, you can try out PyPy, a fast alternative Python implementation.

Not everything is available yet, but the bot just keeps on migrating: there's still lots to do, so stay tuned!

name: _mamba
channels:
- conda-forge
- nodefaults
dependencies:
- mamba
- pybind11
name: pypy-notebook
channels:
- conda-forge
- nodefaults
dependencies:
- ipywidgets
- jupyterlab >=2.2.0,<3.0.0a0
- matplotlib-base
- nodejs
- notebook
- numpy
- pandas
- pypy
#!/usr/bin/env bash
source activate
set -eux
time conda env update --prefix ${CONDA_DIR} --file environment-mamba.yml
rm -rf ${NB_PYTHON_PREFIX}
time mamba env update -p ${NB_PYTHON_PREFIX} --file environment-pypy.yml
time jupyter labextension install --no-build @jupyter-widgets/jupyterlab-manager
time jupyter lab build --dev-build=False --minimize=True
time jupyter lab clean
time jlpm cache clean
time conda clean -yaf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment