Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(74)  |  Call(74)  |  Derive(0)  |  Import(0)

src/p/r/Products.PythonScripts-2.13.2/src/Products/PythonScripts/standard.py   Products.PythonScripts(Download)
security = ModuleSecurityInfo('Products.PythonScripts.standard')
 
security.declarePublic('special_formats',
                       'whole_dollars',
                       'dollars_and_cents',
                      )
 
security.declarePublic('DTML')
class DTML(RestrictedDTML, HTML):
    """DTML objects are DocumentTemplate.HTML objects that allow
        return id(self)
 
security.declarePublic('Object')
def Object(**kw):
    return _Object(**kw)

src/z/o/Zope2-2.13.22/src/ZTUtils/__init__.py   Zope2(Download)
security = ModuleSecurityInfo('ZTUtils')
 
security.declarePublic('encodeExpansion', 'decodeExpansion', 'a2b', 'b2a')
from Tree import encodeExpansion, decodeExpansion, a2b, b2a
 
security.declarePublic('Batch', 'TreeMaker', 'SimpleTreeMaker', 'LazyFilter')
from ZTUtils.Zope import Batch, TreeMaker, SimpleTreeMaker, LazyFilter
 
security.declarePublic('url_query', 'make_query', 'make_hidden_input')

src/z/o/Zope-HEAD/src/ZTUtils/__init__.py   Zope(Download)
security = ModuleSecurityInfo('ZTUtils')
 
security.declarePublic('encodeExpansion', 'decodeExpansion', 'a2b', 'b2a')
from Tree import encodeExpansion, decodeExpansion, a2b, b2a
 
security.declarePublic('Batch', 'TreeMaker', 'SimpleTreeMaker', 'LazyFilter')
from ZTUtils.Zope import Batch, TreeMaker, SimpleTreeMaker, LazyFilter
 
security.declarePublic('url_query', 'make_query', 'make_hidden_input')

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/permissions.py   Products.CMFCore(Download)
#
 
security.declarePublic('AccessContentsInformation')
AccessContentsInformation = Permissions.access_contents_information
 
security.declarePublic('ChangePermissions')
ChangePermissions = Permissions.change_permissions
 
security.declarePublic('DeleteObjects')
DeleteObjects = Permissions.delete_objects
 
security.declarePublic('FTPAccess')
FTPAccess = Permissions.ftp_access
 
security.declarePublic('ManageProperties')

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/utils.py   Products.CMFDefault(Download)
_wwwdir = os.path.join( package_home( globals() ), 'www' )
 
security.declarePublic('formatRFC822Headers')
def formatRFC822Headers( headers ):
 
 
 
security.declarePublic('parseHeadersBody')
def parseHeadersBody( body, headers=None, rc=re.compile( r'\n|\r\n' ) ):
 
 
 
security.declarePublic('semi_split')
def semi_split(s):
 
    """ Split 's' on semicolons.
    """
    return map(lambda x: x.strip(), s.split( ';' ) )
 
security.declarePublic('comma_split')
    return map(lambda x: x.strip(), s.split( ',') )
 
security.declarePublic('seq_strip')
def seq_strip(seq, stripper=lambda x: x.strip() ):
    """ Strip a sequence of strings.

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/utils.py   Products.CMFCore(Download)
    return _tool_interface_registry.get(tool_id, None)
 
security.declarePublic('getToolByName')
def getToolByName(obj, name, default=_marker):
 
        return tool
 
security.declarePublic('getToolByInterfaceName')
def getToolByInterfaceName(dotted_name, default=_marker):
    warn('getToolByInterfaceName() is deprecated and will be removed in CMF '
 
 
security.declarePublic('getUtilityByInterfaceName')
def getUtilityByInterfaceName(dotted_name, default=_marker):
    """ Get a tool by its fully-qualified dotted interface path
        return default
 
security.declarePublic('cookString')
def cookString(text):
 
    return cooked
 
security.declarePublic('tuplize')
def tuplize( valueName, value ):
 

src/r/t/rt.lastmodifier-0.3.1/rt/lastmodifier/permissions.py   rt.lastmodifier(Download)
security = ModuleSecurityInfo('rt.lastmodifier.permissions')
 
security.declarePublic('DocumentByLineViewAuthor')
DocumentByLineViewAuthor = 'rt.lastmodifier: documentByLine view author'
setDefaultRoles(DocumentByLineViewAuthor, ())
 
security.declarePublic('DocumentByLineViewLastModifier')
setDefaultRoles(DocumentByLineViewLastModifier, ())
 
security.declarePublic('DocumentByLineViewModifiedDate')
DocumentByLineViewModifiedDate = 'rt.lastmodifier: documentByLine view modification date'
setDefaultRoles(DocumentByLineViewModifiedDate, ())
 
security.declarePublic('DocumentByLineViewPublishedDate')

src/c/o/collective.groupspace.content-1.0.2/collective/groupspace/content/permissions.py   collective.groupspace.content(Download)
for p in config.ADD_PERMISSIONS:
 
    security.declarePublic(config.ADD_PERMISSIONS[p])
    MyPermission = config.ADD_PERMISSIONS[p]
    setDefaultRoles(MyPermission, ('Manager', 'Owner'))

src/p/r/Products.DCWorkflow-2.3.0-beta/Products/DCWorkflow/utils.py   Products.DCWorkflow(Download)
    return changed
 
security.declarePublic('Message')
Message = _ = MessageFactory('cmf_default')
 

src/c/o/collective.favoriting-1.0.2/collective/favoriting/permissions.py   collective.favoriting(Download)
security = ModuleSecurityInfo('Products.CMFCore.permissions')
 
security.declarePublic('AddToFavorites')
AddToFavorites = 'collective.favoriting: Add'
setDefaultRoles(AddToFavorites, ('Member', 'Manager'))

  1 | 2  Next