You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-14Lines changed: 26 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,25 +43,30 @@ All source code and scripts are provided under the Apache 2.0 license. They are
43
43
The following softwares are required to use this script
44
44
45
45
- RKD API credentials. Please reach out to your LSEG representative to acquire RKD access credentials.
46
-
-Python [Anaconda](https://www.anaconda.com/distribution/) or [MiniConda](https://docs.conda.io/en/latest/miniconda.html) distribution/package manager.
46
+
-[Python](https://www.python.org/).
47
47
- The [JupyterLab](https://jupyter.org/) runtime (for the Notebook example application)
48
48
49
49
All scripts support Python 3 only and not compatible with Python 2.
50
50
51
+
51
52
*Note:*
52
53
- You can install Jupyter Notebook on your local machine and then test the example on the machine. The alternate choice is a free Jupyter Notebook on cloud environment such as [Azure Notebook](https://notebooks.azure.com/) provided by Microsoft. You can find more details from [this tutorial](https://docs.microsoft.com/en-us/azure/notebooks/tutorial-create-run-jupyter-notebook). If you are not familiar with Jupyter Notebook, the following [tutorial](https://www.datacamp.com/community/tutorials/tutorial-jupyter-notebook) created by DataCamp may help.
53
-
54
+
- The Python [Anaconda](https://www.anaconda.com/distribution/) or [MiniConda](https://docs.conda.io/en/latest/miniconda.html) distribution/package manager are also supported.
54
55
55
56
### <aid="python_example_run"></a>How to run the Python Console examples
56
57
57
-
1. Open Anaconda Prompt and go to the project's Python folder
58
-
2. Run the following command in the Anaconda Prompt application to create a Conda environment named *RKD_Python* for the project.
58
+
1. Open Command Prompt and go to the project's Python folder
59
+
2. Run the following command in the Command Prompt application to create a Python virtual environment named *RKD_Python* for the project.
3. Once the environment is created, activate a Conda environment named ```RKD_Python``` with this commandinAnaconda Prompt.
63
+
3. Once the environment is created, activate an environment named ```RKD_Python``` with this commandinCommand Prompt.
63
64
```bash
64
-
(base) $>conda activate RKD_Python
65
+
#Windows
66
+
$>RKD_Python\Scripts\activate
67
+
68
+
#Linux
69
+
$>source RKD_Python/bin/activate
65
70
```
66
71
4. Run the following command to the dependencies in the *RKD_Python* environment with a **requirements.txt** file.
67
72
```bash
@@ -79,18 +84,22 @@ All scripts support Python 3 only and not compatible with Python 2.
79
84
(RKD_Python) $>python <application>.py
80
85
```
81
86
82
-
**Note**: The Python examples also compatible with the Python [venv](https://docs.python.org/3/library/venv.html).
87
+
**Note**: The Python examples also compatible with the Python [Conda environment](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html).
83
88
84
89
### <a id="python_example_run"></a>How to run the Python Notebook examples
85
90
86
-
1. Open Anaconda Prompt and go to the project's Python folder
87
-
2. Run the following commandin the Anaconda Prompt application to create a Conda environment named *RKD_Python_Notebook*for the project.
91
+
1. Open Command Prompt and go to the project's Python folder
92
+
2. Run the following commandin the Command Prompt application to create a Python virtual environment named *RKD_Python_Notebook*for the project.
3. Once the environment is created, activate a Conda environment named ```RKD_Python_Notebook``` with this commandinAnaconda Prompt.
96
+
3. Once the environment is created, activate an environment named ```RKD_Python_Notebook``` with this commandinCommand Prompt.
92
97
```bash
93
-
(base) $>conda activate RKD_Python_Notebook
98
+
#Windows
99
+
$>RKD_Python_Notebook\Scripts\activate
100
+
101
+
#Linux
102
+
$>source RKD_Python_Notebook/bin/activate
94
103
```
95
104
4. Run the following command to the dependencies in the *RKD_Python_Notebook* environment with a **requirements-notebook.txt** file.
96
105
```bash
@@ -108,7 +117,7 @@ All scripts support Python 3 only and not compatible with Python 2.
108
117
(RKD_Python_Notebook) $>notebook>jupyter lab
109
118
```
110
119
111
-
**Note**: The Python Jupyter examples also compatible with the Python [venv](https://docs.python.org/3/library/venv.html).
120
+
**Note**: The Python examples also compatible with the Python [Conda environment](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html).
112
121
113
122
Please follow the [JupyterLab installation guide](https://jupyter.org/install) page.
114
123
@@ -182,3 +191,6 @@ For any questions related to this tutorial or RKD API, please use the Developer
182
191
- Update libraries versions
183
192
- version 1.6.5: January 2026
184
193
- Rebranding LSEG
194
+
- Updated all links to be up-to-date
195
+
- Updated libraries
196
+
- Updated to use Python venv as a suggestion environment instead of Conda.
0 commit comments