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.2.1.dev0.tar.gz
(317.6 kB
view details)
Built Distribution
File details
Details for the file flask-storage-1.2.1.dev0.tar.gz
.
File metadata
- Download URL: flask-storage-1.2.1.dev0.tar.gz
- Upload date:
- Size: 317.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2492ce6ec6495f48c38de60f2b158a57eb94b216eaffd31427534acaabd5ad |
|
MD5 | b0b95439821861e6ab588221c65b670a |
|
BLAKE2b-256 | af7def0d589f416d2e09640f5fd09426f3b7e03b3e396f994b0980418777ecc1 |
Provenance
File details
Details for the file flask_storage-1.2.1.dev0-py2.py3-none-any.whl
.
File metadata
- Download URL: flask_storage-1.2.1.dev0-py2.py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6f712a8e147ffaf1c3217a5c2f07933228e6585168be52ac22cfdbffd8ee75e |
|
MD5 | a6422e051a93c3f96c9fc091bf8b0320 |
|
BLAKE2b-256 | 8039ca7cdd7bc9724eceab65a50411ae2b8c97dc35594ad88263b8b11dcd3e6d |