-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actualizado el nombre de PDFU a gulagcleaner.
- Loading branch information
Showing
10 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
# PDFU | ||
PDF Unembedder: Functional inverse of functions that embbed pdf pages inside other documents. The most prominent example is the embedPages() function of PDF-lib.js</br> | ||
# Gulag-cleaner-cli | ||
|
||
This has the side efect of removing ads and watermarks placed by many websites. | ||
Herramienta de eliminación de anuncios en PDFs generados por la plataforma Wuolah. | ||
Es un inverso funcional de las funciones que insertan páginas pdf dentro de otros documentos. El ejemplo más prominente es la función embedPages() de la librería PDF-lib.js</br> | ||
|
||
# How to install:</br> | ||
>pip install pdfu==0.2.1</br> | ||
Adicionalmente también es capaz de extraer los Metadatos (Autor, Asignatura, Universidad...) del archivo. Para más información consultar la descripción de la función.</br> | ||
|
||
# Usage</br> | ||
# Como instalar</br> | ||
>pip install gulagcleaner</br> | ||
# Uso</br> | ||
CLI:</br> | ||
>pdfu \<filename\></br> | ||
>gulagcleaner \<filename\></br> | ||
Code: | ||
>from PDFU.PDFU_Extract import deembed | ||
>from gulagcleaner.gulagcleaner_extract import deembed | ||
> | ||
>return_msg = deembed( "file.pdf" ) | ||
>return_msg = deembed( "file.pdf" ) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[metadata] | ||
name = PDFU | ||
version = 0.2.1 | ||
name = gulagcleaner | ||
version = 0.4.1 | ||
author = YM162 | ||
author_email = [email protected] | ||
description = PDF Unembedder for PDFPage objects | ||
description = Elimina los anuncios de Wuolah y extrae sus metadatos. | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/YM162/PDFU | ||
url = https://github.com/YM162/gulag-cleaner-cli | ||
project_urls = | ||
Bug Tracker = https://github.com/YM162/PDFU/issues | ||
Bug Tracker = https://github.com/YM162/gulag-cleaner-cli/issues | ||
classifiers = | ||
Programming Language :: Python :: 3 | ||
License :: OSI Approved :: MIT License | ||
|
@@ -18,6 +18,7 @@ classifiers = | |
install_requires = | ||
pdfrw>=0.4 | ||
pikepdf>=5.1.2 | ||
pdfminer.six>=20220524 | ||
|
||
packages = find: | ||
python_requires = >=3.6 | ||
|
@@ -28,4 +29,4 @@ exclude = | |
|
||
[options.entry_points] | ||
console_scripts = | ||
pdfu = PDFU.command_line:main | ||
gulagcleaner = gulagcleaner.command_line:main |