Skip to main content

A site building framework for people who like to keep it simple.

Project description

Nova Loga

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.

Troubleshooting

Ensure you have uvloop installed:

pacman -S libuv
dnf install libuv
apt install libuv1

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

nova_framework-0.14.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

nova_framework-0.14-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

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

Hashes for nova_framework-0.14.tar.gz
Algorithm Hash digest
SHA256 d0004ce28d43ac67b417da43ad99471b3ef0e785ce644307cfced8680b594ebd
MD5 dbc6f212b06be8241d2bc40d73da3251
BLAKE2b-256 d254ff81c8baab6cfa8167f7e957cdd6fcd3e638bbebc0ab16238c6c9affa33e

See more details on using hashes here.

Provenance

The following attestation bundles were made for nova_framework-0.14.tar.gz:

Publisher: publish.yml on iiPythonx/nova

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for nova_framework-0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 5f7d79035c6d342a7fccecdd7a329a6846e10b4f32085e6c25786b2c4f4217ea
MD5 3b9d5f9396cb26dae823fb510fd35fb7
BLAKE2b-256 6a68bd8e564a4771363e644d61547bb8ab849e11ba74b19ffc9b8d7a85eefd6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for nova_framework-0.14-py3-none-any.whl:

Publisher: publish.yml on iiPythonx/nova

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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