Uploaded Test files

This commit is contained in:
Batuhan Berk Başoğlu 2020-11-12 11:05:57 -05:00
parent f584ad9d97
commit 2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions

View file

@ -0,0 +1,35 @@
"""
Shim to maintain backwards compatibility with old IPython.kernel imports.
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
import sys
from warnings import warn
from IPython.utils.shimmodule import ShimModule, ShimWarning
warn("The `IPython.kernel` package has been deprecated since IPython 4.0."
"You should import from ipykernel or jupyter_client instead.", ShimWarning)
# zmq subdir is gone
sys.modules['IPython.kernel.zmq.session'] = ShimModule(
src='IPython.kernel.zmq.session', mirror='jupyter_client.session')
sys.modules['IPython.kernel.zmq'] = ShimModule(
src='IPython.kernel.zmq', mirror='ipykernel')
for pkg in ('comm', 'inprocess'):
src = 'IPython.kernel.%s' % pkg
sys.modules[src] = ShimModule(src=src, mirror='ipykernel.%s' % pkg)
for pkg in ('ioloop', 'blocking'):
src = 'IPython.kernel.%s' % pkg
sys.modules[src] = ShimModule(src=src, mirror='jupyter_client.%s' % pkg)
# required for `from IPython.kernel import PKG`
from ipykernel import comm, inprocess
from jupyter_client import ioloop, blocking
# public API
from ipykernel.connect import *
from jupyter_client import *

View file

@ -0,0 +1,3 @@
if __name__ == '__main__':
from ipykernel import kernelapp as app
app.launch_new_instance()

View file

@ -0,0 +1 @@
from jupyter_client.adapter import *

View file

@ -0,0 +1 @@
from jupyter_client.channels import *

View file

@ -0,0 +1 @@
from jupyter_client.channelsabc import *

View file

@ -0,0 +1 @@
from jupyter_client.client import *

View file

@ -0,0 +1 @@
from jupyter_client.clientabc import *

View file

@ -0,0 +1,2 @@
from ipykernel.connect import *
from jupyter_client.connect import *

View file

@ -0,0 +1 @@
from jupyter_client.kernelspec import *

View file

@ -0,0 +1 @@
from jupyter_client.kernelspecapp import *

View file

@ -0,0 +1 @@
from jupyter_client.launcher import *

View file

@ -0,0 +1 @@
from jupyter_client.manager import *

View file

@ -0,0 +1 @@
from jupyter_client.managerabc import *

View file

@ -0,0 +1 @@
from jupyter_client.multikernelmanager import *

View file

@ -0,0 +1 @@
from jupyter_client.restarter import *

View file

@ -0,0 +1 @@
from jupyter_client.threaded import *