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

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/d/a/daisyproducer-HEAD/dictionary/views.py   daisyproducer(Download)
from daisyproducer.dictionary.models import GlobalWord, LocalWord
from daisyproducer.dictionary.importExport import exportWords
from daisyproducer.statistics.models import DocumentStatistic
from daisyproducer.documents.models import Document, State
from daisyproducer.documents.external import saxon9he
 
    # Document statistic
    stats = DocumentStatistic(document=document, grade=grade, total=len(new_words), unknown=len(unknown_words))
    percentage = 100.0*stats.unknown/stats.total
    stats.save()

src/d/a/daisyproducer-HEAD/statistics/views.py   daisyproducer(Download)
import csv
from django.template import RequestContext
from django.shortcuts import render_to_response
from django.contrib.auth.decorators import login_required, permission_required
from daisyproducer.statistics.models import DocumentStatistic