Browse files

Initial Commit

  • Loading branch information...
0 parents commit 28302042a48455c2a932aea2c5dc97aab67b728b @pbdeuchler committed May 2, 2012
2 .gitignore
@@ -0,0 +1,2 @@
+venv
+*.pyc
1 CHANGES.txt
@@ -0,0 +1 @@
+v0.0.1, 4/30/12 -- Initial release.
0 Classy/__init__.py
No changes.
14 Classy/api.py
@@ -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 Classy/classifier.py
@@ -0,0 +1 @@
+# -*- coding: utf-8 -*-
1 Classy/trainer.py
@@ -0,0 +1 @@
+# -*- coding: utf-8 -*-
18 LICENSE.txt
@@ -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 MANIFEST.in
@@ -0,0 +1,2 @@
+include *.txt
+recursive-include docs *.txt
0 README.md
No changes.
18 __init__.py
@@ -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'
0 adapters/__init__.py
No changes.
0 bin/__init__.py
No changes.
0 docs/__init__.py
No changes.
2 requirements.txt
@@ -0,0 +1,2 @@
+distribute==0.6.24
+wsgiref==0.1.2
36 setup.py
@@ -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.