cs 3.2.0__tar.gz → 3.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cs-3.2.0/cs.egg-info → cs-3.3.0}/PKG-INFO +16 -12
- {cs-3.2.0 → cs-3.3.0}/README.rst +8 -9
- {cs-3.2.0 → cs-3.3.0/cs.egg-info}/PKG-INFO +16 -12
- {cs-3.2.0 → cs-3.3.0}/setup.cfg +4 -3
- {cs-3.2.0 → cs-3.3.0}/LICENSE +0 -0
- {cs-3.2.0 → cs-3.3.0}/MANIFEST.in +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs/__init__.py +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs/__main__.py +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs/_async.py +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs/client.py +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs.egg-info/SOURCES.txt +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs.egg-info/dependency_links.txt +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs.egg-info/entry_points.txt +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs.egg-info/not-zip-safe +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs.egg-info/requires.txt +0 -0
- {cs-3.2.0 → cs-3.3.0}/cs.egg-info/top_level.txt +0 -0
- {cs-3.2.0 → cs-3.3.0}/pyproject.toml +0 -0
- {cs-3.2.0 → cs-3.3.0}/setup.py +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: A simple yet powerful CloudStack API client for Python and the command-line.
|
|
5
|
-
Home-page: https://github.com/
|
|
5
|
+
Home-page: https://github.com/ngine-io/cs
|
|
6
6
|
Author: Bruno Renié
|
|
7
7
|
License: BSD
|
|
8
8
|
Classifier: Intended Audience :: Developers
|
|
@@ -14,9 +14,14 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: pytz
|
|
20
|
+
Requires-Dist: requests
|
|
17
21
|
Provides-Extra: async
|
|
22
|
+
Requires-Dist: aiohttp; extra == "async"
|
|
18
23
|
Provides-Extra: highlight
|
|
19
|
-
|
|
24
|
+
Requires-Dist: pygments; extra == "highlight"
|
|
20
25
|
|
|
21
26
|
CS
|
|
22
27
|
==
|
|
@@ -61,7 +66,7 @@ In Python:
|
|
|
61
66
|
|
|
62
67
|
from cs import CloudStack
|
|
63
68
|
|
|
64
|
-
cs = CloudStack(endpoint='https://
|
|
69
|
+
cs = CloudStack(endpoint='https://cloudstack.example.com/client/api',
|
|
65
70
|
key='cloudstack api key',
|
|
66
71
|
secret='cloudstack api secret')
|
|
67
72
|
|
|
@@ -78,13 +83,13 @@ From the command-line, this requires some configuration:
|
|
|
78
83
|
.. code-block:: ini
|
|
79
84
|
|
|
80
85
|
[cloudstack]
|
|
81
|
-
endpoint = https://
|
|
86
|
+
endpoint = https://cloudstack.example.com/client/api
|
|
82
87
|
key = cloudstack api key
|
|
83
88
|
secret = cloudstack api secret
|
|
84
89
|
# Optional ca authority certificate
|
|
85
|
-
verify = /path/to/certs/
|
|
90
|
+
verify = /path/to/certs/ca.crt
|
|
86
91
|
# Optional client PEM certificate
|
|
87
|
-
cert = /path/to/
|
|
92
|
+
cert = /path/to/client.pem
|
|
88
93
|
# If you need to pass the certificate and key as separate files
|
|
89
94
|
cert_key = /path/to/client_key.pem
|
|
90
95
|
|
|
@@ -179,14 +184,14 @@ the credentials or endpoint to use with a command-line flag.
|
|
|
179
184
|
key = api key
|
|
180
185
|
secret = api secret
|
|
181
186
|
|
|
182
|
-
[
|
|
183
|
-
endpoint = https://
|
|
187
|
+
[region-example]
|
|
188
|
+
endpoint = https://cloudstack.example.com/client/api
|
|
184
189
|
key = api key
|
|
185
190
|
secret = api secret
|
|
186
191
|
|
|
187
192
|
Usage::
|
|
188
193
|
|
|
189
|
-
$ cs listVirtualMachines --region=
|
|
194
|
+
$ cs listVirtualMachines --region=region-example
|
|
190
195
|
|
|
191
196
|
Optionally ``CLOUDSTACK_REGION`` can be used to overwrite the default region ``cloudstack``.
|
|
192
197
|
|
|
@@ -270,7 +275,7 @@ Release Procedure
|
|
|
270
275
|
|
|
271
276
|
mktmpenv -p /usr/bin/python3
|
|
272
277
|
pip install -U twine wheel build
|
|
273
|
-
cd
|
|
278
|
+
cd ./cs
|
|
274
279
|
rm -rf build dist
|
|
275
280
|
python -m build
|
|
276
281
|
twine upload dist/*
|
|
@@ -279,4 +284,3 @@ Links
|
|
|
279
284
|
-----
|
|
280
285
|
|
|
281
286
|
* CloudStack API: http://cloudstack.apache.org/api.html
|
|
282
|
-
* Example of use: `Get Started with the exoscale API client <https://www.exoscale.com/syslog/2016/02/23/get-started-with-the-exoscale-api-client/>`_
|
{cs-3.2.0 → cs-3.3.0}/README.rst
RENAMED
|
@@ -41,7 +41,7 @@ In Python:
|
|
|
41
41
|
|
|
42
42
|
from cs import CloudStack
|
|
43
43
|
|
|
44
|
-
cs = CloudStack(endpoint='https://
|
|
44
|
+
cs = CloudStack(endpoint='https://cloudstack.example.com/client/api',
|
|
45
45
|
key='cloudstack api key',
|
|
46
46
|
secret='cloudstack api secret')
|
|
47
47
|
|
|
@@ -58,13 +58,13 @@ From the command-line, this requires some configuration:
|
|
|
58
58
|
.. code-block:: ini
|
|
59
59
|
|
|
60
60
|
[cloudstack]
|
|
61
|
-
endpoint = https://
|
|
61
|
+
endpoint = https://cloudstack.example.com/client/api
|
|
62
62
|
key = cloudstack api key
|
|
63
63
|
secret = cloudstack api secret
|
|
64
64
|
# Optional ca authority certificate
|
|
65
|
-
verify = /path/to/certs/
|
|
65
|
+
verify = /path/to/certs/ca.crt
|
|
66
66
|
# Optional client PEM certificate
|
|
67
|
-
cert = /path/to/
|
|
67
|
+
cert = /path/to/client.pem
|
|
68
68
|
# If you need to pass the certificate and key as separate files
|
|
69
69
|
cert_key = /path/to/client_key.pem
|
|
70
70
|
|
|
@@ -159,14 +159,14 @@ the credentials or endpoint to use with a command-line flag.
|
|
|
159
159
|
key = api key
|
|
160
160
|
secret = api secret
|
|
161
161
|
|
|
162
|
-
[
|
|
163
|
-
endpoint = https://
|
|
162
|
+
[region-example]
|
|
163
|
+
endpoint = https://cloudstack.example.com/client/api
|
|
164
164
|
key = api key
|
|
165
165
|
secret = api secret
|
|
166
166
|
|
|
167
167
|
Usage::
|
|
168
168
|
|
|
169
|
-
$ cs listVirtualMachines --region=
|
|
169
|
+
$ cs listVirtualMachines --region=region-example
|
|
170
170
|
|
|
171
171
|
Optionally ``CLOUDSTACK_REGION`` can be used to overwrite the default region ``cloudstack``.
|
|
172
172
|
|
|
@@ -250,7 +250,7 @@ Release Procedure
|
|
|
250
250
|
|
|
251
251
|
mktmpenv -p /usr/bin/python3
|
|
252
252
|
pip install -U twine wheel build
|
|
253
|
-
cd
|
|
253
|
+
cd ./cs
|
|
254
254
|
rm -rf build dist
|
|
255
255
|
python -m build
|
|
256
256
|
twine upload dist/*
|
|
@@ -259,4 +259,3 @@ Links
|
|
|
259
259
|
-----
|
|
260
260
|
|
|
261
261
|
* CloudStack API: http://cloudstack.apache.org/api.html
|
|
262
|
-
* Example of use: `Get Started with the exoscale API client <https://www.exoscale.com/syslog/2016/02/23/get-started-with-the-exoscale-api-client/>`_
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: A simple yet powerful CloudStack API client for Python and the command-line.
|
|
5
|
-
Home-page: https://github.com/
|
|
5
|
+
Home-page: https://github.com/ngine-io/cs
|
|
6
6
|
Author: Bruno Renié
|
|
7
7
|
License: BSD
|
|
8
8
|
Classifier: Intended Audience :: Developers
|
|
@@ -14,9 +14,14 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: pytz
|
|
20
|
+
Requires-Dist: requests
|
|
17
21
|
Provides-Extra: async
|
|
22
|
+
Requires-Dist: aiohttp; extra == "async"
|
|
18
23
|
Provides-Extra: highlight
|
|
19
|
-
|
|
24
|
+
Requires-Dist: pygments; extra == "highlight"
|
|
20
25
|
|
|
21
26
|
CS
|
|
22
27
|
==
|
|
@@ -61,7 +66,7 @@ In Python:
|
|
|
61
66
|
|
|
62
67
|
from cs import CloudStack
|
|
63
68
|
|
|
64
|
-
cs = CloudStack(endpoint='https://
|
|
69
|
+
cs = CloudStack(endpoint='https://cloudstack.example.com/client/api',
|
|
65
70
|
key='cloudstack api key',
|
|
66
71
|
secret='cloudstack api secret')
|
|
67
72
|
|
|
@@ -78,13 +83,13 @@ From the command-line, this requires some configuration:
|
|
|
78
83
|
.. code-block:: ini
|
|
79
84
|
|
|
80
85
|
[cloudstack]
|
|
81
|
-
endpoint = https://
|
|
86
|
+
endpoint = https://cloudstack.example.com/client/api
|
|
82
87
|
key = cloudstack api key
|
|
83
88
|
secret = cloudstack api secret
|
|
84
89
|
# Optional ca authority certificate
|
|
85
|
-
verify = /path/to/certs/
|
|
90
|
+
verify = /path/to/certs/ca.crt
|
|
86
91
|
# Optional client PEM certificate
|
|
87
|
-
cert = /path/to/
|
|
92
|
+
cert = /path/to/client.pem
|
|
88
93
|
# If you need to pass the certificate and key as separate files
|
|
89
94
|
cert_key = /path/to/client_key.pem
|
|
90
95
|
|
|
@@ -179,14 +184,14 @@ the credentials or endpoint to use with a command-line flag.
|
|
|
179
184
|
key = api key
|
|
180
185
|
secret = api secret
|
|
181
186
|
|
|
182
|
-
[
|
|
183
|
-
endpoint = https://
|
|
187
|
+
[region-example]
|
|
188
|
+
endpoint = https://cloudstack.example.com/client/api
|
|
184
189
|
key = api key
|
|
185
190
|
secret = api secret
|
|
186
191
|
|
|
187
192
|
Usage::
|
|
188
193
|
|
|
189
|
-
$ cs listVirtualMachines --region=
|
|
194
|
+
$ cs listVirtualMachines --region=region-example
|
|
190
195
|
|
|
191
196
|
Optionally ``CLOUDSTACK_REGION`` can be used to overwrite the default region ``cloudstack``.
|
|
192
197
|
|
|
@@ -270,7 +275,7 @@ Release Procedure
|
|
|
270
275
|
|
|
271
276
|
mktmpenv -p /usr/bin/python3
|
|
272
277
|
pip install -U twine wheel build
|
|
273
|
-
cd
|
|
278
|
+
cd ./cs
|
|
274
279
|
rm -rf build dist
|
|
275
280
|
python -m build
|
|
276
281
|
twine upload dist/*
|
|
@@ -279,4 +284,3 @@ Links
|
|
|
279
284
|
-----
|
|
280
285
|
|
|
281
286
|
* CloudStack API: http://cloudstack.apache.org/api.html
|
|
282
|
-
* Example of use: `Get Started with the exoscale API client <https://www.exoscale.com/syslog/2016/02/23/get-started-with-the-exoscale-api-client/>`_
|
{cs-3.2.0 → cs-3.3.0}/setup.cfg
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = cs
|
|
3
|
-
version = 3.
|
|
4
|
-
url = https://github.com/
|
|
3
|
+
version = 3.3.0
|
|
4
|
+
url = https://github.com/ngine-io/cs
|
|
5
5
|
author = Bruno Renié
|
|
6
6
|
description = A simple yet powerful CloudStack API client for Python and the command-line.
|
|
7
7
|
long_description = file: README.rst
|
|
8
8
|
license = BSD
|
|
9
|
-
|
|
9
|
+
license_files = LICENSE
|
|
10
10
|
classifiers =
|
|
11
11
|
Intended Audience :: Developers
|
|
12
12
|
Intended Audience :: System Administrators
|
|
@@ -17,6 +17,7 @@ classifiers =
|
|
|
17
17
|
Programming Language :: Python :: 3.9
|
|
18
18
|
Programming Language :: Python :: 3.10
|
|
19
19
|
Programming Language :: Python :: 3.11
|
|
20
|
+
Programming Language :: Python :: 3.12
|
|
20
21
|
|
|
21
22
|
[options]
|
|
22
23
|
packages = find:
|
{cs-3.2.0 → cs-3.3.0}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cs-3.2.0 → cs-3.3.0}/setup.py
RENAMED
|
File without changes
|