Skip to main content

Rasa Storage Script

Project description

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)

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

storage-script-0.2.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

storage_script-0.2.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file storage-script-0.2.2.tar.gz.

File metadata

  • Download URL: storage-script-0.2.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.4 Darwin/19.5.0

File hashes

Hashes for storage-script-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c01541c7543d4ea91e087e5885a2118c3c8bcc03f0a0c3817d9686414d648033
MD5 31f5e28bf0bbe0e5a72cd0ab52232b32
BLAKE2b-256 82cce8135e98cf9d8f3d7dcfba214296f1e06e5b365e859a0554127537fcd332

See more details on using hashes here.

File details

Details for the file storage_script-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: storage_script-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.4 Darwin/19.5.0

File hashes

Hashes for storage_script-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81827f8e5f6483a621cf8bdaf337b273b4684c3f801a179fd958165901024a02
MD5 1badbdcf6164ea8af463afac5b9298b6
BLAKE2b-256 73fcf96d8ffbab3eefc427523262395ded26634bd6bf575836f0a07e481d564f

See more details on using hashes here.

Supported by

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