Metadata-Version: 1.2
Name: py2pdf
Version: 0.1.3
Summary: Python source to pdf conversion library.
Home-page: https://github.com/chrisecker/py2pdf
Author: C. Ecker
Author-email: textmodelview@gmail.com
License: BSD
Description: py2pdf
        ======
        
        Description
        -----------
        
        py2pdf has one simple purpose: It takes a string with python source 
        code and creates a nice looking pdf file. The library is simple and 
        self-contained. All pdf generation is done by py2pdf itself. No font 
        files are needed.
        
        Quick example
        -------------
        
        ::
        
            >>> import py2pdf
            >>> text = open('py2pdf.py').read()
            >>> f = open('tmp.pdf', 'wb')
            >>> py2pdf.create_pdf(
            ...    text, f, 
            ...    title='py2pdf', 
            ...    pagesize=py2pdf.A4,
            ...    printed_by='Printed by ME', 
            ...    file_date='2020-08-01')
            >>> py2pdf.startfile('tmp.pdf')
        
        
        
        
Platform: any
Requires-Python: <3.0
