# 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
<a href="https://www.python.org/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/python-colored.svg" width="36" height="36" alt="Python" /></a>
## Developer
[@abhineetraj1](https://github.com/abhineetraj1)
Raw data
{
"_id": null,
"home_page": null,
"name": "aritrends",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, qrcode convertor, rar compressor, zip creator, 7z creator, image to pdf, file processing, pdf to docx",
"author": "Abhineet Raj",
"author_email": "<abhineetraj01@outlook.com>",
"download_url": "https://files.pythonhosted.org/packages/83/bb/9886db88fc46c66eef3f30716a7c15b62e7ac751fe7c11e9ddfae0325f92/aritrends-0.0.3.tar.gz",
"platform": null,
"description": "\r\n# Aritrends\r\n\r\n\r\n\r\nOpen 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.\r\n\r\n\r\n\r\n## Installation\r\n\r\n\r\n\r\n*\tInstall git command and python3.10 in your system.\r\n\r\n*\tEnter the following code in your terminal.\r\n\r\n\r\n\r\n```\r\n\r\npip install aritrends\r\n\r\n```\r\n\r\n\r\n\r\n## Command execution guide\r\n\r\n\r\n\r\n### Convert Word file into pdf\r\n\r\n\r\n\r\nThis code will convert word file into pdf file\r\n\r\n```\r\n\r\nfrom aritrends import aritrends as w\r\n\r\nw.convert(\"/path/to/folder/filename.docx\")\r\n\r\n```\r\n\r\n\r\n\r\n### Convert multiple images to pdf\r\n\r\nThis code will convert multiple image file (*.png) to pdf\r\n\r\n```\r\n\r\nfrom aritrends import aritrends as w\r\n\r\nlist = [\"/path/to/folder/image1.png\",\"/path/to/folder/image2.png\",\"/path/to/folder/image3.png\"]\r\n\r\nw.image2pdf(list)\r\n\r\n```\r\n\r\n\r\n\r\n### Generate qrcode\r\n\r\nThis will generate qrcode of input text.\r\n\r\n```\r\n\r\nfrom aritrends import aritrends as w\r\n\r\nw.qrcode(\"Hello world !\")\r\n\r\n```\r\n\r\n\r\n\r\n### Convert multiple files into zip\r\n\r\nThis code will compress all files into zip\r\n\r\n```\r\n\r\nfrom aritrends import aritrends as w\r\n\r\nlist = [\"/path/to/folder/filename.exe\",\"/path/to/folder/filename2.png\",\"/path/to/folder/filename3.dart\"]\r\n\r\nw.zip(list)\r\n\r\n```\r\n\r\n\r\n\r\n### Write text on image file (*.png)\r\n\r\nThis code will save text on image.\r\n\r\n```\r\n\r\nfrom aritrends import aritrends as w\r\n\r\nw.write_text_on_image(\"Hello World\",\"/path/to/folder/filename.png\",[\"Arial\",35])\r\n\r\n```\r\n\r\n\r\n\r\n## Compress files to rar\r\n\r\nThis code will compress multiple files to *.rar\r\n\r\n```\r\n\r\nfrom aritrends import aritrends as w\r\n\r\nlist = [\"/path/to/folder/filename.exe\",\"/path/to/folder/filename2.png\",\"/path/to/folder/filename3.dart\"]\r\n\r\nw.compress_to_rar(list, filename.rar)\r\n\r\n```\r\n\r\n\r\n\r\n## Compress files to 7z\r\n\r\nThis code will compress multiple files to *.7z\r\n\r\n```\r\n\r\nfrom aritrends import aritrends as w\r\n\r\nlist = [\"/path/to/folder/filename.exe\",\"/path/to/folder/filename2.png\",\"/path/to/folder/filename3.dart\"]\r\n\r\nw.compress_to_7z(list, filename.7z)\r\n\r\n```\r\n\r\n\r\n\r\n## Merge 2 or more pdf(s) together\r\n\r\n```\r\n\r\nimport aritrends\r\n\r\naritrends.merge_pdfs(['file1.pdf', 'file2.pdf', 'file3.pdf'], 'merged.pdf')\r\n\r\n```\r\n\r\n\r\n\r\n## Programming language used\r\n\r\n<a href=\"https://www.python.org/\" target=\"_blank\" rel=\"noreferrer\"><img src=\"https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/python-colored.svg\" width=\"36\" height=\"36\" alt=\"Python\" /></a>\r\n\r\n\r\n\r\n## Developer\r\n\r\n\r\n\r\n[@abhineetraj1](https://github.com/abhineetraj1)\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "This is a file processing library in python.",
"version": "0.0.3",
"project_urls": null,
"split_keywords": [
"python",
" qrcode convertor",
" rar compressor",
" zip creator",
" 7z creator",
" image to pdf",
" file processing",
" pdf to docx"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0ba361939f0ed51b9cbebb76be177cbcbb79217dbc495d913f94532783c4a171",
"md5": "c4cc71cde62a30d4d9d42876d837b5ac",
"sha256": "de2c0d9c8cd368ab34d20083cae39d776893c8af63108aa1438fc29347a27ac5"
},
"downloads": -1,
"filename": "aritrends-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c4cc71cde62a30d4d9d42876d837b5ac",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2911,
"upload_time": "2024-04-12T00:39:07",
"upload_time_iso_8601": "2024-04-12T00:39:07.739844Z",
"url": "https://files.pythonhosted.org/packages/0b/a3/61939f0ed51b9cbebb76be177cbcbb79217dbc495d913f94532783c4a171/aritrends-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "83bb9886db88fc46c66eef3f30716a7c15b62e7ac751fe7c11e9ddfae0325f92",
"md5": "8b0aa132baf2e9aed38cc0f8562d987d",
"sha256": "32b947d5bfc416bd75c2d814b374c9037594361eecd8311bbdeec23df5f42531"
},
"downloads": -1,
"filename": "aritrends-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "8b0aa132baf2e9aed38cc0f8562d987d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3157,
"upload_time": "2024-04-12T00:39:09",
"upload_time_iso_8601": "2024-04-12T00:39:09.296497Z",
"url": "https://files.pythonhosted.org/packages/83/bb/9886db88fc46c66eef3f30716a7c15b62e7ac751fe7c11e9ddfae0325f92/aritrends-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-12 00:39:09",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aritrends"
}