V Cloud Market Command Tool For User
Install
pip install v-cloud-market-cli-user
Usage
Interactive Mode
Run with no arguments to start the interactive TUI:
vcloud # mainnet
vcloud -t # testnet
Non-Interactive CLI
All subcommands output JSON to stdout for scripting and automation.
# Browse the marketplace (no wallet needed)
vcloud market list-providers
vcloud market list-categories --provider v-kube-service
vcloud market list-services --provider v-kube-service --category Container-Service
vcloud market get-service <SERVICE_ID>
vcloud market get-provider <PROVIDER_NAME>
# Order management (wallet needed)
vcloud order list [--status OrderPending|OrderPaid|OrderFiled]
vcloud order get <ORDER_ID>
vcloud order create --service-id <ID> --duration <HOURS> --options '{"key":"val"}'
vcloud order pay <ORDER_ID> --amount <N> [--currency-index <N>]
vcloud order currencies
# Wallet operations (wallet needed)
vcloud wallet info [--balance-detail]
vcloud wallet balance
vcloud wallet pay --recipient <ADDR> --amount <N> [--attachment <TEXT>]
# Service management (wallet needed)
vcloud service list [--status ServiceRunning|ServicePending|ServiceDone|ServiceAbort]
vcloud service get <USER_SERVICE_ID> --provider <NAME>
vcloud service status <USER_SERVICE_ID> --provider <NAME>
vcloud service deploy <USER_SERVICE_ID> --provider <NAME> --config-file <PATH>
vcloud service restart <USER_SERVICE_ID> --provider <NAME>
vcloud service renew <USER_SERVICE_ID> [<ID>...] --duration <HOURS> --amount <N>
vcloud service refund <USER_SERVICE_ID> [<ID>...]
Global Options
| Option | Description |
|---|---|
-t, --testnet |
Use testnet instead of mainnet |
--address-index N |
Wallet address index (1-based, default 1) |
Authentication
For password-protected wallets, set the VCLOUD_PASSWORD environment variable:
export VCLOUD_PASSWORD=yourpassword
vcloud order list
If the wallet has no password, no environment variable is needed.
Piping and Scripting
Output is JSON, so it works with jq and other tools:
# Get the first provider's name
vcloud market list-providers | jq '.list[0].name'
# Create an order and capture the order ID
ORDER_ID=$(vcloud order create --service-id <ID> --duration 1 --options '{}' | jq -r '.id')
# Pay for it
vcloud order pay "$ORDER_ID" --amount 1.76 --currency-index 1
Deployment Config File
The service deploy command takes a JSON config file. Example for deploying nginx:
{
"containers": [
{
"name": "nginx",
"imageName": "nginx:latest",
"resourceUnit": 1,
"ports": [{"containerPort": 80, "protocol": "TCP"}],
"envs": [],
"mountPath": "",
"command": [],
"args": [],
"configMountPath": "",
"config": ""
}
],
"pvtLogin": [{"username": "", "password": ""}]
}
Wallet Functions
- Create new wallet
- Reset wallet
- Recover wallet with seed
- Check balance of address in the wallet
- Export wallet addresses to csv file
Market Services
- Explore service provider information
- Explore service category information
- Explore service type information
- Make order with service type id
Order Services
- Pay the order with VSYS
- Check the status of order
- View order list
- View specific order information
- Refund an order
- View refundable order list
User Service
- Explore running user services
- Explore usable user services
- The status of usable user services are: ServicePending or ServiceRunning.
- This function is to get secret information from service provider.
- Explore expired user services
Run CLI in Local
Install dependencies with uv (preferred):
uv venv && source .venv/bin/activate
uv pip install -r requirements.txt && uv pip install -e .
Or with virtualenv:
pip3 install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt && pip install -e .
Run in mainnet:
python3 market_place_cli/use_main_interface.py
Run in testnet:
python3 market_place_cli/use_main_interface.py -t
Exit virtual environment:
deactivate
Metadata
Release files for v-cloud-market-cli-user 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| v_cloud_market_cli_user-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for v_cloud_market_cli_user-0.12.0-py3-none-any.whl |
Release files / v_cloud_market_cli_user-0.12.0-py3-none-any.whl
| Download URL | v_cloud_market_cli_user-0.12.0-py3-none-any.whl |
|---|---|
| Size | 133.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82f963518b58b9cc12cb821d0aae76b09c1f54985ae0e30724237882ce4394b8
|
|
BLAKE2b-256 checksum How to use checksums |
0788d04012d70ef2f0d36fb7b244f5d902c5ddddf8ef68a53f6b80b39eed4548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for v-cloud-market-cli-user 0.12.0
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.