##// END OF EJS Templates
create a ipynbv3 json schema and a validator...
create a ipynbv3 json schema and a validator cf http://json-schema.org/ http://tools.ietf.org/html/draft-zyp-json-schema-03 autogenerated from http://www.jsonschema.net/index.html# then tweeked. This version makes all our notedooks in docs/example/notebooks valid

File last commit:

r6183:26a70f4b
r8519:7b36574c
Show More
daft_extension.py
12 lines | 285 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
"""
Useless IPython extension to test installing and loading extensions.
"""
some_vars = {'arq': 185}
def load_ipython_extension(ip):
# set up simplified quantity input
ip.push(some_vars)
def unload_ipython_extension(ip):
ip.drop_by_id(some_vars)