ffiec-data-connect


Nameffiec-data-connect JSON
Version 0.2.7 PyPI version JSON
download
home_pagehttps://github.com/call-report/ffiec-data-connect
SummaryWrapper for the FFIEC's Webservice API
upload_time2023-04-11 01:57:52
maintainer
docs_urlNone
authorMichael Handelman
requires_python>3.9.0
licenseMIT
keywords ffiec call report bank regulatory
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # FFIEC Data Connector

- The FFIEC Webservice Python Connector library (`ffiec_data_connect`) downloads data from the FFIEC (Federal Financial Institution Examination Council) via the FFIEC's "webservice" interface. 

- The library interfaces with the SOAP-based API published by FFIEC, normalizing dates and data, conducting transformations to permit immediate analysis of acquired data within a Python data science or scripted environment.


### Disclaimer

-  __This package and documentation is not affiliated with the Federal Financial Institution Examination Council (FFIEC) or any other US Government Agency.__
-  __Please review the license and disclaimer before using this package.__

### Overview

The FFIEC Webservice Python Connector (`ffiec_data_connect`) was created to facilitate the use of the SOAP-based FFIEC Webservice.

Although limited documentation is provided for the Webservice by the FFIEC, practical use of the Webservice via Python requires a considerable amount of boilerplate code - and knowledge of esoteric terms and concepts inherent to bank regulatory data.

With these challenges in mind, this package provides a Python wrapper for the FFIEC Webservice, simplifying the process of interacting with the Webservice, and allow the rapid development of Python applications that require use of the data hosted on the Webservice.

Data returned from the Webservice may be returned as a native Python data structure (`list`) or Pandas DataFrames or Series.

## Installation

``pip install ffiec-data-connect``

## Quickstart

1. To run this Quick Start, you must have an account on the FFIEC Webservice at https://cdr.ffiec.gov/public/PWS/CreateAccount.aspx?PWS=true
2. After you create an account, verify your password, and complete the sign-in process, log into the public web interface here: https://cdr.ffiec.gov/Public/PWS/Login.aspx
3. When you login, go to the "Account Details" tab. On this screen, look for the _Security Token_. This token is the password that you will use for the login credentials for ffiec-data-connect, __not the password__.

Sample code to login and collect reporting periods:

```
        from ffiec_data_connect import methods, credentials, ffiec_connection
        
        creds = credentials.WebserviceCredentials(username="USER_NAME_GOES_HERE", password="SECURITY_TOKEN_GOES_HERE")

        conn = ffiec_connection.FFIECConnection()

        reporting_periods = methods.collect_reporting_periods(
            session=conn,
            creds=creds,
            output_type="list",
            date_output_format="string_original"
        )
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/call-report/ffiec-data-connect",
    "name": "ffiec-data-connect",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">3.9.0",
    "maintainer_email": "",
    "keywords": "ffiec call report bank regulatory",
    "author": "Michael Handelman",
    "author_email": "m@mikeh.dev",
    "download_url": "https://files.pythonhosted.org/packages/38/07/d5c32ec6e9f59cd89bac4b5dc5070437a4950fde1f89d58d18eeab9ce908/ffiec-data-connect-0.2.7.tar.gz",
    "platform": null,
    "description": "# FFIEC Data Connector\n\n- The FFIEC Webservice Python Connector library (`ffiec_data_connect`) downloads data from the FFIEC (Federal Financial Institution Examination Council) via the FFIEC's \"webservice\" interface. \n\n- The library interfaces with the SOAP-based API published by FFIEC, normalizing dates and data, conducting transformations to permit immediate analysis of acquired data within a Python data science or scripted environment.\n\n\n### Disclaimer\n\n-  __This package and documentation is not affiliated with the Federal Financial Institution Examination Council (FFIEC) or any other US Government Agency.__\n-  __Please review the license and disclaimer before using this package.__\n\n### Overview\n\nThe FFIEC Webservice Python Connector (`ffiec_data_connect`) was created to facilitate the use of the SOAP-based FFIEC Webservice.\n\nAlthough limited documentation is provided for the Webservice by the FFIEC, practical use of the Webservice via Python requires a considerable amount of boilerplate code - and knowledge of esoteric terms and concepts inherent to bank regulatory data.\n\nWith these challenges in mind, this package provides a Python wrapper for the FFIEC Webservice, simplifying the process of interacting with the Webservice, and allow the rapid development of Python applications that require use of the data hosted on the Webservice.\n\nData returned from the Webservice may be returned as a native Python data structure (`list`) or Pandas DataFrames or Series.\n\n## Installation\n\n``pip install ffiec-data-connect``\n\n## Quickstart\n\n1. To run this Quick Start, you must have an account on the FFIEC Webservice at https://cdr.ffiec.gov/public/PWS/CreateAccount.aspx?PWS=true\n2. After you create an account, verify your password, and complete the sign-in process, log into the public web interface here: https://cdr.ffiec.gov/Public/PWS/Login.aspx\n3. When you login, go to the \"Account Details\" tab. On this screen, look for the _Security Token_. This token is the password that you will use for the login credentials for ffiec-data-connect, __not the password__.\n\nSample code to login and collect reporting periods:\n\n```\n        from ffiec_data_connect import methods, credentials, ffiec_connection\n        \n        creds = credentials.WebserviceCredentials(username=\"USER_NAME_GOES_HERE\", password=\"SECURITY_TOKEN_GOES_HERE\")\n\n        conn = ffiec_connection.FFIECConnection()\n\n        reporting_periods = methods.collect_reporting_periods(\n            session=conn,\n            creds=creds,\n            output_type=\"list\",\n            date_output_format=\"string_original\"\n        )\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Wrapper for the FFIEC's Webservice API",
    "version": "0.2.7",
    "split_keywords": [
        "ffiec",
        "call",
        "report",
        "bank",
        "regulatory"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3807d5c32ec6e9f59cd89bac4b5dc5070437a4950fde1f89d58d18eeab9ce908",
                "md5": "a83114495c2d9387c34f6a037a79f4c5",
                "sha256": "67e69d2ec0602b66c9c628ff25a8b9ac804d9b87dbc2a737d178dec4f2396989"
            },
            "downloads": -1,
            "filename": "ffiec-data-connect-0.2.7.tar.gz",
            "has_sig": false,
            "md5_digest": "a83114495c2d9387c34f6a037a79f4c5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.9.0",
            "size": 14557,
            "upload_time": "2023-04-11T01:57:52",
            "upload_time_iso_8601": "2023-04-11T01:57:52.172786Z",
            "url": "https://files.pythonhosted.org/packages/38/07/d5c32ec6e9f59cd89bac4b5dc5070437a4950fde1f89d58d18eeab9ce908/ffiec-data-connect-0.2.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-11 01:57:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "call-report",
    "github_project": "ffiec-data-connect",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ffiec-data-connect"
}
        
Elapsed time: 0.05245s