This is a file processing library in python.
Project description
Aritrends
Open source python lib from file processing work. Instead of writing old multiline codes, just write one line code and complete your work quickly and efficently.
Installation
-
Install git command and python3.10 in your system.
-
Enter the following code in your terminal.
pip install aritrends
Command execution guide
Convert Word file into pdf
This code will convert word file into pdf file
from aritrends import aritrends as w
w.convert("/path/to/folder/filename.docx")
Convert multiple images to pdf
This code will convert multiple image file (*.png) to pdf
from aritrends import aritrends as w
list = ["/path/to/folder/image1.png","/path/to/folder/image2.png","/path/to/folder/image3.png"]
w.image2pdf(list)
Generate qrcode
This will generate qrcode of input text.
from aritrends import aritrends as w
w.qrcode("Hello world !")
Convert multiple files into zip
This code will compress all files into zip
from aritrends import aritrends as w
list = ["/path/to/folder/filename.exe","/path/to/folder/filename2.png","/path/to/folder/filename3.dart"]
w.zip(list)
Write text on image file (*.png)
This code will save text on image.
from aritrends import aritrends as w
w.write_text_on_image("Hello World","/path/to/folder/filename.png",["Arial",35])
Compress files to rar
This code will compress multiple files to *.rar
from aritrends import aritrends as w
list = ["/path/to/folder/filename.exe","/path/to/folder/filename2.png","/path/to/folder/filename3.dart"]
w.compress_to_rar(list, filename.rar)
Compress files to 7z
This code will compress multiple files to *.7z
from aritrends import aritrends as w
list = ["/path/to/folder/filename.exe","/path/to/folder/filename2.png","/path/to/folder/filename3.dart"]
w.compress_to_7z(list, filename.7z)
Merge 2 or more pdf(s) together
import aritrends
aritrends.merge_pdfs(['file1.pdf', 'file2.pdf', 'file3.pdf'], 'merged.pdf')
Programming language used
Developer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aritrends-0.0.3.tar.gz
.
File metadata
- Download URL: aritrends-0.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32b947d5bfc416bd75c2d814b374c9037594361eecd8311bbdeec23df5f42531 |
|
MD5 | 8b0aa132baf2e9aed38cc0f8562d987d |
|
BLAKE2b-256 | 83bb9886db88fc46c66eef3f30716a7c15b62e7ac751fe7c11e9ddfae0325f92 |
File details
Details for the file aritrends-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: aritrends-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de2c0d9c8cd368ab34d20083cae39d776893c8af63108aa1438fc29347a27ac5 |
|
MD5 | c4cc71cde62a30d4d9d42876d837b5ac |
|
BLAKE2b-256 | 0ba361939f0ed51b9cbebb76be177cbcbb79217dbc495d913f94532783c4a171 |