Debian Codegraph @

weblogo/htdocs/create.cgi

raw
1 #!/usr/bin/env python3
2
3 # Copyright (c) 2003-2004 The Regents of the University of California.
4 # Copyright (c) 2005 Gavin E. Crooks
5 # Copyright (c) 2006, The Regents of the University of California, through
6 # Lawrence Berkeley National Laboratory (subject to receipt of any required
7 # approvals from the U.S. Dept. of Energy). All rights reserved.
8
9 # This software is distributed under the new BSD Open Source License.
10 # <http://www.opensource.org/licenses/bsd-license.html>
11 #
12 # Redistribution and use in source and binary forms, with or without
13 # modification, are permitted provided that the following conditions are met:
14 #
15 # (1) Redistributions of source code must retain the above copyright notice,
16 # this list of conditions and the following disclaimer.
17 #
18 # (2) Redistributions in binary form must reproduce the above copyright
19 # notice, this list of conditions and the following disclaimer in the
20 # documentation and or other materials provided with the distribution.
21 #
22 # (3) Neither the name of the University of California, Lawrence Berkeley
23 # National Laboratory, U.S. Dept. of Energy nor the names of its contributors
24 # may be used to endorse or promote products derived from this software
25 # without specific prior written permission.
26 #
27 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
31 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 # POSSIBILITY OF SUCH DAMAGE.
38
39 import weblogo
40 from weblogo._ext import cgi, cgitb
41
42 cgitb.enable()
43
44 if __name__ == "__main__":
45 weblogo.cgi(__file__)