Skip to content

palantir/foundry-osdk-python-tutorial

Repository files navigation

Python OSDK ToDo App Tutorial

The Python Osdk ToDo App Tutorial is an easy way to start learning more about the Python OSDK. In this tutorial, you'll go through common workflows such as reading and writing data, using a pre-made ToDo app ontology. The tutorial will walk you through python development in a Jupyter Notebook.

Prerequisites

  1. You will need access to Palantir Foundry.
  2. Make sure you're on Python 3.9-3.11. You can run python3 --version to check the version of Python you're using

Getting Started

  1. In Foundry go to the Developer Console.
  2. Once there, under Get Started, click on Ontology SDK Tutorial - To-do App, and then Create resource. This will generate an application using a premade ToDo App ontology.
  3. Click the button on the upper right, and switch from Typescript to Python. You should be on the Getting started page of the Tutorial.
  4. To get set up with your code, you can follow the instructions in developer console or proceed with these.
  5. Set your token

export FOUNDRY_TOKEN=<"your user token">

  1. Clone this repository and cd into it

cd python-osdk-tutorial

  1. Install requirements and open up jupyter lab:
pip install -r requirements.txt 
cd python_osdk_tutorial/generated/tutorial_todo_app_sdk
jupyter-lab
  1. Open the todo_app_notebook.ipynb and get started!

About

A tutorial walking a user through how to use the Python OSDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published