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.2.tar.gz
(317.6 kB
view details)
Built Distribution
File details
Details for the file flask-storage-1.3.2.tar.gz
.
File metadata
- Download URL: flask-storage-1.3.2.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 | 12f3b40819f083a06445ee843896038d2e30c3e0f27a79d3ad17fac84014db8a |
|
MD5 | 926db2b5e9f4a8a7a94d21183b024413 |
|
BLAKE2b-256 | dac7d1326c4f97e2e37a5338f1f079839e95307e18808cbb52b65a6e7349d02c |
Provenance
File details
Details for the file flask_storage-1.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: flask_storage-1.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 080ab42821c0a9eddd10aea9f811e561d85e3bf4496bae3e5d250fd8f8cf75bf |
|
MD5 | 14ea2eb2b76abb1c5f9bf5cf28ae2905 |
|
BLAKE2b-256 | b3be709d9ca019d90a9f41c0227bcba840bc9db6ba30cd808121402e7bd837e6 |