Skip to main content

This library create pdf file

Project description

PDF-creator

It`s a library create pdf files

Installing:

pip install pdf_creator

Guide:

from pdf_creator.creator import pdf_creator
new = pdf_creator('papka/new.pdf') # create file on path 'papka/new.pdf'
new.text('guide', 100, 100) # write 'guide' on 100,100; size of page 594,842
data = [
    ['1', '2'],
    ['a', 'b']
]
new.table(data, 200, 200) # create table on 200,200
new.image('papka/img.png', 300, 300) # create image from 'papka/img.png' on 300,300
new.save() # save file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf_creator-1.0.0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file pdf_creator-1.0.0.tar.gz.

File metadata

  • Download URL: pdf_creator-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for pdf_creator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ff5887b909d2db7acc7ed7167adf85fa201d581ac66c598240775b831fca3648
MD5 a09f73409299cc4d0e9de848dfe37d70
BLAKE2b-256 40e6dcade902f71486901abc9420984c67b74bd31f42d3ca7171e26d8ee5b5ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page