socaity-cli
The command line for the socaity.ai platform: login, catalog browsing,
SDK installs, and APIPod deployment tooling. One socaity command, shared by the
socaity SDK and APIPod.
The package is deliberately small: httpx and socaity-schemas are the only dependencies.
Commands that need more (stub generation, container builds) delegate to the socaity or
apipod package and tell you what to install when it is missing.
Install
pip install socaity-cli
You get socaity-cli as part of pip install socaity or pip install apipod as well.
Commands
| Command | Needs | What it does |
|---|---|---|
socaity login / logout / whoami |
- | Browser login, credentials in ~/.config/socaity/ |
socaity list services|models |
- | Browse the AI catalog |
socaity search "flux schnel" |
- | Typo-tolerant search (--collections services,models,jobs) |
socaity jobs [job_id] |
login | List/search jobs; --q, --expand data,files,billing,social, --visibility |
socaity projects [project_id] |
login | Your projects; --expand jobs embeds member jobs |
socaity install <service> |
socaity |
Generate an SDK stub for a service |
socaity update |
socaity |
Sync installed services with the platform |
socaity scan |
apipod |
Scan a project and generate apipod.json |
socaity build [file] |
apipod |
Build the deployment container |
socaity start [entrypoint] |
apipod |
Run an APIPod service locally |
socaity deploy [target] |
apipod |
Deploy to Socaity (wraps apipod deploy) |
Use -C DIR with scan/build/start/deploy to point at a service project directory
(e.g. socaity -C simple_test_service deploy serverless-runpod --yes).
Configuration
| Env var | Default | Purpose |
|---|---|---|
SOCAITY_API_KEY |
from login | API key (wins over stored credentials) |
SOCAITY_BACKEND_URL |
https://webapi.socaity.ai |
Platform API |
SOCAITY_FRONTEND_URL |
https://socaity.ai |
Web UI for browser login |
Using it as a library
socaity and apipod build on the same primitives this package exposes:
from socaity_cli import SocaityBackendClient, get_api_key, requires
SocaityBackendClient covers catalog reads, search, and SDK install/update calls.
requires("apipod") guards a function behind an optional package with a friendly
install hint instead of an ImportError traceback.
Metadata
Release files for socaity-cli 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| socaity_cli-0.1.7.tar.gz | 30.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| socaity_cli-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.5 kB
Release files / socaity_cli-0.1.7.tar.gz
| Download URL | socaity_cli-0.1.7.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1bfb2df8dcf3fc054a9a4e37e33f44977aa36432807e96a77d2c20f118c4230
|
|
BLAKE2b-256 checksum How to use checksums |
dc4482f93e2101deed88a69379fb38380a8126c6ad93836eac5b4db4bd0d3717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / socaity_cli-0.1.7-py3-none-any.whl
| Download URL | socaity_cli-0.1.7-py3-none-any.whl |
|---|---|
| Size | 34.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
740ee0e342a8b342f93c481cdf62663f52f9a4023f9ddea3d87b9ebacadac6cb
|
|
BLAKE2b-256 checksum How to use checksums |
701965de4a6230facd1e8a008e8427744893fdf668e3a83221e95dc1d429a23d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|