@@ -16,37 +16,37 @@ To install with pip, you can run the command:
16
16
17
17
.. code-block :: console
18
18
19
- $ pip install git+https://github.com/SimScaleGmbH/simscale-python-sdk.git
19
+ pip install git+https://github.com/SimScaleGmbH/simscale-python-sdk.git
20
20
21
21
If you want to install an specifiy version, you can run:
22
22
23
23
.. code-block :: console
24
24
25
- $ pip install git+https://github.com/SimScaleGmbH/[email protected]
25
+ pip install git+https://github.com/SimScaleGmbH/[email protected]
26
26
27
27
To install from source, first clone the repository:
28
28
29
29
.. code-block :: console
30
30
31
- $ git clone https://github.com/SimScaleGmbH/simscale-python-sdk.git
31
+ git clone https://github.com/SimScaleGmbH/simscale-python-sdk.git
32
32
33
33
Then you can use setuptools to perform the installation:
34
34
35
35
.. code-block :: console
36
36
37
- $ cd simscale-python-sdk
37
+ cd simscale-python-sdk
38
38
39
- $ python setup.py isntall --user
39
+ python setup.py isntall --user
40
40
41
41
To test the installation, open a python prompt and import the library:
42
42
43
43
.. code-block :: console
44
44
45
- $ python
45
+ python
46
46
47
47
.. code-block :: python
48
48
49
- >> > import simscale_sdk
49
+ import simscale_sdk
50
50
51
51
If you don't receive a `ModuleNotFoundError `, then you should be good to go.
52
52
@@ -71,26 +71,26 @@ It is recommended to use NuGet to install the latest versions:
71
71
72
72
.. code-block :: console
73
73
74
- $ Install-Package RestSharp
74
+ Install-Package RestSharp
75
75
76
- $ Install-Package Newtonsoft.Json
76
+ Install-Package Newtonsoft.Json
77
77
78
- $ Install-Package JsonSubTypes
78
+ Install-Package JsonSubTypes
79
79
80
80
In order to perform the installation, first clone the reposotiry:
81
81
82
82
83
83
.. code-block :: console
84
84
85
- $ git clone https://github.com/SimScaleGmbH/simscale-csharp-sdk.git
85
+ git clone https://github.com/SimScaleGmbH/simscale-csharp-sdk.git
86
86
87
- $ cd simscale-csharp-sdk
87
+ cd simscale-csharp-sdk
88
88
89
89
Then generate the DLL using your preferred tool
90
90
91
91
.. code-block :: console
92
92
93
- $ dotnet build
93
+ dotnet build
94
94
95
95
The DLL can be found under the bin folder. You can link it in your project, then
96
96
include the relevant namespaces:
0 commit comments