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.

Source Distribution

poolbox-0.1.tar.gz (1.5 MB view details)

Uploaded Source

File details

Details for the file poolbox-0.1.tar.gz.

File metadata

  • Download URL: poolbox-0.1.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.12

File hashes

Hashes for poolbox-0.1.tar.gz
Algorithm Hash digest
SHA256 5f6510617db0ef9a207673383d9d657336e3884ab7b2d5661fdf89b5a830511b
MD5 0ea5137d48b7b5772ee00f0098ece862
BLAKE2b-256 2a7176396a99e9bf9a78f17f9418d0cb963f88d56c78a0600ce7c9d62e234c67

See more details on using hashes here.

Supported by

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