Python and PHP code libraries