2020
How to Manage Necessary and Boring Evil of Python Programs Configuration Files
ŠPULÁK, Pavel a Jan BROTHÁNEKZákladní údaje
Originální název
How to Manage Necessary and Boring Evil of Python Programs Configuration Files
Autoři
ŠPULÁK, Pavel a Jan BROTHÁNEK
Vydání
8th International Conference on Cartography & GIS, 2020, 1314-0604
Další údaje
Jazyk
angličtina
Typ výsledku
Článek v odborném periodiku
Stát vydavatele
Bulharsko
Utajení
není předmětem státního či obchodního tajemství
Odkazy
Organizační jednotka
Přírodovědecká fakulta
UT WoS
000853257000017
Klíčová slova anglicky
Python; settings; configurations; processing
Příznaky
Mezinárodní význam, Recenzováno
Změněno: 22. 11. 2022 20:59, Ing. Pavel Špulák, Ph.D.
Anotace
V originále
Python programming language is widely used in GIS, machine learning, and data analysis applications. The richness of powerful libraries, together with the speed of coding and rapid learning curve, makes Python language a valuable tool for various tasks connected with spatial data analysis and data analysis in general. On the other hand, Python language gives coder, in comparison with, e.g., Java language, a high level of freedom, which can lead to poorly arranged and hardly manageable spaghetti application code. Fortunately, such problems can be overcome with the careful organization of the application code and settings (or configurations). Owing to this fact, one of the very first steps in the organization of application code must be a design of the hierarchy and structure of application settings files and their processing mechanism. In this contribution, we would like to show one of the possible approaches to application settings files organization and processing. Our approach is based on the careful analysis of the application setting needs, its separation to the hierarchical structure of files, file processing, and final creation of the tree of the dynamically build classes and its attributes containing easily accessible application task settings.