Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

National Competent Authority (NCA) Identifiers as a Python module

Project description

pyncaids

National Competent Authority (NCA) identifiers as a Python module

import pyncaids

nca = pyncaids.NCA()

authority_list = nca.nca_by_authority_id("GB-FCA")
>>> [{'authority_id': 'GB-FCA', 'country': 'United Kingdom', 'authority_name': 'Financial Conduct Authority'}]

authority_list = nca.nca_by_partial_authority_id("FM")
>>> [{'authority_id': 'AT-FMA', 'country': 'Austria', 'authority_name': 'Austria Financial Market Authority'},
>>>  {'authority_id': 'IS-FME', 'country': 'Iceland', 'authority_name': 'Financial Supervisory Authority'},
>>>  {'authority_id': 'LI-FMA', 'country': 'Liechtenstein', 'authority_name': 'Financial Market Authority Liechtenstein'}]

authority_list = nca.nca_by_country("United Kingdom")
>>> [{'authority_id': 'GB-FCA', 'country': 'United Kingdom', 'authority_name': 'Financial Conduct Authority'}]

authority_list = nca.nca_by_partial_country("it")
>>> [{'authority_id': 'LT-BL', 'country': 'Lithuania', 'authority_name': 'Bank of Lithuania'},
>>>  {'authority_id': 'GB-FCA', 'country': 'United Kingdom', 'authority_name': 'Financial Conduct Authority'}]

authority_list = nca.nca_by_authority_name("Financial Conduct Authority")
>>> [{'authority_id': 'GB-FCA', 'country': 'United Kingdom', 'authority_name': 'Financial Conduct Authority'}]

authority_list = nca.nca_by_partial_authority_name("Supervisory Authority")
>>> [{'authority_id': 'DK-DFSA', 'country': 'Denmark', 'authority_name': 'Danish Financial Supervisory Authority'},
>>>  {'authority_id': 'EE-FI', 'country': 'Estonia', 'authority_name': 'Estonia Financial Supervisory Authority'},
>>>  {'authority_id': 'FI-FINFSA', 'country': 'Finland', 'authority_name': 'Finnish Financial Supervisory Authority'},
>>>  {'authority_id': 'DE-BAFIN', 'country': 'Germany', 'authority_name': 'Federal Financial Supervisory Authority'},
>>>  {'authority_id': 'IS-FME', 'country': 'Iceland', 'authority_name': 'Financial Supervisory Authority'},
>>>  {'authority_id': 'NO-FSA', 'country': 'Norway', 'authority_name': 'The Financial Supervisory Authority of Norway'}]

Source: EBA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyncaids, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyncaids-0.0.1-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyncaids-0.0.1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page