Simple command-line utility for sending custom requests to K2 Cloud platform.
Warning: this utility is not intended for automation cases. Use https://github.com/c2devel/boto3.git and python scripts instead.
Installation
C2client package relies on forked versions of boto3 and botocore from the C2Devel/boto3 and C2Devel/botocore repositories. For isolated use our dependencies, it is highly recommended to use a virtual environment.
Clone the repository
git clone https://github.com/C2Devel/c2-client.git && cd c2-clientSetup the virtual environment(Unix based system)
python3 -m venv .venv && source .venv/bin/activateInstall the package in editable mode along with dependencies from requirements.txt
pip install -e . -r requirements.txt
Usage
$ c2-ec2 --help
usage: c2-ec2 [-h] action [parameters [parameters ...]]
positional arguments:
action The action that you want to perform.
parameters Any parameters for the action. Parameters specified by parameter
key and parameter value separated by space.
optional arguments:
-h, --help show this help message and exit
--no-verify-ssl disable verifying ssl certificate
Common request syntax:
$ c2-ec2 <action> <arg1> <value1> <arg2> <value2>
Example
Send simple request:
$ c2-ec2 RunInstances ImageId cmi-078880A0 Description "Test instance" \
InstanceType m1.small MaxCount 1 MinCount 1 SecurityGroup.1 test
Metadata
Release files for c2client 0.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| c2client-0.27.tar.gz | 8.1 kB | Without provenance | Details for c2client-0.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| c2client-0.27-py3-none-any.whl | Python 3 | none | any | Details for c2client-0.27-py3-none-any.whl |
Total release size: 16.2 kB
Release files / c2client-0.27.tar.gz
| Download URL | c2client-0.27.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bf85779b417ac4ccdb791f839bc0b64bef60429127c7d81003458ba358a164e
|
|
BLAKE2b-256 checksum How to use checksums |
0bc3dcc8c445023013b6574ef7e7dd348a8f0edc8f1b39c952059b3aafae0ed4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / c2client-0.27-py3-none-any.whl
| Download URL | c2client-0.27-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75350510fa8c449f82bc3bd5b264521a9d0a50135a919b5bfa1d411fd6ef76f3
|
|
BLAKE2b-256 checksum How to use checksums |
a586d13c88941646e219d14dc20e59377c451187ae783ca25a6f5f91d06b4825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for c2client 0.27
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.