Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install upc.remotecontrol

How to install upc.remotecontrol

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install upc.remotecontrol
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0a1 Available View build log
Windows (64-bit)
1.0a1 Available View build log
Mac OS X (10.5+)
1.0a1 Available View build log
Linux (32-bit)
1.0a1 Available View build log
Linux (64-bit)
1.0a1 Available View build log
 
License
GPL
Dependencies
Lastest release
version 1.0a1 on Jan 5th, 2011

Introduction

upc.remotecontrol is a tool for managing a set of Plone instances through XML-RPC calls.

Buildout Installation

To install upc.remotecontrol, add the following code to your buildout.cfg:

[instance]

System Message: ERROR/3 (<string>, line 12)

Inconsistent literal block quoting.

... eggs = ... upc.remotecontrol

Usage

Connect to a Plone Instance:

>>> from xmlrpclib import ServerProxy
>>> client = ServerProxy('http://admin:admin@localhost:8080/')

List all Plone instances:

>>> client.listInstances()

System Message: ERROR/3 (<string>, line 29)

Inconsistent literal block quoting.

['instance1', 'instance2', 'instance3']

Install a product for all instances:

>>> client.installProduct("collective.fancyzoomview")

System Message: ERROR/3 (<string>, line 34)

Inconsistent literal block quoting.

'Successfully installed collective.fancyzoomview on all instances.'

Uninstall a product for all instances:

>>> client.uninstallProduct("collective.fancyzoomview")

System Message: ERROR/3 (<string>, line 39)

Inconsistent literal block quoting.

'Successfully uninstalled collective.fancyzoomview on all instances.'

Reinstall a product for all instances:

>>> print client.reinstallProduct("collective.fancyzoomview")

System Message: ERROR/3 (<string>, line 44)

Inconsistent literal block quoting.

'Successfully reinstalled collective.fancyzoomview on all instances.'

Apply a specific Generic Setup import step for all instances:

>>> client.applyImportStep("collective.fancyzoomview", "catalog")

System Message: ERROR/3 (<string>, line 49)

Inconsistent literal block quoting.

'Successfully applied import step catalog to profile collective.fancyzoomview.'

Changelog

1.0a1 (2009-12-04)
  • Initial release

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.