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.dev17.tar.gz
(317.4 kB
view hashes)
Built Distribution
Close
Hashes for flask-storage-0.6.2.dev17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 256f7939595b78ba17675d6260b3feef3b776ca0655ad835fa5bc111404638a1 |
|
MD5 | 950848ff0567a8d8327e36b6c8aa1b90 |
|
BLAKE2b-256 | f16f1ef17763d5fd7b812b5de67692c3c63eec70ac68732e2ffc9aafa8558602 |
Close
Hashes for flask_storage-0.6.2.dev17-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b2cbbb1517491c203725025a58139f731af8c57ca4389270ce82c278946e68 |
|
MD5 | 5bd10102e28f06904abc18536d511fe2 |
|
BLAKE2b-256 | 373dc13635c5717c9256d46a8b82c6ba76403193bffd68eb1191c549bd47ffbd |