Skip to main content

Python API for PDFreactor

Project description

Python API for PDFreactor (https://www.pdfreactor.com), a HTML-to-PDF processor.

This distribution package is based on the original API module by RealObjects. To make use of it, you need

Features

  • The module pdfreactor.api contains the Python API version 6 (based on wrappers/python/lib/PDFreactor.py from the PDFreactor tarball), suitable to talk to PDFreactor server versions 8 to 10.

Examples

Some sample scripts are contained in the docs/sample/ directory:

simple.py

A sample demonstrating the simple integration of PDFreactor into Python applications

async.py

A sample demonstrating an asynchronous integration which is recommended for medium to large documents

stream.py

A sample demonstrating how converted PDFs can be streamed, thus conserving memory

Documentation

Installation

Simply install using pip:

pip install pdfreactor-api

Or, to integrate in a project built using zc.buildout, add to your buildout.cfg script:

[buildout]

...

eggs =
    pdfreactor-api

and then run bin/buildout.

Contribute

(To this API distribution package:)

Support

If you are having issues, please let us know; please use the issue tracker mentioned above.

License

The project is licensed under the MIT License.

Contributors

Changelog

1.0 (unreleased)

  • Initial release. [tobiasherp]

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page