librelist archives

« back to archive

directory listing with Flask

directory listing with Flask

From:
bruce bushby
Date:
2010-12-21 @ 16:07
Hi

Out of curiosity....anybody implemented directory listing/download with
Flask?


Bruce

Re: [flask] directory listing with Flask

From:
Simon Sapin
Date:
2010-12-21 @ 16:14
Le 22/12/2010 01:07, bruce bushby a écrit :
> Out of curiosity....anybody implemented directory listing/download 
> with Flask?

Hi,

Something like this? http://packages.python.org/Flask-AutoIndex/

Regards,
-- 
Simon Sapin

Re: [flask] directory listing with Flask

From:
bruce bushby
Date:
2010-12-21 @ 16:20
ohhh......so sexy....I really need to get into Flask full time. Thanks
Simon!


On Tue, Dec 21, 2010 at 4:14 PM, Simon Sapin <simon.sapin@exyr.org> wrote:

> Le 22/12/2010 01:07, bruce bushby a écrit :
> > Out of curiosity....anybody implemented directory listing/download
> > with Flask?
>
> Hi,
>
> Something like this? http://packages.python.org/Flask-AutoIndex/
>
> Regards,
> --
> Simon Sapin
>

Re: [flask] directory listing with Flask

From:
Ron DuPlain
Date:
2010-12-21 @ 16:34
Hi,

On Tue, Dec 21, 2010 at 11:14 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Le 22/12/2010 01:07, bruce bushby a écrit :
>> Out of curiosity....anybody implemented directory listing/download
>> with Flask?
> Something like this? http://packages.python.org/Flask-AutoIndex/

It'd be great if we could get Flask-AutoIndex into the extensions registry:
http://flask.pocoo.org/extensions/

What would it take?

Ron


PS - Flask-Silk, too.

http://librelist.com/browser//flask/2010/9/1/flask-autoindex/#90582daca7e9ca34e6815d4b540352ca

Re: [flask] directory listing with Flask

From:
Ron DuPlain
Date:
2010-12-21 @ 16:14
On Tue, Dec 21, 2010 at 11:07 AM, bruce bushby <bruce.bushby@gmail.com> wrote:
> Out of curiosity....anybody implemented directory listing/download with
> Flask?

I have not, but core Python includes this functionality in the
built-in SimpleHTTPServer if it helps.

-Ron