mux-python 5.1.2__py3-none-any.whl → 5.3.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.
mux_python/__init__.py CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  from __future__ import absolute_import
17
17
 
18
- __version__ = "5.1.2"
18
+ __version__ = "5.3.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from mux_python.api.annotations_api import AnnotationsApi
mux_python/api_client.py CHANGED
@@ -79,7 +79,7 @@ class ApiClient(object):
79
79
  self.default_headers[header_name] = header_value
80
80
  self.cookie = cookie
81
81
  # Set default User-Agent.
82
- self.user_agent = 'Mux Python | 5.1.2'
82
+ self.user_agent = 'Mux Python | 5.3.0'
83
83
  self.client_side_validation = configuration.client_side_validation
84
84
 
85
85
  def __enter__(self):
@@ -406,7 +406,7 @@ conf = mux_python.Configuration(
406
406
  "OS: {env}\n"\
407
407
  "Python Version: {pyversion}\n"\
408
408
  "Version of the API: v1\n"\
409
- "SDK Package Version: 5.1.2".\
409
+ "SDK Package Version: 5.3.0".\
410
410
  format(env=sys.platform, pyversion=sys.version)
411
411
 
412
412
  def get_host_settings(self):
@@ -65,7 +65,7 @@ class AssetProgress(object):
65
65
  def state(self):
66
66
  """Gets the state of this AssetProgress. # noqa: E501
67
67
 
68
- The detailed state of the asset ingest process. This field is useful for relaying more granular processing information to end users when a [non-standard input is encountered](https://www.mux.com/docs/guides/minimize-processing-time#non-standard-input). - `ingesting`: Asset is being ingested (initial processing before or after transcoding). While in this state, the `progress` percentage will be 0. - `transcoding`: Asset is undergoing non-standard transcoding. - `completed`: Asset processing is complete (`status` is `ready`). While in this state, the `progress` percentage will be 100. - `live`: Asset is a live stream currently in progress. While in this state, the `progress` percentage will be -1. - `errored`: Asset has encountered an error (`status` is `errored`). While in this state, the `progress` percentage will be -1. # noqa: E501
68
+ The detailed state of the asset ingest process. This field is useful for relaying more granular processing information to end users when a [non-standard input is encountered](https://www.mux.com/docs/guides/minimize-processing-time#non-standard-input). - `ingesting`: Asset is being ingested (initial processing before or after transcoding). While in this state, the `progress` percentage will be 0. - `transcoding`: Asset is undergoing non-standard transcoding. For assets with a `delivery_profile` of `hls_podcast`, the `progress` percentage runs from 0 to 50 while transcoding. - `optimizing`: Asset is finishing additional processing its `delivery_profile` requires, such as measuring each rendition's bitrate for `hls_podcast` assets. `status` stays `preparing`, and the `progress` percentage runs from 50 to 100. - `completed`: Asset processing is complete (`status` is `ready`). While in this state, the `progress` percentage will be 100. - `live`: Asset is a live stream currently in progress. While in this state, the `progress` percentage will be -1. - `errored`: Asset has encountered an error (`status` is `errored`). While in this state, the `progress` percentage will be -1. # noqa: E501
69
69
 
70
70
  :return: The state of this AssetProgress. # noqa: E501
71
71
  :rtype: str
@@ -76,12 +76,12 @@ class AssetProgress(object):
76
76
  def state(self, state):
77
77
  """Sets the state of this AssetProgress.
78
78
 
79
- The detailed state of the asset ingest process. This field is useful for relaying more granular processing information to end users when a [non-standard input is encountered](https://www.mux.com/docs/guides/minimize-processing-time#non-standard-input). - `ingesting`: Asset is being ingested (initial processing before or after transcoding). While in this state, the `progress` percentage will be 0. - `transcoding`: Asset is undergoing non-standard transcoding. - `completed`: Asset processing is complete (`status` is `ready`). While in this state, the `progress` percentage will be 100. - `live`: Asset is a live stream currently in progress. While in this state, the `progress` percentage will be -1. - `errored`: Asset has encountered an error (`status` is `errored`). While in this state, the `progress` percentage will be -1. # noqa: E501
79
+ The detailed state of the asset ingest process. This field is useful for relaying more granular processing information to end users when a [non-standard input is encountered](https://www.mux.com/docs/guides/minimize-processing-time#non-standard-input). - `ingesting`: Asset is being ingested (initial processing before or after transcoding). While in this state, the `progress` percentage will be 0. - `transcoding`: Asset is undergoing non-standard transcoding. For assets with a `delivery_profile` of `hls_podcast`, the `progress` percentage runs from 0 to 50 while transcoding. - `optimizing`: Asset is finishing additional processing its `delivery_profile` requires, such as measuring each rendition's bitrate for `hls_podcast` assets. `status` stays `preparing`, and the `progress` percentage runs from 50 to 100. - `completed`: Asset processing is complete (`status` is `ready`). While in this state, the `progress` percentage will be 100. - `live`: Asset is a live stream currently in progress. While in this state, the `progress` percentage will be -1. - `errored`: Asset has encountered an error (`status` is `errored`). While in this state, the `progress` percentage will be -1. # noqa: E501
80
80
 
81
81
  :param state: The state of this AssetProgress. # noqa: E501
82
82
  :type state: str
83
83
  """
84
- allowed_values = ["ingesting", "transcoding", "completed", "live", "errored"] # noqa: E501
84
+ allowed_values = ["ingesting", "transcoding", "optimizing", "completed", "live", "errored"] # noqa: E501
85
85
  if self.local_vars_configuration.client_side_validation and state not in allowed_values: # noqa: E501
86
86
  raise ValueError(
87
87
  "Invalid value for `state` ({0}), must be one of {1}" # noqa: E501
@@ -94,7 +94,7 @@ class AssetProgress(object):
94
94
  def progress(self):
95
95
  """Gets the progress of this AssetProgress. # noqa: E501
96
96
 
97
- Represents the estimated completion percentage. Returns `0 - 100` when in `ingesting`, `transcoding`, or `completed` state, and `-1` when in `live` or `errored` state. # noqa: E501
97
+ Represents the estimated completion percentage. Returns `0 - 100` when in `ingesting`, `transcoding`, `optimizing`, or `completed` state, and `-1` when in `live` or `errored` state. # noqa: E501
98
98
 
99
99
  :return: The progress of this AssetProgress. # noqa: E501
100
100
  :rtype: float
@@ -105,7 +105,7 @@ class AssetProgress(object):
105
105
  def progress(self, progress):
106
106
  """Sets the progress of this AssetProgress.
107
107
 
108
- Represents the estimated completion percentage. Returns `0 - 100` when in `ingesting`, `transcoding`, or `completed` state, and `-1` when in `live` or `errored` state. # noqa: E501
108
+ Represents the estimated completion percentage. Returns `0 - 100` when in `ingesting`, `transcoding`, `optimizing`, or `completed` state, and `-1` when in `live` or `errored` state. # noqa: E501
109
109
 
110
110
  :param progress: The progress of this AssetProgress. # noqa: E501
111
111
  :type progress: float
@@ -475,7 +475,7 @@ class Track(object):
475
475
  def status(self):
476
476
  """Gets the status of this Track. # noqa: E501
477
477
 
478
- The status of the track. This parameter is only set for `text` type tracks. # noqa: E501
478
+ The status of the track. `skipped` means the track was not created because the asset doesn't support it, for example generated subtitles on an asset with no audio. # noqa: E501
479
479
 
480
480
  :return: The status of this Track. # noqa: E501
481
481
  :rtype: str
@@ -486,12 +486,12 @@ class Track(object):
486
486
  def status(self, status):
487
487
  """Sets the status of this Track.
488
488
 
489
- The status of the track. This parameter is only set for `text` type tracks. # noqa: E501
489
+ The status of the track. `skipped` means the track was not created because the asset doesn't support it, for example generated subtitles on an asset with no audio. # noqa: E501
490
490
 
491
491
  :param status: The status of this Track. # noqa: E501
492
492
  :type status: str
493
493
  """
494
- allowed_values = ["preparing", "ready", "errored", "deleted"] # noqa: E501
494
+ allowed_values = ["preparing", "ready", "errored", "deleted", "skipped"] # noqa: E501
495
495
  if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501
496
496
  raise ValueError(
497
497
  "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mux_python
3
- Version: 5.1.2
3
+ Version: 5.3.0
4
4
  Summary: Mux API
5
5
  Home-page: https://github.com/muxinc/mux-python
6
6
  Author: Mux DevEx
@@ -148,7 +148,7 @@ All exceptions inherit from `ApiException`, you can catch it as in the example a
148
148
 
149
149
  ### ServiceException
150
150
 
151
- `ServiceException` is thrown when Mux returns a HTTP 5XX Status Code. If you encounter this reproducibly, please get in touch with [support@mux.com](mailto:support@mux.com).
151
+ `ServiceException` is thrown when Mux returns a HTTP 5XX Status Code. If you encounter this reproducibly, please get in touch with us at [mux.com/support](https://www.mux.com/support).
152
152
 
153
153
  ## Documentation
154
154
 
@@ -1,6 +1,6 @@
1
- mux_python/__init__.py,sha256=NxXXc_7bJ5o7VLEnKPcG7M_vOgfWEpfFVUbtNjICDcU,15175
2
- mux_python/api_client.py,sha256=CY0b1LGU8Fap47WP98TxtbYu9sCiLQEA4YOm1kfrBc4,27513
3
- mux_python/configuration.py,sha256=EYX4K2UOfa_A-_v90Jh2ghzcoe6xvDz8cl6uL0HMu7Q,16923
1
+ mux_python/__init__.py,sha256=oW1faXVnlrRKaRgofczy3LFKk0dht1hTZJHMbjSSpqg,15175
2
+ mux_python/api_client.py,sha256=TWMWc7NjwN30jav_M7Qn9k0RRgNJXKjPHImz7kSjGG8,27513
3
+ mux_python/configuration.py,sha256=MnX78aWgnwNE4PwnKal7VmnpkyVxnCsbcf6JLQv8NPg,16923
4
4
  mux_python/exceptions.py,sha256=lu9AENO-CBMVbWjBHO8vi1rdqlZXPGu9NrzyC1_RsjQ,5235
5
5
  mux_python/rest.py,sha256=e3h9BA0ohtOXIxeA60PWgp9WIVUuWRwLJPXy66XvKm4,12759
6
6
  mux_python/api/__init__.py,sha256=3bNBwJphua5jd2IZdoLbxlQmmzFdLJcsWr1gD4btBQw,1324
@@ -37,7 +37,7 @@ mux_python/models/asset_generated_subtitle_settings.py,sha256=s5BZO-flEmvarlWQ5t
37
37
  mux_python/models/asset_master.py,sha256=_ayfkgozlG529VEBoQYV-IOx4vewOfvbQyWuvJtVWpg,4925
38
38
  mux_python/models/asset_metadata.py,sha256=a248zXJsdVWTGX6UUIktVQpuaaxS3N76RLNNbHXxGkQ,6533
39
39
  mux_python/models/asset_non_standard_input_reasons.py,sha256=eTptcFUWX4PckLKB_vkSwK_pU2L2lCEv-WiH_CBml9g,18719
40
- mux_python/models/asset_progress.py,sha256=nLz89r7m2lgyYfnnKdNBQmeex8bj5zbc_KznDisWr-8,7422
40
+ mux_python/models/asset_progress.py,sha256=DnM_TYMSZn3q8ZNjWTlZdAvqueQiCTFq0_kV4GaJRsQ,8176
41
41
  mux_python/models/asset_recording_times.py,sha256=MmRAstj7mue0_lRfVvYKYvzzM2cdevvSxmA9h5zTiGM,6422
42
42
  mux_python/models/asset_response.py,sha256=6-mqYBqWr2Oq0tBSv0BPXfx41LSUp4poizCIi-TGvrI,3728
43
43
  mux_python/models/asset_static_renditions.py,sha256=NP9tmqVYpjw3cb_2Lhfu43v7nbyW2TN6bS4opRrAlyM,5275
@@ -177,7 +177,7 @@ mux_python/models/space_type.py,sha256=nTFhxdqVd7IUGgup_7E5tj9IVAwyYdUkmoAk10Zpr
177
177
  mux_python/models/start_space_broadcast_response.py,sha256=Y5LQa2v6Ks5sUSCldeFWJ_3b7seCnSRGT0vpPrdWdkc,3843
178
178
  mux_python/models/static_rendition.py,sha256=AMbl4R2v-Uk3F-MWqh_KyEAE2PXwaGo1dKKsSzsWjA8,16928
179
179
  mux_python/models/stop_space_broadcast_response.py,sha256=FetERBg9UknmducGhiKHAj1xYEcf080VMVN5Zk1Zarc,3835
180
- mux_python/models/track.py,sha256=fqvhwtBmn6FJKu4wezu-nGHJe3aCT1EzS4lvi-UGx1k,22273
180
+ mux_python/models/track.py,sha256=J42o4fLgvkbt74-94rAR-e_b0y6Pr7lH7Tj8D2sWDyo,22460
181
181
  mux_python/models/transcription_vocabulary.py,sha256=y3FR0qjcC4LvFnWpbuDZxAsbC33tBqzHqmJvfzoz4-Y,9235
182
182
  mux_python/models/transcription_vocabulary_response.py,sha256=rfND99sXXpKHXCeQI0q5RXtoic-ygPo4J-113zwWgxE,3926
183
183
  mux_python/models/update_asset_master_access_request.py,sha256=kaRVch7uRY7zLPMdcMrfQeud_t79-9qb7pQBT4PuJis,4576
@@ -202,8 +202,8 @@ mux_python/models/video_view_event.py,sha256=DEIoAJQaflQiCe-LzZ1FpSVzfphd60gguRM
202
202
  mux_python/models/video_view_response.py,sha256=WIZxYDoRy2bV_3pM9bh77yQl-u44v9tttqVcjkl7u9U,5286
203
203
  mux_python/models/web_input.py,sha256=iiWvX2zHyUVaONykYD91OrAbtWibkEmxnZVybdk-Wpo,11494
204
204
  mux_python/models/web_input_response.py,sha256=CK4fRkjFyybGkroi2p_IrJuYY-zrkOts43pb04KZJmA,3761
205
- mux_python-5.1.2.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
206
- mux_python-5.1.2.dist-info/METADATA,sha256=DJ7lIMejUMvLxsSuk7KAZCaSD8DBNtkMLRDKR-OXw5c,7002
207
- mux_python-5.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
208
- mux_python-5.1.2.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
209
- mux_python-5.1.2.dist-info/RECORD,,
205
+ mux_python-5.3.0.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
206
+ mux_python-5.3.0.dist-info/METADATA,sha256=lKng7M450p-C9AHBxqPmJk76NoMUZ-waUP_cXdDeimc,7013
207
+ mux_python-5.3.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
208
+ mux_python-5.3.0.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
209
+ mux_python-5.3.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (84.2.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5