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

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

Built distribution (wheel)

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

Total release size: 317.0 kB

Release files / foundry_dev_tools-2.1.27.tar.gz

Download URL foundry_dev_tools-2.1.27.tar.gz
Size 141.3 kB
Tags Source
SHA-256 checksum
How to use checksums
90c2ac311901cc12999c2a5f32716b180bba205cdad2da6c654d33c575648f23
BLAKE2b-256 checksum
How to use checksums
20f9f15f697be5ad34b7ffc86661ef0c52dbee8b645060f82272be0bf2150ca6
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-1020-azure

Release files / foundry_dev_tools-2.1.27-py3-none-any.whl

Download URL foundry_dev_tools-2.1.27-py3-none-any.whl
Size 175.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03b97de9b92658e96857c4f2232896d92f2918fc96bda8afabede9857b95449d
BLAKE2b-256 checksum
How to use checksums
e6bd7dabba0b4f3208864b17c28df66906aecb9f2e6d0e0a69f8ec6ec2cb6b8f
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-1020-azure

Security for foundry-dev-tools 2.1.27

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