The Spell Python API

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.

Installation

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

Otherwise:

  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