This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Beautifully simple static site generator in Python

What’s this?

Helpful Site is a static site generator written on top of Python-Markdown, Jinja2 and Crammit. It aims to provide a friendly interface for building web pages from markdown and minifying css and js files. You can check out a rendering of the sample pages here =>

Specifically, Helpful Site provides you with:

  • post categories
  • home and category pages that provide lists of posts
  • pagination for the posts on the home page
  • previous post and next post links
  • ability to mark out the excerpt using the <!--more--> keyword
  • support for per page attributes such as description, ogimage, style and script
  • syntax highlighting of code blocks
  • the great looking Casper theme from Ghost
  • friendly config.yaml file
  • flexible template system
  • static web server to try your site out locally

How does it work?

The project provides a number of ./ commands that use the files from the src directory to generate a static site inside the dist directory.

To create a new page, run

./ new

After adding content to the page, run

./ build

to build the html files. If you plan to serve your site from a subdirectory such as, you should update the config.yaml file and run

./ build --prod

To update the css and js files, you should run

./ mini

You can also run

./ reset

to remove the entire dist folder and

./ reset --all

to remove the src folder as well. You can run

./ runserver

to start a local server and last but not least,

./ update

to both minify and build the files.

Getting your hands dirty

  • cd to a comfy location
  • git clone
  • cd helpful-site/
  • virtualenv .venv
  • source .venv/bin/activate
  • pip install -r config/requirements.txt
  • ./ update
  • ./ runserver
  • point your browser to http://localhost:3000/

Building your site on top of this should be a matter of customizing the files in the config directory i.e. config.yaml and template files and adding your own css and js files to the src directory. As far as media goes, there is no recommended strategy, but you could store your files inside each post’s directory and use relative links to point to them. This should provide the greatest flexibility while also keeping your posts atomic - limited to a single directory.

Known issues

Google Chrome seems to screw up the font size from time to time when loading the pages. According to this post, it seems to be caused by using rem units in the css files.

If you do funky stuff, such as delete the dist folder while the server is running, you might end up with a socket.error: [Errno 98] Address already in use error when trying to restart it. You will need to manually find the server process and kill -9 it.

Yes, this is written in Python 2. I am sorry. No, there are no tests. I am even sorrier for that.

Feeling generous?

Contributions are more than welcome and are generally rewarded with a huge THANK YOU! and a [virtual] hug. Feel free to tackle any issues you may have and send me a pull request afterwards.

If you have bigger plans, feel free to drop me a line at

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
helpful_site-0.1.0-py2.py3-none-any.whl (10.0 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 21, 2015
helpful-site-0.1.0.tar.gz (58.7 kB) Copy SHA256 Checksum SHA256 Source Jul 21, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting