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.3.tar.gz (315.2 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.3-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flask_storage-1.4.3.tar.gz
Algorithm Hash digest
SHA256 4a3f9f3031d13ceb0e198112a6c4825b2e4a6dfc46f711a603e02b20bbdf4d5a
MD5 66aa14546068f4866f8c83759821f499
BLAKE2b-256 f184b3d98106b428484a5440c2fc33492653d863e2f1f640c81acfd629a97d56

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flask_storage-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3533f1a418b467175879d413bce96b4a314d5fac612418ba58a427fe4635c4c1
MD5 211f44df47287cc6a70df3543365c136
BLAKE2b-256 900962362b25411c76e6a44a093d48fb36e21dbb131eb75bf3f7f5f5e06902a4

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