Skip to main content

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.

Metadata

Release files for ai4-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai4-cli 0.1.0
File Size Uploaded
ai4_cli-0.1.0.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai4-cli 0.1.0
File Interpreter ABI Platform
ai4_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 52.3 kB

Release files / ai4_cli-0.1.0.tar.gz

Download URL ai4_cli-0.1.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
432c80686afbf54e99458fecc13bc58393a65e465440591ea5d897e1203ac30b
BLAKE2b-256 checksum
How to use checksums
8c3a3fb9d0a39b2e720e7735fe6fb9c9ce20cfef337766d3625c045b26ebd3a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

Release files / ai4_cli-0.1.0-py3-none-any.whl

Download URL ai4_cli-0.1.0-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea0c52cbc43f629f6fb214740ece9a35e457601c18c2629511f85d347a4b2c5c
BLAKE2b-256 checksum
How to use checksums
1f6673714e95e260e2335f56e2d4791c9c83af20da71d19673eed0227e119011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page