Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Initial Commit

  • Loading branch information...
commit 28302042a48455c2a932aea2c5dc97aab67b728b 0 parents
Philip Deuchler authored
2  .gitignore
... ... @@ -0,0 +1,2 @@
  1 +venv
  2 +*.pyc
1  CHANGES.txt
... ... @@ -0,0 +1 @@
  1 +v0.0.1, 4/30/12 -- Initial release.
0  Classy/__init__.py
No changes.
14 Classy/api.py
... ... @@ -0,0 +1,14 @@
  1 +# -*- coding: utf-8 -*-
  2 +
  3 +class Classy(object):
  4 +
  5 +
  6 +class DatabaseAdapter(object):
  7 +
  8 + def __init__(self, type_input, host_input, port_input, user_input, pass_input):
  9 + self.type = type_input
  10 +
  11 +
  12 + def connect(self):
  13 +
  14 + def corpus_gen(self):
1  Classy/classifier.py
... ... @@ -0,0 +1 @@
  1 +# -*- coding: utf-8 -*-
1  Classy/trainer.py
... ... @@ -0,0 +1 @@
  1 +# -*- coding: utf-8 -*-
18 LICENSE.txt
... ... @@ -0,0 +1,18 @@
  1 +Copyright 2008-2011 Andrey Petrov and contributors (see CONTRIBUTORS.txt),
  2 +Modifications copyright 2022 Kenneth Reitz.
  3 +
  4 +Permission is hereby granted, free of charge, to any person obtaining a copy of this
  5 +software and associated documentation files (the "Software"), to deal in the Software
  6 +without restriction, including without limitation the rights to use, copy, modify, merge,
  7 +publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
  8 +to whom the Software is furnished to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in all copies or
  11 +substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  14 +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15 +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
  16 +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  17 +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  18 +DEALINGS IN THE SOFTWARE.
2  MANIFEST.in
... ... @@ -0,0 +1,2 @@
  1 +include *.txt
  2 +recursive-include docs *.txt
0  README.md
Source Rendered
No changes.
18 __init__.py
... ... @@ -0,0 +1,18 @@
  1 +# -*- coding: utf-8 -*-
  2 +
  3 +
  4 +"""
  5 +classy
  6 +~~~~~~~~
  7 +
  8 +:copyright: (c) 2012 by Philip Deuchler.
  9 +:license: ISC, see LICENSE for more details.
  10 +
  11 +"""
  12 +
  13 +__title__ = 'classy'
  14 +__version__ = '0.0.1'
  15 +__build__ = 0x0000001
  16 +__author__ = 'Philip Deuchler'
  17 +__license__ = 'ISC'
  18 +__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 @@
  1 +distribute==0.6.24
  2 +wsgiref==0.1.2
36 setup.py
... ... @@ -0,0 +1,36 @@
  1 +#!/usr/bin/env python
  2 +# -*- coding: utf-8 -*-
  3 +
  4 +# ______ __
  5 +# / \ / |
  6 +# /$$$$$$ |$$ | ______ _______ _______ __ __
  7 +# $$ | $$/ $$ | / \ / |/ |/ | / |
  8 +# $$ | $$ | $$$$$$ |/$$$$$$$//$$$$$$$/ $$ | $$ |
  9 +# $$ | __ $$ | / $$ |$$ \$$ \ $$ | $$ |
  10 +# $$ \__/ |$$ |/$$$$$$$ | $$$$$$ |$$$$$$ |$$ \__$$ |
  11 +# $$ $$/ $$ |$$ $$ |/ $$// $$/ $$ $$ |
  12 +# $$$$$$/ $$/ $$$$$$$/ $$$$$$$/ $$$$$$$/ $$$$$$$ |
  13 +# / \__$$ |
  14 +# $$ $$/
  15 +# $$$$$$/
  16 +
  17 +from distutils.core import setup
  18 +
  19 +def get_file_contents(file_path):
  20 + """Get the context of the file using full path name"""
  21 + full_path = os.path.join(package_directory, file_path)
  22 + return open(full_path, 'r').read()
  23 +
  24 +setup(
  25 + name='Classy',
  26 + version=classy.__version__,
  27 + author='Philip Deuchler',
  28 + author_email='pbdeuchler@gmail.com',
  29 + packages=['classy', 'classy.Classy', 'classy.adapters'],
  30 + scripts=[],
  31 + url='http://pypi.python.org/pypi/classy/',
  32 + license=get_file_contents('LICENSE'),
  33 + description='Abstracted naive Bayes classifier for rest of us',
  34 + long_description=open('README.txt').read(),
  35 + install_requires=[],
  36 +)

0 comments on commit 2830204

Please sign in to comment.
Something went wrong with that request. Please try again.