This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A quick script to add signature images to PDFs, because I couldn’t find anything that worked well for the purpose under Linux.

Pros: should work with most PDFs, and with signatures as PNG’s or JPG’s. It preserves the incoming PDF’s text format (e.g. doesn’t convert every page to images like some alternatives).

Cons: no gui yet.

Installation

Install with pip:

pip install signpdf

Or from git:

git clone https://github.com/yourcelf/signpdf cd signpdf virtualenv venv source venv/bin/activate pip install -r requirements.txt

Usage

Sign the first page of “contract.pdf” with the signature “sig.png”:

signpdf contract.pdf sig.png –coords 1x100x100x150x40
Coordinates format is: <pagenum>x<x-coord>x<y-coord>x<width>x<height>.
  • <pagenum> the page number, count starts at 1.
  • <x-coord> horizontal distance from bottom-left corner in PDF units (1/72 inch).
  • <y-coord> vertical distance from bottom-left corner in PDF units (1/72 inch).
  • <width> width of signature in PDF units (1/72 inch).
  • <height> height of signature in PDF units (1/72 inch)

Other options:

  • --date Append a date to the right of the signature.
  • --output Destination filename. Default is to append _signed to the incoming PDF name.

For more usage details, run signpdf --help.

Release History

Release History

0.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
signpdf-0.0.3.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Apr 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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