No project description provided
Project description
Gotta get schwifty with your IBANs
schwifty is a Python library that let’s you easily work with IBANs and BICs as specified by the ISO. IBAN is the Internation Bank Account Number and BIC the Business Identifier Code. Both are used for international money transfer.
Features
schwifty lets you
validate check-digits and the country specific format of IBANs
validate format and country codes from BICs
generate BICs from country and bank-code
generate IBANs from country-code, bank-code and account-number.
generate random valid IBANs
get the BIC associated to an IBAN’s bank-code
access all relevant components as attributes
See the docs for more inforamtion.
Versioning
Since the IBAN specification and the mapping from BIC to bank_code is updated from time to time, schwifty uses CalVer for versioning with the scheme YY.0M.Micro.
Installation
To install schwifty, simply:
$ pip install schwifty
Development
We use the black as code formatter. This avoids discussions about style preferences in the same way as gofmt does the job for Golang. The conformance to the formatting rules is checked in the CI pipeline, so that it is recommendable to install the configured pre-commit-hook, in order to avoid long feedback-cycles.
$ pre-commit install
You can also use the fmt Makefile-target to format the code or use one of the available editor integrations.
Project Information
schwifty is released under MIT license and its documentation lives at Read the Docs. The code is maintained on GitHub and packages are distributed on PyPI
Name
Since swift and swiftly were already taken by the OpenStack-project, but we somehow wanted to point out the connection to SWIFT, Rick and Morty came up with the idea to name the project schwifty.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file schwifty-2024.11.0.tar.gz
.
File metadata
- Download URL: schwifty-2024.11.0.tar.gz
- Upload date:
- Size: 735.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0aaed03168403b433de515d663df09516941ae70152850da3afe3c242255f6a |
|
MD5 | 63d74994080a075514934693ddf14e34 |
|
BLAKE2b-256 | 2ec3a1987ba6081fc50fe371e5b1df85b50d6487c6e7101d942a38db9c3ea31d |
File details
Details for the file schwifty-2024.11.0-py3-none-any.whl
.
File metadata
- Download URL: schwifty-2024.11.0-py3-none-any.whl
- Upload date:
- Size: 359.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743bb6ae91f1cded149b3842f9becf795f19641d75755f73eaf921524b1ba8f9 |
|
MD5 | 60e6aa802c810549cbdbe80e56e2b05c |
|
BLAKE2b-256 | 2b5d5a585e2a9bf74acd5474b264d00e59b894b4f3f4d60a61f4ee4a5d574323 |