Skip to main content

A very flexible static site generator written in python

Project description

Kart

A very flexible static site generator written in python

Getting started

Install Kart with pip

pip install Kart

Create a new file named main.py in your top directory with this code

from kart import Kart

kart = Kart()
kart.run()

In this configuration Kart will only build a basic blog with a paginated blog index and paginated tags. If you want to customize the urls of the blog you will have to modify main.py with custom python code

For the folder structure you can look at the test_blog example

You can then build and serve your site executing this script

python3 main.py serve

Disclaimer

Kart is not yet ready to use in a real-world scenario because it is in its early stage of its life and its api can change abruptly each minor verision.

If you want an example of a simple site you can look at the test_* folders

A complete explanation of the architecture and a step-by-step tutorial will be written soon

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Kart, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size Kart-0.2.1-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Kart-0.2.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page