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.3.tar.gz (210.5 kB view details)

Uploaded Source

Built Distribution

nene-0.0.3-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nene-0.0.3.tar.gz
  • Upload date:
  • Size: 210.5 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.3.tar.gz
Algorithm Hash digest
SHA256 46a0a596528481d4ba724f490d331e0e2f68fb155e182be10012ebe344c052f6
MD5 6f40980891ea6ec32f02f0954ffcd021
BLAKE2b-256 99554245df2a63b1a2316be69548b56419b263a92859f503fc21fbcb59a64928

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nene-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f0c1879004767df565d6a50abcc802392b9d019e04ae9b831380624e134586ba
MD5 eb8164f25b64d58257af1a63f4102e94
BLAKE2b-256 f7a0939b21d1f1cc1e3a37eca5ce4b19679f6442e0a88dfcbd868c3cae905ab2

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