Skip to content
GitHubLogin

Introduction

A high-level intro about the features of the 8080 Python SDK.

8080 Python SDK is a typed library that gives you access to all the features of the 8080 API and platform.

This includes:

  • Fully typed sync and async inference API clients
  • 8080 platform features like sandboxes and secrets management
  • A framework to serve an app on 8080 Edge (built on FastAPI)
  • An agent SDK framework

You can install the 8080 Python SDK (e80_sdk) using pip:

pip install e80_sdk

Or you can use something like uv

uv add e80_sdk

For projects not running on 8080 Edge, you can get an API key for your project from app.8080.io and pass it into the SDK in two ways:

Set an API key via environment variable

export _8080_API_KEY="8080_your_apikey_here"

Set an API key in code

from e80_sdk import Eighty80
e80 = Eighty80(api_key="8080_your_apikey_here")

For projects running on 8080 Edge using the 8080 SDK Edge framework and the 8080 CLI, you do not need to explicitly pass in an API key to the SDK. Running the dev server using 8080 dev will authenticate you if you already ran 8080 login. After deployment, the SDK will authenticate as the project itself.

# Login to your 8080 account
8080 login
# Run the dev server, with the credentials you logged
# in with.
8080 dev