Skip to main content

"A no-frills static site generator"

Project description

Nēnē: A no-frills static site generator

Latest release on PyPI Compatible Python versions

Static website generators seem to be the favourite pass time of developers procrastinating on other more important projects. So of course, I wanted to try making my own!

Nēnē continues the long tradition of naming static site generators built in Python after birds (the nēnē is a goose endemic to Hawai'i).

Why build another one?

Mostly because I wanted to experiment with building command-line programs with click and Rich. But I also wanted something:

  • No-frills: I don't want fancy built-in templates, blogging frameworks, etc. I'm mostly rolling my own templates.
  • Templates have access to the entire content: Not all generators allow any page to have access to the entire website content. Yes this can cause problems with memory, but memory is cheap and I need this feature.
  • Allows templates in Markdown: Using templating constructs in Markdown source files is extremely useful. I've only ever seen this in Urubu.
  • Reads data from non-Markdown sources: Most generators only allow data to come into templates from Markdown source files. But sometimes data for building a page would be more natural coming from JSON/YAML/etc. Eleventy has this concept and I want to use it without figuring out how to setup Nodejs.

So I figured that it couldn't be that hard to build something with modern Python tools that had all of these things. And for once it actually wasn't!

Installing

Nēnē is available from PyPI and can be installed with pip:

python -m pip install nene

A conda-forge package may come in the future (or maybe not).

Documentation

Currently being created with Nēnē itself to prove I'm not a hypocrite.

License

Nēnē is free and open-source software distributed under the MIT License.

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

nene-0.0.2.tar.gz (109.6 kB view details)

Uploaded Source

Built Distribution

nene-0.0.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file nene-0.0.2.tar.gz.

File metadata

  • Download URL: nene-0.0.2.tar.gz
  • Upload date:
  • Size: 109.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for nene-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a2a9d7ceace9a3917f7e0e6a3e4e881cae2635c64905e82c288fb21dc767081a
MD5 aeda52d55232c0365de51848cab5c3c2
BLAKE2b-256 fe4302e8b8f9e27367e9f74bc45dca9e1d451193ea05cf828a82c724f8edac19

See more details on using hashes here.

File details

Details for the file nene-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nene-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for nene-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 50510ae7963d68fb67968fe378401af556956bba9d122d72aa05dc07425d2e2c
MD5 0000b9ca23153ff758c0daca44ad7478
BLAKE2b-256 691e73f7575d671dc601bb6f0fdd8d7ef66d70e2861d39449965de51a09dc1e2

See more details on using hashes here.

Supported by

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