text
stringlengths
12
1.05M
repo_name
stringlengths
5
86
path
stringlengths
4
191
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
12
1.05M
keyword
listlengths
1
23
text_hash
stringlengths
64
64
"""A notebook manager that uses the local file system for storage. Authors: * Brian Granger """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Development Team # # Distributed under the terms of the BSD License. The full license is in # the f...
cloud9ers/gurumate
environment/lib/python2.7/site-packages/IPython/frontend/html/notebook/notebookmanager.py
Python
lgpl-3.0
11,283
[ "Brian" ]
f790999031e49264db5b409d8ee06f2b363f84cec256cdece979bfc4db5e4bb7
from lib.loaddata import * from lib.tiles import * def work(step, data_set): bottom, top, left, right = data_set.min_max_lat_long() tiles = build_tiles(data_set, step, top, bottom, left, right) tiles = normalise_tiles(tiles) draw_data = {'squigle_line': [], 'circles': []} for x in range(len(tiles))...
mattyhall/North-South-Divide
lib/work.py
Python
bsd-3-clause
3,001
[ "Amber" ]
03ae0fecba9edcca5747c126cbc2fa8e1edcdd3239b59648934a0f9e84970023
# pylint: disable=missing-docstring import datetime import os import pytz from django.conf import settings from mock import patch from pytz import UTC from splinter.exceptions import ElementDoesNotExist from selenium.common.exceptions import NoAlertPresentException from nose.tools import assert_true, assert_equal, asse...
jazkarta/edx-platform-for-isc
lms/djangoapps/courseware/features/lti.py
Python
agpl-3.0
13,981
[ "VisIt" ]
535d0e478135255132a0f582ce834137f605b6aad527c8f95eb25c197756b64d
# -*- coding: utf-8 -*- # Copyright (c) 2015-2018, Exa Analytics Development Team # Distributed under the terms of the Apache License 2.0 """ Gaussian Output Editor ######################### Editor classes for various types of Gaussian output files """ from __future__ import absolute_import from __future__ import print...
avmarchenko/exatomic
exatomic/gaussian/output.py
Python
apache-2.0
30,472
[ "Gaussian" ]
4848dc51b8404c61df6f78c7cb4545297eee881aa2c8016a7e4e149e0a5b9bd0
#!/usr/bin/env python """ General tools for dealing with ATAC-Seq data using Python. @author: Alicia Schep, Greenleaf Lab, Stanford University """ import subprocess import numpy as np from scipy import signal import pysam import warnings from copy import copy #Run shell command def shell_command(cmd): """Conduct...
GreenleafLab/NucleoATAC
pyatac/utils.py
Python
mit
4,323
[ "Gaussian", "pysam" ]
f23df28c032cd83857e6b0121bc63f7d056400be8cc65ae6dae5e101cf14bfc1
''' Created on Jul 3, 2015 @author: oleg ''' from let_me_app import models from django.db.models import F from django.utils import timezone from functools import wraps from django.conf import settings def oject_statuses(request): return { 'APPLICATION_STATUSES': models.ApplicationStatuses, 'PROPO...
oleg-chubin/let_me_play
let_me_app/context_processors.py
Python
apache-2.0
1,646
[ "VisIt" ]
7786611e6345fe30549ab315b19d098cfc9455d0a497864a7ce4a2716969c4f1
# Unofficial companion web-app for Elite: Dangerous (property of Frontier # Developments). Collector-Drone lets you manage blueprints and material # inventory for crafting engineer upgrades. # Copyright (C) 2016 Frederik Schumacher # # This program is free software: you can redistribute it and/or modify # it under the...
fre-sch/collector-drone
collectordrone/criteria.py
Python
gpl-3.0
5,130
[ "CRYSTAL" ]
4876c073c08dea7b128aa1fa0dbb5edc4ee05a0d7beb693ee124d4a4f6802ba6
from .base import SOLAR, EARTH, WATER, FIRE, AIR, LUNAR, Spell from .. import effects from .. import targetarea from .. import enchantments from .. import animobs from .. import stats from .. import invocations from .. import context # CIRCLE ONE FREEZE_FOE = Spell( "Freeze Foe", "A single target will be frozen i...
jwvhewitt/dmeternal
old_game/spells/waterspells.py
Python
gpl-2.0
5,234
[ "BLAST" ]
c1b670a7d17da2e7580507a6612ff227f68509a521e2b585df01eff4ff1b8dc3
""" Render the examples to images and adds them to the documentation. """ # Standard library imports import glob import os import shutil import token, tokenize import textwrap import itertools # Enthought imports from mayavi import mlab # A global counter, for subsitutions. global_counter = itertools.count() EXAMPL...
dmsurti/mayavi
docs/source/render_examples.py
Python
bsd-3-clause
17,492
[ "Mayavi" ]
eac2ff06e8f13fc14e572126f8b1a987d74ce8862f0a37de0c688db5b768295f
import Updater print "default output" upd = Updater.New("Ultrabenosaurus/EasyXdcc", "1.2") print "SIMPLE:\n\t%s" % upd.Simple() print "NEW-FULL:\n\t" + upd.Main() print "NEW-SHORT:\n\t" + upd.Main("short") upd = Updater.New("Ultrabenosaurus/EasyXdcc", "9.9") print "NO-NEW:\n\t" + upd.Main() print "\ncustom output" u...
Ultrabenosaurus/pupdater
test.py
Python
bsd-3-clause
793
[ "VisIt" ]
7f2cebe0063f6780fb9cef7de99b283e62fdddd26320efdd634a1c9a587e7e5e
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- """ @package RefMasker @brief Main file of the program @copyright [GNU General Public License v2](http://www.gnu.org/licenses/gpl-2.0.html) @author Adrien Leger - 2015 * <adrien.leger@gmail.com> * <adrien.leger@inserm.fr> * <adrien.leger@univ-nantes.fr> * [...
a-slide/RefMasker
src/RefMasker.py
Python
gpl-2.0
10,838
[ "BLAST" ]
ba5fb4b5d53b3c41c2345951e3cd732bbd2023976710497746bb6dc51263591a
import os from setuptools import setup readme_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md') with open(readme_path, 'r', encoding='utf-8') as fh: long_description = fh.read() def main(): install_list = ['pysb>=1.3.0,<=1.9.1', 'objectpath', ...
sorgerlab/belpy
setup.py
Python
mit
6,061
[ "Pybel" ]
2ccd84019e47d680bb5288235b598a67d4bed4c834e437cd411d7e0b8642e4d3
""" FROWNS LICENSE Copyright (c) 2001-2003, Brian Kelley All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
ubccr/pinky
pinky/canonicalization/tokens.py
Python
bsd-2-clause
7,827
[ "Brian" ]
d8d438e3fb19157941b3fc13a17a02c7c7bbc0cf0be6374429cd8640b9e0cf57
import os import version from setuptools import setup, find_packages setup(name="zgres", version=version.getVersion(), packages=find_packages(), author='Brian Sutherland', author_email='brian@vanguardistas.net', url='https://github.com/jinty/zgres', description="Database Connection...
jinty/zgres
setup.py
Python
mit
1,537
[ "Brian" ]
51448286b4b2120bc80734b68d8d3b87f28ed3f41fde6df3e504988ee80d1366
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
google-research/google-research
homophonous_logography/neural/eval.py
Python
apache-2.0
12,313
[ "Gaussian" ]
362e980fb7b42d264545d7564f96587a4c0f1685fb1be72a779a339d8b0544fe
# # gPrime - A web-based genealogy program # # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2008 Jerome Rapinat # Copyright (C) 2008 Benny Malengier # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Softw...
sam-m888/gprime
gprime/filters/rules/source/_hasgallery.py
Python
gpl-2.0
1,814
[ "Brian" ]
a3aa41247a0cc36195f5c9b0395995a498f1df2eaaefbdc52549e9248fed6829
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Installation: pip install git+https://github.com/Erotemic/rob.git Developing: git clone https://github.com/Erotemic/rob.git pip install -e rob """ import sys from os.path import exists from setuptools import find_packages from setuptools import setup def...
Erotemic/local
rob/setup.py
Python
gpl-3.0
7,471
[ "VisIt" ]
4ae18bc32c3cef2f7afb4fcef210bd4e11707d68212c5e10840d9566c5fe4ea4
# coding: utf-8 import os import unittest import time from pymatgen.core.structure import Molecule from pymatgen.analysis.graphs import MoleculeGraph from pymatgen.analysis.local_env import OpenBabelNN from pymatgen.util.testing import PymatgenTest from pymatgen.analysis.fragmenter import Fragmenter, metal_edge_exten...
gVallverdu/pymatgen
pymatgen/analysis/tests/test_fragmenter.py
Python
mit
7,009
[ "pymatgen" ]
3c3abdf9c4b2414b99b0d4a2684299be20370a4bb96d52ff0b4f601be022a2f2
""" Integration with native distribution package managers. @since: 0.28 """ # Copyright (C) 2009, Thomas Leonard # See the README file for details, or visit http://0install.net. from zeroinstall import _ import os, platform, re, subprocess, sys from logging import warn, info from zeroinstall.injector import namespace...
pombredanne/zero-install
zeroinstall/injector/distro.py
Python
lgpl-2.1
20,790
[ "VisIt" ]
e9cc2355938547aee701b1d6584b42cf0c507d99c4054948f4e69820b483cdba
""" @author: rhallmen @date: 19.06.2017 """ from antlr4 import * from sxlLexer import sxlLexer from sxlParser import sxlParser from sxlVisitor import sxlVisitor class RegisterAddressVisitor(sxlVisitor): """ Parse a sxl file and return an array of all found register addresses """ def __init__(self): ...
nussbrot/AdvPT
python/RegisterAddressVisitor.py
Python
mit
2,553
[ "VisIt" ]
59e8782e3de05d301dfb7818f1b5b6137d86d90f7e2ff5d21f7bacbb4174c183
from chainer.functions.connection import linear from chainer import initializers from chainer import link from chainer import variable class Linear(link.Link): """Linear layer (a.k.a.\\ fully-connected layer). This is a link that wraps the :func:`~chainer.functions.linear` function, and holds a weight ...
kashif/chainer
chainer/links/connection/linear.py
Python
mit
4,356
[ "Gaussian" ]
404d1e18d8f00b3ecabd3d2e9cf3941816d30cb88e2b1f90b79875de0a7e6b63
# Create your views here. from datetime import datetime, date, timedelta import re from django.core.cache import cache from django.core.management import call_command from django.utils import timezone from django.http import HttpResponse from django.shortcuts import redirect, get_object_or_404 from django.template imp...
tbpmig/mig-website
event_cal/views.py
Python
apache-2.0
136,680
[ "VisIt" ]
a0645c0f84a793f21d722374a26e33b7ae42ac0266c9974506d034db48b9392d
# Lint as: python3 # Copyright 2021 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
google/glazier
glazier/lib/terminator_test.py
Python
apache-2.0
2,320
[ "VisIt" ]
c00c0befc3ccf3d887e2c2a15e0b769b0ca65647c5450f664ee05fd7680c4bcc
from pywps import Process, LiteralInput, ComplexInput, ComplexOutput from pywps import Format from plotter import simple_plot import logging LOGGER = logging.getLogger('PYWPS') AIR_DS = 'https://www.esrl.noaa.gov/psd/thredds/fileServer/Datasets/ncep.reanalysis.derived/surface/air.mon.ltm.nc' class SimplePlot(Proc...
bird-house/birdhouse-workshop
tutorials/11_pywps_testing/processes/wps_simple_plot.py
Python
apache-2.0
1,999
[ "NetCDF" ]
0accfa82fca9e65e5ffdef21d90b139f0f41f9ba11a2de2da2d8d365201e17fe
#!/usr/bin/env python """ MultiQC module to parse output from Bowtie 1 """ from __future__ import print_function from collections import OrderedDict import logging import re from multiqc import config from multiqc.plots import bargraph from multiqc.modules.base_module import BaseMultiqcModule # Initialise the logge...
robinandeer/MultiQC
multiqc/modules/bowtie1/bowtie1.py
Python
gpl-3.0
6,826
[ "Bowtie" ]
9b94119e6d6edd6684af92118505c97e85003bfcb09cde68c95ab4b4473c45f3
__author__ = 'westonnovelli' import requests import json import csv """ This script will grab some data from trello and save it as a csv file. This script is set up to grab card data from a given board from only the open cards. You can of course edit the request to get other information. For details visit trello's ...
westonnovelli/trello_to_csv
trello_to_csv.py
Python
mit
1,372
[ "VisIt" ]
1994e6adc7e23d1960efe94b94327f30ed05fd14df6961cb56b714071a0f32a1
import pygame import random pygame.display.set_caption("Multi Bingo") screen = pygame.display.set_mode((0,0)) screen.fill([0,0,0]) pygame.mouse.set_visible(False) meter = pygame.image.load('graphics/assets/black_register_cover.png').convert() odds = pygame.image.load('galaxy/assets/odds.png').convert_alpha() time = ...
bingopodcast/bingos
bingo_emulator/graphics/galaxy.py
Python
gpl-3.0
45,236
[ "Galaxy" ]
def076da06349ea76dd190504acb8714f77f467da73dcd3273ed0cbcc3439c80
""" ======================================== Special functions (:mod:`scipy.special`) ======================================== .. module:: scipy.special Nearly all of the functions below are universal functions and follow broadcasting and automatic array-looping rules. Exceptions are noted. Error handling ==========...
nvoron23/scipy
scipy/special/__init__.py
Python
bsd-3-clause
21,535
[ "Gaussian" ]
b18d788f9ff85296acbeb0f6e6040c5033a1a30719ef50bcd1374f8eafa4c5a6
import sys, os, re import numpy as np import scipy as sp from numpy.matlib import * #from numpy.matlib import sqrt from scipy.linalg import * #from scipy.linalg import from numba import jit __author__ = 'Sean M. Ryno' __copyright__ = 'Copyright 2016, Sean M. Ryno' __credits__ = ['Sean M. Ryno', 'J. J. Goings', 'Brad ...
sryno/rynosm
transfer_integral/transfer_integral_11082016.py
Python
gpl-3.0
54,025
[ "ADF", "Gaussian", "ORCA", "Q-Chem" ]
23fddff8cc037e71afacb6095063a639b0a66a0c963467d45f276c597c6fcd30
import os import sys import numpy as np import subprocess from itertools import dropwhile from collections import defaultdict import emase DATA_DIR = os.getenv('GBRS_DATA', '.') def is_comment(s): return s.startswith('#') def get_names(idfile): ids = dict() master_id = 0 with open(idfile) as fh: ...
churchill-lab/gbrs
gbrs/emase_utils.py
Python
gpl-3.0
12,325
[ "Bowtie" ]
b8a6eb8b0cb1ca8b3aeab83b5b1b3bbd72fc865d2b3019fe92ff526b34762997
#! /usr/bin/python # -*- coding: utf-8 -*- # # Vladimír Slávik 2008 # Python 2.5 # # for Simutrans # http://www.simutrans.com # # code is public domain # # read all dat files in all subfolders # sort out houses # build spectrogram-like image charts for count=f(level,year) import os, copy import simutools Data...
simutrans/pak128
tools/house-spectrogram.py
Python
artistic-2.0
6,610
[ "VisIt" ]
4edf6f3f592d169259d423fae0792383fafab57cecbd14a42901f01a0a054409
# -*- coding: utf-8 -*- ''' Diagram display a property defined over linear elements. ''' __author__= "Luis C. Pérez Tato (LCPT) , Ana Ortega (AO_O) " __copyright__= "Copyright 2016, LCPT, AO_O" __license__= "GPL" __version__= "3.0" __email__= "l.pereztato@ciccp.es, ana.ortega@ciccp.es " from miscUtils import LogMe...
lcpt/xc
python_modules/postprocess/xcVtk/element_property_diagram.py
Python
gpl-3.0
6,110
[ "VTK" ]
923cdf8e4d9c773922888c7cc6decd69a40760e62fb9e7f2eea8708651353c31
######################################################################## # File : DiracSiteAgent.py # Author : Andrei Tsaregorodtsev ######################################################################## """ Agent to manage a DIRAC site, it submits and monitors pilots to a local cluster """ __RCSID__ = "$Id$" ...
Andrew-McNab-UK/DIRAC
WorkloadManagementSystem/Agent/DiracSiteAgent.py
Python
gpl-3.0
10,034
[ "DIRAC" ]
2c93c1b22205c81680d97708f9dc99c61c3152afece579358b14eee7bd1b99e8
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module implements DefectCompatibility analysis for consideration of defects """ import logging from monty.json import MSONable from pymatgen.core import Structure from pymatgen.analysis.defects.corre...
mbkumar/pymatgen
pymatgen/analysis/defects/defect_compatibility.py
Python
mit
29,617
[ "pymatgen" ]
9013fdf94b2a6ebca5455746e2693d0091e1dc7e1fda6e45c1b7f81de0a6d0bc
#!/usr/bin/env python """ Estimate epidemic model parameters by comparing simulations to "observed" phylogeny. """ import sys sys.setrecursionlimit(10000) import os import multiprocessing as mp from phyloK2 import PhyloKernel import random import rcolgem from Bio import Phylo from copy import deepcopy import time fro...
ArtPoon/kamphir
kamphir.py
Python
bsd-3-clause
31,742
[ "Gaussian" ]
846b6cc52e6e3ba3aca5795166cc227972ea00f981c11d3b922f1195555dd9b2
# Miscellaneous code for analysis of S4G bar fractions import copy import math import random import numpy as np random.seed() # lower and upper bounds of 68.3% confidence interval: ONESIGMA_LOWER = 0.1585 ONESIGMA_UPPER = 0.8415 def Read2ColumnProfile( fname ): """Read in the (first) two columns from a simple t...
perwin/s4g_barfractions
s4gutils.py
Python
bsd-3-clause
15,400
[ "Galaxy", "Gaussian" ]
268b15703d8c863f20bfae2351da488bce35298a53cbdec818eb2ee3e2439a80
''' Set up Visual Sudio 2010 to build a specified MPIR configuration Copyright (C) 2011, Brian Gladman 32-bit: x86w: x86, i386, i486, i586, pentium, pentiummmx, k6, k62, k63, k7, athlon, viac3, viac32, x86_64 p6: pentiumpro, i686 mmx: pentium2 sse2: pentium4, prescott, core, netburst, netburstlahf p3mmx: penti...
libtetcoin/mpir
build.vc10/mpir_config.py
Python
gpl-3.0
28,850
[ "Brian" ]
3f3cfcb22f7d3380d927d61262f1c61a9c0353f9657665c05b62a26973ed0f31
""" A general-purpose Simulation class for discrete events. The Simulation object is the central object of a simulation. It handles the simulation clock time and maintains communication between the components of the simulation. A simulation is structured as a directed graph of event-processing nodes called EventProc...
Tasignotas/topographica_mirror
topo/base/simulation.py
Python
bsd-3-clause
64,086
[ "NEURON" ]
58ee8bd6a2123b03f76b296b195ad4702e2d04de54442c07eb764f88966c4bf9
""" A command line interface to the qcfractal server. """ import argparse import json import logging import os import signal from enum import Enum from math import ceil from typing import List, Optional, Union import tornado.log import yaml from pydantic import Field, validator import qcengine as qcng import qcfract...
psi4/DatenQM
qcfractal/cli/qcfractal_manager.py
Python
bsd-3-clause
47,982
[ "NWChem" ]
1b57b92e2e7431e777b77bc36cfc6c66433344a069ddbaa675adc74075b0e7ae
# Copyright (c) 2017-2019 Uber Technologies, Inc. # SPDX-License-Identifier: Apache-2.0 import logging import os import time from unittest import TestCase import numpy as np import pytest import torch import pyro import pyro.distributions as dist import pyro.optim as optim from pyro.distributions.testing import fake...
uber/pyro
tests/integration_tests/test_conjugate_gaussian_models.py
Python
apache-2.0
25,479
[ "Gaussian" ]
d0b709e155fe0b2ad936c49b1596359cd77bc04c5e32badf381d9d9e50ef9b56
# smCounter: barcode-aware variant caller # Chang Xu. 23May2016 import os import datetime import subprocess import math import operator import argparse import random import multiprocessing import traceback from collections import defaultdict # 3rd party modules import pysam import scipy.stats # global contants (note...
xuchang116/smCounter
smCounter.bak.py
Python
mit
42,670
[ "pysam" ]
24b2e40b44314c5e2a58b4448b44320072261d2c2c1ca59ec20be31708cb76dd
# # Brian C. Lane <bcl@redhat.com> # # Copyright 2012 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, modify, # copy, or redistribute it subject to the terms and conditions of the GNU # General Public License v.2. This program is distributed in the hope that it # will be useful,...
atodorov/pykickstart
tests/commands/reboot.py
Python
gpl-2.0
3,390
[ "Brian" ]
508ac961e58fe05686846d2acb88eb508420ffe942ba4db1e55d53baf410fd41
''' <h1> Library for specular magnetic x-ray and neutron reflectivity</h1> The magnetic reflectivity is calculated according to: S.A. Stephanov and S.K Shina PRB 61 15304. for the full anisotropic model. It also one simpler model where the media is considered to be isotropic but with different refractive indices for ...
joshp123/genx
models/mag_refl.py
Python
gpl-3.0
51,509
[ "Gaussian" ]
afa9c1f5c6d33a2906a06a88dfdb4758cb9c149549d912cab7f0e69876bb5160
#!/usr/bin/env python # Copyright (c) 2009, South African Astronomical Observatory (SAAO) # # All rights reserved. # """ MOSTOOLS is a package written that handles the edge detection, Author Version Date ----------------------------------...
crawfordsm/pysalt
saltspec/mostools.py
Python
bsd-3-clause
23,332
[ "Gaussian" ]
7acd7954b22cc5bc40536ef9e55229a977b0971479aa62f38aa98395d0ea301b
#============================================================================== # # CodeGenerator.py # # This file is part of ANNarchy. # # Copyright (C) 2013-2019 Julien Vitay <julien.vitay@gmail.com>, # Helge Uelo Dinkelbach <helge.dinkelbach@gmail.com> # # This program is free software: you can ...
vitay/ANNarchy
ANNarchy/generator/CodeGenerator.py
Python
gpl-2.0
42,349
[ "NEURON" ]
36d1b709030c828b615451be55056d9e7ab51783704c8e0efac5955c7262dc56
from __future__ import absolute_import from unittest import TestCase, skip from ccdproc import CCDData from astropy.convolution import convolve, Gaussian1DKernel, Box1DKernel from astropy.io import fits from astropy.modeling import Model from astropy.modeling import (models, fitting) impo...
simontorres/goodman
goodman_pipeline/core/tests/test_core.py
Python
bsd-3-clause
93,142
[ "Gaussian" ]
1939d186a231a76396be193a4f7f4bd5bff45f376c0ba2a928e02682a19ba9b6
# -*- coding: utf-8 -*- from __future__ import unicode_literals import tensorflow as tf import numpy as np # load data from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets('MNIST_data', one_hot=True) # create a graph and then launch it in a session sess = tf.InteractiveSession(...
KennyCandy/HAR
main.py
Python
mit
5,139
[ "NEURON" ]
9b9f6df96dfb6289d9e69095bff916c2a844a30a9087911d9a4b58a0f7085ff9
#!/usr/bin/env python # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' import sys from functools import partial from PyQt4.Qt import ( QMainWin...
nozuono/calibre-webserver
src/calibre/gui2/tweak_book/editor/image.py
Python
gpl-3.0
10,151
[ "Gaussian" ]
865a9f839566631085832a4da5597dddc29171383ee53b9cf7e14824957d0a17
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import jsonfield.fields import django.utils.timezone from django.conf import settings import swapper class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.A...
I-TECH-UW/mwachx
contacts/migrations/0001_initial.py
Python
apache-2.0
15,623
[ "VisIt" ]
305d463904596dedc4e4fa0250bb8c67a65c99fa2d74bc94b4038ada414cb314
# Copyright 2011 by Peter Cock. All rights reserved. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Simple 'print-and-compare' unit test for fasta-m10 parser. Created to check for any regression...
updownlife/multipleK
dependencies/biopython-1.65/Tests/test_AlignIO_FastaIO.py
Python
gpl-2.0
2,788
[ "Biopython" ]
b8d968f20e4c1f89ee1b81c2bab1388141a6c647ead4ec39a0dd628ce7199f0d
#------------------------------------------------------------------------------ # # This file is part of the SternheimerGW code. # # Copyright (C) 2010 - 2018 # Henry Lambert, Martin Schlipf, and Feliciano Giustino # # SternheimerGW is free software: you can redistribute it and/or modify # it under the terms of the GNU...
mmdg-oxford/SternheimerGW
install/generate_module.py
Python
gpl-3.0
1,688
[ "ESPResSo" ]
f165960907189e032a926240614e6ed18632a391e759bca29581a14f59dea65b
from .. import Provider as PersonProvider class Provider(PersonProvider): formats_male = ( '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}...
danhuss/faker
faker/providers/person/it_IT/__init__.py
Python
mit
21,851
[ "Avogadro" ]
be2a3fcd5b7b670809137952493818c75ae6a604fb6258f3cc486b07f7442a40
#!/usr/bin/env python # -*- coding: utf-8 -*- # parse_qsl moved to urlparse module in v2.6 import sys import os.path sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir))) import webbrowser import oauth2 as oauth from urlparse import parse_qsl REQUEST_TOKEN_URL = 'https://api.twit...
biancini/TwitterAnalyzer
TwitterDownloader/utilities/getaccesstoken.py
Python
apache-2.0
2,793
[ "VisIt" ]
2301c904125464c3edeb0f9a2f9f54fb575c51c966a11eaad5856f7a3646ca50
from Bio import Phylo from collections import OrderedDict from xenoGI import trees ## Globals ROOT_PARENT_NAME = "" # name for the parent of the root node in rooted trees ## Classes class Tree: def __init__(self, nodeConnectD=None): '''Base class to be inherited by Rtree and Utree. Key internal data str...
ecbush/xenoGI
xenoGI/Tree.py
Python
gpl-3.0
46,830
[ "Biopython" ]
3196c579f666c07380b0ba37f802c6c60ee962ca6e60abf39fc13db065a0d5e6
#!/usr/bin/env python # # Copyright (c) 2016 Matt Davis, <mdavis@ansible.com> # Chris Houseknecht, <house@redhat.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free ...
ravibhure/ansible
contrib/inventory/azure_rm.py
Python
gpl-3.0
35,229
[ "Galaxy" ]
07fb0508130298c5f5162cd68450a427a2735aa694c6eb8cd58d33bbc0fef4dd
from ..codes import CodeRun from .input import OctopusInput import os class OctopusRun(CodeRun): def __init__(self, workdir='.'): CodeRun.__init__(self, executable='octopus', workdir=workdir, use_mpi=True) self.stdout_filename = 'octopus.out' self.stderr_filename = 'octopus.err' def ...
MaterialsDiscovery/PyChemia
pychemia/code/octopus/run.py
Python
mit
735
[ "Octopus" ]
f728776cf875320ad395e8871adc49ade94e30f9919e73e3984ebf2a6fc9908c
######################################################################## # Author: Krzysztof.Ciba@NOSPAMgmail.com # Date: 2012/12/11 18:04:25 ######################################################################## """ :mod: SubprocessTests ======================= .. module: SubprocessTests :synopsis: u...
andresailer/DIRAC
Core/Utilities/test/Test_Subprocess.py
Python
gpl-3.0
2,216
[ "DIRAC" ]
279e77eec732c76a68a80fc498a82dabd99e809a1534395c811770f6a3aafe85
# -*- coding: utf-8 -*- # # Copyright (C) 2007-2008 Red Hat, Inc. # This file is part of python-fedora # # python-fedora is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the Lice...
vivekanand1101/python-fedora
fedora/tg/visit/jsonfasvisit2.py
Python
gpl-2.0
5,807
[ "VisIt" ]
3c24341e254cbeb3d3333e05490c0b5722ca7f78236d83d740097b61b45333b0
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Top-level presubmit script for Chromium. See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details about the presu...
CapOM/ChromiumGStreamerBackend
PRESUBMIT.py
Python
bsd-3-clause
70,978
[ "VisIt" ]
ac8b8c60d33be7b32c4dda12cb4d050604841e6028d19b446c49a1dde0f006d7
'''TB Animation Tools is a toolset for animators ******************************************************************************* License and Copyright Copyright 2015-Tom Bailey This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licen...
tb-animator/tbtools
apps/tb_keyCommands.py
Python
mit
32,815
[ "VisIt" ]
2fc9d4c215d5f188a0571fe7f5b8a6d22aaba0bcde0e936018e35c7d1f2ae407
import json import orca import numpy as np import pandas as pd import pandas.testing as pdt import pytest from .. import server @pytest.fixture def tapp(): server.app.config['TESTING'] = True return server.app.test_client() @pytest.fixture(scope='module') def dfa(): return pd.DataFrame( {'a': ...
UDST/orca
orca/server/tests/test_server.py
Python
bsd-3-clause
10,740
[ "ORCA" ]
3c00b050dd64968fc3b201ba300c4b494b0a8b9c85c37ab8f219be2ea25ed425
#!/usr/bin/env python3 # # Copyright 2015 by Raytheon BBN Technologies Corp. All Rights Reserved. import ast import os import sys from copy import deepcopy # Find the directory that this executable lives in; # munge the path to look within the parent module # if __name__ == '__main__': DIRNAME = os.path.normpat...
BBN-Q/pyqgl2
src/python/attic/substitute.py
Python
apache-2.0
17,733
[ "VisIt" ]
945f3bcf92d0cdfa80709a50be8293e6dc0e5672f2627d965a4e10be6feefeb4
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
googleapis/python-dialogflow
tests/unit/gapic/dialogflow_v2beta1/test_session_entity_types.py
Python
apache-2.0
103,177
[ "Octopus" ]
298170408b8cdfb571bab9f6b31d06e3bb6edaab040d75efd0c9e5fed442a608
# This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complete wo...
jasonzzz/ansible
lib/ansible/module_utils/basic.py
Python
gpl-3.0
89,998
[ "VisIt" ]
d68a1bdbb36d6dca67d7778492cec3d1bff084c170f1e2a08b5d7aa6d2ceb1f0
from math import log, exp import numpy as np class SimulatedData: def __init__(self, hr_ratio, average_death = 5, censor_mode = 'end_time', end_time = 15, observed_p = None, num_features = 10, num_var = 2, treatment_group = False): """ Factory class for producing sim...
jaredleekatzman/DeepSurv
deepsurv/datasets.py
Python
mit
6,486
[ "Gaussian" ]
19c0cdffd019a4563c2a8bf71b357b71034d437869fdd4e8bf034f6d564d8cab
import ctypes import math import numpy from six import moves from chainer import cuda from chainer import function from chainer.utils import conv from chainer.utils import type_check if cuda.cudnn_enabled: cudnn = cuda.cudnn libcudnn = cuda.cudnn.cudnn _fwd_pref = libcudnn.CUDNN_CONVOLUTION_FWD_SPECIFY_W...
sou81821/chainer
chainer/functions/connection/convolution_2d.py
Python
mit
14,484
[ "Gaussian" ]
47a1cd541c79e1faee292405959422b4d61a5137ebde3db7af438b834e8c5c30
import numpy as np import nose.tools as nt import hyperspy.api as hs from hyperspy.models.model1D import Model1D from hyperspy.misc.test_utils import ignore_warning class TestPowerLaw: def setUp(self): s = hs.signals.Spectrum(np.zeros(1024)) s.axes_manager[0].offset = 100 s.axes_manager[...
to266/hyperspy
hyperspy/tests/model/test_components.py
Python
gpl-3.0
11,408
[ "Gaussian" ]
91eafb4f238965882b18e2da638e9136656f4f0130cf17edd89d3fdcfb74ada4
""" Module simplifying manipulation of XML described at http://libvirt.org/formatdomain.html """ import logging from autotest.client.shared import error from virttest import xml_utils from virttest.libvirt_xml import base, accessors, xcepts from virttest.libvirt_xml.devices import librarian class VMXMLDevices(list):...
autotest/virt-test
virttest/libvirt_xml/vm_xml.py
Python
gpl-2.0
84,182
[ "VisIt" ]
f6adf0f4783e13015525335c4d672dba3ed0350cae06031ece0b7029879e57fd
# Copyright (C) 2013 Jeremy S. Sanders # Email: Jeremy Sanders <jeremy@jeremysanders.net> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # ...
KDB2/veusz
veusz/utils/safe_eval.py
Python
gpl-2.0
5,602
[ "VisIt" ]
97347c886f440e4bde6ae216343473f3a0baf144971af6e239604e3f8cabebe0
# Copyright 2007-2020 The HyperSpy developers # # This file is part of HyperSpy. # # HyperSpy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ...
dnjohnstone/hyperspy
hyperspy/tests/signal/test_eds_sem.py
Python
gpl-3.0
13,866
[ "Gaussian" ]
3559b828cf47b981f961a82dfde0ca70827ddb4b81e3e6ae74dfa32eedad95a5
""" Takes care of reading from BAM files and scattering (parallelizing) pipelines See docs/bamtoolz.md for algorithm details""" from collections import OrderedDict import time from multiprocessing import Process, Queue import queue import pysam import cytoolz.curried as cyt import logging logger = logging.getLogger(...
sbg/Mitty
mitty/analysis/bamtoolz.py
Python
apache-2.0
12,331
[ "pysam" ]
40bb191f8712ca2fbc0d3f7eeea6b9d3dd1fb047eb9c3b6b0f1b02bb016d5c63
# coding: utf-8 # pylint: disable = invalid-name, W0105, C0111, C0301 """Scikit-Learn Wrapper interface for LightGBM.""" from __future__ import absolute_import import numpy as np from .basic import Dataset, LightGBMError from .compat import (SKLEARN_INSTALLED, LGBMClassifierBase, LGBMDeprecated, ...
fstonezst/LightGBM
python-package/lightgbm/sklearn.py
Python
mit
33,894
[ "Gaussian" ]
ec331f08bcdc56d1804f0025e47477039df4ba59555578dbaa089f65d27ccb8f
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2012 Async Open Source <http://www.async.com.br> ## All rights reserved ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundati...
andrebellafronte/stoq
stoq/gui/test/test_stock.py
Python
gpl-2.0
7,042
[ "VisIt" ]
0148a8ae9288ab747a043bd19b7a1b40c8165ce5d72ec919cf82fe97ba17cd9f
from __future__ import absolute_import from .meta import * from .regression import * from .gaussian import * from .uniform import * from .binomial import * from .multinomial import * from .negativebinomial import * from .geometric import * from .poisson import *
mattjj/pybasicbayes
pybasicbayes/distributions/__init__.py
Python
mit
265
[ "Gaussian" ]
0b3ea2afedcccb40fc7c97efc2db045d159e89679eba90778cff6a668d64d1b1
from __future__ import absolute_import, print_function from datetime import datetime import sys import re import urllib from django import forms from django.conf import settings from django.contrib.auth.models import User, Group from django.contrib.gis.db import models as spatial_models from django.core.validators im...
dwitvliet/CATMAID
django/applications/catmaid/models.py
Python
gpl-3.0
45,066
[ "NEURON" ]
28955dca7c6140457a5a6be88ed6b4cc515fd0c2badbbc14192f99abcc42fbb1
# Copyright (c) 2021, TU Wien, Department of Geodesy and Geoinformation # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice,...
TUW-GEO/ascat
src/ascat/cgls.py
Python
mit
7,019
[ "NetCDF" ]
60485066224ad668588a88258a9ac6cee99f52ddee66ec8a15db1178235c67de
import scrapelib import datetime import os import re from collections import defaultdict from billy.scrape import ScrapeError from billy.scrape.bills import BillScraper, Bill from billy.scrape.votes import Vote from billy.scrape.utils import convert_pdf import lxml.html def action_type(action): # http://www.scs...
showerst/openstates
openstates/sc/bills.py
Python
gpl-3.0
12,108
[ "VisIt" ]
b594af84e406e8038e88e3faf07310b81a0058c0453aa661d418a9067a48da3a
# pylint: disable=invalid-name from __future__ import absolute_import, division, print_function import numpy import os import re from mantid.kernel import V3D from mantid.api import (MatrixWorkspace, ITableWorkspace) from mantid.simpleapi import (mtd, CreateEmptyTableWorkspace, DeleteWorkspace, ...
ScreamingUdder/mantid
scripts/Calibration/tube.py
Python
gpl-3.0
38,360
[ "Gaussian" ]
2daa3bba934be48c3f1f6dfbe38939e3a2ef7ed5bced04898ac9ce91e2725466
import datetime import git import github import os import shutil import sys import tempfile import tenacity import time from collections import OrderedDict from distutils.util import strtobool from six.moves import configparser from pip._internal.main import main as pip_main import urllib3 import yaml from infrared...
rhos-infra/InfraRed
infrared/core/services/plugins.py
Python
gpl-3.0
29,299
[ "Galaxy" ]
cb1263d4c588d0bcb937ec87cc8a5183f878dffd9496b5848be61188cc01dcbd
# MIT License # # Copyright (C) IBM Corporation 2019 # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge...
IBM/differential-privacy-library
diffprivlib/mechanisms/base.py
Python
mit
7,783
[ "Gaussian" ]
de317e4a4e3ff2996a10422fbadd5f8896543131e43dac382c2ff7471ed0af1e
# -*- coding: utf-8 -*- # # test_stdp_dopa.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License,...
magnastrazh/NEUCOGAR
nest/dopamine/test_files/test_stdp_dopa.py
Python
gpl-2.0
7,964
[ "NEURON" ]
67eb9f16cf105fcd3d8edaa5a5a90ed154e747acdb96be11fb102862b9a8f1f8
"""Code to translate DNA or RNA into proteins (DEPRECATED). Instead of Bio.Translate, for translation you are now encouraged to use the Seq object's translate method, or the translate function in the Bio.Seq module. Translate-to-stop functionality is via an optional argument. Bio.Seq does not offer any back-translat...
BlogomaticProject/Blogomatic
opt/blog-o-matic/usr/lib/python/Bio/Translate.py
Python
gpl-2.0
5,689
[ "Biopython" ]
c9b55060be4c384b8fd75b53971d65c7721ace79f1f7eff0eb588e4b82ae5f8a
from __future__ import unicode_literals, print_function from sys import argv from fnmatch import fnmatchcase from functools import partial import attr from attr.validators import instance_of from twisted.python.url import URL from twisted.python.usage import Options from twisted.internet.task import react from twist...
exarkun/txflashair
src/txflashair/sync.py
Python
mit
3,749
[ "VisIt" ]
b3ea041556129fd5e1a9af1f3934c349a4db5140a29c509708834bafe784840e
############################################################################## # MDTraj: A Python Library for Loading, Saving, and Manipulating # Molecular Dynamics Trajectories. # Copyright 2012-2013 Stanford University and the Authors # # Authors: Peter Eastman, Robert McGibbon # Contributors: Carlos Hernande...
mattwthompson/mdtraj
mdtraj/formats/pdb/pdbfile.py
Python
lgpl-2.1
29,740
[ "MDTraj", "OpenMM" ]
1981962fc2929eb560fbd2d0aa1ce87a3dd2da22ae0eb44989bc17d902fbed3f
# # Copyright (C) 2013-2019 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later...
pkreissl/espresso
testsuite/python/virtual_sites_relative.py
Python
gpl-3.0
14,897
[ "ESPResSo" ]
60f355a0f2f45e78a1727be481378c90de250fb7002a66df84c32ae1bd30e794
## INFO ######################################################################## ## ## ## cutils ## ## ====== ...
petervaro/cutils
internal/capi.py
Python
gpl-3.0
2,982
[ "VisIt" ]
d84a690b0f0d188dd892dc866bdf50f52bc8c5b0fbe71195c0d3e67c37dfab52
# -*- coding: utf-8 -*- """Supports the Michelson Interferometer for Global High-resolution Thermospheric Imaging (MIGHTI) instrument onboard the Ionospheric CONnection Explorer (ICON) satellite. Accesses local data in netCDF format. Parameters ---------- platform : string 'icon' name : string 'mighti' tag : ...
jklenzing/pysat
pysat/instruments/icon_mighti.py
Python
bsd-3-clause
8,681
[ "NetCDF" ]
ab41b9ec6f9a550a4081c428409496a70c5fa4ba95be4c918265989150bb4838
#!/usr/bin/env python # ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # ---------------------...
kdmurray91/scikit-bio
setup.py
Python
bsd-3-clause
4,380
[ "scikit-bio" ]
ab66c3873b814767b4655aff056c1a90e187fd23e5f13590b2f1686d9f99ebfd
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkAppendSelection(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, vt...
nagyistoce/devide
modules/vtk_basic/vtkAppendSelection.py
Python
bsd-3-clause
493
[ "VTK" ]
0ba797d88e36baf64a6a8c53b26bb82bfd6019a3b294b573c459935f2c327f2e
# 05.10.2007, c # last revision: 25.02.2008 from sfepy import data_dir filename_mesh = data_dir + '/meshes/3d/special/cube_sphere.mesh' # Whole domain $Y$. region_1000 = { 'name' : 'Y', 'select' : 'all', } # Domain $Y_1$. region_1 = { 'name' : 'Y1', 'select' : 'cells of group 1', } # Domain $Y_2$. r...
RexFuzzle/sfepy
tests/test_lcbc_3d.py
Python
bsd-3-clause
1,853
[ "VTK" ]
7489a32e6ada0dc0f4583fd7e7971cc97820946b63d8eab6ced81d0841a8b738
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import os import unittest import numpy as np from pymatgen.core.structure import Structure from pymatgen.io.abinit import ETSF_Reader from pymatgen.util.testing import PymatgenTest try: import netCDF4 ex...
gmatteo/pymatgen
pymatgen/io/abinit/tests/test_netcdf.py
Python
mit
2,903
[ "ABINIT", "pymatgen" ]
f380e75cd29051197956763205bf148d6ae9556319d13139df95af82e3ff98fa
# -*- coding: utf-8 -*- # Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual # Properties, Inc., University of Heidelberg, and University of # of Connecticut School of Medicine. # All rights reserved. # Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual # Properties, Inc., Universit...
jonasfoe/COPASI
copasi/bindings/python/unittests/Test_COutputAssistant.py
Python
artistic-2.0
3,119
[ "COPASI" ]
de12e7a02819c43a43faf2299ca7d9dc07eb93b6817e3d39863aa6657831d24f
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
google-research/DP-FTRL
privacy.py
Python
apache-2.0
9,396
[ "Gaussian" ]
59e62763a1cf32f02dba63993bb44f2bfe53da27b15fed3a082efb98d3dac788
""" Generates a logical specification from natural language. """ # Copyright (C) 2011-2013 Kenton Lee, Constantine Lignos, and Ian Perera # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eith...
PennNLP/SLURP
ltlbroom/specgeneration.py
Python
gpl-3.0
38,251
[ "VisIt" ]
2185ea0fb2a42c1c6ab0b2a21c4e3ec9ffda5eda604b2fb960c0d3f1756832d0
"""! @brief Cluster analysis algorithm: SOM-SC (Self-Organized Feature Map for Simple Clustering) @details There is no paper on which implementation is based. Algorithm SOM-SC is adaptation of SOM for cluster analysis in simple way. Basic idea: amount of cluster that should be allocated is defines amount...
annoviko/pyclustering
pyclustering/cluster/somsc.py
Python
gpl-3.0
5,780
[ "Gaussian" ]
a52f45f26880e18963d479dec32df633be4ad08a7624f56be12318e4f6787430
_base_ = [ '../_base_/default_runtime.py', '../_base_/datasets/coco_detection.py' ] # model settings model = dict( type='CornerNet', backbone=dict( type='HourglassNet', downsample_times=5, num_stacks=2, stage_channels=[256, 256, 384, 384, 384, 512], stage_blocks=[2, ...
open-mmlab/mmdetection
configs/cornernet/cornernet_hourglass104_mstest_8x6_210e_coco.py
Python
apache-2.0
3,404
[ "Gaussian" ]
5b534c8631a39c047f97ee2d9d3ed7a9e1b5d8c0d77bdce44903eea7734d77b7
from sqlalchemy import exceptions, schema, topological, util, sql from sqlalchemy.sql import expression, operators, visitors from itertools import chain """Utility functions that build upon SQL and Schema constructs.""" def sort_tables(tables, reverse=False): """sort a collection of Table objects in order of thei...
santisiri/popego
envs/ALPHA-POPEGO/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/sqlalchemy/sql/util.py
Python
bsd-3-clause
9,494
[ "VisIt" ]
13dfc5bddab25d80406c41646df407c31b3d4bc36ddcb5e2a705146fb849addf
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2016 OSGeo # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 ...
MapStory/geonode
geonode/geoserver/tests.py
Python
gpl-3.0
44,671
[ "VisIt" ]
01ee58b451c9f3c029ab7f42e57e0443e829d3b339fb93624a85293efc1e3b61
#!/usr/bin/env python # -*- coding:utf-8 mode:python; tab-width:4; indent-tabs-mode:nil; py-indent-offset:4 -*- ## """ test_conversion ~~~~~~~~~~~~~~ Test NWChem-to-others conversion routines """ from collections import OrderedDict import sys import unittest from src.EMSL_local import EMSL_local from src...
mattbernst/ebsel
tests/test_conversion.py
Python
mit
9,216
[ "GAMESS", "Gaussian", "NWChem" ]
6106974eb6ea7a8fb0ac09b9df8b754b8222fc9a96e92a8242af8d0ceff3cdb3
# Copyright (c) 2011-2018, Ulf Magnusson # SPDX-License-Identifier: ISC """ Overview ======== Kconfiglib is a Python 2/3 library for scripting and extracting information from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt) configuration systems. See the homepage at https://github.com/u...
hezlog/rt-thread
tools/kconfiglib.py
Python
apache-2.0
224,638
[ "VisIt" ]
2da2877f95ea22a5190450b279e638d46aa163374d3b9dff2614a42f6cbe76b9