Water Quality Indices (WQIs) generate a single numerical value based on different physicochemical parameters. This facilitates the interpretation of data and assists with monitoring and public health decisions. This work presents the development and validation of a Python-based Graphical User Interface (GUI) WQI Analyzer. It was coded in the PyCharm (Integrated Development Environment) based on the Tkinter library, according to Indian Standard IS 10500:2012. It is made for use in the Palanadu district of Andhra Pradesh. It computes WQI based on eleven major physicochemical parameters: pH, Hardness, Fluoride, Total Alkalinity, Total Dissolved Solids (TDS), Chloride, Sulphate (SO?²?), Calcium (Ca²?), Magnesium (Mg²?), Nitrate (NO??), and Iron (Fe). People can enter real-time measurements or mean values to obtain the WQI score and the corresponding water quality category. Field evaluation using 110 water samples revealed WQI values between \"Excellent\" to \"Poor\". Levels at some sites exceeded the levels for Hardness, TDS, Fluorine and Alkalinity. The analyzer is a trusted, user-friendly, and configurable tool for researchers, local government, and public health professionals to enhance drinking water quality assessment and management in rural parts of Palanadu district.
Introduction
Access to safe drinking water is essential for public health, economic productivity, and community well-being. In Palanadu District, Andhra Pradesh, groundwater quality is often compromised due to natural contaminants (fluoride, iron), agricultural runoff (nitrates, pesticides), and human activities that increase hardness, alkalinity, and TDS. Continuous monitoring is critical to prevent waterborne illnesses, and the Water Quality Index (WQI) provides a simplified method to assess overall water quality by combining multiple physicochemical parameters into a single score.
This study developed a Python-based GUI WQI Analyzer using Tkinter, covering eleven key parameters per IS 10500:2012 standards, enabling users to input real-time or laboratory data to calculate and classify water quality as Excellent, Good, Medium, or Poor. Groundwater samples from rural and urban handpumps were collected pre-monsoon to capture worst-case contamination scenarios. Results highlighted spatial variability in water quality, with issues particularly in hardness, TDS, and alkalinity.
The GUI WQI Analyzer offers a user-friendly, accurate, and efficient tool for water quality monitoring, supporting public health, rural development planning, and environmental policy implementation in Palanadu District and similar regions.
Conclusion
The created Python-based application effectively integrates data processing, sub-index calculation, and aggregation into one simple-to-use interface. Through direct input of the measured parameter values, the tool quickly calculates the WQI, hence simplifying the complicated manual calculations often needed in traditional methods.
The calculated WQI values indicated spatial variability in drinking water quality within the study area. All samples fell into the \"good\" to \"poor\" water quality classes, which were largely dominated by high hardness and total dissolved solids. The results reflect the impact of the semi-arid climatic conditions and the pre-monsoon groundwater recharge status on water quality in the study area. In total, the WQI Analyzer developed is an effective and consistent decision-support tool for monitoring drinking water quality.
References
[1] Bureau of Indian Standards (BIS), IS 10500:2012 – Drinking Water — Specification (Second Revision), New Delhi, India, 2012.
[2] C. Cude, “Oregon Water Quality Index: A tool for evaluating water quality management effectiveness,” Journal of the American Water Resources Association, vol. 37, no. 1, pp. 125–137, 2001.
[3] R. K. Horton, “An index number system for rating water quality,” Journal of the Water Pollution Control Federation, vol. 37, no. 3, pp. 300–306, 1965.
[4] T. Tyagi, R. Sharma, and P. Singh, “Water quality assessment using water quality index (WQI) in different seasons in Yamuna River, India,” Environmental Monitoring and Assessment, vol. 191, no. 11, pp. 715–724, 2019.
[5] S. Abbasi, Water Quality Indices, Elsevier Applied Science, London, 2002.
[6] K. K. Yidana, J. Banoeng Yakubo, and B. A. Sakyi, “Identifying key processes in the hydrochemistry of a basin through factor analysis and geochemical modeling,” Journal of Earth System Science, vol. 121, no. 2, pp. 491–507, 2012.
[7] P. Sahu and P. K. Sikdar, “Hydro-chemical framework of the aquifer in and around East Kolkata Wetlands, West Bengal, India,” Environmental Geology, vol. 55, no. 4, pp. 823–835, 2008.
[8] M. Vasanthavigar, K. Srinivasa moorthy, C. Vijayaragavan, and R. Rajiv Ganthi, “Application of water quality index for groundwater quality assessment: Thirumanimuttar sub-basin, Tamil Nadu, India,” Environmental Monitoring and Assessment, vol. 171, no. 1–4, pp. 595–609, 2010.
[9] S. A. Brown, “Water Quality Index Application in Developing Countries,” International Journal of Environmental Science and Development, vol. 5, no. 3, pp. 260–265, 2014.
[10] G. Deepa and T. V. Ramachandra, “Development of water quality index for assessing surface water quality of Bellandur Lake, Bangalore,” Environmental Monitoring and Assessment, vol. 187, no. 1, pp. 4173–4185, 2015.
[11] Prasad, B., Paluri Rama Rao, and A. Tigga. (2021). Groundwater quality assessment using the weighted arithmetic index method in the selected villages of Butchayyapeta Mandal, Visakhapatnam, Andhra Pradesh, India. Environmental Monitoring and Assessment, Springer. https://doi.org/10.1007/s10661-021-09511-2
[12] Afshan, N., Nagaraju, D., Bhanuprakash, H. M., & Shivashankar, K. (2022). Seasonal analysis of groundwater samples to identify water quality index and comparative statistical analysis of Hunsur Taluk, Mysuru, Karnataka, India. SN Applied Sciences, 4(5), 1–15. https://doi.org/10.1007/s42452-022-05102-z
[13] Ghoderao, S. B., Meshram, S. G., & Meshram, C. (2022). Development and evaluation of a water quality index for groundwater quality assessment in parts of Jabalpur District, Madhya Pradesh, India. Water Supply, 22(6), 6002–6015. https://doi.org/10.2166/ws.2022.159
[14] Swain, P. K., & Biswal, T. (2023). Assessment of groundwater quality in terms of water quality index (WQI) and fluoride contamination of Nuapada District, Odisha, India. Applied Water Science, 13(2), 85. https://doi.org/10.1007/s13201-023-02030-0
[15] Das, S., & Jha, R. (2024). Evaluation of groundwater quality using WQI and multivariate statistical analysis in semi-arid regions of South India. Environmental Challenges, 8, 100649. https://doi.org/10.1016/j.envc.2024.100649