Building an API Automation Framework with Excel and Requests
Framework Overview
Managing API test cases across multiple endpoints often leads to scattered Python files that become difficult to maintain. When an API changes, developers must locate and update corresponding test files individually. This framework addresses the problem by centralizing test data in Excel files, allowing test case updates with ...
Posted on Tue, 19 May 2026 11:53:19 +0000 by phphelpme
Extracting Web Table Data and Exporting to Excel Using a Tampermonkey Script
Often we need to download tabular data displayed on a web page as an Excel file. When the site does not provide a suitable download option, a custom script can be used to gather the data and export it. Using a Tampermonkey (userscript) makes it easy to share the solution with others. Below are two practical approaches: one that simulates manual ...
Posted on Sun, 17 May 2026 06:41:49 +0000 by WendyB
Reading Excel Files in Python with openpyxl
Excel Structure Basics
An Excel file with the .xlsx extension represents a workbook. Within a workbook, you can have multiple worksheets, and the currently active worksheet is accessed via the active property. Each workshete contains rows (numbered 1, 2, 3...) and columns (lettered A, B, C...). The intersection of a specific row and column form ...
Posted on Sat, 16 May 2026 05:38:10 +0000 by the apprentice webmaster
Enable Text Wrapping in Excel Cells Using Apache POI in Java
Enabling Text Wrapping in Excel Cells with Apache POI
Apache POI provides robust capabilities for manipulating Microsoft Office documents, including Excel spreadsheets. When working with Excel files programmatically, enabling automatic text wrapping within cells ensures that lengthy content remains readable without being truncated.
Implementati ...
Posted on Thu, 14 May 2026 12:18:57 +0000 by atticus
Merging and Unmerging Excel Cells Using Java
Cell merging in Excel combines two or more adjacent cells in the same row or column into a single cell. This article demonstrates how to use Free Spire.XLS for Java to merge and unmerge cells in Excel spreadsheets.
Prerequisites:
Download Free Spire.XLS for Java and extract the package. Add the Spire.Xls.jar file from the lib folder as a depen ...
Posted on Wed, 13 May 2026 21:35:13 +0000 by dallasx
Persisting Excel Edits in OnlyOffice via Automated Callback Processing
Containerized deployment
docker run -i -t -d -p 80:80 --name onlyoffice onlyoffice/documentserver
Verify the service by accessing the server address in a browser.
Locking specific cells
Open the Excel workbook, select all cells (Ctrl+A) and open the Format Cells dialog (Ctrl+1). On the Protection tab, uncheck the Locked option.
Individually s ...
Posted on Wed, 13 May 2026 20:21:42 +0000 by lol
Efficient PDF Table Data Extraction to Text and Excel Using Python Libraries
Extracting tabular data from PDF documents, while crucial for analytics and automation workflows, can be challenging due to the format's non-editable nature. Manual copy-pasting is inefficient and prone to errors like data misalignment or omissions. This guide outlines a streamlined approach using Python with dedicated libraries for precise PDF ...
Posted on Wed, 13 May 2026 15:36:24 +0000 by Grayda
Highlighting Low Values in Excel with Python and openpyxl
When working with usage statistics or analytics data in Excel, you often need to visually identify entries that fall below a certain threshold. Instead of manually scanning through hundreds of rows, Python can automate this process efficiently.
This guide demonstrates how to programmatical highlight cells containing values less than 100 in red ...
Posted on Mon, 11 May 2026 05:14:32 +0000 by edspace
Efficient Processing of Large Excel Datasets with Python
Handling Large Excel Files in Python
Processing extensive Excel datasets efficiently requires selecting appropriate libraries and optimization strategies. Python offers several tools specifically designed for this purpose.
Recommended Libraries
pandas serves as the primary choice for most data manipulation tasks. When dealing with large files, ...
Posted on Sun, 10 May 2026 08:03:32 +0000 by LiamOReilly
Export Database Data to Excel Using Python
In many scenarios, it's necessary to export database data into Excel files for analysis or reporting. Recently, I had a requirement to export all table from an SQLite database into a single Excel file, with each table in its own worksheet. This article explains how to achieve this using only Python's built-in libraries and a free Excel processi ...
Posted on Sun, 10 May 2026 00:31:09 +0000 by ddc