cuenca-mx / clabe-python Goto Github PK
View Code? Open in Web Editor NEWValidation tools for CLABEs (bank account numbers in Mexico)
License: MIT License
Validation tools for CLABEs (bank account numbers in Mexico)
License: MIT License
validate_clabe
to make sure the first 3 digits correspond to a bankUse arcus-python as a reference.
Add an Enum
that includes all código de plazas.
.../lib/python3.9/site-packages/clabe/init.py:13: in
from .types import Clabe
.../lib/python3.9/site-packages/clabe/types.py:3: in
from pydantic.errors import NotDigitError
.../lib/python3.9/site-packages/pydantic/_migration.py:295: in wrapper
raise PydanticImportError(f'{import_path}
has been removed in V2.')
E pydantic.errors.PydanticImportError: pydantic.errors:NotDigitError
has been removed in V2.
E
E For further information visit https://errors.pydantic.dev/2.1.1/u/import-error
bump version and push to pypi
TravisCI is currently running for 3.5, 3.6 + 3.7-dev. It should run for 3.6 + 3.7 (not 3.7-dev).
Use arcus-python as a reference.
as a reference: https://github.com/cuenca-mx/arcus-python#release-to-pypi
but, it should be in Spanish
make release
is no longer required and should be removed
Not all beneficiaries will know their CLABE but will know their account numbers. It's possible to compute the CLABE from the account number.
base_clabe = f'{BankCode.BBVA_BANCOMER.value}{PlazaCode.PLAZA.value}0{account_number}'
full_clabe = base_clabe + compute_control_digit(base_clabe)
Gracias por el desarrollo.
Se agradecería un comentario sobre las actualizaciones del catálogo de bancos...
o en este caso, la falta de actualizaciones.
En mi caso descubrí que falta el banco Shinhan con clave 157
.
Cuando pueda les haré un pull request para actualizarlo, pero mientras les dejo el comentario.
90679 no es una institución válida para STP
Documentación de las instituciones válidas según STP en su ticket 130876
All automated test coverage + the status badge for coveralls.io.
Use arcus-python as a reference.
A tagged commit with a passing build (on 3.7) should auto-deploy to PyPi. TravisCI supports this functionality.
Use arcus-python as a reference.
There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 429 - {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1704s.', code='throttled')}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.