ConvTool
Summary and details
A unified package to convert your videos or images to another image/video format. Convert a whole folder from that format to a different one, or if you prefer, convert just one!
- Python Version: 3.10
- Pip Version: The Lastest version
Functions
- conv_video(route, convert_to, folder, delete_original)
Convert your video files, or an ENTIRE folder with video files to a different format!
-
Parameters:
-
route: string | Path of your file or folder to convert!
-
convert_to: string | Format you want to convert the files to.
-
folder: boolean | If you want to convert a folder with video files, this has to be set to True.
-
delete_original: boolean | If you want that when converting the file to the desired format, the original file is completely deleted, you should leave this parameter to True.
-
Remember that the formats supported are:
- MP4
- MOV
- WAV
- AVI
- FLV
- MKV
- conv_image(route, convert_to, folder, delete_original)
Convert your image files, or an ENTIRE folder with image files to a different format!
-
Parameters:
-
route: string | Path of your image or folder to convert!
-
convert_to: string | Format you want to convert the image to.
-
folder: boolean | If you want to convert a folder with images files, this has to be set to True.
-
delete_original: boolean | If you want that when converting the image to the desired format, the original image is completely deleted, you should leave this parameter to True.
-
The formats supported are:
- BMP
- GIF
- JPG
- JPEG
- PNG
- ICO
- TIFF
Use
Installation:
To use this package, the best idea is to do it through pip:
pip install ConvTool
IT IS VERY IMPORTANT THAT THE "C" AND THE "T" ARE CAPITALIZED.
Or, on the contrary, you can clone this repository and access it:
git clone https://github.com/ElHaban3ro/ConvTool
This will create a folder of the project itself inside your python root project. Next we have to install the necessary dependencies for the project to work correctly, this can be done with:
pip install -r requirements.txt
This would ideally have to install all the necessary libraries for you. This will be installed in the virtual environment of your project. See how to create a virtual environment here.
Use:
To import and use any module, do it as follows (if you cloned the repository, make sure it is in the root of your project):
from ConvTool.ConvTool import conv_video
And with that done, start using it as follows:
from ConvTool.ConvTool import conv_video
conv = conv_video(folder = False, convert_to = 'mp4', delete_original = True, route = r'miruta/archivo.mov')
Now run!
(v1.0) Images Update. ¿What's New?
- Support for converting images to different formats!
- Cleaner code (a bit :c)
- Intentions to add support for converting text files in next updates!
Autor Contact
Metadata
Release files for ConvTool 1.0
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 |
|---|---|---|---|---|
| ConvTool-1.0.tar.gz | 6.0 kB | Without provenance | Details for ConvTool-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ConvTool-1.0-py3-none-any.whl | Python 3 | none | any | Details for ConvTool-1.0-py3-none-any.whl |
Total release size: 12.2 kB
Release files / ConvTool-1.0.tar.gz
| Download URL | ConvTool-1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d10b53ffc5c9cf768957957bfefd503148499ef9d3eb2ca4dd561fb8382eec6
|
|
BLAKE2b-256 checksum How to use checksums |
ca372cad9d4347645ee70fac105e2badbc14b9c0ca2a526e4b806469ee527d52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / ConvTool-1.0-py3-none-any.whl
| Download URL | ConvTool-1.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c82139d277fc84a8a5354d40f4f404123eaf2c9fff841f06e22f2c7068a4bef6
|
|
BLAKE2b-256 checksum How to use checksums |
ab202fc2d7a63bb1c70d4a407d912581c7804443e63098aee2941c64f38fa8ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for ConvTool 1.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.