{ "info": { "author": "Sam Rayment", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Topic :: Internet :: WWW/HTTP :: WSGI" ], "description": "Scheduling WSGI Middleware\n============================\n\nThis package acts as a WSGI scheduling engine, the middleware can be configured\nto request web contexts at given intervals. A user may then, within their application,\nconfigure the web contexts to perform scheduled tasks e.g. maintainence.\n\nThe middleware for pulse is provided in pulse.middleware:PulseMiddleware and a paste\nfilter_app_factory is also provided.\n\nConfiguration\n-----------------\nPulse can be configured in two ways. The Middleware takes keyword configuration\narguments when constructed,or alternatively a config dictionary \nallowing it to be configured by paste.\nIf using pastes the pulse configuration options take the form of:\npulse.config.$configoption.\n\nCurrently only one configuration option is supported:\n* context - This is the base web context that tasks are sent to,\n tasks are dispatched to /$context/$action, unless action is an absolute\n path.\n* mode - This specifies the multiprocessing mode, the default is 'theading',\n if running python2.6 the 'processing' option is also available.\n* guard - If True the pulse middleware prevents any pulse managed contexts\n from being accessed extenally, the default is False.\n\nTasks\n------\nEach task defines at an interval and a web context, pulse will request\nthe specified web context every interval seconds.\n\nCreating A Task\n~~~~~~~~~~~~~~~~\nA new task is created by specifying configuration options, each option takes the form:\npulse.task.$taskname.$option\n\nThe following task configuration options are available:\n* interval - The interval between task dispatching.\n* action - The action to dispatch to: see pulse.config.context\n\nTasks can also be programmatically configured by passing a dictionary of \n into PulseMiddleware's task keyword argument.\n\nExample\n========\n\nTo request the following context '/sessions/cleanup' every 5 minutes, the following\npaste configuration could be used:\n\npulse.config.context = sessions\n\npulse.task.cleanup.action = cleanup\npulse.task.cleanup.interval = 300", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "", "license": "MIT Licence", "maintainer": null, "maintainer_email": null, "name": "pulse", "package_url": "https://pypi.org/project/pulse/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pulse/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/pulse/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Simple scheduling WSGI middleware.", "version": "0.1.2" }, "last_serial": 796795, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e8e702526a83fb9e5bd3ed4a29eb3200", "sha256": "ab7cee23459d7d4d0f595b8e8f19bafdb46501fbe33b3a029b677ae600313c2a" }, "downloads": -1, "filename": "pulse-0.1-py2.6.egg", "has_sig": false, "md5_digest": "e8e702526a83fb9e5bd3ed4a29eb3200", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 6858, "upload_time": "2009-07-07T02:25:52", "url": "https://files.pythonhosted.org/packages/bb/fa/d41d783107f59c0c1f0de8184bb3d6710f6810e4af2c1937cb9836f115d7/pulse-0.1-py2.6.egg" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fb1ea562a2e351a50c0e1da06c4839ba", "sha256": "ead68f001ff8717a644c48029f7af621316f636cd98d2d6e658973ae50aba643" }, "downloads": -1, "filename": "pulse-0.1.1-py2.6.egg", "has_sig": false, "md5_digest": "fb1ea562a2e351a50c0e1da06c4839ba", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 7624, "upload_time": "2009-07-20T00:46:46", "url": "https://files.pythonhosted.org/packages/be/0b/8fc1719501340ca71a3f9876980b9e21d35d1c16ad8b640e18bdc040e220/pulse-0.1.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "0e2881bbc72bceb4f1c60f2a6ddabffd", "sha256": "c6af5dc833f31031701457eb0a4f82a2ae0ab0c2fda8d28e692d99785ae43a38" }, "downloads": -1, "filename": "pulse-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0e2881bbc72bceb4f1c60f2a6ddabffd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4066, "upload_time": "2009-07-20T00:46:46", "url": "https://files.pythonhosted.org/packages/98/08/9409222f6e64b124ba96164b0a82ccd59900543d6c7f57f3235c23da53e7/pulse-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c75faf0eb92fb32c9e509d432944dbdd", "sha256": "8ff127d18f993d8c087b224dca07abf0e9845fa1698e123e5efd42643d70ebeb" }, "downloads": -1, "filename": "pulse-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "c75faf0eb92fb32c9e509d432944dbdd", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 7710, "upload_time": "2009-08-03T00:11:12", "url": "https://files.pythonhosted.org/packages/37/2a/3afc87b7b79f5ac10097d43341a45e76488edba56770ac2330600de4b910/pulse-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "567471302578cfb09fdaf83e36f57cc8", "sha256": "8d8ae5d062a3ed093edc3b71ccf151d15be0a66bd50d9195ca3537f170df5cae" }, "downloads": -1, "filename": "pulse-0.1.2.tar.gz", "has_sig": false, "md5_digest": "567471302578cfb09fdaf83e36f57cc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4130, "upload_time": "2009-08-03T00:11:13", "url": "https://files.pythonhosted.org/packages/19/16/f7546d8995329565c1f15b07f57a9cc0ba6d4d2b65f551967685890ba84b/pulse-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c75faf0eb92fb32c9e509d432944dbdd", "sha256": "8ff127d18f993d8c087b224dca07abf0e9845fa1698e123e5efd42643d70ebeb" }, "downloads": -1, "filename": "pulse-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "c75faf0eb92fb32c9e509d432944dbdd", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 7710, "upload_time": "2009-08-03T00:11:12", "url": "https://files.pythonhosted.org/packages/37/2a/3afc87b7b79f5ac10097d43341a45e76488edba56770ac2330600de4b910/pulse-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "567471302578cfb09fdaf83e36f57cc8", "sha256": "8d8ae5d062a3ed093edc3b71ccf151d15be0a66bd50d9195ca3537f170df5cae" }, "downloads": -1, "filename": "pulse-0.1.2.tar.gz", "has_sig": false, "md5_digest": "567471302578cfb09fdaf83e36f57cc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4130, "upload_time": "2009-08-03T00:11:13", "url": "https://files.pythonhosted.org/packages/19/16/f7546d8995329565c1f15b07f57a9cc0ba6d4d2b65f551967685890ba84b/pulse-0.1.2.tar.gz" } ] }