Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

copyright statements

  • Loading branch information...
commit 35ad828925a519fee433b6014278dd108b57e5cb 1 parent 4286001
@minrk minrk authored
View
2  IPython/zmq/parallel/asyncresult.py
@@ -1,6 +1,6 @@
"""AsyncResult objects for the client"""
#-----------------------------------------------------------------------------
-# Copyright (C) 2010 The IPython Development Team
+# Copyright (C) 2010-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
View
6 IPython/zmq/parallel/dependency.py
@@ -1,4 +1,10 @@
"""Dependency utilities"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
from IPython.external.decorator import decorator
View
7 IPython/zmq/parallel/engine.py
@@ -3,6 +3,13 @@
it handles registration, etc. and launches a kernel
connected to the Controller's Schedulers.
"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
+
from __future__ import print_function
import sys
View
6 IPython/zmq/parallel/entry_point.py
@@ -5,6 +5,12 @@
NOTE: Most of this module has been deprecated by moving to Configurables
************
"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
# Standard library imports.
import atexit
View
6 IPython/zmq/parallel/heartmonitor.py
@@ -3,6 +3,12 @@
A multi-heart Heartbeat system using PUB and XREP sockets. pings are sent out on the PUB,
and hearts are tracked based on their XREQ identities.
"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
from __future__ import print_function
import time
View
7 IPython/zmq/parallel/ipcluster.py
@@ -1,4 +1,11 @@
#!/usr/bin/env python
+"""Old ipcluster script. Possibly to be removed."""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
from __future__ import print_function
import os
View
6 IPython/zmq/parallel/kernelstarter.py
@@ -1,4 +1,10 @@
"""KernelStarter class that intercepts Control Queue messages, and handles process management."""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
from zmq.eventloop import ioloop
View
6 IPython/zmq/parallel/remotenamespace.py
@@ -1,5 +1,11 @@
"""RemoteNamespace object, for dict style interaction with a remote
execution kernel."""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
from functools import wraps
from IPython.external.decorator import decorator
View
6 IPython/zmq/parallel/scheduler.py
@@ -4,6 +4,12 @@
nor does it check msg_id DAG dependencies. For those, a slightly slower
Python Scheduler exists.
"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
#----------------------------------------------------------------------
# Imports
View
6 IPython/zmq/parallel/streamkernel.py
@@ -2,6 +2,12 @@
"""
Kernel adapted from kernel.py to use ZMQ Streams
"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
View
6 IPython/zmq/parallel/streamsession.py
@@ -1,6 +1,12 @@
#!/usr/bin/env python
"""edited session.py to work with streams, and move msg_type to the header
"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
import os
View
6 IPython/zmq/parallel/taskthread.py
@@ -1,4 +1,10 @@
"""Thread for popping Tasks from zmq to Python Queue"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
import time
View
19 IPython/zmq/parallel/util.py
@@ -1,4 +1,15 @@
"""some generic utilities for dealing with classes, urls, and serialization"""
+#-----------------------------------------------------------------------------
+# Copyright (C) 2010-2011 The IPython Development Team
+#
+# Distributed under the terms of the BSD License. The full license is in
+# the file COPYING, distributed as part of this software.
+#-----------------------------------------------------------------------------
+
+#-----------------------------------------------------------------------------
+# Imports
+#-----------------------------------------------------------------------------
+
import re
import socket
@@ -15,6 +26,10 @@
ISO8601="%Y-%m-%dT%H:%M:%S.%f"
+#-----------------------------------------------------------------------------
+# Classes
+#-----------------------------------------------------------------------------
+
class Namespace(dict):
"""Subclass of dict for attribute access to keys."""
@@ -64,6 +79,10 @@ def get(self, key, default=None):
except KeyError:
return default
+#-----------------------------------------------------------------------------
+# Functions
+#-----------------------------------------------------------------------------
+
def validate_url(url):
"""validate a url for zeromq"""
if not isinstance(url, basestring):
Please sign in to comment.
Something went wrong with that request. Please try again.