Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openprocurement/openprocurement.storage.files
Files storage plugin for openprocurement.documentservice
https://github.com/openprocurement/openprocurement.storage.files
Last synced: 16 days ago
JSON representation
Files storage plugin for openprocurement.documentservice
- Host: GitHub
- URL: https://github.com/openprocurement/openprocurement.storage.files
- Owner: openprocurement
- License: apache-2.0
- Created: 2020-06-14T18:04:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-21T17:43:25.000Z (over 4 years ago)
- Last Synced: 2024-11-09T11:35:19.276Z (2 months ago)
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
.. image:: https://travis-ci.org/openprocurement/openprocurement.storage.files.svg?branch=master
:target: https://github.com/openprocurement/openprocurement.storage.files.. image:: https://coveralls.io/repos/openprocurement/openprocurement.storage.files/badge.svg
:target: https://github.com/openprocurement/openprocurement.storage.files.. image:: https://img.shields.io/hexpm/l/plug.svg
:target: https://github.com/openprocurement/openprocurement.storage.files/blob/master/LICENSE.txtSimple file storage plugin
==========================for `openprocurement.documentservice `_
Features
--------* Full support of openprocurement.documentservice api
* Stores uploads by hash, don't used extra disk space for same uploads
* Secure file ids based on secret_key and double hashing
* Restrict uploads by file extension, mime/type, hash lists
* Custom ``Content-Disposition`` header (inline or attachment)
* Can patch openprocurement.documentservice get_url expire time
* File storage can be distributed to several volumes (up to 65k shards)
* Archive selected files to the separate volume by meta info
* Master/slave replicas support (master/master also can be used)
* Fast download through nginx X-Accel-Redirect featureSettings
--------All settings are prefixed with `files.*`
See example in `openprocurement/storage/files/tests/tests.ini `_
Copyright
---------© 2020 Volodymyr Flonts
License
-------Apache 2.0