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.dev10.tar.gz
(318.1 kB
view details)
Built Distribution
File details
Details for the file flask-storage-0.6.2.dev10.tar.gz
.
File metadata
- Download URL: flask-storage-0.6.2.dev10.tar.gz
- Upload date:
- Size: 318.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b9af945acd24ccde79e7ff000f3491648512cb8dde73c5d49642f08c0717640 |
|
MD5 | b09d80f5677ad9baf2b6c5c91aab0456 |
|
BLAKE2b-256 | ac08961a8915f263e334e0a6eb7c5839844ee1f168f54287b23e226d7a6a7df4 |
Provenance
File details
Details for the file flask_storage-0.6.2.dev10-py2.py3-none-any.whl
.
File metadata
- Download URL: flask_storage-0.6.2.dev10-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.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 969d3180ce0ccc8fc4a05d192d02acbc0f53f8f282eb2821721694606e9fe7bf |
|
MD5 | d4e55365dd1b0cef34c37731c04fbfa5 |
|
BLAKE2b-256 | 17429a95e17fa75f86c9bb1d2bf11147a947d2c0af272b0fa80637858f521876 |