jmcomic 2.6.1__tar.gz → 2.6.3__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.
Files changed (25) hide show
  1. {jmcomic-2.6.1/src/jmcomic.egg-info → jmcomic-2.6.3}/PKG-INFO +32 -14
  2. {jmcomic-2.6.1 → jmcomic-2.6.3}/README.md +1 -1
  3. jmcomic-2.6.3/pyproject.toml +44 -0
  4. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/__init__.py +1 -1
  5. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_client_impl.py +1 -1
  6. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_config.py +1 -1
  7. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_option.py +1 -1
  8. {jmcomic-2.6.1 → jmcomic-2.6.3/src/jmcomic.egg-info}/PKG-INFO +32 -14
  9. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic.egg-info/SOURCES.txt +1 -0
  10. jmcomic-2.6.3/src/jmcomic.egg-info/requires.txt +5 -0
  11. jmcomic-2.6.1/src/jmcomic.egg-info/requires.txt +0 -5
  12. {jmcomic-2.6.1 → jmcomic-2.6.3}/LICENSE +0 -0
  13. {jmcomic-2.6.1 → jmcomic-2.6.3}/setup.cfg +0 -0
  14. {jmcomic-2.6.1 → jmcomic-2.6.3}/setup.py +0 -0
  15. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/api.py +0 -0
  16. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/cl.py +0 -0
  17. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_client_interface.py +0 -0
  18. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_downloader.py +0 -0
  19. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_entity.py +0 -0
  20. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_exception.py +0 -0
  21. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_plugin.py +0 -0
  22. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic/jm_toolkit.py +0 -0
  23. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic.egg-info/dependency_links.txt +0 -0
  24. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic.egg-info/entry_points.txt +0 -0
  25. {jmcomic-2.6.1 → jmcomic-2.6.3}/src/jmcomic.egg-info/top_level.txt +0 -0
@@ -1,12 +1,37 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jmcomic
3
- Version: 2.6.1
3
+ Version: 2.6.3
4
4
  Summary: Python API For JMComic (禁漫天堂)
5
5
  Home-page: https://github.com/hect0x7/JMComic-Crawler-Python
6
6
  Author: hect0x7
7
- Author-email: 93357912+hect0x7@users.noreply.github.com
7
+ Author-email: hect0x7 <93357912+hect0x7@users.noreply.github.com>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2023 hect0x7
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+ Project-URL: Homepage, https://github.com/hect0x7/JMComic-Crawler-Python
31
+ Project-URL: Documentation, https://jmcomic.readthedocs.io
8
32
  Keywords: python,jmcomic,18comic,禁漫天堂,NSFW
9
33
  Classifier: Development Status :: 4 - Beta
34
+ Classifier: License :: OSI Approved :: MIT License
10
35
  Classifier: Intended Audience :: Developers
11
36
  Classifier: Programming Language :: Python :: 3.7
12
37
  Classifier: Programming Language :: Python :: 3.8
@@ -21,22 +46,15 @@ Classifier: Operating System :: Microsoft :: Windows
21
46
  Requires-Python: >=3.7
22
47
  Description-Content-Type: text/markdown
23
48
  License-File: LICENSE
24
- Requires-Dist: curl_cffi
25
- Requires-Dist: commonX
26
- Requires-Dist: PyYAML
27
- Requires-Dist: Pillow
49
+ Requires-Dist: commonx>=0.6.38
50
+ Requires-Dist: curl-cffi
51
+ Requires-Dist: pillow
28
52
  Requires-Dist: pycryptodome
53
+ Requires-Dist: pyyaml
29
54
  Dynamic: author
30
- Dynamic: author-email
31
- Dynamic: classifier
32
- Dynamic: description
33
- Dynamic: description-content-type
34
55
  Dynamic: home-page
35
- Dynamic: keywords
36
56
  Dynamic: license-file
37
- Dynamic: requires-dist
38
57
  Dynamic: requires-python
39
- Dynamic: summary
40
58
 
41
59
  # Python API For JMComic (禁漫天堂)
42
60
 
@@ -205,7 +223,7 @@ jmcomic 123
205
223
 
206
224
  ## 使用小说明
207
225
 
208
- * Python >= 3.7
226
+ * Python >= 3.7,建议3.9以上,因为jmcomic的依赖库可能会不支持3.9以下的版本。
209
227
  * 个人项目,文档和示例会有不及时之处,可以Issue提问
210
228
 
211
229
  ## 项目文件夹介绍
@@ -165,7 +165,7 @@ jmcomic 123
165
165
 
166
166
  ## 使用小说明
167
167
 
168
- * Python >= 3.7
168
+ * Python >= 3.7,建议3.9以上,因为jmcomic的依赖库可能会不支持3.9以下的版本。
169
169
  * 个人项目,文档和示例会有不及时之处,可以Issue提问
170
170
 
171
171
  ## 项目文件夹介绍
@@ -0,0 +1,44 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+
4
+ [project]
5
+ name = "jmcomic"
6
+ authors = [{name = "hect0x7", email = "93357912+hect0x7@users.noreply.github.com"}]
7
+ description = "Python API For JMComic (禁漫天堂)"
8
+ readme = "README.md"
9
+ requires-python = ">=3.7"
10
+ license = {file = "LICENSE"}
11
+ keywords=['python', 'jmcomic', '18comic', '禁漫天堂', 'NSFW']
12
+ classifiers=[
13
+ "Development Status :: 4 - Beta",
14
+ "License :: OSI Approved :: MIT License",
15
+ "Intended Audience :: Developers",
16
+ "Programming Language :: Python :: 3.7",
17
+ "Programming Language :: Python :: 3.8",
18
+ "Programming Language :: Python :: 3.9",
19
+ "Programming Language :: Python :: 3.10",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13",
23
+ "Operating System :: MacOS",
24
+ "Operating System :: POSIX :: Linux",
25
+ "Operating System :: Microsoft :: Windows",
26
+ ]
27
+ dependencies = [
28
+ "commonx>=0.6.38",
29
+ "curl-cffi",
30
+ "pillow",
31
+ "pycryptodome",
32
+ "pyyaml",
33
+ ]
34
+ dynamic = ["version"]
35
+
36
+ [project.urls]
37
+ Homepage = "https://github.com/hect0x7/JMComic-Crawler-Python"
38
+ Documentation = "https://jmcomic.readthedocs.io"
39
+
40
+ [project.scripts]
41
+ jmcomic = "jmcomic.cl:main"
42
+
43
+ [tool.setuptools.dynamic]
44
+ version = {attr = "jmcomic.__version__"}
@@ -2,7 +2,7 @@
2
2
  # 被依赖方 <--- 使用方
3
3
  # config <--- entity <--- toolkit <--- client <--- option <--- downloader
4
4
 
5
- __version__ = '2.6.1'
5
+ __version__ = '2.6.3'
6
6
 
7
7
  from .api import *
8
8
  from .jm_plugin import *
@@ -1033,7 +1033,7 @@ class JmApiClient(AbstractJmClient):
1033
1033
  jm_log('api.update_domain.empty',
1034
1034
  f'获取禁漫最新API域名失败, 返回值: {res_json}')
1035
1035
  return
1036
- new_server_list: list[str] = res_data['Server']
1036
+ new_server_list: List[str] = res_data['Server']
1037
1037
  old_server_list = JmModuleConfig.DOMAIN_API_LIST
1038
1038
  jm_log('api.update_domain.success',
1039
1039
  f'获取到最新的API域名,替换jmcomic内置域名:(new){new_server_list} ---→ (old){old_server_list}'
@@ -136,7 +136,7 @@ class JmModuleConfig:
136
136
  ''')
137
137
 
138
138
  # 获取最新移动端API域名的地址
139
- API_URL_DOMAIN_SERVER = f'{PROT}jmappc01-1308024008.cos.ap-guangzhou.myqcloud.com/server-2024.txt'
139
+ API_URL_DOMAIN_SERVER = f'{PROT}jmapp03-1308024008.cos.ap-jakarta.myqcloud.com/server-2024.txt'
140
140
 
141
141
  APP_HEADERS_TEMPLATE = {
142
142
  'Accept-Encoding': 'gzip, deflate',
@@ -134,7 +134,7 @@ class DirRule:
134
134
  return str(DetailEntity.get_dirname(detail, rule[1:]))
135
135
 
136
136
  # noinspection PyMethodMayBeStatic
137
- def split_rule_dsl(self, rule_dsl: str) -> list[str]:
137
+ def split_rule_dsl(self, rule_dsl: str) -> List[str]:
138
138
  if '/' in rule_dsl:
139
139
  rule_list = rule_dsl.split('/')
140
140
  elif '_' in rule_dsl:
@@ -1,12 +1,37 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jmcomic
3
- Version: 2.6.1
3
+ Version: 2.6.3
4
4
  Summary: Python API For JMComic (禁漫天堂)
5
5
  Home-page: https://github.com/hect0x7/JMComic-Crawler-Python
6
6
  Author: hect0x7
7
- Author-email: 93357912+hect0x7@users.noreply.github.com
7
+ Author-email: hect0x7 <93357912+hect0x7@users.noreply.github.com>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2023 hect0x7
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+ Project-URL: Homepage, https://github.com/hect0x7/JMComic-Crawler-Python
31
+ Project-URL: Documentation, https://jmcomic.readthedocs.io
8
32
  Keywords: python,jmcomic,18comic,禁漫天堂,NSFW
9
33
  Classifier: Development Status :: 4 - Beta
34
+ Classifier: License :: OSI Approved :: MIT License
10
35
  Classifier: Intended Audience :: Developers
11
36
  Classifier: Programming Language :: Python :: 3.7
12
37
  Classifier: Programming Language :: Python :: 3.8
@@ -21,22 +46,15 @@ Classifier: Operating System :: Microsoft :: Windows
21
46
  Requires-Python: >=3.7
22
47
  Description-Content-Type: text/markdown
23
48
  License-File: LICENSE
24
- Requires-Dist: curl_cffi
25
- Requires-Dist: commonX
26
- Requires-Dist: PyYAML
27
- Requires-Dist: Pillow
49
+ Requires-Dist: commonx>=0.6.38
50
+ Requires-Dist: curl-cffi
51
+ Requires-Dist: pillow
28
52
  Requires-Dist: pycryptodome
53
+ Requires-Dist: pyyaml
29
54
  Dynamic: author
30
- Dynamic: author-email
31
- Dynamic: classifier
32
- Dynamic: description
33
- Dynamic: description-content-type
34
55
  Dynamic: home-page
35
- Dynamic: keywords
36
56
  Dynamic: license-file
37
- Dynamic: requires-dist
38
57
  Dynamic: requires-python
39
- Dynamic: summary
40
58
 
41
59
  # Python API For JMComic (禁漫天堂)
42
60
 
@@ -205,7 +223,7 @@ jmcomic 123
205
223
 
206
224
  ## 使用小说明
207
225
 
208
- * Python >= 3.7
226
+ * Python >= 3.7,建议3.9以上,因为jmcomic的依赖库可能会不支持3.9以下的版本。
209
227
  * 个人项目,文档和示例会有不及时之处,可以Issue提问
210
228
 
211
229
  ## 项目文件夹介绍
@@ -1,5 +1,6 @@
1
1
  LICENSE
2
2
  README.md
3
+ pyproject.toml
3
4
  setup.py
4
5
  src/jmcomic/__init__.py
5
6
  src/jmcomic/api.py
@@ -0,0 +1,5 @@
1
+ commonx>=0.6.38
2
+ curl-cffi
3
+ pillow
4
+ pycryptodome
5
+ pyyaml
@@ -1,5 +0,0 @@
1
- curl_cffi
2
- commonX
3
- PyYAML
4
- Pillow
5
- pycryptodome
File without changes
File without changes
File without changes
File without changes
File without changes