"""
Flask-based REST API for parsing address string into its component parts
"""
from datetime import datetime
from flask import Flask, jsonify, request
import platform
import pytz
import usaddress
import yaml


class AddressParserError(Exception):
    """
    Exception for any failures that occur during address parsing
    """
    pass


class USAddressParser(object):