Skip to content

Getting Started

New to Python or new to PySprings? This path takes you from zero to comfortable.

graph TD
    basics["Python Basics"] --> envvars["env-vars"]
    basics --> interactive["interactive application"]
    basics --> jinja2["jinja2"]
    envvars --> pydantic["pydantic"]
    pydantic --> configex["config-example"]

    style basics fill:#e3f2fd,stroke:#1565c0
    style envvars fill:#e8f5e9,stroke:#2e7d32
    style pydantic fill:#e8f5e9,stroke:#2e7d32
    style configex fill:#e8f5e9,stroke:#2e7d32
    style interactive fill:#e8f5e9,stroke:#2e7d32
    style jinja2 fill:#e8f5e9,stroke:#2e7d32

    click envvars "../wiki/lightning-talks/env-vars/"
    click pydantic "../wiki/lightning-talks/pydantic/"
    click interactive "../wiki/lightning-talks/interactive-application/"
    click jinja2 "../wiki/lightning-talks/jinja2/"

The Sequence

  1. Python Basics — If you're brand new to Python, start with Automate the Boring Stuff (Chapters 0–6) or our Weekly Challenges
  2. Environment Variables — Learn the 12-factor app approach to configuration with os.environ and python-dotenv
  3. Interactive Application — Drop into a Python REPL mid-program with code.interact() and IPython embedding
  4. Jinja2 — Template rendering for configuration generation and beyond
  5. Pydantic — Structured configuration with type validation and environment variable binding
  6. Config Example — A simple global configuration pattern for Python apps

Where to Go Next