Skip to content

Commit 66b55b7

Browse files
author
Elias Nygren
committed
README: upcloud -> upcloud_api
1 parent e1792aa commit 66b55b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ NOTE: This Python client is still evolving. Please test all of your use cases th
99
pip install upcloud-api
1010
```
1111

12-
Alternatively, if you want the newest master or a devel branch - clone the project and run:
12+
Alternatively, if you want the newest master or a devel branch - clone the project and run:
1313
```
1414
python setup.py install
1515
```
1616

1717
**!! SSL security update for python 2 !!**
1818
* short story: `pip install requests[security]` should solve all of your problems.
1919
* long story:
20-
* upcloud-python-api uses [requests](http://docs.python-requests.org/en/latest/)
20+
* upcloud-python-api uses [requests](http://docs.python-requests.org/en/latest/)
2121
for HTTP(S) that in turn uses [urllib3](https://urllib3.readthedocs.org/en/latest/)
2222
* urllib3 may detect that your python2.x's SSL is lacking as described
2323
[here](https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning) and
@@ -71,10 +71,10 @@ You must take this into account in your automations.
7171
### Defining and creating Servers
7272

7373
```python
74-
import upcloud
75-
from upcloud import Server, Storage, ZONE
74+
import upcloud_api
75+
from upcloud_api import Server, Storage, ZONE
7676

77-
manager = upcloud.CloudManager("api_user", "password")
77+
manager = upcloud_api.CloudManager("api_user", "password")
7878
manager.authenticate() # test credentials
7979

8080
cluster = {
@@ -141,7 +141,7 @@ for server in cluster:
141141

142142
```
143143

144-
New in 0.3.0: as the success of server.start() or server.destroy() and storage.destroy()
144+
New in 0.3.0: as the success of server.start() or server.destroy() and storage.destroy()
145145
depend on the Server's `state`, new helpers have been added. The helpers may be called regardless of
146146
the server's current state.
147147

0 commit comments

Comments
 (0)