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 1.1.4.
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-1.3.1.dev0.tar.gz
(317.7 kB
view hashes)
Built Distribution
Close
Hashes for flask_storage-1.3.1.dev0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e2737ecf7b372faad917431bcd9f2b804a60edda972b0375a4b8ae690abcfcc |
|
MD5 | 823ea970b95ce4c725f7a7340d3320a4 |
|
BLAKE2b-256 | ceb5cb06a414320abe5983faf6a76d70d769b16c30ab57dcd6c4a4a8a2f6f6d4 |