Module Import alias ImportFrom alias Import alias Import alias Import alias Import alias identifier Expr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str Str Assign NameStore Str FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareGtE Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num Num body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr CompareEq BinOpSub NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad While NameLoad body For NameStore SubscriptLoad NameLoad Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Return SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num decorator_list decorator_list If CompareEq NameLoad Str body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index Num Assign NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Print BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num
N/A N/A spotipy spotipy util N/A unittest N/A pprint N/A sys N/A simplejson json N/A 
    Since these tests require authentication they are maintained
    separately from the other tests.

    These tests try to be benign and leave your collection and
    playlists in a relatively stable state.
 AuthTestSpotipy N/A N/A unittest TestCase N/A N/A 
        These tests require user authentication
     N/A playlist spotify:user:plamere:playlist:2oCEWyyAPbZp9xhVSxZavx N/A four_tracks N/A spotify:track:6RtPijgfPKROxEzTHNRiDp spotify:track:7IHOIqZUUInxjVkko181PB 4VrWlk8IQxevMvERoX08iC http://open.spotify.com/track/3cySlItpiPiIAzU3NyHCJf N/A two_tracks N/A spotify:track:6RtPijgfPKROxEzTHNRiDp spotify:track:7IHOIqZUUInxjVkko181PB N/A other_tracks N/A spotify:track:2wySlB6vMzCbQrRnNGOYKa spotify:track:29xKs5BAHlmlX1u4gzQAbJ spotify:track:1PB7gRWcvefzu7t3LJLUlf N/A bad_id BAD_ID test_track_bad_id N/A N/A self N/A N/A N/A N/A N/A track N/A N/A spotify track N/A self bad_id N/A N/A N/A self assertTrue False N/A N/A N/A N/A spotipy SpotifyException N/A N/A N/A N/A self assertTrue True N/A test_basic_user_profile N/A N/A self N/A N/A N/A user N/A N/A spotify user username N/A N/A N/A self assertTrue N/A N/A user N/A id username N/A test_current_user N/A N/A self N/A N/A N/A user N/A N/A spotify current_user N/A N/A N/A self assertTrue N/A N/A user N/A id username N/A test_me N/A N/A self N/A N/A N/A user N/A N/A spotify me N/A N/A N/A self assertTrue N/A N/A user N/A id username N/A test_user_playlists N/A N/A self N/A N/A N/A playlists N/A N/A spotify user_playlists username limit 5 N/A N/A N/A self assertTrue N/A items playlists N/A N/A N/A self assertTrue N/A N/A len N/A playlists N/A items 5 N/A test_user_playlist_tracks N/A N/A self N/A N/A N/A playlists N/A N/A spotify user_playlists username limit 5 N/A N/A N/A self assertTrue N/A items playlists N/A playlist N/A playlists N/A items N/A N/A user N/A N/A playlist N/A owner N/A id N/A pid N/A playlist N/A id N/A results N/A N/A spotify user_playlist_tracks user pid N/A N/A N/A self assertTrue N/A N/A len N/A results N/A items 0 N/A user_playlist_tracks N/A N/A self user playlist_id fields limit offset N/A None None 100 0 N/A N/A N/A N/A self assertTrue N/A N/A len N/A playlists N/A items 5 N/A test_current_user_saved_tracks N/A N/A self N/A N/A N/A tracks N/A N/A spotify current_user_saved_tracks N/A N/A N/A self assertTrue N/A N/A len N/A tracks N/A items 0 N/A test_current_user_saved_albums N/A N/A self N/A N/A N/A albums N/A N/A spotify current_user_saved_albums N/A N/A N/A self assertTrue N/A N/A len N/A albums N/A items 0 N/A test_current_user_save_and_unsave_tracks N/A N/A self N/A N/A N/A tracks N/A N/A spotify current_user_saved_tracks N/A total N/A tracks N/A total N/A N/A N/A spotify current_user_saved_tracks_add N/A self four_tracks N/A tracks N/A N/A spotify current_user_saved_tracks N/A new_total N/A tracks N/A total N/A N/A N/A self assertTrue N/A N/A new_total total N/A len N/A self four_tracks N/A tracks N/A N/A spotify current_user_saved_tracks_delete N/A self four_tracks N/A tracks N/A N/A spotify current_user_saved_tracks N/A new_total N/A tracks N/A total N/A N/A N/A self assertTrue N/A new_total total N/A test_categories N/A N/A self N/A N/A N/A response N/A N/A spotify categories N/A N/A N/A self assertTrue N/A N/A len N/A response N/A categories 0 N/A test_category_playlists N/A N/A self N/A N/A N/A response N/A N/A spotify categories N/A cat N/A N/A response N/A categories N/A items N/A N/A cat_id N/A cat N/A id N/A response N/A N/A spotify category_playlists category_id cat_id N/A N/A N/A self assertTrue N/A N/A len N/A N/A response N/A playlists N/A items 0 N/A test_new_releases N/A N/A self N/A N/A N/A response N/A N/A spotify new_releases N/A N/A N/A self assertTrue N/A N/A len N/A response N/A albums 0 N/A test_featured_releases N/A N/A self N/A N/A N/A response N/A N/A spotify featured_playlists N/A N/A N/A self assertTrue N/A N/A len N/A response N/A playlists 0 N/A test_current_user_follows N/A N/A self N/A N/A N/A response N/A N/A spotify current_user_followed_artists N/A artists N/A response N/A artists N/A N/A N/A self assertTrue N/A N/A len N/A artists N/A items 0 N/A test_current_user_top_tracks N/A N/A self N/A N/A N/A response N/A N/A spotify current_user_top_tracks N/A items N/A response N/A items N/A N/A N/A self assertTrue N/A N/A len items 0 N/A test_current_user_top_artists N/A N/A self N/A N/A N/A response N/A N/A spotify current_user_top_artists N/A items N/A response N/A items N/A N/A N/A self assertTrue N/A N/A len items 0 N/A get_or_create_spotify_playlist N/A N/A self username playlist_name N/A N/A N/A playlists N/A N/A spotify user_playlists username N/A playlists N/A N/A item N/A playlists N/A items N/A N/A N/A N/A item N/A name playlist_name N/A N/A N/A item N/A id N/A playlists N/A N/A spotify next playlists N/A playlist N/A N/A spotify user_playlist_create username playlist_name N/A playlist_id N/A playlist N/A uri N/A playlist_id N/A test_user_playlist_ops N/A N/A self N/A N/A N/A playlist_id N/A N/A self get_or_create_spotify_playlist username spotipy-testing-playlist-1 N/A N/A N/A spotify user_playlist_replace_tracks username playlist_id N/A N/A playlist N/A N/A spotify user_playlist username playlist_id N/A N/A N/A self assertTrue N/A N/A N/A playlist N/A tracks N/A total 0 N/A N/A N/A self assertTrue N/A N/A len N/A N/A playlist N/A tracks N/A items 0 N/A N/A N/A spotify user_playlist_add_tracks username playlist_id N/A self four_tracks N/A playlist N/A N/A spotify user_playlist username playlist_id N/A N/A N/A self assertTrue N/A N/A N/A playlist N/A tracks N/A total 4 N/A N/A N/A self assertTrue N/A N/A len N/A N/A playlist N/A tracks N/A items 4 N/A N/A N/A spotify user_playlist_remove_all_occurrences_of_tracks username playlist_id N/A self two_tracks N/A playlist N/A N/A spotify user_playlist username playlist_id N/A N/A N/A self assertTrue N/A N/A N/A playlist N/A tracks N/A total 2 N/A N/A N/A self assertTrue N/A N/A len N/A N/A playlist N/A tracks N/A items 2 N/A N/A N/A spotify user_playlist_replace_tracks username playlist_id N/A self other_tracks N/A playlist N/A N/A spotify user_playlist username playlist_id N/A N/A N/A self assertTrue N/A N/A N/A playlist N/A tracks N/A total 3 N/A N/A N/A self assertTrue N/A N/A len N/A N/A playlist N/A tracks N/A items 3 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A len N/A sys argv 1 N/A N/A username N/A N/A sys argv N/A 1 N/A N/A N/A sys argv N/A 1 N/A scope playlist-modify-public  N/A scope user-library-read  N/A scope user-follow-read  N/A scope user-library-modify  N/A scope user-read-private  N/A scope user-top-read N/A token N/A N/A util prompt_for_user_token username scope N/A spotify N/A N/A spotipy Spotify auth token N/A N/A spotify trace False N/A N/A N/A unittest main N/A N/A N/A Usage: %s username N/A N/A N/A sys argv N/A 0