skillfed

rigour

Financial crime domain data validation and normalization library.

rigour v2.3.1 135.0K downloads/30d#11,455 on PyPI65
Permissive license Active released

What it is and what it does

Rigour is a data validation and normalization library designed for the financial crime and business intelligence domain. It consolidates production-tested implementations for handling human names, company names, language codes, country and territory identifiers, corporate and tax identifiers, and address formatting. The package addresses the gap between simple text handling and the complex edge cases that emerge in production systems—handling name variations, corporate entity formats, multilingual inputs, and standardized codes across jurisdictions.

The library depends on pyyaml, normality, prefixdate, orjson, python-stdnum, and jinja2 to provide its validation and normalization capabilities. It's actively maintained, supports Python 3.10 through 3.14, and includes pre-compiled wheels for macOS, Linux, and Windows architectures. The package is part of the OpenSanctions ecosystem and consolidates several older libraries (languagecodes, pantomime, fingerprints) into a single codebase.

Use it for:

  • Normalize and validate company and individual names in financial crime compliance systems or sanctions screening workflows.
  • Standardize country, language, and territory codes in international business data pipelines.
  • Format addresses according to local customs for a given country in mail or document generation systems.
  • Validate corporate and tax identifiers (e.g., VAT numbers, registration IDs) in accounting or regulatory reporting systems.
  • Clean and deduplicate business entity records from multiple sources with varying name formats and conventions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Rigour provides data cleaning and validation functions for business-world text: human and company names, language and territory codes, corporate identifiers, and addresses, with production-ready handling of edge cases.

Yes. Rigour is actively maintained, has no known vulnerabilities, supports current Python versions, and provides production-tested implementations for a specific but important domain (business data validation). The medium install friction is offset by comprehensive platform coverage and the consolidation of multiple specialized libraries into one package. Install if you work with business entity data, compliance systems, or international business records.

Install

rigour on PyPI

pip

pip install rigour

uv

uv add rigour

poetry

poetry add rigour

Installing rigour

Before you install

Medium install friction due to compiled wheels for multiple Python versions and platforms (3.10–3.14, including Rust components). Active maintenance with a release 15 days ago and no known vulnerabilities.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open and proprietary projects with minimal restrictions.

Quickstart

pip install rigour

from rigour.names import normalize_name
from rigour.countries import country_name

normalized = normalize_name('John Doe')
country = country_name('US')

Requires Python 3.10 or later; wheels include Rust-compiled components.

Verify before relying

  • Whether the package handles all major business identifier standards (tax IDs, corporate registration numbers) or a subset.
  • Performance characteristics when processing large datasets or real-time validation scenarios.
  • Completeness of address formatting coverage across all countries and territories.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 6 — pyyaml, normality, prefixdate, orjson, python-stdnum, jinja2
Maintenance actively maintained — 15 days since the last release
Last repo commit
First released
Downloads 135,009/month — #11,455 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: rigour-2.3.1-cp310-cp310-macosx_10_12_x86_64.whl; rigour-2.3.1-cp310-cp310-macosx_11_0_arm64.whl; rigour-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rigour-2.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; rigour-2.3.1-cp310-cp310-musllinux_1_2_aarch64.whl; rigour-2.3.1-cp310-cp310-musllinux_1_2_x86_64.whl; rigour-2.3.1-cp310-cp310-win_amd64.whl; rigour-2.3.1-cp311-cp311-macosx_10_12_x86_64.whl; rigour-2.3.1-cp311-cp311-macosx_11_0_arm64.whl; rigour-2.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rigour-2.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; rigour-2.3.1-cp311-cp311-musllinux_1_2_aarch64.whl; rigour-2.3.1-cp311-cp311-musllinux_1_2_x86_64.whl; rigour-2.3.1-cp311-cp311-win_amd64.whl; rigour-2.3.1-cp312-cp312-macosx_10_12_x86_64.whl; rigour-2.3.1-cp312-cp312-macosx_11_0_arm64.whl; rigour-2.3.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rigour-2.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; rigour-2.3.1-cp312-cp312-musllinux_1_2_aarch64.whl; rigour-2.3.1-cp312-cp312-musllinux_1_2_x86_64.whl

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Rust

Tags

business data validationcompany name normalizationcountry code validationtext data cleaningfinancial crime complianceaddress formattingcorporate identifier validation
data-validationbusiness-intelligencecompliance

More Text Processing packages