Skip to main content

Utility for generating files and directories.

Project description

Introduction

PopPage is a simple command-line utility originally intended as a static website generator but has since grown into a cookiecutter clone. The main features of PopPage are:

  • Uses Jinja2 templates to generate output.

  • Output can be single files or directories.

  • The content applied to the templates can be strings or read from files directly on the command line.

Status

Currently, this project is in the development release stage. While this project is suitable for use, please note that there may be incompatibilities in new releases.

Requirements

PopPage should run on any Python 2.7/3.x interpreter without additional dependencies.

Usage

The following is a quick example of using PopPage:

  • Template file (template.jinja2):

    Hello {{foo}}!
  • PopPage command:

    poppage make template.jinja2 --string foo world
  • Output to stdout:

    Hello world!

Similar

The following projects are similar and may be worth checking out:

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

poppage-0.2.2.tar.gz (4.0 kB view hashes)

Uploaded Source

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