
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
iban-validation-polars
Advanced tools
A package to facilitate validation of IBANs and selecting Bank identifier and Branch identifier as a Polars plugin
A high-performance Polars plugin for validating IBANs (International Bank Account Numbers) and extracting bank/branch identifiers leveraging Polars Multi-threaded feature and performance.
Example:
import polars as pl
from iban_validation_polars import process_ibans
import os
inputfile = r'iban_validation_rs/data/IBAN Examples.txt'
outputfile = r'iban_validation_polars/examples/test_file.csv'
# File generation
df = pl.read_csv(inputfile).sample(10000000, with_replacement=True)
df.write_csv(outputfile)
print('writing to file complete')
# using the library
df = pl.scan_csv(outputfile)\
.with_columns(
validated=process_ibans('IBAN Examples').str.split_exact(',',2)\
.struct.rename_fields(['valid_ibans', 'bank_id', 'branch_id'])
).unnest('validated').sort(by='IBAN Examples', descending=True)
# show some results
print(df.collect(streaming=True))
# cleanup
os.remove(outputfile)
âś… Fast IBAN validation (Rust-powered)
âś… Bank identifier extraction
âś… Branch identifier extraction
âś… Support for all IBAN countries (SWIFT Registry v99)
âś… Zero-copy operations where possible
pip install iban-validation-polars
This polars plugin was the principal objective of this library; the benchmarks here highlight how much faster it is to use the plugin than to call the Python library with map_element (about 100 times faster).
process_ibans(column: pl.Expr) -> pl.Expr
Validates IBANs and extracts bank/branch information in a single operation.
Parameters:
Returns:
This pluging does not raise exception under normal operation.
Cheers to the pyo3-polars project! It made this library possible.
FAQs
A package to facilitate validation of IBANs and selecting Bank identifier and Branch identifier as a Polars plugin
We found that iban-validation-polars demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.