Skip to main content

File-Editor:

A python package to convert a file to different file format.

Example :

png to pdf

pdf to png

jpeg to pdf

pdf to jpeg

tiff to pdf

pdf to tiff

Note : if input is 2 page pdf document and output specified as .png format. it will split the pdf document into two png files.

Required Packages:

Python-pil and pdf2image

>>> sudo apt-get install python-pil
>>> pip install pdf2image

Usage:

Following commands will convert the input file to output file format.

First argument : Input file path

Second argument : Output file format

>>> from file_editor.editor import image
>>> image("example.png",".pdf")

Supported File Fromats

BMP, PDF, EPS, GIF, ICNS, ICO, IM, JPEG, JPEG 2000, MSP, PCX, PNG, PPM, SGI, SPIDER, TIFF, WebP and XBM

Metadata

Release files for file-editor 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for file-editor 1.0.0
File Size Uploaded Provenance Actions
file-editor-1.0.0.tar.gz 3.1 kB Without provenance Details for file-editor-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for file-editor 1.0.0
File Interpreter ABI Platform Actions
file_editor-1.0.0-py3-none-any.whl Python 3 none any Details for file_editor-1.0.0-py3-none-any.whl

Total release size: 7.1 kB

Release files / file-editor-1.0.0.tar.gz

Download URL file-editor-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4316da6ab854bfa2aa4a36ccc3bdeeb0c4fdb5a9f5ab5ad8d1aeb3f6f847cdbb
BLAKE2b-256 checksum
How to use checksums
e1507986f33c5efeb4ad7ff536200e0690b670e9039712413b08445ea16ddf90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

Release files / file_editor-1.0.0-py3-none-any.whl

Download URL file_editor-1.0.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3d6fc8a2a7a8e4e8154bf2d09c6a980b7d9bf99db679390947963e8b6db1266
BLAKE2b-256 checksum
How to use checksums
e22d3928cd9de7e7a8318ecd1d9a9629913923bcb6be267f8235b87cc2e1dd8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

Security for file-editor 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page