# Python Template
A Python (Jinja2) template determines the structure, layout, and configuration for various types of notes in the PKM system.
> [!info]- Canonical definition
> This term is maintained in the [[vocab|PKM Vocabulary]] SKOS source, not here.
> `pkmv:PythonTemplate` · [term page](https://w3id.org/pkm/vocab/PythonTemplate) · [Turtle](https://w3id.org/pkm/vocab/terms/PythonTemplate.ttl)
## Scope
- Includes PKM Python template system using Jinja2 templates with Mustache syntax (`{{ ... }}`) that are used to generate Obsidian notes from Python (and/or Swift) services, scripts, commands, and agents.
- Distinguished from templates created with the Obsidian Templater plugin, with optional inline Templater expressions (`<% ... %>`) and JavaScript code.
## Broader
- [[Obsidian Notes (Term)|Obsidian Notes]] — partitive (ISO 25964)
- [[PKM Python (Term)|PKM Python]]
- [[Tool (Term)|Tool]] — generic (ISO 25964)
## Collections
- [[Note Types (Collection)|Note Types]]
---
#vocab/term · created 2026-08-28 · modified 2026-08-29