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.
- You will need access to Palantir Foundry.
- Make sure you're on Python 3.9-3.11.
You can run
python3 --version
to check the version of Python you're using
- In Foundry go to the Developer Console.
- Once there, under
Get Started
, click onOntology SDK Tutorial - To-do App
, and thenCreate resource
. This will generate an application using a premade ToDo App ontology. - Click the button on the upper right, and switch from
Typescript
toPython
. You should be on theGetting started
page of the Tutorial. - To get set up with your code, you can follow the instructions in developer console or proceed with these.
- Set your token
export FOUNDRY_TOKEN=<"your user token">
- Clone this repository and cd into it
cd python-osdk-tutorial
- Install requirements and open up jupyter lab:
pip install -r requirements.txt
cd python_osdk_tutorial/generated/tutorial_todo_app_sdk
jupyter-lab
- Open the
todo_app_notebook.ipynb
and get started!