dectalkTTS 1.0.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.
@@ -0,0 +1,24 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <https://unlicense.org>
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: dectalkTTS
3
+ Version: 1.0.0
4
+ Summary: A package that lets you parse any ASCII string into dectalk TTS through a single function
5
+ Author-email: Xiang Xing <qu1ck5h0t@hotmail.com>
6
+ License-Expression: Unlicense
7
+ Project-URL: Homepage, https://github.com/Qu1ck5h0t/dectalkTTS
8
+ Project-URL: Issues, https://github.com/Qu1ck5h0t/dectalkTTS/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+ # What is this?
17
+
18
+ This package allows you to synchronously play a dectalk TTS sound from any ASCII string, in python. You do so by simply calling dectalk(). It's pretty lightweight, despite coming with everything you need out of the box, requring no user configuration AND cross platform support between Windows and Linux.
19
+
20
+ # What is this for?
21
+
22
+ Anything, really. I'm not liable for anything you do with it under the license, nor do I condone doing anything you shouldn't do with it. With that said, go wild.
23
+
24
+ # It has a binary in it???? How do I know if it's safe???
25
+
26
+ Correction: It has 2. One for Windows, one for Linux. How considerate of me. The binaries, as well as all of the library files is open source [here](https://github.com/dectalk/dectalk/graphs/contributors). I patched the a library file myself to remove unwanted prints, but the [Github repo](https://github.com/Qu1ck5h0t/dectalkTTS) includes the patch script and methodology to verify the patch in staysafe.txt (you can compare the repo file's hash against that of the PyPI package if you distrust me THAT much). Don't trust any provider of this package outside of its official [Github](https://github.com/Qu1ck5h0t/dectalkTTS) and PyPi.
@@ -0,0 +1,11 @@
1
+ # What is this?
2
+
3
+ This package allows you to synchronously play a dectalk TTS sound from any ASCII string, in python. You do so by simply calling dectalk(). It's pretty lightweight, despite coming with everything you need out of the box, requring no user configuration AND cross platform support between Windows and Linux.
4
+
5
+ # What is this for?
6
+
7
+ Anything, really. I'm not liable for anything you do with it under the license, nor do I condone doing anything you shouldn't do with it. With that said, go wild.
8
+
9
+ # It has a binary in it???? How do I know if it's safe???
10
+
11
+ Correction: It has 2. One for Windows, one for Linux. How considerate of me. The binaries, as well as all of the library files is open source [here](https://github.com/dectalk/dectalk/graphs/contributors). I patched the a library file myself to remove unwanted prints, but the [Github repo](https://github.com/Qu1ck5h0t/dectalkTTS) includes the patch script and methodology to verify the patch in staysafe.txt (you can compare the repo file's hash against that of the PyPI package if you distrust me THAT much). Don't trust any provider of this package outside of its official [Github](https://github.com/Qu1ck5h0t/dectalkTTS) and PyPi.
@@ -0,0 +1,29 @@
1
+ [project]
2
+ name = "dectalkTTS"
3
+ version = "1.0.0"
4
+ authors = [
5
+ { name="Xiang Xing", email="qu1ck5h0t@hotmail.com" },
6
+ ]
7
+ description = "A package that lets you parse any ASCII string into dectalk TTS through a single function"
8
+ readme = "README.md"
9
+ requires-python = ">=3.9"
10
+ classifiers = [
11
+ "Programming Language :: Python :: 3",
12
+ "Operating System :: OS Independent",
13
+ ]
14
+ license = "Unlicense"
15
+ license-files = ["LICEN[CS]E*"]
16
+
17
+ [project.urls]
18
+ Homepage = "https://github.com/Qu1ck5h0t/dectalkTTS"
19
+ Issues = "https://github.com/Qu1ck5h0t/dectalkTTS/issues"
20
+
21
+ [build-system]
22
+ requires = ["setuptools>=61.0"]
23
+ build-backend = "setuptools.build_meta"
24
+
25
+ [tool.setuptools.packages.find]
26
+ where = ["src"]
27
+
28
+ [tool.setuptools.package-data]
29
+ dectalkTTS = ["*.dll", "*.exe", "*.so", "*.dic", "say", "lib/*.so"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,15 @@
1
+ import subprocess
2
+ import os
3
+ import stat
4
+ from pathlib import Path
5
+
6
+ PACKAGE_DIR = Path(__file__).parent.resolve()
7
+
8
+ if os.name == "nt":
9
+ executable = PACKAGE_DIR / "say.exe"
10
+ else:
11
+ executable = PACKAGE_DIR / "say"
12
+ if executable.exists() and not os.access(executable, os.X_OK):
13
+ executable.chmod(executable.stat().st_mode | stat.S_IEXEC)
14
+ def dectalk(text):
15
+ subprocess.run([str(executable)], input=text + "\n", text=True, cwd=PACKAGE_DIR)
Binary file
Binary file
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: dectalkTTS
3
+ Version: 1.0.0
4
+ Summary: A package that lets you parse any ASCII string into dectalk TTS through a single function
5
+ Author-email: Xiang Xing <qu1ck5h0t@hotmail.com>
6
+ License-Expression: Unlicense
7
+ Project-URL: Homepage, https://github.com/Qu1ck5h0t/dectalkTTS
8
+ Project-URL: Issues, https://github.com/Qu1ck5h0t/dectalkTTS/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+ # What is this?
17
+
18
+ This package allows you to synchronously play a dectalk TTS sound from any ASCII string, in python. You do so by simply calling dectalk(). It's pretty lightweight, despite coming with everything you need out of the box, requring no user configuration AND cross platform support between Windows and Linux.
19
+
20
+ # What is this for?
21
+
22
+ Anything, really. I'm not liable for anything you do with it under the license, nor do I condone doing anything you shouldn't do with it. With that said, go wild.
23
+
24
+ # It has a binary in it???? How do I know if it's safe???
25
+
26
+ Correction: It has 2. One for Windows, one for Linux. How considerate of me. The binaries, as well as all of the library files is open source [here](https://github.com/dectalk/dectalk/graphs/contributors). I patched the a library file myself to remove unwanted prints, but the [Github repo](https://github.com/Qu1ck5h0t/dectalkTTS) includes the patch script and methodology to verify the patch in staysafe.txt (you can compare the repo file's hash against that of the PyPI package if you distrust me THAT much). Don't trust any provider of this package outside of its official [Github](https://github.com/Qu1ck5h0t/dectalkTTS) and PyPi.
@@ -0,0 +1,15 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/dectalkTTS/MSVCRTd.DLL
5
+ src/dectalkTTS/__init__.py
6
+ src/dectalkTTS/dectalk.dll
7
+ src/dectalkTTS/dtalk_us.dic
8
+ src/dectalkTTS/say
9
+ src/dectalkTTS/say.exe
10
+ src/dectalkTTS.egg-info/PKG-INFO
11
+ src/dectalkTTS.egg-info/SOURCES.txt
12
+ src/dectalkTTS.egg-info/dependency_links.txt
13
+ src/dectalkTTS.egg-info/top_level.txt
14
+ src/dectalkTTS/lib/libtts.so
15
+ src/dectalkTTS/lib/libtts_us.so
@@ -0,0 +1 @@
1
+ dectalkTTS