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.26

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.26
File Size Uploaded Provenance Actions
foundry_dev_tools_transforms-2.1.26.tar.gz 15.5 kB Without provenance Details for foundry_dev_tools_transforms-2.1.26.tar.gz

Built distribution (wheel)

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

Total release size: 32.8 kB

Release files / foundry_dev_tools_transforms-2.1.26.tar.gz

Download URL foundry_dev_tools_transforms-2.1.26.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
47d3172b070fb4479eabd80f41f571dd144115575c6b66bc301437e0bf6d1400
BLAKE2b-256 checksum
How to use checksums
cb3c1eef90d00bfeb935f166133b160c3868bdcbf7c98d250ee54af4be095019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.7 CPython/3.12.16 Linux/7.0.0-1019-azure

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

Download URL foundry_dev_tools_transforms-2.1.26-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ba965107db8d90391393da46db8c57b3d6b7a944680d70b1783f3769b7aca77
BLAKE2b-256 checksum
How to use checksums
0dc5d1554355f6eb22fa84e7b7a774af2e1ffa8e22ff4d0203fd732ac0ee30e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.7 CPython/3.12.16 Linux/7.0.0-1019-azure

Security for foundry-dev-tools-transforms 2.1.26

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.

Release history Release notifications | RSS feed

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