NNstorm cloud
Install
Install latest stable release from PyPI:
pip install nnstorm-cloud
Set up development version
git clone https://github.com/NNstorm/nnstorm-cloud.git
cd nnstorm-cloud
pip install -e .
Set up for usage
Create Azure ssh keys:
ssh-keygen -t rsa -b 4096 -f $HOME/.ssh/azure_key.pem -P ""
Set these in $HOME/.profile or source it in your shell's .rc file or just in the current shell.
export NNSTORM_AZURE_AUTH_LOCATION=${HOME}/.azure/NNSTORM_azure_credentials.json
export NNSTORM_AZURE_KEYVAULT=<your azure keyvault name>
Run this to store service credentials locally:
az ad sp create-for-rbac --sdk-auth > $NNSTORM_AZURE_AUTH_LOCATION
client_id=$(cat $NNSTORM_AZURE_AUTH_LOCATION | python3 -c "import sys, json; print(json.load(sys.stdin)['clientId'])")
az keyvault set-policy -n $NNSTORM_AZURE_KEYVAULT --spn ${client_id} --secret-permissions delete get list set --key-permissions create decrypt delete encrypt get list unwrapKey wrapKey
Metadata
Release files for nnstorm-cloud 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nnstorm_cloud-0.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / nnstorm_cloud-0.4.5-py3-none-any.whl
| Download URL | nnstorm_cloud-0.4.5-py3-none-any.whl |
|---|---|
| Size | 37.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f33c0c15cd06815948cdfa42cb904d882de2eadaa12ce807c86749a7e7715d3
|
|
BLAKE2b-256 checksum How to use checksums |
710a8e26f8d3095851fd9c84536a5ac7c9df9f352c9d475373f9ed226df87148
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5
|