{"id":27957523,"url":"https://github.com/farhad-here/id_validator","last_synced_at":"2026-04-30T13:33:49.048Z","repository":{"id":290592341,"uuid":"974967937","full_name":"farhad-here/ID_Validator","owner":"farhad-here","description":"Iranian National ID Validator. This was one of my data analysis project for the course i had.","archived":false,"fork":false,"pushed_at":"2025-04-30T22:47:21.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T18:13:27.078Z","etag":null,"topics":["data-analysis","identity","idverification","object-oriented-programming","oop","oops-in-python","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/farhad-here.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-29T15:17:52.000Z","updated_at":"2025-05-02T13:00:08.000Z","dependencies_parsed_at":"2025-04-29T16:50:09.980Z","dependency_job_id":null,"html_url":"https://github.com/farhad-here/ID_Validator","commit_stats":null,"previous_names":["farhad-here/id_validator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhad-here%2FID_Validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhad-here%2FID_Validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhad-here%2FID_Validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhad-here%2FID_Validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farhad-here","download_url":"https://codeload.github.com/farhad-here/ID_Validator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931550,"owners_count":21827112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","identity","idverification","object-oriented-programming","oop","oops-in-python","python","streamlit"],"created_at":"2025-05-07T18:13:26.362Z","updated_at":"2026-04-30T13:33:49.042Z","avatar_url":"https://github.com/farhad-here.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🪪This is my Id validator web application\n# 🆔 Iranian National ID Validator\n\nA simple Python project to validate Iranian National Identification Numbers based on the official checksum algorithm. This project is implemented using **Object-Oriented Programming (OOP)** principles.\n\n---\n\n## ✅ Features\n\n- Checks if the entered National ID is exactly 10 digits\n- Ensures the input contains only numeric characters\n- Rejects invalid IDs with all identical digits (e.g., `1111111111`)\n- Implements the official **checksum algorithm** used for validation\n- Clean and readable structure using **Python classes**\n\n---\n\n## 📦 Requirements\n\n- Python 3.x\n\nAll libraries used are from Python’s standard library, so no additional packages are required.\n\n---\n\n## 🔢 Validation Algorithm\n\n1. The ID must be a **10-digit number**.\n2. All digits **cannot be the same**.\n3. Compute the **checksum** as follows:\nchecksum = (10×digit1 + 9×digit2 + ... + 2×digit9) % 11\n\n4. Then:\n- If `checksum \u003c 2`, it must be equal to the **10th digit**.\n- If `checksum \u003e= 2`, then `10th digit = 11 - checksum`.\n\n---\n\n## 🎨UI\n\n![validid1](https://github.com/user-attachments/assets/35f27482-860a-4fb5-8eb5-e21c6645f01a)\n\n\n## 👨‍💻Used Technologies\n- streamlit\n- python\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhad-here%2Fid_validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarhad-here%2Fid_validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhad-here%2Fid_validator/lists"}