diff --git a/examples/pkce_example.py b/examples/pkce_example.py
index dbe04750..9ad440e4 100644
--- a/examples/pkce_example.py
+++ b/examples/pkce_example.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
#
# This program is free software: you can redistribute it and/or modify
diff --git a/examples/simple.py b/examples/simple.py
index 1b2f0ba0..48687bfb 100644
--- a/examples/simple.py
+++ b/examples/simple.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
#
# This program is free software: you can redistribute it and/or modify
diff --git a/examples/transfer_favorites.py b/examples/transfer_favorites.py
index 17f7186d..d23cf0af 100644
--- a/examples/transfer_favorites.py
+++ b/examples/transfer_favorites.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
#
# This program is free software: you can redistribute it and/or modify
diff --git a/tests/__init__.py b/tests/__init__.py
index 68ca801c..e52fe15f 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,3 +1 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
diff --git a/tests/conftest.py b/tests/conftest.py
index 0ab00c52..bbc22bb3 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
@@ -17,8 +15,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
-from __future__ import print_function
-
import logging
from abc import ABC
from contextlib import suppress
diff --git a/tests/cover.py b/tests/cover.py
index 1fb0da90..2164acf8 100644
--- a/tests/cover.py
+++ b/tests/cover.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tests/test_album.py b/tests/test_album.py
index 19e13f2c..1ccc1b2f 100644
--- a/tests/test_album.py
+++ b/tests/test_album.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tests/test_artist.py b/tests/test_artist.py
index 2952e448..df2e6bc7 100644
--- a/tests/test_artist.py
+++ b/tests/test_artist.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tests/test_genres.py b/tests/test_genres.py
index 8c91a0a4..32ad3417 100644
--- a/tests/test_genres.py
+++ b/tests/test_genres.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2020 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tests/test_media.py b/tests/test_media.py
index e9c823db..04f4be4f 100644
--- a/tests/test_media.py
+++ b/tests/test_media.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tests/test_mix.py b/tests/test_mix.py
index 799d455d..8ce6a616 100644
--- a/tests/test_mix.py
+++ b/tests/test_mix.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tests/test_page.py b/tests/test_page.py
index 4e75b41a..3fb35ea9 100644
--- a/tests/test_page.py
+++ b/tests/test_page.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2022 morguldir
#
diff --git a/tests/test_playlist.py b/tests/test_playlist.py
index afe2e03d..d02fca26 100644
--- a/tests/test_playlist.py
+++ b/tests/test_playlist.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tests/test_session.py b/tests/test_session.py
index 7852de7c..d7db5b01 100644
--- a/tests/test_session.py
+++ b/tests/test_session.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
@@ -17,8 +15,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
-from __future__ import print_function
-
import pytest
import requests
diff --git a/tests/test_user.py b/tests/test_user.py
index 0f763360..db464e87 100644
--- a/tests/test_user.py
+++ b/tests/test_user.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tidalapi/__init__.py b/tidalapi/__init__.py
index c1096dc4..5209f7cd 100644
--- a/tidalapi/__init__.py
+++ b/tidalapi/__init__.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
from .album import Album # noqa: F401
diff --git a/tidalapi/album.py b/tidalapi/album.py
index 16159f68..d03f7822 100644
--- a/tidalapi/album.py
+++ b/tidalapi/album.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tidalapi/artist.py b/tidalapi/artist.py
index cbde3f4b..23cdf6fc 100644
--- a/tidalapi/artist.py
+++ b/tidalapi/artist.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tidalapi/genre.py b/tidalapi/genre.py
index faa11b8b..94ec0f1d 100644
--- a/tidalapi/genre.py
+++ b/tidalapi/genre.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2020 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tidalapi/media.py b/tidalapi/media.py
index 24e5df92..598a823e 100644
--- a/tidalapi/media.py
+++ b/tidalapi/media.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tidalapi/mix.py b/tidalapi/mix.py
index 3b3125ca..3d521862 100644
--- a/tidalapi/mix.py
+++ b/tidalapi/mix.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2022 morguldir
#
diff --git a/tidalapi/page.py b/tidalapi/page.py
index 5914d6f7..3696cf4b 100644
--- a/tidalapi/page.py
+++ b/tidalapi/page.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2021-2022 morguldir
#
diff --git a/tidalapi/playlist.py b/tidalapi/playlist.py
index f026fae1..259e9834 100644
--- a/tidalapi/playlist.py
+++ b/tidalapi/playlist.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tidalapi/request.py b/tidalapi/request.py
index 4f384122..e6bee540 100644
--- a/tidalapi/request.py
+++ b/tidalapi/request.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-#
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
diff --git a/tidalapi/session.py b/tidalapi/session.py
index 47203348..aef713be 100644
--- a/tidalapi/session.py
+++ b/tidalapi/session.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland
@@ -17,7 +15,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
-from __future__ import annotations, print_function, unicode_literals
+from __future__ import annotations
import base64
import concurrent.futures
diff --git a/tidalapi/types.py b/tidalapi/types.py
index 755cf7c4..e37a394b 100644
--- a/tidalapi/types.py
+++ b/tidalapi/types.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
from typing import Any, Dict
diff --git a/tidalapi/user.py b/tidalapi/user.py
index 80a0190f..a9924edb 100644
--- a/tidalapi/user.py
+++ b/tidalapi/user.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Copyright (C) 2023- The Tidalapi Developers
# Copyright (C) 2019-2022 morguldir
# Copyright (C) 2014 Thomas Amland