This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Python module to clean PDF files by disabling active content (javascript, launch, etc), using the Ruby Origami PDF parser.

Project Description

ORIGAPY module:

origapy is a Python module to clean PDF files by disabling active content (javascript, launch, etc), using the Ruby Origami PDF parser.

It includes a partial version of the origami PDF parser.

origapy website: http://www.decalage.info/python/origapy origami website: http://www.security-labs.org/origami

REQUIREMENTS:

  • Python v2.x
  • Ruby v1.8.x

INSTALLATION:

  • on Windows, launch install.bat
  • on other systems, launch: setup.py install

HOW TO USE THIS MODULE:

import origapy pc = origapy.PDF_Cleaner() pc.clean(‘file.pdf’, ‘cleaned.pdf’)

See also the main code at the end of the module, and docstrings.

LICENSE:

GPL v3 - See COPYING.txt.

AUTHOR:

Philippe Lagadec - http://www.decalage.info

Release History

Release History

This version
History Node

0.09

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting