Skip to main content

Flask-Collect -- Collect static files in Flask application

Project description

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).

Build Status Coverals Version Downloads Donate

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.ext.collect import Collect


collect = Collect()

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

from flask.ext.collect import Collect

manager = Manager()

collect = Collect()

Use Flask-Collect

You can run:


or with command:

$ ./ collect

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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Flask_Collect-1.1.1-py2.py3-none-any.whl (11.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3
Flask-Collect-1.1.1.tar.gz (7.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page