A simple pdf size compressing telegram robot witten in python.

Overview

Pdf Compressor Telegram Bot

##About :

A simple pdf size compressing telegram robot witten in python. Mostly useful for digital documentation.

Deploy to Heroku:

Mandatory Variables:

  • API_HASH Your API Hash from my.telegram.org
  • API_ID Your API ID from my.telegram.org
  • BOT_TOKEN Your bot token from @BotFather

Deploy Locally:

Create a config.py with the above mandatory variables (Refer sample_config.py) and save it in the current working directory.

git clone https://github.com/m4mallu/compress-pdf-tg-bot
cd uniquify
virtualenv -p python3 venv
. ./venv/bin/activate
pip3 install -r requirements.txt
python3 bot.py

Credits:


Developer: ๐‘…๐‘’๐“ƒ๐’ฟ๐’พ๐“‰๐’ฝ ๐‘€๐’ถ๐“ƒ๐‘”๐’ถ๐“

Update Channel: Here


GPL3

You might also like...
A simple Python script to convert multiple images (well technically also a single image) into a pdf.

PythonImage2PDF A simple Python script to convert multiple images into a single PDF-document. Created basically for only my own needs for converting m

An application which enables the users to perform simple yet intriguing PDF operations

AstutePDF A repository containing the GUI for an application which enables the users to perform simple yet intriguing PDF operations. These include, M

this is simple program, that converts pdf file to png

author: a5892731 last update:2021-11-01 version: 1.1 resources: -https://pypi.org/project/pdf2image/ -https://github.com/oschwartz10612/poppler-window

minipdf is a package for creating simple, single-page PDF documents.
minipdf is a package for creating simple, single-page PDF documents.

minipdf minipdf is a package for creating simple, single-page PDF documents. Installation You can install the development version from GitHub with: #

Simple pdf editor while preserving structure and format.
Simple pdf editor while preserving structure and format.

SIMPdf Simple pdf editor while preserving structure and format.

Python PDF Parser (Not actively maintained). Check out pdfminer.six.

PDFMiner PDFMiner is a text extraction tool for PDF documents. Warning: As of 2020, PDFMiner is not actively maintained. The code still works, but thi

A python library for extracting text from PDFs without losing the formatting of the PDF content.

Multilingual PDF to Text Install Package from Pypi Install it using pip. pip install multilingual-pdf2text The library uses Tesseract which can be ins

A Python tool to generate a static HTML file that represents the internal structure of a PDF file
A Python tool to generate a static HTML file that represents the internal structure of a PDF file

PDFSyntax A Python tool to generate a static HTML file that represents the internal structure of a PDF file At some point the low-level functions deve

Performing the following operations using python on PDF.
Performing the following operations using python on PDF.

Python PDF Handling Tutorial Python is a highly versatile language with a huge set of libraries. It is a high level language with simple syntax. Pytho

Comments
  • some formatting changes and improvements.

    some formatting changes and improvements.

    • please check manually before merging
    • whats the purpose of these two variables https://github.com/m4mallu/compress-pdf-tg-bot/blob/29c2a12ad9ff932157299a33e441bf71c976cd06/plugins/compress.py#L52 https://github.com/m4mallu/compress-pdf-tg-bot/blob/29c2a12ad9ff932157299a33e441bf71c976cd06/plugins/compress.py#L75
    • PDFNetPython3 in requirements doesn't work https://github.com/m4mallu/compress-pdf-tg-bot/blob/29c2a12ad9ff932157299a33e441bf71c976cd06/requirements.txt#L4
    ERROR: Could not find a version that satisfies the requirement PDFNetPython3==8.1.0 (from versions: 9.1.0)
    ERROR: No matching distribution found for PDFNetPython3==8.1.0
    
    opened by alenpaulvarghese 3
Owner
Renjith Mangal
๐Ÿ•ด๐ŸผAlways quest for ma Kick ๐Ÿ•ด๐ŸผKeeping my demon dormant๐Ÿ•ด๐Ÿผ
Renjith Mangal
DietPDF aims at reducing PDF file size while not degrading quality nor losing metadata

DietPDF aims at reducing PDF file size while not degrading quality nor losing metadata

Frรฉdรฉric BISSON 6 Jul 27, 2022
PyPDF2 is a pure-python PDF library capable of splitting, merging together, cropping, and transforming the pages of PDF files.

PyPDF2 is a pure-python PDF library capable of splitting, merging together, cropping, and transforming the pages of PDF files. It can also add custom data, viewing options, and passwords to PDF files. It can retrieve text and metadata from PDFs as well as merge entire files together.

Matthew Stamy 5k Jan 4, 2023
Trata PDF para tornรก-lo compatรญvel com PDF/X e com impressoras em escala de cinza.

tratapdf Trata PDF para tornรก-lo compatรญvel com PDF/X e com impressoras em escala de cinza. dependรชncias icc-profiles ghostscript visualizador de PDF

null 1 Nov 30, 2021
PDFSanitizer - Renders possibly unsafe PDF files and outputs harmless PDF files

PDFSanitizer Renders possibly malicious PDF files and outputs harmless PDF files

null 9 Jan 30, 2022
Compare-pdf - A Flask driven restful API for comparing two PDF files

COMPARE-PDF A Flask driven restful API for comparing two PDF files. Description

Karthikeyan JC 3 Mar 13, 2022
Convert PDF to AudioBook and Audio Speech to PDF

In this Python project, we will build a GUI-based PDF to Audio and Audio to PDF converter using the Tkinter, OS, path, pyttsx3, SpeechRecognition, PyPDF4, and Pydub libraries and the messagebox module of the Tkinter library.

RISHABH MISHRA 1 Feb 13, 2022
Telegram bot that can do a lot of things related to PDF files.

Telegram PDF Bot A Telegram bot that can: Compress, crop, decrypt, encrypt, merge, preview, rename, rotate, scale and split PDF files Compare text dif

null 130 Dec 26, 2022
Simple HTML and PDF document generator for Python - with built-in support for popular data analysis and plotting libraries.

Esparto is a simple HTML and PDF document generator for Python. Its primary use is for generating shareable single page reports with content from popular analytics and data science libraries.

Dom 76 Dec 12, 2022
Python lib for Simple PDF text extraction

Python lib for Simple PDF text extraction

Jason Alan Palmer 651 Jan 1, 2023
Simple python tool created for downloading PDF.

PDFdownloader Usage Open PDF in full-screen mode Run scan.exe Enter how many pages you want to scan Focus PDF After scanning is done, run merge.exe En

null 5 Oct 27, 2021