Name | zstring JSON |
Version |
1.0.4
JSON |
| download |
home_page | None |
Summary | The successor for the string module. Part of the zen standard library. |
upload_time | 2024-08-30 18:03:16 |
maintainer | None |
docs_url | None |
author | Schkimansky |
requires_python | None |
license | None |
keywords |
python
string
zen
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Donations
It takes me a long time to make these libraries. If you would like to support my work, Then you can follow my patreon :)
https://www.patreon.com/Schkimansky
# Library
Made as a part of the zen standard library python project, This library is the successor / replacer of the standard module string.
This replacement is easier to use, And has more features. Here's a example with a TextTemplate (Called "Template" in string)
```python
import zstring
template = zstring.TextTemplate("Hello, $name! I heard that you're feeling $mood")
values = {"name": "alice", "mood": "sad"}
print(template.fill(values))
```
# Installation
```bash
pip install zstring
```
Raw data
{
"_id": null,
"home_page": null,
"name": "zstring",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, string, zen",
"author": "Schkimansky",
"author_email": "<ahmadchawla1432@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/0b/43/dc483cb860c28d49c509a810e5b2f7ab753ad8fde74ab8e0d0d92dcfffa5/zstring-1.0.4.tar.gz",
"platform": null,
"description": "\n# Donations\nIt takes me a long time to make these libraries. If you would like to support my work, Then you can follow my patreon :)\n\nhttps://www.patreon.com/Schkimansky\n\n# Library\nMade as a part of the zen standard library python project, This library is the successor / replacer of the standard module string. \nThis replacement is easier to use, And has more features. Here's a example with a TextTemplate (Called \"Template\" in string)\n```python\nimport zstring\n\ntemplate = zstring.TextTemplate(\"Hello, $name! I heard that you're feeling $mood\")\nvalues = {\"name\": \"alice\", \"mood\": \"sad\"}\n\nprint(template.fill(values))\n```\n\n# Installation\n```bash\npip install zstring\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "The successor for the string module. Part of the zen standard library.",
"version": "1.0.4",
"project_urls": null,
"split_keywords": [
"python",
" string",
" zen"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "20f1fff8aee1401960bf9fd91ec1f685ee8af280f27d2f0300bb4ea42bd51c97",
"md5": "5281cacaadfe5aa143a6c08371a2c9e7",
"sha256": "7b7621dd4462878d4c8e9d5a17792c55dbbfbe6f0cc58d6fcdb7b5a7b7ea0875"
},
"downloads": -1,
"filename": "zstring-1.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5281cacaadfe5aa143a6c08371a2c9e7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6736,
"upload_time": "2024-08-30T18:03:15",
"upload_time_iso_8601": "2024-08-30T18:03:15.171842Z",
"url": "https://files.pythonhosted.org/packages/20/f1/fff8aee1401960bf9fd91ec1f685ee8af280f27d2f0300bb4ea42bd51c97/zstring-1.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0b43dc483cb860c28d49c509a810e5b2f7ab753ad8fde74ab8e0d0d92dcfffa5",
"md5": "99ac8f207486ab49579fd294719376ff",
"sha256": "af51b8c09d9259c776f329ee0c2e8c62fc3c458659988e26cdb428e42cf06dd9"
},
"downloads": -1,
"filename": "zstring-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "99ac8f207486ab49579fd294719376ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6579,
"upload_time": "2024-08-30T18:03:16",
"upload_time_iso_8601": "2024-08-30T18:03:16.248585Z",
"url": "https://files.pythonhosted.org/packages/0b/43/dc483cb860c28d49c509a810e5b2f7ab753ad8fde74ab8e0d0d92dcfffa5/zstring-1.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-30 18:03:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "zstring"
}