baiducloud-python-sdk-blb 0.0.1__py3-none-any.whl
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.
- baiducloud_python_sdk_blb/__init__.py +5 -0
- baiducloud_python_sdk_blb/api/__init__.py +0 -0
- baiducloud_python_sdk_blb/api/blb_client.py +257 -0
- baiducloud_python_sdk_blb/models/__init__.py +0 -0
- baiducloud_python_sdk_blb/models/billing.py +76 -0
- baiducloud_python_sdk_blb/models/billing_change_cancel_to_post_blb_request.py +64 -0
- baiducloud_python_sdk_blb/models/billing_change_post_to_pre_blb_request.py +90 -0
- baiducloud_python_sdk_blb/models/billing_change_post_to_pre_blb_response.py +61 -0
- baiducloud_python_sdk_blb/models/billing_change_pre_to_post_blb_request.py +92 -0
- baiducloud_python_sdk_blb/models/billing_change_pre_to_post_blb_response.py +61 -0
- baiducloud_python_sdk_blb/models/blb_inquiry_request.py +88 -0
- baiducloud_python_sdk_blb/models/refund_blb_request.py +64 -0
- baiducloud_python_sdk_blb/models/reservation.py +58 -0
- baiducloud_python_sdk_blb/models/resize_blb_request.py +74 -0
- baiducloud_python_sdk_blb/models/resize_blb_response.py +61 -0
- baiducloud_python_sdk_blb/setup.py +71 -0
- baiducloud_python_sdk_blb-0.0.1.dist-info/METADATA +85 -0
- baiducloud_python_sdk_blb-0.0.1.dist-info/RECORD +21 -0
- baiducloud_python_sdk_blb-0.0.1.dist-info/WHEEL +5 -0
- baiducloud_python_sdk_blb-0.0.1.dist-info/licenses/LICENSE +177 -0
- baiducloud_python_sdk_blb-0.0.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for BillingChangePreToPostBlbResponse information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class BillingChangePreToPostBlbResponse(BceResponse):
|
|
9
|
+
"""
|
|
10
|
+
BillingChangePreToPostBlbResponse
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, order_id=None):
|
|
14
|
+
"""
|
|
15
|
+
Initialize BillingChangePreToPostBlbResponse response.
|
|
16
|
+
|
|
17
|
+
:param order_id: 预付费转后付费订单ID
|
|
18
|
+
:type order_id: str (optional)
|
|
19
|
+
"""
|
|
20
|
+
super().__init__()
|
|
21
|
+
self.order_id = order_id
|
|
22
|
+
|
|
23
|
+
def to_dict(self):
|
|
24
|
+
"""
|
|
25
|
+
Convert the response instance to a dictionary representation.
|
|
26
|
+
|
|
27
|
+
Includes metadata from the parent BceResponse class.
|
|
28
|
+
Nested model objects are recursively converted to dictionaries.
|
|
29
|
+
|
|
30
|
+
:return: Dictionary representation of the response
|
|
31
|
+
:rtype: dict
|
|
32
|
+
"""
|
|
33
|
+
_map = super().to_dict()
|
|
34
|
+
if _map is not None:
|
|
35
|
+
return _map
|
|
36
|
+
result = dict()
|
|
37
|
+
if self.metadata is not None:
|
|
38
|
+
result['metadata'] = self.metadata
|
|
39
|
+
if self.order_id is not None:
|
|
40
|
+
result['orderId'] = self.order_id
|
|
41
|
+
return result
|
|
42
|
+
|
|
43
|
+
def from_dict(self, m):
|
|
44
|
+
"""
|
|
45
|
+
Populate the response instance from a dictionary.
|
|
46
|
+
|
|
47
|
+
Nested dictionaries are recursively converted to model objects.
|
|
48
|
+
|
|
49
|
+
:param m: Dictionary containing response data
|
|
50
|
+
:type m: dict
|
|
51
|
+
|
|
52
|
+
:return: Self reference for method chaining
|
|
53
|
+
:rtype: BillingChangePreToPostBlbResponse
|
|
54
|
+
|
|
55
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
56
|
+
:raises ValueError: If nested model conversion fails
|
|
57
|
+
"""
|
|
58
|
+
m = m or dict()
|
|
59
|
+
if m.get('orderId') is not None:
|
|
60
|
+
self.order_id = m.get('orderId')
|
|
61
|
+
return self
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for BlbInquiryRequest information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
from baiducloud_python_sdk_blb.models.billing import Billing
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class BlbInquiryRequest(AbstractModel):
|
|
10
|
+
"""
|
|
11
|
+
Request entity for BlbInquiryRequest operation.
|
|
12
|
+
|
|
13
|
+
This class encapsulates all parameters for the API request.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
def __init__(self, blb_type=None, performance_level=None, count=None, billing=None):
|
|
17
|
+
"""
|
|
18
|
+
Initialize BlbInquiryRequest request entity.
|
|
19
|
+
|
|
20
|
+
:param blb_type: blb类型,不传默认是普通型blb。
|
|
21
|
+
取值可以为\"normal\"代表普通型,\"application\"代表应用型,\"ipv6\"代表普通型IPv6,\"ipv6Application\"代表应用型IPv6
|
|
22
|
+
:type blb_type: str (optional)
|
|
23
|
+
|
|
24
|
+
:param performance_level:
|
|
25
|
+
性能规格参数,不传默认为共享型。取值如下:\"small1\"标准型1,\"small2\"标准型2,\"medium1\"增强型1,\"medium2\"增强型1,\"large1\"超大型1,
|
|
26
|
+
\"large2\"超大型2,\"large3\"超大型3
|
|
27
|
+
:type performance_level: str (optional)
|
|
28
|
+
|
|
29
|
+
:param count: 购买数量,不传默认是1
|
|
30
|
+
:type count: int (optional)
|
|
31
|
+
|
|
32
|
+
:param billing: billing parameter
|
|
33
|
+
:type billing: Billing (optional)
|
|
34
|
+
"""
|
|
35
|
+
super().__init__()
|
|
36
|
+
self.blb_type = blb_type
|
|
37
|
+
self.performance_level = performance_level
|
|
38
|
+
self.count = count
|
|
39
|
+
self.billing = billing
|
|
40
|
+
|
|
41
|
+
def to_dict(self):
|
|
42
|
+
"""
|
|
43
|
+
Convert the request entity to a dictionary representation.
|
|
44
|
+
|
|
45
|
+
Nested model objects are recursively converted to dictionaries.
|
|
46
|
+
|
|
47
|
+
:return: Dictionary representation of the request
|
|
48
|
+
:rtype: dict
|
|
49
|
+
"""
|
|
50
|
+
_map = super().to_dict()
|
|
51
|
+
if _map is not None:
|
|
52
|
+
return _map
|
|
53
|
+
result = dict()
|
|
54
|
+
if self.blb_type is not None:
|
|
55
|
+
result['blbType'] = self.blb_type
|
|
56
|
+
if self.performance_level is not None:
|
|
57
|
+
result['performanceLevel'] = self.performance_level
|
|
58
|
+
if self.count is not None:
|
|
59
|
+
result['count'] = self.count
|
|
60
|
+
if self.billing is not None:
|
|
61
|
+
result['billing'] = self.billing.to_dict()
|
|
62
|
+
return result
|
|
63
|
+
|
|
64
|
+
def from_dict(self, m):
|
|
65
|
+
"""
|
|
66
|
+
Populate the request entity from a dictionary.
|
|
67
|
+
|
|
68
|
+
Nested dictionaries are recursively converted to model objects.
|
|
69
|
+
|
|
70
|
+
:param m: Dictionary containing request data
|
|
71
|
+
:type m: dict
|
|
72
|
+
|
|
73
|
+
:return: Self reference for method chaining
|
|
74
|
+
:rtype: BlbInquiryRequest
|
|
75
|
+
|
|
76
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
77
|
+
:raises ValueError: If nested model conversion fails
|
|
78
|
+
"""
|
|
79
|
+
m = m or dict()
|
|
80
|
+
if m.get('blbType') is not None:
|
|
81
|
+
self.blb_type = m.get('blbType')
|
|
82
|
+
if m.get('performanceLevel') is not None:
|
|
83
|
+
self.performance_level = m.get('performanceLevel')
|
|
84
|
+
if m.get('count') is not None:
|
|
85
|
+
self.count = m.get('count')
|
|
86
|
+
if m.get('billing') is not None:
|
|
87
|
+
self.billing = Billing().from_dict(m.get('billing'))
|
|
88
|
+
return self
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for RefundBlbRequest information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RefundBlbRequest(AbstractModel):
|
|
9
|
+
"""
|
|
10
|
+
Request entity for RefundBlbRequest operation.
|
|
11
|
+
|
|
12
|
+
This class encapsulates all parameters for the API request.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
def __init__(self, blb_id, client_token=None):
|
|
16
|
+
"""
|
|
17
|
+
Initialize RefundBlbRequest request entity.
|
|
18
|
+
|
|
19
|
+
:param blb_id: blb_id parameter
|
|
20
|
+
:type blb_id: str (required)
|
|
21
|
+
|
|
22
|
+
:param client_token: client_token parameter
|
|
23
|
+
:type client_token: str (optional)
|
|
24
|
+
"""
|
|
25
|
+
super().__init__()
|
|
26
|
+
self.blb_id = blb_id
|
|
27
|
+
self.client_token = client_token
|
|
28
|
+
|
|
29
|
+
def to_dict(self):
|
|
30
|
+
"""
|
|
31
|
+
Convert the request entity to a dictionary representation.
|
|
32
|
+
|
|
33
|
+
Nested model objects are recursively converted to dictionaries.
|
|
34
|
+
|
|
35
|
+
:return: Dictionary representation of the request
|
|
36
|
+
:rtype: dict
|
|
37
|
+
"""
|
|
38
|
+
_map = super().to_dict()
|
|
39
|
+
if _map is not None:
|
|
40
|
+
return _map
|
|
41
|
+
result = dict()
|
|
42
|
+
return result
|
|
43
|
+
|
|
44
|
+
def from_dict(self, m):
|
|
45
|
+
"""
|
|
46
|
+
Populate the request entity from a dictionary.
|
|
47
|
+
|
|
48
|
+
Nested dictionaries are recursively converted to model objects.
|
|
49
|
+
|
|
50
|
+
:param m: Dictionary containing request data
|
|
51
|
+
:type m: dict
|
|
52
|
+
|
|
53
|
+
:return: Self reference for method chaining
|
|
54
|
+
:rtype: RefundBlbRequest
|
|
55
|
+
|
|
56
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
57
|
+
:raises ValueError: If nested model conversion fails
|
|
58
|
+
"""
|
|
59
|
+
m = m or dict()
|
|
60
|
+
if m.get('blbId') is not None:
|
|
61
|
+
self.blb_id = m.get('blbId')
|
|
62
|
+
if m.get('clientToken') is not None:
|
|
63
|
+
self.client_token = m.get('clientToken')
|
|
64
|
+
return self
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Reservation information
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Reservation(AbstractModel):
|
|
9
|
+
"""
|
|
10
|
+
Reservation
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, reservation_length=None):
|
|
14
|
+
"""
|
|
15
|
+
Initialize Reservation instance.
|
|
16
|
+
|
|
17
|
+
:param reservation_length: 购买月份时长,取值范围为:[1,2,3,4,5,6,7,8,9,12,24,36]
|
|
18
|
+
:type reservation_length: int (optional)
|
|
19
|
+
"""
|
|
20
|
+
super().__init__()
|
|
21
|
+
self.reservation_length = reservation_length
|
|
22
|
+
|
|
23
|
+
def to_dict(self):
|
|
24
|
+
"""
|
|
25
|
+
Convert the model instance to a dictionary representation.
|
|
26
|
+
|
|
27
|
+
Nested model objects are recursively converted to dictionaries.
|
|
28
|
+
|
|
29
|
+
:return: Dictionary representation of the model
|
|
30
|
+
:rtype: dict
|
|
31
|
+
"""
|
|
32
|
+
_map = super().to_dict()
|
|
33
|
+
if _map is not None:
|
|
34
|
+
return _map
|
|
35
|
+
result = dict()
|
|
36
|
+
if self.reservation_length is not None:
|
|
37
|
+
result['reservationLength'] = self.reservation_length
|
|
38
|
+
return result
|
|
39
|
+
|
|
40
|
+
def from_dict(self, m):
|
|
41
|
+
"""
|
|
42
|
+
Populate the model instance from a dictionary.
|
|
43
|
+
|
|
44
|
+
Nested dictionaries are recursively converted to model objects.
|
|
45
|
+
|
|
46
|
+
:param m: Dictionary containing model data
|
|
47
|
+
:type m: dict
|
|
48
|
+
|
|
49
|
+
:return: Self reference for method chaining
|
|
50
|
+
:rtype: Reservation
|
|
51
|
+
|
|
52
|
+
:raises TypeError: If input is not a dictionary type
|
|
53
|
+
:raises ValueError: If nested model conversion fails
|
|
54
|
+
"""
|
|
55
|
+
m = m or dict()
|
|
56
|
+
if m.get('reservationLength') is not None:
|
|
57
|
+
self.reservation_length = m.get('reservationLength')
|
|
58
|
+
return self
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for ResizeBlbRequest information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ResizeBlbRequest(AbstractModel):
|
|
9
|
+
"""
|
|
10
|
+
Request entity for ResizeBlbRequest operation.
|
|
11
|
+
|
|
12
|
+
This class encapsulates all parameters for the API request.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
def __init__(self, blb_id, client_token=None, performance_level=None):
|
|
16
|
+
"""
|
|
17
|
+
Initialize ResizeBlbRequest request entity.
|
|
18
|
+
|
|
19
|
+
:param blb_id: blb_id parameter
|
|
20
|
+
:type blb_id: str (required)
|
|
21
|
+
|
|
22
|
+
:param client_token: client_token parameter
|
|
23
|
+
:type client_token: str (optional)
|
|
24
|
+
|
|
25
|
+
:param performance_level:
|
|
26
|
+
性能规格。取值如下:\"small1\"标准型1,\"small2\"标准型2,\"medium1\"增强型1,\"medium2\"增强型2,\"large1\"超大型1,\"large2\"超大型2,
|
|
27
|
+
\"large3\"超大型3。仅后付费-按使用量支持变配为\"unlimited\"不限速。
|
|
28
|
+
:type performance_level: str (optional)
|
|
29
|
+
"""
|
|
30
|
+
super().__init__()
|
|
31
|
+
self.blb_id = blb_id
|
|
32
|
+
self.client_token = client_token
|
|
33
|
+
self.performance_level = performance_level
|
|
34
|
+
|
|
35
|
+
def to_dict(self):
|
|
36
|
+
"""
|
|
37
|
+
Convert the request entity to a dictionary representation.
|
|
38
|
+
|
|
39
|
+
Nested model objects are recursively converted to dictionaries.
|
|
40
|
+
|
|
41
|
+
:return: Dictionary representation of the request
|
|
42
|
+
:rtype: dict
|
|
43
|
+
"""
|
|
44
|
+
_map = super().to_dict()
|
|
45
|
+
if _map is not None:
|
|
46
|
+
return _map
|
|
47
|
+
result = dict()
|
|
48
|
+
if self.performance_level is not None:
|
|
49
|
+
result['performanceLevel'] = self.performance_level
|
|
50
|
+
return result
|
|
51
|
+
|
|
52
|
+
def from_dict(self, m):
|
|
53
|
+
"""
|
|
54
|
+
Populate the request entity from a dictionary.
|
|
55
|
+
|
|
56
|
+
Nested dictionaries are recursively converted to model objects.
|
|
57
|
+
|
|
58
|
+
:param m: Dictionary containing request data
|
|
59
|
+
:type m: dict
|
|
60
|
+
|
|
61
|
+
:return: Self reference for method chaining
|
|
62
|
+
:rtype: ResizeBlbRequest
|
|
63
|
+
|
|
64
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
65
|
+
:raises ValueError: If nested model conversion fails
|
|
66
|
+
"""
|
|
67
|
+
m = m or dict()
|
|
68
|
+
if m.get('blbId') is not None:
|
|
69
|
+
self.blb_id = m.get('blbId')
|
|
70
|
+
if m.get('clientToken') is not None:
|
|
71
|
+
self.client_token = m.get('clientToken')
|
|
72
|
+
if m.get('performanceLevel') is not None:
|
|
73
|
+
self.performance_level = m.get('performanceLevel')
|
|
74
|
+
return self
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for ResizeBlbResponse information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ResizeBlbResponse(BceResponse):
|
|
9
|
+
"""
|
|
10
|
+
ResizeBlbResponse
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, order_id=None):
|
|
14
|
+
"""
|
|
15
|
+
Initialize ResizeBlbResponse response.
|
|
16
|
+
|
|
17
|
+
:param order_id: 变配订单ID
|
|
18
|
+
:type order_id: str (optional)
|
|
19
|
+
"""
|
|
20
|
+
super().__init__()
|
|
21
|
+
self.order_id = order_id
|
|
22
|
+
|
|
23
|
+
def to_dict(self):
|
|
24
|
+
"""
|
|
25
|
+
Convert the response instance to a dictionary representation.
|
|
26
|
+
|
|
27
|
+
Includes metadata from the parent BceResponse class.
|
|
28
|
+
Nested model objects are recursively converted to dictionaries.
|
|
29
|
+
|
|
30
|
+
:return: Dictionary representation of the response
|
|
31
|
+
:rtype: dict
|
|
32
|
+
"""
|
|
33
|
+
_map = super().to_dict()
|
|
34
|
+
if _map is not None:
|
|
35
|
+
return _map
|
|
36
|
+
result = dict()
|
|
37
|
+
if self.metadata is not None:
|
|
38
|
+
result['metadata'] = self.metadata
|
|
39
|
+
if self.order_id is not None:
|
|
40
|
+
result['orderId'] = self.order_id
|
|
41
|
+
return result
|
|
42
|
+
|
|
43
|
+
def from_dict(self, m):
|
|
44
|
+
"""
|
|
45
|
+
Populate the response instance from a dictionary.
|
|
46
|
+
|
|
47
|
+
Nested dictionaries are recursively converted to model objects.
|
|
48
|
+
|
|
49
|
+
:param m: Dictionary containing response data
|
|
50
|
+
:type m: dict
|
|
51
|
+
|
|
52
|
+
:return: Self reference for method chaining
|
|
53
|
+
:rtype: ResizeBlbResponse
|
|
54
|
+
|
|
55
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
56
|
+
:raises ValueError: If nested model conversion fails
|
|
57
|
+
"""
|
|
58
|
+
m = m or dict()
|
|
59
|
+
if m.get('orderId') is not None:
|
|
60
|
+
self.order_id = m.get('orderId')
|
|
61
|
+
return self
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Copyright 2014 Baidu, Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
|
|
4
|
+
# except in compliance with the License. You may obtain a copy of the License at
|
|
5
|
+
#
|
|
6
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
#
|
|
8
|
+
# Unless required by applicable law or agreed to in writing, software distributed under the
|
|
9
|
+
# License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
|
10
|
+
# either express or implied. See the License for the specific language governing permissions
|
|
11
|
+
# and limitations under the License.
|
|
12
|
+
|
|
13
|
+
"""
|
|
14
|
+
The setup script to install BCE SDK for python
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from __future__ import absolute_import
|
|
18
|
+
import io
|
|
19
|
+
import os
|
|
20
|
+
import re
|
|
21
|
+
from setuptools import setup, find_packages
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
with io.open(os.path.join("baiducloud_python_sdk_blb", "__init__.py"), "rt") as f:
|
|
25
|
+
SDK_VERSION = re.search(r"SDK_VERSION = b'(.*?)'", f.read()).group(1)
|
|
26
|
+
|
|
27
|
+
LONG_DESCRIPTION = ''
|
|
28
|
+
if os.path.exists('./README.md'):
|
|
29
|
+
with io.open("README.md", encoding='utf-8') as fp:
|
|
30
|
+
LONG_DESCRIPTION = fp.read()
|
|
31
|
+
|
|
32
|
+
setup(
|
|
33
|
+
name='baiducloud-python-sdk-blb',
|
|
34
|
+
version=SDK_VERSION,
|
|
35
|
+
description='Baidu Cloud blbApi SDK Library for Python',
|
|
36
|
+
long_description=LONG_DESCRIPTION,
|
|
37
|
+
long_description_content_type='text/markdown',
|
|
38
|
+
install_requires=['pycryptodome>=3.8.0', 'future>=0.6.0', 'six>=1.4.0'],
|
|
39
|
+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4',
|
|
40
|
+
packages=find_packages(exclude=["tests*"]),
|
|
41
|
+
url='https://github.com/baidubce/baiducloud-python-sdk',
|
|
42
|
+
keywords=["baiducloud", "blb"],
|
|
43
|
+
license='Apache License 2.0',
|
|
44
|
+
author='Baidu Cloud SDK',
|
|
45
|
+
author_email='',
|
|
46
|
+
classifiers=[
|
|
47
|
+
'Development Status :: 5 - Production/Stable',
|
|
48
|
+
'Intended Audience :: Developers',
|
|
49
|
+
'License :: OSI Approved :: Apache Software License',
|
|
50
|
+
'Programming Language :: Python',
|
|
51
|
+
'Programming Language :: Python :: 2',
|
|
52
|
+
'Programming Language :: Python :: 2.7',
|
|
53
|
+
'Programming Language :: Python :: 3',
|
|
54
|
+
'Programming Language :: Python :: 3.3',
|
|
55
|
+
'Programming Language :: Python :: 3.4',
|
|
56
|
+
'Programming Language :: Python :: 3.5',
|
|
57
|
+
'Programming Language :: Python :: 3.6',
|
|
58
|
+
'Programming Language :: Python :: 3.7',
|
|
59
|
+
'Programming Language :: Python :: 3.8',
|
|
60
|
+
'Programming Language :: Python :: 3.9',
|
|
61
|
+
'Programming Language :: Python :: 3.10',
|
|
62
|
+
'Programming Language :: Python :: 3.11',
|
|
63
|
+
],
|
|
64
|
+
project_urls={
|
|
65
|
+
'Source': 'https://github.com/baidubce/baiducloud-python-sdk',
|
|
66
|
+
'Documentation': 'https://github.com/baidubce/baiducloud-python-sdk/tree/master/docs',
|
|
67
|
+
'Changelog': (
|
|
68
|
+
'https://github.com/baidubce/baiducloud-python-sdk/blob/master/baiducloud-python-sdk-blb/ChangeLog.md'
|
|
69
|
+
),
|
|
70
|
+
},
|
|
71
|
+
)
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: baiducloud-python-sdk-blb
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Baidu Cloud blbApi SDK Library for Python
|
|
5
|
+
Home-page: https://github.com/baidubce/baiducloud-python-sdk
|
|
6
|
+
Author: Baidu Cloud SDK
|
|
7
|
+
Author-email:
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Project-URL: Source, https://github.com/baidubce/baiducloud-python-sdk
|
|
10
|
+
Project-URL: Documentation, https://github.com/baidubce/baiducloud-python-sdk/tree/master/docs
|
|
11
|
+
Project-URL: Changelog, https://github.com/baidubce/baiducloud-python-sdk/blob/master/baiducloud-python-sdk-blb/ChangeLog.md
|
|
12
|
+
Keywords: baiducloud,blb
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Programming Language :: Python :: 2
|
|
18
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.4
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.5
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
29
|
+
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Requires-Dist: pycryptodome>=3.8.0
|
|
33
|
+
Requires-Dist: future>=0.6.0
|
|
34
|
+
Requires-Dist: six>=1.4.0
|
|
35
|
+
Dynamic: author
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: license-file
|
|
43
|
+
Dynamic: project-url
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
47
|
+
|
|
48
|
+
English | [简体中文](README-CN.md)
|
|
49
|
+
|
|
50
|
+
## Baidu Cloud blbApi SDK for Python
|
|
51
|
+
|
|
52
|
+
## Requirements
|
|
53
|
+
|
|
54
|
+
- Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4
|
|
55
|
+
|
|
56
|
+
## Installation
|
|
57
|
+
|
|
58
|
+
- **Install with pip**
|
|
59
|
+
|
|
60
|
+
Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# Install the baiducloud_python_sdk_blb
|
|
64
|
+
pip install baiducloud_python_sdk_blb
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Issues
|
|
68
|
+
|
|
69
|
+
[Opening an Issue](https://github.com/baidubce/baiducloud-python-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
70
|
+
|
|
71
|
+
## Usage
|
|
72
|
+
|
|
73
|
+
[Quick Examples](https://github.com/baidubce/baiducloud-python-sdk/blob/master/docs/Usage-EN.md)
|
|
74
|
+
|
|
75
|
+
## Changelog
|
|
76
|
+
|
|
77
|
+
Detailed changes for each release are documented in the [release notes](./ChangeLog.md).
|
|
78
|
+
|
|
79
|
+
## References
|
|
80
|
+
|
|
81
|
+
- [Latest Release](https://github.com/baidubce/baiducloud-python-sdk)
|
|
82
|
+
|
|
83
|
+
## License
|
|
84
|
+
|
|
85
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
baiducloud_python_sdk_blb/__init__.py,sha256=bt9sRM9eOkTcWameYewny0-aV2vf83SIg4ollwpBtU0,82
|
|
2
|
+
baiducloud_python_sdk_blb/setup.py,sha256=sLyvpbtjFsAVSxXTXV2KJS_fa-7jI5j6xPtM3EPUFS8,2790
|
|
3
|
+
baiducloud_python_sdk_blb/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
baiducloud_python_sdk_blb/api/blb_client.py,sha256=Bb_Z1VUMJevKZFfDS53JLl50Y-1yHPk2-bjRfGIFiNc,9684
|
|
5
|
+
baiducloud_python_sdk_blb/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
baiducloud_python_sdk_blb/models/billing.py,sha256=ZvxqCYCCM3Mdfi2Xl1cHsUucoDs55avdWzipEuxe8Js,2527
|
|
7
|
+
baiducloud_python_sdk_blb/models/billing_change_cancel_to_post_blb_request.py,sha256=f58CkmStNThowTuBQVoBQRdVH2q3vv3fXWRrrAM_TLI,1899
|
|
8
|
+
baiducloud_python_sdk_blb/models/billing_change_post_to_pre_blb_request.py,sha256=JOkzmsgI0W5A24h639K3DULj0tzICi88nZn8XvlsF2k,3410
|
|
9
|
+
baiducloud_python_sdk_blb/models/billing_change_post_to_pre_blb_response.py,sha256=zulf5bcXCBP2Qa6jr7DS8GGr7y8uASuGx_iCRy_fAAY,1800
|
|
10
|
+
baiducloud_python_sdk_blb/models/billing_change_pre_to_post_blb_request.py,sha256=xWFJKf_Km3wuq_RsA7KXIWpNN3JLsTQx57NutdceacU,3524
|
|
11
|
+
baiducloud_python_sdk_blb/models/billing_change_pre_to_post_blb_response.py,sha256=o6wkg78mJBYZ63fE4GCbvRyO7Tv3ObY98TV0FTBa8zU,1800
|
|
12
|
+
baiducloud_python_sdk_blb/models/blb_inquiry_request.py,sha256=lMFfCZlnKgD8BKkm2gzMmOECsLRzsr3F6NyWwlKuP2M,3148
|
|
13
|
+
baiducloud_python_sdk_blb/models/refund_blb_request.py,sha256=gW0UI7eX9GDT7T1U4kzY8ZSvvllNBHsoh7cveqwro9k,1804
|
|
14
|
+
baiducloud_python_sdk_blb/models/reservation.py,sha256=A0e7fdkiuxPD-dlL1winM8HEYLsvZxVh2VEGz7CHoE0,1648
|
|
15
|
+
baiducloud_python_sdk_blb/models/resize_blb_request.py,sha256=3IBq5QdKpE90ERslhIfX9f5M_Q9Jw9zfCz2-fox6PIc,2470
|
|
16
|
+
baiducloud_python_sdk_blb/models/resize_blb_response.py,sha256=33x9FEIrqeC7FX0B9JVyuGQ9PTjqJ9w4gbVFhf3aelg,1705
|
|
17
|
+
baiducloud_python_sdk_blb-0.0.1.dist-info/licenses/LICENSE,sha256=vWvFalMLAgEWwNa8irw-tSDlh7k7bl4APjMGE_lGiws,10372
|
|
18
|
+
baiducloud_python_sdk_blb-0.0.1.dist-info/METADATA,sha256=_MGULhRBuOhMmQs2-9g-V3LZvTf4MW0e6Uc-0mChXeM,2819
|
|
19
|
+
baiducloud_python_sdk_blb-0.0.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
20
|
+
baiducloud_python_sdk_blb-0.0.1.dist-info/top_level.txt,sha256=ZlB732HUS6bxVFuK5XEUT3IyjpdYL3hdXgiNKwOKz8U,26
|
|
21
|
+
baiducloud_python_sdk_blb-0.0.1.dist-info/RECORD,,
|