Skip to main content

S3 AWS backend for the Tryton application framework.

In order to configure the S3 Amazon you should modify your trytond configuration file to include the tryton_filestore_s3.FileStoreS3 as class of the database section. Also you need to specify the s3 credentials with the s3_access_key, s3_secret_key and bucket values.

An example configuration file looks like:

[database]
class=tryton_filestore_s3.FileStoreS3
s3_access_key=access-key-s3
s3_secret_key=secret-key-s3
bucket=bucket-id-here

Once you have specified the config file, everything should work out of the box and you should see your attachments created on the S3 bucket.

You can configure a different endpoint URL than the one generated for Amazon with the configuration s3_endpoint (which must contain the scheme like https://).

Thanks

This module was developed by gcoop in association with Gotsho. Thanks Gotsho for sharing this feature.

This code is based on the tryton-filestore-gs backend implementation.

Release files for tryton-filestore-s3 0.2.1

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

Source distribution (sdist)

Source distribution for tryton-filestore-s3 0.2.1
File Size Uploaded
tryton-filestore-s3-0.2.1.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tryton-filestore-s3 0.2.1
File Interpreter ABI Platform
tryton_filestore_s3-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.5 kB

Release files / tryton-filestore-s3-0.2.1.tar.gz

Download URL tryton-filestore-s3-0.2.1.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
711d582ef2c4414e3a88b330fb727bf6e9e974694c53fc9f395ebf7fd12dfe54
BLAKE2b-256 checksum
How to use checksums
2cc9fcb7ed91f21fdee10b247deaad7aa3c38127f1a71d8713ed9828ea332ede
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / tryton_filestore_s3-0.2.1-py3-none-any.whl

Download URL tryton_filestore_s3-0.2.1-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aee8d0aad56f5037a3e8b1a426f86d7e39e48271ba8cf4b74c6a1f28ef1dcc08
BLAKE2b-256 checksum
How to use checksums
ed1fb579e4964282e7a168d8964b5640fa10e11f967df72806d419f8c51ee837
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

1 release file

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