CLI for running Constants.ai tools from the command line
Project description
constants-cli
CLI for running Constants tools from the command line.
Install
uv tool install constants-cli
Quick Start
# Authenticate (or set CONSTANTS_API_KEY env var)
constants auth
# List your tools
constants list
# Run a tool
constants run my_tool_abc12345 query="hello world"
# Run with file input (auto-uploaded)
constants run pdf_tool_abc12345 pdf_file=./report.pdf
# Run with JSON input
constants run my_tool_abc12345 --input-json '{"query": "hello", "limit": 10}'
Authentication
Set your API key via environment variable:
export CONSTANTS_API_KEY="wk_your_key_here"
Or store it persistently:
constants auth
Get your API key at app.constants.ai/settings.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file constants_cli-0.1.0.tar.gz.
File metadata
- Download URL: constants_cli-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f83e5eb6973a9cfb48c934701c0d479b068c1056dfec2cd06833d8d7e2e54c4f
|
|
| MD5 |
c6ac7d7322b64735731ee5fe090c71e2
|
|
| BLAKE2b-256 |
dca678c7580a2062bce52088eb729eab22694802222ba756a5e75c957799cc31
|
Provenance
The following attestation bundles were made for constants_cli-0.1.0.tar.gz:
Publisher:
publish-cli.yml on xuanyuzhou98/wookers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
constants_cli-0.1.0.tar.gz -
Subject digest:
f83e5eb6973a9cfb48c934701c0d479b068c1056dfec2cd06833d8d7e2e54c4f - Sigstore transparency entry: 1101134281
- Sigstore integration time:
-
Permalink:
xuanyuzhou98/wookers@8a6018f782ed9e9bbb1a91ecd265fafd3322ad88 -
Branch / Tag:
refs/tags/cli-v0.1.0 - Owner: https://github.com/xuanyuzhou98
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cli.yml@8a6018f782ed9e9bbb1a91ecd265fafd3322ad88 -
Trigger Event:
push
-
Statement type:
File details
Details for the file constants_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: constants_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abf6cb3124cec665c292331b62a49b35a0c6b9f0544d27c3baecd1c284d03d8c
|
|
| MD5 |
402efad8bc93860790a2ddce3de7f7f6
|
|
| BLAKE2b-256 |
781e57a7abc18e38649f17d02821222b0a47d2704498126c2d6acf9852b66385
|
Provenance
The following attestation bundles were made for constants_cli-0.1.0-py3-none-any.whl:
Publisher:
publish-cli.yml on xuanyuzhou98/wookers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
constants_cli-0.1.0-py3-none-any.whl -
Subject digest:
abf6cb3124cec665c292331b62a49b35a0c6b9f0544d27c3baecd1c284d03d8c - Sigstore transparency entry: 1101134284
- Sigstore integration time:
-
Permalink:
xuanyuzhou98/wookers@8a6018f782ed9e9bbb1a91ecd265fafd3322ad88 -
Branch / Tag:
refs/tags/cli-v0.1.0 - Owner: https://github.com/xuanyuzhou98
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cli.yml@8a6018f782ed9e9bbb1a91ecd265fafd3322ad88 -
Trigger Event:
push
-
Statement type: