Installation
Fubam is a lightweight, pure Python framework and can be installed easily using pip. Follow the steps below to get started:
1. Prerequisites
- Python 3.9 or higher installed on your system.
2. Install Fubam
Run the following command in your terminal or command prompt to install the latest available version:
pip install fubamNote: The current stable version is
0.1.0. Future releases may include additional features and improvements.
3. Verify Installation
You can quickly check if Fubam is installed correctly by running:
import fubam
print(f"Fubam version: {fubam.__version__}")You should see the installed version number printed in your terminal.
4. Optional Setup
- Create a directory to store your
.pmxtemplate files.Templatesis a default fubam templates directory. - Organize templates using layouts and components for better maintainability.
Fubam is now ready to render HTML templates using Python. Continue to the Getting Started section to learn how to render your first template.
Last updated on