Releases: mdomke/schwifty
Releases · mdomke/schwifty
2024.08.0
Added
- Added French Polynesian banks to the registry @tut-tuuut
- Added bnext to the Spanish registry @jose-reveni
Changed
- Extended the Danish bank registry, including many more banks now.
- Updated the Belgian bank registry @sennebos
- Updated bank registries for Austria, Germany, Poland, Czech Republic, Switzerland, Italy, Norway, and Netherlands.
2024.06.1
2024.06.0
2024.05.4
Added
- The
IBAN
andBBAN
classes now have an additional property currency_code for countries like Seychelles, Guatemala, or Mauritius.
Fixed
- Also allow the BIC lookup for non-primary banks. For countries like Switzerland, the lookup did fail for banks which did not have the
primary
-flag set, even though an appropriate mapping was available. IBAN.random()
now also works for countries which have a currency code included in their BBAN e.g., Mauritius or Seychelles. #206 (thanks to @noamshalev for reporting).IBAN.random()
now also works for aspirational countries, where no information of the BBAN structure is available, e.g., Comoros. #206
2024.05.3
Added
- There is a new classmethod
IBAN.random()
that allows you to create random, but valid IBANs 🎉 .You can narrow down the generated values by providing the corresponding parameters to this function. E.g., to get only Spanish IBANs you can do>>> IBAN.random() <IBAN=LT435012771675726758>
>>> IBAN.random(country_code="ES") <IBAN=ES8801253179194914182449>
Changed
- Some missing bank associations have been added to the Portuguese bank registry by @tiagoafseixas
2024.05.2
2024.05.1
2024.05.0
Fixed
- Loading JSON data into a Pydantic model with an IBAN or BIC-field (Model.model_validate_json()) was previously broken and has been fixed now.
Added
Changed
- Updated bank registries #197 @Natim
- Remove the dependency to
iso3166
since its functionality is already covered bypycountry
(suggested by @sergei-maertens)
2024.04.0
Added
- Added Revolut Bank for Spain @brunovilla
- Added support for Python 3.12
- Added manually curated bank registry for Montenegro @Djuka
Changed
- The bank registry is now internally validated, so that all domestic bank codes actually match the specification of the corresponding
BBAN
structure. As a result, some entries had to be removed, because they did contain invalid bank codes. - The Danish national checksum algorithm is considered opaque and the checksum digit is assumed to be part of the account number (which is now always 10 digits long).
Fixed
2024.01.1
Added
-
Support aspirational countries:
- Algeria
- Angola
- Benin
- Burkina Faso
- Burundi
- Cabo Verde
- Cameroon
- Central African Republic
- Chad
- Comoros
- Congo
- Côte d'Ivoire
- Djibouti
- Equatorial Guinea
- Gabon,
- Guinea-Bissau
- Honduras
- Iran
- Madagascar
- Mali
- Morocco
- Mozambique
- Nicaragua
- Niger
- Senegal
- Togo
-
National checksum algorithms for many countries have been added:
- Albania
- Bosnia and Herzegovina
- Czech Republic
- East Timor
- Estonia
- Finland
- Iceland
- Mauritania
- Montenegro
- North Macedonia
- Norway
- Poland
- Portugal
- Serbia
- Slovakia
- Slovenia
- Spain
- Tunisia
-
Add new banks to the list of French banks @Natim :
- ARKEA BP Brest
- Anytime
- Lydia Bank
- MEMO BANK
- Revolut
- SHINE
- SumUp Limited
-
New
IBAN.in_sepa_zone
-property to indicate if the IBAN's country is part of the SEPA
zone. -
New manual bank registries for
- Andorra
- Arabic Emirates
- Costa Rica
- Portugal
-
New attributes
IBAN.account_id
,IBAN.account_holder_id
and
IBAN.account_type
that are available depending on the country's BBAN specification.
E.g.IBAN.account_holder_id
is currently only available for Iceland (Kennitala) and only
Brazil defines anIBAN.account_id
.
Changed
- Use enhanced IBAN/BBAN format from Wikipedia,
since the official information from SWIFT is often inaccurate. - The support for national checksum digits has been reimplemented.
- The
IBAN
-class now has an additionalIBAN.bban
-attribute, where all country
specific functionality has been moved to. - Updated bank registries.