Ensure uv is installed following their official documentation.
Create a virtual environment, and install the required dependencies using sync:
uv syncThen, activate the virtual environment:
| OS | Command |
|---|---|
| MacOS | source .venv/bin/activate |
| Windows | .venv\Scripts\activate |
Create a virtual environment:
python -m venv .venvActivate the virtual environment:
| OS | Command |
|---|---|
| MacOS/Linux | source .venv/bin/activate |
| Windows | .venv\Scripts\activate |
Install the package in editable mode with development dependencies:
pip install -e .Or install with development dependencies:
pip install -e ".[dev]"Go to Github Codespaces, https://github.com/codespaces:
- Click “New Codespace”
- Select repository “dehume/small-data-sf”
- Select 8 Cores (all other defaults can remain the same)
- Click “Create Codespace”
Wait ~a minute as the Codespace builds (Prebuild)
Start the Dagster UI web server:
dg devOpen http://localhost:3000 in your browser to see the project.
All of the code for the workshop will go in src/small_data_workshoop. If you want to see the completed code _completed/small_data_workshop.
To learn more about this template and Dagster in general: