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

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

src/d/i/dita-generator-HEAD/src/python/ditagen/pdf_generator.py   dita-generator(Download)
import ditagen.dita.v1_2
from ditagen.generator import DitaGenerator
from ditagen.generator import Version
import ditagen.generator
import StringIO
                if self.cover_image_metadata:
                    self.copy_xml(__root, __cover_metadata_raw % self.cover_image_metadata)
                    if self.ot_version < Version("2.0"):
                        self.copy_xml(__root, __cover_metadata_v1_raw)
                self.copy_xml(__root, __cover_raw)

src/d/i/dita-generator-HEAD/src/python/main.py   dita-generator(Download)
import ditagen.generator
import ditagen.pdf_generator
from ditagen.generator import Version
import re
import logging
            if not u"ot_version" in __args:
                raise ValueError("version missing")
            __dita_gen.ot_version = Version(__args["ot_version"])
            if not u"id" in __args:
                raise ValueError("id missing")