Top

intern module

A Python library for open neuroscience data access and manipulation.

"""
A Python library for open neuroscience data access and manipulation.
"""

__version__ = "0.9.12"


def check_version():
    """
    Tells you if you have an old version of intern.
    """
    import requests
    r = requests.get('https://pypi.python.org/pypi/intern/json').json()
    r = r['info']['version']
    if r != __version__:
        print("You are using version {}. A newer version of intern is available: {} ".format(__version__, r) +
              "\n\n'pip install -U intern' to update.")
    return r

Functions

def check_version(

)

Tells you if you have an old version of intern.

def check_version():
    """
    Tells you if you have an old version of intern.
    """
    import requests
    r = requests.get('https://pypi.python.org/pypi/intern/json').json()
    r = r['info']['version']
    if r != __version__:
        print("You are using version {}. A newer version of intern is available: {} ".format(__version__, r) +
              "\n\n'pip install -U intern' to update.")
    return r

Sub-modules

intern.remote

Remotes are services that are accessed via HTTP/SCP or other services that
talk to non-local machines.

intern.service

Services used by the intern.remote module.

Author:
Tim Gion

intern.utils

Utility functions common to all intern submodules.