#   encoding: utf8
#   __init__.py

from telepyth.client import TelePythClient
from telepyth.utils import is_interactive


TelepythClient = TelePythClient  # make alias to origin definition

if is_interactive():
    from telepyth.magics import TelePythMagics

#   encoding: utf8
#   __init__.py

from telepyth.client import TelePythClient
from telepyth.utils import is_interactive

if is_interactive():
    from telepyth.magics import TelePythMagics

--- 
+++ 
@@ -4,5 +4,8 @@
 from telepyth.client import TelePythClient
 from telepyth.utils import is_interactive
 
+
+TelepythClient = TelePythClient  # make alias to origin definition
+
 if is_interactive():
     from telepyth.magics import TelePythMagics
Add alias to TelePythClient which will be deprecated in the future.
