fact User Guide
python-blueprint Project
For more information on how this was built and deployed, as well as other Python best
practices, see python-blueprint.
Info
This user guide is purely an illustrative example that shows off several features of Material for MkDocs and included Markdown extensions1.
Installation
First, install uv:
Then install the fact package and its dependencies:
Quick Start
To run the included CLI:
To use fact as a library within your project, import the factorial function and execute the
API like:
- This assertion will be
True
Tip
Within PyCharm, use Tab to auto-complete suggested imports while typing.
Expected Results
| Input | Output |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 6 |
| 4 | 24 |
-
See
python-blueprint'smkdocs.ymlfor how to enable these features. ↩