Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pbdeuchler committed May 2, 2012
0 parents commit 2830204
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
venv
*.pyc
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.0.1, 4/30/12 -- Initial release.
Empty file added Classy/__init__.py
Empty file.
14 changes: 14 additions & 0 deletions Classy/api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-

class Classy(object):


class DatabaseAdapter(object):

def __init__(self, type_input, host_input, port_input, user_input, pass_input):
self.type = type_input


def connect(self):

def corpus_gen(self):
1 change: 1 addition & 0 deletions Classy/classifier.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# -*- coding: utf-8 -*-
1 change: 1 addition & 0 deletions Classy/trainer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# -*- coding: utf-8 -*-
18 changes: 18 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright 2008-2011 Andrey Petrov and contributors (see CONTRIBUTORS.txt),
Modifications copyright 2022 Kenneth Reitz.

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include *.txt
recursive-include docs *.txt
Empty file added README.md
Empty file.
18 changes: 18 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-


"""
classy
~~~~~~~~
:copyright: (c) 2012 by Philip Deuchler.
:license: ISC, see LICENSE for more details.
"""

__title__ = 'classy'
__version__ = '0.0.1'
__build__ = 0x0000001
__author__ = 'Philip Deuchler'
__license__ = 'ISC'
__copyright__ = 'Copyright 2012 Philip Deuchler'
Empty file added adapters/__init__.py
Empty file.
Empty file added bin/__init__.py
Empty file.
Empty file added docs/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distribute==0.6.24
wsgiref==0.1.2
36 changes: 36 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# ______ __
# / \ / |
# /$$$$$$ |$$ | ______ _______ _______ __ __
# $$ | $$/ $$ | / \ / |/ |/ | / |
# $$ | $$ | $$$$$$ |/$$$$$$$//$$$$$$$/ $$ | $$ |
# $$ | __ $$ | / $$ |$$ \$$ \ $$ | $$ |
# $$ \__/ |$$ |/$$$$$$$ | $$$$$$ |$$$$$$ |$$ \__$$ |
# $$ $$/ $$ |$$ $$ |/ $$// $$/ $$ $$ |
# $$$$$$/ $$/ $$$$$$$/ $$$$$$$/ $$$$$$$/ $$$$$$$ |
# / \__$$ |
# $$ $$/
# $$$$$$/

from distutils.core import setup

def get_file_contents(file_path):
"""Get the context of the file using full path name"""
full_path = os.path.join(package_directory, file_path)
return open(full_path, 'r').read()

setup(
name='Classy',
version=classy.__version__,
author='Philip Deuchler',
author_email='pbdeuchler@gmail.com',
packages=['classy', 'classy.Classy', 'classy.adapters'],
scripts=[],
url='http://pypi.python.org/pypi/classy/',
license=get_file_contents('LICENSE'),
description='Abstracted naive Bayes classifier for rest of us',
long_description=open('README.txt').read(),
install_requires=[],
)

0 comments on commit 2830204

Please sign in to comment.