FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

setup-scripts/python-dev/README.md at main · brevdev/setup-scripts · GitHub

Latest commit

 

History

History
52 lines (37 loc) · 971 Bytes

File metadata and controls

52 lines (37 loc) · 971 Bytes

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

Back | FazBrowse Home | New Git URL