Skip to main content

Store Tryton files on S3 AWS Storage.

Project description

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.

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

tryton-filestore-s3-0.2.1.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

tryton_filestore_s3-0.2.1-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page