Flask storage
Project description
Flask-Storage
Simple and easy file storages for Flask
Flask-Storage is a community driven fork of Flask-FS
Compatibility
Flask-Storage requires 3.9+ and Flask 2+.
Amazon S3 support requires Boto3.
Installation
You can install Flask-Storage with pip:
.. code-block:: console
$ pip install flask-storage
# or
$ pip install flask-storage[s3] # For Amazon S3 backend support
Quick start
.. code-block:: python
from flask import Flask
import flask_storage as fs
app = Flask(__name__)
fs.init_app(app)
images = fs.Storage('images')
if __name__ == '__main__':
app.run(debug=True)
Documentation
The full documentation is hosted on Read the Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask-storage-0.6.2.dev16.tar.gz
(317.4 kB
view hashes)
Built Distribution
Close
Hashes for flask-storage-0.6.2.dev16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac3fd3e45a1d830a3fb50806958babcd692f512a547881d23f8b76f880fd530 |
|
MD5 | 5e2b5b12eb4dd89f7f93b9664005c0ad |
|
BLAKE2b-256 | f163d05ae86bd67334c8e0adcff9ffb93972900c5236cc3226b55cd5b5600e9e |
Close
Hashes for flask_storage-0.6.2.dev16-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98cffaf370612e3e9dfdbf6a6a9ba4f1c7b0042b18da4eeba9fc50a4df0b88e8 |
|
MD5 | 897e6cb9d594bc1f393c0c4fde82d681 |
|
BLAKE2b-256 | deb76eb07a212534b0c6501b0a07d9a4f9401a7c3a59eb5d4cbb28d2f57f932f |