projectaria-mps 1.0.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.
Files changed (38) hide show
  1. aria_mps_cli/__init__.py +0 -0
  2. aria_mps_cli/cli.py +27 -0
  3. aria_mps_cli/cli_lib/__init__.py +15 -0
  4. aria_mps_cli/cli_lib/authentication.py +749 -0
  5. aria_mps_cli/cli_lib/base_state_machine.py +59 -0
  6. aria_mps_cli/cli_lib/common.py +354 -0
  7. aria_mps_cli/cli_lib/config_updatable.py +73 -0
  8. aria_mps_cli/cli_lib/constants.py +196 -0
  9. aria_mps_cli/cli_lib/device_version_check.py +102 -0
  10. aria_mps_cli/cli_lib/downloader.py +118 -0
  11. aria_mps_cli/cli_lib/eligibility_check.py +236 -0
  12. aria_mps_cli/cli_lib/encryption.py +248 -0
  13. aria_mps_cli/cli_lib/error_screen.py +83 -0
  14. aria_mps_cli/cli_lib/hash_calculator.py +79 -0
  15. aria_mps_cli/cli_lib/health_check.py +111 -0
  16. aria_mps_cli/cli_lib/http_helper.py +372 -0
  17. aria_mps_cli/cli_lib/login_screen.py +154 -0
  18. aria_mps_cli/cli_lib/mma_screen.py +481 -0
  19. aria_mps_cli/cli_lib/mps.py +165 -0
  20. aria_mps_cli/cli_lib/mps_app.py +679 -0
  21. aria_mps_cli/cli_lib/multi_recording_mps.py +221 -0
  22. aria_mps_cli/cli_lib/multi_recording_request.py +612 -0
  23. aria_mps_cli/cli_lib/quit_screen.py +95 -0
  24. aria_mps_cli/cli_lib/request_monitor.py +315 -0
  25. aria_mps_cli/cli_lib/response_parser.py +122 -0
  26. aria_mps_cli/cli_lib/run.py +227 -0
  27. aria_mps_cli/cli_lib/runner_with_progress.py +91 -0
  28. aria_mps_cli/cli_lib/single_recording_mps.py +284 -0
  29. aria_mps_cli/cli_lib/single_recording_request.py +492 -0
  30. aria_mps_cli/cli_lib/types.py +213 -0
  31. aria_mps_cli/cli_lib/uploader.py +223 -0
  32. aria_mps_cli/cli_lib/username_screen.py +182 -0
  33. projectaria_mps-1.0.0.dist-info/METADATA +33 -0
  34. projectaria_mps-1.0.0.dist-info/RECORD +38 -0
  35. projectaria_mps-1.0.0.dist-info/WHEEL +5 -0
  36. projectaria_mps-1.0.0.dist-info/entry_points.txt +2 -0
  37. projectaria_mps-1.0.0.dist-info/licenses/LICENSE +201 -0
  38. projectaria_mps-1.0.0.dist-info/top_level.txt +1 -0
File without changes
aria_mps_cli/cli.py ADDED
@@ -0,0 +1,27 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+
16
+ def main():
17
+ try:
18
+ ## python, outside of buck, doesn't work with relative imports
19
+ from cli_lib import run
20
+ except ModuleNotFoundError:
21
+ ## buck only works with relative imports
22
+ from .cli_lib import run
23
+ run()
24
+
25
+
26
+ if __name__ == "__main__":
27
+ main()
@@ -0,0 +1,15 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ from aria_mps_cli.cli_lib.run import run # noqa