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.dev14.tar.gz
(318.0 kB
view hashes)
Built Distribution
Close
Hashes for flask-storage-0.6.2.dev14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae88495fe6693a1106fcb1b8be507fa3a4ed1d03c7e1c7bd16c6a1c47e294420 |
|
MD5 | 14a4b0da222fad7edba1f528a6cbfcb8 |
|
BLAKE2b-256 | d0065ea9536a12964a0c7092a20181ff06862f3842ca5d96cb3c734667c2a6f2 |
Close
Hashes for flask_storage-0.6.2.dev14-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa6820ca20b12e4338e4c18be9feb392527f98a691511e10b322b50997158f3e |
|
MD5 | 134421a760091ac41c26ca102060aceb |
|
BLAKE2b-256 | b8e7ee136314ddad8056749568c4140d02132b009262cfc75583c533b8e9f0d1 |