Skip to main content

PDF Toolbox WebService

Project description

poolbox (Pdf tOOLBOX) : manipulate PDF over the web. poolbox is actually a web wrapper around various PDF libraries.

Installation

Dependencies

poolbox depends on wkhtmltopdf, poppler and pdftk.

On debian-based distribs :

$ sudo apt-get install wkhtmltopdf poppler-utils pdftk

Production-ready

Installation using pip :

$ pip install poolbox

Done.

Developement

Create and activate a virtual env :

$ virtualenv myvenv

$ cd myvenv

$ . bin/activate

Clone this repository :

$ git clone git@gitlab.com:atreal/poolbox.git

$ cd poolbox

Install egg and depencies :

$ python setup.py develop

You’re good to go.

Run the services

Run pyramid in waitress :

$ pserve poolbox.ini

Web Services are available localy on :

http://localhost:6544/WS_NAME

Developement

Run pyramid in waitress, with auto reload when file are modified :

$ pserve poolbox.ini –reload

You can allow global access by switching host address to 0.0.0.0 from poolbox.ini.

Services

TODO : list services and associated functionalities.

OpenAPI

OpenAPI JSON is available at :

http://localhost:6544/__api__

Tests

To run the tests, you have to install the egg in dev mode :

$ python setup.py develop

Then launch the app :

$ pserve poolbox.ini

In another terminal, run the tests :

$ cd tests

$ python test_pdf_toolbox.py

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for poolbox, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size poolbox-0.1.tar.gz (1.5 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page