Python SDK (clore-ai)
Installation
pip install clore-aigit clone https://gitlab.com/cloreai/clore-ai-sdk.git
cd clore-ai
pip install -e .Authentication
CloreAI — Synchronous Client
CloreAI — Synchronous ClientConstructor
Parameter
Type
Default
Description
wallets()
wallets()marketplace()
marketplace()Parameter
Type
Default
Description
my_servers()
my_servers()server_config()
server_config()Parameter
Type
Description
my_orders()
my_orders()Parameter
Type
Default
Description
create_order()
create_order()Parameter
Type
Description
cancel_order()
cancel_order()Parameter
Type
Description
spot_marketplace()
spot_marketplace()Parameter
Type
Description
set_spot_price()
set_spot_price()Parameter
Type
Description
set_server_settings()
set_server_settings()Parameter
Type
Description
close()
close()AsyncCloreAI — Asynchronous Client
AsyncCloreAI — Asynchronous ClientConstructor
Context Manager (recommended)
Methods
Concurrent Operations
Models
Wallet
WalletMarketplaceServer
MarketplaceServerServerSpecs
ServerSpecsServerPrice
ServerPriceMyServer
MyServerServerConfig
ServerConfigOrder
OrderSpotMarket
SpotMarketAPIResponse
APIResponseExceptions
Hierarchy
CloreAPIError
CloreAPIErrorError Code Table
Code
Exception Class
Meaning
Handling Errors
Rate Limiter
How It Works
Configuration
Environment Variables
Variable
Description
Config File (~/.clore/config.json)
~/.clore/config.json)Priority Order
CLI Reference
Commands
Command
Description
clore search
clore searchclore deploy
clore deployclore ssh
clore sshSee Also
Last updated
Was this helpful?