Skip to main content

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


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.3.dev0.tar.gz (317.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_storage-0.6.3.dev0-py2.py3-none-any.whl (17.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flask-storage-0.6.3.dev0.tar.gz.

File metadata

  • Download URL: flask-storage-0.6.3.dev0.tar.gz
  • Upload date:
  • Size: 317.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for flask-storage-0.6.3.dev0.tar.gz
Algorithm Hash digest
SHA256 cc07b25f80d0f0b0dab484fcafab8ce59d17bbd066ec97e8801aa35b48c8ace0
MD5 e3662aa64b0c2102544e7a40f9fb0e5d
BLAKE2b-256 6e619e71c0804376e17c7b9c3fcc90be153714465d28f0fa38a71e5938581518

See more details on using hashes here.

File details

Details for the file flask_storage-0.6.3.dev0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flask_storage-0.6.3.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6688b42cda9da350d69845da52904a6735c8a3dd550cf320eaeff4734ef38e3f
MD5 fe9f925c0a8a36c42f64bcb1fee99a42
BLAKE2b-256 71d30d0cc0350e68f2d338746b6dcb6f0836fa2b0bfddf7fd655dbced39f58ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page