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.1.tar.gz (4.1 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.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: storage-script-0.2.1.tar.gz
  • Upload date:
  • Size: 4.1 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.1.tar.gz
Algorithm Hash digest
SHA256 cab9c6134e51101c2c00ee0a580d90e55fa72eac5d5457a4ad67b0537c1ff8b5
MD5 ec73e697cadf4d5af8450f8134eda0aa
BLAKE2b-256 b101f2a1613f71275b1fc2108f3de3593b941877ceeef8f12fff55e409d03105

See more details on using hashes here.

File details

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

File metadata

  • Download URL: storage_script-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f26d935cd3c158635981357066c7cac72b74544a1661ebf82d7fd84013663065
MD5 81dfb08ccf00e48b79e29ee7dcdaac8a
BLAKE2b-256 b13c0e06ebe2c75cc8b51c9fddec55b65f2429a26f034c16393069cb786e8390

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