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¶
- Python Basics — If you're brand new to Python, start with Automate the Boring Stuff (Chapters 0–6) or our Weekly Challenges
- Environment Variables — Learn the 12-factor app approach to configuration with
os.environandpython-dotenv - Interactive Application — Drop into a Python REPL mid-program with
code.interact()and IPython embedding - Jinja2 — Template rendering for configuration generation and beyond
- Pydantic — Structured configuration with type validation and environment variable binding
- Config Example — A simple global configuration pattern for Python apps
Where to Go Next¶
- Ready for stdlib mastery? → Stdlib Deep Dives
- Interested in AI? Jinja2 leads directly to → AI/ML Path
- Want to secure your apps? → Security Path