kody-clientsdk-python 0.0.2__tar.gz → 0.0.4__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.
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/PKG-INFO +4 -4
- kody_clientsdk_python-0.0.4/README.md +27 -0
- kody_clientsdk_python-0.0.4/kody_clientsdk_python/__init__.py +1 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/pay/v1/pay_pb2.py +11 -5
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/pay/v1/pay_pb2_grpc.py +43 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python.egg-info/PKG-INFO +4 -4
- kody_clientsdk_python-0.0.2/README.md +0 -27
- kody_clientsdk_python-0.0.2/kody_clientsdk_python/__init__.py +0 -1
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/ecom/__init__.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/ecom/v1/__init__.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/ecom/v1/ecom_pb2.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/ecom/v1/ecom_pb2_grpc.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/pay/__init__.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/pay/v1/__init__.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/sdk/__init__.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/sdk/common/__init__.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/sdk/common/pagination_pb2.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/sdk/common/pagination_pb2_grpc.py +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python.egg-info/SOURCES.txt +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python.egg-info/dependency_links.txt +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python.egg-info/requires.txt +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python.egg-info/top_level.txt +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/setup.cfg +0 -0
- {kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: kody_clientsdk_python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Kody API client
|
|
5
5
|
Home-page: https://github.com/KodyPay/kody-clientsdk-python
|
|
6
6
|
Author: Kody Tech Team
|
|
@@ -12,8 +12,8 @@ Requires-Dist: protobuf==5.27.2
|
|
|
12
12
|
# Kody Python Client
|
|
13
13
|
|
|
14
14
|
## Description
|
|
15
|
-
The Kody Python Client
|
|
16
|
-
The SDK is generated from
|
|
15
|
+
The Kody Python Client allows direct communication with the Kody Payments Gateway. It simplifies the integration of Kody payments into your application.
|
|
16
|
+
The SDK is generated from Protobuf gRPC protocols to facilitate communication with the Kody Payments Gateway.
|
|
17
17
|
|
|
18
18
|
## Requirements
|
|
19
19
|
- grpcio-tools
|
|
@@ -30,7 +30,7 @@ pip install kody-clientsdk-python
|
|
|
30
30
|
|
|
31
31
|
## Samples
|
|
32
32
|
|
|
33
|
-
Go to the [samples](https://github.com/KodyPay/kody-clientsdk-python
|
|
33
|
+
Go to the [samples](https://github.com/KodyPay/kody-clientsdk-python/tree/main/versions/3_12/samples) directory for examples on how to use the Kody Python Client.
|
|
34
34
|
|
|
35
35
|
## License
|
|
36
36
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Kody Python Client
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
The Kody Python Client allows direct communication with the Kody Payments Gateway. It simplifies the integration of Kody payments into your application.
|
|
5
|
+
The SDK is generated from Protobuf gRPC protocols to facilitate communication with the Kody Payments Gateway.
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
- grpcio-tools
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
### PIP
|
|
13
|
+
|
|
14
|
+
Install the Kody Python Client SDK using the following command:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pip install kody-clientsdk-python
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Samples
|
|
21
|
+
|
|
22
|
+
Go to the [samples](https://github.com/KodyPay/kody-clientsdk-python/tree/main/versions/3_12/samples) directory for examples on how to use the Kody Python Client.
|
|
23
|
+
|
|
24
|
+
## License
|
|
25
|
+
|
|
26
|
+
This project is licensed under the MIT License.
|
|
27
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.0.4'
|
{kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/pay/v1/pay_pb2.py
RENAMED
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!com/kodypay/grpc/pay/v1/pay.proto\x12\x17\x63om.kodypay.grpc.pay.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"$\n\x10TerminalsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\"I\n\x11TerminalsResponse\x12\x34\n\tterminals\x18\x01 \x03(\x0b\x32!.com.kodypay.grpc.pay.v1.Terminal\"/\n\x08Terminal\x12\x13\n\x0bterminal_id\x18\x01 \x01(\t\x12\x0e\n\x06online\x18\x02 \x01(\x08\"i\n\nPayRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x16\n\tshow_tips\x18\x04 \x01(\x08H\x00\x88\x01\x01\x42\x0c\n\n_show_tips\"\xc6\x03\n\x0bPayResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0creceipt_json\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08order_id\x18\x04 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x0f\x65xt_payment_ref\x18\x06 \x01(\tH\x02\x88\x01\x01\x12-\n\tdate_paid\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x0ctotal_amount\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bsale_amount\x18\t \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0btips_amount\x18\n \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_failure_reasonB\x0f\n\r_receipt_jsonB\x12\n\x10_ext_payment_refB\x0f\n\r_total_amountB\x0e\n\x0c_sale_amountB\x0e\n\x0c_tips_amount\"j\n\rCancelRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x15\n\x08order_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_order_id\"H\n\x0e\x43\x61ncelResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\";\n\x15PaymentDetailsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x10\n\x08order_id\x18\x02 \x01(\t*D\n\rPaymentStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x32\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!com/kodypay/grpc/pay/v1/pay.proto\x12\x17\x63om.kodypay.grpc.pay.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"$\n\x10TerminalsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\"I\n\x11TerminalsResponse\x12\x34\n\tterminals\x18\x01 \x03(\x0b\x32!.com.kodypay.grpc.pay.v1.Terminal\"/\n\x08Terminal\x12\x13\n\x0bterminal_id\x18\x01 \x01(\t\x12\x0e\n\x06online\x18\x02 \x01(\x08\"i\n\nPayRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x16\n\tshow_tips\x18\x04 \x01(\x08H\x00\x88\x01\x01\x42\x0c\n\n_show_tips\"\xc6\x03\n\x0bPayResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0creceipt_json\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08order_id\x18\x04 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x0f\x65xt_payment_ref\x18\x06 \x01(\tH\x02\x88\x01\x01\x12-\n\tdate_paid\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x0ctotal_amount\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bsale_amount\x18\t \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0btips_amount\x18\n \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_failure_reasonB\x0f\n\r_receipt_jsonB\x12\n\x10_ext_payment_refB\x0f\n\r_total_amountB\x0e\n\x0c_sale_amountB\x0e\n\x0c_tips_amount\"j\n\rCancelRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x13\n\x0bterminal_id\x18\x03 \x01(\t\x12\x15\n\x08order_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_order_id\"H\n\x0e\x43\x61ncelResponse\x12\x36\n\x06status\x18\x01 \x01(\x0e\x32&.com.kodypay.grpc.pay.v1.PaymentStatus\";\n\x15PaymentDetailsRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x10\n\x08order_id\x18\x02 \x01(\t\"\xc1\x01\n\rRefundRequest\x12\x10\n\x08store_id\x18\x01 \x01(\t\x12\x10\n\x08order_id\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12#\n\x16print_merchant_receipt\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15print_shopper_receipt\x18\x05 \x01(\x08H\x01\x88\x01\x01\x42\x19\n\x17_print_merchant_receiptB\x18\n\x16_print_shopper_receipt\"\xae\x02\n\x0eRefundResponse\x12\x44\n\x06status\x18\x01 \x01(\x0e\x32\x34.com.kodypay.grpc.pay.v1.RefundResponse.RefundStatus\x12\x1b\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0creceipt_json\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08order_id\x18\x04 \x01(\t\x12\x30\n\x0c\x64\x61te_created\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"6\n\x0cRefundStatus\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x11\n\x0f_failure_reasonB\x0f\n\r_receipt_json*D\n\rPaymentStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x32\xf0\x03\n\x16KodyPayTerminalService\x12\x62\n\tTerminals\x12).com.kodypay.grpc.pay.v1.TerminalsRequest\x1a*.com.kodypay.grpc.pay.v1.TerminalsResponse\x12R\n\x03Pay\x12#.com.kodypay.grpc.pay.v1.PayRequest\x1a$.com.kodypay.grpc.pay.v1.PayResponse0\x01\x12Y\n\x06\x43\x61ncel\x12&.com.kodypay.grpc.pay.v1.CancelRequest\x1a\'.com.kodypay.grpc.pay.v1.CancelResponse\x12\x66\n\x0ePaymentDetails\x12..com.kodypay.grpc.pay.v1.PaymentDetailsRequest\x1a$.com.kodypay.grpc.pay.v1.PayResponse\x12[\n\x06Refund\x12&.com.kodypay.grpc.pay.v1.RefundRequest\x1a\'.com.kodypay.grpc.pay.v1.RefundResponse0\x01\x42\x31\n\x17\x63om.kodypay.grpc.pay.v1B\x14KodyPayTerminalProtoP\x01\x62\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,8 +33,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'com.kodypay.grpc.pay.v1.pay
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.kodypay.grpc.pay.v1B\024KodyPayTerminalProtoP\001'
|
|
36
|
-
_globals['_PAYMENTSTATUS']._serialized_start=
|
|
37
|
-
_globals['_PAYMENTSTATUS']._serialized_end=
|
|
36
|
+
_globals['_PAYMENTSTATUS']._serialized_start=1565
|
|
37
|
+
_globals['_PAYMENTSTATUS']._serialized_end=1633
|
|
38
38
|
_globals['_TERMINALSREQUEST']._serialized_start=95
|
|
39
39
|
_globals['_TERMINALSREQUEST']._serialized_end=131
|
|
40
40
|
_globals['_TERMINALSRESPONSE']._serialized_start=133
|
|
@@ -51,6 +51,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
51
51
|
_globals['_CANCELRESPONSE']._serialized_end=1001
|
|
52
52
|
_globals['_PAYMENTDETAILSREQUEST']._serialized_start=1003
|
|
53
53
|
_globals['_PAYMENTDETAILSREQUEST']._serialized_end=1062
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
54
|
+
_globals['_REFUNDREQUEST']._serialized_start=1065
|
|
55
|
+
_globals['_REFUNDREQUEST']._serialized_end=1258
|
|
56
|
+
_globals['_REFUNDRESPONSE']._serialized_start=1261
|
|
57
|
+
_globals['_REFUNDRESPONSE']._serialized_end=1563
|
|
58
|
+
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_start=1473
|
|
59
|
+
_globals['_REFUNDRESPONSE_REFUNDSTATUS']._serialized_end=1527
|
|
60
|
+
_globals['_KODYPAYTERMINALSERVICE']._serialized_start=1636
|
|
61
|
+
_globals['_KODYPAYTERMINALSERVICE']._serialized_end=2132
|
|
56
62
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -54,6 +54,11 @@ class KodyPayTerminalServiceStub(object):
|
|
|
54
54
|
request_serializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.PaymentDetailsRequest.SerializeToString,
|
|
55
55
|
response_deserializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.PayResponse.FromString,
|
|
56
56
|
_registered_method=True)
|
|
57
|
+
self.Refund = channel.unary_stream(
|
|
58
|
+
'/com.kodypay.grpc.pay.v1.KodyPayTerminalService/Refund',
|
|
59
|
+
request_serializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.RefundRequest.SerializeToString,
|
|
60
|
+
response_deserializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.RefundResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
57
62
|
|
|
58
63
|
|
|
59
64
|
class KodyPayTerminalServiceServicer(object):
|
|
@@ -83,6 +88,12 @@ class KodyPayTerminalServiceServicer(object):
|
|
|
83
88
|
context.set_details('Method not implemented!')
|
|
84
89
|
raise NotImplementedError('Method not implemented!')
|
|
85
90
|
|
|
91
|
+
def Refund(self, request, context):
|
|
92
|
+
"""Missing associated documentation comment in .proto file."""
|
|
93
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
|
+
context.set_details('Method not implemented!')
|
|
95
|
+
raise NotImplementedError('Method not implemented!')
|
|
96
|
+
|
|
86
97
|
|
|
87
98
|
def add_KodyPayTerminalServiceServicer_to_server(servicer, server):
|
|
88
99
|
rpc_method_handlers = {
|
|
@@ -106,6 +117,11 @@ def add_KodyPayTerminalServiceServicer_to_server(servicer, server):
|
|
|
106
117
|
request_deserializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.PaymentDetailsRequest.FromString,
|
|
107
118
|
response_serializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.PayResponse.SerializeToString,
|
|
108
119
|
),
|
|
120
|
+
'Refund': grpc.unary_stream_rpc_method_handler(
|
|
121
|
+
servicer.Refund,
|
|
122
|
+
request_deserializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.RefundRequest.FromString,
|
|
123
|
+
response_serializer=com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.RefundResponse.SerializeToString,
|
|
124
|
+
),
|
|
109
125
|
}
|
|
110
126
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
111
127
|
'com.kodypay.grpc.pay.v1.KodyPayTerminalService', rpc_method_handlers)
|
|
@@ -224,3 +240,30 @@ class KodyPayTerminalService(object):
|
|
|
224
240
|
timeout,
|
|
225
241
|
metadata,
|
|
226
242
|
_registered_method=True)
|
|
243
|
+
|
|
244
|
+
@staticmethod
|
|
245
|
+
def Refund(request,
|
|
246
|
+
target,
|
|
247
|
+
options=(),
|
|
248
|
+
channel_credentials=None,
|
|
249
|
+
call_credentials=None,
|
|
250
|
+
insecure=False,
|
|
251
|
+
compression=None,
|
|
252
|
+
wait_for_ready=None,
|
|
253
|
+
timeout=None,
|
|
254
|
+
metadata=None):
|
|
255
|
+
return grpc.experimental.unary_stream(
|
|
256
|
+
request,
|
|
257
|
+
target,
|
|
258
|
+
'/com.kodypay.grpc.pay.v1.KodyPayTerminalService/Refund',
|
|
259
|
+
com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.RefundRequest.SerializeToString,
|
|
260
|
+
com_dot_kodypay_dot_grpc_dot_pay_dot_v1_dot_pay__pb2.RefundResponse.FromString,
|
|
261
|
+
options,
|
|
262
|
+
channel_credentials,
|
|
263
|
+
insecure,
|
|
264
|
+
call_credentials,
|
|
265
|
+
compression,
|
|
266
|
+
wait_for_ready,
|
|
267
|
+
timeout,
|
|
268
|
+
metadata,
|
|
269
|
+
_registered_method=True)
|
{kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: kody_clientsdk_python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Kody API client
|
|
5
5
|
Home-page: https://github.com/KodyPay/kody-clientsdk-python
|
|
6
6
|
Author: Kody Tech Team
|
|
@@ -12,8 +12,8 @@ Requires-Dist: protobuf==5.27.2
|
|
|
12
12
|
# Kody Python Client
|
|
13
13
|
|
|
14
14
|
## Description
|
|
15
|
-
The Kody Python Client
|
|
16
|
-
The SDK is generated from
|
|
15
|
+
The Kody Python Client allows direct communication with the Kody Payments Gateway. It simplifies the integration of Kody payments into your application.
|
|
16
|
+
The SDK is generated from Protobuf gRPC protocols to facilitate communication with the Kody Payments Gateway.
|
|
17
17
|
|
|
18
18
|
## Requirements
|
|
19
19
|
- grpcio-tools
|
|
@@ -30,7 +30,7 @@ pip install kody-clientsdk-python
|
|
|
30
30
|
|
|
31
31
|
## Samples
|
|
32
32
|
|
|
33
|
-
Go to the [samples](https://github.com/KodyPay/kody-clientsdk-python
|
|
33
|
+
Go to the [samples](https://github.com/KodyPay/kody-clientsdk-python/tree/main/versions/3_12/samples) directory for examples on how to use the Kody Python Client.
|
|
34
34
|
|
|
35
35
|
## License
|
|
36
36
|
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Kody Python Client
|
|
2
|
-
|
|
3
|
-
## Description
|
|
4
|
-
The Kody Python Client is it's your direct line of communication with the Kody Payments Gateway. It simplifies the integration of Kody payment functionalities into your applications.
|
|
5
|
-
The SDK is generated from protobuf protocols to facilitate communication with the Kody Payments Gateway.
|
|
6
|
-
|
|
7
|
-
## Requirements
|
|
8
|
-
- grpcio-tools
|
|
9
|
-
|
|
10
|
-
## Installation
|
|
11
|
-
|
|
12
|
-
### PIP
|
|
13
|
-
|
|
14
|
-
Install the Kody Python Client SDK using the following command:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
pip install kody-clientsdk-python
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Samples
|
|
21
|
-
|
|
22
|
-
Go to the [samples](https://github.com/KodyPay/kody-clientsdk-python-3.6/tree/main/samples) directory for examples on how to use the Kody Python Client.
|
|
23
|
-
|
|
24
|
-
## License
|
|
25
|
-
|
|
26
|
-
This project is licensed under the MIT License.
|
|
27
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '0.0.2'
|
{kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/ecom/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/pay/__init__.py
RENAMED
|
File without changes
|
{kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/pay/v1/__init__.py
RENAMED
|
File without changes
|
{kody_clientsdk_python-0.0.2 → kody_clientsdk_python-0.0.4}/kody_clientsdk_python/sdk/__init__.py
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
|