Lightning talk presented during the Python in Astronomy 2018 workshop @ Center for Computational Astrophysics, Flatiron Institute, New York. The slides present two Python packages for direct imaging of exoplanets: VIP and SODINN. VIP is an package for differential imaging and high-contrast imaging data analysis (https://github.com/vortex-exoplanet/VIP). SODINN is focused on deep learning applied to pattern recognition for detection of exoplanets in high-contrast imaging sequences.