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.3.tar.gz (4.3 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.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: storage-script-0.2.3.tar.gz
  • Upload date:
  • Size: 4.3 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.3.tar.gz
Algorithm Hash digest
SHA256 aa1ad0f353d5e2eca95011d6f16fa97b8cdc78a98d1a0a723e10524c59f6a347
MD5 9376095d09c8a84e7eb1d2a7b196669c
BLAKE2b-256 dbc36dcb7eed5fd7488f1ca69c9fd58dbd38caeb01e1692b2131f0ae5d995e5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: storage_script-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 737abc06efd90b4c9077bcd935b01251ee54e9dd934a92fabdf18df45ff54d09
MD5 f39828eaa78f0114b430344827b8c9d0
BLAKE2b-256 0151fcede8f2ecfbee323cf61c99f763ba9d492a20d81d0e4797b2181509887d

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