Skip to content

Install Sillo with uv, the recommended Python package manager for fast, reproducible projects.

Install Sillo with uv. It is the recommended package manager for Sillo projects because it is fast, creates reproducible environments, and keeps dependency management simple.

  • Python 3.10 or newer
  • uv
  • Basic familiarity with async / await

Check your Python version:

Terminal window
python --version

If you do not have uv yet, install it first:

Terminal window
curl -LsSf https://astral.sh/uv/install.sh | sh

Confirm it works:

Terminal window
uv --version

Use uv init to create a project and uv add to install Sillo:

Terminal window
uv init my-sillo-app
cd my-sillo-app
uv add sillo

This creates a project with a managed virtual environment and records dependencies in your project files.

Sillo is ASGI-based. Use uvicorn for local development:

Terminal window
uv add uvicorn

Create main.py:

from sillo import silloApp
app = silloApp()
@app.get("/")
async def home(request, response):
return response.json({"message": "Hello from Sillo"})

Run it with uv:

Terminal window
uv run uvicorn main:app --reload

Open:

http://127.0.0.1:8000

You should see:

{"message": "Hello from Sillo"}

Sillo ships optional extras for integrations that need additional dependencies. Add them only when your project needs them.

Terminal window
uv add "sillo[templating]"
uv add "sillo[jwt]"
uv add "sillo[cache]"
uv add "sillo[record]"
uv add "sillo[graphql]"

For a full development setup:

Terminal window
uv add "sillo[all]"

If you already have a Python project, install Sillo into it with:

Terminal window
uv add sillo

If you are using a manually managed virtual environment, prefer switching the project to uv before adding Sillo. This keeps the install command, lockfile, and local run commands consistent across your team.

uv is the default recommendation for Sillo because it gives you:

  • fast installs
  • isolated virtual environments
  • reproducible dependency resolution
  • simple project commands with uv run
  • a modern workflow that works well for applications, libraries, CI, and deployment pipelines

Continue with the Introduction if you want the framework overview, or go directly to Routing to start building endpoints.