# Path: duckpond/apps/blog/views.py
# def gzipped(f):
#    def view_func(*args, **kwargs):
#       def zipper(response):
# def getPond(config):
# def getJournalCriteria(config):
# def generate_template(config,base):
# def entry(e):
# def siteURL(config,request):
# def renderEntry(data,basedOnUrl,entry=None,preceding=None,following=None,base=None,path=None):
# def renderKeyword(data,keyword,related,entries):
# def index():
# def entryByTime(date,time):
# def entryMedia(date,time,path):
# def relKeyword(keyword):
# def page_not_found(error):
# def send_doc(path):
# def send_asset(path):


from flask import Flask
from duckpond.apps.blog.views import blog,assets,docs
import logging, logging.config, os, sys
import importlib.util

app = Flask(__name__)

app.register_blueprint(blog)
app.register_blueprint(assets)
app.register_blueprint(docs)

if len(sys.argv)>1:
   path = sys.argv[1].split('.')
   package = '.'.join(path[0:len(path)-1])
   spec = importlib.util.find_spec(package)

# Path: duckpond/apps/blog/views.py
# def gzipped(f):
#    def view_func(*args, **kwargs):
#       def zipper(response):
# def getPond(config):
# def getJournalCriteria(config):
# def generate_template(config,base):
# def entry(e):
# def siteURL(config,request):
# def renderEntry(data,basedOnUrl,entry=None,preceding=None,following=None,base=None,path=None):
# def renderKeyword(data,keyword,related,entries):
# def index():
# def entryByTime(date,time):
# def entryMedia(date,time,path):
# def relKeyword(keyword):
# def page_not_found(error):
# def send_doc(path):
# def send_asset(path):


# Path: duckpond/apps/blog/__main__.py
from flask import Flask
from duckpond.apps.blog.views import blog,assets,docs
import logging, logging.config, os, sys
import importlib.util


app = Flask(__name__)

app.register_blueprint(blog)
app.register_blueprint(assets)
app.register_blueprint(docs)

if len(sys.argv)>1:
   path = sys.argv[1].split('.')
   package = '.'.join(path[0:len(path)-1])
   spec = importlib.util.find_spec(package)

   if spec is None: