Skip to main content

TWCC-CLI is a toolkit for operating TWCC resources.

Project description

tags: twcc, twccli

TWCC-CLI Project

The TWCC, Taiwan Computing Cloud Command Line Interface (CLI) is an environment to create and manage your TWCC services.

SonarCloud

CircleCI Join the chat at https://gitter.im/TWCC-CLI/community Documentation Status User Manual

The TWCC Command Line Interface (CLI) is an environment to create and manage your TWCC resources.

TWCC_Resources

If you have any questions, please email us at: iservice@twcc.ai for account support, and isupport@twcc.ai for technical support

❗ ❗ Always try to upgrade your TWCC-CLI by using pip3 install -U TWCC-CLI. ❗ ❗ ❗

:point_down: Release Notes :point_down:

v0.5.19 Release Note

img

Feature

  • Users can use -ptype to create customized CCS.
  • Users can transport your credentials to your new resources. You can switch off by providing -nokey while twcc mk [ccs|vcs].

Bug Fix

  • fix auto migrating bugs
  • fix typo error
  • fix some bugs

v0.5.18 Release Note

img

Feature

  • We support auto-complete for TWCC-CLI :sparkles::sparkles:
  • We support Python 3.9 :sparkles:
  • We enable environment parameters in CCS

Bug Fix

  • fix some bugs

v0.5.17 Release Note

img

Feature

  • We add sonarqube for better software quality.
  • VCS snapshot be renamed to custom-image in TWCC.
  • BSS(block storage service) has been renamed to VDS(virtual disk service) in TWCC.
  • Enable envoronment variables for VCS, check out twccli mk vcs -h.

Bug Fix

  • fix bug in mk key
  • fix bug in ls -itype
  • fix exception bug
  • Update AIML Pipeline scripts.

v0.5.16.2 Release Note

Feature

  • Users can create VCS with windows img

Bug Fix

  • fix some bugs

v0.5.16.1 Release Note

Bug Fix

  • fix some bugs

v0.5.16 Release Note

img

Feature

  • CLI is now collected users operating information by GA. If you don't want to be collect, just keep your ga_cid value EMPTY in $HOME/.twcc_data/credential.
  • Users can turn on/off COS bucket version control feature and create public access URL for specific objects.
  • Users can checkout HFS info with CLI
  • Users can list CCS log, and show more information.
  • CLI now can renew your credential file automatically, keep it up-to-date.

Bug Fix

  • fix bug in net vcs

v0.5.15 Release Note

img

Feature

  • BSS(Block Storage Service) is officially renamed as VDS(Virtual Disk Service).
  • Users can list personal resource of VDS & VLB.
  • Users can create multi listener over VLB.
  • Users can change VCS descrption with -d.
  • Users can multiply name their SnapShot wile createing.

Bug Fix

  • fix #9
  • fix timezone problem
  • fix error response for snapshot

v0.5.14 Release Note

img

Feature

  • Users can operate volumn in VCS.
  • We let -s support multiple site-id.
  • New progress bar for COS operations.

Preview

Bug Fix

  • fix unicode error, BSS & VCS status problems.

v0.5.13 Release Note

img

feature

  • We release a sample AI/ML pipeline task, here. Join us for understand how to use by attending TWCC classes, https://www.nchc.org.tw/Active/ActiveView/414?mid=47&page=1
  • Users can create TWCC-VCS with default ubuntu 20.04
  • Users can set a specified range of port for secuity group at one time.
  • Multi users profile compatible.

fix bug

  • fix typo error
  • fix download error for none-file folder bucket
  • ls ccs -json shows empty table when ccs empty

v0.5.12 Release Note

img

feature

  • We design TWCC_VCS module for ansible.

issue

  • We fix #7

fix bug

  • fix COS command line problems.

v0.5.11 Release Note

img

change

  • In v0.5.10, we use --product-type in wrong place, that has been correct.
  • We change cp cos command structures, new command descriptions as following:
> twccli cp cos --help
Usage: twccli cp cos [OPTIONS]

  ‘Upload/Download’ COS (Cloud Object Storage) files.

Options:
  -upload                   Upload files or folders to the bucket.
  -download                 Download files from the bucket or download the
                            entire bucket.
  -src, --source TEXT       Path of the source directory.
  -okey, --object-key TEXT  File in Cloud.
  -fn, --file-name TEXT     Files for uploading from local site.
  -bkt, --bucket-name TEXT  Upload files or folders to the bucket.
  --help                    Show this message and exit.

discuss

v0.5.10 Release Note

img

change

  • VCS images showing table shows "product-type" now!

v0.5.9 Release Note

img

change

  • orginal -itype in ls vcs and mk vcs change to using -ptype and --product-type.

fix bug

  • error in rm vcs -secg and ls vcs -img with filtering.
  • error in cp cos -upload , cp cos -download and rm cos bucket.

v0.5.7 Release Note

img

** We have updated our document in TWCC-CLI α for v0.5

fix bug

  • fix bugs in COS and data-vol-type while creating VCS.

v0.5.6 Release Note

img

new features

  • You can create additional data volume in ssd and ssd-encrypt type.

fix bug

  • upload file source path with slash is not work.
  • adding error condition in rm ccs -s while entering resource name, and adding -s parameter in ls ccs.
  • fix naming standard to 6-16 in length.
  • support customized clone image in CCS.

v0.5.5 Release Note

img

new features

  • snapshot delete functions, twccli rm vsc -snap -snap-id $SNAPTSHOT_ID

fix bug

  • delete bucket and file operation
  • upload and download dir to bucket
  • remove flag 'noforce' in twccli rm
  • update listing all snapshots for Project Owner
  • rm vcs with -s flag

v0.5.4 Release Note

img

new features

  • provides encoding setting, twccli config init --set-bashrc

fix bug

  • no data while listing VCS
  • can't delete bucket with data recursively
  • can't download hierarchy directory to local site
  • modify parameter and description in command "CP"

v0.5.3 Release Note

img

new features

  • We add encoding environ setting
  • add keypair write and del file
  • add private ip and network info while ls vcs

fix

  • fix create keypair's bug
  • fix error in MANIFEST.in, remove vcs cos, list vcs, --help description of cos

v0.5.2 Release Note

New and structured CLI commands!

for Mar. 20th ,2020 (v0.5.2)

  • Now you can use structured commandsconfig, mk, ls, rm, cp, and net to customize and manage your TWCC Compute and Storage services, including VCS, CCS, and COS.
  • In addition to CCS and COS, now you can use TWCC CLI to manage your VCS resources, including VCS instances, security groups, snapshots, as well as keypairs.
  • Use commands-table or -json show to clearly diaplay your resource information in a table view or in JSON.

Contact us

If you have any questions, please email us at:

TWS | TWS TWCC-CLI Team

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TWCC-CLI-0.5.19.tar.gz (70.6 kB view details)

Uploaded Source

Built Distribution

TWCC_CLI-0.5.19-py3-none-any.whl (86.2 kB view details)

Uploaded Python 3

File details

Details for the file TWCC-CLI-0.5.19.tar.gz.

File metadata

  • Download URL: TWCC-CLI-0.5.19.tar.gz
  • Upload date:
  • Size: 70.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5

File hashes

Hashes for TWCC-CLI-0.5.19.tar.gz
Algorithm Hash digest
SHA256 4aaf6af569ea8c8160e6857fd73669e38e2e388978d4bca892e1d5c3c9ddaa8c
MD5 fdb0b39a9dd80d812fc4e78c49a7893f
BLAKE2b-256 1a47021335c67aa8d6e15a371161f877c691ced30f2420f802ac7142cb9840c0

See more details on using hashes here.

File details

Details for the file TWCC_CLI-0.5.19-py3-none-any.whl.

File metadata

  • Download URL: TWCC_CLI-0.5.19-py3-none-any.whl
  • Upload date:
  • Size: 86.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5

File hashes

Hashes for TWCC_CLI-0.5.19-py3-none-any.whl
Algorithm Hash digest
SHA256 1366db98b01f7dd28ccbd00e796c9b64129244945610c036657524a9818b0e77
MD5 cf4e42301073def6445af263a32241c9
BLAKE2b-256 1b3de8160ac39a1eed8baa452a46f04de0e756c7af5dc31cdc28fdd789b91bcd

See more details on using hashes here.

Supported by

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