Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pdf4me

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdf4me

Provides expert functionality to convert, optimize, merge, split, ocr, print documents & PDFs.

  • 0.8.24
  • Source
  • PyPI
  • Socket score

Maintainers
1

The Pdf4me Client API is a python package which connects to its highly scalable SaaS cloud service with many functionalities to solve your document and PDF requirements. The SaaS API provides expert functionality to convert, optimize, compress, produce, merge, split, ocr, enrich, archive, print documents and PDF's.

FeatureDescription
OptimizePDF's can often be optimized by removing structural redundancy. This leads to much smaller PDF's.
MergeMultiple PDF's can be merged into single optimized PDFs.
SplitA PDF can be splitted into multiple PDF's.
ExtractFrom a PDF extract multiple pages into a new document.
ImagesExtract images from your document, can be any type of document.
Create Pdf/ACreate a archive conform PDF/A including xmp Metadata.
Convert to PDFConvert your documents from any format to a proper PDF document.
StampStamp your document with text or images.
RotateRotates pages in your document.
ProtectProtects or Unlocks your document with given password.
ValidationValidate your document for PDF/A compliance.
RepairRepairs your document.
BarcodeReads all types of barcode embedded in document or creates them

Getting Started

To get started get a Token by dropping us an email or registering in our portal.

The Token is required for Authentication. The Pdf4me Client Api provides you already with the necessary implementation. You need only to get an instance for the Pdf4meClient as shown in the sample below.

"""
Either you store them in the config.properties file with token
Do not use any quotes:
Correct: token=sample-not-working-key-aaaaaaa
Incorrect: token="sample-not-working-key-aaaaaaa"

In case the location of your config.properties differs from the default location ('../config.properties'), provide the optional argument path_to_config_file.

"""
pdf4me_client = Pdf4meClient(path_to_config_file='path_to_my_config.properties')

""" or you pass them as arguments when constructing the Pdf4meClient object """
pdf4me_client = Pdf4meClient(token=token)

# The pdf4meClient object delivers the necessary authentication when instantiating the different pdf4meClients such as for instance Merge
merge_client = MergeClient(pdf4me_client)
merged_pdf = merge_client.merge_2_pdfs(
    file1=FileReader().get_file_handler(path='my_first_pdf.pdf'),
    file2=FileReader().get_file_handler(path='my_second_pdf.pdf')
)

Documentation

Please visit our documentation for more information about all the functionalities provided and on how to use pdf4me.

Recommendation

It's recommended to create an instance of Pdf4meClient per thread in a multithreaded environment to avoid any potential issues.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc