$npx skillfedfor your agent

python-stdnum

Python module to handle standardized numbers and codes

Worth itPyPI Python ModulesReleased Jan 20266.2M downloads / moLGPLPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_stdnum-2.2-py3-none-any.whl
v2.2 · released 2026-01-04 · Python >=3.8

Yes. The package is production-stable, actively maintained, has no dependencies, and solves a real problem for any application handling international identifiers or financial codes. The copyleft license is standard for this type of utility and poses no barrier for most commercial use. Install it if you validate or reformat standardized numbers.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with no runtime dependencies.
  • Actively maintained with recent release and steady commit activity.
  • Supports Python 3.8 through 3.14 and PyPy.

License · maintenance · safety

LGPL (copyleft) — Licensed under LGPL (copyleft); you may use it freely but must disclose modifications and license derivative works under LGPL if distributed.

last release 2026-01-04 (222 days) · last repo commit 2026-08-14 · 588 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,192,662 downloads/mo, #1,961 on PyPI

Verify before relying

pip install python-stdnum

from stdnum.es import nif
if nif.is_valid('ABC'):
    print(nif.format('ABC'))
  • Whether validation rules are kept current with real-world regulatory changes across all supported jurisdictions.
  • Performance characteristics when validating large batches of numbers.
  • Exact count of supported country formats and number types.
Same gist for agents: .md · .json

What it is and what it does

python-stdnum is a validation and formatting library for standardized identification and financial numbers used across the world. It handles tax IDs, VAT numbers, bank account identifiers, national identity codes, and other regulated number formats from many countries and regions. The library provides functions to check whether a number is valid according to its format's checksum or structural rules, and to reformat numbers into canonical or display-friendly forms.

The package is designed for developers in finance, insurance, telecommunications, and government sectors who need to validate user input or process international identifiers. It has no external dependencies, installs quickly, and works across modern Python versions. Typical use cases include validating customer tax IDs before submission to authorities, checking IBAN correctness in payment systems, or normalizing identity numbers for database storage.

Use it for

  • Validate a customer's tax ID or VAT number before submitting to a government agency or payment processor.
  • Normalize and reformat bank account numbers for consistent storage or display in financial applications.
  • Check the structural validity of national identity card numbers during user registration or KYC workflows.
  • Parse and validate international business registration numbers in multi-country accounting systems.
  • Verify financial security identifiers in trading or portfolio management tools.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is production-stable, actively maintained, has no dependencies, and solves a real problem for any application handling international identifiers or financial codes. The copyleft license is standard for this type of utility and poses no barrier for most commercial use. Install it if you validate or reformat standardized numbers.

Install

python-stdnum on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Actively maintained with recent release and steady commit activity. Supports Python 3.8 through 3.14 and PyPy.

License in practice

Licensed under LGPL (copyleft); you may use it freely but must disclose modifications and license derivative works under LGPL if distributed.

Quickstart

pip install python-stdnum

from stdnum.es import nif
if nif.is_valid('ABC'):
    print(nif.format('ABC'))

Verify before relying

  • Whether validation rules are kept current with real-world regulatory changes across all supported jurisdictions.
  • Performance characteristics when validating large batches of numbers.
  • Exact count of supported country formats and number types.

Package facts

LicenseLGPL copyleft
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 222 days since the last release
Last repo commit
First released
Downloads6,192,662 / month, #1,961 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryIntended Audience :: Information TechnologyIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Office/Business :: FinancialTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: General

Evidence: python_stdnum-2.2-py3-none-any.whl

Tags

Capabilities
validate tax id numberparse iban bank accountcheck vat number formatidentity card validationstandardized number parserinternational tax identifierfinancial code validator
Topics
validationinternational-identifiersfinancial-codes

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “validate tax id number”

  • python-stdnumParses, validates, and reformats standard numbers and codes across…
  • brazilnumValidates and formats Brazilian identification numbers including…
  • django-localflavorProvides country-specific form fields, validators, and helpers for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also clabe · python-codicefiscale · brazilnum · luhn · barcodenumber · country-converter · vat-utils · phonenumberslite · numerize · num2words