Skip to content

restackio/examples-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restack AI Python SDK Examples

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.

Prerequisites

  • Python 3.12 or higher
  • Poetry (for dependency management)

Getting Started

  1. Clone this repository:

    git clone https://github.com/restackio/examples-python
    cd examples-python
  2. Navigate to the example you want to explore:

    cd examples-python/examples/<example-name>
  3. Install dependencies using Poetry:

    poetry install
  4. Follow the specific instructions in each example's README file.

Running Restack in Docker

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

Contributing

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.