Getting Started

Getting started with incendiary should be pretty straight forward.

Prerequisites

  • Python version >= 3.6

  • AWS Account and Credentials

  • A local instance of AWS X-Ray Daemon. Instructions can be found here

Installing

pip install insanic-incendiary

Initialization

from insanic import Insanic
from insanic.conf import settings
from incendiary import Incendiary

__version__ = "0.1.0.dev0"

settings.configure(ENVIRONMENT="development")
app = Insanic('example',  version=__version__)

Incendiary.init_app(app)

When you send a request to your application, your node on AWS X-Ray’s visualization will be example.development.