Socket
Socket
Sign inDemoInstall

aritrends

Package Overview
Dependencies
6
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aritrends

This is a file processing library in python.


Maintainers
1

Readme

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

Python

Developer

@abhineetraj1

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc