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: config/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ To work with Lithops you must configure both compute backend and a storage. Fail
4
4
5
5
Lithops can work with almost any compute backend and storage any can be used with almost any cloud provider. You have multiple options to choose compute backend and storage backend based on your needs.
6
6
7
-
After you choose your compute and storage engine, you need to configure Lithops so it can use choosen compute and storage. Lithops configuration can be provided either in configuration file or provided in runtime via Python dictionary.
7
+
After you choose your compute and storage engine, you need to configure Lithops so it can use chosen compute and storage. Lithops configuration can be provided either in configuration file or provided in runtime via Python dictionary.
Copy file name to clipboardExpand all lines: config/storage/ibm_cos.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,23 +32,23 @@ Alternative to using region, you can configre public and private endpoints as fo
32
32
33
33
### Configuration
34
34
35
-
5. Login to IBM Cloud and open up your dashboard. Then navigate to your instance of Object Storage.
35
+
1. Login to IBM Cloud and open up your dashboard. Then navigate to your instance of Object Storage.
36
36
37
-
6. In the side navigation, click `Endpoints` to find your API endpoint. You must copy both public and private endpoints of the region where you created your bucket.
37
+
2. In the side navigation, click `Endpoints` to find your API endpoint. You must copy both public and private endpoints of the region where you created your bucket.
38
38
39
-
7. Create the credentials to access to your COS account (Choose one option):
39
+
3. Create the credentials to access to your COS account (Choose one option):
40
40
41
41
#### Option 1 (COS API Key):
42
42
43
-
8. In the side navigation, click `Service Credentials`.
43
+
4. In the side navigation, click `Service Credentials`.
44
44
45
-
9. Click `New credential +` and provide the necessary information.
45
+
5. Click `New credential +` and provide the necessary information.
46
46
47
-
10. Click `Add` to generate service credential.
47
+
6. Click `Add` to generate service credential.
48
48
49
-
11. Click `View credentials` and copy the *apikey* value.
49
+
7. Click `View credentials` and copy the *apikey* value.
50
50
51
-
12. Edit your lithops config file and add the following keys:
51
+
8. Edit your lithops config file and add the following keys:
52
52
53
53
```yaml
54
54
lithops:
@@ -62,17 +62,17 @@ Alternative to using region, you can configre public and private endpoints as fo
62
62
63
63
#### Option 2 (COS HMAC credentials):
64
64
65
-
13. In the side navigation, click `Service Credentials`.
65
+
4. In the side navigation, click `Service Credentials`.
66
66
67
-
14. Click `New credential +`.
67
+
5. Click `New credential +`.
68
68
69
-
15. Click on advanced options and enable `Include HMAC Credential` button.
69
+
6. Click on advanced options and enable `Include HMAC Credential` button.
70
70
71
-
16. Click `Add` to generate service credential.
71
+
7. Click `Add` to generate service credential.
72
72
73
-
17. Click `View credentials` and copy the *access_key_id* and *secret_access_key* values.
73
+
8. Click `View credentials` and copy the *access_key_id* and *secret_access_key* values.
74
74
75
-
18. Edit your lithops config file and add the following keys:
75
+
9. Edit your lithops config file and add the following keys:
76
76
```yaml
77
77
lithops:
78
78
storage: ibm_cos
@@ -86,13 +86,13 @@ Alternative to using region, you can configre public and private endpoints as fo
86
86
87
87
#### Option 3 (IBM IAM API Key):
88
88
89
-
19. If you don't have an IAM API key created, navigate to the [IBM IAM dashboard](https://cloud.ibm.com/iam/apikeys)
89
+
4. If you don't have an IAM API key created, navigate to the [IBM IAM dashboard](https://cloud.ibm.com/iam/apikeys)
90
90
91
-
20. Click `Create an IBM Cloud API Key` and provide the necessary information.
91
+
5. Click `Create an IBM Cloud API Key` and provide the necessary information.
92
92
93
-
21. Copy the generated IAM API key (You can only see the key the first time you create it, so make sure to copy it).
93
+
6. Copy the generated IAM API key (You can only see the key the first time you create it, so make sure to copy it).
94
94
95
-
22. Edit your lithops config file and add the following keys:
95
+
7. Edit your lithops config file and add the following keys:
Copy file name to clipboardExpand all lines: docs/api_futures.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ The available calls within an executor are:
21
21
22
22
|API Call| Type | Description|
23
23
|---|---|---|
24
-
|[call_async()](api-details.md#executorcall_async)| Async. | Method used to spawn one function activation |
25
-
|[map()](api-details.md#executormap)| Async. | Method used to spawn multiple function activations |
26
-
|[map_reduce()](api-details.md#executormap_reduce)| Async. | Method used to spawn multiple function activations with one (or multiple) reducers|
27
-
|[wait()](api-details.md#executorwait)| Sync. | Wait for the function activations to complete. It blocks the local execution until all the function activations finished their execution (configurable)|
28
-
|[get_result()](api-details.md#executorget_result)| Sync. | Method used to retrieve the results of all function activations. The results are returned within an ordered list, where each element of the list is the result of one activation|
29
-
|[plot()](api-details.md#executorplot)| Sync. | Method used to create execution plots |
30
-
|[clean()](api-details.md#executorclean)| Async. | Method used to clean the temporary data generated by Lithops|
24
+
|[call_async()](api_futures.md#executorcall_async)| Async. | Method used to spawn one function activation |
25
+
|[map()](api_futures.md#executormap)| Async. | Method used to spawn multiple function activations |
26
+
|[map_reduce()](api_futures.md#executormap_reduce)| Async. | Method used to spawn multiple function activations with one (or multiple) reducers|
27
+
|[wait()](api_futures.md#executorwait)| Sync. | Wait for the function activations to complete. It blocks the local execution until all the function activations finished their execution (configurable)|
28
+
|[get_result()](api_futures.md#executorget_result)| Sync. | Method used to retrieve the results of all function activations. The results are returned within an ordered list, where each element of the list is the result of one activation|
29
+
|[plot()](api_futures.md#executorplot)| Sync. | Method used to create execution plots |
30
+
|[clean()](api_futures.md#executorclean)| Async. | Method used to clean the temporary data generated by Lithops|
31
31
32
32
33
33
**LocalhostExecutor(\*\*kwargs)**
@@ -41,7 +41,7 @@ Initialize and return Localhost executor object.
41
41
|workers | cpu_count | Max number of parallel workers |
42
42
|storage | localhost | Storage backend to store temp data|
|log_level | INFO | Log level printing (INFO, DEBUG, ...). Set it to None to hide all logs. If this is param is set, al logging params in config are disabled|
44
+
|log_level | INFO | Log level printing (INFO, DEBUG, ...). Set it to None to hide all logs. If this is param is set, all logging params in config are disabled|
Copy file name to clipboardExpand all lines: docs/api_storage.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Lithops Storage API Details
2
2
3
-
Lithops allows to create a **Storage** instance and abstract away the backend implementation details. The standard way to get an Storage object set up is to import the lithops `Storage` class and create an instance.
3
+
Lithops allows to create a **Storage** instance and abstract away the backend implementation details. The standard way to get a Storage object set up is to import the lithops `Storage` class and create an instance.
0 commit comments