mapillary-tools 0.12.0__py3-none-any.whl → 0.12.1__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.
@@ -1 +1 @@
1
- VERSION = "0.12.0"
1
+ VERSION = "0.12.1"
mapillary_tools/api_v4.py CHANGED
@@ -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,5 +1,5 @@
1
- mapillary_tools/__init__.py,sha256=oFXJ29j3C1ptyR4srl_tl-0-F7jzcbzJxfN7qHOHwv0,19
2
- mapillary_tools/api_v4.py,sha256=C_Dha0HYIicWB9oMx4Z-ova-aooByCGvcNciuXNJl1Q,2024
1
+ mapillary_tools/__init__.py,sha256=Y_EQVeH08TULmSWJnga0Czi_46VOIkJR_BSsDzpxqNo,19
2
+ mapillary_tools/api_v4.py,sha256=EX0x-mGjKJIM3KYHsrMo5ZcGVb1_1A2j01eP7gc17vo,1685
3
3
  mapillary_tools/authenticate.py,sha256=LCFcs6LqZmXaYkTUEKgGfmqytWdh5v_L3KXB48ojOZ4,3090
4
4
  mapillary_tools/config.py,sha256=jCjaK4jJaTY4AV4qf_b_tcxn5LA_uPsEWlGIdm2zw6g,2103
5
5
  mapillary_tools/constants.py,sha256=q5-4LG35aIrdUTaBh8v5WDGVR4o4fHYPCv0WFnKJLLg,2450
@@ -18,7 +18,7 @@ mapillary_tools/process_sequence_properties.py,sha256=PLCSYJDNwr3rpUfh8kLNtUrUoz
18
18
  mapillary_tools/sample_video.py,sha256=3zji4zHt4hT_iWP0sV1XpNikFLfC-OGpk_p1NpSMPec,14385
19
19
  mapillary_tools/types.py,sha256=wNdb516UR039voIMN8_MtNPEyLWgzCb8dGj-nR74Pds,21490
20
20
  mapillary_tools/upload.py,sha256=Lm7juEYnMmpDLarTU-QGoxMvet1sS3eM3PqTE956LnY,29727
21
- mapillary_tools/upload_api_v4.py,sha256=nH9ddIebWxIr3g7x41XfmXw07cvmIJxCXOmJTfi-FZ4,8951
21
+ mapillary_tools/upload_api_v4.py,sha256=-JlrPg5lCAo959jAbL8lYl72gTgQ3o-MawFuAQJ8Uj0,8596
22
22
  mapillary_tools/uploader.py,sha256=VieDKi51wdXTIhN7x_mcuQeHESUyFlF5cgB-TAnF4g0,14093
23
23
  mapillary_tools/utils.py,sha256=eg0TdJNjOJSYMB0NCxzOzDAbQc67NFOT919ZJxvSNRs,6257
24
24
  mapillary_tools/commands/__init__.py,sha256=wz89o8syKkWwoOCp3WBgnFWc41TBQRzRi62TlOTmVNQ,188
@@ -69,9 +69,9 @@ mapillary_tools/video_data_extraction/extractors/generic_video_parser.py,sha256=
69
69
  mapillary_tools/video_data_extraction/extractors/gopro_parser.py,sha256=xNXGuR7a-oDaE_WB2xK7sDpAGFwyWIsBUC8fSMKtfgM,1214
70
70
  mapillary_tools/video_data_extraction/extractors/gpx_parser.py,sha256=cqNGtlWFuuxBTf5BliCuJ14avxu-8Pz5LvXnTpTum60,815
71
71
  mapillary_tools/video_data_extraction/extractors/nmea_parser.py,sha256=QFMw_yf4uNP8z7tTybHMKHHMG6cS92bae-MJPHq6EJk,731
72
- mapillary_tools-0.12.0.dist-info/LICENSE,sha256=l2D8cKfFmmJq_wcVq_JElPJrlvWQOzNWx7gMLINucxc,1292
73
- mapillary_tools-0.12.0.dist-info/METADATA,sha256=cE7ZnLBiJ3pBU0_I6MYddiGM3nU2povq_mnT02cS-9s,19638
74
- mapillary_tools-0.12.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
75
- mapillary_tools-0.12.0.dist-info/entry_points.txt,sha256=A3f3LP-BO_P-U8Y29QfpT4jx6Mjk3sXjTi2Yew4bvj8,75
76
- mapillary_tools-0.12.0.dist-info/top_level.txt,sha256=FbDkMgOrt1S70ho1WSBrOwzKOSkJFDwwqFOoY5-527s,16
77
- mapillary_tools-0.12.0.dist-info/RECORD,,
72
+ mapillary_tools-0.12.1.dist-info/LICENSE,sha256=l2D8cKfFmmJq_wcVq_JElPJrlvWQOzNWx7gMLINucxc,1292
73
+ mapillary_tools-0.12.1.dist-info/METADATA,sha256=nlA9PJrgEzB0LxKovlrER7YD-arXOyo7P6Zzr8PWt1Y,19638
74
+ mapillary_tools-0.12.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
75
+ mapillary_tools-0.12.1.dist-info/entry_points.txt,sha256=A3f3LP-BO_P-U8Y29QfpT4jx6Mjk3sXjTi2Yew4bvj8,75
76
+ mapillary_tools-0.12.1.dist-info/top_level.txt,sha256=FbDkMgOrt1S70ho1WSBrOwzKOSkJFDwwqFOoY5-527s,16
77
+ mapillary_tools-0.12.1.dist-info/RECORD,,