mangopay4-python-sdk 3.60.0__tar.gz → 4.0.1__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.
Files changed (98) hide show
  1. mangopay4_python_sdk-4.0.1/PKG-INFO +182 -0
  2. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/README.md +22 -10
  3. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/utils.py +0 -12
  4. mangopay4_python_sdk-4.0.1/pyproject.toml +57 -0
  5. mangopay4_python_sdk-3.60.0/DESCRIPTION.md +0 -1
  6. mangopay4_python_sdk-3.60.0/MANIFEST.in +0 -8
  7. mangopay4_python_sdk-3.60.0/Makefile +0 -8
  8. mangopay4_python_sdk-3.60.0/PKG-INFO +0 -53
  9. mangopay4_python_sdk-3.60.0/mangopay4_python_sdk.egg-info/PKG-INFO +0 -53
  10. mangopay4_python_sdk-3.60.0/mangopay4_python_sdk.egg-info/SOURCES.txt +0 -95
  11. mangopay4_python_sdk-3.60.0/mangopay4_python_sdk.egg-info/dependency_links.txt +0 -1
  12. mangopay4_python_sdk-3.60.0/mangopay4_python_sdk.egg-info/entry_points.txt +0 -2
  13. mangopay4_python_sdk-3.60.0/mangopay4_python_sdk.egg-info/requires.txt +0 -25
  14. mangopay4_python_sdk-3.60.0/mangopay4_python_sdk.egg-info/top_level.txt +0 -1
  15. mangopay4_python_sdk-3.60.0/setup.cfg +0 -7
  16. mangopay4_python_sdk-3.60.0/setup.py +0 -43
  17. mangopay4_python_sdk-3.60.0/tests/__init__.py +0 -6
  18. mangopay4_python_sdk-3.60.0/tests/fixtures/card.json +0 -16
  19. mangopay4_python_sdk-3.60.0/tests/fixtures/cardregistrations.json +0 -16
  20. mangopay4_python_sdk-3.60.0/tests/fixtures/cardregistrations_update.json +0 -14
  21. mangopay4_python_sdk-3.60.0/tests/fixtures/declarative_user.json +0 -26
  22. mangopay4_python_sdk-3.60.0/tests/fixtures/legal_user.json +0 -28
  23. mangopay4_python_sdk-3.60.0/tests/fixtures/legal_user_wallet.json +0 -14
  24. mangopay4_python_sdk-3.60.0/tests/fixtures/legal_user_wallet_89.json +0 -14
  25. mangopay4_python_sdk-3.60.0/tests/fixtures/legal_user_wallet_99.json +0 -14
  26. mangopay4_python_sdk-3.60.0/tests/fixtures/list_ubo_declarations.json +0 -12
  27. mangopay4_python_sdk-3.60.0/tests/fixtures/natural_user.json +0 -25
  28. mangopay4_python_sdk-3.60.0/tests/fixtures/natural_user_wallet.json +0 -14
  29. mangopay4_python_sdk-3.60.0/tests/fixtures/natural_user_wallet_9.json +0 -14
  30. mangopay4_python_sdk-3.60.0/tests/fixtures/ubo.json +0 -20
  31. mangopay4_python_sdk-3.60.0/tests/fixtures/ubo_declaration.json +0 -10
  32. mangopay4_python_sdk-3.60.0/tests/fixtures/ubo_declaration_submit.json +0 -10
  33. mangopay4_python_sdk-3.60.0/tests/fixtures/ubo_update.json +0 -20
  34. mangopay4_python_sdk-3.60.0/tests/fixtures/user_list_2_per_page.json +0 -18
  35. mangopay4_python_sdk-3.60.0/tests/fixtures/user_list_2_per_page_page1.json +0 -18
  36. mangopay4_python_sdk-3.60.0/tests/fixtures/user_list_3_per_page_page2.json +0 -26
  37. mangopay4_python_sdk-3.60.0/tests/fixtures/user_list_full.json +0 -92
  38. mangopay4_python_sdk-3.60.0/tests/fixtures/user_list_page1.json +0 -82
  39. mangopay4_python_sdk-3.60.0/tests/fixtures/user_wallet.json +0 -14
  40. mangopay4_python_sdk-3.60.0/tests/images/image.jpg +0 -0
  41. mangopay4_python_sdk-3.60.0/tests/mocks.py +0 -304
  42. mangopay4_python_sdk-3.60.0/tests/resources/TestKycPageFile.png +0 -0
  43. mangopay4_python_sdk-3.60.0/tests/resources/settlement_sample.csv +0 -8
  44. mangopay4_python_sdk-3.60.0/tests/resources/settlement_sample_bad_footer.csv +0 -8
  45. mangopay4_python_sdk-3.60.0/tests/resources/settlement_sample_bad_line.csv +0 -8
  46. mangopay4_python_sdk-3.60.0/tests/resources.py +0 -9
  47. mangopay4_python_sdk-3.60.0/tests/settings.py +0 -15
  48. mangopay4_python_sdk-3.60.0/tests/test_acquiring.py +0 -215
  49. mangopay4_python_sdk-3.60.0/tests/test_bankaccounts.py +0 -501
  50. mangopay4_python_sdk-3.60.0/tests/test_banking_aliases.py +0 -93
  51. mangopay4_python_sdk-3.60.0/tests/test_base.py +0 -958
  52. mangopay4_python_sdk-3.60.0/tests/test_cards.py +0 -371
  53. mangopay4_python_sdk-3.60.0/tests/test_client_wallets.py +0 -200
  54. mangopay4_python_sdk-3.60.0/tests/test_clients.py +0 -64
  55. mangopay4_python_sdk-3.60.0/tests/test_conversion.py +0 -215
  56. mangopay4_python_sdk-3.60.0/tests/test_country_authorizations.py +0 -57
  57. mangopay4_python_sdk-3.60.0/tests/test_deposits.py +0 -162
  58. mangopay4_python_sdk-3.60.0/tests/test_disputes.py +0 -381
  59. mangopay4_python_sdk-3.60.0/tests/test_documentconsult.py +0 -176
  60. mangopay4_python_sdk-3.60.0/tests/test_emoney.py +0 -26
  61. mangopay4_python_sdk-3.60.0/tests/test_idempotency.py +0 -57
  62. mangopay4_python_sdk-3.60.0/tests/test_identity_verification.py +0 -81
  63. mangopay4_python_sdk-3.60.0/tests/test_kyc_document.py +0 -37
  64. mangopay4_python_sdk-3.60.0/tests/test_kycs.py +0 -312
  65. mangopay4_python_sdk-3.60.0/tests/test_mandates.py +0 -97
  66. mangopay4_python_sdk-3.60.0/tests/test_notifications.py +0 -282
  67. mangopay4_python_sdk-3.60.0/tests/test_payins.py +0 -2648
  68. mangopay4_python_sdk-3.60.0/tests/test_payouts.py +0 -254
  69. mangopay4_python_sdk-3.60.0/tests/test_preauthorizations.py +0 -852
  70. mangopay4_python_sdk-3.60.0/tests/test_rate_limit.py +0 -14
  71. mangopay4_python_sdk-3.60.0/tests/test_recipients.py +0 -191
  72. mangopay4_python_sdk-3.60.0/tests/test_refunds.py +0 -422
  73. mangopay4_python_sdk-3.60.0/tests/test_reports.py +0 -117
  74. mangopay4_python_sdk-3.60.0/tests/test_reports_v2.py +0 -145
  75. mangopay4_python_sdk-3.60.0/tests/test_repudiations.py +0 -15
  76. mangopay4_python_sdk-3.60.0/tests/test_settlements.py +0 -159
  77. mangopay4_python_sdk-3.60.0/tests/test_tokens.py +0 -61
  78. mangopay4_python_sdk-3.60.0/tests/test_transactions.py +0 -216
  79. mangopay4_python_sdk-3.60.0/tests/test_transfers.py +0 -226
  80. mangopay4_python_sdk-3.60.0/tests/test_ubos.py +0 -102
  81. mangopay4_python_sdk-3.60.0/tests/test_users.py +0 -996
  82. mangopay4_python_sdk-3.60.0/tests/test_utils.py +0 -49
  83. mangopay4_python_sdk-3.60.0/tests/test_virtual_account.py +0 -52
  84. mangopay4_python_sdk-3.60.0/tests/test_wallets.py +0 -358
  85. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/LICENSE +0 -0
  86. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/__init__.py +0 -0
  87. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/api.py +0 -0
  88. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/auth.py +0 -0
  89. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/base.py +0 -0
  90. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/compat.py +0 -0
  91. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/constants.py +0 -0
  92. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/exceptions.py +0 -0
  93. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/fields.py +0 -0
  94. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/page.py +0 -0
  95. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/query.py +0 -0
  96. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/ratelimit.py +0 -0
  97. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/resources.py +0 -0
  98. {mangopay4_python_sdk-3.60.0 → mangopay4_python_sdk-4.0.1}/mangopay/signals.py +0 -0
@@ -0,0 +1,182 @@
1
+ Metadata-Version: 2.4
2
+ Name: mangopay4-python-sdk
3
+ Version: 4.0.1
4
+ Summary: A client library written in python to work with mangopay v2 api
5
+ License-Expression: MIT
6
+ License-File: LICENSE
7
+ Keywords: mangopay,api,development,emoney,sdk
8
+ Author: Mangopay (www.mangopay.com)
9
+ Author-email: support@mangopay.com
10
+ Requires-Python: >=3.10,<3.15
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Topic :: Software Development :: Build Tools
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Provides-Extra: dev
19
+ Provides-Extra: test
20
+ Requires-Dist: blinker (>=1.9.0,<2)
21
+ Requires-Dist: coverage (==7.14.0) ; extra == "dev"
22
+ Requires-Dist: coverage (==7.14.0) ; extra == "test"
23
+ Requires-Dist: exam (==0.10.6) ; extra == "dev"
24
+ Requires-Dist: exam (==0.10.6) ; extra == "test"
25
+ Requires-Dist: httplib2 (==0.31.2) ; extra == "dev"
26
+ Requires-Dist: httplib2 (==0.31.2) ; extra == "test"
27
+ Requires-Dist: ndg-httpsclient (==0.5.1) ; extra == "dev"
28
+ Requires-Dist: ndg-httpsclient (==0.5.1) ; extra == "test"
29
+ Requires-Dist: pyasn1 (==0.6.3) ; extra == "dev"
30
+ Requires-Dist: pyasn1 (==0.6.3) ; extra == "test"
31
+ Requires-Dist: pynose (==1.5.5) ; extra == "dev"
32
+ Requires-Dist: pynose (==1.5.5) ; extra == "test"
33
+ Requires-Dist: pyopenssl (==26.1.0) ; extra == "dev"
34
+ Requires-Dist: pyopenssl (==26.1.0) ; extra == "test"
35
+ Requires-Dist: pytz (>=2026.2)
36
+ Requires-Dist: requests (>=2.34.2,<3)
37
+ Requires-Dist: responses (==0.26.0) ; extra == "dev"
38
+ Requires-Dist: responses (==0.26.0) ; extra == "test"
39
+ Requires-Dist: simplejson (>=3.20.2,<4)
40
+ Requires-Dist: six (>=1.17.0,<2)
41
+ Description-Content-Type: text/markdown
42
+
43
+ Mangopay Python SDK
44
+ =================================================
45
+
46
+ MangopaySDK is a Python client library to work with
47
+ [Mangopay REST API](http://docs.mangopay.com/api-references/).
48
+
49
+
50
+ Installation
51
+ ------------
52
+
53
+ mangopaysdk requires Python >=3.10,<3.15 and the following runtime dependencies:
54
+
55
+ * [requests](https://pypi.python.org/pypi/requests)
56
+ * [simplejson](https://pypi.python.org/pypi/simplejson)
57
+ * [blinker](https://pypi.python.org/pypi/blinker)
58
+ * [six](https://pypi.python.org/pypi/six)
59
+ * [pytz](https://pypi.python.org/pypi/pytz)
60
+
61
+ To install the package:
62
+
63
+ ```
64
+ pip install mangopay4-python-sdk
65
+ ```
66
+
67
+ By installing this package with [pip](https://pypi.python.org/pypi/pip), all dependencies will be installed for you.
68
+
69
+ ### Development install
70
+
71
+ The project is managed with [Poetry](https://python-poetry.org/). To set up a local development environment:
72
+
73
+ ```
74
+ poetry install --extras dev
75
+ ```
76
+
77
+ This installs the runtime dependencies as well as the `dev` extras (test runner, coverage, mocking, TLS helpers) defined in `pyproject.toml`. The resolved versions are pinned in `poetry.lock`.
78
+
79
+ To run the test suite (same command used in CI):
80
+
81
+ ```
82
+ poetry run coverage run -m unittest discover
83
+ poetry run coverage xml
84
+ ```
85
+
86
+
87
+ Documentation
88
+ -------------
89
+
90
+ For documentation and examples of usage for the Mangopay API please refer to: [API references](https://docs.mangopay.com/api-references/)
91
+
92
+ See the `docs/` directory to find examples.
93
+
94
+ mTLS certificates
95
+ -----------------
96
+
97
+ ### Set the base URL for mTLS
98
+
99
+ Using mTLS authentication requires your integration to call a base URL with a different hostname from the standard API:
100
+
101
+ * Sandbox: `https://api-mtls.sandbox.mangopay.com`
102
+ * Production: `https://api-mtls.mangopay.com`
103
+
104
+ If using mTLS, your integration should use the `api-mtls` URLs for all API calls, including OAuth token generation.
105
+
106
+ **Caution:** Ensure you set the mTLS base URL, as shown in the configuration examples below. If you don’t, the mTLS certificate will not be transferred to Mangopay. When mTLS is enforced, your integration will result in an error.
107
+
108
+ ### Configure the SDK’s mTLS properties
109
+
110
+ The Python SDK allows you to load the `.pem` and `.key` file paths in the global configuration or in the per-request handler.
111
+
112
+ | Property (global / per-request) | Type | Description |
113
+ | ------------------------------- | ------ | ------------------------------------ |
114
+ | `mtls_cert` / `cert` | string | Path to the certificate `.pem` file. |
115
+ | `mtls_private_key` / `key` | string | Path to the private `.key` file. |
116
+
117
+ **Caution:** The per-request properties `cert` and `key` take precedence if set and the global ones are ignored (`mangopay.mtls_cert` and `mangopay.mtls_private_key`).
118
+
119
+ The certificate files must be accessible at runtime; the SDK does not validate their content at initialization time.
120
+
121
+ When both are provided, the SDK sets `session.cert = (cert, key)` on the underlying `requests.Session`. If a combined certificate is provided (bundling the key), the SDK sets `session.cert = cert`.
122
+
123
+ #### Global configuration
124
+
125
+ The global properties allow you to set the certificate and key before making any API calls. The certificate is used for all requests made through the default handler.
126
+
127
+ ```python theme={null}
128
+ import mangopay
129
+
130
+ mangopay.client_id = 'your-mangopay-client-id'
131
+ mangopay.apikey = 'your-mangopay-api-key'
132
+ mangopay.api_sandbox_url = 'https://api-mtls.sandbox.mangopay.com/v2.01/'
133
+ sandbox = True
134
+ # mangopay.api_url = 'https://api-mtls.mangopay.com/v2.01/'
135
+ mangopay.mtls_cert = '/path/to/certificate.pem'
136
+ mangopay.mtls_private_key = '/path/to/private.key'
137
+ ```
138
+
139
+ #### Per-request handler
140
+
141
+ **Caution:** The per-request values take precedence over the global values.
142
+
143
+ Each `APIRequest` instance maintains its own `requests.Session`, so mTLS certificates are scoped to that instance and do not leak between handlers.
144
+
145
+ ```python theme={null}
146
+ from mangopay.api import APIRequest
147
+
148
+ handler = APIRequest(
149
+ client_id='your-mangopay-client-id',
150
+ apikey='your-mangopay-api-key',
151
+ api_sandbox_url = 'https://api-mtls.sandbox.mangopay.com/v2.01/' # mTlS base URL
152
+ sandbox = True
153
+ # mangopay.api_url = 'https://api-mtls.mangopay.com/v2.01/'
154
+ cert='/path/to/certificate.pem',
155
+ key='/path/to/private.key'
156
+ )
157
+ ```
158
+
159
+ Then pass the handler when making API calls:
160
+
161
+ ```python theme={null}
162
+ from mangopay.resources import NaturalUser, Wallet
163
+
164
+ user = NaturalUser.get(user_id, handler=handler)
165
+ wallet = Wallet.get(wallet_id, handler=handler)
166
+ ```
167
+
168
+ License
169
+ -------------------------------------------------
170
+ MangopaySDK is distributed under MIT license, see LICENSE file.
171
+
172
+
173
+ Inspiration
174
+ -----------
175
+
176
+ The data model of python-mangopay is highly inspired by [peewee](https://github.com/coleifer/peewee).
177
+
178
+ Credits
179
+ -----------
180
+
181
+ The inital basis of this SDK was generously coded and donated by [Ulule](https://www.ulule.com/)
182
+
@@ -8,10 +8,13 @@ MangopaySDK is a Python client library to work with
8
8
  Installation
9
9
  ------------
10
10
 
11
- mangopaysdk requires:
11
+ mangopaysdk requires Python >=3.10,<3.15 and the following runtime dependencies:
12
12
 
13
13
  * [requests](https://pypi.python.org/pypi/requests)
14
+ * [simplejson](https://pypi.python.org/pypi/simplejson)
14
15
  * [blinker](https://pypi.python.org/pypi/blinker)
16
+ * [six](https://pypi.python.org/pypi/six)
17
+ * [pytz](https://pypi.python.org/pypi/pytz)
15
18
 
16
19
  To install the package:
17
20
 
@@ -21,13 +24,30 @@ To install the package:
21
24
 
22
25
  By installing this package with [pip](https://pypi.python.org/pypi/pip), all dependencies will be installed for you.
23
26
 
27
+ ### Development install
28
+
29
+ The project is managed with [Poetry](https://python-poetry.org/). To set up a local development environment:
30
+
31
+ ```
32
+ poetry install --extras dev
33
+ ```
34
+
35
+ This installs the runtime dependencies as well as the `dev` extras (test runner, coverage, mocking, TLS helpers) defined in `pyproject.toml`. The resolved versions are pinned in `poetry.lock`.
36
+
37
+ To run the test suite (same command used in CI):
38
+
39
+ ```
40
+ poetry run coverage run -m unittest discover
41
+ poetry run coverage xml
42
+ ```
43
+
24
44
 
25
45
  Documentation
26
46
  -------------
27
47
 
28
48
  For documentation and examples of usage for the Mangopay API please refer to: [API references](https://docs.mangopay.com/api-references/)
29
49
 
30
- See [docs](https://github.com/Mangopay/mangopay2-python-sdk/blob/master/docs/usage.rst) to find examples.
50
+ See the `docs/` directory to find examples.
31
51
 
32
52
  mTLS certificates
33
53
  -----------------
@@ -107,14 +127,6 @@ License
107
127
  -------------------------------------------------
108
128
  MangopaySDK is distributed under MIT license, see LICENSE file.
109
129
 
110
- Contact
111
- -------------------------------------------------
112
- Report bugs or suggest features using [issue tracker at GitHub](https://github.com/Mangopay/mangopay2-python-sdk/issues).
113
-
114
-
115
- Account creation
116
- -------------------------------------------------
117
- You can get yourself a free sandbox account or sign up for a production account by [registering on the Mangopay site](https://www.mangopay.com/start/) (note that validation of your production account involves several steps, so think about doing it in advance of when you actually want to go live).
118
130
 
119
131
  Inspiration
120
132
  -----------
@@ -1,4 +1,3 @@
1
- # see: http://hustoknow.blogspot.com/2011/01/m2crypto-and-facebook-python-sdk.html
2
1
  from __future__ import unicode_literals
3
2
 
4
3
  import copy
@@ -15,17 +14,6 @@ import six
15
14
  from .compat import python_2_unicode_compatible
16
15
  from .exceptions import CurrencyMismatch
17
16
 
18
- if six.PY3:
19
- from urllib import request
20
-
21
- orig = request.URLopener.open_https
22
- request.URLopener.open_https = orig # uncomment this line back and forth
23
- elif six.PY2:
24
- import urllib
25
-
26
- orig = urllib.URLopener.open_https
27
- urllib.URLopener.open_https = orig
28
-
29
17
 
30
18
  class AliasProperty(object):
31
19
  def __init__(self, name):
@@ -0,0 +1,57 @@
1
+ [build-system]
2
+ requires = ["poetry-core>=2.0.0,<3.0.0"]
3
+ build-backend = "poetry.core.masonry.api"
4
+
5
+ [project]
6
+ name = "mangopay4-python-sdk"
7
+ version = "4.0.1"
8
+ description = "A client library written in python to work with mangopay v2 api"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ authors = [
12
+ { name = "Mangopay (www.mangopay.com)", email = "support@mangopay.com" },
13
+ ]
14
+ requires-python = ">=3.10,<3.15"
15
+ keywords = ["mangopay", "api", "development", "emoney", "sdk"]
16
+ classifiers = [
17
+ "Intended Audience :: Developers",
18
+ "Topic :: Software Development :: Build Tools",
19
+ "Programming Language :: Python :: 3.10",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13",
23
+ "Programming Language :: Python :: 3.14"
24
+ ]
25
+ dependencies = [
26
+ "requests>=2.34.2,<3",
27
+ "simplejson>=3.20.2,<4",
28
+ "blinker>=1.9.0,<2",
29
+ "six>=1.17.0,<2",
30
+ "pytz>=2026.2",
31
+ ]
32
+
33
+ [project.optional-dependencies]
34
+ dev = [
35
+ "responses==0.26.0",
36
+ "pynose==1.5.5",
37
+ "coverage==7.14.0",
38
+ "exam==0.10.6",
39
+ "httplib2==0.31.2",
40
+ "pyopenssl==26.1.0",
41
+ "ndg-httpsclient==0.5.1",
42
+ "pyasn1==0.6.3",
43
+ ]
44
+ test = [
45
+ "responses==0.26.0",
46
+ "pynose==1.5.5",
47
+ "coverage==7.14.0",
48
+ "exam==0.10.6",
49
+ "httplib2==0.31.2",
50
+ "pyopenssl==26.1.0",
51
+ "ndg-httpsclient==0.5.1",
52
+ "pyasn1==0.6.3",
53
+ ]
54
+
55
+ [tool.poetry]
56
+ packages = [{ include = "mangopay" }]
57
+
@@ -1 +0,0 @@
1
- This SDK is a client library for interacting with the Mangopay API.
@@ -1,8 +0,0 @@
1
- include LICENSE
2
- include MANIFEST.in
3
- include README.md
4
- include DESCRIPTION.md
5
- include Makefile
6
-
7
- recursive-include mangopay *
8
- recursive-include tests *
@@ -1,8 +0,0 @@
1
- install:
2
- pip install -r requirements/base.txt
3
-
4
- test:
5
- nosetests -s tests --with-coverage --cover-erase --cover-package=tests
6
-
7
- release:
8
- python setup.py sdist register upload -s
@@ -1,53 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mangopay4-python-sdk
3
- Version: 3.60.0
4
- Summary: A client library written in python to work with mangopay v2 api
5
- Home-page: https://github.com/Mangopay/mangopay2-python-sdk
6
- Author: Mangopay (www.mangopay.com)
7
- Author-email: support@mangopay.com
8
- License: MIT
9
- Keywords: mangopay api development emoney sdk
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Topic :: Software Development :: Build Tools
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- License-File: LICENSE
18
- Requires-Dist: requests
19
- Requires-Dist: simplejson
20
- Requires-Dist: blinker
21
- Requires-Dist: six
22
- Requires-Dist: pytz
23
- Provides-Extra: dev
24
- Requires-Dist: responses; extra == "dev"
25
- Requires-Dist: nose; extra == "dev"
26
- Requires-Dist: coverage; extra == "dev"
27
- Requires-Dist: httplib2; extra == "dev"
28
- Requires-Dist: pyopenssl; extra == "dev"
29
- Requires-Dist: ndg-httpsclient; extra == "dev"
30
- Requires-Dist: pyasn1; extra == "dev"
31
- Requires-Dist: exam; extra == "dev"
32
- Provides-Extra: test
33
- Requires-Dist: responses; extra == "test"
34
- Requires-Dist: nose; extra == "test"
35
- Requires-Dist: coverage; extra == "test"
36
- Requires-Dist: httplib2; extra == "test"
37
- Requires-Dist: pyopenssl; extra == "test"
38
- Requires-Dist: ndg-httpsclient; extra == "test"
39
- Requires-Dist: pyasn1; extra == "test"
40
- Requires-Dist: exam; extra == "test"
41
- Dynamic: author
42
- Dynamic: author-email
43
- Dynamic: classifier
44
- Dynamic: description
45
- Dynamic: home-page
46
- Dynamic: keywords
47
- Dynamic: license
48
- Dynamic: license-file
49
- Dynamic: provides-extra
50
- Dynamic: requires-dist
51
- Dynamic: summary
52
-
53
- This SDK is a client library for interacting with the Mangopay API.
@@ -1,53 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mangopay4-python-sdk
3
- Version: 3.60.0
4
- Summary: A client library written in python to work with mangopay v2 api
5
- Home-page: https://github.com/Mangopay/mangopay2-python-sdk
6
- Author: Mangopay (www.mangopay.com)
7
- Author-email: support@mangopay.com
8
- License: MIT
9
- Keywords: mangopay api development emoney sdk
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Topic :: Software Development :: Build Tools
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- License-File: LICENSE
18
- Requires-Dist: requests
19
- Requires-Dist: simplejson
20
- Requires-Dist: blinker
21
- Requires-Dist: six
22
- Requires-Dist: pytz
23
- Provides-Extra: dev
24
- Requires-Dist: responses; extra == "dev"
25
- Requires-Dist: nose; extra == "dev"
26
- Requires-Dist: coverage; extra == "dev"
27
- Requires-Dist: httplib2; extra == "dev"
28
- Requires-Dist: pyopenssl; extra == "dev"
29
- Requires-Dist: ndg-httpsclient; extra == "dev"
30
- Requires-Dist: pyasn1; extra == "dev"
31
- Requires-Dist: exam; extra == "dev"
32
- Provides-Extra: test
33
- Requires-Dist: responses; extra == "test"
34
- Requires-Dist: nose; extra == "test"
35
- Requires-Dist: coverage; extra == "test"
36
- Requires-Dist: httplib2; extra == "test"
37
- Requires-Dist: pyopenssl; extra == "test"
38
- Requires-Dist: ndg-httpsclient; extra == "test"
39
- Requires-Dist: pyasn1; extra == "test"
40
- Requires-Dist: exam; extra == "test"
41
- Dynamic: author
42
- Dynamic: author-email
43
- Dynamic: classifier
44
- Dynamic: description
45
- Dynamic: home-page
46
- Dynamic: keywords
47
- Dynamic: license
48
- Dynamic: license-file
49
- Dynamic: provides-extra
50
- Dynamic: requires-dist
51
- Dynamic: summary
52
-
53
- This SDK is a client library for interacting with the Mangopay API.
@@ -1,95 +0,0 @@
1
- DESCRIPTION.md
2
- LICENSE
3
- MANIFEST.in
4
- Makefile
5
- README.md
6
- setup.cfg
7
- setup.py
8
- mangopay/__init__.py
9
- mangopay/api.py
10
- mangopay/auth.py
11
- mangopay/base.py
12
- mangopay/compat.py
13
- mangopay/constants.py
14
- mangopay/exceptions.py
15
- mangopay/fields.py
16
- mangopay/page.py
17
- mangopay/query.py
18
- mangopay/ratelimit.py
19
- mangopay/resources.py
20
- mangopay/signals.py
21
- mangopay/utils.py
22
- mangopay4_python_sdk.egg-info/PKG-INFO
23
- mangopay4_python_sdk.egg-info/SOURCES.txt
24
- mangopay4_python_sdk.egg-info/dependency_links.txt
25
- mangopay4_python_sdk.egg-info/entry_points.txt
26
- mangopay4_python_sdk.egg-info/requires.txt
27
- mangopay4_python_sdk.egg-info/top_level.txt
28
- tests/__init__.py
29
- tests/mocks.py
30
- tests/resources.py
31
- tests/settings.py
32
- tests/test_acquiring.py
33
- tests/test_bankaccounts.py
34
- tests/test_banking_aliases.py
35
- tests/test_base.py
36
- tests/test_cards.py
37
- tests/test_client_wallets.py
38
- tests/test_clients.py
39
- tests/test_conversion.py
40
- tests/test_country_authorizations.py
41
- tests/test_deposits.py
42
- tests/test_disputes.py
43
- tests/test_documentconsult.py
44
- tests/test_emoney.py
45
- tests/test_idempotency.py
46
- tests/test_identity_verification.py
47
- tests/test_kyc_document.py
48
- tests/test_kycs.py
49
- tests/test_mandates.py
50
- tests/test_notifications.py
51
- tests/test_payins.py
52
- tests/test_payouts.py
53
- tests/test_preauthorizations.py
54
- tests/test_rate_limit.py
55
- tests/test_recipients.py
56
- tests/test_refunds.py
57
- tests/test_reports.py
58
- tests/test_reports_v2.py
59
- tests/test_repudiations.py
60
- tests/test_settlements.py
61
- tests/test_tokens.py
62
- tests/test_transactions.py
63
- tests/test_transfers.py
64
- tests/test_ubos.py
65
- tests/test_users.py
66
- tests/test_utils.py
67
- tests/test_virtual_account.py
68
- tests/test_wallets.py
69
- tests/fixtures/card.json
70
- tests/fixtures/cardregistrations.json
71
- tests/fixtures/cardregistrations_update.json
72
- tests/fixtures/declarative_user.json
73
- tests/fixtures/legal_user.json
74
- tests/fixtures/legal_user_wallet.json
75
- tests/fixtures/legal_user_wallet_89.json
76
- tests/fixtures/legal_user_wallet_99.json
77
- tests/fixtures/list_ubo_declarations.json
78
- tests/fixtures/natural_user.json
79
- tests/fixtures/natural_user_wallet.json
80
- tests/fixtures/natural_user_wallet_9.json
81
- tests/fixtures/ubo.json
82
- tests/fixtures/ubo_declaration.json
83
- tests/fixtures/ubo_declaration_submit.json
84
- tests/fixtures/ubo_update.json
85
- tests/fixtures/user_list_2_per_page.json
86
- tests/fixtures/user_list_2_per_page_page1.json
87
- tests/fixtures/user_list_3_per_page_page2.json
88
- tests/fixtures/user_list_full.json
89
- tests/fixtures/user_list_page1.json
90
- tests/fixtures/user_wallet.json
91
- tests/images/image.jpg
92
- tests/resources/TestKycPageFile.png
93
- tests/resources/settlement_sample.csv
94
- tests/resources/settlement_sample_bad_footer.csv
95
- tests/resources/settlement_sample_bad_line.csv
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- sample = sample:main
@@ -1,25 +0,0 @@
1
- requests
2
- simplejson
3
- blinker
4
- six
5
- pytz
6
-
7
- [dev]
8
- responses
9
- nose
10
- coverage
11
- httplib2
12
- pyopenssl
13
- ndg-httpsclient
14
- pyasn1
15
- exam
16
-
17
- [test]
18
- responses
19
- nose
20
- coverage
21
- httplib2
22
- pyopenssl
23
- ndg-httpsclient
24
- pyasn1
25
- exam
@@ -1,7 +0,0 @@
1
- [bdist_wheel]
2
- universal = 1
3
-
4
- [egg_info]
5
- tag_build =
6
- tag_date = 0
7
-
@@ -1,43 +0,0 @@
1
- from codecs import open
2
- from os import path
3
-
4
- from setuptools import setup, find_packages
5
-
6
- here = path.abspath(path.dirname(__file__))
7
-
8
- with open(path.join(here, 'DESCRIPTION.md'), encoding='utf-8') as f:
9
- long_description = f.read()
10
-
11
- setup(
12
- name='mangopay4-python-sdk',
13
- version='3.60.0',
14
- description='A client library written in python to work with mangopay v2 api',
15
- long_description='This SDK is a client library for interacting with the Mangopay API.',
16
- url='https://github.com/Mangopay/mangopay2-python-sdk',
17
- author='Mangopay (www.mangopay.com)',
18
- author_email='support@mangopay.com',
19
- license='MIT',
20
- classifiers=[
21
- 'Intended Audience :: Developers',
22
- 'Topic :: Software Development :: Build Tools',
23
- 'License :: OSI Approved :: MIT License',
24
- 'Programming Language :: Python :: 3.9',
25
- 'Programming Language :: Python :: 3.10',
26
- 'Programming Language :: Python :: 3.11',
27
- 'Programming Language :: Python :: 3.12'
28
- ],
29
- keywords='mangopay api development emoney sdk',
30
- packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
31
- install_requires=['requests', 'simplejson', 'blinker', 'six', 'pytz' ],
32
- extras_require={
33
- 'dev': ['responses', 'nose', 'coverage', 'httplib2',
34
- 'pyopenssl', 'ndg-httpsclient', 'pyasn1', 'exam'],
35
- 'test': ['responses', 'nose', 'coverage', 'httplib2',
36
- 'pyopenssl', 'ndg-httpsclient', 'pyasn1', 'exam'],
37
- },
38
- entry_points={
39
- 'console_scripts': [
40
- 'sample=sample:main',
41
- ],
42
- },
43
- )
@@ -1,6 +0,0 @@
1
- import mangopay
2
-
3
- from . import settings
4
-
5
- mangopay.client_id = settings.MANGOPAY_CLIENT_ID
6
- mangopay.apikey = settings.MANGOPAY_APIKEY
@@ -1,16 +0,0 @@
1
- {
2
- "ExpirationDate": "1220",
3
- "Alias": "497010XXXXXX4406",
4
- "CardType": "CB_VISA_MASTERCARD",
5
- "Country": "",
6
- "Product": "",
7
- "BankCode": "",
8
- "Active": true,
9
- "Currency": "EUR",
10
- "Validity": "VALID",
11
- "UserId": "1167495",
12
- "Id": "1167507",
13
- "Tag": null,
14
- "CreationDate": 1382608428,
15
- "Fingerprint": "c188a617d3ed42169a7d91f7485c65f3"
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "Id": "1169423",
3
- "Tag": null,
4
- "CreationDate": 1383408863,
5
- "UserId": "1167492",
6
- "AccessKey": "1X0m87dmM2LiwFgxPLBJ",
7
- "PreregistrationData": "S8HjKhXaPXeNlzbaHMqIv5ahx5EnS5jTkJowsAs6NUgDqe8Z5LhdNwnl__UmARcgr2CJUbxdzg0r9MqKdI2YGg",
8
- "RegistrationData": null,
9
- "CardId": null,
10
- "CardRegistrationURL": "https://homologation-webpayment.payline.com/webpayment/getToken",
11
- "CardType": "CB_VISA_MASTERCARD",
12
- "ResultCode": null,
13
- "ResultMessage": null,
14
- "Currency": "EUR",
15
- "Status": "CREATED"
16
- }