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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tryton-filestore-s3-0.2.1.tar.gz.

File metadata

  • Download URL: tryton-filestore-s3-0.2.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for tryton-filestore-s3-0.2.1.tar.gz
Algorithm Hash digest
SHA256 711d582ef2c4414e3a88b330fb727bf6e9e974694c53fc9f395ebf7fd12dfe54
MD5 9759be831e3f343e28fe4f4626880671
BLAKE2b-256 2cc9fcb7ed91f21fdee10b247deaad7aa3c38127f1a71d8713ed9828ea332ede

See more details on using hashes here.

File details

Details for the file tryton_filestore_s3-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tryton_filestore_s3-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aee8d0aad56f5037a3e8b1a426f86d7e39e48271ba8cf4b74c6a1f28ef1dcc08
MD5 e0e81df7f2cb147bab3794103235502b
BLAKE2b-256 ed1fb579e4964282e7a168d8964b5640fa10e11f967df72806d419f8c51ee837

See more details on using hashes here.

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