pyxtream 0.6.0__tar.gz → 0.7.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.
- {pyxtream-0.6.0 → pyxtream-0.7.1}/PKG-INFO +3 -1
- {pyxtream-0.6.0 → pyxtream-0.7.1}/README.md +2 -0
- pyxtream-0.7.1/pyproject.toml +22 -0
- pyxtream-0.7.1/pyxtream/__init__.py +10 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream/progress.py +2 -2
- pyxtream-0.7.1/pyxtream/pyxtream.py +1127 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream/rest_api.py +9 -8
- pyxtream-0.7.1/pyxtream/schemaValidator.py +300 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream/version.py +1 -1
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream.egg-info/PKG-INFO +3 -1
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream.egg-info/SOURCES.txt +2 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/setup.py +3 -0
- pyxtream-0.6.0/pyxtream/__init__.py +0 -5
- pyxtream-0.6.0/pyxtream/pyxtream.py +0 -1096
- {pyxtream-0.6.0 → pyxtream-0.7.1}/LICENSE +0 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream.egg-info/dependency_links.txt +0 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream.egg-info/requires.txt +0 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/pyxtream.egg-info/top_level.txt +0 -0
- {pyxtream-0.6.0 → pyxtream-0.7.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyxtream
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: xtream IPTV loader
|
|
5
5
|
Home-page: https://github.com/superolmo/pyxtream
|
|
6
6
|
Author: Claudio Olmi
|
|
@@ -132,6 +132,8 @@ xTream.movies[{},{},...]
|
|
|
132
132
|
|
|
133
133
|
| Date | Version | Description |
|
|
134
134
|
| ----------- | -----| ----------- |
|
|
135
|
+
| 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
|
|
136
|
+
| 2023-11-08 | 0.7.0 | - Added Schema Validator<br>- Added Channel Age<br>- Added list of movies added in the last 30 and 7 days<br>- Updated code based on PyLint<br>- Fixed Flask package to be optional [richard-de-vos](https://github.com/richard-de-vos)|
|
|
135
137
|
| 2023-02-06 | 0.6.0 | - Added methods to change connection header, to turn off reload timer, and to enable/disable Flask debug mode<br>- Added a loop when attempting to connect to the provider <br>- Cleaned up some print lines|
|
|
136
138
|
| 2021-08-19 | 0.5.0 | - Added method to gracefully handle connection errors<br>- Added setting to not load adult content<br>- Added sorting by stream name<br>- Changed the handling of special characters in streams<br>- Changed print formatting<br>- Changed index.html webpage to HTML5 and Bootstrap 5|
|
|
137
139
|
| 2021-06-19 | 0.4.0 | - Updated to follow PEP8<br>- Updated Docstrings |
|
|
@@ -112,6 +112,8 @@ xTream.movies[{},{},...]
|
|
|
112
112
|
|
|
113
113
|
| Date | Version | Description |
|
|
114
114
|
| ----------- | -----| ----------- |
|
|
115
|
+
| 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
|
|
116
|
+
| 2023-11-08 | 0.7.0 | - Added Schema Validator<br>- Added Channel Age<br>- Added list of movies added in the last 30 and 7 days<br>- Updated code based on PyLint<br>- Fixed Flask package to be optional [richard-de-vos](https://github.com/richard-de-vos)|
|
|
115
117
|
| 2023-02-06 | 0.6.0 | - Added methods to change connection header, to turn off reload timer, and to enable/disable Flask debug mode<br>- Added a loop when attempting to connect to the provider <br>- Cleaned up some print lines|
|
|
116
118
|
| 2021-08-19 | 0.5.0 | - Added method to gracefully handle connection errors<br>- Added setting to not load adult content<br>- Added sorting by stream name<br>- Changed the handling of special characters in streams<br>- Changed print formatting<br>- Changed index.html webpage to HTML5 and Bootstrap 5|
|
|
117
119
|
| 2021-06-19 | 0.4.0 | - Updated to follow PEP8<br>- Updated Docstrings |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools", "distutils.util"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name='pyxtream',
|
|
7
|
+
description="xtream IPTV loader",
|
|
8
|
+
urls="https://github.com/superolmo/pyxtream",
|
|
9
|
+
license="LICENSE",
|
|
10
|
+
classifiers=[
|
|
11
|
+
"Development Status :: 4 - Beta",
|
|
12
|
+
"Environment :: Console",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
15
|
+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
"Natural Language :: English"
|
|
18
|
+
],
|
|
19
|
+
optional-dependencies={ "REST_API": ["Flask>=1.1.2",] }
|
|
20
|
+
dynamic=["version", "authors", "author_email","readme"]
|
|
21
|
+
|
|
22
|
+
packages=find_packages(),
|
|
@@ -25,7 +25,7 @@ def progress(count, total, status=''):
|
|
|
25
25
|
filled_len = int(round(bar_len * count / float(total)))
|
|
26
26
|
|
|
27
27
|
percents = round(100.0 * count / float(total), 1)
|
|
28
|
-
|
|
28
|
+
bar_filled = '=' * filled_len + '-' * (bar_len - filled_len)
|
|
29
29
|
|
|
30
|
-
sys.stdout.write('[
|
|
30
|
+
sys.stdout.write(f'[{bar_filled}] {percents}% ...{status}\r')
|
|
31
31
|
sys.stdout.flush() # As suggested by Rom Ruben (see: http://stackoverflow.com/questions/3173320/text-progress-bar-in-the-console/27871113#comment50529068_27871113)
|