Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Program used to scan zope3 tree and execute data by external (console) program

Project description

Short package description
=========================

Package developed to provide possibility xmlrpc server tree and edit
attributes of some interfaces by external applicaton.

Package provide utility:

ngxmlrpcscan

The ngxmlrpcscan developed to scan xmlrpc server tree and print or
edit attributes of some interfaces by external applicaton

Used::

ngxmlrpcscan [<Switches>] <URL> [<ATTRIBUTE> ...]

Switches:

-v
Be verbose;

-p
Do pause each time when exteranl routin run;

-c
Check class

-s
Atribut are to save after external routin run;

-c <CLASSNAME>
Object checked on condition: "is object of this class".

-i <INTERFACE>
Adapt object to this interface;

-n
Pointed object used without any scan by tree

-e
External routin used (do print otherwize), filename will be
substituted indeed substring %(name)s in this string. It
supposed running program read filename when started and
write after finish;



Arguments::

<URL>
Scan tree will be begun on this URL. For authorization,
you must insert login and pasword into URL. Let see
sample bellow;

<ATTRIBUTE>
Any attribute acceptable via interface bellow.

Sample
------

Please, issued command::

ngxmlrpcscan.py -s -p -v \
-i zope.app.folder.folder.Folder
-с zope.dublincore.interfaces.IZopeDublinCore \
-e "joe %(name)s "
http://theman:12345678@localhost:8080/Root/Main \
title description

The ngxmlrpcscan scaned object tree rooted in
http://theman:12345678@localhost:8080/Root/Main to find all folders and to
edit folder methadata via IZopeDublinCore adapter.

You can edit one object attribute with command::

ngxmlrpcscan -v -e -n \
http://theman:12345678@localhost:8080/Root/Main \
"joe '%(name)s'" body

Just enter and enjoy!




* Tue Oct 21 2008 Andrey Orlov <dbdt@dreambot.ru> 0.0.6
- Switch "q" used to skip begin of enumerated object added;
- Error emited on unicode in urls fixed

* Sun Jan 13 2008 Andrey Orlov <dbdt@dreambot.ru> 0.0.5
- License changed

* Fri Nov 23 2007 Andrey Orlov <dbdt@dreambot.ru> 0.0.4
- Command line changed. See help for other info.

* Wed Nov 14 2007 Andrey Orlov <dbdt@dreambot.ru> 0.0.3
- Switch -n added. Recursive scan can'not doing when
switch -n issued;

- Minor bugs fixed in Zope3-path of code;

* Tue Nov 13 2007 Andrey Orlov <dbdt@dreambot.ru> 0.0.2
- Documentation fixed

* Tue Nov 13 2007 Andrey Orlov <dbdt@dreambot.ru> 0.0.1
- first official release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ng.xmlrpcscan, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size ng.xmlrpcscan-0.0.6.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page