VGSCode
Validate Generate Sanitize Code
List of supported codes:
- Kazakhstan: IIN, BIN
- ...
Install
pip install vgscode
Usage
import vgscode
Example
validate
vgscode.vBIN("320243026191"); #return True
vgscode.vIIN("320229474023"); #return False
generate
vgscode.gBIN("320243"); #return 320243952485
vgscode.gIIN("320229"); #return 320229980830
sanitize
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
Metadata
Release files for vgscode 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vgscode-1.0.3.tar.gz | 4.8 kB | Without provenance | Details for vgscode-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vgscode-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for vgscode-1.0.3-py3-none-any.whl |
Total release size: 10.4 kB
Release files / vgscode-1.0.3.tar.gz
| Download URL | vgscode-1.0.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdf458260b0f2730e88164ab671304261b292db033cacc0e1be3bc2eb0eacb83
|
|
BLAKE2b-256 checksum How to use checksums |
247d138f5dc427478cf20eda5f5b9506561e52c886e0e1e1dea8dc3595ea0209
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Release files / vgscode-1.0.3-py3-none-any.whl
| Download URL | vgscode-1.0.3-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c383bfb3cbbde8a07d20329936b70c401a122e687b8c7d4a03596ddb5684f67e
|
|
BLAKE2b-256 checksum How to use checksums |
4098cf324184639bbf690364d7c0ab04328e3d211e33af4742d039546e625dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Security for vgscode 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.