close
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Python Development Environment

Simple Python setup with modern tools.

What it installs

  • 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

Usage

bash setup.sh

Takes ~3-5 minutes.

What you get

python --version          # Python 3.11.x
ipython                   # Enhanced Python REPL
jupyter lab               # Start Jupyter Lab
pyenv versions            # See installed Python versions

Examples

Start Jupyter Lab:

jupyter lab --ip=0.0.0.0 --port=8888

⚠️ Required Port

To access Jupyter Lab from outside Brev, open:

  • 8888/tcp (Jupyter Lab default port)

Install more packages:

pip install transformers torch

Switch Python versions:

pyenv install 3.10
pyenv global 3.10