Skip to main content

Backend.AI Command Line Interface

Project description

backend.ai-cli

Unified command-line interface for Backend.AI

How to adopt in CLI-enabled Backend.AI packages

An example setup.cfg in Backend.AI Manager:

[options.entry_points]
backendai_cli_v10 =
    mgr = ai.backend.manager.cli.__main__:main
    mgr.start-server = ai.backend.gateway.server:main

Define your package entry points that returns a Click command group using a prefix, and add additional entry points that returns a Click command using a prefix followed by a dot and sub-command name for shortcut access, under the backendai_cli_v10 entry point group.

Then add backend.ai-cli to the install_requires list.

You can do the same in setup.py as well.

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

backend.ai-cli-0.5.0.post1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backend.ai_cli-0.5.0.post1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file backend.ai-cli-0.5.0.post1.tar.gz.

File metadata

  • Download URL: backend.ai-cli-0.5.0.post1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.7

File hashes

Hashes for backend.ai-cli-0.5.0.post1.tar.gz
Algorithm Hash digest
SHA256 7f4a0e37f15bdfea2605257d9332a7119f1d33803ea0e7ef765e3f3c0a62f72e
MD5 d8184e4bd4df5120aedba5c29a96ab53
BLAKE2b-256 a69b723f20cfcdb689695efaf1682853d1f611df96317792a2a05ea83ca93528

See more details on using hashes here.

File details

Details for the file backend.ai_cli-0.5.0.post1-py3-none-any.whl.

File metadata

  • Download URL: backend.ai_cli-0.5.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.7

File hashes

Hashes for backend.ai_cli-0.5.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 999e47f5a4ee0394d3f7dee468225ee58c774272f17df30dfcc183794a77e576
MD5 4b88df2409c93c47f3c725f974dbc6b4
BLAKE2b-256 3a3abc8ce8e6664d484206cf0781fbc863256f9fdae51864185ae7bc25aacce4

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