Python API Reference

Welcome to the documentation for the Spell Python API! This library allows you to programmatically interact with Spell from within a Python script or application.

If you are new to Spell, it might be worthwhile to check out the rest of the Spell documentation, particularly the core concepts, before continuing with the Python API.


If you have already installed the Spell CLI, the Python API comes along with it and you can skip this step.


  1. Sign up for a Spell account.

  2. Install the Spell CLI

    $ pip install spell
  3. Login using your credentials from sign up

    $ spell login

Quick Start

For help getting started with using the Python API, check out the Python quickstart in our examples repository.