A site building framework for people who like to keep it simple.
Project description
A site building framework for people who like to keep it simple.
Installation
pip install nova-framework
For the latest development version:
pip install git+https://github.com/iiPythonx/nova
Usage
[!WARNING] Nova 0.11 introduces some experimental features, you might experience bugs.
To initialize a Nova project, just run nova init
and follow the instructions:
🚀 Nova 0.14 | Project Initialization
Source location (default: src): src/
Destination location (default: dist): dist/
Afterwards, put your Jinja2 and other assets inside your configured source folder.
Run nova build
to get a static site built for production in your destination path.
Run nova serve
to serve a static build of your site.
Run nova serve --reload
to get a hot-reloading capable web server.
Configuration
All project configuration should be put inside of nova.toml
in your working directory.
Flags
# optional
[flags]
reload = true
open = true
Project
[project]
mapping = "source_path:destination_path"
# optional
after-build = "bash /etc/somescript.sh"
Plugins
See PLUGINS.md.
Built-in Jinja variables
GIT_HASH
- The full Git SHA of the current repo, updated once per build.- If git is not installed, or no
.git
folder is found,GIT_HASH
will be a blank string.
- If git is not installed, or no
Troubleshooting
Ensure you have uvloop installed:
pacman -S libuv
dnf install libuv
apt install libuv1
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
Built Distribution
File details
Details for the file nova_framework-0.14.tar.gz
.
File metadata
- Download URL: nova_framework-0.14.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d0004ce28d43ac67b417da43ad99471b3ef0e785ce644307cfced8680b594ebd
|
|
MD5 |
dbc6f212b06be8241d2bc40d73da3251
|
|
BLAKE2b-256 |
d254ff81c8baab6cfa8167f7e957cdd6fcd3e638bbebc0ab16238c6c9affa33e
|
Provenance
The following attestation bundles were made for nova_framework-0.14.tar.gz
:
Publisher:
publish.yml
on iiPythonx/nova
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
nova_framework-0.14.tar.gz
-
Subject digest:
d0004ce28d43ac67b417da43ad99471b3ef0e785ce644307cfced8680b594ebd
- Sigstore transparency entry: 184612254
- Sigstore integration time:
-
Permalink:
iiPythonx/nova@689d6356424d0e6516e72e74f16392673c6cf3ee
-
Branch / Tag:
refs/heads/main
- Owner: https://github.com/iiPythonx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publish.yml@689d6356424d0e6516e72e74f16392673c6cf3ee
-
Trigger Event:
push
-
Statement type:
File details
Details for the file nova_framework-0.14-py3-none-any.whl
.
File metadata
- Download URL: nova_framework-0.14-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5f7d79035c6d342a7fccecdd7a329a6846e10b4f32085e6c25786b2c4f4217ea
|
|
MD5 |
3b9d5f9396cb26dae823fb510fd35fb7
|
|
BLAKE2b-256 |
6a68bd8e564a4771363e644d61547bb8ab849e11ba74b19ffc9b8d7a85eefd6b
|
Provenance
The following attestation bundles were made for nova_framework-0.14-py3-none-any.whl
:
Publisher:
publish.yml
on iiPythonx/nova
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
nova_framework-0.14-py3-none-any.whl
-
Subject digest:
5f7d79035c6d342a7fccecdd7a329a6846e10b4f32085e6c25786b2c4f4217ea
- Sigstore transparency entry: 184612257
- Sigstore integration time:
-
Permalink:
iiPythonx/nova@689d6356424d0e6516e72e74f16392673c6cf3ee
-
Branch / Tag:
refs/heads/main
- Owner: https://github.com/iiPythonx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publish.yml@689d6356424d0e6516e72e74f16392673c6cf3ee
-
Trigger Event:
push
-
Statement type: