How to keep my code private?¶
My code is proprietary, so I do not want to send any sources to Neptune, while training locally. How to do it?
All you need to do it to pass empty list
 to the
upload_source_files parameter, like this:
1 2 3 4 5 6 7
import neptune # This function assumes that NEPTUNE_API_TOKEN environment variable is defined. neptune.init(project_qualified_name='username/my_project') with neptune.create_experiment(upload_source_files=) as exp: ...
You can exclude your main file the files from being send by using the
exclude option in the configuration file or in the command line.
Exclude using config file
As a result you will not send sources to Neptune, so they will not be available in the Source Code tab in the Web app. Here is an example of experiments where source code: