Debian Codegraph @

cclib/bridge/__init__.py

raw
1 # -*- coding: utf-8 -*-
2 #
3 # Copyright (c) 2017, the cclib development team
4 #
5 # This file is part of cclib (http://cclib.github.io) and is distributed under
6 # the terms of the BSD 3-Clause License.
7
8 """Facilities for moving parsed data to other cheminformatic libraries."""
9
10 from cclib.parser.utils import find_package
11
12 if find_package("Bio"):
13 from cclib.bridge.cclib2biopython import makebiopython
14
15 if find_package("openbabel"):
16 from cclib.bridge.cclib2openbabel import makeopenbabel
17
18 if find_package("PyQuante"):
19 from cclib.bridge.cclib2pyquante import makepyquante
20
21
22 del find_package