Name | vgscode JSON |
Version |
1.0.3
JSON |
| download |
home_page | None |
Summary | Validate Generate Sanitize Code |
upload_time | 2024-10-25 10:39:08 |
maintainer | None |
docs_url | None |
author | Yerlan Yeraliyev |
requires_python | >=3.8 |
license | MIT License Copyright (c) [2024 - present] [Yerlan (smvrnn) Yeraliyev, Solutionary, Inc.] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
kazakhstan
bin
generate
iin
validate
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# VGSCode
Validate Generate Sanitize Code
List of supported codes:
1. Kazakhstan: IIN, BIN
2. ...
## Install
```sh
pip install vgscode
```
## Usage
```python
import vgscode
```
## Example
### validate
```python
vgscode.vBIN("320243026191"); #return True
vgscode.vIIN("320229474023"); #return False
```
### generate
```python
vgscode.gBIN("320243"); #return 320243952485
vgscode.gIIN("320229"); #return 320229980830
```
### sanitize
```python
vgscode.sNumberToString(320229474021); #return 320229474021
vgscode.sTrimStart(" 320229474021"); #return 320229474021
vgscode.sTrimEnd("320229474021 "); #return 320229474021
vgscode.sTrimBoth(" 320229474021 "); #return 320229474021
vgscode.sTrimAll("32 0229 4740 21"); #return 320229474021
vgscode.sRemoveNonDigits("320#%2294 74fwef021"); #return 320229474021
```
Raw data
{
"_id": null,
"home_page": null,
"name": "vgscode",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Kazakhstan, bin, generate, iin, validate",
"author": "Yerlan Yeraliyev",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/24/7d/138f5dc427478cf20eda5f5b9506561e52c886e0e1e1dea8dc3595ea0209/vgscode-1.0.3.tar.gz",
"platform": null,
"description": "# VGSCode\n\nValidate Generate Sanitize Code\n\nList of supported codes:\n\n1. Kazakhstan: IIN, BIN\n2. ...\n\n## Install\n\n```sh\npip install vgscode\n```\n\n## Usage\n\n```python\nimport vgscode\n```\n\n## Example\n\n### validate\n\n```python\nvgscode.vBIN(\"320243026191\"); #return True\nvgscode.vIIN(\"320229474023\"); #return False\n```\n\n### generate\n\n```python\nvgscode.gBIN(\"320243\"); #return 320243952485\nvgscode.gIIN(\"320229\"); #return 320229980830\n```\n\n### sanitize\n\n```python\nvgscode.sNumberToString(320229474021); #return 320229474021\nvgscode.sTrimStart(\" 320229474021\"); #return 320229474021\nvgscode.sTrimEnd(\"320229474021 \"); #return 320229474021\nvgscode.sTrimBoth(\" 320229474021 \"); #return 320229474021\nvgscode.sTrimAll(\"32 0229 4740 21\"); #return 320229474021\nvgscode.sRemoveNonDigits(\"320#%2294 74fwef021\"); #return 320229474021\n```\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) [2024 - present] [Yerlan (smvrnn) Yeraliyev, Solutionary, Inc.] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Validate Generate Sanitize Code",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://github.com/smvrnn/vgscode.py",
"Repository": "https://github.com/smvrnn/vgscode.py.git"
},
"split_keywords": [
"kazakhstan",
" bin",
" generate",
" iin",
" validate"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4098cf324184639bbf690364d7c0ab04328e3d211e33af4742d039546e625dad",
"md5": "7dfa86e2ad5e6a80496ec074a043c6a1",
"sha256": "c383bfb3cbbde8a07d20329936b70c401a122e687b8c7d4a03596ddb5684f67e"
},
"downloads": -1,
"filename": "vgscode-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7dfa86e2ad5e6a80496ec074a043c6a1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5606,
"upload_time": "2024-10-25T10:39:07",
"upload_time_iso_8601": "2024-10-25T10:39:07.735661Z",
"url": "https://files.pythonhosted.org/packages/40/98/cf324184639bbf690364d7c0ab04328e3d211e33af4742d039546e625dad/vgscode-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "247d138f5dc427478cf20eda5f5b9506561e52c886e0e1e1dea8dc3595ea0209",
"md5": "7311e1b471607d08583132eaac610f21",
"sha256": "cdf458260b0f2730e88164ab671304261b292db033cacc0e1be3bc2eb0eacb83"
},
"downloads": -1,
"filename": "vgscode-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "7311e1b471607d08583132eaac610f21",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4759,
"upload_time": "2024-10-25T10:39:08",
"upload_time_iso_8601": "2024-10-25T10:39:08.966712Z",
"url": "https://files.pythonhosted.org/packages/24/7d/138f5dc427478cf20eda5f5b9506561e52c886e0e1e1dea8dc3595ea0209/vgscode-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-25 10:39:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "smvrnn",
"github_project": "vgscode.py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "vgscode"
}