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

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.5
File Size Uploaded
pal_found_cli-0.1.5.tar.gz 244.1 kB Details

Built distribution (wheel)

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

Total release size: 409.4 kB

Release files / pal_found_cli-0.1.5.tar.gz

Download URL pal_found_cli-0.1.5.tar.gz
Size 244.1 kB
Tags Source
SHA-256 checksum
How to use checksums
be5db56dd1fafdaa53bf39e497137b4c0967772db2d0d1720d37d344a9a0e969
BLAKE2b-256 checksum
How to use checksums
35e7d22edc085925ee991ece8bcdf0d4cb3f80fc279958d906825cbcb0462894
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 14, 2026.

Transparency log

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

Download URL pal_found_cli-0.1.5-py3-none-any.whl
Size 165.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bcbd479d9b3a4b8fac8d14bbf590a2485d34e9a1b81a113a3c512791aee08f7
BLAKE2b-256 checksum
How to use checksums
394f463886f1c165b28f0556c2cb58617e75090bb86d737072739b627a1e38eb
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 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

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