# txtsplit
[Tortoise TTS](https://github.com/neonbjb/tortoise-tts)'s text splitter, repackaged. All credit goes to the author of Tortoise TTS.
## Installation
```
pip install txtsplit
```
(0 dependencies)
## Usage
```python
from txtsplit import txtsplit
print(txtsplit("Long text", desired_length=100, max_length=200))
```
## License & Credits
Most of the code was taken from [Tortoise TTS](https://github.com/neonbjb/tortoise-tts).
Apache 2.0, like Tortoise TTS.
Raw data
{
"_id": null,
"home_page": "https://github.com/fakerybakery/txtsplit",
"name": "txtsplit",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "mrfakename",
"author_email": "me@mrfake.name",
"download_url": "https://files.pythonhosted.org/packages/eb/3e/f4b64aac1efa43fd8ad49ad42345d12a8343a631233f120485178a8163ec/txtsplit-1.0.0.tar.gz",
"platform": "Any",
"description": "# txtsplit\n\n[Tortoise TTS](https://github.com/neonbjb/tortoise-tts)'s text splitter, repackaged. All credit goes to the author of Tortoise TTS.\n\n## Installation\n\n```\npip install txtsplit\n```\n\n(0 dependencies)\n\n## Usage\n\n```python\nfrom txtsplit import txtsplit\nprint(txtsplit(\"Long text\", desired_length=100, max_length=200))\n```\n\n## License & Credits\n\nMost of the code was taken from [Tortoise TTS](https://github.com/neonbjb/tortoise-tts).\n\nApache 2.0, like Tortoise TTS.\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "A simple text splitter based on Tortoise for use in text-to-speech applications",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/fakerybakery/txtsplit"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eb3ef4b64aac1efa43fd8ad49ad42345d12a8343a631233f120485178a8163ec",
"md5": "390e7dfbf8843a38da91fa72c4851b90",
"sha256": "c457bcb05ac34ac01f8259170664b147c7128cb8af62802f7375d65cf125b86e"
},
"downloads": -1,
"filename": "txtsplit-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "390e7dfbf8843a38da91fa72c4851b90",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 6183,
"upload_time": "2024-01-23T00:40:02",
"upload_time_iso_8601": "2024-01-23T00:40:02.344514Z",
"url": "https://files.pythonhosted.org/packages/eb/3e/f4b64aac1efa43fd8ad49ad42345d12a8343a631233f120485178a8163ec/txtsplit-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-23 00:40:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fakerybakery",
"github_project": "txtsplit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "txtsplit"
}