/py-skeleton

Stumbled upon https://github.com/audreyr/cookiecutter which is a fancier version of what I thought up here. This repo will no longer be maintained. I will be converting https://github.com/ryankanno/py-skeleton-templates over to https://github.com/ryankanno/cookiecutter-py. May 5, 2015 @ryankanno

Primary LanguagePythonMIT LicenseMIT

py-skeleton

https://travis-ci.org/ryankanno/py-skeleton.png?branch=master https://coveralls.io/repos/ryankanno/py-skeleton/badge.png

2015-05-05

Stumbled upon Cookie Cutter which is a fancier version of what I thought up here. Like this project, Cookie Cutter also uses Jinja2 as the underlying templating mechanism. This repo will no longer be maintained as I'll be converting py-skeleton-templates to cookiecutter-py.


Are you:

  • Starting new projects by copying old ones?
  • Wishing you could use someone else's project as a starter template?
  • Confused at how to start "Project FooBar"?

I'm always starting a new python projects by cutting and pasting an old one. py-skeleton helps you fix that. Uses jinja2 and py-configurator.

basic usage

py-skeleton.py --source ../py-skeleton-templates/python/
               --ext .tmpl
               --destination ./build
               --config ./python.ini
  • --source is the directory path to your templates
  • --ext is the extension path for your templates
  • --destination is the directory path to where everything will end up
  • --config is the file path to where your configuration file lives

templates

To find an example project templates, please take a look at py-skeleton-templates.

todo

  • logging
  • add other project templates I use
  • remove py-configurator dependency