Moved python related mappins to its own file