Metadata-Version: 2.3
Name: vgscode
Version: 1.0.3
Summary: Validate Generate Sanitize Code
Project-URL: Homepage, https://github.com/smvrnn/vgscode.py
Project-URL: Repository, https://github.com/smvrnn/vgscode.py.git
Author: Yerlan Yeraliyev
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.
License-File: LICENSE
Keywords: Kazakhstan,bin,generate,iin,validate
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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
```
