mux-python 5.2.0__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 +1 -1
- mux_python/api_client.py +1 -1
- mux_python/configuration.py +1 -1
- mux_python/models/asset_progress.py +5 -5
- {mux_python-5.2.0.dist-info → mux_python-5.3.0.dist-info}/METADATA +2 -2
- {mux_python-5.2.0.dist-info → mux_python-5.3.0.dist-info}/RECORD +9 -9
- {mux_python-5.2.0.dist-info → mux_python-5.3.0.dist-info}/WHEEL +0 -0
- {mux_python-5.2.0.dist-info → mux_python-5.3.0.dist-info}/licenses/LICENSE +0 -0
- {mux_python-5.2.0.dist-info → mux_python-5.3.0.dist-info}/top_level.txt +0 -0
mux_python/__init__.py
CHANGED
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.
|
|
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):
|
mux_python/configuration.py
CHANGED
|
@@ -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.
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mux_python
|
|
3
|
-
Version: 5.
|
|
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 [
|
|
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=
|
|
2
|
-
mux_python/api_client.py,sha256=
|
|
3
|
-
mux_python/configuration.py,sha256=
|
|
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=
|
|
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
|
|
@@ -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.
|
|
206
|
-
mux_python-5.
|
|
207
|
-
mux_python-5.
|
|
208
|
-
mux_python-5.
|
|
209
|
-
mux_python-5.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|