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
#!/usr/bin/env python """ Uses pysam to bgzip a file usage: %prog in_file out_file """ import optparse import os.path from pysam import ctabix def main(): # Read options, args. usage = "Usage: %prog [options] tabular_input_file bgzip_output_file" parser = optparse.OptionParser(usage=usage) parser.a...
yhoogstrate/tools-iuc
datatypes/snpsift_dbnsfp_datatypes/tabular_to_dbnsfp.py
Python
mit
1,082
[ "pysam" ]
dc468281009b4792c325dd0b78305466f30b2f823c164cdcf614398de74918a8
#!/usr/bin/python # 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 Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed...
dochang/ansible-modules-core
cloud/amazon/elasticache.py
Python
gpl-3.0
21,988
[ "Dalton" ]
fbb7a3e10f926a6592111fc5bb1ccccb62467ac499d6697e0e46562d116bd726
import copy from ast.stmt.returnstmt import ReturnStmt from ast.stmt.expressionstmt import ExpressionStmt from ast.expr.methodcallexpr import MethodCallExpr import logging from ast.visit import visit as v from ast.node import Node from ast.body.typedeclaration import TypeDeclaration from ast.body.classorinterfacedecla...
plum-umd/java-sketch
java_sk/rewrite/generator.py
Python
mit
6,820
[ "VisIt" ]
04af3841e6ef65c9bcd6af1ad572ea8dfb42315c512c7069e26038377f12b8bd
"""This module contains tests for the DataManager client. The tests upload files, remove them, replicate them, check metadata calls, and cleanDirectory Requirements: * Running FileCatalog instance, containing an LFN folder '/Jenkins', writable by the jenkins_user proxy * Two running StorageElements SE-1 and SE-2 * A...
ic-hep/DIRAC
tests/Integration/DataManagementSystem/Test_DataManager.py
Python
gpl-3.0
8,637
[ "DIRAC" ]
9d32b3adb82c7c69ee7d07cbc8753f1812610f54e057cd3f5884c349f6630192
# ----------------------------------------------------------------------------- # User configuration # ----------------------------------------------------------------------------- outputDir = '/Users/seb/Desktop/float-image/' # ----------------------------------------------------------------------------- from paravie...
Kitware/tonic-data-generator
scripts/paraview/samples/composite-wavelet.py
Python
bsd-3-clause
2,142
[ "ParaView", "VTK" ]
313bb61020086cb06e37c3505d2182b0c65e6735e66f125251ae263960f7f581
"""Convert to and from Roman numerals""" __author__ = "Mark Pilgrim (f8dy@diveintopython.org)" __version__ = "1.4" __date__ = "8 August 2001" __copyright__ = """Copyright (c) 2001 Mark Pilgrim This program is part of "Dive Into Python", a free Python tutorial for experienced programmers. Visit http://diveintopython....
ueser/FIDDLE
_deprecated/roman.py
Python
gpl-3.0
2,686
[ "VisIt" ]
ae1e0d403df5814a5bc5ab2de6d5be1162397ef72c227a61e5c516a957220277
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** # ...
SKIRT/PTS
magic/config/find_point.py
Python
agpl-3.0
13,676
[ "Galaxy", "Gaussian" ]
e4b7e8e64b5a56ccc4cacab0778cae3e6062f9c7b6505a16fa4e7b919b5fbaa1
""" ========================== Module: bbcflib.microbiome ========================== """ import sys, pysam from bbcflib.common import set_file_descr, unique_filename_in from bein import program @program def run_microbiome( options=[], output=None ): if output is None: output = unique_filename_in() options = [...
bbcf/bbcflib
bbcflib/microbiome.py
Python
gpl-3.0
8,800
[ "pysam" ]
1e152a87f30bf490ceb6c76c3b0c1f49aa160dbd6c7ffb1ba6da5ae1ac36c6d7
#!/usr/bin/python #-*-coding:utf-8-*- import redis import pprint from scrapy import log from socket import socket from time import time from scrapy.statscol import StatsCollector # default values REDIS_HOST = 'localhost' REDIS_PORT = 6379 STATS_KEY = 'scrapy:stats' class GraphiteClient(object): """ The c...
chrox/ecolect
ecolect/scrapy_graphite.py
Python
apache-2.0
9,469
[ "VisIt" ]
1c135cdf6b39cf33a8210ac77b05d4c178ab9ddd96eb33ddbd21405cb96c160f
""" Module for rendering antisites """ from __future__ import absolute_import from __future__ import unicode_literals import logging import vtk from . import baseRenderer from . import povrayWriters from .. import utils class AntisiteRenderer(baseRenderer.BaseRenderer): """ Render a set of antisites. ...
chrisdjscott/Atoman
atoman/rendering/renderers/antisiteRenderer.py
Python
mit
3,118
[ "VTK" ]
76c00749d9e396d64a250cdfdac383b9a6949f8969b42cab540d69bacd094234
#!/usr/bin/env python ######################################################################## # File : dirac-configure # Author : Ricardo Graciani ######################################################################## """ Main script to write dirac.cfg for a new DIRAC installation and initial download of CAs a...
chaen/DIRAC
Core/scripts/dirac-configure.py
Python
gpl-3.0
20,354
[ "DIRAC" ]
af555d8181be91cabd7da3b918a83649cc9400ac503c53448ff4bd06eb51bf68
# Description: Functions to perform statistical calculations. # Author: André Palóczy # E-mail: paloczy@gmail.com __all__ = ['gauss_curve', 'principal_ang', 'nmoment', 'skewness', 'kurtosis', 'rcoeff', 'autocorr', 'crosscorr', 'Tdecorr', 'Tdecorrw', 'Ne...
apaloczy/ap_tools
stats.py
Python
mit
22,045
[ "Gaussian" ]
d9bf68c9303050f3e9cff7d01ba823ce2f9260f34bb03676ae11c329387dde75
from traits.api import Code, Button, Int, on_trait_change, Any, HasTraits,List, Str, Enum, Instance, Bool from traitsui.api import (View, Item, Group, HGroup, CodeEditor, spring, Handler, EnumEditor) from cviewer.plugins.cff2.cvolume import CVolume class VolumeParameter(HasTraits...
LTS5/connectomeviewer
cviewer/plugins/codeoracle/cvolume_action.py
Python
bsd-3-clause
1,202
[ "Mayavi" ]
9167d40eb17d5a587a1b574a635aed46878aafe48821eb46a5a40df639590973
from django.conf import settings from faker import Faker from selenium.common.exceptions import NoSuchElementException from briansdojo.models import Project from briansdojo.selenium_test import SeleniumTestCase class TestBriansDojo(SeleniumTestCase): @classmethod def setUpClass(cls): super(TestBrian...
hellsgate1001/briansdojo
briansdojo/test/test_selenium.py
Python
mit
1,903
[ "Brian" ]
38c04eff47a10064a639ab99e08f40dfee7d618aadbfe5434e28309048b73dde
#!/usr/bin/env python import sys import versioneer from setuptools import find_packages, setup DISTNAME = "xarray" LICENSE = "Apache" AUTHOR = "xarray Developers" AUTHOR_EMAIL = "xarray@googlegroups.com" URL = "https://github.com/pydata/xarray" CLASSIFIERS = [ "Development Status :: 5 - Production/Stable", "L...
jhamman/xarray
setup.py
Python
apache-2.0
4,114
[ "NetCDF" ]
1f83d5820443074cf9977836a24bca4efc05618b1d689538587cd491c864cb7c
#This file does classification using scikit for reduced features: Gaussian NaiveBayes, Decision Tree, RF from sklearn.naive_bayes import GaussianNB from sklearn.ensemble import RandomForestClassifier from sklearn import metrics, preprocessing from sklearn import svm, naive_bayes, neighbors, tree from sklearn.ensemble...
LighthouseHPC/lighthouse
sandbox/petsc/solvers/scripts/ScikitClassifiersRS1.py
Python
mit
13,743
[ "Gaussian" ]
ae07498393049f03f30783989399dd2f2eb85c3e12a9d47252b3aaf445d68099
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Copyright 2012-2015 OpenBroadcaster, Inc. This file is part of OpenBroadcaster Player. OpenBroadcaster Player is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation...
openbroadcaster/obplayer
obplayer/alerts/alert.py
Python
agpl-3.0
35,915
[ "MOOSE" ]
b498dc2f1aea9c6eca7e9043d72fde14e6f7a51402efc0d79185ab7b9eda6d68
""" :mod: FileTest ======================= .. module: FileTest :synopsis: test cases for Files .. moduleauthor:: Krzysztof.Ciba@NOSPAMgmail.com test cases for Files """ from __future__ import print_function from __future__ import absolute_import from __future__ import division __RCSID__ = "$Id$"...
ic-hep/DIRAC
src/DIRAC/RequestManagementSystem/Client/test/Test_File.py
Python
gpl-3.0
1,827
[ "DIRAC" ]
5bc9ea33c2c64a1a431964fc1ce041f4f670a27a43e11b406a3b2b12faeb56e1
#!/usr/bin/python # Filename: example_ocean.py # # Code by Martin Jucker, distributed under an MIT License # Any publication benefitting from this piece of code should cite # Jucker, M 2014. Scientific Visualisation of Atmospheric Data with ParaView. # Journal of Open Research Software 2(1):e4, DOI: http://dx.doi.org/1...
mjucker/pv_atmos
examples/example_ocean.py
Python
mit
4,155
[ "ParaView" ]
95bdc29e32f689950c8f83180399eb0e8fdd1e013a243c3d0e91865eeb577a7c
# Author: Brian Kirk # -------------------------------------------------------------------------------------------------- def ReadDataFromWeb(mousid): # -------------------------------------------------------------------------------------------------- """ This function reads the metadata about the project f...
bmarshallk/NAASC
staging_scripts/StagingManualCalibrationParallel.py
Python
gpl-3.0
11,679
[ "Brian" ]
9bce2073d1989405115f18877ab00ba1303605118112ffff5d645d78576e1d90
# -*- coding: utf-8 -*- # vim: set fileencoding=utf-8 # Copyright (c) 2008-2016 Janne Blomqvist # This source code file is subject to the terms of the LGPL 2.1 # License. See the file LICENSE for details. """Module for doing stuff with density-of-states.""" from __future__ import print_function import matplotlib.pyp...
jabl/vasputil
vasputil/dos.py
Python
lgpl-2.1
4,093
[ "ASE", "VASP" ]
bdf8c1593272d4a9afb7f16b3b3f0ff13866d48ee11e7d9334df3b4c54a5f607
''' Created on Jan 17, 2013 @author: brian ''' import logging import os from tempfile import mkdtemp import cStringIO import shutil import sys from django.test import TestCase from django.core.management import call_command from nose.plugins.skip import SkipTest from student.models import User, TestCenterUser, get_t...
praveen-pal/edx-platform
common/djangoapps/student/management/commands/tests/test_pearson.py
Python
agpl-3.0
17,458
[ "Brian" ]
87eb78f85c691782add3a805d6b23bdb144fdd6b4f89d1b62464ca497323a5e7
from django.core.management.base import NoArgsCommand, BaseCommand from django.core.mail import send_mail, EmailMessage from optparse import make_option from texas.models import * from datetime import datetime import random import string import time class Command(BaseCommand): args = "<occurrence_id>" help = "...
bsarsgard/blackrocktickets
texas/management/commands/texas_email_blast.py
Python
apache-2.0
2,455
[ "BLAST" ]
e7865648c880d48a04d7ec8961b66a39596b5904dfb8e4cdd66e800879c9d425
# This file is part of cclib (http://cclib.sf.net), a library for parsing # and interpreting the results of computational chemistry packages. # # Copyright (C) 2006, the cclib development team # # The library is free software, distributed under the terms of # the GNU Lesser General Public version 2.1 or later. Yo...
Clyde-fare/cclib_bak
test/testvib.py
Python
lgpl-2.1
5,065
[ "ADF", "GAMESS", "Gaussian", "Jaguar", "Molpro", "ORCA", "cclib" ]
d46c775dc80d39ebc786848134db90ff0bae226adfd9f01f39199f102afe2b7e
import sys, os, inspect import os, sys, inspect, inviwopy path_to_current_folder = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) sys.path.append(path_to_current_folder + "/../") import envisionpy import envisionpy.hdf5parser from envisionpy.network import VisualisationManager # Path to the ...
rartino/ENVISIoN
demo/charge_slice.py
Python
bsd-2-clause
974
[ "VASP" ]
4ec11d0788dd49415dde94360fd57f4b0514245e660d28a1903335cfbf58a838
# Copyright (c) 2012 OpenStack Foundation. # # 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 agreed to...
eayunstack/neutron
neutron/tests/unit/test_policy.py
Python
apache-2.0
26,031
[ "BLAST" ]
5d3e1388fd71ba11bb8dc6b2fa8552630bf0eca01b1af21fa6faf188d2d7a533
import numpy as np import galsim def great3_sn_comp(stamp,galinfo): # G08 is the best possible S/N estimate: # S = sum W(x,y) I(x,y) / sum W(x,y) # N^2 = Var(S) = sum W(x,y)^2 Var(I(x,y)) / (sum W(x,y))^2 # with W(x,y) = I(x,y), so # S = sum I^2(x,y) / sum I(x,y) # N^2 = noise variance ...
kstory8/egret
egret/galaxymakers/great3_cosmos_gals/utils.py
Python
bsd-3-clause
3,131
[ "Gaussian" ]
ca68388f023ae711077d6ddc589aa1e15bec4d870fdc14a5fa6e5011ecbffe05
#!/usr/bin/env python # Run this test like so: # vtkpython TestTensorGlyph.py -D $VTK_DATA_ROOT \ # -B $VTK_DATA_ROOT/Baseline/Graphics/ import os import vtk from vtk.test import Testing class SimpleGlyph: """A simple class used to test vtkTensorGlyph.""" def __init__(self, reader): self.reader = re...
aashish24/VTK-old
Filters/Core/Testing/Python/TestTensorGlyph.py
Python
bsd-3-clause
3,661
[ "VTK" ]
878dbf93e00d04f02294aa45083a699a5c9d3e167259a7c61edf7686351313ff
from __future__ import division, absolute_import, print_function import os import sys import types import re from numpy.core.numerictypes import issubclass_, issubsctype, issubdtype from numpy.core import ndarray, ufunc, asarray __all__ = [ 'issubclass_', 'issubsctype', 'issubdtype', 'deprecate', 'deprecate_...
Microvellum/Fluid-Designer
win64-vc/2.78/python/lib/site-packages/numpy/lib/utils.py
Python
gpl-3.0
36,893
[ "VisIt" ]
50426c5f1b81e418c10d707fa264c484646d24fc24f66c8a889ef0289f9ba52b
#### import the simple module from the paraview from paraview.simple import * #### disable automatic camera reset on 'Show' paraview.simple._DisableFirstRenderCameraReset() # create a new 'Wavelet' wavelet1 = Wavelet() # get active view renderView1 = GetActiveViewOrCreate('RenderView') # uncomment following to set a ...
HopeFOAM/HopeFOAM
ThirdParty-0.1/ParaView-5.0.1/Applications/ParaView/Testing/Python/TestColorHistogram.py
Python
gpl-3.0
2,475
[ "ParaView", "VTK" ]
41deed47ba66a8a75cf6172d7363b5709bee4126ba8d1ce427e2bc47e429914c
# # Author: Travis Oliphant 2002-2011 with contributions from # SciPy Developers 2004-2011 # from __future__ import division, print_function, absolute_import import warnings from scipy.special import comb from scipy.misc.doccer import inherit_docstring_from from scipy import special from scipy import optim...
jlcarmic/producthunt_simulator
venv/lib/python2.7/site-packages/scipy/stats/_continuous_distns.py
Python
mit
120,383
[ "Gaussian" ]
4eaff6f753aca0a63597d87562a356f1af62e137e4a268b6403df0b42b1968e2
# Gaussian blur device import cv2 import os import numpy as np from plantcv.plantcv import print_image from plantcv.plantcv import plot_image from plantcv.plantcv import params def gaussian_blur(img, ksize, sigma_x=0, sigma_y=None): """Applies a Gaussian blur filter. Inputs: # img = RGB or grayscale...
stiphyMT/plantcv
plantcv/plantcv/gaussian_blur.py
Python
mit
1,195
[ "Gaussian" ]
04d1038244a5c7a247d8a45577a4426852540453a0fac8fd004d02f81b91e14d
"""Mission Pinball Framework (mpf) setup.py.""" import re from setuptools import setup # http://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package VERSIONFILE = "mpf/_version.py" VERSION_STRING_LONG = open(VERSIONFILE, "rt").read() VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" _MO = r...
missionpinball/mpf
setup.py
Python
mit
3,976
[ "Brian" ]
2408b3e1a9b1488b656f6352dafef9d17fddedfcca4eedb84dedf3831d06b95b
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # ''' CIS excited state density with TDA amplitudes ''' import numpy as np from pyscf import gto, dft, tdscf mol = gto.M( atom = 'H 0 0 0; F 0 0 1.1', basis = '631g', ) mf = dft.RKS(mol) mf.xc = 'b3lyp' mf.kernel() mytd = tdscf.TDA(mf).run...
sunqm/pyscf
examples/tddft/22-density.py
Python
apache-2.0
1,614
[ "Jmol", "PySCF" ]
e7276fe48f96fe67b82d79780bd42337c9ae92403bc8874d2d44de527364471d
import random import math class Neuron(object): def __init__(self, prev_n_neurons): self._synapticWeights = [] for i in range(prev_n_neurons): self._synapticWeights.append(random.random() - 0.5) self.lamda = 1.5 self._activation = 0.0 def activate(self, inputs): self._activation = 0.0 for i in range...
vigor95/vigor95.github.io
_posts/main.py
Python
mit
4,822
[ "NEURON" ]
d76c59bb3ce1df1ed3a4c2887351b9366597d8d857593945e2a6835bdfdfa363
# Python 3 confirmed, Mar 29 2016 """ adrin_rp.py This file collects functions and classes used in Redox potential prediction in metabolism, which I am collaborating with Adrian. """ import numpy as np import pandas as pd from collections import OrderedDict from scipy.optimize import minimize import matplotlib.pyplo...
jskDr/jamespy_py3
jadrian.py
Python
mit
105,356
[ "RDKit" ]
a6549893eead99c3025a25358bebde8aa12774de517916973cde2fc5e60ac820
#!/usr/bin/env python ######################################################################################### # # Create mask along z direction. # # --------------------------------------------------------------------------------------- # Copyright (c) 2014 Polytechnique Montreal <www.neuro.polymtl.ca> # Authors: Jul...
3324fr/spinalcordtoolbox
scripts/sct_create_mask.py
Python
mit
16,314
[ "Gaussian" ]
439681682e19a584f2440ce1e0da52942cebbed1dc76c0f9e048b5ca43dd862f
# Copyright (C) 2004. Frederic Sohm. # 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. """Configuration of the console. Mainly used by PrintFormat.PrintFormat - ConsoleWidth : width of the console u...
zjuchenyuan/BioWeb
Lib/Bio/Restriction/RanaConfig.py
Python
mit
2,517
[ "Biopython" ]
f470a6770a970492d32d0f7634ffe8dc1545c105c27a820880801c7287a9eafe
""" Schemas for resonant scanners.""" import datajoint as dj from datajoint.jobs import key_hash import matplotlib.pyplot as plt import numpy as np import scanreader from . import experiment, notify, shared from .utils import galvo_corrections, signal, quality, mask_classification, performance from .exceptions import ...
olakiril/pipeline
python/pipeline/reso.py
Python
lgpl-3.0
79,661
[ "Gaussian" ]
3e6d91208cc62806380e265a726bdd9313e90cb2f5c5bf2078390e153db3f6dd
#!/usr/bin/env python with open("../templates/header.html", "r") as header: print header.read() with open("../templates/navbar.html", "r") as navbar: print navbar.read() print(""" <div class="row"> <div class="col-xxs-6 col-xxs-offset-3 col-xs-4 col-sm-3 col-md-2 col-lg-1"> <img class="img-responsive" alt="WBC Ic...
kbrohkahn/kevinbrohkahn.com
apps/wbc.py
Python
apache-2.0
1,844
[ "VisIt" ]
08b151e1ac06c5f497e9d2afabdbe93a2915d5f0cd866d49b1c2e08929ce4768
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** # ...
SKIRT/PTS
modeling/config/prepare_data.py
Python
agpl-3.0
3,468
[ "Galaxy" ]
c2a7bd5611a20888ed84059176d84f8acf2fc2245e212ef644f541c98c94fb6e
#!/usr/bin/env python ''' File name: main_ripp_mod.py Author: Guillaume Viejo Date created: 16/08/2017 Python Version: 3.5.2 ''' import sys import numpy as np import pandas as pd import scipy.io from functions import * # from pylab import * # import ipyparallel from multiprocessing import Pool imp...
gviejo/ThalamusPhysio
python/main_test_linear_speed.py
Python
gpl-3.0
6,646
[ "Gaussian" ]
af2af1feb88dd2bdc27ddf2586d174d8a13b782bf27c3efcf3267f79f1a2e77c
# Implements black-box variational inference, where the variational # distribution is a mixture of Gaussians. # # This trick was written up by Alex Graves in this note: # http://arxiv.org/abs/1607.05690 from __future__ import absolute_import from __future__ import print_function import matplotlib.pyplot as plt import...
HIPS/autograd
examples/mixture_variational_inference.py
Python
mit
6,900
[ "Gaussian" ]
7db7a708dd297f97006e28699d5ed6b7048cc43314aea59e3f5ea29b6d2e8fc3
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module provides """ from collections import namedtuple, OrderedDict from monty.string import is_string from monty.json import MSONable #, MontyEncoder from monty.functools import lazy_property from pym...
dongsenfo/pymatgen
pymatgen/core/xcfunc.py
Python
mit
10,443
[ "ABINIT", "GPAW", "pymatgen" ]
08558711579847c41077b4d43fdc4dc915b36645194de23d19ac3c8ea6263938
"""Support for Ecobee Thermostats.""" from __future__ import annotations import collections import voluptuous as vol from homeassistant.components.climate import ClimateEntity from homeassistant.components.climate.const import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, CURRENT_HVAC_COOL, CURRENT_...
sander76/home-assistant
homeassistant/components/ecobee/climate.py
Python
apache-2.0
28,198
[ "VisIt" ]
4011a2981c6a12adf1abba6b925dd4706eca713d316fe79432cef8a71f849b49
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'AdditionalPatientInformation.other_harmful_substances' db.add_column(u'patient_additionalpat...
aazhbd/medical_info01
patient/migrations/0005_auto__add_field_additionalpatientinformation_other_harmful_substances_.py
Python
bsd-3-clause
30,805
[ "VisIt" ]
a05aff07205dd5b5cc249f2d5d621e34e58d6bb56abf5cbeae12045319468458
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2019 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
CDSherrill/psi4
psi4/share/psi4/databases/HTR40.py
Python
lgpl-3.0
41,501
[ "Psi4" ]
06743bab0bd3a925b4c8929c2956aaf8893374867998fb680a1cf7fff0ce3e61
from ase.test import cli, require from ase.db import connect from ase.db.jsondb import read_json from ase.calculators.nwchem import NWChem require('nwchem') cli("""ase-build O | ase-run nwchem -d nwchem_cmdline.json && ase-build O2 | ase-run nwchem -d nwchem_cmdline.json""") c = connect('nwchem_cmdline.json') dct = re...
askhl/ase
ase/test/nwchem/nwchem_cmdline.py
Python
gpl-2.0
711
[ "ASE", "NWChem" ]
ef4449b400fb4a288aeda1e82b40dc7a5bb000f792b4aa3d9a9e8244d837e038
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkPolyDataWriter(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, vtk...
nagyistoce/devide
modules/vtk_basic/vtkPolyDataWriter.py
Python
bsd-3-clause
484
[ "VTK" ]
3cbc590ee2fd5e0142061b62550738330f00a59db09974b4c144f40e305edcd2
# -*- coding: utf-8 -*- import datetime import hashlib import json import os import tarfile from copy import deepcopy from tempfile import mkdtemp from django.conf import settings from django.core import mail from django.core.management import call_command from django.core.urlresolvers import reverse import mock from...
shahbaz17/zamboni
mkt/webapps/tests/test_tasks.py
Python
bsd-3-clause
27,295
[ "exciting" ]
d56699bda61e52b3c37b1b0864a09ef862801d5ce5d1457de13f8b3a0f34ccc1
# -*- 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_v2/test_conversation_models.py
Python
apache-2.0
143,948
[ "Octopus" ]
72c57b2c4d684edc6e354d7967ed50a71f3e151f6cf8b39de73fdc9992dbee50
#!/usr/bin/env python """ Copyright (C) 2015 Louis Dijkstra This file is part of error-model-aligner 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 of the License, or (at your opt...
louisdijkstra/error-model-aligner
python/Alignments.py
Python
gpl-3.0
6,879
[ "pysam" ]
4a31718913d37a662671c036960d9ba0ab119fd522e8a2908f210f87b3e232f2
## # Copyright 2012-2015 Ghent University # # This file is part of EasyBuild, # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), # with support of Ghent University (http://ugent.be/hpc), # the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en), # the Hercules foundation (htt...
nesi/easybuild-framework
test/framework/module_generator.py
Python
gpl-2.0
32,872
[ "NetCDF" ]
f9ee2696cc6c0694733085eee18d8348c1d7bcf4025b9f60691310f5ec31c952
# Copyright (C) 2012,2013,2015,2016 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the ...
fedepad/espressopp
src/tools/__init__.py
Python
gpl-3.0
1,970
[ "ESPResSo", "Gromacs", "LAMMPS", "VMD" ]
4347a9c33b3d8af6bf3c61d80a31f8f92664943485cf474504f62284d70e0104
# -*- coding: utf-8 -*- import numpy as np from numpy import dot from dipy.core.geometry import sphere2cart from dipy.core.geometry import vec2vec_rotmat from dipy.core.gradients import GradientTable from dipy.data import default_sphere from dipy.reconst.mcsd import MultiShellResponse from dipy.reconst.utils import dk...
FrancoisRheaultUS/dipy
dipy/sims/voxel.py
Python
bsd-3-clause
32,146
[ "Gaussian" ]
f8899c0a7e1d35b07a4b225518c4b0731c45816170f68b75019cf8b1f1f864ab
"""Learning probabilistic models. (Chapters 20)""" import heapq from utils import weighted_sampler, product, gaussian class CountingProbDist: """ A probability distribution formed by observing and counting examples. If p is an instance of this class and o is an observed value, then there are 3 main ...
Chipe1/aima-python
probabilistic_learning.py
Python
mit
5,334
[ "Gaussian" ]
b3a5fb679cf3c5cdc4f2a2b816cd26fba257a6ec5bfc73f10d61eff0ad14e541
# gPrime - A web-based genealogy program # # Copyright (C) 2012 Nick Hall # Copyright (C) 2012 Brian G. Matherly # Copyright (C) 2012-2014 Paul Franklin # # 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...
sam-m888/gprime
gprime/plugins/textreport/alphabeticalindex.py
Python
gpl-2.0
4,510
[ "Brian" ]
1014ce9b208baefb1e4657f3018fd6233ca18135130b54184318367bc2aef01f
# # Copyright (C) 2008, Brian Tanner # #http://rl-glue-ext.googlecode.com/ # # 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 requ...
okkhoy/mo-rlglue-python-codec
tests/test_1_environment.py
Python
mit
2,322
[ "Brian" ]
f80142ba06a22279c1806a5b2439cbc25b1dfd57cfc5f8d4fe88cb3cd87d923e
# # The OpenDiamond Platform for Interactive Search # # Copyright (c) 2012 Carnegie Mellon University # All rights reserved. # # This software is distributed under the terms of the Eclipse Public # License, Version 1.0 which can be found in the file named LICENSE. # ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS S...
cmusatyalab/opendiamond
opendiamond/blaster/handlers.py
Python
epl-1.0
23,101
[ "BLAST" ]
fc5f7b07b259d1607c6f7f31342f22f6aa10acffe73f674bcbf11ffeb748d74e
# # intStream.py # # Integrates quantities along streamlines. import numpy as np import glemur as gm import pyvtk as vtk from vtk.util import numpy_support as VN from os import listdir import natsort class intStream: """ intStream -- Holds the field line integrated quantities. """ def __init__(self,...
SimonCan/glemur
python/glemur/intStream.py
Python
gpl-2.0
17,285
[ "VTK" ]
d019b6ea85d8a481fe31029cecfc3b5f7664023f051bb4f8e7086239972f83e8
#!/usr/bin/env python # # Copyright 2014 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. """ Utilities for the modular DevTools build. """ # pylint: skip-file import collections from os import path import os import sys #...
youtube/cobalt
third_party/devtools/scripts/build/modular_build.py
Python
bsd-3-clause
8,629
[ "VisIt" ]
ec9eb9e5433eb23597609d60992527f52da50263592580b725398e8f2cc53505
####################################################################### # # Copyright (C) 2001-2014, Michele Cappellari # E-mail: cappellari_at_astro.ox.ac.uk # # This software is provided as is without any warranty whatsoever. # Permission to use, for non-commercial purposes is granted. # Permission to modify f...
kadubarbosa/hydra1
ppxf_util.py
Python
gpl-2.0
10,040
[ "Galaxy", "Gaussian" ]
930be7b7cc30c6e35aea509e52f61f20cb9ace292371fea4f4b18add5f57678d
# - Coding UTF8 - # # Networked Decision Making # Development Sites (source code): # http://code.google.com/p/global-decision-making-system/ # http://github.com/NewGlobalStrategy/NetDecisionMaking # # Demo Sites (Google App Engine) # http://netdecisionmaking.appspot.com # http://globaldecisionmaking.appspot.com ...
NewGlobalStrategy/NetDecisionMaking
controllers/answer.py
Python
mit
39,200
[ "VisIt" ]
8984f16403f95fd51b90a625f1432745dfd98acfe6632ef6454ba8e2dc00c46c
######################################################################## # # (C) 2013, James Cammarata <jcammarata@ansible.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 Software ...
datsfosure/ansible
lib/ansible/cli/galaxy.py
Python
gpl-3.0
21,602
[ "Galaxy" ]
60e7ce2e387efc08130c6216e9f0276cf110e208288930ebc73ae093d2fc954b
#------------------------------------------------------------------------------- # Cloud-COPASI # Copyright (c) 2013 Edward Kent. # All rights reserved. This program and the accompanying materials # are made available under the terms of the GNU Public License v3.0 # which accompanies this distribution, and is available...
edkent/cloud-copasi
cloud_copasi/web_interface/account/account_views.py
Python
gpl-3.0
23,163
[ "COPASI" ]
ddf970f8fbdaa5c7b02c0fecb758e5ec0778e3e50b797740b1c9c9dd12ac94b1
from __future__ import unicode_literals from .common import InfoExtractor from ..utils import ExtractorError class NhkVodIE(InfoExtractor): _VALID_URL = r'https?://www3\.nhk\.or\.jp/nhkworld/en/(?:vod|ondemand)/(?P<id>[^/]+/[^/?#&]+)' _TESTS = [{ # Videos available only for a limited period of time. ...
ping/youtube-dl
youtube_dl/extractor/nhk.py
Python
unlicense
2,113
[ "VisIt" ]
16681bd48e917349d7307a5d77bb18da7fea7ac8f960ff4cd83035a89624fe0a
# modified mexican hat wavelet test.py # spectral analysis for RADAR and WRF patterns # NO plotting - just saving the results: LOG-response spectra for each sigma and max-LOG response numerical spectra # pre-convolved with a gaussian filter of sigma=10 import os, shutil import time, datetime import pickle imp...
yaukwankiu/armor
tests/modifiedMexicanHatTest17_march2014wrf.py
Python
cc0-1.0
7,798
[ "Gaussian" ]
411c1d60086e93824202ef06fa2bf2a5407e55221c105acc5543b0dfc59a49e6
# -*- coding: utf-8 -*- # # evaluate_tsodyks2_synapse.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 t...
stinebuu/nest-simulator
pynest/examples/evaluate_tsodyks2_synapse.py
Python
gpl-2.0
4,941
[ "NEURON" ]
7e79ffd8a0d648121f59998ffcc4c6945d94893b97d886c432ccb2dd874148fe
""" A buffered iterator for big arrays. This module solves the problem of iterating over a big file-based array without having to read it into memory. The `Arrayterator` class wraps an array object, and when iterated it will return sub-arrays with at most a user-specified number of elements. """ from __future__ impo...
jasonmccampbell/numpy-refactor-sprint
numpy/lib/arrayterator.py
Python
bsd-3-clause
6,511
[ "NetCDF" ]
d85a953a87d1f9f37ad9f4ffd895ae090b0c70e38722ba485ef5608dae2427da
# # Copyright (C) 2013,2014,2015,2016 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 opt...
tbereau/espresso
samples/python/h5md_ReadFile.py
Python
gpl-3.0
4,220
[ "ESPResSo" ]
684140ef587ddc6c8c2d51527e5ce2ee85cdfc7f6e0e5664ce64637569fa774b
#!/usr/bin/env python """ DataCollectingParser subclasses ctypesparser.CtypesParser and builds Description objects from the CtypesType objects and other information from CtypesParser. After parsing is complete, a DescriptionCollection object can be retrieved by calling DataCollectingParser.data(). """ from . import c...
davidjamesca/ctypesgen
ctypesgen/parser/datacollectingparser.py
Python
bsd-2-clause
12,375
[ "VisIt" ]
552d8fd764f080ac7710c9776757ada8acf747eb6b1fb184c24b668e0e004ad4
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
lgarren/spack
var/spack/repos/builtin/packages/r-a4preproc/package.py
Python
lgpl-2.1
1,720
[ "Bioconductor" ]
99b57248194e3e9353df66f5850b7d087778902eabfeeca6ad7c9a090f09f5cd
import numpy as np from scipy.integrate import quad from matplotlib import pyplot as plt from astropy.io import fits from astropy.coordinates import SkyCoord, Angle from astropy.wcs import WCS from astropy.wcs.utils import pixel_to_skycoord, skycoord_to_pixel import astropy.units as u from astropy.units.quantity impo...
mapazarr/astropy_scripts
astropy_scripts/test_fill_acceptance_image.py
Python
gpl-2.0
11,893
[ "Gaussian" ]
a1b61b4322e6d4f89c4b8fc695a2fa670a55fa57137bead61873f3332584d1f0
#!/usr/bin/env python3 import logging import os import pathlib import numpy as np import pytest from pysisyphus.calculators.ORCA import ORCA from pysisyphus.constants import ANG2BOHR from pysisyphus.Geometry import Geometry from pysisyphus.irc.GonzalesSchlegel import GonzalesSchlegel from pysisyphus.irc.DampedVelocit...
eljost/pysisyphus
tests_staging/irc_hcn_iso/test_hcn_iso_irc.py
Python
gpl-3.0
2,739
[ "ORCA" ]
9397ba32022336e47ce9959c994a64ff71a2b8cad373bc4dd95b9745dd283ff3
from __future__ import absolute_import from typing import Any, Dict, List, Set, Tuple, TypeVar, Text, \ Union, Optional, Sequence, AbstractSet, Pattern, AnyStr from typing.re import Match from zerver.lib.str_utils import NonBinaryStr from django.db import models from django.db.models.query import QuerySet from dja...
grave-w-grave/zulip
zerver/models.py
Python
apache-2.0
56,060
[ "VisIt" ]
19219a06f66c59187e34c0c3e2e8dc411b65a665d7a70c57b4f00ad9fbec40db
import numpy as np import stsci.tools.nmpfit as mpfit def gaussian4(p, x): """ gaussian model p[0] -- scale factor p[1] -- centroid p[2] -- sigma p[3] -- offset Area: (p[0]-p[3]) x p[2] x np.sqrt(2 x pi) """ u = (x - p[1])/p[2] return p[0]*np.exp(-0.5*u*u) + p[3] def gaussian5...
scizen9/kpy
NPK/Fit.py
Python
gpl-2.0
2,200
[ "Gaussian" ]
b611501f08e48241fed7aa52220a638e915cb146111031a01c81a3f73ff432c4
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2018 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
amjames/psi4
psi4/driver/qcdb/molpro2.py
Python
lgpl-3.0
27,516
[ "CFOUR", "Psi4" ]
bd06ae0db8225977987a41738cecd2676b317180d3c3f460bcb62f93bd2e140d
# Copyright 2016 The TensorFlow Authors. 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 applica...
AsimmHirani/ISpyPi
tensorflow/contrib/tensorflow-master/tensorflow/contrib/distributions/python/ops/mvn_diag_plus_low_rank.py
Python
apache-2.0
9,683
[ "Gaussian" ]
5cdbf80dae48889ead77812b54fefda1b78a819a08afd3f2b9efd7725f20d970
#! /usr/bin/env python3 """ Author: Wout van Helvoirt Build: January 30th, 2017 Version: 1.0 Usage: This module needs to be imported. It is able to parse a pdb file and convert it to a distance map, contact map or modified contact map with extra amino acid information. The input pdb files are split over multiple proc...
penuts7644/MachineProteinRecognition
PythonFiles/protein_prediction/pdb_to_matrix_parser.py
Python
gpl-3.0
9,330
[ "Biopython" ]
cf6baa331dc1f4fdefb3e633fb0eb4412b98fcf270c3a565a65523ad4c52f147
import numpy as np from asap3.MonteCarlo.Base import GlobalOptimizer from ase.units import kB from ase.optimize import LBFGS class BasinHopping(GlobalOptimizer): def __init__(self, atoms, log='-', traj=None, localopt=LBFGS, fmax=1e-2): GlobalOptimizer.__init__(self, atoms, log, traj) self.localopt...
auag92/n2dm
Asap-3.8.4/Python/asap3/MonteCarlo/Basin.py
Python
mit
1,308
[ "ASE" ]
c92e0393b1bc857da005c174a218c668b57914d191b61bd7a1a306f5d3bf9b03
#! /usr/bin/env python """ crypto.cipher.icedoll_test Tests for icedoll encryption algorithm Copyright (c) 2002 by Paul A. Lambert Read LICENSE.txt for license information. """ from crypto.cipher.icedoll import Icedoll from crypto.cipher.base import noPadding from binascii import a2b_he...
realms-team/basestation-fw
libs/smartmeshsdk-REL-1.3.0.1/external_libs/cryptopy/crypto/cipher/icedoll_test.py
Python
bsd-3-clause
3,892
[ "Brian" ]
ed910aacaf50fb0127db8a452a2314c55da847b29479c0ebed2d7a2a54326b3c
# coding: utf-8 """ Vericred API Vericred's API allows you to search for Health Plans that a specific doctor accepts. ## Getting Started Visit our [Developer Portal](https://developers.vericred.com) to create an account. Once you have created an account, you can create one Application for Production and an...
vericred/vericred-python
vericred_client/models/drug_coverage_response.py
Python
apache-2.0
14,279
[ "VisIt" ]
2740ff94456cdea68d7ff79469754afab6763b5fb880f44071e2216f7200464a
#!/usr/bin/env python import sys import pysam import argparse import random import subprocess import os import bamsurgeon.replacereads as rr import traceback import bamsurgeon.aligners as aligners import bamsurgeon.mutation as mutation from operator import itemgetter from bamsurgeon.common import * from uuid import u...
MischaLundberg/bamsurgeon
bin/addsnv.py
Python
mit
21,257
[ "BWA", "pysam" ]
91e0549d64d3326ebbde602a144feae1be02a5507d68627833e9122769b2c235
""" Module simtk.unit.basedimension BaseDimension class for use by units and quantities. BaseDimensions are things like "length" and "mass". This is part of the OpenMM molecular simulation toolkit originating from Simbios, the NIH National Center for Physics-Based Simulation of Biological Structures at Stanford, fund...
leeping/mdtraj
mdtraj/utils/unit/basedimension.py
Python
lgpl-2.1
3,400
[ "OpenMM" ]
a7704904b9cdb6e6af5e1f5c4b0eb8bb5a5de3524ab754bba49702df7f9584e5
# ============================================================ # = WARNING: This example is very computationally demanding! = # ============================================================ # I have set the map resolutions to give nice-looking results, but I am using # an 8-core, 3.0GHz Apple Mac Pro with 8GB of RAM and...
matthew-brett/pymc
pymc/examples/gp/more_examples/Geostats/mcmc.py
Python
mit
3,372
[ "Gaussian" ]
6fa943504b0f53bfb7632dc54c6d7838bb3abb834f9884340254326ee6f734ea
# Copyright 2012-2014 Brian May # # This file is part of python-tldap. # # python-tldap 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 version....
brianmay/python-tldap-debian
tldap/base.py
Python
gpl-3.0
21,200
[ "Brian" ]
2d30ce93e3cbd129c1df8276ed501dd3742360c582b153b492ff1541f0885c6c
import numpy as np from matplotlib import pyplot from spm1d import rft1d #(0) Set parameters: np.random.seed(0) nResponses = 12 nTestStatFields = 2 nNodes = 101 nIterations = 2000 FWHM = 10.0 ### derived parameters: df = nResponses-1 sqrtN = np.sqrt(nResponses) #...
0todd0000/spm1d
spm1d/rft1d/examples/val_conj_1_t.py
Python
gpl-3.0
1,445
[ "Gaussian" ]
58c860ee5f6ad56771f4cac5fa37d6341b72c6897b51a5df9d69ba0832ec6f61
# Orca # # Copyright 2005-2010 Sun Microsystems Inc. # # This library 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 License, or (at your option) any later version. # # This...
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/pyshared/orca/scripts/apps/packagemanager/script_settings.py
Python
gpl-3.0
1,041
[ "ORCA" ]
44df7e5ed7688539829fa1f06d378165170542ca18b4bb0e80b199a06fa0cd8d
# Copyright 2014-2018 The PySCF Developers. 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 appl...
gkc1000/pyscf
pyscf/nao/m_thrj.py
Python
apache-2.0
3,999
[ "PySCF" ]
0fa992c05cba32d83a9a4d93e519feb425e6a42b6544b5e73719b86d2fd07418
from faker.providers import BaseProvider class ExhibitorProvider(BaseProvider): formats = ( '{{exhibitor_name}} {{company_suffix}}', '{{exhibitor_shortname}} {{company_suffix}}', '{{exhibitor_name}}', ) exhibitor_names = ( ( 'Fun', 'World', 'Reel', 'Royal', 'Vie...
RangerOfFire/faker-cinema
faker_cinema/exhibitor.py
Python
mit
1,476
[ "Galaxy" ]
d3a09fb72bc90f99e699b4ade5223968a9966d38f726d2597c6e128bcfbeee4a
# Copyright 2017 Krzysztof Stopa (stopa.krzysztof.k@gmail.com) # This file is part of Copernicus Atmosphere Monitoring Service (CAMS) downloading and # processing tools (CAMS tools). # CAMS tools is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as p...
kstopa/cams-tools
cams/regional.py
Python
lgpl-3.0
8,211
[ "NetCDF" ]
96cd2f1c97ddc250467d398b6dd127f4e0e814ee9a786c185cee031edbd98bc9
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PyBiopython(PythonPackage): """A distributed collaborative effort to develop Python librar...
LLNL/spack
var/spack/repos/builtin/packages/py-biopython/package.py
Python
lgpl-2.1
1,085
[ "Biopython" ]
5823dccedaf3cad32a912775b00a6949fe977a4d0a19f4339031707baa9bb09d
# GromacsWrapper config.py # Copyright (c) 2009-2011 Oliver Beckstein <orbeckst@gmail.com> # Released under the GNU Public License 3 (or higher, your choice) # See the file COPYING for details. """:mod:`gromacs.config` -- Configuration for GromacsWrapper ========================================================== The ...
Becksteinlab/GromacsWrapper
gromacs/config.py
Python
gpl-3.0
26,782
[ "Gromacs" ]
b6da8ba81f504d8e2ccc463ee2c3c59ba71c07bc7ddfa2aa13c1bbea40da3883
#!/usr/bin/python # # Copyright 2012 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 b...
nearlyfreeapps/python-googleadwords
examples/adspygoogle/adwords/v201109_1/misc/use_oauth2.py
Python
apache-2.0
4,678
[ "VisIt" ]
c7913e4001d7164f0d078f373fa7877e0cc31752d9303783c3891b4a068fd15d
# -*- coding: utf-8 -*- ############################################################################# # SRWLIB Example: Virtual Beamline: a set of utilities and functions allowing to simulate # operation of an SR Beamline. # The standard use of this script is from command line, with some optional arguments, # e.g. for ...
mrakitin/sirepo
tests/template/srw_import_data/chx_fiber.py
Python
apache-2.0
32,247
[ "CRYSTAL" ]
7a886d15c2ead403932a02c2416642e23d0624299aa98905fd2c80d1b2c1b7e2
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- ### BEGIN LICENSE # Copyright (C) 2014 Brian Douglass bhdouglass@gmail.com # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Softwa...
bhdouglass/remindor
remindor/__init__.py
Python
gpl-3.0
2,348
[ "Brian" ]
fbd6d9d2ce9dc6e6802d02ca484b73182617eb8eb2eba6040c37b7b2a1d478c5
# -- coding: utf-8 -- # =========================================================================== # eXe # Copyright 2012, Pedro Peña Pérez, Open Phoenix IT # # 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 Softwar...
kohnle-lernmodule/exe201based
exe/jsui/mainpage.py
Python
gpl-2.0
57,369
[ "VisIt" ]
ac0a438bc51f895f3d28f91c617746e89f543339a4888967793280380a709f75
from typing import Any, DefaultDict, Dict, List, Set, Tuple, TypeVar, \ Union, Optional, Sequence, AbstractSet, Pattern, AnyStr, Callable, Iterable from typing.re import Match from django.db import models from django.db.models.query import QuerySet, F from django.db.models import Manager, CASCADE, Sum from django....
dhcrzf/zulip
zerver/models.py
Python
apache-2.0
110,062
[ "VisIt" ]
0738a7e435e1dc6de46dda1e1c84c23e49f046e0380f43b889c2a8c7862e166d
#!/usr/bin/env python # *- coding: utf-8 -*- # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 textwidth=79: """[License: GNU General Public License v3 (GPLv3)] Dr. Disco: fusion gene detection in random hexamer RNA-seq data Copyright (C) 2017 Youri Hoogstrate This program is free software: you ...
yhoogstrate/dr-disco
drdisco/__init__.py
Python
gpl-3.0
2,338
[ "Bioconda" ]
91fe6530379273faeb12a56a2ddd31ac8c263345ce0d7bc8e31ac341a2ec5d40
# Copyright 2012, SIL International # All rights reserved. # # This library 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 License, or # (at your option) any lat...
silnrsi/graide
lib/graide/run.py
Python
lgpl-2.1
4,996
[ "VisIt" ]
7eb7a55c65e527d5e0b0331b79f90cf17651af8b12799b3253fb974dd8f1c31f