Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.176.301 Times

supervisor_cache 0.2

Company: Mike Naberezny
Date Added: September 29, 2013  |  Visits: 306

supervisor_cache

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



supervisor_cache is an RPC extension for the supervisor module that provides the ability to cache limited amounts of data in the supervisor instance as key/value pairs.<br /><br />Installation<br /><br />Release packages are available on the Python Package Index (PyPI). You can download them from there or you can use easy_install to automatically install or upgrade:<br /><br />$ easy_install -U supervisor_cache<br /><br />Alternatively, you can download a package from GitHub in .tar.gz or .zip format. After extracting the package, use the following command to install:<br /><br />$ python setup.py install<br /><br />After installing the package, you must modify your supervisord.conf file to register the RPC interface and supervisorctl plugin:<br /><br />[rpcinterface:cache]<br />supervisor.rpcinterface_factory = supervisor_cache.rpcinterface:make_cache_rpcinterface<br /><br />[ctlplugin:cache]<br />supervisor.ctl_factory = supervisor_cache.controllerplugin:make_cache_controllerplugin<br /><br />After modifying the supervisord.conf file, both your supervisord instance and supervisorctl must be restarted for these changes to take effect.<br /><br />Usage<br /><br />The cache functions allow key/value pairs to be stored and fetched. The following Python interpreter session demonstrates the usage.<br /><br />First, a ServerProxy object must be configured. If supervisord is listening on an inet socket, ServerProxy configuration is simple:<br /><br />>>> import xmlrpclib<br />>>> s = xmlrpclib.ServerProxy('http://localhost:9001')<br /><br />If supervisord is listening on a domain socket, ServerProxy can be configured with SupervisorTransport. The URL must still be supplied and be a valid HTTP URL to appease ServerProxy, but it is superfluous.<br /><br />>>> import xmlrpclib<br />>>> from supervisor.xmlrpc import SupervisorTransport<br />>>> s = xmlrpclib.ServerProxy('http://127.0.0.1/whatever',<br />... SupervisorTransport('', '', 'unix:///path/to/supervisor.sock'))<br /><br />Once ServerProxy has been configured appropriately, we can now exercise supervisor_cache:<br /><br />>>> s.cache.getKeys()<br />[]<br />>>> s.cache.store('foo', 'bar')<br />True<br />>>> s.cache.fetch('foo')<br />'bar'<br />>>> s.cache.getKeys()<br />['foo']<br /><br />The key must be a string and cannot be zero-length. The value must also be a string but is permitted to be zero-length.<br /><br />Please consult the inline source documentation for the specifics of each command available.<br /><br />md5=a5178faeab3ba3a96114e74f12f087a8

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Cache Command Configured Download Easy Install Import Install Instance Listening Package Python Serverproxy String Supervisor Supervisor Cache 0 2 Supervisorctl Supervisord Supervisordconf Xmlrpclibgtgtgt
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


SUPERVISOR_CACHE RELATED
Programming  -  Distribute for linux 0.6.13
Distribute is a friendly fork of the setuptools utility. The Setuptools maintainer, Phillip J. Eby is not responsible of any aspect of this fork. If you install Distribute and want to switch back for any reason to Setuptools, get to the...
296.96 KB  
Development Tools  -  Visualization Toolkit (VTK) mex interface 1.0
The code in this submission describes how to download and install the Visualization Toolkit (VTK, www.vtk.org) and create a MATLAB mex file to interface with it.An example C++ mex file and code to build and run the mex file are included.
10 KB  
Utilities  -  EasyIDS 0.2
EasyIDS software is an easy to install intrusion detection system configured for Snort. Based upon Patrick Harpers Snort installation guide and modeled after the trixbox installation cd, EasyIDS is designed for the network security beginner with...
480 MB  
Networking  -  Plugin Manager for WordPress 0.7.10
Plugin Manager lets you to view, download and install plugins from wordpress.org from an AJAX'ed interface, instead of manually downloading, extracting and uploading each plugin.This plugin is tested to work in Firefox 3, IE6, IE7 on a linux...
10 KB  
Modules  -  Papa Rss Import 1.4
Simple and easy to import RSS feeds from several websites that you want. Keeping the content is always fresh with the display news or articles that are always updated. Install : 1. Upload Directory papa-rss-import to the /wp-content/plugins/...
102.4 KB  
Utilities  -  iFile app 2.0.7
Do your Apple device has file browsing or navigation capability as you wish ? We are sure your answer will be NO without iFile. iFile has lots of many features rather than default Apple apps or App store apps. Now you are ready to download and...
1.92 MB  
Utilities  -  DriveTheLife 6.2.4.112
Can't connect to the network? Can't hear any sound from microphone or loudspeakers? Computer is slow with severe lags? Can't use mouse or keyboard? You may need to check if there is something wrong with your hardware drivers. Designed to...
8.3 MB  
Web Searching Tools  -  Software Search Bar 1.01
Find software on the DownloadTip.com Software search engine directly from your toolbar.Fast download and easy install (400KB)Easy SearchKey term highlightingPage zoom and zoom out. Easy Uninstall, no spy ware!
400 KB  
Utilities  -  GETPKG 0.3.4
Getpkg is used to download and install packages for Slackware Linux. It is menu driven allowing the user to choose program options by entering menu choices. Its menus are generated using the dialog utility. It creates the folder ~/.getpkg and...
31.74 KB  
Home & Leisure  -  Social Media Dashboard 1.0
If you use several social media sites and would like to keep track of all of them in one easy to use interface, then download and install Social Media Dashboard.
3.76 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB