"""

kenobiDB is simple document based database
==========================================


    >>> from kenobi import KenobiDB

    >>> db = KenobiDB('database.json', auto_save=False)

    >>> db.insert({'name': 'user1', 'groups': ['user']})
    >>> db.insert({'name': 'user2', 'groups': ['admin', 'user']})
    >>> db.insert({'name': 'user3', 'groups': ['sudo', 'user']})

    >>> db.search('name', 'user1')
    [{'name': 'user1', 'groups': ['user']}]

    >>> db.find_any('groups', ['admin', 'sudo'])
    [{'name': 'user2', 'groups': ['admin', 'user']},
     {'name': 'user3', 'groups': ['sudo', 'user']}]

    >>> db.find_all('groups', ['admin', 'user'])
    [{'name': 'user2', 'groups': ['admin', 'user']}]

    >>>> db.save_db()
    True


"""

from distutils.core import setup

setup(name="kenobi",
    version="1.1",
    description="A simple database using pickle.",
    long_description=__doc__,
    author="Harrison Erd",
    author_email="erdh@mail.broward.edu",
    license="three-clause BSD",
    url="http://patx.github.com/kenobi",
    classifiers = [
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
        "Intended Audience :: Developers",
        "Topic :: Database" ],
    py_modules=['kenobi'],)

