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.5.dev0.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.5.dev0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file flask_storage-1.4.5.dev0.tar.gz.

File metadata

  • Download URL: flask_storage-1.4.5.dev0.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.5.dev0.tar.gz
Algorithm Hash digest
SHA256 bfc710b2d5e74a5861a2b28225e013460c60334805fb18dc83d684951fce3d52
MD5 4dcb03ab1fe976e5308c3be2444f1832
BLAKE2b-256 00e27bb618360ccadd1c57b185be33c3ec73e73b705de56975c0eebed817943c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_storage-1.4.5.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 be1d85486be132db4c6e3afaead8da23c2691ad3ab64f4dec603b2758c77da32
MD5 526159d2ec18c808709531b1e5ba0275
BLAKE2b-256 2d4e78e9532b1b7a672fca356784f571017d4144d2ca0ef5b37701b54c72737e

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