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: Client/README.md
+49-96Lines changed: 49 additions & 96 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This guide explains how to install and use the `rps-engine-client-python` library from PyPI to interact with the REGDATA's RPS Engine API.
4
4
5
-
---
5
+
6
6
7
7
## Install the Library
8
8
@@ -12,111 +12,68 @@ Install the latest version from PyPI using pip:
12
12
pip install rps-engine-client-python
13
13
```
14
14
15
-
---
16
15
17
16
## Configure Your Environment
18
17
19
-
The library requires configuration for authentication and engine connection. You can provide this information via a `settings.json` file or `.env` file.
20
-
21
-
### 1. Location of the configuration file
22
-
23
-
The default location of the configuration file is the root project folder. If a dedicated folder or location is necessary, it could be applied by setting the environment variable `RPS_CLIENT_CONFIG_DIR`.
Below is a minimal example which uses the [`EngineFactory`](Client/engine/engine_factory.py) class for the engine connection, getting the contexts from a JSON file.
118
73
74
+
Below is an example which uses the [`EngineFactory`](Client/engine/engine_factory.py) class for the engine connection, getting the contexts from a JSON file.
119
75
76
+
- Pay attention that the given arguments for the `rights_context_name` and `processing_context_name` parameters are the names of keys from the *rights_contexts.json* and *processing_contexts.json* files above.
120
77
```python
121
78
from Client.engine.engine_factory import EngineFactory
122
79
from Client.context_source import ContextSource
@@ -128,33 +85,29 @@ from Client.value.rps_value import RPSValue
- See the [examples folder](https://github.com/your-org/rps-engine-client-python/tree/main/Client/Client/examples) in the source repository for more advanced usage patterns.
150
-
151
-
---
152
-
153
101
## Run Your Script
154
102
155
103
156
104
```bash
157
105
python your_script.py
158
106
```
159
107
160
-
---
108
+
109
+
## Additional Resources
110
+
111
+
For advanced usage, examples, and contribution guidelines, see the [full documentation on GitHub](https://github.com/RegdataSA/rps-engine-client-python/).
112
+
113
+
For REGDATA Community Page see [RPS Community](https://demo.rpsprod.ch/community/).
0 commit comments