visionPDF
Módulo Python para Leitura, Tradução e Escrita em Arquivos PDF.
Com uso dos módulos PyPDF2, reportlab e karkipytranslator , sintetizados em um único módulo, mas com todo o poder dos mesmos.
Instalação:
$ pip install visionPDF
Uso:
>> import visionPDF
------- LER -------
>> reader = visionPDF.PDFReader(file_in) # Arquivo PDF a ser lido.
>> reader.get_text(page) # Retorna o texto da Pagina.
------- TRADUZIR ------
>> transl = visionPDF.PDFTranslate(to_lang) # to_lang -> Linguagem para
qual deseja traduzir.
Ex: pt,kr,en,...
>> transl.translate(text) # text -> Texto a ser traduzido.
-------- ESCREVER ---------
>> writer = visionPDF.PDFWriter(file_out,orientation) # file_out -> Arquivo de Saida.
# orientation -> Orientação do documento. Ex: portrait/landscape.
>> writer.addText(text,x,y,font,size,color) # Escreve um texto no documento.
>> writer.save_page() # Salva o conteudo gravado na pagina e fecha ela.
>> writer.close() # Fecha o Documento PDF.
Contato:
@informeai
Metadata
Release files for visionPDF 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| visionPDF-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for visionPDF-1.0.1-py3-none-any.whl |
Release files / visionPDF-1.0.1-py3-none-any.whl
| Download URL | visionPDF-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c5fc428d178b138d048af45ebf25f19cc40acb87c84127ef7d4714c7919634b
|
|
BLAKE2b-256 checksum How to use checksums |
d1a200566d6cafa9f72df47abd2de398fe53ffbf6968c9a7308f2407601dad67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
|
Security for visionPDF 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.