Skip to main content

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

Release files for poolbox 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poolbox 0.1
File Size Uploaded
poolbox-0.1.tar.gz 1.5 MB Details

Release files / poolbox-0.1.tar.gz

Download URL poolbox-0.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
5f6510617db0ef9a207673383d9d657336e3884ab7b2d5661fdf89b5a830511b
BLAKE2b-256 checksum
How to use checksums
2a7176396a99e9bf9a78f17f9418d0cb963f88d56c78a0600ce7c9d62e234c67
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page