~ubuntu-branches/ubuntu/jaunty/calibre/jaunty-backports

« back to all changes in this revision

Viewing changes to src/calibre/utils/genshi/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-01-20 17:14:02 UTC
  • Revision ID: james.westby@ubuntu.com-20090120171402-8y3znf6nokwqe80k
Tags: upstream-0.4.125+dfsg
ImportĀ upstreamĀ versionĀ 0.4.125+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
#
 
3
# Copyright (C) 2006-2007 Edgewall Software
 
4
# All rights reserved.
 
5
#
 
6
# This software is licensed as described in the file COPYING, which
 
7
# you should have received as part of this distribution. The terms
 
8
# are also available at http://genshi.edgewall.org/wiki/License.
 
9
#
 
10
# This software consists of voluntary contributions made by many
 
11
# individuals. For the exact contribution history, see the revision
 
12
# history and logs, available at http://genshi.edgewall.org/log/.
 
13
 
 
14
"""This package provides various means for generating and processing web markup
 
15
(XML or HTML).
 
16
 
 
17
The design is centered around the concept of streams of markup events (similar
 
18
in concept to SAX parsing events) which can be processed in a uniform manner
 
19
independently of where or how they are produced.
 
20
"""
 
21
 
 
22
__docformat__ = 'restructuredtext en'
 
23
try:
 
24
    __version__ = __import__('pkg_resources').get_distribution('Genshi').version
 
25
except:
 
26
    pass
 
27
 
 
28
from calibre.utils.genshi.core import *
 
29
from calibre.utils.genshi.input import ParseError, XML, HTML