palantir-local-dev-loop

Featured

Configure Palantir Foundry local development with Python transforms and testing. Use when setting up a development environment, running transforms locally, or establishing a fast iteration cycle with Foundry. Trigger with phrases like "palantir dev setup", "palantir local development", "foundry local dev", "develop with palantir".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Palantir Local Dev Loop ## Overview Set up local development for Palantir Foundry integrations. Covers running transforms locally against sample data, mocking the Foundry API for fast iteration, and testing with pytest before pushing to Foundry. ## Prerequisites - Completed `palantir-install-auth` setup - Python 3.9+ with pip - A Foundry Code Repository cloned locally (or a standalone project) ## Instructions ### Step 1: Project Structure ``` my-foundry-project/ ├── src/myproject/ │ ├── __init__.py │ ├── pipeline.py # @transform functions │ └── utils.py # Shared logic ├── tests/ │ ├── conftest.py # Fixtures with sample DataFrames │ ├── test_pipeline.py # Transform unit tests │ └── sample_data/ # CSV/Parquet test fixtures ├── .env # FOUNDRY_HOSTNAME, FOUNDRY_TOKEN ├── requirements.txt # foundry-platform-sdk, pytest, pyspark └── pyproject.toml ``` ### Step 2: Install Local Dependencies ```bash set -euo pipefail pip install foundry-platform-sdk pyspark pytest pandas python -c "import foundry; import pyspark; print('Dependencies ready')" ``` ### Step 3: Test Transforms Locally with PySpark ```python # tests/conftest.py import pytest from pyspark.sql import SparkSession @pytest.fixture(scope="session") def spark(): return SparkSession.builder.master("local[2]").appName("test").getOrCreate() @pytest.fixture def sample_orders(spark): data = [ ("ORD-001", "alice@company.co...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category