subf2m 0.4.3__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.
subf2m/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ """subf2m - compatibility alias import name for pysubzone.
2
+
3
+ The implementation lives in the ``pysubzone`` distribution (the Python API,
4
+ CLI and TUI subtitle downloader for subzone.ir, a Subf2m subtitle database
5
+ engine, https://github.com/mackeos/PySubZone). Every public name of
6
+ ``pysubzone`` is re-exported here unchanged, so ``import subf2m`` is a
7
+ drop-in for ``import pysubzone``.
8
+ """
9
+
10
+ from pysubzone import * # noqa: F401,F403 - re-export the public API
11
+ from pysubzone import __version__ # noqa: F401
12
+ from pysubzone.scoring import ( # noqa: F401 - scorer entry points
13
+ pick_best,
14
+ rank_versions,
15
+ score_release,
16
+ score_version,
17
+ season_info,
18
+ )
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.4
2
+ Name: subf2m
3
+ Version: 0.4.3
4
+ Summary: Compatibility alias: installs pysubzone, the Python API/CLI/TUI subtitle downloader for subzone.ir (Subf2m subtitle database engine)
5
+ Author-email: Mackeos <29227187+mackeos@users.noreply.github.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 PySubZone developers
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/mackeos/PySubZone
29
+ Project-URL: Repository, https://github.com/mackeos/PySubZone
30
+ Project-URL: Issues, https://github.com/mackeos/PySubZone/issues
31
+ Keywords: subf2m,subf2m.co,subzone,subzone.ir,pysubzone,subtitles,subtitle-downloader,subtitle-scraper,srt,farsi,persian,cli,tui
32
+ Classifier: Development Status :: 4 - Beta
33
+ Classifier: Environment :: Console
34
+ Classifier: Intended Audience :: End Users/Desktop
35
+ Classifier: License :: OSI Approved :: MIT License
36
+ Classifier: Operating System :: OS Independent
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Programming Language :: Python :: 3.9
39
+ Classifier: Programming Language :: Python :: 3.10
40
+ Classifier: Programming Language :: Python :: 3.11
41
+ Classifier: Programming Language :: Python :: 3.12
42
+ Classifier: Programming Language :: Python :: 3.13
43
+ Classifier: Topic :: Multimedia :: Video
44
+ Requires-Python: >=3.9
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE
47
+ Requires-Dist: pysubzone>=0.4.3
48
+ Dynamic: license-file
49
+
50
+ # subf2m (compatibility alias)
51
+
52
+ This PyPI project is a compatibility alias. The Python subtitle downloader for
53
+ [subzone.ir](https://subzone.ir) - a [Subf2m](https://subf2m.co) subtitle
54
+ database engine - is published on PyPI as **pysubzone**.
55
+
56
+ Installing `subf2m` pulls in `pysubzone`, which provides:
57
+
58
+ - the `pysubzone` and `subf2m` import names,
59
+ - the `subz` and `subf2m` CLI commands,
60
+ - everything documented at https://github.com/mackeos/PySubZone.
61
+
62
+ New code should use `pip install pysubzone` and import `pysubzone`.
63
+
64
+ ## Usage
65
+
66
+ ```bash
67
+ pip install subf2m # or: pip install pysubzone
68
+
69
+ subf2m search "arcane" # same CLI as `subz`
70
+ subz auto /media/shows -l fa -o subs --zip
71
+
72
+ python -c "import subf2m; print(subf2m.SubZoneClient())"
73
+ ```
74
+
75
+ The version of this alias tracks the version of `pysubzone` it is released
76
+ with (both are at 0.4.3).
@@ -0,0 +1,7 @@
1
+ subf2m/__init__.py,sha256=m7exy9s4-ZBEpbFdTt9FYpgvP5uL9od4ouAENybI5cs,667
2
+ subf2m-0.4.3.dist-info/licenses/LICENSE,sha256=EbaXuOQAjqCPwexWdWkkRIDFsJuYo6pRYoPQjjJLY2s,1077
3
+ subf2m-0.4.3.dist-info/METADATA,sha256=sRCTkLpYJsri6QOGciCPxj9e4IHnaVAKTHa2i_GBjDI,3392
4
+ subf2m-0.4.3.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
5
+ subf2m-0.4.3.dist-info/entry_points.txt,sha256=78fnxHdYsIiRDsOTCjP_r-gB1d1qlWqL-IfAwkHQwqs,46
6
+ subf2m-0.4.3.dist-info/top_level.txt,sha256=zGB-JhQKvF7VajekPjcsztClcADMLGgtxtLC9tJLn7Q,7
7
+ subf2m-0.4.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ subf2m = pysubzone.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 PySubZone developers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ subf2m