Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install mr.bob

How to install mr.bob

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install mr.bob
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.1a9Never BuiltWhy not?
0.1a1 Failed View build log
Linux (32-bit)
0.1a1
0.1a9Never BuiltWhy not?
0.1a1 Available View build log
0.1a9Never BuiltWhy not?
0.1a1 Failed View build log
Linux (64-bit)
0.1a9 Available View build log
0.1a1 Available View build log
0.1a9Never BuiltWhy not?
0.1a1 Failed View build log
0.1a9 Available View build log
 
License
BSD
Dependencies
Imports
Lastest release
version 0.1a9 on Sep 20th, 2013

Mister Bob the Builder creates directory skeletons.

TODO

  • [medium] refactor Python API
  • [medium] gittip
  • [medium] add +var+ folder in template_sample
  • [medium] Check how one would implement multi-namespace python package with current mr.bob api
  • [low] Ability to configure what to ignore when copying templates in bobconfig (as a hook?)
  • [low] better format print questions output (keep order of questions -> use order information like for asking questions)
  • [low] document we don't need local commands once answers are remembered (just issue another template on top of current)
  • [low] ability to specify variables/defaults to questions from cli
  • [maybe] ability to simulate rendering (dry-run)
  • [maybe] ability to update/patch templates

Changelog

0.1a9 (2013-04-26)
  • regex to detect variable names when rendering file names was broken when directory path contains pluses. [Godefroid Chapelle]
0.1a8 (2013-03-11)
  • Depend on six>=1.2.0 [Domen Kožar]
  • Moved all exceptions to mrbob.exceptions module [Domen Kožar]
  • Fix loading of zip files [Domen Kožar]
  • #28: Remote loading of config files [Nejc Zupan]
  • #30: Keep newlines of rendered template [Domen Kožar]
0.1a7 (2013-01-23)
  • Don't depend on argparse in python 2.7 and higher, since it's already in stdlib [Domen Kožar]
  • #22: Prevent users from specifying target directory inside template dir [Domen Kožar]
0.1a6 (2013-01-02)
  • Use StrictUndefined with jinja2 renderer so that any missing key is reported as an error [Domen Kožar]
  • If a key in a namespace was missing while rendering, no error was raised [Domen Kožar]
  • Added hook mrbob.hooks.show_message [Domen Kožar]
  • mrbob.validators.boolean renamed to mrbob.hooks.to_boolean [Domen Kožar]
  • Renamed validators.py to hooks.py [Domen Kožar]
  • Removed validators and action settings from [questions] as it is superseded by hooks [Domen Kožar]
  • Added pre_ask_question and post_ask_question to [questions] section [Domen Kožar]
  • Added pre_render, post_render and post_render_msg options [Domen Kožar]
  • Added [defaults] section that will override template defaults. The only difference to [variables] is that variables provide default answers [Domen Kožar]
  • Moved renderer parameter to [template] section [Domen Kožar]
  • Added [template] section that is parsed only from .mrbob.ini inside a template directory. [Domen Kožar]
  • Correctly evaluate boolean of quiet and verbose settings [Domen Kožar]
  • Added non_interactive setting that will not prompt for any input and fail if any of required questions are not answered [Domen Kožar]
  • Added remember_answers setting that will create .mrbob.ini file inside rendered directory with all the answers written to [variables] section [Domen Kožar]
  • Include changelog in documentation [Domen Kožar]
  • Question does no longer raise error if unknown parameter is passed from a config file. Instead those parameters are saved to question.extra that can be later inspected and validated. This is first step to have advanced question types such as question with a set of predefined answers [Domen Kožar]
  • Rewrite all py.test stuff to nosetests, so we have unified testing now. This also fixes flake8 segfaults on pypy [Domen Kožar]
0.1a5 (2012-12-12)
  • #26: Variables were not correctly parsed from config files [Domen Kožar]
0.1a4 (2012-12-11)
  • Fix MANIFEST.in so that template examples are also included with distribution [Domen Kožar]
  • Add -q/--quiet option to suppress output which isn't strictly necessary [Sasha Hart]
  • Suppress the interactive-mode welcome banner if there are no questions to ask [Sasha Hart]
  • Don't raise KeyError: 'questions_order' if [questions] is missing in an ini [Sasha Hart]
0.1a3 (2012-11-30)
  • #13: Read user config from ~/.mrbob (as stated in docs and inline comments). [Andreas Kaiser]
0.1a2 (2012-11-29)
  • #12: Fix unicode errors when using non-ASCII in questions or defaults [Domen Kožar]
  • Ask questions in same order they were defined in template configuration file [Domen Kožar]
0.1a1 (2012-10-19)
  • Initial release. [Domen Kožar, Tom Lazar]

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.