# Stringsan : String manipulation package
This package contains functions related to strings and regex so that I do not have to type them every time.
# Getting Started
```py
from stringsan.strings import occurrences
MESSAGE = "This is a string which contains a string which contains another string and string? Is it a string?"
print(occurrences(MESSAGE, "string"))
```
Or, compress a string!
```py
from stringsann.strings import compress_string
MESSAGE = "aaaaaaaaaaaaaaaaaabbbbeeebeeeeeeeeeeeeeeeeccccccccccccccccccc"
print(compress_string(MESSAGE))
```
Check out more functions in the `/stringsan`
Raw data
{
"_id": null,
"home_page": "https://github.com/ArrancarDev/stringsan",
"name": "stringsan",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "ArrancarDev",
"author_email": "arrancar.dev@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/3a/26/449934dd9844079fbaff47cf3dc0710c8dd3b756f4408d54021e9ac55eaa/stringsan-0.2.tar.gz",
"platform": null,
"description": "# Stringsan : String manipulation package\nThis package contains functions related to strings and regex so that I do not have to type them every time. \n\n# Getting Started\n```py\nfrom stringsan.strings import occurrences\n\nMESSAGE = \"This is a string which contains a string which contains another string and string? Is it a string?\"\n\nprint(occurrences(MESSAGE, \"string\"))\n```\n\nOr, compress a string!\n\n```py\nfrom stringsann.strings import compress_string\nMESSAGE = \"aaaaaaaaaaaaaaaaaabbbbeeebeeeeeeeeeeeeeeeeccccccccccccccccccc\"\n\nprint(compress_string(MESSAGE))\n```\n\nCheck out more functions in the `/stringsan`\n",
"bugtrack_url": null,
"license": "",
"summary": "String manipulation package that makes your life easier",
"version": "0.2",
"project_urls": {
"Homepage": "https://github.com/ArrancarDev/stringsan"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3a26449934dd9844079fbaff47cf3dc0710c8dd3b756f4408d54021e9ac55eaa",
"md5": "b91c3788975a30a9854db69814efc2fa",
"sha256": "5004825f871b85864c079719a4b118cf14a2ee9bb619fe7fb7beb5baabbb9f4d"
},
"downloads": -1,
"filename": "stringsan-0.2.tar.gz",
"has_sig": false,
"md5_digest": "b91c3788975a30a9854db69814efc2fa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3790,
"upload_time": "2023-10-29T03:34:05",
"upload_time_iso_8601": "2023-10-29T03:34:05.053182Z",
"url": "https://files.pythonhosted.org/packages/3a/26/449934dd9844079fbaff47cf3dc0710c8dd3b756f4408d54021e9ac55eaa/stringsan-0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-29 03:34:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ArrancarDev",
"github_project": "stringsan",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "pytest",
"specs": []
}
],
"lcname": "stringsan"
}