librelist archives

« back to archive

ANN: Flask-Script 0.1

ANN: Flask-Script 0.1

From:
Dan Jacob
Date:
2010-07-09 @ 16:34
Flask-Script has now been released. Documentation here:

http://packages.python.org/Flask-Script/

Flask-Script is a Flask extension that makes it easier to write
external scripts for your Flask application. It uses a similar pattern
to the way you make a Flask application - you create a Manager
instance and attach commands to your manager.

A couple of commands are bundled by default, a Server for running the
Flask development server and a Shell command. Both can be customized
to your needs.

Flask-Script also uses the argparse library to make it easy to add
positional and optional arguments, and includes helpers for grabbing
user input.

Big thanks to mitsuhiko, aa_ and others on #pocoo for the support,
feedback, input and encouragement.

PS: if anyone has a better logo for Flask-Script, it would be much appreciated.

Re: Flask development, one drop at a time

From:
Date:
2010-07-10 @ 23:26
> What does “micro” mean?

Provides just enough scaffolding to put commonly needed resources within 
easy reach and support good programming practices without getting in the 
way or imposing an unnecessary learning curve. 

-l

Re: [flask] ANN: Flask-Script 0.1

From:
Armin Ronacher
Date:
2010-07-09 @ 18:29
Hi,

On 7/9/10 6:34 PM, Dan Jacob wrote:
> Big thanks to mitsuhiko, aa_ and others on #pocoo for the support,
> feedback, input and encouragement.
I was not very helpful this time around.

> PS: if anyone has a better logo for Flask-Script, it would be much
 > appreciated.
Will create one when I'm back in Graz and have my familiar tools around 
:)  I lack the fonts and software on my notebook.

Suggestion regarding Flask-Script: what about providing a flasker script 
or something that looks for a "flaskscript.py" file similar to how 
fabric with fab and fabfile works?  It could try to import 
"flaskscript.manager" and if that fails traverse the dictionary upwards 
until it locates something.


Regards,
Armin

Re: [flask] ANN: Flask-Script 0.1

From:
Dan Jacob
Date:
2010-07-09 @ 22:40
That's a good idea. I'll consider something like that for the next version.

On 9 July 2010 19:29, Armin Ronacher <armin.ronacher@active-4.com> wrote:
> Hi,
>
> On 7/9/10 6:34 PM, Dan Jacob wrote:
>> Big thanks to mitsuhiko, aa_ and others on #pocoo for the support,
>> feedback, input and encouragement.
> I was not very helpful this time around.
>
>> PS: if anyone has a better logo for Flask-Script, it would be much
>  > appreciated.
> Will create one when I'm back in Graz and have my familiar tools around
> :)  I lack the fonts and software on my notebook.
>
> Suggestion regarding Flask-Script: what about providing a flasker script
> or something that looks for a "flaskscript.py" file similar to how
> fabric with fab and fabfile works?  It could try to import
> "flaskscript.manager" and if that fails traverse the dictionary upwards
> until it locates something.
>
>
> Regards,
> Armin
>