# Path: feemodel/apiclient.py
# class APIClient(object):
#     def __init__(self, host=config.get("client", "host"),
#                  port=config.getint("client", "port")):
#     def get_pools(self):
#     def get_transient(self):
#     def get_mempool(self):
#     def get_prediction(self):
#     def get_txrate(self):
#     def estimatefee(self, conftime):
#     def decidefee(self, txsize, ten_minute_cost, waitcostfn="quadratic"):
#     def get_poolsobj(self):
#     def get_txsource_obj(self):
#     def get_loglevel(self):
#     def set_loglevel(self, level):
#     def baseurl(self):
#     def _put_resource(self, path, data):
#     def _get_resource(self, path, data=None):


import click
    import time
from feemodel.apiclient import client
        from feemodel.config import config
    from feemodel.app.main import main, logfile
    from feemodel.config import __version__, pkgname, config
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate
from __future__ import division



@click.group()
@click.option('--port', type=click.INT, default=None,
              help="Port to use, either for client or server.")
def cli(port):

# Path: feemodel/apiclient.py
# class APIClient(object):
#     def __init__(self, host=config.get("client", "host"),
#                  port=config.getint("client", "port")):
#     def get_pools(self):
#     def get_transient(self):
#     def get_mempool(self):
#     def get_prediction(self):
#     def get_txrate(self):
#     def estimatefee(self, conftime):
#     def decidefee(self, txsize, ten_minute_cost, waitcostfn="quadratic"):
#     def get_poolsobj(self):
#     def get_txsource_obj(self):
#     def get_loglevel(self):
#     def set_loglevel(self, level):
#     def baseurl(self):
#     def _put_resource(self, path, data):
#     def _get_resource(self, path, data=None):


# Path: feemodel/cli.py
import click
    import time
from feemodel.apiclient import client
        from feemodel.config import config
    from feemodel.app.main import main, logfile
    from feemodel.config import __version__, pkgname, config
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate
    from tabulate import tabulate

from __future__ import division



@click.group()
@click.option('--port', type=click.INT, default=None,
              help="Port to use, either for client or server.")
def cli(port):

    if port is not None: