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
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bb287c17-e9d4-125b-fe31-b02980d8f6fb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9146:1271AC:6EE5D3:9514C0:698E37B7 |
| html-safe-nonce | 86ec681109b1d7956f887f14c3da906554b644c53993575c0b4e8329fd459339 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTQ2OjEyNzFBQzo2RUU1RDM6OTUxNEMwOjY5OEUzN0I3IiwidmlzaXRvcl9pZCI6IjQ2ODY4NDQwMzA4NjgxNDIwMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 19e35dd9f946f557b9a763374ee38b80bd3049eadef1cfcdb1084410d048e497 |
| hovercard-subject-tag | pull_request:2434311875 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-validators/validators/pull/420/files |
| twitter:image | https://avatars.githubusercontent.com/u/26852038?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/26852038?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-validators/validators git https://github.com/python-validators/validators.git |
| octolytics-dimension-user_id | 113113270 |
| octolytics-dimension-user_login | python-validators |
| octolytics-dimension-repository_id | 13642984 |
| octolytics-dimension-repository_nwo | python-validators/validators |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13642984 |
| octolytics-dimension-repository_network_root_nwo | python-validators/validators |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa1fa9100f85cd8b602c63c7e337f9151e70024f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width