Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Simple and easy file buckets for Flask

Compatibility

Flask-Buckets requires Python 2.7+ and Flask 0.10+.

Amazon S3 support requires Boto.

OpenStack Swift support requires python-swift-client.

GridFS support requires PyMongo.

Installation

You can install Flask-Buckets with pip:

$ pip install flask-buckets
# or
$ pip install flask-buckets[s3]  # For Amazon S3 backend support
$ pip install flask-buckets[swift]  # For OpenStack swift backend support
$ pip install flask-buckets[gridfs]  # For GridFS backend support
$ pip install flask-buckets[all]  # To include all dependencies for all backends

or with easy_install:

$ easy_install flask-buckets
# or
$ easy_install flask-buckets[s3]  # For Amazon S3 backend support
$ easy_install flask-buckets[swift]  # For OpenStack swift backend support
$ easy_install flask-buckets[gridfs]  # For GridFS backend support
$ easy_install flask-buckets[all]  # To include all dependencies for all backends

Quick start

TODO: a quick hello world with Flask-Buckets

from flask import Flask
from flask.ext import buckets

app = Flask(__name__)
buckets.init_app(app)

images = buckets.Bucket('images')


if __name__ == '__main__':
    app.run(debug=True)

Documentation

The full documentation is hosted on Read the Docs

Changelog

Current

  • Initial release

Metadata

Release history Release notifications | RSS feed

This release

0.1.dev This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page