Registry / http-networking / foundry-platform-sdk

foundry-platform-sdk

JSON →
library1.82.0pypypi✓ verified 84d ago

The official Python library for the Palantir Foundry API. Version 1.82.0, requires Python >=3.10, <4.0. Rapid release cadence (weekly).

pip install foundry-platform-sdk
INSTALL
IMPORT
SIG · FOUNDRY-PLATFORM-S
F
foundry-platform-sdk
http-networkingpythonv1.82.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FoundryClient
✓ from foundry_sdk import FoundryClient
✗ from foundry import FoundryClient

Initialize client with hostname and token from environment variables.

from foundry import FoundryClient from foundry import os client = FoundryClient( hostname=os.environ.get('FOUNDRY_HOSTNAME', ''), token=os.environ.get('FOUNDRY_TOKEN', ''), ) # List users users = client.admin.User.list() for user in users.data[:5]: print(user.email)
Debug
Known issues
breakingThe SDK requires Python >=3.10. Installations on Python 3.9 or lower will fail.
fix
Upgrade Python to 3.10 or later.
affects: all versions >=1.0.0
deprecatedAuthentication via foundry_client_id and foundry_client_secret environment variables is deprecated in favor of token-based auth using FOUNDRY_TOKEN.
fix
Switch to using FOUNDRY_TOKEN or FoundryClient(token=...).
affects: >=1.50.0
gotchaThe correct import is from foundry import FoundryClient, NOT from foundry_platform_sdk. Many users mistakenly use the PyPI package name as import root.
fix
Use 'from foundry import FoundryClient'.
affects: all versions
gotchaList methods return a paginated object, not a plain list. Access .data to get items.
fix
Use users.data instead of users directly.
affects: all versions
Upgrade
Version history
1.82.0latest on PyPI · released Apr 28, 2026
Audit
Dependencies
httpxrequiredHTTP client used internally
pydanticrequiredData validation and settings management
Agent activity
46 hits · last 30 days
node
36
OpenAI (training)
1
Resources