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.4

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.4
File Size Uploaded
pal_found_cli-0.1.4.tar.gz 234.8 kB Details

Built distribution (wheel)

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

Total release size: 398.7 kB

Release files / pal_found_cli-0.1.4.tar.gz

Download URL pal_found_cli-0.1.4.tar.gz
Size 234.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e64a2738e9fd51fcf0269c37679c34d000efcf3136a8c64667c28e6224ab56a4
BLAKE2b-256 checksum
How to use checksums
a7c59a07cac0b61491d2a937b105be4513e97bdaf93b771edbbc8a64a39faa30
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 Oct 11, 2026.

Transparency log

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

Download URL pal_found_cli-0.1.4-py3-none-any.whl
Size 163.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
008debe2f6177daa13d57fb4ec1313513b6a030bd0f6b51eec9b0e4d33d4d390
BLAKE2b-256 checksum
How to use checksums
04d03d0f621a47249e02c2f3a4941165abedcb4b3af704f1b9b0c459167029d0
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 Oct 11, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.5

2 release files

This release

0.1.4 This release

2 release files

0.1.3

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