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
# Copyright Iris contributors # # This file is part of Iris and is released under the LGPL license. # See COPYING and COPYING.LESSER in the root of the repository for full # licensing details. """ Provides the infrastructure to support the common metadata API. """ from abc import ABCMeta from collections import name...
SciTools/iris
lib/iris/common/metadata.py
Python
lgpl-3.0
53,855
[ "NetCDF" ]
2227bd6f923758abed38924a4f6e585617f545dfe56cebee873fe4ee973ec75d
""" Solver method for GP-based optimization which uses an inner-loop optimizer to maximize some acquisition function, generally given as a simple function of the posterior sufficient statistics. """ # future imports from __future__ import division from __future__ import absolute_import from __future__ import print_fun...
jhartford/pybo
pybo/bayesopt/bayesopt.py
Python
bsd-2-clause
12,068
[ "Gaussian" ]
defb296e23b27fce1896368e6cd7ed046ea46e7fbb959ffc775aad50653f963b
#!/usr/bin/env python ## # \addtogroup scripts # Simulation scripts and other tools for pre and postprocessing files # # # # \file parun # @{ # \ingroup scripts # \brief A driver for both single and mult-model simulations # # from __future__ import print_function from builtins import zip from builtins import str ...
erdc/proteus
proteus/iproteus.py
Python
mit
20,003
[ "VTK" ]
e665fcecd25f974401348b6337579d70a7841f4b267ef30f559329a4180956bc
# Copyright (C) 2010-2018 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 v...
hmenke/espresso
testsuite/python/ek_common.py
Python
gpl-3.0
2,973
[ "ESPResSo" ]
067cc74fa46a4280f8f180edbb2238704d71e47810c9aaf1d81f0e82996bf830
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
rvs/gpdb
src/test/tinc/tincrepo/mpp/models/sql_tc.py
Python
apache-2.0
56,379
[ "ORCA" ]
37eafae62286d6aac6a98f2527da0b761f99d348ec8931dc6f32dec8377dcaab
import numpy as np import tensorflow as tf import h5py from sklearn.preprocessing import OneHotEncoder import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import time import scipy.io # Functions for initializing neural nets parameters def weight_variable(shape): initial = tf.truncat...
Haunter17/MIR_SU17
exp8/exp8d.py
Python
mit
7,766
[ "NEURON" ]
5d5260b70722524af4b07abde2f14505b92a12d20c195b65ea3407866591904e
class Mage: def __init__(self): self.name = "Merlin" self.health = 50 self.attack = 25 self.defense = 15 self.speed = 10 self.element = "Water" self.spells = [ "Absorb", "Sting of Neptune", "Healing...
munnellg/OfMagesAndMagic
teams/mystic_marvels/merlin.py
Python
mit
3,741
[ "BLAST" ]
6cbcf6c9e8c40c55153af3e854ac4c286b87c77ff0ce940675694bf0a6394593
#!/usr/bin/env python ''' doPost.py python version of postprocessing script for identifying spikes and filtering the output. ''' import warnings import sys import numpy as np import scipy.signal import scipy.io import argparse #from IPython import embed from postprocessing import * from classify_phase import fit_MRF_...
kharris/prebotc-graph-model
postprocessing/doPost.py
Python
bsd-3-clause
14,197
[ "NEURON" ]
127ecf656b5a455a8e87e17edf0243848ed3aadc08031023f0fa198a9feef6bb
#!/usr/bin/env python # import webapp2 import re from google.appengine.ext import db from google.appengine.ext import blobstore from google.appengine.ext.webapp import blobstore_handlers import xml.etree.ElementTree as ET import logging headers = '''<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang=...
scor/schemaorg
headers.py
Python
apache-2.0
4,076
[ "ESPResSo" ]
536c8213a0502954270ff74fea3d01ec98b3b05abc09637fb7e7a7fa9d66696f
#!/usr/bin/env python """ load SampleAttribute into OSDF using info from data file """ import os import re from cutlass.SampleAttribute import SampleAttribute import settings from cutlass_utils import \ load_data, get_parent_node_id, list_tags, format_query, \ write_csv_headers, values_to_node_dict, write_out_cs...
JAX-GM/osdf_submit
nodes/sampleattribute.py
Python
gpl-3.0
4,116
[ "VisIt" ]
01748154f802fe7aae2021efad2fe25d3e2280700a942cdc138f874ec80d55f8
""" ============================================= Integration and ODEs (:mod:`scipy.integrate`) ============================================= .. currentmodule:: scipy.integrate Integrating functions, given function object ============================================ .. autosummary:: :toctree: generated/ quad ...
sargas/scipy
scipy/integrate/__init__.py
Python
bsd-3-clause
1,837
[ "Gaussian" ]
e5437044366b0a367681347f950754b16c751def4a0da1af1cdcad860b449d67
# -*- coding: utf-8 -*- # SyConn - Synaptic connectivity inference toolkit # # Copyright (c) 2016 - now # Max Planck Institute of Neurobiology, Martinsried, Germany # Authors: Philipp Schubert, Joergen Kornfeld import glob import os import pickle as pkl import shutil import networkx as nx import numpy as np import sc...
StructuralNeurobiologyLab/SyConn
syconn/extraction/object_extraction_steps.py
Python
gpl-2.0
36,925
[ "Gaussian" ]
14dba14a1da41d6117458c7128f911f2a34834dfa82da7b4752e584e783db8c5
# Copyright 2015 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...
keras-team/keras
keras/layers/regularization/gaussian_noise.py
Python
apache-2.0
2,794
[ "Gaussian" ]
2bae627fc9c637fb8f369a7b5845eb3a5bba33afcf4b8e3444657e7e64a75763
from __future__ import print_function import httplib2 try: from HTMLParser import HTMLParser except ImportError: from html.parser import HTMLParser import urllib import warnings class SearchResultHTMLParser(HTMLParser): def __init__(self): HTMLParser.__init__(self) self.molids = {} ...
summeraz/mbuild
mbuild/atb_client.py
Python
mit
3,030
[ "Gromacs" ]
7b57ef4eb1f7f9047417601e90ed505c0f4b2c02a58924d29be596c93560ae13
#!/usr/bin/env python # @package nc2cdo # \author Andy Aschwanden, University of Alaska Fairbanks, USA # \brief Script makes netCDF file ready for Climate Data Operators (CDO). # \details Script adds attributes and variables to a netCDF which are required for # post-processing with <a href="http://www.mad.zmaw.de/Ping...
talbrecht/pism_pik
util/nc2cdo.py
Python
gpl-3.0
10,206
[ "NetCDF" ]
f71288ff1e3086a898fa1843d301519260df44f6f1ea4aee7f2908cbb1d815f8
import collections import glob import os import platform import re import subprocess import sys from itertools import chain import coverage import py import pytest import virtualenv import xdist from fields import Namespace from process_tests import TestProcess as _TestProcess from process_tests import dump_on_error f...
schlamar/pytest-cov
tests/test_pytest_cov.py
Python
mit
63,079
[ "VisIt" ]
93ae04b167a474cc0dd5c2f03231e55eb34286ac40967be3a0865c94f5d8ab81
# Copyright (C) 2019-2020 # Max Planck Institute for Polymer Research & JGU Mainz # 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++. # # ...
espressopp/espressopp
src/vectorization/VerletList.py
Python
gpl-3.0
4,637
[ "ESPResSo" ]
2a79074582f06a95068a71d6980a4019a9c7680840e52e03f2e0009507693726
#ImportModules import ShareYourSystem as SYS import operator #Definition MyBrianer=SYS.BrianerClass( ).produce( "Neurongroupers", ['E','I'], SYS.NeurongrouperClass, #Here are defined the brian classic shared arguments for each pop { 'NeurongroupingKwargVariablesDict': { 'model': ''' dv/dt...
Ledoux/ShareYourSystem
Pythonlogy/ShareYourSystem/Specials/Diffusers/Diffuser/01_ExampleDoc.py
Python
mit
2,420
[ "Brian" ]
461a4d7c2511b9d2d8593f6a9715a0e06d41f6d7bb5f45ef9d0c312730d6e44f
#! /bin/python # $Id # ----------------------------------------------------------------------------- # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell # # CppAD is distributed under multiple licenses. This distribution is under # the terms of the # Eclipse Public Licens...
kaskr/CppAD
bin/push_git2svn.py
Python
epl-1.0
10,379
[ "VisIt" ]
df7682d49c8f3470c3d08c273c6c761f575c677d9b9931fea77f14df1c1efc20
import vtk import requests # to support alternative baseURL import os import os.path def add_arguments(parser): parser.add_argument("--tree1", help="URI to serialized vtkTree", dest="tree1URI") parser.add_argument("--tree2", help="URI to serialized vtkTree", dest="tree2URI") parser.add_argument("--table",...
lukejharmon/tangelohub
app/vtk_tanglegram.py
Python
apache-2.0
4,171
[ "VTK" ]
9fca62e44be08183686d1dd74e3a523c85fbff6520206ab495426d3fc4637983
""" X509CRL is a class for managing X509CRL This class is used to manage the revoked certificates.... """ import stat import os import tempfile import re import datetime import M2Crypto from DIRAC import S_OK, S_ERROR from DIRAC.Core.Utilities import DErrno # pylint: disable=broad-except class X509CRL(object): ...
DIRACGrid/DIRAC
src/DIRAC/Core/Security/m2crypto/X509CRL.py
Python
gpl-3.0
3,666
[ "DIRAC" ]
8e117ffe7af2c2b6781237f5f427ea29c757cebdff692d4c803e696ed1b8c111
#!/usr/bin/env python """ Stop a given production """ __RCSID__ = "$Id$" import DIRAC from DIRAC.Core.Base import Script Script.setUsageMessage('\n'.join([__doc__.split('\n')[1], 'Usage:', ' %s prodID' % Script.scriptName, ...
fstagni/DIRAC
ProductionSystem/scripts/dirac-prod-stop.py
Python
gpl-3.0
908
[ "DIRAC" ]
3d329dfb5f69610d7cc51ff530567b53497aad1fe7b71346fbf6b8d975098d56
import numpy as np from scipy import optimize, fftpack, signal from astroML.utils.decorators import deprecated from astroML.utils.exceptions import AstroMLDeprecationWarning # Note: there is a scipy PR to include an improved SG filter within the # scipy.signal submodule. It should replace this when it's finished. #...
astroML/astroML
astroML/filters.py
Python
bsd-2-clause
10,100
[ "Gaussian" ]
a38cd9fb4d2d5a7c656f1784e523816c47063b5e9d42c5a65f1458c69f1c196f
# Copyright 2015 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 applicable law or a...
wchan/tensorflow
tensorflow/python/ops/gradients.py
Python
apache-2.0
28,294
[ "VisIt" ]
7d59a2d0c64ba134abf85a340aef0df4c121e6c43e83da68b57f2f5bfa9e3305
# -*- coding: utf-8 -*- r""" This example is a complete study of a crystal analyzer. The generator ``plot_generator()`` is rather complex and therefore needs some explanation. The inner loop changes the source type. After a flat-energy source has been ray-traced (after ``yield``), the widths of *z* and energy distribu...
kklmn/xrt
examples/withRaycing/06_AnalyzerBent1D/01B_SourceZCrystalThetaAlpha.py
Python
mit
21,475
[ "CRYSTAL" ]
200748f28075d25b1259bbb840aff5ff2fe06abd459554b7372db9215f850398
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import numpy as np import collections from numbers import Number import numbers from functools import partial import scipy.constants as const """ This module implements a FloatWithUnit, which is a subclass o...
dongsenfo/pymatgen
pymatgen/core/units.py
Python
mit
27,870
[ "pymatgen" ]
47cb23e954232acc53da3424a610e0e3c2535d8b26d125e81ef444c4ba8c1283
# $Id$ # # Copyright (C) 2004-2008 Greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # from rdkit import Geome...
jandom/rdkit
rdkit/Chem/Pharm3D/Pharmacophore.py
Python
bsd-3-clause
6,085
[ "RDKit" ]
7460635b9dbab8db687aca6b92a74efe3478a0e8515271842a96ff5f2931f809
import urllib,urllib2,re,cookielib,string, urlparse,sys,os import xbmc, xbmcgui, xbmcaddon, xbmcplugin,urlresolver from t0mm0.common.net import Net as net from t0mm0.common.addon import Addon from resources.libs import main from decimal import Decimal import time #Mash Up - by Mash2k3 2012. from t0mm0.common.addon im...
noba3/KoTos
addons/plugin.video.movie25/resources/libs/plugins/sominaltvfilms.py
Python
gpl-2.0
15,940
[ "ADF" ]
05f9ddbf7b0d1b2c2c0b6c30233a0581f98f4f6a86cc488db61823f7dbeb5a16
#!/usr/bin/env python # -*- coding: utf-8 -*- """Copyright (C) 2012 Computational Neuroscience Group, NMBU. 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 you...
espenhgn/LFPy
LFPy/test/test_eegmegcalc.py
Python
gpl-3.0
33,112
[ "NEURON" ]
21b538db5f16d87665c4cf4ccef4d61338e2fdbb09e403821493aab550e256c0
from __future__ import print_function, division, unicode_literals import os import yaml from pymatgen.io.vasp.inputs import Kpoints, Incar from pymatgen.io.vasp.outputs import Vasprun import twod_materials.utils as utl from pymatgen.matproj.rest import MPRester from monty.serialization import loadfn import twod_ma...
ashtonmv/twod_materials
twod_materials/pourbaix/startup.py
Python
gpl-3.0
9,663
[ "VASP", "pymatgen" ]
06a960c82237454d587c8b3573c3747efaf7787fd0174ea3a76394c441ae4a98
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2018, Chris Houseknecht <@chouseknecht> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
rosmo/ansible
lib/ansible/modules/clustering/k8s/k8s.py
Python
gpl-3.0
8,781
[ "Galaxy" ]
cf085dbf96e5683c41744755a8d9fbc0678467d867be9fed7551d1a84f20843b
try: paraview.simple except: from paraview.simple import * import numpy as np from mpi4py import MPI import os import csv from scipy import interpolate import gc import sys gc.enable() comm = MPI.COMM_WORLD label = 'm_25_3b' labelo = 'm_25_3b' basename = 'mli' ## READ archive (too many points... somehow) # args: n...
jungla/ICOM-fluidity-toolbox
2D/RST/extract_Scalar.py
Python
gpl-2.0
3,291
[ "ParaView" ]
622c0936e77edd2a446a84c19cfe26df792a78fa7bf04c467312dd45841c8a88
""" Plotting Service generates graphs according to the client specifications and data """ __RCSID__ = "$Id$" import os import hashlib from DIRAC import S_OK, S_ERROR, rootPath, gConfig, gLogger from DIRAC.FrameworkSystem.Client.MonitoringClient import gMonitor from DIRAC.ConfigurationSystem.Client import PathFin...
fstagni/DIRAC
FrameworkSystem/Service/PlottingHandler.py
Python
gpl-3.0
2,384
[ "DIRAC" ]
ff23f1b88082c71df435c76635670b03862f013044f0b74040353b882a2e6ba4
#!/usr/bin/env python """ Network of always spiking neurons (in each timestep). No synaptic connections between neurons exist. """ import matplotlib matplotlib.use('Agg') from brian2 import * import brian2cuda plotit = False monitor = True duration = 1*ms N = 10000 # number of neurons mode = 'cuda' #mode = 'cpp' Br...
brian-team/brian2cuda
dev/issues/issue9_spikespace/shared_atomicAdds_CC35/always_spiking_neurons.py
Python
gpl-2.0
800
[ "NEURON" ]
cc9f3ed282015b6e4400553c98604d12fa16ef5492d861c9a5b1416480125cb9
# Orca # # Copyright 2010-2011 Consorcio Fernando de los Rios. # Author: Juanje Ojeda Croissier <jojeda@emergya.es> # Author: Javier Hernandez Antunez <jhernandez@emergya.es> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as publi...
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/pyshared/orca/backends/json_backend.py
Python
gpl-3.0
6,355
[ "ORCA" ]
c494e99821740582c7dae9281d4b5fb8d1332b0351cbf3ca765d25075413c084
# (c) 2014 Michael DeHaan, <michael@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 Foundation, either version 3 of the License, or # (at your option) any later ve...
wulczer/ansible
v2/ansible/playbook/role/metadata.py
Python
gpl-3.0
2,487
[ "Galaxy" ]
56beb91ddd03e1bb80ecfc8e51fa3ddd755079ed72d5d91529a552e7b4e39fd8
#!/usr/bin/env python import os try: __IPYTHON__ import sys del sys.argv[1:] except: pass import srwl_bl import srwlib import srwlpy import srwl_uti_smp def set_optics(v=None): el = [] pp = [] names = ['Lens', 'Lens_CRL', 'CRL', 'CRL_Zone_Plate', 'Zone_Plate', 'Zone_Plate_Fiber', 'Fiber'...
mrakitin/sirepo
tests/template/srw_generate_data/srw-all-optics.py
Python
apache-2.0
62,098
[ "CRYSTAL", "Gaussian" ]
92f40e79605809d1b96519ab8c595df3c46663e9b0ef4ba7028e43c13c50e53a
# -*- coding: utf-8 -*- # EditXT # Copyright 2007-2013 Daniel Miller <millerdev@gmail.com> # # This file is part of EditXT, a programmer's text editor for Mac OS X, # which can be found at http://editxt.org/. # # EditXT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Publ...
editxt/editxt
editxt/test/test_textcommand.py
Python
gpl-3.0
33,334
[ "Amber" ]
1ef176393bb252e244db20d3288fe2e365fe5bd894a8d7c655eaa795e6f1256e
# Copyright (c) 2018, Henrique Miranda # All rights reserved. # # This file is part of the yambopy project # import os import numpy as np from itertools import product from netCDF4 import Dataset from yambopy.plot.plotting import add_fig_kwargs from yambopy.plot import * from yambopy.tools.string import marquee from ya...
alexmoratalla/yambopy
yambopy/dbs/savedb.py
Python
bsd-3-clause
17,431
[ "DIRAC", "Yambo" ]
050ce7103747596392c780b61dd00d941f93e154347b0167ba96f123707d3c07
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Python motu client # # Motu, a high efficient, robust and Standard compliant Web Server for # Geographic Data Dissemination. # # http://cls-motu.sourceforge.net/ # # (C) Copyright 2009-2010, by CLS (Collecte Localisation Satellites) - # http://www.cls.fr - and Contr...
quiet-oceans/motuclient-setuptools
scripts/motu-client.py
Python
lgpl-3.0
12,901
[ "NetCDF" ]
32cc91796edb8e1f9cccac7f6a7c2e58c2d96e01a615ba59d3c24d35e2966007
import numpy as np from cs231n.layers import * from cs231n.layer_utils import * class TwoLayerNet(object): """ A two-layer fully-connected neural network with ReLU nonlinearity and softmax loss that uses a modular layer design. We assume an input dimension of D, a hidden dimension of H, and perform classific...
asydorchuk/ml
classes/cs231n/assignment2/cs231n/classifiers/fc_net.py
Python
mit
15,303
[ "Gaussian" ]
aa9957868a2c303eb4d5e0668fdb165f64ff6c9d90548984b61cdbe23014ebdc
# Abstract data type that stores the contraints. Contains alls # methods for accessing these constraints. import random as rdm import operator class lADT: def __init__(self): self.limit = [] # Adds the given limit and validity pair def add(self, limit, valid = [0,float('infinity')]): self.limit += [[valid,li...
scottbarton/MPR-lab
Student Composition Projects/CSP_Composer_V2/constraintsADT.py
Python
gpl-3.0
7,626
[ "Gaussian" ]
fdd35a46a390cdd6037eb1ea89037f00ca9779ef23614bb8adb66b5adeed12a2
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, print_function, unicode_literals from __future__ import absolute_import from pymatgen.analysis.elasticity.tensors import Tensor, \ TensorCollection, get_uvec from pymatgen....
gpetretto/pymatgen
pymatgen/analysis/elasticity/elastic.py
Python
mit
39,130
[ "VASP", "pymatgen" ]
aee547cbfd1e284ddc845bd46888d3aa0435d333cc5a01851e528826c5f17113
"""Gaussian processes regression.""" # Authors: Jan Hendrik Metzen <jhm@informatik.uni-bremen.de> # Modified by: Pete Green <p.l.green@liverpool.ac.uk> # License: BSD 3 clause import warnings from operator import itemgetter import numpy as np from scipy.linalg import cholesky, cho_solve, solve_triangular import scip...
ndingwall/scikit-learn
sklearn/gaussian_process/_gpr.py
Python
bsd-3-clause
22,453
[ "Gaussian" ]
f1e7661b0fc1ba84b03f60eb4680051c7ae8a179c5d1735241a7acf0517fea84
# -*- coding: utf-8 -*- import copy import json import mock import os from django.conf import settings from django.core import mail import pytest from waffle.testutils import override_switch from olympia import amo from olympia.access.models import Group, GroupUser from olympia.amo.templatetags.jinja_helpers import ...
tsl143/addons-server
src/olympia/activity/tests/test_utils.py
Python
bsd-3-clause
24,183
[ "VisIt" ]
99028988719532c9a33169d56159275400ac64d1e9c9de548850096fde862ac2
# coding=utf-8 """RADIANCE rcontrib command.""" from _commandbase import RadianceCommand from ..datatype import RadiancePath from ..parameters.rcontrib import RcontribParameters import os class Rcontrib(RadianceCommand): u""" rcontrib - Compute contribution coefficients in a RADIANCE scene. Read more at...
antonszilasi/honeybeex
honeybeex/honeybee/radiance/command/rcontrib.py
Python
gpl-3.0
3,764
[ "EPW" ]
eeb68ee41fca2cb7ccc0a9d96e6880b98db840ae96c883b2ad22857d59a60ea2
import logging import re import os import signal from avocado.utils import path from avocado.utils import process from avocado.utils import linux_modules from .compat_52lts import results_stdout_52lts from .versionable_class import VersionableClass, Manager, factory from . import utils_misc # Register to class mana...
balamuruhans/avocado-vt
virttest/openvswitch.py
Python
gpl-2.0
18,462
[ "ASE" ]
8e6a2b01bb0f430984b9951c8f44703d5d0b65ded45be34973ad1e902f46952f
#coding:utf-8 # Author: mozman # Purpose: svg container classes # Created: 15.09.2010 # Copyright (C) 2010, Manfred Moitzi # License: GPLv3 """ The **container** module provides following structural objects: * :class:`svgwrite.Group` * :class:`svgwrite.SVG` * :class:`svgwrite.Defs` * :class:`svgwrite.Symb...
hirobert/svgwrite
svgwrite/container.py
Python
gpl-3.0
8,993
[ "VisIt" ]
6f5e3a52d24e57dc56a68b93c1b375f063ab1afaa46b9016032be7dc36c9a298
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView from django.views import defaults as default_views from re...
ojousima/asylum
project/config/urls.py
Python
mit
2,491
[ "VisIt" ]
46b8057c612ec378c5fd75d2aa056743ea320be17040b64dcccd3c60dca86acc
# -*- coding: utf-8 -*- # (c) 2015, Brian Coca <briancoca+dev@gmail.com> # (c) 2018, Matt Martz <matt@sivel.net> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__...
ansible/ansible
lib/ansible/plugins/action/uri.py
Python
gpl-3.0
4,094
[ "Brian" ]
1c5429dd8b94cece5493b5038535f31d9aa3fbd4c8c49fb0ed5435907778aa19
# Copyright 2013-2020 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) import os import os.path import copy import spack.util.environment class Cp2k(MakefilePackage, CudaPackage): """CP2...
iulian787/spack
var/spack/repos/builtin/packages/cp2k/package.py
Python
lgpl-2.1
23,223
[ "CP2K", "CRYSTAL", "Wannier90" ]
3d6fc853d10e9da9207e90bb1801ee3fc11512bd58085cfa74eb473f0d24cef6
#!/usr/bin/python # # This source file is part of appleseed. # Visit https://appleseedhq.net/ for additional information and resources. # # This software is released under the MIT license. # # Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization # # Permission is hereby granted, free of charge, to any...
luisbarrancos/appleseed
scripts/runtestsuite/runtestsuite.py
Python
mit
26,516
[ "VisIt" ]
e5c8713cdea0ececba369d391f2c7b6db6adb933c696bba5f747017cf22689b7
#!/usr/bin/env python import os import sys sys.path.append(os.getcwd()) import abinitio_driver as driver from abinitio_driver import AUtoEV import scipy.optimize as opt from scipy.interpolate import interp1d try: import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt except: pass # This i...
PHOTOX/photoxrepo
MISC/opt_omega_ip.py
Python
mit
8,797
[ "TeraChem" ]
59033a63f6eff0e4f11bf94e9de991a08fdfc83993986f8b6d24078e225760d2
__author__ = 'Chaya D. Stern' from pymol import stored, cmd import os import errno def torsion_drive(atom1, atom2, atom3, atom4, interval, selection, path, mol_name,): """ This function generates input pdbs of dihedral angles selected of intervals specified with interval :param atom1: name of atom 1 of d...
choderalab/Torsions
torsionfit/qmscan/generate_dihedral.py
Python
gpl-2.0
1,411
[ "PyMOL" ]
53367589e2badfe81752804212a042ed4dd449e5b6e856584af865781fb422e1
## # Copyright 2009-2017 Ghent University # Copyright 2015-2017 Stanford 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...
ULHPC/easybuild-easyblocks
easybuild/easyblocks/a/amber.py
Python
gpl-2.0
8,904
[ "Amber", "NetCDF" ]
93b3f4799edc3d6dc8ed4d63734d07ada5803552d6dadafc583f9d0c40fe9745
# Copyright 2018 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 applicab...
tombstone/models
research/deep_contextual_bandits/bandits/algorithms/parameter_noise_sampling.py
Python
apache-2.0
6,687
[ "Gaussian" ]
38545d92e4d5cc7906829d8b896b0071cfe150ff07e9ae0ee892d80c0a4c912a
#!/usr/bin/env python # vim: set fileencoding=utf-8 : # @author: Elie Khoury <Elie.Khoury@idiap.ch> # Sat Aug 31 16:39:23 CEST 2013 # # Copyright (C) 2012-2013 Idiap Research Institute, Martigny, Switzerland # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General...
antoniorohit/xbob.spkrec
setup.py
Python
gpl-3.0
2,972
[ "Gaussian" ]
4121f56be47cc113e5e2ca70945239551af82a63f2b93cc6f157ecf00851bcda
from __future__ import print_function, division from sympy.core.basic import C from sympy.core.singleton import S from sympy.core.function import Function from sympy.core import Add from sympy.core.evalf import get_integer_part, PrecisionExhausted ######################################################################...
ojengwa/sympy
sympy/functions/elementary/integers.py
Python
bsd-3-clause
5,096
[ "VisIt" ]
a2f0901c71b9c3febbef1c1fa82c40f2caf3e2b0404b6de65ff83e21b678e785
#!/usr/bin/env python from sys import argv, exit from getopt import getopt, GetoptError from numpy import squeeze try: from netCDF4 import Dataset as NC except: from netCDF3 import Dataset as NC usage=""" THKMASK.PY Uses ice thickness 'thk' in one NetCDF file to mask-out ice-free areas in identified variable...
JohannesFeldmann/pism
examples/old/pddtune/thkmask.py
Python
gpl-2.0
2,556
[ "NetCDF" ]
6c8776d67a95af05373397ecc3a0bb7d9e1a30bf77b377f866a3211840815d7f
# Copyright 2012-2013 Dusty Phillips # This file is part of gitifyhg. # gitifyhg 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. # # ...
buchuki/gitifyhg
gitifyhg/gitexporter.py
Python
gpl-3.0
11,481
[ "Octopus" ]
a13ace3c41ac9ff6e5609989413e4598c85e7729f5e8585c20032bfe0126acd6
#!/usr/bin/env python """ Fun with the Schrodinger equation! A solution to the 2D Schrodinger equation is evolved in time given some initial condition and a potential function. The hamiltonian used is that of the quantum particle with dissipation, H = alph*del^2 + V(r,t) + j*hbar*B(r,t). The wave function solution F ...
jnez71/demos
physics/quantum/schrodinger2d.py
Python
mit
3,998
[ "Gaussian" ]
21ddc8992391b92cf0cd9af5e7e7eda8f8c08d4eb8b01ca30592394501928287
#!/usr/bin/env python ''' @name: fitModel.py @author: Juan C. Castro <jccastrog at gatech dot edu> & William T. Harvey <wharvey31@gatech.edu> @update: 13-Ago-2018 @version: 1.1.2 @license: GNU General Public License v3.0. please type "./fitModel.py -h" for usage help ''' '''1.0 Import modules, define functions, and in...
jccastrog/imGLAD
fitModel.py
Python
gpl-3.0
18,961
[ "BLAST", "Biopython" ]
63aa30dab2d575253d492b8c0e0bded428ec7f55f503dfd38b2df4daca34f3a6
from build.management.commands.base_build import Command as BaseBuild from build.management.commands.build_homology_models_zip import Command as UploadModel from django.db.models import Q from django.conf import settings from protein.models import Protein, ProteinConformation, ProteinAnomaly, ProteinState, ProteinSegm...
protwis/protwis
build/management/commands/build_homology_models.py
Python
apache-2.0
272,925
[ "CRYSTAL", "Gaussian" ]
159f8e63920f94b56df7daba812cda1dd6107e0fd40856af8480969bbd2f23ec
# Scheduling and web server and all sorts of fancy things! from configparser import ConfigParser import web.serv import schedule import time import six import main import handlers import os import threading import eink import pluginloader global headlightsjob global configfile def start(): global headlightsjob ...
mashedkeyboard/Headlights
headlights.py
Python
gpl-3.0
3,622
[ "VisIt" ]
92a389bdae80631d6a5a2b9872670639f83e92155564a0b0a8f146af8aec79ce
#/usr/bin/env python from __future__ import print_function import vtk import math from icqsol.shapes.icqShapeManager import ShapeManager from icqsol import util # Create structured grid and save grid in VTK file nLon, nLat = 16, 8 nLon1, nLat1 = nLon + 1, nLat + 1 structuredGrid = vtk.vtkStructuredGrid() points = vtk...
gregvonkuster/icqsol
tests/testStructuredGridRead.py
Python
mit
1,194
[ "VTK" ]
003570e133ae5358fa0dc46572dca9a1266069ae2e52d4b95ffa04407096c199
# pylint: disable=C0111 # pylint: disable=W0621 from lettuce import world, step from lettuce.django import django_url @step('I visit the courseware URL$') def i_visit_the_course_info_url(step): url = django_url('/courses/MITx/6.002x/2012_Fall/courseware') world.browser.visit(url)
jruiperezv/ANALYSE
lms/djangoapps/courseware/features/courseware.py
Python
agpl-3.0
292
[ "VisIt" ]
86a16d532de4b1715beb5985688607b041b366a8c88dd3f6259e60d5b536dd64
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import os import unittest import numpy as np try: import openbabel as ob from pymatgen.analysis.molecule_matcher import ( InchiMolAtomMapper, IsomorphismMolAtomMapper, MoleculeMatcher, ) ...
materialsproject/pymatgen
pymatgen/analysis/tests/test_molecule_matcher.py
Python
mit
31,440
[ "pymatgen" ]
e150ac6c1393fdb4c97496fff746215a54619e92fe3106be67faf8a5525b0361
# Copyright 2008-2015 Nokia Solutions and Networks # # 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 l...
caio2k/RIDE
src/robotide/lib/robot/model/statistics.py
Python
apache-2.0
2,605
[ "VisIt" ]
9fc65292e0ae46a5db3aa26a72b11118aa69ea65c8088e1eece2dd9ad305bc44
import orca.scripts.default as default import orca.orca_state as orca_state from .script_utilities import Utilities class Script(default.Script): def __init__(self, app): """Creates a new script for the given application. Arguments: - app: the application to create a script for. ...
ruibarreira/linuxtrail
usr/lib/python3/dist-packages/orca/scripts/apps/Banshee/script.py
Python
gpl-3.0
1,077
[ "ORCA" ]
ff02e28eee6b09ee461e12fb041e57dc3f496528dda089e4bc25776f2224b6a6
""" path_engine.py contains logic for matching up GTFS paths to VISTA paths and the writing and reading of them. @author: Kenneth Perrine @contact: kperrine@utexas.edu @organization: Network Modeling Center, Center for Transportation Research, Cockrell School of Engineering, The University of Texas at Austin @...
ut-ctr-nmc/nmc-map-matcher
nmc_mm_lib/path_engine.py
Python
gpl-3.0
39,409
[ "VisIt" ]
f80de6728e5f795a2d649551456defb0af6b9030e9632c12f41499d1786284e2
# -*- coding: utf-8 -*- # vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 ############################################################################### # OpenLP - Open Source Lyrics Projection # # ------------------------------------------------------...
marmyshev/item_title
openlp/plugins/media/lib/mediaitem.py
Python
gpl-2.0
15,454
[ "Brian" ]
a413f17a5be020c093aea0e629f33bb6c1f0c2e1b819289f062f152f121339f0
# Copyright 2019 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. """XCode test log parser.""" import json import logging import os import plistlib import re import shutil import subprocess import sys import file_util fro...
ric2b/Vivaldi-browser
chromium/ios/build/bots/scripts/xcode_log_parser.py
Python
bsd-3-clause
27,189
[ "ASE" ]
a214b3642b88f7849d2fab5476c5b92a8d8a16d822da6d2bc881c0dc8353a303
# -*- coding: utf-8 -*- from __future__ import division from __future__ import print_function from __future__ import unicode_literals import numpy as np import abel import matplotlib.pylab as plt # This example demonstrates ``linbasex`` inverse Abel transform # of a velocity-map image of photoelectrons from O2- phot...
rth/PyAbel
examples/example_linbasex.py
Python
mit
3,213
[ "Gaussian" ]
c58ed5569cc524fd399c1eb533afc40e8c4fbd36a27d8f4a9e7d44e74bf1de6b
#!/usr/bin/env python """ Create a new DB on the local MySQL server """ # Script initialization and parseCommandLine from DIRAC.Core.Base import Script Script.setUsageMessage( '\n'.join( [ __doc__.split( '\n' )[1], 'Usage:', ' %s [option|cfgFile...
andresailer/DIRAC
Core/scripts/dirac-install-db.py
Python
gpl-3.0
1,428
[ "DIRAC" ]
fe603b1792318b856d8b261c794d214589665a20cd570d2a0089971e51efebd3
#=============================================================================== # LICENSE XOT-Framework - CC BY-NC-ND #=============================================================================== # This work is licenced under the Creative Commons # Attribution-Non-Commercial-No Derivative Works 3.0 Unported Lic...
SMALLplayer/smallplayer-image-creator
storage/.xbmc/addons/net.rieter.xot.smallplayer/resources/libs/logger.py
Python
gpl-2.0
24,719
[ "VisIt" ]
1eb7f5a817a10bcb36840c1ce00efdf41895d84789a17e0ad0ef39daf99acafd
#!/usr/bin/env python import argparse import eutils if __name__ == '__main__': parser = argparse.ArgumentParser(description='ECitMatch', epilog='') parser.add_argument('--file', type=argparse.FileType('r'), help='Tabular file containing citations to search') parser.add_argument('--key', nargs='*', help...
galaxyproject/tools-iuc
tools/ncbi_entrez_eutils/ecitmatch.py
Python
mit
2,352
[ "Biopython" ]
c72f273b348627b6ffedfac8a01dbda1aaf694ede0689680d2e7a264a82cac4f
#!/usr/bin/env python # CreateInstanceFabric.py # # This class was intended to demonstrate an exercise using the Python AWS SDK # (boto), however it will probably be extended to do much more over time, # especially as I continue to test additional infrastructure. # # This class (CreateInstance) has some wrapper funct...
briantyr/auto-deploy
CreateInstanceFabric.py
Python
mit
12,262
[ "Brian" ]
9f014d824b100322e7ceafcf2918de384d430c2002ea1977170dfdd845808858
# Python example script that uses the Matlab Engine filter to compute the # degree centraility for an input graph and display the result. # VTK must be built with VTK_USE_MATLAB_MEX turned on for this example to work! from vtk import * if __name__ == "__main__": # Generate a random graph with 20 vertices and...
b3c/VTK-5.8
Examples/Infovis/Python/Matlab_engine_filter.py
Python
bsd-3-clause
2,132
[ "VTK" ]
75a2ae5982dbd9a3fc477a741049a067e13ef383ad1f723bf86030ea47ae0267
# Version: 0.18 """The Versioneer - like a rocketeer, but for versions. The Versioneer ============== * like a rocketeer, but for versions! * https://github.com/warner/python-versioneer * Brian Warner * License: Public Domain * Compatible With: python2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, and pypy * [![Latest Version][py...
intelligent-agent/redeem
versioneer.py
Python
gpl-3.0
70,396
[ "Brian" ]
0e056d0986edc2cdca243d0a790d6cbad4ab4cc0aae39b71be2ad91ae9084fd2
""" Typeclasses for the in-game Python system. To use thm, one should inherit from these classes (EventObject, EventRoom, EventCharacter and EventExit). """ from evennia import DefaultCharacter, DefaultExit, DefaultObject, DefaultRoom from evennia import ScriptDB from evennia.utils.utils import delay, inherits_from,...
feend78/evennia
evennia/contrib/ingame_python/typeclasses.py
Python
bsd-3-clause
34,071
[ "VisIt" ]
88398fafc7d4b250afebf50d656e141e59e1c9c1f5c3ba8217b33ddf3a78678c
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'AboutSensei.ui' # # Created by: PyQt5 UI code generator 5.7.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_AboutWindow(object): def setupUi(self, AboutWindow): Ab...
JustinShenk/sensei
aboutGUI.py
Python
mit
3,717
[ "VisIt" ]
ad9f2486931635688d496a57f90fa5a72bc9356030df288505be580603c19f91
### clustering.py #Copyright 2005-2008 J. David Gladstone Institutes, San Francisco California #Author Nathan Salomonis - nsalomonis@gmail.com #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 ...
kdaily/altanalyze
clustering.py
Python
apache-2.0
186,834
[ "Bioconductor" ]
ad943d902481335673efa643eece74b9d61e9975bd0cd3857c8aba5c3d7e19a0
from __future__ import absolute_import # coding=utf-8 from flask.views import MethodView from flask.blueprints import Blueprint from flask_mako import render_template from firefly.models.topic import Category, Post bp = Blueprint("category", __name__, url_prefix="/category") class CategoryView(MethodView): de...
mozillazg/firefly
firefly/views/category.py
Python
mit
734
[ "Firefly" ]
3e971eaf23490148a7284189988fab0131b676d6c8feefd291f74a3b3d0256b6
# -*- coding: utf-8 -*- # # Copyright (c) 2017, the cclib development team # # This file is part of cclib (http://cclib.github.io) and is distributed under # the terms of the BSD 3-Clause License. from __future__ import print_function import sys class TextProgress: def __init__(self): self.nstep = 0 ...
gaursagar/cclib
src/cclib/progress/textprogress.py
Python
bsd-3-clause
1,345
[ "cclib" ]
108c2c0df11c95c5e8442ddf58c0b0540419dae08f4b5ca089c4e0bebbe0d289
# -*- coding: utf-8 -*- # # Copyright 2008 - 2013 Brian R. D'Urso # # This file is part of Python Instrument Control System, also known as Pythics. # # Pythics 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...
LunarLanding/Pythics
pythics/__init__.py
Python
gpl-3.0
802
[ "Brian" ]
c708e567ae98ca6877e404fcf5ca43e2f1fa390f716b63d5852e50f16690f2c3
import os import stat import tmd.pwscf.config from tmd.queue.queue_util import global_config, _base_dir def write_queuefile(config): machine = config["machine"] gconf = global_config() if machine == "__local__": if gconf['allow_local']: _write_queuefile_local(config) else: ...
tflovorn/tmd
tmd/queue/queuefile.py
Python
mit
9,060
[ "Wannier90" ]
555d7b668b7fdcf9ee37b0f8a3b162cf7a6b10be336828d097742825d7d09b18
# import defusedxml before anything else import defusedxml import defusedxml.xmlrpc defusedxml.xmlrpc.monkey_patch() # system imports import sys, os, urllib, cStringIO, traceback, cgi, binascii, gzip import time, random, smtplib, base64, email, types, urlparse import re, zipfile, logging, shutil, Cookie, subprocess, h...
pydotorg/pypi
webui.py
Python
bsd-3-clause
151,562
[ "VisIt" ]
f7472f0ebd9721992c557b82e5ce7533f02665cb20b97da0d43b0404e1ccc873
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
xuegang/gpdb
src/test/tinc/tincrepo/mpp/gpdb/lib/models/sql/template/test/test_sql_template_test_case.py
Python
apache-2.0
3,325
[ "ORCA" ]
750ef8cd0db6c83747de0e9bbd194c468b1a2c09c51593d59da1580ca7ebdb8e
#!/usr/bin/env python # File created on 17 Apr 2013 from __future__ import division __author__ = "Will Van Treuren" __copyright__ = "Copyright 2013, The QIIME project" __credits__ = ["Will Van Treuren, Julia Goodrich, Luke Ursell"] __license__ = "GPL" __version__ = "1.8.0-dev" __maintainer__ = "Will Van Treuren" __ema...
wasade/qiime
scripts/make_bipartite_network.py
Python
gpl-2.0
12,789
[ "Cytoscape" ]
c1831371d012685584fa99aaa0a0c3e86550e85f1205d77065fd1f798dd55add
#-*- encoding=utf-8 -*- ''' Created on Jan 18, 2013 @author: brian ''' import openid from openid.fetchers import HTTPFetcher, HTTPResponse from urlparse import parse_qs, urlparse from django.conf import settings from django.test import TestCase, LiveServerTestCase from django.core.cache import cache from django.test....
ahmedaljazzar/edx-platform
openedx/core/djangoapps/external_auth/tests/test_openid_provider.py
Python
agpl-3.0
21,149
[ "Brian" ]
c18dbd0ffdaae219382b5b56f7e7181b1c333dafc4d5c54b02bfc1acea0f4a8d
# # Trees.py # # Copyright 2005 by Frank Kauff & Cymon J. Cox. 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. # # Tree class handles phylogenetic trees. Provides a set of method...
dbmi-pitt/DIKB-Micropublication
scripts/mp-scripts/Bio/Nexus/Trees.py
Python
apache-2.0
30,175
[ "Biopython" ]
e04eec7602882ddbf2c11e2a0b1d3a5e6ddf98adac9fc11dfee607f4ec0ac680
from __future__ import print_function __author__ = """Alex "O." Holcombe, Charles Ludowici, """ ## double-quotes will be silently removed, single quotes will be left, eg, O'Connor import time, sys, platform, os from math import atan, atan2, pi, cos, sin, sqrt, ceil, radians, degrees import numpy as np import psychopy, ...
alexholcombe/dot-jump
dataRaw/Fixed Cue/test_dot-jump25Oct2016_10-46.py
Python
gpl-3.0
25,087
[ "Gaussian" ]
4bb005f51179045d1c73d5ee25fc75be9e6cddcdc32117c8198528d95bbc7bd2
# -*- coding: utf-8 -*- """ OficinaActivity.py Create Oficina Activity Copyright 2007, NATE-LSI-EPUSP Oficina is developed in Brazil at Escola Politécnica of Universidade de São Paulo. NATE is part of LSI (Integrable Systems Laboratory) and stands for Learning, Work and Entertainment Research Group. Visit our web ...
alexandremartinazzo/oficina
OficinaActivity.py
Python
gpl-2.0
4,464
[ "VisIt" ]
fca982fdb859923c38070cb55e3a402bc263234d4a5cb63a9d26cc4f05c712be
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- #################################################################################### ### Copyright (C) 2015-2019 by ABLIFE #################################################################################### ########################################################...
ablifedev/ABLIRC
ABLIRC/bin/public/iv_cluster/cage_cluster.py
Python
mit
10,542
[ "HTSeq" ]
d1c4a2b99fb4181ec0c1809099a46074fcb91785d3bfaccd238038f3345123d5
import random from pokemon_type import Type class MoveBase(): STATUS = 0 PHYSICAL = 1 SPECIAL = 2 class Move(): def __init__(self, name, hex, type, base, power, accuracy, effects): self.name = name self.hex = hex self.type = type self.base = base self.power =...
V-FEXrt/Pokemon-Spoof-Plus
Pokemon/pokemon_move.py
Python
mit
14,851
[ "BLAST" ]
fa4b93e0dbf391027c14b9c85cb01a177434cf9ce78c6fd528340f09a63a1c9a
# -*- coding: utf-8 -*- ## Copyright (c) 2015-2020, Exa Analytics Development Team ## Distributed under the terms of the Apache License 2.0 """ Tests for :mod:`~exatomic.nwchem.output` ############################################# """ #import numpy as np #import pandas as pd from unittest import TestCase from exatomic....
exa-analytics/atomic
exatomic/nwchem/tests/test_output.py
Python
apache-2.0
2,589
[ "NWChem" ]
4f90efae0bc1a7804b53797c7ff8066de26db2d7a04556836f055c3b6e93095d
#!/usr/bin/env python # # Restriction Analysis Libraries. # 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. # r"""Print the results of restriction enzyme...
zjuchenyuan/BioWeb
Lib/Bio/Restriction/PrintFormat.py
Python
mit
14,066
[ "Biopython" ]
59c5c79025cbd5e1d59e9ce4b9c0642ef0958992f45338b92254db9e720d55e2
# -*- 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
stoqlib/gui/test/test_productstockeditor.py
Python
gpl-2.0
1,245
[ "VisIt" ]
6a5c3deffa0908128f443a576952c8473a823b74c091b07daa6a14a87896ea7b
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe import json import frappe.utils from frappe.utils import cstr, flt, getdate, comma_and, cint from frappe import _ from frappe.model.mapper...
meisterkleister/erpnext
erpnext/selling/doctype/sales_order/sales_order.py
Python
agpl-3.0
16,669
[ "VisIt" ]
15ba41f305d89abc0125f5637e04e944b23408f2f5497002ee04466edfd6ccba
## # Copyright (C) 2012 Jasper Snoek, Hugo Larochelle and Ryan P. Adams # # This code is written for research and educational purposes only to # supplement the paper entitled # "Practical Bayesian Optimization of Machine Learning Algorithms" # by Snoek, Larochelle and Adams # Advances in Neural Information Processing S...
recursix/spearmint-salad
spearmint_salad/spearmint/chooser/GPEIChooser.py
Python
bsd-3-clause
13,384
[ "Gaussian" ]
80459973d622040c0c4b83c8e09c6524d996d1b337e494e5752b493bd5e132da