Size: 2250
Comment: Grammar and punctuation corrections.
|
Size: 2017
Comment: Deprecation was based on incorrect info from http://mrbob.readthedocs.org/en/latest/. There are active commits on some of these libraries and formal releases on PyPI.
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
A skeleton builder tools are tools that takes a directory skeleton, copies over its directory structure to a target folder and can use a templating engine to dynamically generate the files. | A skeleton builder tools are tools that takes a directory skeleton, copies over its directory structure to a target folder and uses a template engine to dynamically generate the files. |
Line 5: | Line 5: |
Keywords : skleton, scaffolding… | Keywords : skeleton, scaffolding… |
Line 10: | Line 10: |
Deprecated libraries: * [[http://templer-manual.readthedocs.org/en/latest/index.html|Tembler]] (depreciated, replaced by mr.bob) * [[http://pythonpaste.org/script/|Paste Script]] (depreciated, replaced by mr.bob and pcreate in Pyramid framework) |
* [[http://pythonpaste.org/script/|Paste Script]] * [[http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/project.html?highlight=pcreate|pcreate]] (limited to [[http://pyramid.readthedocs.org/en/latest/|Pyramid]] framework) * [[https://docs.djangoproject.com/en/1.5/intro/tutorial01/|django-admin.py startproject]] (limited to [[https://docs.djangoproject.com/|Django]] framework) |
Line 17: | Line 15: |
More information: | Additonal information: |
Line 39: | Line 37: |
=== Framework specific === * [[http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/project.html?highlight=pcreate|pcreate]] (limited to [[http://pyramid.readthedocs.org/en/latest/|Pyramid]] framework) * [[https://docs.djangoproject.com/en/1.5/intro/tutorial01/|django-admin.py startproject]] (limited to [[https://docs.djangoproject.com/|Django]] framework) |
Skeleton Builder Tools
A skeleton builder tools are tools that takes a directory skeleton, copies over its directory structure to a target folder and uses a template engine to dynamically generate the files.
Keywords : skeleton, scaffolding…
mr.bob (the more powerful)
Cookiecutter (Also very powerful, with a huge community)
Echafaudage (very simple tool with few feature)
django-admin.py startproject (limited to Django framework)
Additonal information:
- mr.bob:
- use Jinja2 template engine
- config file is in ini format
specific feature : pre, post hooks
- Cookiecutter:
- uses Jinja2 template engine.
- config file can be in either json and yaml formats.
- Tested for use with Python 3.3, 2.7, 2.6, Linux, Mac OS X, and Windows.
Extremely popular, with over 30 community contributed templates available for Python, Django, Flask, JavaScript, Ruby, C, Open Stack, and HTML.
- Echafaudage :
use tempita template engine
- config file is in json format
- specific feature : standalone file executable directly with python -c "$(curl ...)"
Limited to package creation
modern-package-template (depreciated, replaced by mr.bob)