Small & fast python library to build static websites
Project description
haumea
Free, fast, lightweight and easy-to-use open-source library for building static websites. Transform your data (JSON, RESTful or GraphQL) into fast static websites
Documentation : https://haumea.io/
Installation
$ pip install haumea
Quickstart
You can create a skeleton project with the haumea-quickstart command
$ haumea-quickstart yourprojectname
yourprojectname
├── content # All content for your website will live inside this directory
│ └── (pages)
├── layouts # Stores .html templates files
│ └── partials
│ └── footer.html
│ └── header.html
│ └── head.html
│ └── _base.html
├── public # Your site will be rendered into this dir
└── static # Stores all the static content: images, CSS, JavaScript, etc.
Build & test your website
$ cd yourprojectname/
# builds your site any time a source file changes ans serves it locally
$ haumea serve
or
$ haumea s
Or just build
$ cd yourprojectname/
# performs build of your site to ./public (by default)
$ haumea build
or
$ haumea b
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
haumea-0.71.0.tar.gz
(11.0 kB
view hashes)
Built Distribution
haumea-0.71.0-py3-none-any.whl
(18.6 kB
view hashes)