Skip to main content

Foundry DevTools

Seamlessly run your Palantir Foundry Repository transforms code and more on your local machine. Foundry DevTools is a set of useful libraries to interact with the Foundry APIs. It consists of two parts:

  • The transforms implementation

    • An implementation of the Foundry transforms package that internally uses the CachedFoundryClient. This allows you to seamlessly run your Palantir Foundry Code Repository transforms code on your local machine. Foundry DevTools does not cover all of Foundry's features, more on this here.
  • API clients

    We implemented multiple clients for many foundry APIs like compass, catalog or foundry-sql-server.

    • For example:

      from foundry_dev_tools import FoundryContext
      
      # the context, that contains your credentials and configuration
      ctx = FoundryContext()
      
      df = ctx.foundry_sql_server.query_foundry_sql("SELECT * FROM `/Global/Foundry Training and Resources/Example Data/Aviation Ontology/airlines`", branch='master')
      df.shape
      # Out[2]: (17, 10)
      

Quickstart

With pip:

pip install foundry-dev-tools

With conda or mamba on the conda-forge channel:

conda install -c conda-forge foundry-dev-tools

Further instructions can be found in our documentation.

Why did we build this?

  • Local development experience in your favorite IDE (PyCharm, VSCode, ...)
    • Access to modern developer tools and workflows such as ruff, mypy, pylint, black, pre-commit hooks etc.
  • Quicker turnaround time when making changes
    • Debug, change code and run in a matter of seconds instead of minutes
  • No accidental or auto commits
    • Keep your git history clean

License

Copyright (c) 2024 Merck KGaA, Darmstadt, Germany

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

The full text of the license can be found in the LICENSE file in the repository root directory.

Metadata

Release files for foundry-dev-tools-transforms 2.1.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foundry-dev-tools-transforms 2.1.25
File Size Uploaded Provenance
foundry_dev_tools_transforms-2.1.25.tar.gz 15.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for foundry-dev-tools-transforms 2.1.25
File Interpreter ABI Platform
foundry_dev_tools_transforms-2.1.25-py3-none-any.whl Python 3 none any Details

Total release size: 32.8 kB

Release files / foundry_dev_tools_transforms-2.1.25.tar.gz

Download URL foundry_dev_tools_transforms-2.1.25.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4605d7c46a3cdbc473e8a3fb5c8fc47547c979626827a8ee81dd18235d470908
BLAKE2b-256 checksum
How to use checksums
4fb4711820d78d092a6de867acca6cf83a1d31faf1b58328c061ba5619062ff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.28.0 CPython/3.12.13 Linux/6.17.0-1020-azure

Release files / foundry_dev_tools_transforms-2.1.25-py3-none-any.whl

Download URL foundry_dev_tools_transforms-2.1.25-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1548fae9602a930d3d238e53b6d7408b4608c02d6e76a98e0d0f9ba47f18d826
BLAKE2b-256 checksum
How to use checksums
624e8166da7f5cc500ff84af039f01578dca45b3901d1f8b93ca14b828dd7055
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.28.0 CPython/3.12.13 Linux/6.17.0-1020-azure

Security for foundry-dev-tools-transforms 2.1.25

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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