Identifiers
rigour.ids
BIC
Bases: StdnumFormat
BIC (ISO 9362 Business identifier codes).
Source code in rigour/ids/stdnum_.py
FIGI
Bases: StdnumFormat
A FIGI number for a security, as managed by OpenFIGI.
Source code in rigour/ids/stdnum_.py
FormatSpec
IBAN
IMO
INN
ISIN
IdentifierFormat
Bases: object
Base class for identifier types.
Source code in rigour/ids/common.py
LEI
Bases: StdnumFormat
Legal Entity Identifier (ISO 17442)
Source code in rigour/ids/stdnum_.py
NPI
Bases: IdentifierFormat
National Provider Identifier.
Source code in rigour/ids/npi.py
is_valid(text)
classmethod
Determine if the given string is a valid NPI.
Source code in rigour/ids/npi.py
normalize(text)
classmethod
Normalize the given string to a valid NPI.
Source code in rigour/ids/npi.py
OGRN
Bases: IdentifierFormat
Primary State Registration Number (Russian company registration).
Source code in rigour/ids/ogrn.py
is_valid(text)
classmethod
Determine if the given string is a valid OGRN.
Source code in rigour/ids/ogrn.py
normalize(text)
classmethod
Normalize the given string to a valid OGRN.
Source code in rigour/ids/ogrn.py
StrictFormat
Bases: IdentifierFormat
A generic identifier type that applies harsh normalization.
Source code in rigour/ids/strict.py
WikidataQID
Bases: IdentifierFormat
A wikidata item identifier.
Source code in rigour/ids/wikidata.py
is_valid(text)
classmethod
normalize(text)
classmethod
Normalize the given string to a valid wikidata QID.
get_identifier_format(name)
get_identifier_format_names()
get_identifier_formats()
Get a list of all identifier formats.