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

Built distribution (wheel)

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

Total release size: 307.4 kB

Release files / foundry_dev_tools-2.1.26.tar.gz

Download URL foundry_dev_tools-2.1.26.tar.gz
Size 136.5 kB
Tags Source
SHA-256 checksum
How to use checksums
350e5de19d311b4adb925d61457980cb8a6ec4d06f1b9b2ea656dc67bbb57e06
BLAKE2b-256 checksum
How to use checksums
1c5fdd6c540d01b8eed1f4d74405b3f8c7716a3a67eeef0b56f23933c1298f19
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-2.1.26-py3-none-any.whl

Download URL foundry_dev_tools-2.1.26-py3-none-any.whl
Size 171.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4431997f73c418e2559a087eb278492f8e003df3f52d2b196b87d39926a7dce
BLAKE2b-256 checksum
How to use checksums
21a5ec52bbcedf5cca97470de3fbe974a892baedb7891a5b5917b6eaa85539f3
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 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

This release

2.1.26 This release

2 release files No provenance

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