Manual analysis of abundant behavioral data produced by automated systems for long-time monitoring of a group of animals is extremely inefficient and error prone. Some systems (like IntelliCage™) are shipped with software enough for basic analysis of the data, however lacking flexibility for more advanced analyses. To facilitate research reproducibility, same analysis of same data should always yield same results. One (possibly the best) way to achieve such robustness is to have the process automated (due to the IT slogan let the computer do the work), therefore reducing number of possible human errors. The other advantage of such approach is that modern computers are both faster and more precise than humans when dealing with numbers. An automated analysis workflow can be created easily if there is a possibility of a convenient access to data. That is the purpose of development of PyMICE library by our laboratory. The library provides its user with an object oriented application programming interface (API) and a data abstraction layer - therefore shifting ones focus from the form the data is provided to the data itself. A simple analysis can be performed in just a few lines of readable source code (see Figure Figure11 for an example). Moreover, the library comes with auxiliary tools supporting development of analysis workflows. Some of them facilitate data validation while other are dedicated for workflow configuration. Figure 1 A six-line example of data analysis with PyMICE library. Firstly the library is loaded, secondly data are read from file data.zip. In the third line a list of all visits of mouse named Jerry is obtained. Then the first nose poke (if any) from every ...