mapillary-tools 0.12.0__tar.gz → 0.12.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 (86) hide show
  1. {mapillary_tools-0.12.0/mapillary_tools.egg-info → mapillary_tools-0.12.1}/PKG-INFO +2 -2
  2. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/README.md +1 -1
  3. mapillary_tools-0.12.1/mapillary_tools/__init__.py +1 -0
  4. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/api_v4.py +0 -7
  5. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/upload_api_v4.py +0 -7
  6. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1/mapillary_tools.egg-info}/PKG-INFO +2 -2
  7. mapillary_tools-0.12.0/mapillary_tools/__init__.py +0 -1
  8. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/LICENSE +0 -0
  9. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/MANIFEST.in +0 -0
  10. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/authenticate.py +0 -0
  11. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/__init__.py +0 -0
  12. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/__main__.py +0 -0
  13. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/authenticate.py +0 -0
  14. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/process.py +0 -0
  15. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/process_and_upload.py +0 -0
  16. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/sample_video.py +0 -0
  17. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/upload.py +0 -0
  18. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/upload_blackvue.py +0 -0
  19. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/upload_camm.py +0 -0
  20. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/upload_zip.py +0 -0
  21. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/video_process.py +0 -0
  22. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/video_process_and_upload.py +0 -0
  23. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/commands/zip.py +0 -0
  24. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/config.py +0 -0
  25. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/constants.py +0 -0
  26. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/exceptions.py +0 -0
  27. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/exif_read.py +0 -0
  28. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/exif_write.py +0 -0
  29. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/exiftool_read.py +0 -0
  30. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/exiftool_read_video.py +0 -0
  31. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/ffmpeg.py +0 -0
  32. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geo.py +0 -0
  33. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/__init__.py +0 -0
  34. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/blackvue_parser.py +0 -0
  35. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/camm_builder.py +0 -0
  36. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/camm_parser.py +0 -0
  37. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/construct_mp4_parser.py +0 -0
  38. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_from_generic.py +0 -0
  39. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_images_from_exif.py +0 -0
  40. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_images_from_exiftool.py +0 -0
  41. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_images_from_exiftool_both_image_and_video.py +0 -0
  42. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_images_from_gpx.py +0 -0
  43. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_images_from_gpx_file.py +0 -0
  44. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_images_from_nmea_file.py +0 -0
  45. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_images_from_video.py +0 -0
  46. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_videos_from_exiftool_video.py +0 -0
  47. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/geotag_videos_from_video.py +0 -0
  48. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/gpmf_gps_filter.py +0 -0
  49. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/gpmf_parser.py +0 -0
  50. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/gps_filter.py +0 -0
  51. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/io_utils.py +0 -0
  52. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/mp4_sample_parser.py +0 -0
  53. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/simple_mp4_builder.py +0 -0
  54. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/simple_mp4_parser.py +0 -0
  55. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/geotag/utils.py +0 -0
  56. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/history.py +0 -0
  57. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/ipc.py +0 -0
  58. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/process_geotag_properties.py +0 -0
  59. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/process_import_meta_properties.py +0 -0
  60. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/process_sequence_properties.py +0 -0
  61. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/sample_video.py +0 -0
  62. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/types.py +0 -0
  63. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/upload.py +0 -0
  64. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/uploader.py +0 -0
  65. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/utils.py +0 -0
  66. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/cli_options.py +0 -0
  67. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extract_video_data.py +0 -0
  68. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/base_parser.py +0 -0
  69. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/blackvue_parser.py +0 -0
  70. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/camm_parser.py +0 -0
  71. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/exiftool_runtime_parser.py +0 -0
  72. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/exiftool_xml_parser.py +0 -0
  73. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/generic_video_parser.py +0 -0
  74. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/gopro_parser.py +0 -0
  75. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/gpx_parser.py +0 -0
  76. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/extractors/nmea_parser.py +0 -0
  77. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools/video_data_extraction/video_data_parser_factory.py +0 -0
  78. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools.egg-info/SOURCES.txt +0 -0
  79. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools.egg-info/dependency_links.txt +0 -0
  80. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools.egg-info/entry_points.txt +0 -0
  81. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools.egg-info/requires.txt +0 -0
  82. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/mapillary_tools.egg-info/top_level.txt +0 -0
  83. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/requirements.txt +0 -0
  84. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/schema/image_description_schema.json +0 -0
  85. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/setup.cfg +0 -0
  86. {mapillary_tools-0.12.0 → mapillary_tools-0.12.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mapillary_tools
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: Mapillary Image/Video Import Pipeline
5
5
  Home-page: https://github.com/mapillary/mapillary_tools
6
6
  Author: Mapillary
@@ -82,7 +82,7 @@ mapillary_tools supports JPG/JEPG images (.jpg, .jpeg), with the following EXIF
82
82
  mapillary_tools supports videos (.mp4, .360) that contain any of the following telemetry structures:
83
83
 
84
84
  - [GPMF](https://github.com/gopro/gpmf-parser): mostly GoPro videos
85
- - [GoPro HERO series](https://gopro.com/en/us/shop/cameras/hero11-black/CHDHX-111-master.html) (from 5 to 11)
85
+ - [GoPro HERO series](https://gopro.com/en/us/shop/cameras/hero11-black/CHDHX-111-master.html) (from 5 to 13)
86
86
  - [GoPro MAX](https://gopro.com/en/us/shop/cameras/max/CHDHZ-202-master.html)
87
87
  - [CAMM](https://developers.google.com/streetview/publish/camm-spec): an open-standard telemetry spec supported by a number of cameras
88
88
  - [Insta360 Pro2](https://www.insta360.com/product/insta360-pro2/)
@@ -60,7 +60,7 @@ mapillary_tools supports JPG/JEPG images (.jpg, .jpeg), with the following EXIF
60
60
  mapillary_tools supports videos (.mp4, .360) that contain any of the following telemetry structures:
61
61
 
62
62
  - [GPMF](https://github.com/gopro/gpmf-parser): mostly GoPro videos
63
- - [GoPro HERO series](https://gopro.com/en/us/shop/cameras/hero11-black/CHDHX-111-master.html) (from 5 to 11)
63
+ - [GoPro HERO series](https://gopro.com/en/us/shop/cameras/hero11-black/CHDHX-111-master.html) (from 5 to 13)
64
64
  - [GoPro MAX](https://gopro.com/en/us/shop/cameras/max/CHDHZ-202-master.html)
65
65
  - [CAMM](https://developers.google.com/streetview/publish/camm-spec): an open-standard telemetry spec supported by a number of cameras
66
66
  - [Insta360 Pro2](https://www.insta360.com/product/insta360-pro2/)
@@ -0,0 +1 @@
1
+ VERSION = "0.12.1"
@@ -9,10 +9,6 @@ MAPILLARY_CLIENT_TOKEN = os.getenv(
9
9
  MAPILLARY_GRAPH_API_ENDPOINT = os.getenv(
10
10
  "MAPILLARY_GRAPH_API_ENDPOINT", "https://graph.mapillary.com"
11
11
  )
12
- # https://requests.readthedocs.io/en/latest/user/advanced/#ssl-cert-verification
13
- MAPILLARY__DISABLE_VERIFYING_SSL = (
14
- os.getenv("MAPILLARY__DISABLE_VERIFYING_SSL") == "TRUE"
15
- )
16
12
  REQUESTS_TIMEOUT = 60 # 1 minutes
17
13
 
18
14
 
@@ -22,7 +18,6 @@ def get_upload_token(email: str, password: str) -> requests.Response:
22
18
  params={"access_token": MAPILLARY_CLIENT_TOKEN},
23
19
  json={"email": email, "password": password, "locale": "en_US"},
24
20
  timeout=REQUESTS_TIMEOUT,
25
- verify=not MAPILLARY__DISABLE_VERIFYING_SSL,
26
21
  )
27
22
  resp.raise_for_status()
28
23
  return resp
@@ -40,7 +35,6 @@ def fetch_organization(
40
35
  "Authorization": f"OAuth {user_access_token}",
41
36
  },
42
37
  timeout=REQUESTS_TIMEOUT,
43
- verify=not MAPILLARY__DISABLE_VERIFYING_SSL,
44
38
  )
45
39
  resp.raise_for_status()
46
40
  return resp
@@ -62,7 +56,6 @@ def logging(action_type: ActionType, properties: T.Dict) -> requests.Response:
62
56
  "Authorization": f"OAuth {MAPILLARY_CLIENT_TOKEN}",
63
57
  },
64
58
  timeout=REQUESTS_TIMEOUT,
65
- verify=not MAPILLARY__DISABLE_VERIFYING_SSL,
66
59
  )
67
60
  resp.raise_for_status()
68
61
  return resp
@@ -15,10 +15,6 @@ MAPILLARY_UPLOAD_ENDPOINT = os.getenv(
15
15
  MAPILLARY_GRAPH_API_ENDPOINT = os.getenv(
16
16
  "MAPILLARY_GRAPH_API_ENDPOINT", "https://graph.mapillary.com"
17
17
  )
18
- # https://requests.readthedocs.io/en/latest/user/advanced/#ssl-cert-verification
19
- MAPILLARY__DISABLE_VERIFYING_SSL = (
20
- os.getenv("MAPILLARY__DISABLE_VERIFYING_SSL") == "TRUE"
21
- )
22
18
  DEFAULT_CHUNK_SIZE = 1024 * 1024 * 16 # 16MB
23
19
  # According to the docs, UPLOAD_REQUESTS_TIMEOUT can be a tuple of
24
20
  # (connection_timeout, read_timeout): https://requests.readthedocs.io/en/latest/user/advanced/#timeouts
@@ -101,7 +97,6 @@ class UploadService:
101
97
  url,
102
98
  headers=headers,
103
99
  timeout=REQUESTS_TIMEOUT,
104
- verify=not MAPILLARY__DISABLE_VERIFYING_SSL,
105
100
  )
106
101
  LOG.debug("HTTP response %s: %s", resp.status_code, resp.content)
107
102
  resp.raise_for_status()
@@ -144,7 +139,6 @@ class UploadService:
144
139
  headers=headers,
145
140
  data=chunk,
146
141
  timeout=UPLOAD_REQUESTS_TIMEOUT,
147
- verify=not MAPILLARY__DISABLE_VERIFYING_SSL,
148
142
  )
149
143
  LOG.debug(
150
144
  "HTTP response %s: %s", resp.status_code, _truncate_end(resp.content)
@@ -191,7 +185,6 @@ class UploadService:
191
185
  headers=headers,
192
186
  json=data,
193
187
  timeout=REQUESTS_TIMEOUT,
194
- verify=not MAPILLARY__DISABLE_VERIFYING_SSL,
195
188
  )
196
189
  LOG.debug("HTTP response %s: %s", resp.status_code, _truncate_end(resp.content))
197
190
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mapillary_tools
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: Mapillary Image/Video Import Pipeline
5
5
  Home-page: https://github.com/mapillary/mapillary_tools
6
6
  Author: Mapillary
@@ -82,7 +82,7 @@ mapillary_tools supports JPG/JEPG images (.jpg, .jpeg), with the following EXIF
82
82
  mapillary_tools supports videos (.mp4, .360) that contain any of the following telemetry structures:
83
83
 
84
84
  - [GPMF](https://github.com/gopro/gpmf-parser): mostly GoPro videos
85
- - [GoPro HERO series](https://gopro.com/en/us/shop/cameras/hero11-black/CHDHX-111-master.html) (from 5 to 11)
85
+ - [GoPro HERO series](https://gopro.com/en/us/shop/cameras/hero11-black/CHDHX-111-master.html) (from 5 to 13)
86
86
  - [GoPro MAX](https://gopro.com/en/us/shop/cameras/max/CHDHZ-202-master.html)
87
87
  - [CAMM](https://developers.google.com/streetview/publish/camm-spec): an open-standard telemetry spec supported by a number of cameras
88
88
  - [Insta360 Pro2](https://www.insta360.com/product/insta360-pro2/)
@@ -1 +0,0 @@
1
- VERSION = "0.12.0"