Skip to main content

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>'

Metadata

Release files for papermerge-s3 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for papermerge-s3 1.3.0
File Size Uploaded Provenance
papermerge-s3-1.3.0.tar.gz 4.0 kB Without provenance Details

Release files / papermerge-s3-1.3.0.tar.gz

Download URL papermerge-s3-1.3.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cde6c8f022705f72bcb1416bb103ad9874d7530e50f863664ebb6eb850f94553
BLAKE2b-256 checksum
How to use checksums
c20ac89676cd88edf40dcd63b255914234f37b117b4b006cf85a54027df32b5c
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for papermerge-s3 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.3.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page