Python libraries for working with rules

  • Dragica Ljubisavljevic Saradnik u nastavi, Katedra za softversko inženjerstvo, Fakultet organizacionih nauka, Univerzitet u Beogradu, e-mail: dragica.ljubisavljevic@fon.bg.ac.rs
Keywords: Rule-based systems, expert systems, Python, Pyke, Experta, Durable rules

Abstract

This paper presents a short review of rule-based systems (an artificial intelligence subfield), with a special emphasis on the tools necessary for their development. The main goal is to provide an analysis and overview of popular Python libraries used for developing such systems. The paper begins with a theoretical overview of the basic concepts used in the development of rule-based systems. Special attention is given to the analysis of three Python libraries: Pyke, Experta, and Durable rules. The practical part of the paper is illustrated through a demonstration example - the development of a system to improve operational processes in a ballet studio. This example demonstrates how rules can be implemented using each of these libraries. Finally, a comparative analysis of these libraries is conducted with each one’s pros and cons highlighted.

Published
2025-02-25
Section
Software engineering