pyxtream 0.7.3__tar.gz → 0.8.0__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.
- {pyxtream-0.7.3 → pyxtream-0.8.0}/PKG-INFO +2 -1
- {pyxtream-0.7.3 → pyxtream-0.8.0}/README.md +1 -0
- {pyxtream-0.7.3 → pyxtream-0.8.0}/pyproject.toml +1 -1
- {pyxtream-0.7.3 → pyxtream-0.8.0}/pyxtream/__init__.py +1 -2
- pyxtream-0.8.0/pyxtream/api.py +63 -0
- {pyxtream-0.7.3 → pyxtream-0.8.0}/pyxtream/html/index.html +264 -165
- {pyxtream-0.7.3 → pyxtream-0.8.0}/pyxtream/pyxtream.py +168 -204
- {pyxtream-0.7.3 → pyxtream-0.8.0}/pyxtream/rest_api.py +14 -5
- {pyxtream-0.7.3 → pyxtream-0.8.0}/pyxtream/schemaValidator.py +2 -1
- {pyxtream-0.7.3 → pyxtream-0.8.0}/pyxtream/version.py +1 -1
- pyxtream-0.7.3/pyxtream/progress.py +0 -31
- {pyxtream-0.7.3 → pyxtream-0.8.0}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pyxtream
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: xtream IPTV loader
|
|
5
5
|
License: GPL3
|
|
6
6
|
Author: Claudio Olmi
|
|
@@ -128,6 +128,7 @@ Follows the Semantic Versioning from https://semver.org/
|
|
|
128
128
|
|
|
129
129
|
| Date | Version | Description |
|
|
130
130
|
| ----------- | -----| ----------- |
|
|
131
|
+
| 2026-04-03 | 0.8.0 | - Added more PyTest functions<br>- Refactored index.html to better show cards<br>- Refactored pyxtream.py with types<br> - Removed cli progress bar<br>- Fixed issue with loading series [max298](https://github.com/max298)<br> - Fixed empty logo issue [max298](https://github.com/max298)
|
|
131
132
|
| 2025-02-17 | 0.7.3 | - Added Initial PyTest and Coverage<br>- Added timestamp field "added" to Series to match channels "added" field<br>- Added string field "url" to Series to quickly get the series download address<br>- Added new API "get_last_7days()" returns the last added streams in the last 7 days in JSON format<br>- Added new API "get_download_progress()" returns information on the current download stream in JSON format<br>- Changed internal function _load_series_info_by_id_from_provider to allow returned value to change to JSON<br>- Changed search_stream function to only search in specific collections<br>- Refactored "rest_api.py" to make it easier to extend in the future<br>- Added new rest API<br>- Changed to Poetry environment<br>- Changed Functional Test to test loading series information<br>- Changed sample index.html to test more features|
|
|
132
133
|
| 2024-09-02 | 0.7.2 | - Added missing request package to setup.py<br>- Refactored the search stream function and now, it can search for a specific stream type<br>- Refactored the download stream function<br>- Refactored the _get_request function and removed the call to the sleep function<br>- Added functional test to get series json output from a series_id<br>- Added functional test to get EPG for a specific stream ID<br>- Added xtream account expiration date printed on the console during authentication<br>- Improved results with the Flask HTML page and differentiating between movies and series<br>- Improved code readability|
|
|
133
134
|
| 2024-05-21 | 0.7.1 | - Fixed missing jsonschema package<br>- Fixed provider name in functional_test<br>- Improved print out of connection attempts<br>- Added method to read latest changes in functional_test
|
|
@@ -107,6 +107,7 @@ Follows the Semantic Versioning from https://semver.org/
|
|
|
107
107
|
|
|
108
108
|
| Date | Version | Description |
|
|
109
109
|
| ----------- | -----| ----------- |
|
|
110
|
+
| 2026-04-03 | 0.8.0 | - Added more PyTest functions<br>- Refactored index.html to better show cards<br>- Refactored pyxtream.py with types<br> - Removed cli progress bar<br>- Fixed issue with loading series [max298](https://github.com/max298)<br> - Fixed empty logo issue [max298](https://github.com/max298)
|
|
110
111
|
| 2025-02-17 | 0.7.3 | - Added Initial PyTest and Coverage<br>- Added timestamp field "added" to Series to match channels "added" field<br>- Added string field "url" to Series to quickly get the series download address<br>- Added new API "get_last_7days()" returns the last added streams in the last 7 days in JSON format<br>- Added new API "get_download_progress()" returns information on the current download stream in JSON format<br>- Changed internal function _load_series_info_by_id_from_provider to allow returned value to change to JSON<br>- Changed search_stream function to only search in specific collections<br>- Refactored "rest_api.py" to make it easier to extend in the future<br>- Added new rest API<br>- Changed to Poetry environment<br>- Changed Functional Test to test loading series information<br>- Changed sample index.html to test more features|
|
|
111
112
|
| 2024-09-02 | 0.7.2 | - Added missing request package to setup.py<br>- Refactored the search stream function and now, it can search for a specific stream type<br>- Refactored the download stream function<br>- Refactored the _get_request function and removed the call to the sleep function<br>- Added functional test to get series json output from a series_id<br>- Added functional test to get EPG for a specific stream ID<br>- Added xtream account expiration date printed on the console during authentication<br>- Improved results with the Flask HTML page and differentiating between movies and series<br>- Improved code readability|
|
|
112
113
|
| 2024-05-21 | 0.7.1 | - Fixed missing jsonschema package<br>- Fixed provider name in functional_test<br>- Improved print out of connection attempts<br>- Added method to read latest changes in functional_test
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"""
|
|
2
|
+
API URL builders
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def get_live_categories_URL(base: str) -> str:
|
|
7
|
+
return f"{base}&action=get_live_categories"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def get_live_streams_URL(base: str) -> str:
|
|
11
|
+
return f"{base}&action=get_live_streams"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def get_live_streams_URL_by_category(category_id, base: str) -> str:
|
|
15
|
+
return f"{base}&action=get_live_streams&category_id={category_id}"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def get_vod_cat_URL(base: str) -> str:
|
|
19
|
+
return f"{base}&action=get_vod_categories"
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def get_vod_streams_URL(base: str) -> str:
|
|
23
|
+
return f"{base}&action=get_vod_streams"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def get_vod_streams_URL_by_category(category_id, base: str) -> str:
|
|
27
|
+
return f"{base}&action=get_vod_streams&category_id={category_id}"
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def get_series_cat_URL(base: str) -> str:
|
|
31
|
+
return f"{base}&action=get_series_categories"
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def get_series_URL(base: str) -> str:
|
|
35
|
+
return f"{base}&action=get_series"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def get_series_URL_by_category(category_id, base: str) -> str:
|
|
39
|
+
return f"{base}&action=get_series&category_id={category_id}"
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def get_series_info_URL_by_ID(series_id, base: str) -> str:
|
|
43
|
+
return f"{base}&action=get_series_info&series_id={series_id}"
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def get_VOD_info_URL_by_ID(vod_id, base: str) -> str:
|
|
47
|
+
return f"{base}&action=get_vod_info&vod_id={vod_id}"
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def get_live_epg_URL_by_stream(stream_id, base: str) -> str:
|
|
51
|
+
return f"{base}&action=get_short_epg&stream_id={stream_id}"
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def get_live_epg_URL_by_stream_and_limit(stream_id, limit, base: str) -> str:
|
|
55
|
+
return f"{base}&action=get_short_epg&stream_id={stream_id}&limit={limit}"
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def get_all_live_epg_URL_by_stream(stream_id, base: str) -> str:
|
|
59
|
+
return f"{base}&action=get_simple_data_table&stream_id={stream_id}"
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def get_all_epg_URL(base: str, username: str, password: str) -> str:
|
|
63
|
+
return f"{base}/xmltv.php?username={username}&password={password}"
|