
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
iban-validation-polars
Advanced tools
A package to facilitate validation of IBANs and selecting Bank identifier and Branch identifier as a Polars plugin
A package to facilitate validation of IBANs and getting bank identifier and branch identifier as a Polars plugin.
Leveraging Polars Multi-threaded feature to split IBANs
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)
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 80 times faster).
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.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.