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 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


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.0.tar.gz (317.6 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-1.3.0-py2.py3-none-any.whl (17.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flask-storage-1.3.0.tar.gz.

File metadata

  • Download URL: flask-storage-1.3.0.tar.gz
  • Upload date:
  • Size: 317.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for flask-storage-1.3.0.tar.gz
Algorithm Hash digest
SHA256 64c127cd89fdc34dc34ec12d90cfc51f54c7248f769c5a128b01351f55708b9a
MD5 391d5afb5216a76894d02922994a4990
BLAKE2b-256 f9565c9fb03a54689d5d561a49fb4e7673bc870c1b144d0e5bdcea4764155a19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_storage-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7054f0c62add091f497b3deddb2490c6a81dafa14392db7f1198cebffd157b4c
MD5 6c054caf1f00955b16ac56ae41d651ce
BLAKE2b-256 af9f4872a217e2111a1997bbdd525ff3ccfc942cd018993d6199a5d6d0d273bf

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