IBAN validator — check IBAN format and mod-97 checksum for 100+ countries. Use when you need to validate international bank account numbers. Pure stdlib, no...
编程
axiom-luhn-check
试用Luhn algorithm validator — credit cards (Visa, MC, Amex, Discover), SIRET/SIREN, IMEI, ISBN-10/13. Use when you need to validate any number that uses Luhn. P...
它能做什么
Luhn algorithm validator — credit cards (Visa, MC, Amex, Discover), SIRET/SIREN, IMEI, ISBN-10/13. Use when you need to validate any number that uses Luhn. Pure stdlib, no LLM.
技能文档
axiom-luhn-check
Version: 0.1.2 Axioma Tools
Validates numbers using the Luhn algorithm with auto-detection of common types.
What this skill does
- Luhn check on any number string
- Auto-detects type (Visa/MC/Amex/Discover/SIRET/IMEI/ISBN-10/13)
- JSON output for scripting
- Handles spaces and dashes in input
When to use this skill
- ✅ Validate credit card before submission
- ✅ Audit IMEI of mobile devices
- ✅ Validate ISBN before cataloging books
- ✅ Validate French SIRET/SIREN
- ❌ Need PCI-compliant full validation (this is checksum only)
Usage
python3 axiom_luhn_check.py "4532 0151 1283 0366"
python3 axiom_luhn_check.py "356938035643809" --json
from axiom_luhn_check import validate, detect_type
validate('4532015112830366') # True
detect_type('356938035643809') # 'amex'
Validation
| Check | Status |
|---|---|
| Unit tests | 25+ cases |
| Performance | <100ms |
| Security | Pure stdlib, no injection |
| Determinism | Byte-to-byte stable |
| License | Apache-2.0 |
Last updated: 2026-06-14
相关技能
Phone number normalizer — convert any phone number to E.164 international format. Use when you need a canonical phone representation for storage or compariso...
UUID inspector — parse any UUID and extract version (1-8), variant (RFC 4122, Microsoft, NCS, Future), timestamp (v1, v7), MAC address (v1). Use when you nee...
Cron expression explainer — translate cron syntax to human language (English or French). Use when you need to understand, document, or validate a cron expres...
Hreflang and international SEO audit, validation, and generation. Detects common mistakes, validates language/region codes, and generates correct hreflang implementations. Use when user says "hreflang", "i18n SEO", "international SEO", "multi-language", "multi-region", or "language tags".
Resolve a card name to the exact variant