# string_py
[![PyPI](https://img.shields.io/pypi/v/string-py?style=flat-square)](https://pypi.org/project/string-py/)
[![Documentation](https://readthedocs.org/projects/aioeasypillow/badge/?version=latest&style=flat-square)](https://string-py.readthedocs.io/en/latest/)
A Python package to simplify working with strings
## Installation
To install the library directly from PyPI you can just run the following command:
```shell
# Linux/macOS
python3 -m pip install -U string-py
# Windows
py -3 -m pip install -U string-py
```
## Format Example
```python
from string_py import Format
print(Format.align(values={"Username:": "John", "Register Date:": "01.01.2001"}))
```
```
Username: John
Register Date: 01.01.2001
```
## Manipulation Example
```python
from string_py import Str
print(Str("Hello World!").first(5))
```
```
Hello
```
## Information Example
```python
from string_py import Str
print(Str("Hello World!").get_upper(index=True))
```
```
{0: 'H', 6: 'W'}
```
## Printer Example
```python
from string_py import Printer
print = Printer()
print.time("Hello World!")
```
```
[04.04 | 03:11:07] Hello World!
```
Raw data
{
"_id": null,
"home_page": "https://github.com/BabyEntchen/string_py",
"name": "string-py",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "python,string,strings,utils,string utils,random,random strings,formatting,formatter",
"author": "BabyEntchen",
"author_email": "BabyEntchen <baby_entchen@web.de>",
"download_url": "https://files.pythonhosted.org/packages/da/8d/2b6c0b14251ddd37dd3576666f0404127ba8f5b420a5810e6833eafb0e75/string_py-0.1.3.tar.gz",
"platform": null,
"description": "# string_py\r\n\r\n\r\n[![PyPI](https://img.shields.io/pypi/v/string-py?style=flat-square)](https://pypi.org/project/string-py/)\r\n[![Documentation](https://readthedocs.org/projects/aioeasypillow/badge/?version=latest&style=flat-square)](https://string-py.readthedocs.io/en/latest/)\r\n\r\nA Python package to simplify working with strings\r\n\r\n## Installation\r\n\r\nTo install the library directly from PyPI you can just run the following command:\r\n```shell\r\n# Linux/macOS\r\npython3 -m pip install -U string-py\r\n\r\n# Windows\r\npy -3 -m pip install -U string-py\r\n```\r\n\r\n\r\n## Format Example\r\n\r\n```python\r\nfrom string_py import Format\r\n\r\nprint(Format.align(values={\"Username:\": \"John\", \"Register Date:\": \"01.01.2001\"}))\r\n```\r\n```\r\nUsername: John\r\nRegister Date: 01.01.2001\r\n```\r\n## Manipulation Example\r\n```python\r\nfrom string_py import Str\r\n\r\nprint(Str(\"Hello World!\").first(5))\r\n```\r\n```\r\nHello\r\n```\r\n## Information Example\r\n```python\r\nfrom string_py import Str\r\n\r\nprint(Str(\"Hello World!\").get_upper(index=True))\r\n```\r\n```\r\n{0: 'H', 6: 'W'}\r\n```\r\n## Printer Example\r\n```python\r\nfrom string_py import Printer\r\n\r\nprint = Printer()\r\n\r\nprint.time(\"Hello World!\")\r\n```\r\n```\r\n[04.04 | 03:11:07] Hello World!\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Utils for strings in python",
"version": "0.1.3",
"project_urls": {
"Documentation": "https://string-py.readthedocs.io",
"GitHub": "https://github.com/BabyEntchen/string_py",
"Homepage": "https://github.com/BabyEntchen/string_py"
},
"split_keywords": [
"python",
"string",
"strings",
"utils",
"string utils",
"random",
"random strings",
"formatting",
"formatter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2a5d7c59fe2a1484e604099fd42fbd2e8d729c23b3555f555ae46ade39fb96a8",
"md5": "4d846a1d75a954ff220208e251892bdf",
"sha256": "1d8f08c5a5b863778272fa019fbefcf68ca36f372a47b6585a450a2382326629"
},
"downloads": -1,
"filename": "string_py-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4d846a1d75a954ff220208e251892bdf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5491,
"upload_time": "2023-06-03T22:53:45",
"upload_time_iso_8601": "2023-06-03T22:53:45.500090Z",
"url": "https://files.pythonhosted.org/packages/2a/5d/7c59fe2a1484e604099fd42fbd2e8d729c23b3555f555ae46ade39fb96a8/string_py-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "da8d2b6c0b14251ddd37dd3576666f0404127ba8f5b420a5810e6833eafb0e75",
"md5": "2eeceecbfc356879a1379ef9d663eba3",
"sha256": "5761d36506dc16bd2ec47367559be25f241d450f9c75d8be3c0f0286899e7f51"
},
"downloads": -1,
"filename": "string_py-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "2eeceecbfc356879a1379ef9d663eba3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6161,
"upload_time": "2023-06-03T22:53:47",
"upload_time_iso_8601": "2023-06-03T22:53:47.520573Z",
"url": "https://files.pythonhosted.org/packages/da/8d/2b6c0b14251ddd37dd3576666f0404127ba8f5b420a5810e6833eafb0e75/string_py-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-03 22:53:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "BabyEntchen",
"github_project": "string_py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "string-py"
}