Registry / http-networking / foundry-platform-sdk

foundry-platform-sdk

JSON →
library1.82.0pypypi✓ verified 30d ago

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

http-networkingawsgcpazure
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.

from foundry_sdk 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 footguns
breakingThe SDK requires Python >=3.10. Installations on Python 3.9 or lower will fail.
deprecatedAuthentication via foundry_client_id and foundry_client_secret environment variables is deprecated in favor of token-based auth using FOUNDRY_TOKEN.
gotchaThe correct import is from foundry import FoundryClient, NOT from foundry_platform_sdk. Many users mistakenly use the PyPI package name as import root.
gotchaList methods return a paginated object, not a plain list. Access .data to get items.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
20 hits · last 30 days
claudebot
4
gptbot
3
ahrefsbot
3
bytedance
2
bingbot
1
petalbot
1
Resources