Installation¶
Follow these steps to set up LuminaPy on your machine.
Option 1: Using pip¶
# Clone the repository
git clone https://github.com/Harery/LuminaPy.git
cd LuminaPy
# Create virtual environment
python -m venv .venv
# Activate virtual environment
# On Windows:
.venv\Scripts\activate
# On macOS/Linux:
source .venv/bin/activate
# Install in development mode
pip install -e ".[dev]"
Option 2: Using uv (Recommended)¶
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone and setup
git clone https://github.com/Harery/LuminaPy.git
cd LuminaPy
# Sync dependencies
uv sync --all-extras
Option 3: GitHub Codespaces¶
Click the button above for an instant, pre-configured environment.
Verify Installation¶
# Run tests
pytest verify/tests -v
# Run linter
ruff check .
# Run type checker
pyright build/
# Run learning tracker
python -m pylab.track
Project Structure¶
LuminaPy/
├── build/ # Learning content (implementations)
├── verify/ # Tests and coverage
├── learn/ # Notebooks and resources
├── ship/ # Scripts and tools
├── record/ # Documentation
└── pyproject.toml # Project configuration
Troubleshooting¶
Common Issues¶
-
pip not found
-
Permission denied
-
Tests failing
Next Steps¶
- Roadmap - See the complete learning path