r/IPython • • Nov 23 '21

How to hide code from jupyter notebook

So I have a jupyter notebook which does lots of analytical stuff. I want to share it with other teams who can just give input & see all the outputs. I do not want them to see my code . How can I do this?

Thanks

7 Upvotes

7 comments sorted by

View all comments

Show parent comment

4

u/ComplexColor Nov 24 '21

Export login details (or preferably the entire login procedure) into a separate python module. Share the notebooks, don't share the module with the login details.

Search whatever you export for the login details to make sure it isn't hidden from view somewhere.