Simple Python setup with modern tools.
- pyenv - Python version management
- Python 3.11 - Latest stable Python
- Jupyter Lab - Interactive notebooks
- Common packages: requests, pandas, numpy, matplotlib, seaborn, plotly
- Dev tools: ruff, black, pytest, mypy
bash setup.shTakes ~3-5 minutes.
python --version # Python 3.11.x
ipython # Enhanced Python REPL
jupyter lab # Start Jupyter Lab
pyenv versions # See installed Python versionsStart Jupyter Lab:
jupyter lab --ip=0.0.0.0 --port=8888To access Jupyter Lab from outside Brev, open:
- 8888/tcp (Jupyter Lab default port)
Install more packages:
pip install transformers torchSwitch Python versions:
pyenv install 3.10
pyenv global 3.10