Skip to content
bradendubois edited this page May 4, 2022 · 3 revisions

API

Details on the API provided in the project.

This assumes the steps in the Installation section have been followed, and the project is set up.

Note: For simplicity of import-statements, any examples will assume the project was installed as PyPI package.

Importing

To import the package:

import do

Important:

  • The package name on PyPI is do-calculus, but the module to import is called do.

To create an instance of the API:

from do import API

api = API()

Clone this wiki locally