def get_reader_name(reader):
    """Get the reader key in the :attr:`straditize.binary.readers` dictionary

    Parameters
    ----------
    reader: straditize.binary.DataReader
        The reader for which to get the key in the
        :attr:`straditize.binary.readers` dictionary

    Returns
    -------
    str
        The key in the :attr:`straditize.binary.readers` dictionary whose value
        corresponds to the class of the given `reader`"""
    from straditize.binary import readers
    import straditize.widgets.stacked_area_reader
    for key, cls in readers.items():
        if reader.__class__ is cls:
            return key
