Business Report Automation
Project description
Introduction
PyautoPDF is a Python library to read/write Excel files which includes the format of xlsx/xlsm/xltx/xltm.
Mailing List
Mail at - shaileshsuthar676@gmail.com
Sample Code::
# import the library
from PyautoPDF.PdfAutomationModule import PdfAutomation
import PyautoPDF
# create excel workbook
wb = PyautoPDF.create_wb()
# create a sheet at index zero in the existing workbook
sheet1 = PyautoPDF.create_sheet(wb=wb, sheet_name='Sheet1', index=0)
# variable declaration for sheet
sheet1 = PdfAutomation(target_sheet=sheet1)
# applying a methods to do the color filling task
sheet1.color_filling(1, 1, 6, 8, 2, 1)
# applying a methods to adjust the column width
col_width = {'A': 10, 'B': 15, 'C': 8, 'D': 30}
sheet1.adjust_columns(col_width=col_width)
# saving the workbook
wb.save('test.xlsx')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyautoPDF-0.1.2.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for PyautoPDF-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e4426e98deb0dcb25eaa2cb5c1ad6892f0a99d4e54db63ab3a3b1e2d9816aa |
|
MD5 | fc824269cd994c60e364474b2510200d |
|
BLAKE2b-256 | 77ee71d6afb171bc6d7aee75bd83e086f531d64fca200707e9e7d8287cee92ba |