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.11+ 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.4.4.tar.gz (315.5 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.4.4-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file flask_storage-1.4.4.tar.gz.

File metadata

  • Download URL: flask_storage-1.4.4.tar.gz
  • Upload date:
  • Size: 315.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for flask_storage-1.4.4.tar.gz
Algorithm Hash digest
SHA256 c57e9359017da04b163d6edb26f0fe2e6ea39c530c23b26f47a80c9e00001768
MD5 1a0de5e06971dde4cdbb8bcb51722795
BLAKE2b-256 a9f82e6785a77e48e2cfa4225206c13d691dfcf304c0c23eaf878a18bd2f4923

See more details on using hashes here.

File details

Details for the file flask_storage-1.4.4-py3-none-any.whl.

File metadata

  • Download URL: flask_storage-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for flask_storage-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d7584fdbb64672acb8456a89484af7342d808ae8e9dd96179f0eaa7a0bc2af7f
MD5 d2b998daaa516ed406e7d73a2575fcff
BLAKE2b-256 edf256db6fe22e123eeedeed47569e7a5b56dc3d80494a3ee0d8c5edfe28429a

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