storage-script
Script for uploading/downloading models to/from AWS S3 Cloud Storage
Environment Variables
Please make sure to add the following variables in your environment
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_DEFAULT_REGION=
export AWS_S3_BUCKET_RASA_MODELS=
export AWS_ENDPOINT_URL=
Requirements
- Local Python Installation
- Boto3
Installation
pip install git+https://github.tools.sap/dsx/storage-script.git
Usage
rasa_storage [-h] [--version] {upload,download}
positional arguments:
{upload,download} Rasa Storage Commands
upload Uploads RASA models to AWS S3
download Downloads RASA models from AWS S3
optional arguments:
-h, --help show this help message and exit
--version, -v Package Version
Upload
rasa_storage upload [-h] --model MODEL [--folder FOLDER]
-h, --help show this help message and exit
--model MODEL, -m MODEL
Relative path to the Model (.tar.gz file) (default:
None)
optional arguments:
--folder FOLDER, -f FOLDER
Optional: Folder Name where the model needs to be
saved in AWS S3 (default: master)
Download
rasa_storage download [-h] --model MODEL [--folder FOLDER]
-h, --help show this help message and exit
--model MODEL, -m MODEL
Model Name(.tar.gz file) (default: None)
optional arguments:
--folder FOLDER, -f FOLDER
Optional: Folder Name from where the model needs to be
downloaded (default: master)
Metadata
Release files for storage-script 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| storage-script-0.2.4.tar.gz | 4.2 kB | Without provenance | Details for storage-script-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| storage_script-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for storage_script-0.2.4-py3-none-any.whl |
Total release size: 10.5 kB
Release files / storage-script-0.2.4.tar.gz
| Download URL | storage-script-0.2.4.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d99a1bb6c3895ed13b2ead67b12a4ec41725bb9b3f7f798bb1b4cf5ba97d9e8
|
|
BLAKE2b-256 checksum How to use checksums |
ccc5e56135fc04c0df006991006a643ad5fc4b728112f207918587a5472a8385
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.7.6 Darwin/19.6.0
|
Release files / storage_script-0.2.4-py3-none-any.whl
| Download URL | storage_script-0.2.4-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c94855835a504cbd4d6bd8ed809d331f74026d112c18d1c1a2e3db0dbd1d44a0
|
|
BLAKE2b-256 checksum How to use checksums |
29cbf481b528fb03d08fec689b8855e5d1d71cc3bd46335124a321ccffb26f1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.7.6 Darwin/19.6.0
|
Security for storage-script 0.2.4
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.