Manage API keys
Get your LastMile API Key
- Log in or sign up at https://lastmileai.dev
- Navigate to https://lastmileai.dev/apikeys
- Click
+ New Key
Use your LastMile API Key
Managing External API
Configure Weights & Biases API token
The LastMile Python library provides pythonic access to the LastMile REST API from any Python 3.7+ application.
Installation
# install from PyPI
pip install lastmile
Usage
import os
from lastmile import Lastmile
client = Lastmile(
# This is the default and can be omitted
bearer_token=os.environ.get("LASTMILE_API_TOKEN"),
)
dataset = client.datasets.create()
print(dataset.dataset)