foundry-platform-sdk
The official Python library for the Foundry API
Decision gist · record as of 2026-08-14
Yes. The SDK is actively maintained (released 1 day ago), has low install friction, supports current Python versions (3.10–3.14), carries no known vulnerabilities, and is licensed permissively. Install it if you need programmatic access to Foundry platform APIs; skip it if you only need to query Foundry objects and links or if you're working with Gotham platform.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Requires a Foundry instance hostname and valid authentication token (user token or OAuth2 client credentials).
- Low friction install with a pure-wheel distribution and eight common runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and redistribution with minimal restrictions.
last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 197 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,027,297 downloads/mo, #4,474 on PyPI
Alternatives
Verify before relying
pip install foundry-platform-sdk
from foundry_platform_sdk import FoundryClient
client = FoundryClient(
auth=UserTokenAuth(token),
hostname="example.palantirfoundry.com"
)
api_response = client.datasets.Dataset.Branch.create(
dataset_rid, name="master"
)- Whether the SDK covers all current Foundry API endpoints or if some require direct HTTP calls
- Performance characteristics when working with large datasets or high-volume API calls
- Specific scopes required for different endpoint categories when using OAuth2 authentication
What it is and what it does
The Foundry Platform SDK is an auto-generated Python client for Palantir's Foundry API, providing structured access to platform resources like datasets, branches, and ontology metadata. It wraps HTTP calls to versioned Foundry API endpoints (v1, v2, etc.) and handles authentication via user tokens or OAuth2 client credentials. The SDK is built on httpx for HTTP transport and pydantic for request/response validation, and it automatically retries failed requests when OAuth2 tokens expire.
You use it to programmatically interact with Foundry platform infrastructure—creating branches, querying datasets, managing ontological resources—from Python applications. The SDK distinguishes itself from the Ontology SDK by surfacing platform-level operations on resource types themselves. It's designed for applications that need to automate Foundry administration or integrate Foundry data workflows into larger systems.
Use it for
- Automate dataset and branch creation or management workflows in Foundry from Python scripts
- Build integration layers that programmatically query Foundry platform metadata and ontology definitions
- Develop service applications using OAuth2 client credentials to access Foundry resources on behalf of a service user
- Construct data pipelines that need to interact with Foundry datasets and transactions via API
- Create administrative tools that manage Foundry platform resources without manual console interaction
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The SDK is actively maintained (released 1 day ago), has low install friction, supports current Python versions (3.10–3.14), carries no known vulnerabilities, and is licensed permissively. Install it if you need programmatic access to Foundry platform APIs; skip it if you only need to query Foundry objects and links or if you're working with Gotham platform.
Install
foundry-platform-sdk on PyPI
Before you install
Low friction install with a pure-wheel distribution and eight common runtime dependencies. Actively maintained with a release 1 day old and 197 repository stars.
Requires Python 3.10 or later. Requires a Foundry instance hostname and valid authentication token (user token or OAuth2 client credentials).
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and redistribution with minimal restrictions.
Quickstart
pip install foundry-platform-sdk
from foundry_platform_sdk import FoundryClient
client = FoundryClient(
auth=UserTokenAuth(token),
hostname="example.palantirfoundry.com"
)
api_response = client.datasets.Dataset.Branch.create(
dataset_rid, name="master"
)
Verify before relying
- Whether the SDK covers all current Foundry API endpoints or if some require direct HTTP calls
- Performance characteristics when working with large datasets or high-volume API calls
- Specific scopes required for different endpoint categories when using OAuth2 authentication
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesannotated-typesh11httpxhttpx-ssepydanticpyyamlretryingtyping-extensions |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,027,297 / month, #4,474 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: foundry_platform_sdk-1.103.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “foundry api client”
- foundry-platform-sdkA Python client library for the Foundry API that provides…
- cloudfoundry-clientA Python client library for interacting with Cloud Foundry platforms…
- azure-ai-inferenceUnified client library for chat completions, text embeddings, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also azure-ai-projects · agent-framework-foundry · foundry-local-sdk · cloudfoundry-client · onelogin · PureCloudPlatformClientV2 · fireblocks · Salesforce-FuelSDK · cfenv · athina-client