Skip to content
forked from banteg/docsend

convert docsend to pdf or png sequence

Notifications You must be signed in to change notification settings

samuel-poon/docsend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docsend

Convert docsend.com to PDF or PNG image sequence.

Install

Python 3.6+ is required.

pip install docsend

Usage

From command line:

# download a pdf
docsend doc_id --email [email protected]

# include passcode if required
docsend doc_id -e [email protected] --passcode 123example123

# download png sequence
docsend doc_id -e [email protected] --format png

# specify output file or directory name
docsend doc_id -e [email protected] -f pdf --output doc.pdf

# all options combined
docsend doc_id -e [email protected] -p 123example123 -f png -o pages

From Python code:

from docsend import DocSend

ds = DocSend('abcdef9')
ds.fetch_meta()
ds.authorize('[email protected]')
ds.fetch_images()
ds.save_pdf('doc.pdf')
ds.save_images('pages')

Missing features

You are welcome to contribute.

About

convert docsend to pdf or png sequence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%