skip to navigation
skip to content

Not Logged In

Flask-Collect 1.2.2

Flask-Collect -- Collect static files in Flask application

Flask-Collect is an extension for Flask that helps collecting static files.

Serving static files with Flask – bad idea for production, this tool will help you collect them in one command. It checks application and blueprints for static files and copy them to specific folder (saves related paths).

Docs are available at Pull requests with documentation enhancements and/or fixes are awesome and most welcome.


  • python (2.6, 2.7, 3.3)
  • Flask >= 0.10.1


Flask-Collect should be installed using pip:

pip install Flask-Collect


Flask-Collect settings (default values):

# Target static dir

Initialize Flask-Collect extenstion:

from flask_collect import Collect


collect = Collect()

If you use Flask-Script, activate Flask-Collect commands:

from flask_collect import Collect

manager = Manager()

collect = Collect()

Use Flask-Collect

From any python script:

collect.collect(remove=True, verbose=True)

with Flask-Script:

$ ./ collect –remove

Bug tracker

If you have any suggestions, bug reports or annoyances please report them to the issue tracker at


Maintainer: Kirill Klenov (

Also see the CONTRIBUTORS.rst file.


Development of flask-collect happens at github:


Licensed under a BSD license.

File Type Py Version Uploaded on Size
Flask-Collect-1.2.2.tar.gz (md5) Source 2015-08-11 7KB
Flask_Collect-1.2.2-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2015-08-11 11KB
  • Downloads (All Versions):
  • 226 downloads in the last day
  • 1842 downloads in the last week
  • 7853 downloads in the last month