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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foundry_dev_tools_transforms-2.1.25.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foundry_dev_tools_transforms-2.1.25-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file foundry_dev_tools_transforms-2.1.25.tar.gz.

File metadata

  • Download URL: foundry_dev_tools_transforms-2.1.25.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.28.0 CPython/3.12.13 Linux/6.17.0-1020-azure

File hashes

Hashes for foundry_dev_tools_transforms-2.1.25.tar.gz
Algorithm Hash digest
SHA256 4605d7c46a3cdbc473e8a3fb5c8fc47547c979626827a8ee81dd18235d470908
MD5 943e4bf62093e09a751468edba66b59f
BLAKE2b-256 4fb4711820d78d092a6de867acca6cf83a1d31faf1b58328c061ba5619062ff8

See more details on using hashes here.

File details

Details for the file foundry_dev_tools_transforms-2.1.25-py3-none-any.whl.

File metadata

File hashes

Hashes for foundry_dev_tools_transforms-2.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 1548fae9602a930d3d238e53b6d7408b4608c02d6e76a98e0d0f9ba47f18d826
MD5 a081e373ffd157cf59dedf6169e6e71f
BLAKE2b-256 624e8166da7f5cc500ff84af039f01578dca45b3901d1f8b93ca14b828dd7055

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.1.25 This release

2 files

2.1.24

2 files

2.1.23

2 files

2.1.22

2 files

2.1.21

2 files

2.1.20

2 files

2.1.19

2 files

2.1.18

2 files

2.1.17

2 files

2.1.16

2 files

2.1.15

2 files

2.1.14

2 files

2.1.13

2 files

2.1.12

2 files

2.1.11

2 files

2.1.10

2 files

2.1.9

2 files

2.1.8

2 files

2.1.7

2 files

2.1.6

2 files

2.1.5

2 files

2.1.4

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page