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

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

src/d/a/daisyproducer-HEAD/dictionary/forms.py   daisyproducer(Download)
# coding=utf-8
import re
 
from daisyproducer.dictionary.models import Word, LocalWord, GlobalWord
from daisyproducer.dictionary.models import VALID_BRAILLE_RE, VALID_HOMOGRAPH_RE
from django.utils.safestring import mark_safe
 
validate_braille = RegexValidator(VALID_BRAILLE_RE, message='Some characters are not valid')
validate_homograph = RegexValidator(VALID_HOMOGRAPH_RE, message='Some characters are not valid')
 

src/d/a/daisyproducer-HEAD/dictionary/importExport.py   daisyproducer(Download)
from django.utils.encoding import smart_unicode
from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned
from daisyproducer.dictionary.models import GlobalWord, VALID_BRAILLE_RE
from difflib import SequenceMatcher
from itertools import tee, izip