In [3]:
import coreapi

In [4]:
auth = coreapi.auth.BasicAuthentication(
    username='janek89',
    password='test'
)

In [5]:
client = coreapi.Client(auth=auth)

In [ ]: