qmenta-client 0.11.dev1173__py3-none-any.whl → 1.0__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.
qmenta/client/Account.py
CHANGED
|
@@ -14,7 +14,7 @@ logger_name = 'qmenta.client'
|
|
|
14
14
|
|
|
15
15
|
class Account:
|
|
16
16
|
"""
|
|
17
|
-
It
|
|
17
|
+
It represents your QMENTA account and implements the HTTP connection
|
|
18
18
|
with the server. Once it is instantiated it will act as an identifier
|
|
19
19
|
used by the rest of objects.
|
|
20
20
|
|
|
@@ -66,7 +66,8 @@ class Account:
|
|
|
66
66
|
logger = logging.getLogger(logger_name)
|
|
67
67
|
try:
|
|
68
68
|
auth = platform.Auth.login(
|
|
69
|
-
self.username, self.password, base_url=self.baseurl
|
|
69
|
+
self.username, self.password, base_url=self.baseurl,
|
|
70
|
+
ask_for_2fa_input=True
|
|
70
71
|
)
|
|
71
72
|
except errors.PlatformError as e:
|
|
72
73
|
logger.error('Failed to log in: {}'.format(e))
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qmenta-client
|
|
3
|
-
Version: 0
|
|
3
|
+
Version: 1.0
|
|
4
4
|
Summary: Python client lib to interact with the QMENTA platform.
|
|
5
5
|
Home-page: https://www.qmenta.com/
|
|
6
6
|
Author: QMENTA
|
|
7
7
|
Author-email: dev@qmenta.com
|
|
8
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.10,<4.0
|
|
9
9
|
Classifier: Development Status :: 4 - Beta
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
15
|
Requires-Dist: future (>=0.18.2,<0.19.0)
|
|
17
|
-
Requires-Dist: qmenta-core (>=
|
|
16
|
+
Requires-Dist: qmenta-core (>=4.0.1,<5.0.0)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
qmenta/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
2
|
-
qmenta/client/Account.py,sha256=
|
|
2
|
+
qmenta/client/Account.py,sha256=r2iah3XBXM_hQzJI5uGCojs3WXxStH2dHkwduxHgA64,9552
|
|
3
3
|
qmenta/client/Project.py,sha256=3Jm_1BRXirqe-LKqugmbw6c519TMspnulwLZJjB13f4,43788
|
|
4
4
|
qmenta/client/Subject.py,sha256=azcLeYKO8KTLq-dn0CNvhD9XN1tGjAXZS3lFZcFHDuc,8713
|
|
5
5
|
qmenta/client/__init__.py,sha256=AjTojBhZeW5nl0i605KS8S1Gl5tPNc1hdzD47BGNfoI,147
|
|
6
6
|
qmenta/client/utils.py,sha256=er8BT64WBbNYj4FysI1Mx3ZqHkOGCZPIMGcZeFDysrA,487
|
|
7
|
-
qmenta_client-0.
|
|
8
|
-
qmenta_client-0.
|
|
9
|
-
qmenta_client-0.
|
|
7
|
+
qmenta_client-1.0.dist-info/METADATA,sha256=C9qam7gz-k6zxTpBIDoUqoEjSoIH_LSwmkN5e6Bir9s,601
|
|
8
|
+
qmenta_client-1.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
9
|
+
qmenta_client-1.0.dist-info/RECORD,,
|