Package cubicweb :: Module hercule
[hide private]
[frames] | no frames]

Module hercule

RQL client for cubicweb, connecting to instance using pyro

Organization: Logilab

Copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.

Contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr

License: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses

Classes [hide private]
  CubicWebClientCommand
A command line querier for CubicWeb, using the Relation Query Language.
  RQLCli
Interactive command line client for CubicWeb, allowing user to execute arbitrary RQL queries and to fetch schema information
Functions [hide private]
 
format_results(writer, layout, stream=<epydoc.docintrospecter._DevNull instance at 0x2b8e87a39e60>)
format result as text into the given file like object
 
izip2(list1, list2)
 
pager_format_results(writer, layout)
pipe results to a pager like more or less
 
to_string(value, encoding='UTF-8')
used to converte arbitrary values to encoded string
Variables [hide private]
  CONNECT_OPTIONS = (('user', {'help': 'connect as <user> instea...
  PAGER = 'less'
  __warningregistry__ = {('use cls.register(cli)', <type 'except...
  encoding = 'UTF-8'
Variables Details [hide private]

CONNECT_OPTIONS

Value:
(('user',
  {'help': 'connect as <user> instead of being prompted to give it.',
   'metavar': '<user>',
   'short': 'u',
   'type': 'string'}),
 ('password',
  {'help': 'automatically give <password> for authentication instead o\
f being prompted to give it.',
...

__warningregistry__

Value:
{('use cls.register(cli)',
  <type 'exceptions.DeprecationWarning'>,
  276): 1}