Skip to content

luist1228/python-htmx-example

Repository files navigation

PYTHON + HTMX Examples

This is a basic exploratory development project focused on testing practical use cases of HTMX within a python enviroment

The scope of this project is limited to minimal functionality, is not meant to be a template/starter project

Stack

Requirements

  • uv for Python package and enviroment management

Workflow

From base dir install all dependencies with

$ uv sync
$ npm i 

Then activate virtual enviroment

$ source .venv/bin/activate

The manually start the development server

$ fastapi dev src/main.py

If you are modifying any styles in a separte console run in order to generate css when any src/template/**.html files are modified

$ npm run watch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published