This project is following this Unix philosophy: DOTADIW
So the project do a simple task.. validate code meli (Iranian National Code)..thats it..!
the algorithem is explained in Persian in this site
How to use it?
to install it, run:
pip install py-code-meli
>>>from py_code_meli import is_valid
>>>is_valid("0095017240")
True
>>>is_valid("0095017241")
False
Run Tests
to run the package tests, first you need to clone it and then run :
poetry install
to run the tests:
poetry run pytest
to generate valid code meli, use this link
Metadata
Release files for py-code-meli 0.1.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 | |
|---|---|---|---|
| py_code_meli-0.1.3.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_code_meli-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 kB
Release files / py_code_meli-0.1.3.tar.gz
| Download URL | py_code_meli-0.1.3.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51b44afdc48633d7203656188d890de2c4bed7a07db7952fdb7430bb01eef819
|
|
BLAKE2b-256 checksum How to use checksums |
770d6769ce44bb64679dbfdd8eadf511c653d17cda218d9052533e1b376dd34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-43-generic
|
Release files / py_code_meli-0.1.3-py3-none-any.whl
| Download URL | py_code_meli-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c6f0d06aa64f761ebf2131f43e2abae03a568e301eaa3541d6dc0931b28eae7
|
|
BLAKE2b-256 checksum How to use checksums |
6aa921b10fb6a28a543304b6fb20d8ffde04ee232d10163fe050bddeca3411bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-43-generic
|