Configuração instalação:
pip3 install -r requirements.txt
Uso dividir páginas de um arquivo PDF:
>>> from soup_files import File, Directory
>>> from pdflib import PdfStream
# instâncie o caminho do arquivo PDF e o diretório para exportar os dados.
file_pdf = File('path/to/file.pdf')
output_dir = Directory('path/to/save')
pdf_stream = PdfStream()
pdf_stream.add_file_pdf(file_pdf)
pdf_stream.to_files_pdf(output_dir) # isso irá converter cada página em um arquivo PDF
Uso para unir vários arquivos PDF.
>>> from soup_files import File, Directory
>>> from pdflib import PdfStream
# instâncie o caminho dos arquivos PDF que deseja unir.
f = File('path/to/file.pdf')
f2 = File('path/to/file2.pdf)
...
... # Adicione quantos arquivos desejar.
pdf_stream = PdfStream()
pdf_stream.add_file_pdf(f)
pdf_stream.add_file_pdf(f2)
pdf_stream.to_file_pdf(File('path/to/new_file.pdf'))
Metadata
Release files for convert-stream 2.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| convert_stream-2.6.4.tar.gz | 73.8 kB | Without provenance | Details for convert_stream-2.6.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| convert_stream-2.6.4-py3-none-any.whl | Python 3 | none | any | Details for convert_stream-2.6.4-py3-none-any.whl |
Total release size: 94.6 kB
Release files / convert_stream-2.6.4.tar.gz
| Download URL | convert_stream-2.6.4.tar.gz |
|---|---|
| Size | 73.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4cb899663f295da60cabcba1ac389897b700cfb00810e3b10926e1e56b53fa4
|
|
BLAKE2b-256 checksum How to use checksums |
54b867aeb5eb73b08b3811fbcb7b21f64020e8d4d4f2369d0b7fe2f80ea96dea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / convert_stream-2.6.4-py3-none-any.whl
| Download URL | convert_stream-2.6.4-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dce1a64876b8e4f95645f7afdd68c7534c9c76b0424ad67f66002897c802202e
|
|
BLAKE2b-256 checksum How to use checksums |
da04afb678b2c178d259bf498058186e210e4b368c1a96971d3139d78a875e00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Security for convert-stream 2.6.4
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.