Module Expr Str ImportFrom alias alias alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str For NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Str If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str For NameStore ListLoad Str Str Str Str Str Str Str body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list Assign NameStore ListLoad Str Str Str Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num Assign NameStore ListLoad TupleLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Return Num Return BinOpDiv Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return Num If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If Call AttributeLoad NameLoad attr BinOpMod Str NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Slice BinOpSub UnaryOpUSub Call NameLoad NameLoad Num If Call AttributeLoad NameLoad attr BinOpMod Str NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Slice BinOpSub UnaryOpUSub Call NameLoad NameLoad Num For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Num For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad If BoolOpOr CompareNotEq NameLoad NameLoad CompareNotEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num BinOpSub NameLoad NameLoad If CompareEq NameLoad Num body Continue Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad AugAssignAdd NameStore BinOpMult NameLoad NameLoad Return BinOpAdd NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If NameLoad body Return BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMult Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMult Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Call NameLoad NameLoad keyword Lambda arguments args TupleStore NameStore NameStore defaults TupleLoad BinOpSub Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpSub NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMult Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Return BinOpDiv NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot CompareLtELtE Num NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Num Break orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad If NameLoad body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore BinOpDiv Num BoolOpOr Call NameLoad NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore BinOpMult NameLoad NameLoad Break orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Num If NameLoad body Assign NameStore BinOpDiv NameLoad NameLoad orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Str ListLoad Str Str Str Str Str Assign NameStore Call NameLoad Str ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If BoolOpAnd NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If BoolOpAnd NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list
N/A N/A Glue between metadata sources and the matching logic. __future__ division absolute_import print_function collections namedtuple N/A re beets logging beets plugins beets config beets.autotag mb jellyfish levenshtein_distance unidecode unidecode N/A log N/A N/A logging getLogger beets AlbumInfo N/A object N/A N/A Describes a canonical release that may be used to match a release
    in the library. Consists of these data members:

    - ``album``: the release title
    - ``album_id``: MusicBrainz ID; UUID fragment only
    - ``artist``: name of the release's primary artist
    - ``artist_id``
    - ``tracks``: list of TrackInfo objects making up the release
    - ``asin``: Amazon ASIN
    - ``albumtype``: string describing the kind of release
    - ``va``: boolean: whether the release has "various artists"
    - ``year``: release year
    - ``month``: release month
    - ``day``: release day
    - ``label``: music label responsible for the release
    - ``mediums``: the number of discs in this release
    - ``artist_sort``: name of the release's artist for sorting
    - ``releasegroup_id``: MBID for the album's release group
    - ``catalognum``: the label's catalog number for the release
    - ``script``: character set used for metadata
    - ``language``: human language of the metadata
    - ``country``: the release country
    - ``albumstatus``: MusicBrainz release status (Official, etc.)
    - ``media``: delivery mechanism (Vinyl, etc.)
    - ``albumdisambig``: MusicBrainz release disambiguation comment
    - ``artist_credit``: Release-specific artist name
    - ``data_source``: The original data source (MusicBrainz, Discogs, etc.)
    - ``data_url``: The data source release URL.

    The fields up through ``tracks`` are required. The others are
    optional and may be None.
     __init__ N/A N/A self album album_id artist artist_id tracks asin albumtype va year month day label mediums artist_sort releasegroup_id catalognum script language country albumstatus media albumdisambig artist_credit original_year original_month original_day data_source data_url N/A None None False None None None None None None None None None None None None None None None None None None None None N/A N/A N/A self album album N/A N/A self album_id album_id N/A N/A self artist artist N/A N/A self artist_id artist_id N/A N/A self tracks tracks N/A N/A self asin asin N/A N/A self albumtype albumtype N/A N/A self va va N/A N/A self year year N/A N/A self month month N/A N/A self day day N/A N/A self label label N/A N/A self mediums mediums N/A N/A self artist_sort artist_sort N/A N/A self releasegroup_id releasegroup_id N/A N/A self catalognum catalognum N/A N/A self script script N/A N/A self language language N/A N/A self country country N/A N/A self albumstatus albumstatus N/A N/A self media media N/A N/A self albumdisambig albumdisambig N/A N/A self artist_credit artist_credit N/A N/A self original_year original_year N/A N/A self original_month original_month N/A N/A self original_day original_day N/A N/A self data_source data_source N/A N/A self data_url data_url N/A decode N/A N/A self codec N/A utf8 N/A N/A Ensure that all string attributes on this object, and the
        constituent `TrackInfo` objects, are decoded to Unicode.
         N/A fld N/A album artist albumtype label artist_sort catalognum script language country albumstatus albumdisambig artist_credit media N/A N/A value N/A getattr self fld N/A N/A isinstance value bytes N/A N/A N/A setattr self fld N/A N/A value decode codec ignore N/A N/A self tracks N/A N/A track N/A self tracks N/A N/A N/A N/A track decode codec N/A N/A TrackInfo N/A object N/A N/A Describes a canonical track present on a release. Appears as part
    of an AlbumInfo's ``tracks`` list. Consists of these data members:

    - ``title``: name of the track
    - ``track_id``: MusicBrainz ID; UUID fragment only
    - ``artist``: individual track artist name
    - ``artist_id``
    - ``length``: float: duration of the track in seconds
    - ``index``: position on the entire release
    - ``media``: delivery mechanism (Vinyl, etc.)
    - ``medium``: the disc number this track appears on in the album
    - ``medium_index``: the track's position on the disc
    - ``medium_total``: the number of tracks on the item's disc
    - ``artist_sort``: name of the track artist for sorting
    - ``disctitle``: name of the individual medium (subtitle)
    - ``artist_credit``: Recording-specific artist name
    - ``data_source``: The original data source (MusicBrainz, Discogs, etc.)
    - ``data_url``: The data source release URL.

    Only ``title`` and ``track_id`` are required. The rest of the fields
    may be None. The indices ``index``, ``medium``, and ``medium_index``
    are all 1-based.
     __init__ N/A N/A self title track_id artist artist_id length index medium medium_index medium_total artist_sort disctitle artist_credit data_source data_url media N/A None None None None None None None None None None None None None N/A N/A N/A self title title N/A N/A self track_id track_id N/A N/A self artist artist N/A N/A self artist_id artist_id N/A N/A self length length N/A N/A self index index N/A N/A self media media N/A N/A self medium medium N/A N/A self medium_index medium_index N/A N/A self medium_total medium_total N/A N/A self artist_sort artist_sort N/A N/A self disctitle disctitle N/A N/A self artist_credit artist_credit N/A N/A self data_source data_source N/A N/A self data_url data_url N/A decode N/A N/A self codec N/A utf8 N/A N/A Ensure that all string attributes on this object are decoded
        to Unicode.
         N/A fld N/A title artist medium artist_sort disctitle artist_credit media N/A N/A value N/A getattr self fld N/A N/A isinstance value bytes N/A N/A N/A setattr self fld N/A N/A value decode codec ignore N/A N/A N/A SD_END_WORDS N/A the a an N/A SD_PATTERNS N/A N/A ^the  0.1 N/A [\[\(]?(ep|single)[\]\)]? 0.0 N/A [\[\(]?(featuring|feat|ft)[\. :].+ 0.1 N/A \(.*?\) 0.3 N/A \[.*?\] 0.3 N/A (, )?(pt\.|part) .+ 0.2 N/A SD_REPLACE N/A N/A & and _string_dist_basic N/A N/A str1 str2 N/A N/A N/A Basic edit distance between two strings, ignoring
    non-alphanumeric characters and case. Comparisons are based on a
    transliteration/lowering to ASCII characters. Normalized by string
    length.
     N/A N/A isinstance str1 unicode N/A N/A isinstance str2 unicode N/A str1 N/A N/A N/A unidecode str1 decode ascii N/A str2 N/A N/A N/A unidecode str2 decode ascii N/A str1 N/A N/A re sub [^a-z0-9] N/A N/A str1 lower N/A str2 N/A N/A re sub [^a-z0-9] N/A N/A str2 lower N/A N/A N/A str1 N/A str2 N/A N/A 0.0 N/A N/A N/A levenshtein_distance str1 str2 N/A float N/A max N/A len str1 N/A len str2 N/A string_dist N/A N/A str1 str2 N/A N/A N/A Gives an "intuitive" edit distance between two strings. This is
    an edit distance, normalized by the string length, with a number of
    tweaks that reflect intuition about text.
     N/A N/A N/A str1 None N/A str2 None N/A N/A 0.0 N/A N/A N/A str1 None N/A str2 None N/A N/A 1.0 N/A str1 N/A N/A str1 lower N/A str2 N/A N/A str2 lower N/A word SD_END_WORDS N/A N/A N/A N/A str1 endswith N/A , %s word N/A N/A str1 N/A %s %s N/A word N/A str1 N/A N/A N/A N/A len word 2 N/A N/A N/A str2 endswith N/A , %s word N/A N/A str2 N/A %s %s N/A word N/A str2 N/A N/A N/A N/A len word 2 N/A N/A pat repl SD_REPLACE N/A N/A str1 N/A N/A re sub pat repl str1 N/A str2 N/A N/A re sub pat repl str2 N/A base_dist N/A _string_dist_basic str1 str2 N/A penalty 0.0 N/A N/A pat weight SD_PATTERNS N/A N/A case_str1 N/A N/A re sub pat str1 N/A case_str2 N/A N/A re sub pat str2 N/A N/A N/A case_str1 str1 N/A case_str2 str2 N/A N/A case_dist N/A _string_dist_basic case_str1 case_str2 N/A case_delta N/A max 0.0 N/A base_dist case_dist N/A N/A case_delta 0.0 N/A N/A N/A str1 case_str1 N/A str2 case_str2 N/A base_dist case_dist N/A penalty N/A weight case_delta N/A N/A base_dist penalty N/A LazyClassProperty N/A object N/A N/A A decorator implementing a read-only property that is *lazy* in
    the sense that the getter is only invoked once. Subsequent accesses
    through *any* instance use the cached result.
     __init__ N/A N/A self getter N/A N/A N/A N/A self getter getter N/A N/A self computed False N/A __get__ N/A N/A self obj owner N/A N/A N/A N/A N/A self computed N/A N/A N/A self value N/A N/A self getter owner N/A N/A self computed True N/A N/A self value N/A N/A Distance N/A object N/A N/A Keeps track of multiple distance penalties. Provides a single
    weighted distance for all penalties as well as a weighted distance
    for each individual penalty.
     __init__ N/A N/A self N/A N/A N/A N/A self _penalties N/A N/A _weights N/A N/A cls N/A N/A N/A A dictionary from keys to floating-point weights.
         N/A weights_view N/A N/A config N/A match N/A distance_weights N/A weights N/A N/A key N/A N/A weights_view keys N/A N/A N/A weights N/A key N/A N/A N/A weights_view N/A key as_number N/A weights N/A LazyClassProperty distance N/A N/A self N/A N/A N/A Return a weighted and normalized distance across all
        penalties.
         N/A dist_max N/A self max_distance N/A dist_max N/A N/A N/A N/A self raw_distance N/A self max_distance N/A 0.0 N/A property max_distance N/A N/A self N/A N/A N/A Return the maximum distance penalty (normalization factor).
         N/A dist_max 0.0 N/A N/A key penalty N/A N/A N/A self _penalties iteritems N/A N/A dist_max N/A N/A len penalty N/A N/A self _weights N/A key N/A dist_max N/A property raw_distance N/A N/A self N/A N/A N/A Return the raw (denormalized) distance.
         N/A dist_raw 0.0 N/A N/A key penalty N/A N/A N/A self _penalties iteritems N/A N/A dist_raw N/A N/A sum penalty N/A N/A self _weights N/A key N/A dist_raw N/A property items N/A N/A self N/A N/A N/A Return a list of (key, dist) pairs, with `dist` being the
        weighted distance, sorted from highest to lowest. Does not
        include penalties with a zero value.
         N/A list_ N/A N/A key N/A self _penalties N/A N/A dist N/A self N/A key N/A dist N/A N/A N/A N/A list_ append N/A key dist N/A N/A sorted list_ key N/A N/A N/A N/A key dist N/A N/A N/A 0 dist key N/A __cmp__ N/A N/A self other N/A N/A N/A N/A cmp N/A self distance other N/A __float__ N/A N/A self N/A N/A N/A N/A self distance N/A __sub__ N/A N/A self other N/A N/A N/A N/A N/A self distance other N/A __rsub__ N/A N/A self other N/A N/A N/A N/A other N/A self distance N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A {0:.2f} format N/A self distance N/A __getitem__ N/A N/A self key N/A N/A N/A Returns the weighted distance for a named penalty.
         N/A dist N/A N/A sum N/A N/A self _penalties N/A key N/A N/A self _weights N/A key N/A dist_max N/A self max_distance N/A dist_max N/A N/A N/A dist dist_max N/A 0.0 N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A N/A self items N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A N/A self items N/A keys N/A N/A self N/A N/A N/A N/A key N/A N/A key _ N/A N/A self items N/A update N/A N/A self dist N/A N/A N/A Adds all the distance penalties from `dist`.
         N/A N/A N/A isinstance dist Distance N/A N/A N/A ValueError N/A N/A `dist` must be a Distance object, not {0} format N/A type dist N/A N/A key penalties N/A N/A N/A dist _penalties iteritems N/A N/A N/A N/A N/A N/A N/A self _penalties setdefault key N/A extend penalties N/A _eq N/A N/A self value1 value2 N/A N/A N/A Returns True if `value1` is equal to `value2`. `value1` may
        be a compiled regular expression, in which case it will be
        matched against `value2`.
         N/A N/A isinstance value1 N/A re _pattern_type N/A N/A N/A bool N/A N/A value1 match value2 N/A N/A value1 value2 N/A add N/A N/A self key dist N/A N/A N/A Adds a distance penalty. `key` must correspond with a
        configured weight setting. `dist` must be a float between 0.0
        and 1.0, and will be added to any existing distance penalties
        for the same key.
         N/A N/A N/A 0.0 dist 1.0 N/A N/A N/A ValueError N/A N/A `dist` must be between 0.0 and 1.0, not {0} format dist N/A N/A N/A N/A N/A N/A self _penalties setdefault key N/A append dist N/A add_equality N/A N/A self key value options N/A N/A N/A Adds a distance penalty of 1.0 if `value` doesn't match any
        of the values in `options`. If an option is a compiled regular
        expression, it will be considered equal if it matches against
        `value`.
         N/A N/A N/A isinstance options N/A list tuple N/A N/A options N/A options N/A opt options N/A N/A N/A N/A self _eq opt value N/A N/A dist 0.0 N/A N/A N/A dist 1.0 N/A N/A N/A self add key dist N/A add_expr N/A N/A self key expr N/A N/A N/A Adds a distance penalty of 1.0 if `expr` evaluates to True,
        or 0.0.
         N/A expr N/A N/A N/A N/A self add key 1.0 N/A N/A N/A N/A self add key 0.0 N/A add_number N/A N/A self key number1 number2 N/A N/A N/A Adds a distance penalty of 1.0 for each number of difference
        between `number1` and `number2`, or 0.0 when there is no
        difference. Use this when there is no upper limit on the
        difference between the two numbers.
         N/A diff N/A abs N/A number1 number2 N/A diff N/A N/A i N/A range diff N/A N/A N/A N/A self add key 1.0 N/A N/A N/A N/A self add key 0.0 N/A add_priority N/A N/A self key value options N/A N/A N/A Adds a distance penalty that corresponds to the position at
        which `value` appears in `options`. A distance penalty of 0.0
        for the first option, or 1.0 if there is no matching option. If
        an option is a compiled regular expression, it will be
        considered equal if it matches against `value`.
         N/A N/A N/A isinstance options N/A list tuple N/A N/A options N/A options N/A unit N/A 1.0 N/A N/A len options 1 N/A N/A i opt N/A enumerate options N/A N/A N/A N/A self _eq opt value N/A N/A dist N/A i unit N/A N/A N/A dist 1.0 N/A N/A N/A self add key dist N/A add_ratio N/A N/A self key number1 number2 N/A N/A N/A Adds a distance penalty for `number1` as a ratio of `number2`.
        `number1` is bound at 0 and `number2`.
         N/A number N/A float N/A max N/A min number1 number2 0 N/A number2 N/A N/A dist N/A number number2 N/A N/A dist 0.0 N/A N/A N/A self add key dist N/A add_string N/A N/A self key str1 str2 N/A N/A N/A Adds a distance penalty based on the edit distance between
        `str1` and `str2`.
         N/A dist N/A string_dist str1 str2 N/A N/A N/A self add key dist N/A N/A N/A AlbumMatch N/A namedtuple AlbumMatch N/A distance info mapping extra_items extra_tracks N/A TrackMatch N/A namedtuple TrackMatch N/A distance info album_for_mbid N/A N/A release_id N/A N/A N/A Get an AlbumInfo object for a MusicBrainz release ID. Return None
    if the ID is not found.
     N/A N/A N/A album N/A N/A mb album_for_id release_id N/A album N/A N/A N/A N/A plugins send albuminfo_received info album N/A album N/A N/A N/A N/A mb MusicBrainzAPIError N/A exc N/A N/A N/A N/A exc log log N/A track_for_mbid N/A N/A recording_id N/A N/A N/A Get a TrackInfo object for a MusicBrainz recording ID. Return None
    if the ID is not found.
     N/A N/A N/A track N/A N/A mb track_for_id recording_id N/A track N/A N/A N/A N/A plugins send trackinfo_received info track N/A track N/A N/A N/A N/A mb MusicBrainzAPIError N/A exc N/A N/A N/A N/A exc log log N/A albums_for_id N/A N/A album_id N/A N/A N/A Get a list of albums for an ID. N/A candidates N/A N/A album_for_mbid album_id N/A plugin_albums N/A N/A plugins album_for_id album_id N/A a plugin_albums N/A N/A N/A N/A plugins send albuminfo_received info a N/A N/A N/A candidates extend plugin_albums N/A N/A filter None candidates N/A tracks_for_id N/A N/A track_id N/A N/A N/A Get a list of tracks for an ID. N/A candidates N/A N/A track_for_mbid track_id N/A plugin_tracks N/A N/A plugins track_for_id track_id N/A t plugin_tracks N/A N/A N/A N/A plugins send trackinfo_received info t N/A N/A N/A candidates extend plugin_tracks N/A N/A filter None candidates N/A album_candidates N/A N/A items artist album va_likely N/A N/A N/A Search for album matches. ``items`` is a list of Item objects
    that make up the album. ``artist`` and ``album`` are the respective
    names (strings), which may be derived from the item list or may be
    entered by the user. ``va_likely`` is a boolean indicating whether
    the album is likely to be a "various artists" release.
     N/A out N/A N/A N/A artist album N/A N/A N/A N/A N/A N/A out extend N/A N/A mb match_album artist album N/A len items N/A N/A N/A N/A mb MusicBrainzAPIError N/A exc N/A N/A N/A N/A exc log log N/A N/A va_likely album N/A N/A N/A N/A N/A N/A out extend N/A N/A mb match_album None album N/A len items N/A N/A N/A N/A mb MusicBrainzAPIError N/A exc N/A N/A N/A N/A exc log log N/A N/A N/A out extend N/A N/A plugins candidates items artist album va_likely N/A a out N/A N/A N/A N/A plugins send albuminfo_received info a N/A out N/A item_candidates N/A N/A item artist title N/A N/A N/A Search for item matches. ``item`` is the Item to be matched.
    ``artist`` and ``title`` are strings and either reflect the item or
    are specified by the user.
     N/A out N/A N/A N/A artist title N/A N/A N/A N/A N/A N/A out extend N/A N/A mb match_track artist title N/A N/A N/A N/A mb MusicBrainzAPIError N/A exc N/A N/A N/A N/A exc log log N/A N/A N/A out extend N/A N/A plugins item_candidates item artist title N/A i out N/A N/A N/A N/A plugins send trackinfo_received info i N/A out N/A