This repository contains various examples demonstrating how to use the Restack AI Python SDK. These examples are designed to help you get started with Restack AI and showcase different features and use cases.
- Python 3.12 or higher
- Poetry (for dependency management)
-
Clone this repository:
git clone https://github.com/restackio/examples-python cd examples-python
-
Navigate to the example you want to explore:
cd examples-python/examples/<example-name>
-
Install dependencies using Poetry:
poetry install
-
Follow the specific instructions in each example's README file.
To run Restack locally using Docker, you have two options:
Using docker run
:
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
This will force repulling and rebuilding.
After running either of these commands, the Restack UI will be available at http://localhost:5233
We welcome contributions to this repository! If you have an example you'd like to add or improvements to existing examples, please feel free to submit a pull request.