SDK Register and Update
For a Web logging in go to Web Register page.
For a Rest API logging in go to Rest API Register page.
1. Install Python
Python needs to be installed on your system using this official website.
The SDK supports python version 3.5.4 til 3.8.
2. Install the dtlpy package
You only need to install the package once
A. Enter the Command Line
Click Windows+R (To launch Windows "Run"), input "cmd" and click "Enter" (to launch the Windows command line).
Go to Applications → Utilities → Terminal.
Applications → Accessories → Terminal, or Applications → System → Terminal, depending on your system.
B. Install Using pip
Install the plugin using pip, write the following command and click "enter":
pip install dtlpy
Alternatively, install it from the source by cloning the GitHub repo run:
python setup.py install
You can install the Virtualenv tool using pip that lets you create an isolated Python environment for your project.
pip install virtualenv
Optional: Set "Dataloop Directory" for Cookie Location
If needed, you can set the Dataloop path by setting an environment variable
It is for users who do not have access to the default location cookie ”~/.dataloop”.
3. Log in to the platform
For logging in, type the command below :
Once your browser opens the Login screen, type the credentials below or login with Google
Password: [your password]
Please wait for the "Login Successful" tab to appear, then close the tab.
Upgrade the dtlpy Package
If you wish to upgrade an already installed dtlpy:
pip install dtlpy --upgrade
Both the package for which you are referencing, and any dependencies must be installed
Set dtlpy logging level
Set your dtlpy logging level to be displayed. The default value is a warning.
To understand more about Python logging levels please click here.
#All supported levels dl.VERBOSE_LOGGING_LEVEL_DEBUG dl.VERBOSE_LOGGING_LEVEL_INFO dl.VERBOSE_LOGGING_LEVEL_WARNING dl.VERBOSE_LOGGING_LEVEL_ERROR dl.VERBOSE_LOGGING_LEVEL_CRITICAL #For example, set INFO level : dl.verbose.logging_level = dl.VERBOSE_LOGGING_LEVEL_INFO