Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

constants_cli-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

constants_cli-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

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

Hashes for constants_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f83e5eb6973a9cfb48c934701c0d479b068c1056dfec2cd06833d8d7e2e54c4f
MD5 c6ac7d7322b64735731ee5fe090c71e2
BLAKE2b-256 dca678c7580a2062bce52088eb729eab22694802222ba756a5e75c957799cc31

See more details on using hashes here.

Provenance

The following attestation bundles were made for constants_cli-0.1.0.tar.gz:

Publisher: publish-cli.yml on xuanyuzhou98/wookers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for constants_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abf6cb3124cec665c292331b62a49b35a0c6b9f0544d27c3baecd1c284d03d8c
MD5 402efad8bc93860790a2ddce3de7f7f6
BLAKE2b-256 781e57a7abc18e38649f17d02821222b0a47d2704498126c2d6acf9852b66385

See more details on using hashes here.

Provenance

The following attestation bundles were made for constants_cli-0.1.0-py3-none-any.whl:

Publisher: publish-cli.yml on xuanyuzhou98/wookers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page