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

All Samples(20)  |  Call(0)  |  Derive(0)  |  Import(20)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/t/e/templer.plonebuildout-HEAD/src/templer/plonebuildout/abstract_buildout.py   templer.plonebuildout(Download)
import copy
 
from templer.core.base import BaseTemplate
from templer.core.vars import EASY
from templer.core.vars import EXPERT
    description='Plone version # to install',
    default='3.3.6',
    modes=(EASY,EXPERT),
    page='Main',
    help="""
    description='Path to Zope2 installation; leave blank to fetch one!',
    default='',
    modes=(EASY,EXPERT),
    page='Main',
    help="""
    title='Plone Products Directory',
    description='Path to Plone products; leave blank to fetch [Plone 3.0/3.1 only]',
    modes=(EASY, EXPERT),
    page='Main',
    default='',
    title='Initial Zope Username',
    description='Username for Zope root admin user',
    modes=(EASY, EXPERT),
    page='Main',
    default='admin',

src/t/e/templer.core-1.0b4/src/templer/core/basic_namespace.py   templer.core(Download)
from templer.core.vars import TextVar
from templer.core.vars import EASY
from templer.core.vars import EXPERT
 
lower_licenses = map(lambda x: x.lower(), LICENSE_CATEGORIES.keys())
            description='Name of outer namespace package',
            default='my',
            modes=(EXPERT, ),
            page='Namespaces',
            help="""
            description='Name of the inner namespace package',
            default='example',
            modes=(EXPERT, ),
            page='Namespaces',
            help="""
            description='Version number for project',
            default='1.0',
            modes=(EASY, EXPERT),
            page='Metadata',
            help="""
            description='One-line description of the project',
            default='',
            modes=(EASY, EXPERT),
            page='Metadata',
            help="""

src/t/e/templer.core-HEAD/src/templer/core/basic_namespace.py   templer.core(Download)
from templer.core.vars import TextVar
from templer.core.vars import EASY
from templer.core.vars import EXPERT
 
lower_licenses = map(lambda x: x.lower(), LICENSE_CATEGORIES.keys())
            description='Name of outer namespace package',
            default='my',
            modes=(EXPERT, ),
            page='Namespaces',
            help="""
            description='Name of the inner namespace package',
            default='example',
            modes=(EXPERT, ),
            page='Namespaces',
            help="""
            description='Version number for project',
            default='1.0',
            modes=(EASY, EXPERT),
            page='Metadata',
            help="""
            description='One-line description of the project',
            default='',
            modes=(EASY, EXPERT),
            page='Metadata',
            help="""

src/t/e/templer.core-HEAD/src/templer/core/package_template.py   templer.core(Download)
from templer.core.vars import TextVar
from templer.core.vars import EASY
from templer.core.vars import EXPERT
 
lower_licenses = map(lambda x: x.lower(), LICENSE_CATEGORIES.keys())
            description='Version number for project',
            default='1.0',
            modes=(EASY, EXPERT),
            page='Metadata',
            help="""
            description='One-line description of the project',
            default='',
            modes=(EASY, EXPERT),
            page='Metadata',
            help="""

src/t/e/templer.plone-1.0b4/src/templer/plone/plone.py   templer.plone(Download)
import copy
 
from templer.core.base import get_var
from templer.core.vars import EASY
from templer.core.vars import EXPERT
        title='Register Profile',
        description='Should this package register a GS Profile',
        modes=(EASY, EXPERT),
        default=False,
        structures={'False': None, 'True': 'namespace_profile'},
        title='Robot Tests',
        description='Should the default robot test be included',
        modes=(EASY, EXPERT),
        default=False,
        help=ROBOT_HELP,
        title='Register Profile',
        description='Should this package register a GS Profile',
        modes=(EASY, EXPERT),
        default=False,
        structures={'False': None, 'True': 'nested_namespace_profile'},
        title='Tile title',
        description='The human readable title of the tile.',
        modes=(EASY, EXPERT),
        default="My tile",
    ))

src/t/e/templer.plone-HEAD/src/templer/plone/plone.py   templer.plone(Download)
import copy
 
from templer.core.base import get_var
from templer.core.vars import EASY
from templer.core.vars import EXPERT
        title='Register Profile',
        description='Should this package register a GS Profile',
        modes=(EASY, EXPERT),
        default=False,
        structures={'False': None, 'True': 'namespace_profile'},
        title='Robot Tests',
        description='Should the default robot test be included',
        modes=(EASY, EXPERT),
        default=False,
        help=ROBOT_HELP,
        title='Register Profile',
        description='Should this package register a GS Profile',
        modes=(EASY, EXPERT),
        default=False,
        structures={'False': None, 'True': 'nested_namespace_profile'},
        title='Tile title',
        description='The human readable title of the tile.',
        modes=(EASY, EXPERT),
        default="My tile",
    ))

src/t/o/tooth.paste-2.0/tooth/paste/invisible.py   tooth.paste(Download)
 
from templer.core.vars import EASY
from templer.core.vars import EXPERT
 
 
        description='Travis-Ci',
        default='.travis.yml',
        modes=(EASY, EXPERT),
        page='Metadata',
        help="""
        title='Travis-CI User',
        description='Travis-CI User',
        modes=(EASY, EXPERT),
        page='Metadata',
        help="""
        description='Travis-CI Project',
        default=os.environ.get('USER', 'travisci_project'),
        modes=(EASY, EXPERT),
        page='Metadata',
        help="""
        description='Travis-CI URL',
        default="https://secure.travis-ci.org/%s/%s" % info,
        modes=(EASY, EXPERT),
        page='Metadata',
        help="""

src/t/e/templer.plone-1.0b4/src/templer/plone/archetype.py   templer.plone(Download)
import copy
 
from templer.plone import Plone
from templer.core.base import get_var
from templer.core.vars import StringVar, EASY, EXPERT
        title='Project Title',
        description='Title of the project',
        modes=(EASY, EXPERT),
        default='Example Name',
        help="""
    get_var(vars, 'add_profile').default = True
    #add_profile need not appear as a question for archetype packages
    get_var(vars, 'add_profile').modes = (EXPERT, )
 
    def pre(self, command, output_dir, vars):

src/t/e/templer.plone-HEAD/src/templer/plone/archetype.py   templer.plone(Download)
import copy
 
from templer.plone import Plone
from templer.core.base import get_var
from templer.core.vars import StringVar, EASY, EXPERT
        title='Project Title',
        description='Title of the project',
        modes=(EASY, EXPERT),
        default='Example Name',
        help="""
    get_var(vars, 'add_profile').default = True
    #add_profile need not appear as a question for archetype packages
    get_var(vars, 'add_profile').modes = (EXPERT, )
 
    def pre(self, command, output_dir, vars):

src/t/e/templer.dexterity-1.0a1/src/templer/dexterity/dexterity.py   templer.dexterity(Download)
from templer.core.vars import StringVar
from templer.core.vars import EASY
from templer.core.vars import EXPERT
 
try:
        title='Project Title',
        description='Title of the project',
        modes=(EASY, EXPERT),
        default='Example Name',
        help="""
    get_var(vars, 'add_profile').default = True
    #add_profile need not appear as a question for dexterity packages
    get_var(vars, 'add_profile').modes = (EXPERT, )
 
    def pre(self, command, output_dir, vars):

  1 | 2  Next