Skip to main content

datapaw-cli

Standalone command-line interface for DataPaw.

This package provides the datapaw command and connects local host workflows through datapaw-host-core.

The command automatically loads DATAPAW_ENV_FILE when set. Otherwise, an editable checkout is discovered from the CLI package location and the repository root .env is loaded. Existing process environment variables take precedence over dotenv values. Outside an editable checkout, the current working directory is used as the fallback configuration root.

Available command groups:

  • plan
  • execute
  • run
  • chat
  • datasource list
  • doctor

Run datapaw doctor before the first task to check supported Python/Node versions, uv, model and authentication configuration, DataPaw Home, DataBridge MCP, Docker, Neo4j, and the DataBridge API. datapaw doctor --json emits a machine-readable report that reports whether credentials are set without printing their values.

datasource list reads every datasource configured in DataBridge:

datapaw datasource list

Set DATAPAW_CM_BASE_URL to the DataBridge origin. It defaults to http://127.0.0.1:8765. The command emits JSON and masks saved passwords, AccessKeys, and STS tokens before writing anything to stdout.

The default CLI model uses provider openai together with LLM_MODEL, OPENAI_API_KEY, and OPENAI_BASE_URL. Set the corresponding DATAPAW_MODEL_PROVIDER, DATAPAW_MODEL_NAME, DATAPAW_MODEL_API_KEY, and DATAPAW_MODEL_BASE_URL variables to override individual values for the CLI.

Output and logs

The CLI writes streamed agent events, final answers, and execution summaries to stdout. Interactive prompts and concise command errors remain explicit CLI output on the terminal rather than raw log records. Python logging is written to ${DATAPAW_HOME}/host/datapaw.log at INFO level and above; DATAPAW_HOME defaults to ~/.datapaw.

The log rotates at 50 MB and keeps two backups as datapaw.log.1 and datapaw.log.2. Rotation assumes one active CLI process per DATAPAW_HOME. Direct users of datapaw-host-core continue to own their process logging configuration.

This package intentionally omits serve and local initialization helpers from the public CLI help.

Download files

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

Source Distribution

datapaw_cli-0.1.1.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

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

datapaw_cli-0.1.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file datapaw_cli-0.1.1.tar.gz.

File metadata

  • Download URL: datapaw_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for datapaw_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 926b463151e73b890c143dac7a9c7dfed644a41d2933219672d10e608360529e
MD5 23d9b8241b2fe9126ec397ff5400e9f5
BLAKE2b-256 2c7d7347590d4db84f470eb3d1502933e54ef5b75b322ac77a0676c4f6e13ccf

See more details on using hashes here.

File details

Details for the file datapaw_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: datapaw_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for datapaw_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f0a431d95c7cea3c3a15990cb634b8c9217d98f971bf41e0349fb4b05e18fcee
MD5 a4af4e324481da87bfc271cd25c42210
BLAKE2b-256 cac3d29d23d43aec949f5531565619ebda01921287f1575e6e14d789eaf2ea09

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.4

2 files

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

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