zzfy 0.0.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.
@@ -0,0 +1,10 @@
1
+ # 默认忽略的文件
2
+ /shelf/
3
+ /workspace.xml
4
+ # 基于编辑器的 HTTP 客户端请求
5
+ /httpRequests/
6
+ # 已忽略包含查询文件的默认文件夹
7
+ /queries/
8
+ # Datasource local storage ignored files
9
+ /dataSources/
10
+ /dataSources.local.xml
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="D:\USER\MIKUfiles\zzfy_\.venv" project-jdk-type="Python SDK" />
4
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/zzfy.iml" filepath="$PROJECT_DIR$/.idea/zzfy.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,59 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AutoImportSettings">
4
+ <option name="autoReloadType" value="ALL" />
5
+ </component>
6
+ <component name="ChangeListManager">
7
+ <list default="true" id="9e703545-d6d1-420a-9fc4-93fc3dba3ff4" name="更改" comment="" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="ProjectColorInfo">{
14
+ &quot;associatedIndex&quot;: 1,
15
+ &quot;fromUser&quot;: false
16
+ }</component>
17
+ <component name="ProjectId" id="3M3VjeakfCUIg6IsfjJjlXGl8KY" />
18
+ <component name="ProjectViewState">
19
+ <option name="hideEmptyMiddlePackages" value="true" />
20
+ <option name="showLibraryContents" value="true" />
21
+ </component>
22
+ <component name="PropertiesComponent">{
23
+ &quot;keyToString&quot;: {
24
+ &quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;,
25
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
26
+ &quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
27
+ &quot;codeWithMe.voiceChat.enabledByDefault&quot;: &quot;false&quot;,
28
+ &quot;last_opened_file_path&quot;: &quot;D:/USER/MIKUfiles/zzfy_&quot;,
29
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
30
+ &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
31
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
32
+ &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
33
+ &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
34
+ &quot;python.packages.toolwindow.project.migrated.to.right.top.v2&quot;: &quot;true&quot;
35
+ }
36
+ }</component>
37
+ <component name="SharedIndexes">
38
+ <attachedChunks>
39
+ <set>
40
+ <option value="bundled-python-sdk-73a66231627c-5bd6d13a2a75-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-262.10968.92" />
41
+ </set>
42
+ </attachedChunks>
43
+ </component>
44
+ <component name="TaskManager">
45
+ <task active="true" id="Default" summary="默认任务">
46
+ <changelist id="9e703545-d6d1-420a-9fc4-93fc3dba3ff4" name="更改" comment="" />
47
+ <created>1794579374644</created>
48
+ <option name="number" value="Default" />
49
+ <option name="presentableId" value="Default" />
50
+ <updated>1794579374644</updated>
51
+ <workItem from="1794579375820" duration="1291000" />
52
+ <workItem from="1794797977302" duration="274000" />
53
+ </task>
54
+ <servers />
55
+ </component>
56
+ <component name="TypeScriptGeneratedFilesManager">
57
+ <option name="version" value="3" />
58
+ </component>
59
+ </project>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module external.system.id="pyproject.toml" type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/.venv" />
6
+ </content>
7
+ <orderEntry type="jdk" jdkName="D:\USER\MIKUfiles\zzfy_\.venv" jdkType="Python SDK" />
8
+ <orderEntry type="sourceFolder" forTests="false" />
9
+ </component>
10
+ </module>
zzfy-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 VoidFunction
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.
zzfy-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,76 @@
1
+ Metadata-Version: 2.5
2
+ Name: zzfy
3
+ Version: 0.0.1
4
+ Summary: 一个没有任何实际用途的翻译。A translation that's completely useless.
5
+ Author-email: VoidFunction <598708293@qq.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 VoidFunction
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
+ License-File: LICENSE
28
+ Classifier: Operating System :: OS Independent
29
+ Classifier: Programming Language :: Python :: 3
30
+ Requires-Python: >=3.8
31
+ Description-Content-Type: text/markdown
32
+
33
+ # ZZFy
34
+
35
+ > This article was fully machine-translated (because I don't speak English)
36
+
37
+ ## How to use it
38
+
39
+ Too Easy:
40
+ ```python
41
+ import zzfy
42
+ print(zzfy.fy_etc(s="Some Texts...", o=()))
43
+ ```
44
+ Then, you can get the translated text. (That can't be right)
45
+
46
+ Arguments:
47
+ - s: The English text you want to translate
48
+ - o: Do you want to output the process
49
+ - `o` is a tuple parameter that can have two valid elements: `"s"` and `"r"`.
50
+ - If `o` contains `"s"`, then the text will be output after removing some symbols and converting it to lowercase (and then it will be split into new words)
51
+ - If `o` contains `"r"`, then a list of the words split into new ones will be output.
52
+
53
+ And then... that's it?
54
+ Exactly, ZZFy is that simple!
55
+
56
+ ## More features
57
+ You can customize the dictionary:
58
+
59
+ ```python
60
+ import zzfy
61
+
62
+ dct = {} # You can customize it
63
+ print(
64
+ zzfy.fy_etc_(
65
+ e=zzfy.split(
66
+ s="...",
67
+ dct=dct,
68
+ vt=zzfy.VT,
69
+ ct=zzfy.CT,
70
+ o=()
71
+ ),
72
+ dct=dct,
73
+ tdct=zzfy.TDCT # For transliteration
74
+ )
75
+ )
76
+ ```
zzfy-0.0.1/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # ZZFy
2
+
3
+ > This article was fully machine-translated (because I don't speak English)
4
+
5
+ ## How to use it
6
+
7
+ Too Easy:
8
+ ```python
9
+ import zzfy
10
+ print(zzfy.fy_etc(s="Some Texts...", o=()))
11
+ ```
12
+ Then, you can get the translated text. (That can't be right)
13
+
14
+ Arguments:
15
+ - s: The English text you want to translate
16
+ - o: Do you want to output the process
17
+ - `o` is a tuple parameter that can have two valid elements: `"s"` and `"r"`.
18
+ - If `o` contains `"s"`, then the text will be output after removing some symbols and converting it to lowercase (and then it will be split into new words)
19
+ - If `o` contains `"r"`, then a list of the words split into new ones will be output.
20
+
21
+ And then... that's it?
22
+ Exactly, ZZFy is that simple!
23
+
24
+ ## More features
25
+ You can customize the dictionary:
26
+
27
+ ```python
28
+ import zzfy
29
+
30
+ dct = {} # You can customize it
31
+ print(
32
+ zzfy.fy_etc_(
33
+ e=zzfy.split(
34
+ s="...",
35
+ dct=dct,
36
+ vt=zzfy.VT,
37
+ ct=zzfy.CT,
38
+ o=()
39
+ ),
40
+ dct=dct,
41
+ tdct=zzfy.TDCT # For transliteration
42
+ )
43
+ )
44
+ ```