
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.