Skip to main content

Palantir Foundry CLI

Palantir Foundry CLI provides command-line access to Foundry resource operations with shared configuration, authentication, retry handling, access-control guards, and structured output helpers.

Package

  • Python support: 3.11 and 3.12.
  • Distribution: pal_found_cli.
  • Public commands use the pal-found- prefix, for example pal-found-datasets.
  • Runtime dependencies: foundry-platform-sdk>=1.0.0 and python-dotenv>=1.0.0.
  • PyPI long description source: this README.md.

Install and use

Install the latest verified release from PyPI:

python -m pip install pal_found_cli
pal-found-datasets --help

Upgrade an existing installation with python -m pip install --upgrade pal_found_cli. Each release is built from a vX.Y.Z tag, staged on Test PyPI, installed into a clean environment, and smoke-checked before PyPI publication.

The conda recipe uses the same tag-derived version. After a channel release, install with conda install -c t-jet pal_found_cli.

Authentication and configuration

The CLI authenticates to Foundry with an API token and a target hostname, read from a .env file or the environment. Before running any pal-found-* command, configure credentials:

# Copy the template and fill in your values
cp .env.example .env

Set at minimum:

FOUNDRY_TOKEN=your_foundry_api_token_here
FOUNDRY_HOSTNAME=https://foundry.example.com

FOUNDRY_TOKEN is your Foundry API token (personal or service account) and FOUNDRY_HOSTNAME is the URL of the Foundry instance you target. The .env file is searched per ADR-006 (explicit path override via FOUNDRY_AGENTIC_CLI_ENV_FILE, otherwise the repository root). Do not commit .env to version control. Optional settings cover request timeout, output format, access guards, retry, pagination, and tracing; see .env.example for the full list.

Then verify the setup:

pal-found-datasets --help

This repository contains the installable CLI. The project is split into three independently versioned repositories:

Repository-split and rename design records live in the design repository.

Development

Install the project with development dependencies:

python -m pip install -e ".[dev]"

Run the main validation commands:

ruff check src tests
mypy src
pytest tests --cov=pal_found_cli --cov-report=term-missing --cov-report=xml
python -m build
twine check dist/*

The repository coverage gate is 80% branch coverage.

Metadata

Release files for pal-found-cli 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pal-found-cli 0.1.3
File Size Uploaded
pal_found_cli-0.1.3.tar.gz 231.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pal-found-cli 0.1.3
File Interpreter ABI Platform
pal_found_cli-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 394.1 kB

Release files / pal_found_cli-0.1.3.tar.gz

Download URL pal_found_cli-0.1.3.tar.gz
Size 231.3 kB
Tags Source
SHA-256 checksum
How to use checksums
32a2c6a99e04f480b91eedfd952a7c5923d4300d84199aa848e4bbfc44b698dc
BLAKE2b-256 checksum
How to use checksums
5f1b33b69dafd4eeaecce442cd6bce848813d14080853e12ee0c1cf78bd3f8b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / pal_found_cli-0.1.3-py3-none-any.whl

Download URL pal_found_cli-0.1.3-py3-none-any.whl
Size 162.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1821fa3f89354d53a9d5f7629b2752f2ebdc10980fbbaae39f69ab43b0cf741
BLAKE2b-256 checksum
How to use checksums
64ce4b74705d346181d124462dc54734e51fab6a42aaf7062996758d90a52e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.5

2 release files

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page