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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 711d582ef2c4414e3a88b330fb727bf6e9e974694c53fc9f395ebf7fd12dfe54 |
|
MD5 | 9759be831e3f343e28fe4f4626880671 |
|
BLAKE2b-256 | 2cc9fcb7ed91f21fdee10b247deaad7aa3c38127f1a71d8713ed9828ea332ede |
File details
Details for the file tryton_filestore_s3-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: tryton_filestore_s3-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aee8d0aad56f5037a3e8b1a426f86d7e39e48271ba8cf4b74c6a1f28ef1dcc08 |
|
MD5 | e0e81df7f2cb147bab3794103235502b |
|
BLAKE2b-256 | ed1fb579e4964282e7a168d8964b5640fa10e11f967df72806d419f8c51ee837 |