How To Install python3-stdnum on Kali Linux

In this tutorial we learn how to install python3-stdnum on Kali Linux. python3-stdnum is Python module to handle standardized numbers and codes (Python3 version)

Introduction

In this tutorial we learn how to install python3-stdnum on Kali Linux.

What is python3-stdnum

python3-stdnum is:

A Python module to parse, validate and reformat standard numbers and codes in different formats.

Currently this package supports the following formats:

  • NRT (N?mero de Registre Tributari, Andorra tax number)
  • NIPT (Numri i Identifikimit p?r Personin e Tatuesh?m, Albanian VAT number)
  • CBU (Clave Bancaria Uniforme, Argentine bank account number)
  • CUIT (C?digo ?nico de Identificaci?n Tributaria, Argentinian tax number)
  • DNI (Documento Nacional de Identidad, Argentinian national identity nr.)
  • Austrian Company Register Numbers
  • Postleitzahl (Austrian postal code)
  • Abgabenkontonummer (Austrian tax identification number)
  • UID (Umsatzsteuer-Identifikationsnummer, Austrian VAT number)
  • VNR, SVNR, VSNR (Versicherungsnummer, Austrian social security number)
  • ABN (Australian Business Number)
  • ACN (Australian Company Number)
  • TFN (Australian Tax File Number)
  • Belgian IBAN (International Bank Account Number)
  • BTW, TVA, NWSt, ondernemingsnummer (Belgian enterprise number)
  • EGN (???, ?????? ?????????? ?????, Bulgarian personal identity codes)
  • PNF (???, ????? ????? ?? ????????, Bulgarian number of a foreigner)
  • VAT (???????????????? ????? ?? ???, Bulgarian VAT number)
  • BIC (ISO 9362 Business identifier codes)
  • Bitcoin address
  • CNPJ (Cadastro Nacional da Pessoa Jur?dica, Brazilian company identifier)
  • CPF (Cadastro de Pessoas F?sicas, Brazilian national identifier)
  • ???, UNP (??????? ????? ???????????, the Belarus VAT number)
  • BN (Canadian Business Number)
  • SIN (Canadian Social Insurance Number)
  • CAS RN (Chemical Abstracts Service Registry Number)
  • ESR, ISR, QR-reference (reference number on Swiss payment slips)
  • Swiss social security number (“Sozialversicherungsnummer”)
  • UID (Unternehmens-Identifikationsnummer, Swiss business identifier)
  • VAT, MWST, TVA, IVA, TPV (Mehrwertsteuernummer, the Swiss VAT number)
  • RUT (Rol ?nico Tributario, Chilean national tax number)
  • RIC No. (Chinese Resident Identity Card Number)
  • USCC (Unified Social Credit Code, ????????????, China tax number)
  • NIT (N?mero De Identificaci?n Tributaria, Colombian identity code)
  • CPF (C?dula de Persona F?sica, Costa Rica physical person ID number)
  • CPJ (C?dula de Persona Jur?dica, Costa Rica tax number)
  • CR (C?dula de Residencia, Costa Rica foreigners ID number)
  • NI (N?mero de identidad, Cuban identity card numbers)
  • CUSIP number (financial security identification number)
  • ??????? ???????? ?.?.?. (Cypriot VAT number)
  • DI? (Da?ov? identifika?n? ??slo, Czech VAT number)
  • R? (Rodn? ??slo, the Czech birth number)
  • Handelsregisternummer (German company register number)
  • IdNr (Steuerliche Identifikationsnummer, German personal tax number)
  • St.-Nr. (Steuernummer, German tax number)
  • Ust ID Nr. (Umsatzsteur Identifikationnummer, German VAT number)
  • Wertpapierkennnummer (German securities identification code)
  • CPR (personnummer, the Danish citizen number)
  • CVR (Momsregistreringsnummer, Danish VAT number)
  • Cedula (Dominican Republic national identification number)
  • NCF (N?meros de Comprobante Fiscal, Dominican Republic receipt number)
  • RNC (Registro Nacional del Contribuyente, Dominican Republic tax number)
  • EAN (International Article Number)
  • CI (C?dula de identidad, Ecuadorian personal identity code)
  • RUC (Registro ?nico de Contribuyentes, Ecuadorian company tax number)
  • Isikukood (Estonian Personcal ID number)
  • KMKR (K?ibemaksukohuslase, Estonian VAT number)
  • Registrikood (Estonian organisation registration code)
  • CCC (C?digo Cuenta Corriente, Spanish Bank Account Code)
  • CIF (C?digo de Identificaci?n Fiscal, Spanish company tax number)
  • CUPS (C?digo Unificado de Punto de Suministro, Spanish meter point number)
  • DNI (Documento Nacional de Identidad, Spanish personal identity codes)
  • Spanish IBAN (International Bank Account Number)
  • NIE (N?mero de Identificaci?n de Extranjero, Spanish foreigner number)
  • NIF (N?mero de Identificaci?n Fiscal, Spanish VAT number)
  • Referencia Catastral (Spanish real estate property id)
  • SEPA Identifier of the Creditor (AT-02)
  • Euro banknote serial numbers
  • EIC (European Energy Identification Code)
  • NACE (classification for businesses in the European Union)
  • VAT (European Union VAT number)
  • ALV nro (Arvonlis?veronumero, Finnish VAT number)
  • Finnish Association Identifier
  • HETU (Henkil?tunnus, Finnish personal identity code)
  • Veronumero (Finnish individual tax number)
  • Y-tunnus (Finnish business identifier)
  • FIGI (Financial Instrument Global Identifier)
  • NIF (Num?ro d’Immatriculation Fiscale, French tax identification number)
  • NIR (French personal identification number)
  • SIREN (a French company identification number)
  • SIRET (a French company establishment identification number)
  • n? TVA (taxe sur la valeur ajout?e, French VAT number)
  • NHS (United Kingdom National Health Service patient identifier)
  • SEDOL number (Stock Exchange Daily Official List number)
  • UPN (English Unique Pupil Number)
  • UTR (United Kingdom Unique Taxpayer Reference)
  • VAT (United Kingdom (and Isle of Man) VAT registration number)
  • AMKA (??????? ??????? ?????????? ?????????, Greek social security number)
  • FPA, ???, ??? (??????? ??????????? ???????, the Greek VAT number)
  • GRid (Global Release Identifier)
  • GS1-128 (Standard to encode product information in Code 128 barcodes)
  • NIT (N?mero de Identificaci?n Tributaria, Guatemala tax number)
  • OIB (Osobni identifikacijski broj, Croatian identification number)
  • ANUM (K?z?ss?gi ad?sz?m, Hungarian VAT number)
  • IBAN (International Bank Account Number)
  • NPWP (Nomor Pokok Wajib Pajak, Indonesian VAT Number)
  • PPS No (Personal Public Service Number, Irish personal number)
  • VAT (Irish tax reference number)
  • Company Number (???? ????, or short ?.?. Israeli company number)
  • Identity Number (Mispar Zehut, ???? ????, Israeli identity number)
  • IMEI (International Mobile Equipment Identity)
  • IMO number (International Maritime Organization number)
  • IMSI (International Mobile Subscriber Identity)
  • Aadhaar (Indian digital resident personal identity number)
  • PAN (Permanent Account Number, Indian income tax identifier)
  • Kennitala (Icelandic personal and organisation identity code)
  • VSK number (Vir?isaukaskattsn?mer, Icelandic VAT number)
  • ISAN (International Standard Audiovisual Number)
  • ISBN (International Standard Book Number)
  • ISIL (International Standard Identifier for Libraries)
  • ISIN (International Securities Identification Number)
  • ISMN (International Standard Music Number)
  • ISO 11649 (Structured Creditor Reference)
  • ISO 6346 (International standard for container identification)
  • ISSN (International Standard Serial Number)
  • AIC (Italian code for identification of drugs)
  • Codice Fiscale (Italian tax code for individuals)
  • Partita IVA (Italian VAT number)
  • CN (??????, h?jin bang?, Japanese Corporate Number)
  • BRN (????? ??? ???, South Korea Business Registration Number)
  • RRN (South Korean resident registration number)
  • LEI (Legal Entity Identifier)
  • PEID (Liechtenstein tax code for individuals and entities)
  • Asmens kodas (Lithuanian, personal numbers)
  • PVM (Prid?tin?s vert?s mokestis mok?tojo kodas, Lithuanian VAT number)
  • TVA (taxe sur la valeur ajout?e, Luxembourgian VAT number)
  • PVN (Pievienot?s v?rt?bas nodok?a, Latvian VAT number)
  • MAC address (Media Access Control address)
  • n? TVA (taxe sur la valeur ajout?e, Monacan VAT number)
  • IDNO (Moldavian company identification number)
  • Montenegro IBAN (International Bank Account Number)
  • MEID (Mobile Equipment Identifier)
  • VAT (Maltese VAT number)
  • ID number (Mauritian national identifier)
  • CURP (Clave ?nica de Registro de Poblaci?n, Mexican personal ID)
  • RFC (Registro Federal de Contribuyentes, Mexican tax number)
  • NRIC No. (Malaysian National Registration Identity Card Number)
  • BRIN number (the Dutch school identification number)
  • BSN (Burgerservicenummer, the Dutch citizen identification number)
  • Btw-identificatienummer (Omzetbelastingnummer, the Dutch VAT number)
  • Onderwijsnummer (the Dutch student identification number)
  • Postcode (the Dutch postal code)
  • F?dselsnummer (Norwegian birth number, the national identity number)
  • Norwegian IBAN (International Bank Account Number)
  • Konto nr. (Norwegian bank account number)
  • MVA (Merverdiavgift, Norwegian VAT number)
  • Orgnr (Organisasjonsnummer, Norwegian organisation number)
  • New Zealand bank account number
  • IRD number (New Zealand Inland Revenue Department (Te Tari T?ke) number)
  • CUI (C?dula ?nica de Identidad, Peruvian identity number)
  • RUC (Registro ?nico de Contribuyentes, Peruvian company tax number)
  • NIP (Numer Identyfikacji Podatkowej, Polish VAT number)
  • PESEL (Polish national identification number)
  • REGON (Rejestr Gospodarki Narodowej, Polish register of economic units)
  • NIF (N?mero de identifica??o fiscal, Portuguese VAT number)
  • RUC number (Registro ?nico de Contribuyentes, Paraguay tax number)
  • CF (Cod de ?nregistrare ?n scopuri de TVA, Romanian VAT number)
  • CNP (Cod Numeric Personal, Romanian Numerical Personal Code)
  • CUI or CIF (Codul Unic de ?nregistrare, Romanian company identifier)
  • ONRC (Ordine din Registrul Comer?ului, Romanian Trade Register identifier)
  • PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
  • ??? (????????????????? ????? ?????????????????, Russian tax identifier)
  • Orgnr (Organisationsnummer, Swedish company number)
  • Personnummer (Swedish personal identity number)
  • VAT (Moms, Merv?rdesskatt, Swedish VAT number)
  • UEN (Singapore’s Unique Entity Number)
  • ID za DDV (Dav?na ?tevilka, Slovenian VAT number)
  • I? DPH (I? pre da? z pridanej hodnoty, Slovak VAT number)
  • R? (Rodn? ??slo, the Slovak birth number)
  • COE (Codice operatore economico, San Marino national tax number)
  • NIT (N?mero de Identificaci?n Tributaria, El Salvador tax number)
  • T.C. Kimlik No. (Turkish personal identification number)
  • VKN (Vergi Kimlik Numaras?, Turkish tax identification number)
  • UBN (Unified Business Number, ??????, Taiwanese tax number)
  • ??????, EDRPOU (Identifier for enterprises and organizations in Ukraine)
  • ??????, RNTRC (Individual taxpayer registration number in Ukraine)
  • ATIN (U.S. Adoption Taxpayer Identification Number)
  • EIN (U.S. Employer Identification Number)
  • ITIN (U.S. Individual Taxpayer Identification Number)
  • PTIN (U.S. Preparer Tax Identification Number)
  • RTN (Routing transport number)
  • SSN (U.S. Social Security Number)
  • TIN (U.S. Taxpayer Identification Number)
  • RUT (Registro ?nico Tributario, Uruguay tax number)
  • VATIN (International value added tax identification number)
  • RIF (Registro de Identificaci?n Fiscal, Venezuelan VAT number)
  • MST (M? s?? thu??, Vietnam tax number)
  • ID number (South African Identity Document number)
  • TIN (South African Tax Identification Number)

Furthermore a number of generic check digit algorithms are available:

  • the Verhoeff algorithm
  • the Damm algorithm
  • the Luhn and Luhn mod N algorithms
  • some algorithms described in ISO/IEC 7064: Mod 11, 2, Mod 37, 2, Mod 97, 10, Mod 11, 10 and Mod 37, 36

This package contains the Python 3 version of the library.

There are three methods to install python3-stdnum on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-stdnum Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python3-stdnum using apt-get by running the following command:

sudo apt-get -y install python3-stdnum

Install python3-stdnum Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-stdnum using apt by running the following command:

sudo apt -y install python3-stdnum

Install python3-stdnum Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-stdnum using aptitude by running the following command:

sudo aptitude -y install python3-stdnum

How To Uninstall python3-stdnum on Kali Linux

To uninstall only the python3-stdnum package we can use the following command:

sudo apt-get remove python3-stdnum

Uninstall python3-stdnum And Its Dependencies

To uninstall python3-stdnum and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove python3-stdnum

Remove python3-stdnum Configurations and Data

To remove python3-stdnum configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge python3-stdnum

Remove python3-stdnum configuration, data, and all of its dependencies

We can use the following command to remove python3-stdnum configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-stdnum

Dependencies

python3-stdnum have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-stdnum package on Kali Linux using different package management tools: apt, apt-get and aptitude.