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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Generates a single sentence, of random length.

If start_with_lorem=True, then the sentence will begin with the
standard "Lorem ipsum..." first sentence.

src/n/i/Nitrogen-0.2a.dev/nitrogen/lipsum.py   Nitrogen(Download)
def sentence(start_with_lorem=False):
    return g.generate_sentence(start_with_lorem)
 
def paragraph(start_with_lorem=False):
    return g.generate_paragraph(start_with_lorem)

src/p/e/penelope.trac-1.2.7/penelope/trac/populate.py   penelope.trac(Download)
        ticket = Ticket(tracenv)
        ticket.populate({
            'summary': g.generate_sentence(),
            'description': g.generate_paragraph(),
            # 'project_id': project.id,

src/p/o/por.trac-1.6/por/trac/populate.py   por.trac(Download)
        ticket = Ticket(tracenv)
        ticket.populate({
            'summary': g.generate_sentence(),
            'description': g.generate_paragraph(),
            # 'project_id': project.id,

src/p/o/por.models-1.3.22/por/models/scripts/__init__.py   por.models(Download)
                minutes -= te_duration
 
                description = '%s.%d: %s' % (author.id, te_num, g.generate_sentence())
 
                te = add_time_entry(session, description=description)

src/p/e/penelope.core-2.1.24/penelope/core/scripts/__init__.py   penelope.core(Download)
                minutes -= te_duration
 
                description = '%s.%d: %s' % (author.id, te_num, g.generate_sentence())
 
                te = add_time_entry(session, description=description)