pybiolib 0.2.951__py3-none-any.whl → 1.2.1890__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.
Files changed (262) hide show
  1. biolib/__init__.py +357 -11
  2. biolib/_data_record/data_record.py +380 -0
  3. biolib/_index/__init__.py +0 -0
  4. biolib/_index/index.py +55 -0
  5. biolib/_index/query_result.py +103 -0
  6. biolib/_internal/__init__.py +0 -0
  7. biolib/_internal/add_copilot_prompts.py +58 -0
  8. biolib/_internal/add_gui_files.py +81 -0
  9. biolib/_internal/data_record/__init__.py +1 -0
  10. biolib/_internal/data_record/data_record.py +85 -0
  11. biolib/_internal/data_record/push_data.py +116 -0
  12. biolib/_internal/data_record/remote_storage_endpoint.py +43 -0
  13. biolib/_internal/errors.py +5 -0
  14. biolib/_internal/file_utils.py +125 -0
  15. biolib/_internal/fuse_mount/__init__.py +1 -0
  16. biolib/_internal/fuse_mount/experiment_fuse_mount.py +209 -0
  17. biolib/_internal/http_client.py +159 -0
  18. biolib/_internal/lfs/__init__.py +1 -0
  19. biolib/_internal/lfs/cache.py +51 -0
  20. biolib/_internal/libs/__init__.py +1 -0
  21. biolib/_internal/libs/fusepy/__init__.py +1257 -0
  22. biolib/_internal/push_application.py +488 -0
  23. biolib/_internal/runtime.py +22 -0
  24. biolib/_internal/string_utils.py +13 -0
  25. biolib/_internal/templates/__init__.py +1 -0
  26. biolib/_internal/templates/copilot_template/.github/instructions/general-app-knowledge.instructions.md +10 -0
  27. biolib/_internal/templates/copilot_template/.github/instructions/style-general.instructions.md +20 -0
  28. biolib/_internal/templates/copilot_template/.github/instructions/style-python.instructions.md +16 -0
  29. biolib/_internal/templates/copilot_template/.github/instructions/style-react-ts.instructions.md +47 -0
  30. biolib/_internal/templates/copilot_template/.github/prompts/biolib_app_inputs.prompt.md +11 -0
  31. biolib/_internal/templates/copilot_template/.github/prompts/biolib_onboard_repo.prompt.md +19 -0
  32. biolib/_internal/templates/copilot_template/.github/prompts/biolib_run_apps.prompt.md +12 -0
  33. biolib/_internal/templates/dashboard_template/.biolib/config.yml +5 -0
  34. biolib/_internal/templates/github_workflow_template/.github/workflows/biolib.yml +21 -0
  35. biolib/_internal/templates/gitignore_template/.gitignore +10 -0
  36. biolib/_internal/templates/gui_template/.yarnrc.yml +1 -0
  37. biolib/_internal/templates/gui_template/App.tsx +53 -0
  38. biolib/_internal/templates/gui_template/Dockerfile +27 -0
  39. biolib/_internal/templates/gui_template/biolib-sdk.ts +82 -0
  40. biolib/_internal/templates/gui_template/dev-data/output.json +7 -0
  41. biolib/_internal/templates/gui_template/index.css +5 -0
  42. biolib/_internal/templates/gui_template/index.html +13 -0
  43. biolib/_internal/templates/gui_template/index.tsx +10 -0
  44. biolib/_internal/templates/gui_template/package.json +27 -0
  45. biolib/_internal/templates/gui_template/tsconfig.json +24 -0
  46. biolib/_internal/templates/gui_template/vite-plugin-dev-data.ts +50 -0
  47. biolib/_internal/templates/gui_template/vite.config.mts +10 -0
  48. biolib/_internal/templates/init_template/.biolib/config.yml +19 -0
  49. biolib/_internal/templates/init_template/Dockerfile +14 -0
  50. biolib/_internal/templates/init_template/requirements.txt +1 -0
  51. biolib/_internal/templates/init_template/run.py +12 -0
  52. biolib/_internal/templates/init_template/run.sh +4 -0
  53. biolib/_internal/templates/templates.py +25 -0
  54. biolib/_internal/tree_utils.py +106 -0
  55. biolib/_internal/utils/__init__.py +65 -0
  56. biolib/_internal/utils/auth.py +46 -0
  57. biolib/_internal/utils/job_url.py +33 -0
  58. biolib/_internal/utils/multinode.py +263 -0
  59. biolib/_runtime/runtime.py +157 -0
  60. biolib/_session/session.py +44 -0
  61. biolib/_shared/__init__.py +0 -0
  62. biolib/_shared/types/__init__.py +74 -0
  63. biolib/_shared/types/account.py +12 -0
  64. biolib/_shared/types/account_member.py +8 -0
  65. biolib/_shared/types/app.py +9 -0
  66. biolib/_shared/types/data_record.py +40 -0
  67. biolib/_shared/types/experiment.py +32 -0
  68. biolib/_shared/types/file_node.py +17 -0
  69. biolib/_shared/types/push.py +6 -0
  70. biolib/_shared/types/resource.py +37 -0
  71. biolib/_shared/types/resource_deploy_key.py +11 -0
  72. biolib/_shared/types/resource_permission.py +14 -0
  73. biolib/_shared/types/resource_version.py +19 -0
  74. biolib/_shared/types/result.py +14 -0
  75. biolib/_shared/types/typing.py +10 -0
  76. biolib/_shared/types/user.py +19 -0
  77. biolib/_shared/utils/__init__.py +7 -0
  78. biolib/_shared/utils/resource_uri.py +75 -0
  79. biolib/api/__init__.py +6 -0
  80. biolib/api/client.py +168 -0
  81. biolib/app/app.py +252 -49
  82. biolib/app/search_apps.py +45 -0
  83. biolib/biolib_api_client/api_client.py +126 -31
  84. biolib/biolib_api_client/app_types.py +24 -4
  85. biolib/biolib_api_client/auth.py +31 -8
  86. biolib/biolib_api_client/biolib_app_api.py +147 -52
  87. biolib/biolib_api_client/biolib_job_api.py +161 -141
  88. biolib/biolib_api_client/job_types.py +21 -5
  89. biolib/biolib_api_client/lfs_types.py +7 -23
  90. biolib/biolib_api_client/user_state.py +56 -0
  91. biolib/biolib_binary_format/__init__.py +1 -4
  92. biolib/biolib_binary_format/file_in_container.py +105 -0
  93. biolib/biolib_binary_format/module_input.py +24 -7
  94. biolib/biolib_binary_format/module_output_v2.py +149 -0
  95. biolib/biolib_binary_format/remote_endpoints.py +34 -0
  96. biolib/biolib_binary_format/remote_stream_seeker.py +59 -0
  97. biolib/biolib_binary_format/saved_job.py +3 -2
  98. biolib/biolib_binary_format/{attestation_document.py → stdout_and_stderr.py} +8 -8
  99. biolib/biolib_binary_format/system_status_update.py +3 -2
  100. biolib/biolib_binary_format/utils.py +175 -0
  101. biolib/biolib_docker_client/__init__.py +11 -2
  102. biolib/biolib_errors.py +36 -0
  103. biolib/biolib_logging.py +27 -10
  104. biolib/cli/__init__.py +38 -0
  105. biolib/cli/auth.py +46 -0
  106. biolib/cli/data_record.py +164 -0
  107. biolib/cli/index.py +32 -0
  108. biolib/cli/init.py +421 -0
  109. biolib/cli/lfs.py +101 -0
  110. biolib/cli/push.py +50 -0
  111. biolib/cli/run.py +63 -0
  112. biolib/cli/runtime.py +14 -0
  113. biolib/cli/sdk.py +16 -0
  114. biolib/cli/start.py +56 -0
  115. biolib/compute_node/cloud_utils/cloud_utils.py +110 -161
  116. biolib/compute_node/job_worker/cache_state.py +66 -88
  117. biolib/compute_node/job_worker/cache_types.py +1 -6
  118. biolib/compute_node/job_worker/docker_image_cache.py +112 -37
  119. biolib/compute_node/job_worker/executors/__init__.py +0 -3
  120. biolib/compute_node/job_worker/executors/docker_executor.py +532 -199
  121. biolib/compute_node/job_worker/executors/docker_types.py +9 -1
  122. biolib/compute_node/job_worker/executors/types.py +19 -9
  123. biolib/compute_node/job_worker/job_legacy_input_wait_timeout_thread.py +30 -0
  124. biolib/compute_node/job_worker/job_max_runtime_timer_thread.py +3 -5
  125. biolib/compute_node/job_worker/job_storage.py +108 -0
  126. biolib/compute_node/job_worker/job_worker.py +397 -212
  127. biolib/compute_node/job_worker/large_file_system.py +87 -38
  128. biolib/compute_node/job_worker/network_alloc.py +99 -0
  129. biolib/compute_node/job_worker/network_buffer.py +240 -0
  130. biolib/compute_node/job_worker/utilization_reporter_thread.py +197 -0
  131. biolib/compute_node/job_worker/utils.py +9 -24
  132. biolib/compute_node/remote_host_proxy.py +400 -98
  133. biolib/compute_node/utils.py +31 -9
  134. biolib/compute_node/webserver/compute_node_results_proxy.py +189 -0
  135. biolib/compute_node/webserver/proxy_utils.py +28 -0
  136. biolib/compute_node/webserver/webserver.py +130 -44
  137. biolib/compute_node/webserver/webserver_types.py +2 -6
  138. biolib/compute_node/webserver/webserver_utils.py +77 -12
  139. biolib/compute_node/webserver/worker_thread.py +183 -42
  140. biolib/experiments/__init__.py +0 -0
  141. biolib/experiments/experiment.py +356 -0
  142. biolib/jobs/__init__.py +1 -0
  143. biolib/jobs/job.py +741 -0
  144. biolib/jobs/job_result.py +185 -0
  145. biolib/jobs/types.py +50 -0
  146. biolib/py.typed +0 -0
  147. biolib/runtime/__init__.py +14 -0
  148. biolib/sdk/__init__.py +91 -0
  149. biolib/tables.py +34 -0
  150. biolib/typing_utils.py +2 -7
  151. biolib/user/__init__.py +1 -0
  152. biolib/user/sign_in.py +54 -0
  153. biolib/utils/__init__.py +162 -0
  154. biolib/utils/cache_state.py +94 -0
  155. biolib/utils/multipart_uploader.py +194 -0
  156. biolib/utils/seq_util.py +150 -0
  157. biolib/utils/zip/remote_zip.py +640 -0
  158. pybiolib-1.2.1890.dist-info/METADATA +41 -0
  159. pybiolib-1.2.1890.dist-info/RECORD +177 -0
  160. {pybiolib-0.2.951.dist-info → pybiolib-1.2.1890.dist-info}/WHEEL +1 -1
  161. pybiolib-1.2.1890.dist-info/entry_points.txt +2 -0
  162. README.md +0 -17
  163. biolib/app/app_result.py +0 -68
  164. biolib/app/utils.py +0 -62
  165. biolib/biolib-js/0-biolib.worker.js +0 -1
  166. biolib/biolib-js/1-biolib.worker.js +0 -1
  167. biolib/biolib-js/2-biolib.worker.js +0 -1
  168. biolib/biolib-js/3-biolib.worker.js +0 -1
  169. biolib/biolib-js/4-biolib.worker.js +0 -1
  170. biolib/biolib-js/5-biolib.worker.js +0 -1
  171. biolib/biolib-js/6-biolib.worker.js +0 -1
  172. biolib/biolib-js/index.html +0 -10
  173. biolib/biolib-js/main-biolib.js +0 -1
  174. biolib/biolib_api_client/biolib_account_api.py +0 -21
  175. biolib/biolib_api_client/biolib_large_file_system_api.py +0 -108
  176. biolib/biolib_binary_format/aes_encrypted_package.py +0 -42
  177. biolib/biolib_binary_format/module_output.py +0 -58
  178. biolib/biolib_binary_format/rsa_encrypted_aes_package.py +0 -57
  179. biolib/biolib_push.py +0 -114
  180. biolib/cli.py +0 -203
  181. biolib/cli_utils.py +0 -273
  182. biolib/compute_node/cloud_utils/enclave_parent_types.py +0 -7
  183. biolib/compute_node/enclave/__init__.py +0 -2
  184. biolib/compute_node/enclave/enclave_remote_hosts.py +0 -53
  185. biolib/compute_node/enclave/nitro_secure_module_utils.py +0 -64
  186. biolib/compute_node/job_worker/executors/base_executor.py +0 -18
  187. biolib/compute_node/job_worker/executors/pyppeteer_executor.py +0 -173
  188. biolib/compute_node/job_worker/executors/remote/__init__.py +0 -1
  189. biolib/compute_node/job_worker/executors/remote/nitro_enclave_utils.py +0 -81
  190. biolib/compute_node/job_worker/executors/remote/remote_executor.py +0 -51
  191. biolib/lfs.py +0 -196
  192. biolib/pyppeteer/.circleci/config.yml +0 -100
  193. biolib/pyppeteer/.coveragerc +0 -3
  194. biolib/pyppeteer/.gitignore +0 -89
  195. biolib/pyppeteer/.pre-commit-config.yaml +0 -28
  196. biolib/pyppeteer/CHANGES.md +0 -253
  197. biolib/pyppeteer/CONTRIBUTING.md +0 -26
  198. biolib/pyppeteer/LICENSE +0 -12
  199. biolib/pyppeteer/README.md +0 -137
  200. biolib/pyppeteer/docs/Makefile +0 -177
  201. biolib/pyppeteer/docs/_static/custom.css +0 -28
  202. biolib/pyppeteer/docs/_templates/layout.html +0 -10
  203. biolib/pyppeteer/docs/changes.md +0 -1
  204. biolib/pyppeteer/docs/conf.py +0 -299
  205. biolib/pyppeteer/docs/index.md +0 -21
  206. biolib/pyppeteer/docs/make.bat +0 -242
  207. biolib/pyppeteer/docs/reference.md +0 -211
  208. biolib/pyppeteer/docs/server.py +0 -60
  209. biolib/pyppeteer/poetry.lock +0 -1699
  210. biolib/pyppeteer/pyppeteer/__init__.py +0 -135
  211. biolib/pyppeteer/pyppeteer/accessibility.py +0 -286
  212. biolib/pyppeteer/pyppeteer/browser.py +0 -401
  213. biolib/pyppeteer/pyppeteer/browser_fetcher.py +0 -194
  214. biolib/pyppeteer/pyppeteer/command.py +0 -22
  215. biolib/pyppeteer/pyppeteer/connection/__init__.py +0 -242
  216. biolib/pyppeteer/pyppeteer/connection/cdpsession.py +0 -101
  217. biolib/pyppeteer/pyppeteer/coverage.py +0 -346
  218. biolib/pyppeteer/pyppeteer/device_descriptors.py +0 -787
  219. biolib/pyppeteer/pyppeteer/dialog.py +0 -79
  220. biolib/pyppeteer/pyppeteer/domworld.py +0 -597
  221. biolib/pyppeteer/pyppeteer/emulation_manager.py +0 -53
  222. biolib/pyppeteer/pyppeteer/errors.py +0 -48
  223. biolib/pyppeteer/pyppeteer/events.py +0 -63
  224. biolib/pyppeteer/pyppeteer/execution_context.py +0 -156
  225. biolib/pyppeteer/pyppeteer/frame/__init__.py +0 -299
  226. biolib/pyppeteer/pyppeteer/frame/frame_manager.py +0 -306
  227. biolib/pyppeteer/pyppeteer/helpers.py +0 -245
  228. biolib/pyppeteer/pyppeteer/input.py +0 -371
  229. biolib/pyppeteer/pyppeteer/jshandle.py +0 -598
  230. biolib/pyppeteer/pyppeteer/launcher.py +0 -683
  231. biolib/pyppeteer/pyppeteer/lifecycle_watcher.py +0 -169
  232. biolib/pyppeteer/pyppeteer/models/__init__.py +0 -103
  233. biolib/pyppeteer/pyppeteer/models/_protocol.py +0 -12460
  234. biolib/pyppeteer/pyppeteer/multimap.py +0 -82
  235. biolib/pyppeteer/pyppeteer/network_manager.py +0 -678
  236. biolib/pyppeteer/pyppeteer/options.py +0 -8
  237. biolib/pyppeteer/pyppeteer/page.py +0 -1728
  238. biolib/pyppeteer/pyppeteer/pipe_transport.py +0 -59
  239. biolib/pyppeteer/pyppeteer/target.py +0 -147
  240. biolib/pyppeteer/pyppeteer/task_queue.py +0 -24
  241. biolib/pyppeteer/pyppeteer/timeout_settings.py +0 -36
  242. biolib/pyppeteer/pyppeteer/tracing.py +0 -93
  243. biolib/pyppeteer/pyppeteer/us_keyboard_layout.py +0 -305
  244. biolib/pyppeteer/pyppeteer/util.py +0 -18
  245. biolib/pyppeteer/pyppeteer/websocket_transport.py +0 -47
  246. biolib/pyppeteer/pyppeteer/worker.py +0 -101
  247. biolib/pyppeteer/pyproject.toml +0 -97
  248. biolib/pyppeteer/spell.txt +0 -137
  249. biolib/pyppeteer/tox.ini +0 -72
  250. biolib/pyppeteer/utils/generate_protocol_types.py +0 -603
  251. biolib/start_cli.py +0 -7
  252. biolib/utils.py +0 -47
  253. biolib/validators/validate_app_version.py +0 -183
  254. biolib/validators/validate_argument.py +0 -134
  255. biolib/validators/validate_module.py +0 -323
  256. biolib/validators/validate_zip_file.py +0 -40
  257. biolib/validators/validator_utils.py +0 -103
  258. pybiolib-0.2.951.dist-info/LICENSE +0 -21
  259. pybiolib-0.2.951.dist-info/METADATA +0 -61
  260. pybiolib-0.2.951.dist-info/RECORD +0 -153
  261. pybiolib-0.2.951.dist-info/entry_points.txt +0 -3
  262. /LICENSE → /pybiolib-1.2.1890.dist-info/licenses/LICENSE +0 -0
@@ -1,787 +0,0 @@
1
- # noqa
2
- # pragma: no cover
3
- from biolib.pyppeteer.pyppeteer.models import Devices
4
-
5
- devices: Devices = {
6
- "Blackberry PlayBook": {
7
- "userAgent": "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",
8
- "viewport": {
9
- "width": 600,
10
- "height": 1024,
11
- "deviceScaleFactor": 1,
12
- "isMobile": True,
13
- "hasTouch": True,
14
- "isLandscape": False,
15
- },
16
- },
17
- "Blackberry PlayBook landscape": {
18
- "userAgent": "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",
19
- "viewport": {
20
- "width": 1024,
21
- "height": 600,
22
- "deviceScaleFactor": 1,
23
- "isMobile": True,
24
- "hasTouch": True,
25
- "isLandscape": True,
26
- },
27
- },
28
- "BlackBerry Z30": {
29
- "userAgent": "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",
30
- "viewport": {
31
- "width": 360,
32
- "height": 640,
33
- "deviceScaleFactor": 2,
34
- "isMobile": True,
35
- "hasTouch": True,
36
- "isLandscape": False,
37
- },
38
- },
39
- "BlackBerry Z30 landscape": {
40
- "userAgent": "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",
41
- "viewport": {
42
- "width": 640,
43
- "height": 360,
44
- "deviceScaleFactor": 2,
45
- "isMobile": True,
46
- "hasTouch": True,
47
- "isLandscape": True,
48
- },
49
- },
50
- "Galaxy Note 3": {
51
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N900T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
52
- "viewport": {
53
- "width": 360,
54
- "height": 640,
55
- "deviceScaleFactor": 3,
56
- "isMobile": True,
57
- "hasTouch": True,
58
- "isLandscape": False,
59
- },
60
- },
61
- "Galaxy Note 3 landscape": {
62
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N900T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
63
- "viewport": {
64
- "width": 640,
65
- "height": 360,
66
- "deviceScaleFactor": 3,
67
- "isMobile": True,
68
- "hasTouch": True,
69
- "isLandscape": True,
70
- },
71
- },
72
- "Galaxy Note II": {
73
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N7100 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
74
- "viewport": {
75
- "width": 360,
76
- "height": 640,
77
- "deviceScaleFactor": 2,
78
- "isMobile": True,
79
- "hasTouch": True,
80
- "isLandscape": False,
81
- },
82
- },
83
- "Galaxy Note II landscape": {
84
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N7100 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
85
- "viewport": {
86
- "width": 640,
87
- "height": 360,
88
- "deviceScaleFactor": 2,
89
- "isMobile": True,
90
- "hasTouch": True,
91
- "isLandscape": True,
92
- },
93
- },
94
- "Galaxy S III": {
95
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I9300 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
96
- "viewport": {
97
- "width": 360,
98
- "height": 640,
99
- "deviceScaleFactor": 2,
100
- "isMobile": True,
101
- "hasTouch": True,
102
- "isLandscape": False,
103
- },
104
- },
105
- "Galaxy S III landscape": {
106
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I9300 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
107
- "viewport": {
108
- "width": 640,
109
- "height": 360,
110
- "deviceScaleFactor": 2,
111
- "isMobile": True,
112
- "hasTouch": True,
113
- "isLandscape": True,
114
- },
115
- },
116
- "Galaxy S5": {
117
- "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
118
- "viewport": {
119
- "width": 360,
120
- "height": 640,
121
- "deviceScaleFactor": 3,
122
- "isMobile": True,
123
- "hasTouch": True,
124
- "isLandscape": False,
125
- },
126
- },
127
- "Galaxy S5 landscape": {
128
- "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
129
- "viewport": {
130
- "width": 640,
131
- "height": 360,
132
- "deviceScaleFactor": 3,
133
- "isMobile": True,
134
- "hasTouch": True,
135
- "isLandscape": True,
136
- },
137
- },
138
- "iPad": {
139
- "userAgent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
140
- "viewport": {
141
- "width": 768,
142
- "height": 1024,
143
- "deviceScaleFactor": 2,
144
- "isMobile": True,
145
- "hasTouch": True,
146
- "isLandscape": False,
147
- },
148
- },
149
- "iPad landscape": {
150
- "userAgent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
151
- "viewport": {
152
- "width": 1024,
153
- "height": 768,
154
- "deviceScaleFactor": 2,
155
- "isMobile": True,
156
- "hasTouch": True,
157
- "isLandscape": True,
158
- },
159
- },
160
- "iPad Mini": {
161
- "userAgent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
162
- "viewport": {
163
- "width": 768,
164
- "height": 1024,
165
- "deviceScaleFactor": 2,
166
- "isMobile": True,
167
- "hasTouch": True,
168
- "isLandscape": False,
169
- },
170
- },
171
- "iPad Mini landscape": {
172
- "userAgent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
173
- "viewport": {
174
- "width": 1024,
175
- "height": 768,
176
- "deviceScaleFactor": 2,
177
- "isMobile": True,
178
- "hasTouch": True,
179
- "isLandscape": True,
180
- },
181
- },
182
- "iPad Pro": {
183
- "userAgent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
184
- "viewport": {
185
- "width": 1024,
186
- "height": 1366,
187
- "deviceScaleFactor": 2,
188
- "isMobile": True,
189
- "hasTouch": True,
190
- "isLandscape": False,
191
- },
192
- },
193
- "iPad Pro landscape": {
194
- "userAgent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
195
- "viewport": {
196
- "width": 1366,
197
- "height": 1024,
198
- "deviceScaleFactor": 2,
199
- "isMobile": True,
200
- "hasTouch": True,
201
- "isLandscape": True,
202
- },
203
- },
204
- "iPhone 4": {
205
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53",
206
- "viewport": {
207
- "width": 320,
208
- "height": 480,
209
- "deviceScaleFactor": 2,
210
- "isMobile": True,
211
- "hasTouch": True,
212
- "isLandscape": False,
213
- },
214
- },
215
- "iPhone 4 landscape": {
216
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53",
217
- "viewport": {
218
- "width": 480,
219
- "height": 320,
220
- "deviceScaleFactor": 2,
221
- "isMobile": True,
222
- "hasTouch": True,
223
- "isLandscape": True,
224
- },
225
- },
226
- "iPhone 5": {
227
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",
228
- "viewport": {
229
- "width": 320,
230
- "height": 568,
231
- "deviceScaleFactor": 2,
232
- "isMobile": True,
233
- "hasTouch": True,
234
- "isLandscape": False,
235
- },
236
- },
237
- "iPhone 5 landscape": {
238
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",
239
- "viewport": {
240
- "width": 568,
241
- "height": 320,
242
- "deviceScaleFactor": 2,
243
- "isMobile": True,
244
- "hasTouch": True,
245
- "isLandscape": True,
246
- },
247
- },
248
- "iPhone 6": {
249
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
250
- "viewport": {
251
- "width": 375,
252
- "height": 667,
253
- "deviceScaleFactor": 2,
254
- "isMobile": True,
255
- "hasTouch": True,
256
- "isLandscape": False,
257
- },
258
- },
259
- "iPhone 6 landscape": {
260
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
261
- "viewport": {
262
- "width": 667,
263
- "height": 375,
264
- "deviceScaleFactor": 2,
265
- "isMobile": True,
266
- "hasTouch": True,
267
- "isLandscape": True,
268
- },
269
- },
270
- "iPhone 6 Plus": {
271
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
272
- "viewport": {
273
- "width": 414,
274
- "height": 736,
275
- "deviceScaleFactor": 3,
276
- "isMobile": True,
277
- "hasTouch": True,
278
- "isLandscape": False,
279
- },
280
- },
281
- "iPhone 6 Plus landscape": {
282
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
283
- "viewport": {
284
- "width": 736,
285
- "height": 414,
286
- "deviceScaleFactor": 3,
287
- "isMobile": True,
288
- "hasTouch": True,
289
- "isLandscape": True,
290
- },
291
- },
292
- "iPhone 7": {
293
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
294
- "viewport": {
295
- "width": 375,
296
- "height": 667,
297
- "deviceScaleFactor": 2,
298
- "isMobile": True,
299
- "hasTouch": True,
300
- "isLandscape": False,
301
- },
302
- },
303
- "iPhone 7 landscape": {
304
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
305
- "viewport": {
306
- "width": 667,
307
- "height": 375,
308
- "deviceScaleFactor": 2,
309
- "isMobile": True,
310
- "hasTouch": True,
311
- "isLandscape": True,
312
- },
313
- },
314
- "iPhone 7 Plus": {
315
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
316
- "viewport": {
317
- "width": 414,
318
- "height": 736,
319
- "deviceScaleFactor": 3,
320
- "isMobile": True,
321
- "hasTouch": True,
322
- "isLandscape": False,
323
- },
324
- },
325
- "iPhone 7 Plus landscape": {
326
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
327
- "viewport": {
328
- "width": 736,
329
- "height": 414,
330
- "deviceScaleFactor": 3,
331
- "isMobile": True,
332
- "hasTouch": True,
333
- "isLandscape": True,
334
- },
335
- },
336
- "iPhone 8": {
337
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
338
- "viewport": {
339
- "width": 375,
340
- "height": 667,
341
- "deviceScaleFactor": 2,
342
- "isMobile": True,
343
- "hasTouch": True,
344
- "isLandscape": False,
345
- },
346
- },
347
- "iPhone 8 landscape": {
348
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
349
- "viewport": {
350
- "width": 667,
351
- "height": 375,
352
- "deviceScaleFactor": 2,
353
- "isMobile": True,
354
- "hasTouch": True,
355
- "isLandscape": True,
356
- },
357
- },
358
- "iPhone 8 Plus": {
359
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
360
- "viewport": {
361
- "width": 414,
362
- "height": 736,
363
- "deviceScaleFactor": 3,
364
- "isMobile": True,
365
- "hasTouch": True,
366
- "isLandscape": False,
367
- },
368
- },
369
- "iPhone 8 Plus landscape": {
370
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
371
- "viewport": {
372
- "width": 736,
373
- "height": 414,
374
- "deviceScaleFactor": 3,
375
- "isMobile": True,
376
- "hasTouch": True,
377
- "isLandscape": True,
378
- },
379
- },
380
- "iPhone SE": {
381
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",
382
- "viewport": {
383
- "width": 320,
384
- "height": 568,
385
- "deviceScaleFactor": 2,
386
- "isMobile": True,
387
- "hasTouch": True,
388
- "isLandscape": False,
389
- },
390
- },
391
- "iPhone SE landscape": {
392
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",
393
- "viewport": {
394
- "width": 568,
395
- "height": 320,
396
- "deviceScaleFactor": 2,
397
- "isMobile": True,
398
- "hasTouch": True,
399
- "isLandscape": True,
400
- },
401
- },
402
- "iPhone X": {
403
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
404
- "viewport": {
405
- "width": 375,
406
- "height": 812,
407
- "deviceScaleFactor": 3,
408
- "isMobile": True,
409
- "hasTouch": True,
410
- "isLandscape": False,
411
- },
412
- },
413
- "iPhone X landscape": {
414
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
415
- "viewport": {
416
- "width": 812,
417
- "height": 375,
418
- "deviceScaleFactor": 3,
419
- "isMobile": True,
420
- "hasTouch": True,
421
- "isLandscape": True,
422
- },
423
- },
424
- "iPhone XR": {
425
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1",
426
- "viewport": {
427
- "width": 414,
428
- "height": 896,
429
- "deviceScaleFactor": 3,
430
- "isMobile": True,
431
- "hasTouch": True,
432
- "isLandscape": False,
433
- },
434
- },
435
- "iPhone XR landscape": {
436
- "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1",
437
- "viewport": {
438
- "width": 896,
439
- "height": 414,
440
- "deviceScaleFactor": 3,
441
- "isMobile": True,
442
- "hasTouch": True,
443
- "isLandscape": True,
444
- },
445
- },
446
- "JioPhone 2": {
447
- "userAgent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5",
448
- "viewport": {
449
- "width": 240,
450
- "height": 320,
451
- "deviceScaleFactor": 1,
452
- "isMobile": True,
453
- "hasTouch": True,
454
- "isLandscape": False,
455
- },
456
- },
457
- "JioPhone 2 landscape": {
458
- "userAgent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5",
459
- "viewport": {
460
- "width": 320,
461
- "height": 240,
462
- "deviceScaleFactor": 1,
463
- "isMobile": True,
464
- "hasTouch": True,
465
- "isLandscape": True,
466
- },
467
- },
468
- "Kindle Fire HDX": {
469
- "userAgent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=True",
470
- "viewport": {
471
- "width": 800,
472
- "height": 1280,
473
- "deviceScaleFactor": 2,
474
- "isMobile": True,
475
- "hasTouch": True,
476
- "isLandscape": False,
477
- },
478
- },
479
- "Kindle Fire HDX landscape": {
480
- "userAgent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=True",
481
- "viewport": {
482
- "width": 1280,
483
- "height": 800,
484
- "deviceScaleFactor": 2,
485
- "isMobile": True,
486
- "hasTouch": True,
487
- "isLandscape": True,
488
- },
489
- },
490
- "LG Optimus L70": {
491
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3765.0 Mobile Safari/537.36",
492
- "viewport": {
493
- "width": 384,
494
- "height": 640,
495
- "deviceScaleFactor": 1.25,
496
- "isMobile": True,
497
- "hasTouch": True,
498
- "isLandscape": False,
499
- },
500
- },
501
- "LG Optimus L70 landscape": {
502
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3765.0 Mobile Safari/537.36",
503
- "viewport": {
504
- "width": 640,
505
- "height": 384,
506
- "deviceScaleFactor": 1.25,
507
- "isMobile": True,
508
- "hasTouch": True,
509
- "isLandscape": True,
510
- },
511
- },
512
- "Microsoft Lumia 550": {
513
- "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263",
514
- "viewport": {
515
- "width": 640,
516
- "height": 360,
517
- "deviceScaleFactor": 2,
518
- "isMobile": True,
519
- "hasTouch": True,
520
- "isLandscape": False,
521
- },
522
- },
523
- "Microsoft Lumia 950": {
524
- "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263",
525
- "viewport": {
526
- "width": 360,
527
- "height": 640,
528
- "deviceScaleFactor": 4,
529
- "isMobile": True,
530
- "hasTouch": True,
531
- "isLandscape": False,
532
- },
533
- },
534
- "Microsoft Lumia 950 landscape": {
535
- "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263",
536
- "viewport": {
537
- "width": 640,
538
- "height": 360,
539
- "deviceScaleFactor": 4,
540
- "isMobile": True,
541
- "hasTouch": True,
542
- "isLandscape": True,
543
- },
544
- },
545
- "Nexus 10": {
546
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",
547
- "viewport": {
548
- "width": 800,
549
- "height": 1280,
550
- "deviceScaleFactor": 2,
551
- "isMobile": True,
552
- "hasTouch": True,
553
- "isLandscape": False,
554
- },
555
- },
556
- "Nexus 10 landscape": {
557
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",
558
- "viewport": {
559
- "width": 1280,
560
- "height": 800,
561
- "deviceScaleFactor": 2,
562
- "isMobile": True,
563
- "hasTouch": True,
564
- "isLandscape": True,
565
- },
566
- },
567
- "Nexus 4": {
568
- "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
569
- "viewport": {
570
- "width": 384,
571
- "height": 640,
572
- "deviceScaleFactor": 2,
573
- "isMobile": True,
574
- "hasTouch": True,
575
- "isLandscape": False,
576
- },
577
- },
578
- "Nexus 4 landscape": {
579
- "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
580
- "viewport": {
581
- "width": 640,
582
- "height": 384,
583
- "deviceScaleFactor": 2,
584
- "isMobile": True,
585
- "hasTouch": True,
586
- "isLandscape": True,
587
- },
588
- },
589
- "Nexus 5": {
590
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
591
- "viewport": {
592
- "width": 360,
593
- "height": 640,
594
- "deviceScaleFactor": 3,
595
- "isMobile": True,
596
- "hasTouch": True,
597
- "isLandscape": False,
598
- },
599
- },
600
- "Nexus 5 landscape": {
601
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
602
- "viewport": {
603
- "width": 640,
604
- "height": 360,
605
- "deviceScaleFactor": 3,
606
- "isMobile": True,
607
- "hasTouch": True,
608
- "isLandscape": True,
609
- },
610
- },
611
- "Nexus 5X": {
612
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
613
- "viewport": {
614
- "width": 412,
615
- "height": 732,
616
- "deviceScaleFactor": 2.625,
617
- "isMobile": True,
618
- "hasTouch": True,
619
- "isLandscape": False,
620
- },
621
- },
622
- "Nexus 5X landscape": {
623
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
624
- "viewport": {
625
- "width": 732,
626
- "height": 412,
627
- "deviceScaleFactor": 2.625,
628
- "isMobile": True,
629
- "hasTouch": True,
630
- "isLandscape": True,
631
- },
632
- },
633
- "Nexus 6": {
634
- "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
635
- "viewport": {
636
- "width": 412,
637
- "height": 732,
638
- "deviceScaleFactor": 3.5,
639
- "isMobile": True,
640
- "hasTouch": True,
641
- "isLandscape": False,
642
- },
643
- },
644
- "Nexus 6 landscape": {
645
- "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
646
- "viewport": {
647
- "width": 732,
648
- "height": 412,
649
- "deviceScaleFactor": 3.5,
650
- "isMobile": True,
651
- "hasTouch": True,
652
- "isLandscape": True,
653
- },
654
- },
655
- "Nexus 6P": {
656
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
657
- "viewport": {
658
- "width": 412,
659
- "height": 732,
660
- "deviceScaleFactor": 3.5,
661
- "isMobile": True,
662
- "hasTouch": True,
663
- "isLandscape": False,
664
- },
665
- },
666
- "Nexus 6P landscape": {
667
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
668
- "viewport": {
669
- "width": 732,
670
- "height": 412,
671
- "deviceScaleFactor": 3.5,
672
- "isMobile": True,
673
- "hasTouch": True,
674
- "isLandscape": True,
675
- },
676
- },
677
- "Nexus 7": {
678
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",
679
- "viewport": {
680
- "width": 600,
681
- "height": 960,
682
- "deviceScaleFactor": 2,
683
- "isMobile": True,
684
- "hasTouch": True,
685
- "isLandscape": False,
686
- },
687
- },
688
- "Nexus 7 landscape": {
689
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",
690
- "viewport": {
691
- "width": 960,
692
- "height": 600,
693
- "deviceScaleFactor": 2,
694
- "isMobile": True,
695
- "hasTouch": True,
696
- "isLandscape": True,
697
- },
698
- },
699
- "Nokia Lumia 520": {
700
- "userAgent": "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)",
701
- "viewport": {
702
- "width": 320,
703
- "height": 533,
704
- "deviceScaleFactor": 1.5,
705
- "isMobile": True,
706
- "hasTouch": True,
707
- "isLandscape": False,
708
- },
709
- },
710
- "Nokia Lumia 520 landscape": {
711
- "userAgent": "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)",
712
- "viewport": {
713
- "width": 533,
714
- "height": 320,
715
- "deviceScaleFactor": 1.5,
716
- "isMobile": True,
717
- "hasTouch": True,
718
- "isLandscape": True,
719
- },
720
- },
721
- "Nokia N9": {
722
- "userAgent": "Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 (KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13",
723
- "viewport": {
724
- "width": 480,
725
- "height": 854,
726
- "deviceScaleFactor": 1,
727
- "isMobile": True,
728
- "hasTouch": True,
729
- "isLandscape": False,
730
- },
731
- },
732
- "Nokia N9 landscape": {
733
- "userAgent": "Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 (KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13",
734
- "viewport": {
735
- "width": 854,
736
- "height": 480,
737
- "deviceScaleFactor": 1,
738
- "isMobile": True,
739
- "hasTouch": True,
740
- "isLandscape": True,
741
- },
742
- },
743
- "Pixel 2": {
744
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
745
- "viewport": {
746
- "width": 411,
747
- "height": 731,
748
- "deviceScaleFactor": 2.625,
749
- "isMobile": True,
750
- "hasTouch": True,
751
- "isLandscape": False,
752
- },
753
- },
754
- "Pixel 2 landscape": {
755
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
756
- "viewport": {
757
- "width": 731,
758
- "height": 411,
759
- "deviceScaleFactor": 2.625,
760
- "isMobile": True,
761
- "hasTouch": True,
762
- "isLandscape": True,
763
- },
764
- },
765
- "Pixel 2 XL": {
766
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
767
- "viewport": {
768
- "width": 411,
769
- "height": 823,
770
- "deviceScaleFactor": 3.5,
771
- "isMobile": True,
772
- "hasTouch": True,
773
- "isLandscape": False,
774
- },
775
- },
776
- "Pixel 2 XL landscape": {
777
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",
778
- "viewport": {
779
- "width": 823,
780
- "height": 411,
781
- "deviceScaleFactor": 3.5,
782
- "isMobile": True,
783
- "hasTouch": True,
784
- "isLandscape": True,
785
- },
786
- },
787
- }