ComputeX CLI tool
Project description
cx
The ComputeX Python CLI lets you interact with ComputeX REST APIs and push images for your models to the ComputeX container registry.
Installation
Requirements
- Python >= 3.8
Run pip install cx
.
Command Line Interface
At any time, you can utilize the --help
flag with any command or subcommand:
$ cx --help
Usage: cx [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
login
...
Logging In
$ cx login --username {username} --password {password}
Building an Image
WIP
Pushing an Image
WIP
Development
Publishing to PyPI
The process for publishing to PyPI works as follows:
- Pull down the
main
branch. - Tag it with the current version as specified in
pyproject.toml
. - Push that tag to the repo, which...
- Triggers a GitHub Action workflow (
pypi.yml
) that pushes it to PyPI.
This can all be done simply by running the following make
command:
make pypi-publish
Assuming you have the ability to push a tag to the repo, you'll be able to publish to PyPI.
WARNING: if you do not specify a new version in pyproject.toml
, the GHA workflow will fail due to an existing package being on PyPI.
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
computex_cli-0.1.8.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for computex_cli-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3dd7ab10f1e3006ccf4ef44092c9b3eda14462c69bb19c073c01ed3eb39426 |
|
MD5 | 548303eb313a8b5e1bb8c1ad013ff4fd |
|
BLAKE2b-256 | 72c3573b450f7085d65412f8e1c7d9749382d1711451478fec2e1620215dcf8b |