# Path: scrypture/scrypture.py
# def load_config(cfg_path):
# def get_authorization():
# def index():
# def script_listing():
# def about():
# def test():
# def download_script(script_file_name):
# def download_file(file_id, file_name):
# def page_not_found(error):
# def server_error(error):
# def script_input(module_name):
# def api_docs():
# def try_json(x):
# def run_script_api(module_name):
# def run_script(module_name):
# def order_by_header(table, headers):
# def load_dataset(table, headers):
# def json_serial(obj):
# def to_json(table, headers):
# def to_html(table, headers):
# def to_csv(table, headers):
# def to_yaml(table, headers):
# def to_repr(table, headers):
# def to_trac(table, headers):
# def to_markdown(table, headers):
# def utility_processor():
#     def make_navbar_links():
# def load_scripts():
# def load_api():


from scrypture.scrypture import app, load_scripts, load_api, load_config
import logging
import sys
#!/usr/bin/env python


logging.basicConfig(stream=sys.stderr, level=logging.ERROR)
print 'Starting Scrypture at http://localhost:5000'
load_config('default_config.py')

# Path: scrypture/scrypture.py
# def load_config(cfg_path):
# def get_authorization():
# def index():
# def script_listing():
# def about():
# def test():
# def download_script(script_file_name):
# def download_file(file_id, file_name):
# def page_not_found(error):
# def server_error(error):
# def script_input(module_name):
# def api_docs():
# def try_json(x):
# def run_script_api(module_name):
# def run_script(module_name):
# def order_by_header(table, headers):
# def load_dataset(table, headers):
# def json_serial(obj):
# def to_json(table, headers):
# def to_html(table, headers):
# def to_csv(table, headers):
# def to_yaml(table, headers):
# def to_repr(table, headers):
# def to_trac(table, headers):
# def to_markdown(table, headers):
# def utility_processor():
#     def make_navbar_links():
# def load_scripts():
# def load_api():


# Path: scrypture/bin/run_scrypture.py
from scrypture.scrypture import app, load_scripts, load_api, load_config
import logging
import sys

#!/usr/bin/env python


logging.basicConfig(stream=sys.stderr, level=logging.ERROR)
print 'Starting Scrypture at http://localhost:5000'
load_config('default_config.py')

load_scripts()