Skip to main content

Starter template for projects using 'htmpl'

Project description

htmpl-template

Starter project for htmpl, this is based off of copier but includes a UI to manage the installed options. The available options include:

  • Auth (login and registration pages)
  • Themes
  • Database services

The components you copy in are yours to change, we have based the desgin of this component library on shadcn where you 'install' the components you want and they are copied into your project. That way if you want to change anything, you simply modify the code to your liking.

If and when the base template changes you will be able to upgrade to the new one. Copier handles applying changes to the templated files and gives options to overwrite or produce a diff and allow you to apply the changes via git conflict resolution.

Getting Started

First you will need to install uv go get it now if you don't have it: https://docs.astral.sh/uv/

[!NOTE] Make sure you are not in an existing project folder before running this command.

Find a good location to install your project:

$ uvx htmpl init .
Installed 24 packages in 11ms

🎤 What is your project name?
   frank
🎤 What is your Python module name?
   frank
🎤 What theme to use?
   dark

Copying from template version 0.1.0

The above command will create the project in a folder called frank that includes a Makefile to initialize and run the application.

# display the available commands:
$ make

# Runs uv sync and generates .env file for storing secrets for local dev
$ make setup

# Run the application locally
$ make dev

Open your browser and go to http://localhost:8000/admin/ this will allow you to view documentation on the available components and install them. Some of the components have dependencies that will need to be installed for python deps we run uv add <package> otherwise we'll run copier copier upgrade --data <options.selected>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

htmpl_template-0.0.1.tar.gz (70.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

htmpl_template-0.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file htmpl_template-0.0.1.tar.gz.

File metadata

  • Download URL: htmpl_template-0.0.1.tar.gz
  • Upload date:
  • Size: 70.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for htmpl_template-0.0.1.tar.gz
Algorithm Hash digest
SHA256 447732ffd5522fe5c644d03c24a20e572e156688f23e185e286d837d597135c4
MD5 8ba85d2873fbd9a77cd1023a9609857c
BLAKE2b-256 63bc23e92ae0428ab1a456847e4e41fe625cb4d08a1fd1062801bd115db0fe70

See more details on using hashes here.

File details

Details for the file htmpl_template-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: htmpl_template-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for htmpl_template-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d6bbe695d801dd4c2b13381e9ecbf16f80138a578a9b973af9a75f4693894f9
MD5 ed989b4220f0647af98fd081262ca793
BLAKE2b-256 1555c476a7afa00b12dbba779868af3a18a5c9b33bc03ad970eb251198487829

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page