Skip to main content

A package for working with Clave Bancaria Uniforme (CBU)

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbu_tools-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

cbu_tools-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file cbu_tools-1.0.0.tar.gz.

File metadata

  • Download URL: cbu_tools-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for cbu_tools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3fe89c95b335f035f4dec5ed1e7f41fdb125b7d22dd78f372c1bd086953001c6
MD5 0541bb13fba7e3f0eaee7331eddc469b
BLAKE2b-256 78acee07a307c57654a2474ba46c767009328bb8e1fb2ce6a263de183a257d79

See more details on using hashes here.

File details

Details for the file cbu_tools-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cbu_tools-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for cbu_tools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9ebd186fd7ea06e6dd14b63fb42f3b981295fe8d26dd0c07d800d8065e9482
MD5 72354f6d9d614b5feff5b303ede7fb9e
BLAKE2b-256 d5b9e22337d6de4ffc71352fc2bec104d5bc89c42a507908b52711b6d663e600

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page