Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Project templates for lizard applications and sites

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 nensskel
Octocat-spinner-32 .coveragerc
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 CHANGES.rst
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 bootstrap.py
Octocat-spinner-32 buildout.cfg
Octocat-spinner-32 setup.cfg
Octocat-spinner-32 setup.py
README.rst

Django code skeletons

nensskel provides so-called "paster templates" so you can easily create new Django applications, websites and python libraries. They're not fully generic, as they originated within one company (see below).

The nensskel script creates a directory structure for you with (some partially filled) basic files (like a README.rst and a setup.py). Optionally you can use it to automatically create a trunk/tags/branches structure in svn.

https://secure.travis-ci.org/lizardsystem/nensskel.png?branch=master

Call the nensskel script to get usage information.

Installation is straightforward with easy_install:

$ easy_install nensskel

or with pip:

$ pip install nensskel

(Probably you need to run it with sudo on osx/linux).

Don't forget to update from time to time:

$ easy_install --upgrade nensskel

Available templates

  • basic_package: A basic setuptools-enabled package
  • nens_djangoapp: A buildout for nens Django applications
  • nens_library: A buildout for nens libraries
  • nens_lizardsite: A buildout for nens lizard Django sites
  • nens_leansite: A buildout for nens Django sites (doesn't inherit from other templates)
  • paste_deploy: A web application deployed through paste.deploy

Company-centricity

Nensskel originates at Nelen & Schuurmans. We set it up the way we like it and we change it the way we like it so it might not fit your case 100%.

But it does provide a good example to give you a head start with a completely setup Django application/site. For example, the Django sites come with a full-blown nginx config and Django-staticfiles is included for easy css/js setup.

If the available templates don't serve your need, you can do two things: 1. Clone the repository and edit the template as you like; possibly submit a pull request 2. Make your own template

Drop us a line if you need help.

Example for your own skeleton

When you want to create your own skeleton, nensskel can be a nice, small example. Just download the .tar.gz and unpack it.

Do the regular python bootstrap.py && bin/buildout and you're good to go. The nensskel and paster scripts are created in the bin/ directory.

There is one python script in nensskel/*.py per template. The actual templates are in nensskel/templates/*. See http://pythonpaste.org/script/developer.html for some documentation on what paster can do. If you want elaborate examples: http://svn.plone.org/svn/collective/ZopeSkel/trunk/ is the most elaborate set of templates available.

Development and issue tracker

Nensskel is developed on github: https://github.com/lizardsystem/nensskel .

Issues are also tracked there: https://github.com/lizardsystem/nensskel/issues .

Something went wrong with that request. Please try again.