Skip to main content

AI4 CLI tools and API library

Project description

AI4 CLI tools and API library

GitHub license GitHub release PyPI Python versions

Command line utilities for the AI4OS (AI4EOSC, iMagine) platforms.

Installation

The reccomended way to install the AI4 CLI tools is using pip:

$ pip install ai4-cli

Configuration

The ai4-cli package will load the needed configuration from environment variables whenever possible. In order to do so, it will read the .env.ai4 file in the current working directory, if it exists. If you want to use any other file you can set the AI4_DOTENV_FILE environment variable to the path of the file that you want to use.

The file can contain the following variables:

  • AI4_API_ENDPOINT: The URL of the AI4OS compatible API.
  • AI4_API_VERSION: The version of the API to use. Currently only v1 is supported.
  • AI4_DEBUG: If set to True, the CLI will output debug information.

Usage

The ai4-cli package provides a set of subcommands that can be used to interact with the AI4OS platform. The available subcommands can be listed using the ai4-cli --help command.

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

ai4_cli-0.1.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

ai4_cli-0.1.0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file ai4_cli-0.1.0.tar.gz.

File metadata

  • Download URL: ai4_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for ai4_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 432c80686afbf54e99458fecc13bc58393a65e465440591ea5d897e1203ac30b
MD5 1fd98a5f684e880318bf1c65d2377242
BLAKE2b-256 8c3a3fb9d0a39b2e720e7735fe6fb9c9ce20cfef337766d3625c045b26ebd3a0

See more details on using hashes here.

File details

Details for the file ai4_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ai4_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

File hashes

Hashes for ai4_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea0c52cbc43f629f6fb214740ece9a35e457601c18c2629511f85d347a4b2c5c
MD5 eea16a9a4ce6c7e56dc0ff2a4e8c7432
BLAKE2b-256 1f6673714e95e260e2335f56e2d4791c9c83af20da71d19673eed0227e119011

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