René's URL Explorer Experiment


Title: Add Mir card validation support by TheDrunkenBear · Pull Request #420 · python-validators/validators · GitHub

Open Graph Title: Add Mir card validation support by TheDrunkenBear · Pull Request #420 · python-validators/validators

X Title: Add Mir card validation support by TheDrunkenBear · Pull Request #420 · python-validators/validators

Description: This PR introduces validation for Mir cards (Russian payment system) to the validators library. Key Changes: Added mir() validator function with BIN checks (2200-2204) Ensures compliance with Luhn algorithm Includes length validation (16 digits standard) Added unit tests for valid/invalid cases Why This Matters: Mir is a nationally critical payment system (used in Russia and neighboring countries) Required for apps processing payments in RUB Maintains parity with other card validators (Visa, Mastercard, Unionpay etc.)

Open Graph Description: This PR introduces validation for Mir cards (Russian payment system) to the validators library. Key Changes: Added mir() validator function with BIN checks (2200-2204) Ensures compliance with Luhn...

X Description: This PR introduces validation for Mir cards (Russian payment system) to the validators library. Key Changes: Added mir() validator function with BIN checks (2200-2204) Ensures compliance with Luhn...

Opengraph URL: https://github.com/python-validators/validators/pull/420

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dca93574-a152-b210-ec1e-7566b241a926
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC66E:2E40D:FC7691:1543F52:698F7FC7
html-safe-noncecf48423c505b41e8b1b2874379b79c255b3608cc7e3d7939f8716aa980ef0b7e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjZFOjJFNDBEOkZDNzY5MToxNTQzRjUyOjY5OEY3RkM3IiwidmlzaXRvcl9pZCI6IjIyNDMwNjY5NzQ0MTc0MjAyMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1559c41dcd33588d0b6979cb8bfef1df3939edf74aabf1fbc1d903d5edc6deca
hovercard-subject-tagpull_request:2434311875
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-validators/validators/pull/420/files
twitter:imagehttps://avatars.githubusercontent.com/u/26852038?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/26852038?s=400&v=4
og:image:altThis PR introduces validation for Mir cards (Russian payment system) to the validators library. Key Changes: Added mir() validator function with BIN checks (2200-2204) Ensures compliance with Luhn...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4763146d672e989a41c6c0bd715790c0c59341d9f855508c8a3196e1e480b8f7
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-validators/validators git https://github.com/python-validators/validators.git
octolytics-dimension-user_id113113270
octolytics-dimension-user_loginpython-validators
octolytics-dimension-repository_id13642984
octolytics-dimension-repository_nwopython-validators/validators
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13642984
octolytics-dimension-repository_network_root_nwopython-validators/validators
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8b442a4e0d8e68ffb351da689499018fde153e49
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-validators/validators/pull/420/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-validators%2Fvalidators%2Fpull%2F420%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-validators%2Fvalidators%2Fpull%2F420%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-validators%2Fvalidators
Reloadhttps://github.com/python-validators/validators/pull/420/files
Reloadhttps://github.com/python-validators/validators/pull/420/files
Reloadhttps://github.com/python-validators/validators/pull/420/files
python-validators https://github.com/python-validators
validatorshttps://github.com/python-validators/validators
Notifications https://github.com/login?return_to=%2Fpython-validators%2Fvalidators
Fork 169 https://github.com/login?return_to=%2Fpython-validators%2Fvalidators
Star 1.1k https://github.com/login?return_to=%2Fpython-validators%2Fvalidators
Code https://github.com/python-validators/validators
Issues 4 https://github.com/python-validators/validators/issues
Pull requests 3 https://github.com/python-validators/validators/pulls
Discussions https://github.com/python-validators/validators/discussions
Actions https://github.com/python-validators/validators/actions
Projects 0 https://github.com/python-validators/validators/projects
Wiki https://github.com/python-validators/validators/wiki
Security 0 https://github.com/python-validators/validators/security
Insights https://github.com/python-validators/validators/pulse
Code https://github.com/python-validators/validators
Issues https://github.com/python-validators/validators/issues
Pull requests https://github.com/python-validators/validators/pulls
Discussions https://github.com/python-validators/validators/discussions
Actions https://github.com/python-validators/validators/actions
Projects https://github.com/python-validators/validators/projects
Wiki https://github.com/python-validators/validators/wiki
Security https://github.com/python-validators/validators/security
Insights https://github.com/python-validators/validators/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-validators%2Fvalidators%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-validators%2Fvalidators%2Fissues%2Fnew%2Fchoose
nandgatorhttps://github.com/nandgator
python-validators:masterhttps://github.com/python-validators/validators/tree/master
TheDrunkenBear:validate_mir_cardshttps://github.com/TheDrunkenBear/validators/tree/validate_mir_cards
Conversation 2 https://github.com/python-validators/validators/pull/420
Commits 8 https://github.com/python-validators/validators/pull/420/commits
Checks 17 https://github.com/python-validators/validators/pull/420/checks
Files changed 3 https://github.com/python-validators/validators/pull/420/files
Add Mir card validation support https://github.com/python-validators/validators/pull/420/files#top
Show all changes 8 commits https://github.com/python-validators/validators/pull/420/files
cee8d54 feat(validators): add Mir card number validation TheDrunkenBear Apr 2, 2025 https://github.com/python-validators/validators/pull/420/commits/cee8d5422422ed393c09f6cfd416896bccb1a4ab
7c497af feat: add mir method to __init__ TheDrunkenBear Apr 2, 2025 https://github.com/python-validators/validators/pull/420/commits/7c497af9931627d991da38fd2d46f12c600bf5e2
af32a68 test(card): add Mir card validation tests TheDrunkenBear Apr 2, 2025 https://github.com/python-validators/validators/pull/420/commits/af32a68dab614d3e77bbf2021dd5f247d3b247c9
b91452f docs(mir): update example valid mir card TheDrunkenBear Apr 2, 2025 https://github.com/python-validators/validators/pull/420/commits/b91452f6ef5f345707a90c093d5a904fce0a89e1
2eabc13 fix(tests): update examples mir_cards and drop mir_cards from failed_… TheDrunkenBear Apr 2, 2025 https://github.com/python-validators/validators/pull/420/commits/2eabc1378cc17b7255d7493a39c2d20f9d7329fb
47ac5bd fix: rearrangement of imports TheDrunkenBear Apr 2, 2025 https://github.com/python-validators/validators/pull/420/commits/47ac5bdfef8397529c91a95fb7a1b9f0aa760db7
49934fb fix(tests): update imports TheDrunkenBear Apr 2, 2025 https://github.com/python-validators/validators/pull/420/commits/49934fbadbc1496e1b941ae5c16f5a67c5d91aeb
cfdb7b6 chore: formatting nandgator Apr 26, 2025 https://github.com/python-validators/validators/pull/420/commits/cfdb7b689cb7eea11700dae037d3959900f91f24
Clear filters https://github.com/python-validators/validators/pull/420/files
Please reload this pagehttps://github.com/python-validators/validators/pull/420/files
Please reload this pagehttps://github.com/python-validators/validators/pull/420/files
__init__.py https://github.com/python-validators/validators/pull/420/files#diff-098add4e504039d057543455a3f0fdd9374f9333573873a373c92558d8d9162b
card.py https://github.com/python-validators/validators/pull/420/files#diff-f9b63fbe27ef5455d35a31e93d59068547b4fb656a308911c6e70005b201f4d5
test_card.py https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
src/validators/__init__.pyhttps://github.com/python-validators/validators/pull/420/files#diff-098add4e504039d057543455a3f0fdd9374f9333573873a373c92558d8d9162b
View file https://github.com/TheDrunkenBear/validators/blob/cfdb7b689cb7eea11700dae037d3959900f91f24/src/validators/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-validators/validators/pull/420/{{ revealButtonHref }}
https://github.com/python-validators/validators/pull/420/files#diff-098add4e504039d057543455a3f0fdd9374f9333573873a373c92558d8d9162b
https://github.com/python-validators/validators/pull/420/files#diff-098add4e504039d057543455a3f0fdd9374f9333573873a373c92558d8d9162b
https://github.com/python-validators/validators/pull/420/files#diff-098add4e504039d057543455a3f0fdd9374f9333573873a373c92558d8d9162b
https://github.com/python-validators/validators/pull/420/files#diff-098add4e504039d057543455a3f0fdd9374f9333573873a373c92558d8d9162b
src/validators/card.pyhttps://github.com/python-validators/validators/pull/420/files#diff-f9b63fbe27ef5455d35a31e93d59068547b4fb656a308911c6e70005b201f4d5
View file https://github.com/TheDrunkenBear/validators/blob/cfdb7b689cb7eea11700dae037d3959900f91f24/src/validators/card.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-validators/validators/pull/420/{{ revealButtonHref }}
https://github.com/python-validators/validators/pull/420/files#diff-f9b63fbe27ef5455d35a31e93d59068547b4fb656a308911c6e70005b201f4d5
tests/test_card.pyhttps://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
View file https://github.com/TheDrunkenBear/validators/blob/cfdb7b689cb7eea11700dae037d3959900f91f24/tests/test_card.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-validators/validators/pull/420/{{ revealButtonHref }}
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
https://github.com/python-validators/validators/pull/420/files#diff-91a1aec3e41db48849e23023345718e1e4887a73a48e5d2d6deda364afea08c7
Please reload this pagehttps://github.com/python-validators/validators/pull/420/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.