Changeset 55

Show
Ignore:
Timestamp:
07/25/07 20:02:19 (1 year ago)
Author:
edsuom
Message:

Moved twisted_goodies.taskqueue into its own project, AsynQueue?; tests pass

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/AsynQueue/trunk/asynqueue/base.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
  • projects/AsynQueue/trunk/asynqueue/errors.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
  • projects/AsynQueue/trunk/asynqueue/tasks.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
  • projects/AsynQueue/trunk/asynqueue/test/test_base.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    2019 
    2120""" 
    22 Unit tests for taskqueu
     21Unit tests for asynqueue.bas
    2322""" 
    2423 
  • projects/AsynQueue/trunk/asynqueue/test/test_tasks.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    2019 
    2120""" 
    22 Unit tests for twisted_goodies.taskqueue.tasks 
     21Unit tests for asynqueue.tasks 
    2322""" 
    2423 
  • projects/AsynQueue/trunk/asynqueue/test/test_workers.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    2019 
    2120""" 
    22 Unit tests for twisted_goodies.taskqueue.workers 
     21Unit tests for asynqueue.workers 
    2322""" 
    2423 
  • projects/AsynQueue/trunk/asynqueue/test/__init__.py

    r53 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    2019 
    2120""" 
    22 Unit tests for twisted_goodies 
     21Unit tests for asynqueue 
    2322""" 
    2423 
  • projects/AsynQueue/trunk/asynqueue/workers.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
  • projects/AsynQueue/trunk/asynqueue/__init__.py

    r2 r55  
    1 # Twisted Goodies: 
    2 # Miscellaneous add-ons and improvements to the separately maintained and 
    3 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    4 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     1# AsynQueue: 
     2# Asynchronous task queueing based on the Twisted framework, with task 
     3# prioritization and a powerful worker/manager interface. 
    54# 
    65# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
  • projects/AsynQueue/trunk/setup.py

    r53 r55  
    11#!/usr/bin/env python 
    22# 
    3 # Twisted Goodies: 
    4 # Miscellaneous add-ons and improvements to the separately maintained and 
    5 # licensed Twisted (TM) asynchronous framework. Permission to use the name was 
    6 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com. 
     3# AsynQueue: 
     4# Asynchronous task queueing based on the Twisted framework, with task 
     5# prioritization and a powerful worker/manager interface. 
    76# 
    87# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 
     
    2120# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 
    2221 
    23 NAME = "Twisted-Goodies
     22NAME = "AsynQueue
    2423 
    2524 
    2625### Imports and support 
    27 import ez_setup, postsetup 
     26import ez_setup 
    2827ez_setup.use_setuptools() 
    2928from setuptools import setup, find_packages 
     
    3130 
    3231### Define setup options 
    33 kw = {'version':'0.4', 
     32kw = {'version':'0.1', 
    3433      'license':'GPL', 
    3534      'platforms':'OS Independent', 
     
    4342       
    4443      'packages':find_packages(exclude=["*.test"]), 
    45       'scripts':['pat2pdf'], 
    46        
    4744      'zip_safe':True 
    4845      } 
     
    5047kw['keywords'] = [ 
    5148    'Twisted', 'asynchronous', 'threads', 
    52     'taskqueue', 'queue', 'priority', 'tasks', 'jobs', 
    53     'web', 'fetch', 'patent', 'wget'] 
     49    'taskqueue', 'queue', 'priority', 'tasks', 'jobs'] 
    5450 
    5551kw['classifiers'] = [ 
    5652    'Development Status :: 4 - Beta', 
    5753    'Intended Audience :: Developers', 
    58     'Intended Audience :: System Administrators', 
    5954    'License :: OSI Approved :: GNU General Public License (GPL)', 
    6055    'Operating System :: OS Independent', 
     
    6459 
    6560kw['description'] = " ".join(""" 
    66 Asynchronous task queueing, HTTP fetching, cluster management, and other 
    67 goodies for the Twisted framework. 
     61Asynchronous task queueing based on the Twisted framework. 
    6862""".split("\n")) 
    6963 
    7064kw['long_description'] = """ 
    71 The Twisted (TM) asynchronous processing framework is made even more powerful 
    72 with this package of goodies: 
     65Asynchronous task queueing based on the Twisted framework, with task 
     66prioritization and a powerful worker/manager interface. 
    7367 
    74 +---------------+-------------------------------------------------------------+ 
    75 | Sub-Package   | Description                                                 | 
    76 +===============+=============================================================+ 
    77 | taskqueue     | Asynchronous task queueing with a powerful worker/manager   | 
    78 |               | interface                                                   | 
    79 +---------------+-------------------------------------------------------------+ 
    80 | webfetch      | Fetching of web server content including PDFs of patent and | 
    81 |               | published patent applications from the USPTO servers.       | 
    82 +---------------+-------------------------------------------------------------+ 
    83 | simpleserver  | Simple but entirely useful HTTP, SMTP, and POP3 servers     | 
    84 +---------------+-------------------------------------------------------------+ 
    85 | misc          | Miscellaneous goodies, including a deferred tracker for     | 
    86 |               | waiting on the firing of one or more deferreds without      | 
    87 |               | needing references to them.                                 | 
    88 +---------------+-------------------------------------------------------------+ 
    89  
    90 Twisted-Goodies is maintained and licensed separately from the Twisted 
    91 framework. The name is used by permission. 
     68Worker implementations are included for running tasks via threads, separate 
     69Python interpreters, and remote worker nodes. 
    9270""" 
    9371 
    9472### Finally, run the setup 
    9573setup(name=NAME, **kw) 
    96 postsetup.run(NAME, 'simpleserver', 'simpleserver')