Registry / data / rigour

rigour

JSON →
library2.0.3pypypiunverified

Financial crime domain data validation and normalization library. Current version 2.0.3, release cadence irregular.

pip install rigour
INSTALL
IMPORT
SIG · RIGOUR
R
rigour
datapythonv2.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

validate_email
from rigour import validate_email
from rigour.email import validate_email

Basic usage of email validation and name normalisation.

from rigour.email import validate_email from rigour.names import normalise_company_name result = validate_email('test@example.com') print(result) # True name = normalise_company_name('OpenSanctions GmbH') print(name) # opensanctions gmbh
Debug
Known issues
breakingVersion 2.0 rewrote the entire API with new module names (e.g., rigour.email, rigour.names) and changed function signatures. All code written for 1.x will break.
fix
Use new imports: from rigour.email import validate_email, from rigour.names import normalise_company_name, etc. Check migration guide.
affects: 1.x
deprecatedFunction validate_tax_number now returns a ValidationResult object instead of a boolean. Access .is_valid attribute.
fix
result = validate_tax_number('DE123456789'); valid = result.is_valid
affects: >=2.0
gotchaDate normalisation expects ISO 8601 strings or specific formats; passing arbitrary strings may raise ValueError or return None.
fix
Always pass dates as YYYY-MM-DD or use normalise_date with strict=False for lenient parsing.
affects: >=2.0
gotchaPhone cleaning requires plus-prefixed numbers (E.164). National numbers without country code will be discarded or raise error.
fix
Always include country code (e.g., '+49 30 123456') before calling clean_phone.
affects: >=2.0
Upgrade
Version history
2.0.3latest on PyPI · released Apr 29, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
rigour — pip install rigour · libregistry