Skip to content

jifernandezv/cbu-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cbu_tools

cbu_tools is a Python package that provides tools for working with Clave Bancaria Uniforme (CBU) numbers, which are bank account identifiers used in Argentina.

Features

  • Validate a CBU number

Installation

You can install cbu_tools using pip:

$ pip install cbu_tools

Usage

Once installed, you can import the CBU class from cbu_tools and use it to validate CBU numbers:

from cbu_tools import CBU

cbu = CBU("0170099220000067797370")

if cbu.is_valid():
    print("Valid CBU")
else:
    print("Invalid CBU")

Please note that is_valid merely validates the format and checksum of a CBU according to the algorithm specified for CBU validation. It does not perform any verification or validation against external systems to determine if the CBU exists or if it is associated with a specific person or entity.

Running Tests

You can run the tests using tox:

$ tox

License

This project is licensed under the MIT License. See the LICENSE.txt file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages