sphinx-copybutton
Add a copy button to each of your code cells.