{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Validates and generates CLABE numbers, Mexico's standard bank account identifier, with built-in bank code lookup and Pydantic integration.","skillfed_tags":["banking","mexico","validation"],"use_cases":["Validate CLABE account numbers in financial transaction forms or APIs before processing payments.","Use CLABE as a pydantic field type to automatically validate bank account input in data models.","Look up the bank name from a bank code for display or reconciliation purposes.","Generate test CLABE numbers for unit tests or sandbox environments.","Compute the correct control digit for a partial CLABE to verify or reconstruct account identifiers."],"what_it_does":"clabe is a Python library for working with CLABE numbers, Mexico's standardized bank account identifiers used in the SPEI payment system. It provides validation, control digit computation, bank name lookup from the bank code, and generation of new valid CLABE numbers. The package integrates directly with pydantic as a custom type, allowing you to use CLABE as a validated field in pydantic models with automatic error reporting for invalid bank codes or malformed numbers.\n\nThe library maintains an internal registry of Mexican bank codes and names, with tooling to detect and track changes against the official Banxico participant list. As of version 2.0.0, the package requires pydantic v2 and drops support for earlier versions. You can add or remove banks programmatically, though the maintainers recommend keeping the official bank list synchronized via pull requests rather than runtime modifications.","worth_installing":"Yes. The package is actively maintained, has no security vulnerabilities, installs with minimal friction (one lightweight dependency), and directly solves a specific problem for anyone working with Mexican banking data. The pydantic integration is particularly valuable if you're already using pydantic for data validation."},"id":"clabe","links":{"html":"https://skillfed.io/packages/clabe","md":"https://skillfed.io/packages/clabe.md","pypi":"https://pypi.org/project/clabe/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-05","license_spdx":null,"license_treatment":"permissive","name":"clabe","python_support":"supports_current","summary":"Validate and generate the control digit of a CLABE in Mexico"},"popularity":{"monthly_downloads":138258,"position":11334,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.11"}
