S3 Storage for Papermerge DMS
Project description
S3 Storage
This module enables Papermerge to store documents in S3 object storage.
Installation
Add cloud storage repository as dependency in requirements file:
pip install papermerge-s3
How to use it?
In papermerge.conf.py file set DEFAULT_FILE_STORAGE
and
FILE_STORAGE_KWARGS
variables:
DEFAULT_FILE_STORAGE = 'papermerge.storage.S3Storage'
FILE_STORAGE_KWARGS = {
'bucketname': '<bucketname>',
'namespace': '<namespace>'
}
Alternatively set PAPERMERGE_DEFAULT_FILE_STORAGE
and
PAPERMERGE_FILE_STORAGE_KWARGS
in django settings file:
PAPERMERGE_DEFAULT_FILE_STORAGE = 'papermerge.storage.S3Storage'
PAPERMERGE_FILE_STORAGE_KWARGS = {
'bucketname': '<bucketname>',
'namespace': '<namespace>'
}
Set following evironment variables:
S3_ACCESS_KEY_ID = 'your aws access key id'
S3_SECRET_ACCESS_KEY = 'your aws secret access key id'
S3_ENDPOINT_URL = '<endpoint url>'
S3_REGION_NAME = '<region name>'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
papermerge-s3-1.3.0.tar.gz
(4.0 kB
view details)
File details
Details for the file papermerge-s3-1.3.0.tar.gz
.
File metadata
- Download URL: papermerge-s3-1.3.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cde6c8f022705f72bcb1416bb103ad9874d7530e50f863664ebb6eb850f94553 |
|
MD5 | deb19fd8c09b7c34e362af5dc539a7bb |
|
BLAKE2b-256 | c20ac89676cd88edf40dcd63b255914234f37b117b4b006cf85a54027df32b5c |