AutoEval Python SDK
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)