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.4.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.4-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: storage-script-0.2.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.6 Darwin/19.6.0

File hashes

Hashes for storage-script-0.2.4.tar.gz
Algorithm Hash digest
SHA256 2d99a1bb6c3895ed13b2ead67b12a4ec41725bb9b3f7f798bb1b4cf5ba97d9e8
MD5 13d149728dca9da1048e6307f64dbcbe
BLAKE2b-256 ccc5e56135fc04c0df006991006a643ad5fc4b728112f207918587a5472a8385

See more details on using hashes here.

File details

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

File metadata

  • Download URL: storage_script-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.6 Darwin/19.6.0

File hashes

Hashes for storage_script-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c94855835a504cbd4d6bd8ed809d331f74026d112c18d1c1a2e3db0dbd1d44a0
MD5 da4a5ebf17a12af3e15da79f1157a6e5
BLAKE2b-256 29cbf481b528fb03d08fec689b8855e5d1d71cc3bd46335124a321ccffb26f1f

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