mpcontribs-client 5.6.2__py3-none-any.whl → 5.7.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.
- mpcontribs/client/__init__.py +2 -2
- {mpcontribs_client-5.6.2.dist-info → mpcontribs_client-5.7.0.dist-info}/METADATA +1 -1
- mpcontribs_client-5.7.0.dist-info/RECORD +6 -0
- mpcontribs_client-5.6.2.dist-info/RECORD +0 -6
- {mpcontribs_client-5.6.2.dist-info → mpcontribs_client-5.7.0.dist-info}/LICENSE +0 -0
- {mpcontribs_client-5.6.2.dist-info → mpcontribs_client-5.7.0.dist-info}/WHEEL +0 -0
- {mpcontribs_client-5.6.2.dist-info → mpcontribs_client-5.7.0.dist-info}/top_level.txt +0 -0
mpcontribs/client/__init__.py
CHANGED
|
@@ -74,7 +74,7 @@ DEFAULT_HOST = "contribs-api.materialsproject.org"
|
|
|
74
74
|
BULMA = "is-narrow is-fullwidth has-background-light"
|
|
75
75
|
PROVIDERS = {"github", "google", "facebook", "microsoft", "amazon"}
|
|
76
76
|
COMPONENTS = ["structures", "tables", "attachments"] # using list to maintain order
|
|
77
|
-
SUBDOMAINS = ["contribs", "lightsources", "ml", "
|
|
77
|
+
SUBDOMAINS = ["contribs", "lightsources", "ml", "micro"]
|
|
78
78
|
PORTS = [5000, 5002, 5003, 5005, 10000, 10002, 10003, 10005, 20000]
|
|
79
79
|
HOSTS = ["localhost", "contribs-apis"]
|
|
80
80
|
HOSTS += [f"192.168.0.{i}" for i in range(36, 47)] # PrivateSubnetOne
|
|
@@ -958,7 +958,7 @@ class Client(SwaggerClient):
|
|
|
958
958
|
line_len = len(",".join(v).encode("utf-8"))
|
|
959
959
|
|
|
960
960
|
while line_len > 3800:
|
|
961
|
-
per_page = int(0.
|
|
961
|
+
per_page = int(0.8 * per_page)
|
|
962
962
|
vv = v[:per_page]
|
|
963
963
|
line_len = len(",".join(vv).encode("utf-8"))
|
|
964
964
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
mpcontribs/client/__init__.py,sha256=HZZtgEt7kRJnDOpDAddShOWStLoNIM04aCgGdoOh7h8,92632
|
|
2
|
+
mpcontribs_client-5.7.0.dist-info/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
|
|
3
|
+
mpcontribs_client-5.7.0.dist-info/METADATA,sha256=rK0zXmdFOfFcF0op_r6Msl2Dm4LogD3aTSOgfzpsE0Q,2548
|
|
4
|
+
mpcontribs_client-5.7.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
5
|
+
mpcontribs_client-5.7.0.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
|
|
6
|
+
mpcontribs_client-5.7.0.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
mpcontribs/client/__init__.py,sha256=MdKExIkvHsduzHVDcZBwhJa4CCqYP519AXaWgVDcFEk,92644
|
|
2
|
-
mpcontribs_client-5.6.2.dist-info/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
|
|
3
|
-
mpcontribs_client-5.6.2.dist-info/METADATA,sha256=T_dTSbw569Xs7H7OUCwa6a2J2U91v7t2JKwpcQlUupA,2548
|
|
4
|
-
mpcontribs_client-5.6.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
5
|
-
mpcontribs_client-5.6.2.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
|
|
6
|
-
mpcontribs_client-5.6.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|