python-docraptor is a python interface to the Doc Raptor document generation API. It is designed to mirror (well almost) the behaviour of the doc-raptor-gem, including asynchronous support. Here’s an example of it in action:

from docraptor import DocRaptor

docraptor = DocRaptor()
resp = docraptor.create({
        'document_content': '<p>python-docraptor Test</p>',
        'test': True
    })
# PDF data is now available in resp.content

Visit the repository for more examples.