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
../../../../../../../share/pyshared/orca/scripts/toolkits/J2SE-access-bridge/speech_generator.py
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/python2.7/dist-packages/orca/scripts/toolkits/J2SE-access-bridge/speech_generator.py
Python
gpl-3.0
96
[ "ORCA" ]
3fc2e20760c9f84a6b0e7f714e1a463222b609fc1d24c2fc50fc543fbbf42e57
#*********************************************************************** # This code is part of CmplServer # # Copyright (C) 2013, 2014 # Mike Steglich - Technical University of Applied Sciences # Wildau, Germany # # CmplServer is a project of the Technical University of # Applied Sciences Wildau and t...
Mangara/ArboralExplorer
lib/Cmpl/cmplServer/cmplServer/CmplServer.py
Python
apache-2.0
36,323
[ "VisIt" ]
b30375ea98f4af531525f55f43ab85d17e41e0c25e8bbeb6a946114667830d3f
# coding: utf-8 from __future__ import unicode_literals import base64 import binascii import collections import ctypes import email import getpass import io import itertools import optparse import os import platform import re import shlex import shutil import socket import struct import subprocess import sys import xm...
steebchen/youtube-dl
youtube_dl/compat.py
Python
unlicense
92,342
[ "Bowtie" ]
55b12d2fb8bd9859a453b3b21401e44a10d1afb38700708a306c5e9dd561b67a
#!/usr/bin/env python # Copyright 2014-2020 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 # # U...
sunqm/pyscf
pyscf/lib/numpy_helper.py
Python
apache-2.0
38,383
[ "PySCF" ]
9892ab5dfe6b47cfd5df9b54542a14cf815cd83c28a2937b1bd42bcb5f633ec3
import datetime import glob import netCDF4 import numpy import os import pytz from scipy.interpolate import InterpolatedUnivariateSpline #from scipy.interpolate import interp1d import sys # check the scripts directory is present if not os.path.exists("../scripts/"): print "erai2nc: the scripts directory is missing"...
OzFlux/OzFluxQC
utilities/erai2nc.py
Python
gpl-3.0
25,046
[ "NetCDF" ]
d61cc8713fbab13e16c8ed33297227668b63d842b85e4856f13435326579beb5
#!/usr/bin/env python import sys import argparse import shutil import numpy as np import netCDF4 as nc from scipy import signal """ Smooth out bathymetry by applying a gaussian blur. See: http://wiki.scipy.org/Cookbook/SignalSmooth Convolving a noisy image with a gaussian kernel (or any bell-shaped curve) blurs th...
CWSL/access-cm-tools
config/smooth_mom_bathymetry.py
Python
apache-2.0
3,434
[ "Gaussian" ]
660e0fbc75eb0ad3f41584d4440c83cb576bd850369b87119f6001ee77a00f22
#!/usr/bin/env python # Copyright (c) The Shogun Machine Learning Toolbox # Written (w) 2014 Daniel Pyrathon # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source...
MikeLing/shogun
applications/classification/train_multiclass_svm.py
Python
gpl-3.0
3,974
[ "Gaussian" ]
a85acc7f1c21b9838fe201921629881c83dfcacaa98bbe8e37e27df4b2a6e323
# Orca # # Copyright 2005-2009 Sun Microsystems Inc. # Copyright 2010 Orca Team. # Copyright 2014-2015 Igalia, S.L. # # 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 ...
GNOME/orca
src/orca/scripts/web/script.py
Python
lgpl-2.1
107,554
[ "ORCA" ]
4a50744e4491e8a6b04e7533d28ed8b59812749331f73d1273d86f5fc14e52b1
""" :mod: RequestTaskTests ======================= .. module: RequestTaskTests :synopsis: test cases for RequestTask class test cases for RequestTask class """ __RCSID__ = "$Id $" # # # @file RequestTaskTests.py # @author Krzysztof.Ciba@NOSPAMgmail.com # @date 2013/03/27 15:59:40 # @brief Definition ...
Sbalbp/DIRAC
RequestManagementSystem/private/test/RequestTaskTests.py
Python
gpl-3.0
2,268
[ "DIRAC" ]
da285f2fe3e16068fb05afff8b8a6539c72fed984ee90c2e15a63651f065690f
# 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...
xiusir/carc34-classify-localize
model/carc19.py
Python
apache-2.0
18,027
[ "Gaussian" ]
96befe0ce79cdec72103f2c20dbb723adf71b4e0c7fcabc11fb32a0c5e2bcec9
import random from ase import Atoms from ase.ga.data import PrepareDB metals = ['Al', 'Au', 'Cu', 'Ag', 'Pd', 'Pt', 'Ni'] population_size = 10 # Create database db = PrepareDB('fcc_alloys.db', population_size=population_size, metals=metals) # Create starting population for i in range(...
askhl/ase
doc/tutorials/ga/ga_fcc_alloys_start.py
Python
gpl-2.0
518
[ "ASE" ]
ae9101a2943c124834750a3c22d811a0cfdf7c852ddb5417f773a70219acfb2e
# -*- encoding: utf-8 -*- # Yuuno - IPython + VapourSynth # Copyright (C) 2017 StuxCrystal (Roland Netzsch <stuxcrystal@encode.moe>) # # This program 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, ei...
stuxcrystal/yuuno
yuuno_ipython/ipy_vs/encode.py
Python
lgpl-3.0
9,366
[ "MOE" ]
6db7030ac9945c31970bbfe4552ffb7fbef0170b1a53bac103c8ffa9ed84b314
#!/usr/bin/env python """ Cylinder mesh generator. """ from __future__ import print_function from __future__ import absolute_import import sys sys.path.append('.') from argparse import ArgumentParser from sfepy.mesh.mesh_generators import gen_cylinder_mesh from sfepy.discrete.fem.meshio import MeshIO helps = { 'fi...
lokik/sfepy
script/cylindergen.py
Python
bsd-3-clause
4,271
[ "VTK" ]
086382c6a30075766870257513dd883948a2d1391942a5f733d49de4088073ce
# -*- coding: utf-8 -*- # This file is part of Shuup. # # Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved. # # This source code is licensed under the OSL-3.0 license found in the # LICENSE file in the root directory of this source tree. import os import pytest from django.core.urlresolvers import reve...
suutari-ai/shoop
shuup_tests/browser/admin/test_product_detail.py
Python
agpl-3.0
2,014
[ "VisIt" ]
2fde6026d810ad54a33681eb3ca62f12a00586e78bdef58e801ae0b70f51c3d0
"""Test functions for python.energy_functions""" __author__ = "Felix Simkovic" __date__ = "05 Dec 2016" import itertools import unittest from ample.modelling.energy_functions import DynamicDistances, RosettaFunctionConstructs class TestDynamicDistances(unittest.TestCase): def test_cutoff(self): amino_ac...
linucks/ample
ample/modelling/tests/test_energy_functions.py
Python
bsd-3-clause
1,912
[ "Gaussian" ]
347c00dd8dff3a9b788c4ce4bd0897500d76bc05a6f92eb5fd4d9f174c275f92
import numpy as np from BDSpace import Space from BDSpace.Figure.Sphere import Sphere from BDSpace.Curve.Parametric import Arc from BDSpace.Field import ConstantVectorConservativeField, SuperposedField from BDSpace.Field import HyperbolicPotentialSphericalConservativeField from BDSpace.Field import HyperbolicPotential...
bond-anton/Space_visualization
demo/08_superposed_fields_demo.py
Python
apache-2.0
3,877
[ "Mayavi" ]
02c4526ddc219507900da2bbcb8324c799513b11b86f176d0024da3261480461
"""Contains the SwitchController class which is responsible for reading switch states and posting events to the framework. """ # switch_controller.py # Mission Pinball Framework # Written by Brian Madden & Gabe Knuth # Released under the MIT License. (See license info at the end of this file.) # Documentation and mor...
qcapen/mpf
mpf/system/switch_controller.py
Python
mit
26,029
[ "Brian" ]
601e7cd5f0f3d435ad83f6597f9ab6bc7bd4905bf961e3bfe2659757ef5ffb82
#!/usr/bin/env python # # Tate - lightweight Mazacoin client # Copyright (C) 2011 thomasv@gitorious # # 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 y...
mazaclub/tate
lib/old_mnemonic.py
Python
gpl-3.0
17,314
[ "CRYSTAL", "VisIt" ]
5648262dfa29579cb4cafcbcfed270e36b5b6f9f6cd615155bcef0767b559260
#!/usr/bin/env python import sys, re, time import getopt, os, urllib, subprocess as sub import urllib2 import json import nltk import pprint from weathercom import get_weathercom from tree import traverse from google_api import get_google_asr from tts import tts # city? idk wut is this whole dame things. lol lo = ""...
linnnh/Tenkiba
a.py
Python
mit
13,346
[ "VisIt" ]
a3298ef2f613faaad5d09edcf000deb6c7714b1fcb71b4206c76029b567c03ba
######################################################################## # $HeadURL$ ######################################################################## """ ProxyManager is the implementation of the ProxyManagement service in the DISET framework """ __RCSID__ = "$Id$" import types import os import cStringIO...
Sbalbp/DIRAC
FrameworkSystem/Service/BundleDeliveryHandler.py
Python
gpl-3.0
4,833
[ "DIRAC" ]
a5d00f2145e4e6d05a4a8c27cace3a9486a5e8f12335d1f31cb79a529dcdd7da
from nose.tools import assert_equal, assert_not_equal, assert_true, assert_false, \ assert_almost_equal, assert_list_equal import numpy as np from glmsklearn import BinomialRegressor, GammaRegressor, GaussianRegressor, \ InverseGaussianRegressor, NegativeBinomialRegressor, PoissonRegressor from statsmodels.genm...
jcrudy/glm-sklearn
glmsklearn/test/test_glm.py
Python
bsd-3-clause
3,682
[ "Gaussian" ]
93882f79a671da7461dafce04e25876565f363c5069b7a6f6a992a1a0146f2bb
from django.test import TestCase from regressiontests.select_related_regress.models import * class SelectRelatedRegressTests(TestCase): def test_regression_7110(self): """ Regression test for bug #7110. When using select_related(), we must query the Device and Building tables usin...
adviti/melange
thirdparty/google_appengine/lib/django_1_2/tests/regressiontests/select_related_regress/tests.py
Python
apache-2.0
6,343
[ "Brian" ]
d4ae439c436340160d4c1e302de743b990c6044976806c4223c7097605824fff
#!/usr/bin/env python2 #Qualitative Viewer Of More Outer-Dimensional Outputs from __future__ import print_function, division, unicode_literals import yaml, os, sys, shutil, json import re #TODO: stop using io when a str will do import io import Bio.PDB import superpose import argparse try: CODE = Bio.PDB.protein_lette...
khendarg/ubi
quomodo.py
Python
bsd-3-clause
31,868
[ "BLAST", "Jmol" ]
d43c62815430cf98f4531e6b9e8e2d5959a7e888251775650af2c6a16d767bb4
# (c) 2014, Brian Coca, Josh Drake, et al # # 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. ...
b-dollery/testing
lib/ansible/cache/jsonfile.py
Python
gpl-3.0
4,065
[ "Brian" ]
5418cd1e3495765a5e576bc96ab064d08aada64ba85fbe642e829225e85592f2
# Copyright 2002 Gary Strangman. All rights reserved # Copyright 2002-2016 The SciPy Developers # # The original code from Gary Strangman was heavily adapted for # use in SciPy by Travis Oliphant. The original code came with the # following disclaimer: # # This software is provided "as-is". There are no expressed or...
aeklant/scipy
scipy/stats/stats.py
Python
bsd-3-clause
254,278
[ "DIRAC" ]
e0537b2cad5f467e2b76fd7774b203eb80cf774b524cab32b3370a51799e1ca1
# encoding: utf-8 """sys.excepthook for IPython itself, leaves a detailed report on disk. Authors: * Fernando Perez * Brian E. Granger """ #----------------------------------------------------------------------------- # Copyright (C) 2001-2007 Fernando Perez. <fperez@colorado.edu> # Copyright (C) 2008-2011 The IP...
pacoqueen/ginn
extra/install/ipython2/ipython-5.10.0/IPython/core/crashhandler.py
Python
gpl-2.0
8,236
[ "Brian" ]
d2d0040b00549689e0bfbfaa8c9616e60bbbfe25441274265e07546c465f2a12
from glutton.base import ExternalTool from glutton.utils import get_log from collections import namedtuple, defaultdict from sys import exit import subprocess import os BlastResult = namedtuple('BlastResult', ["qseqid", "sseqid", "pi...
ajm/glutton
glutton/blast.py
Python
gpl-3.0
3,223
[ "BLAST" ]
bd92de8567cce5d08441b0fa486f5061286e88c519b5dce29523fd056f53475b
# -*- coding: utf-8 -*- """ CuBIC is a statistical method for the detection of higher order of correlations in parallel spike trains based on the analysis of the cumulants of the population count. .. autosummary:: :toctree: _toctree/cubic cubic Examples -------- Homogeneous Poisson random spike trains popula...
INM-6/elephant
elephant/cubic.py
Python
bsd-3-clause
7,708
[ "Gaussian" ]
d62da0b116725541f0d80f727478da11f0553de307a95beedc71ec4e4674ec91
"""Support the ElkM1 Gold and ElkM1 EZ8 alarm/integration panels.""" import logging import re import elkm1_lib as elkm1 from elkm1_lib.const import Max import voluptuous as vol from homeassistant.const import ( CONF_EXCLUDE, CONF_HOST, CONF_INCLUDE, CONF_PASSWORD, CONF_TEMPERATURE_UNIT, CONF_U...
qedi-r/home-assistant
homeassistant/components/elkm1/__init__.py
Python
apache-2.0
9,929
[ "Elk" ]
8209daeabc2d93e59f35415f40824666414ac234b0d9707a73d648f2324d7bdd
# # @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/share/psi4/databases/S66.py
Python
lgpl-3.0
148,397
[ "Psi4" ]
8ddb948813b86a3ac1163d959fc17eb8a11bd32a7e2da9471f10cd084c1aed33
# -*- 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 d...
EricMuller/mynotes-backend
config/urls.py
Python
mit
3,912
[ "VisIt" ]
658c15289afb2e07ed3a3f64c028dccb46958d8cd4f98c011c21bcff67f54233
# -*- 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_paymentmethodeditor.py
Python
gpl-2.0
1,261
[ "VisIt" ]
fd38d0c93bc66d1a3de131606a70afbe4753d5be650ab8570bcdccc7db093959
""" Helper functions for Poisson processes """ import numpy as np import logging log = logging.getLogger("global_log") def sampleInhomogeneousPoissonProc(tt, lam): """ Sample an inhomogeneous Poisson process with rate lam and times tt using the time-rescaling theorem. Integrate the rate from [0,t) to get ...
mattjj/pyhawkes
pyhawkes/utils/poisson_process.py
Python
mit
4,340
[ "Gaussian" ]
e2e853ec11a1334acb52db7b3fad2775a22cbfd1f577d81f0f34f58ca0b87f06
# -*- coding: utf-8 -*- """ Created on Sun Feb 14 14:49:26 2016 @author: Adrien """ import numpy as np import scipy.constants from canpy.point_defects import point_defects from canpy.useful import index_heading,time_to_snap,snap_to_time from mpl_toolkits.mplot3d import axes3d from matplotlib import ...
ruaultadrien/canpy
canpy/dumplog.py
Python
gpl-3.0
20,548
[ "CRYSTAL", "LAMMPS" ]
81472b78c3f7a163725cbd2e14866411aaf7bbc2928d8b0697c1d0c2ff5da8c8
#!/usr/bin/env python # -*- coding: utf-8 -*- # BoarG - mainwindow.py # Copyright (C) 2014 Robert Einhaus <robert@einhaus.info> # # 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...
robert00frag/boarg
mainwindow.py
Python
gpl-3.0
17,297
[ "VisIt" ]
9d0c510c53979d1feb3ebd5b3b5a7ee778dfbac5e750620c6fcd58a82f8c2c83
#!/usr/bin/env python # A simple Ping-Pong score calculator # This script is DEPRECATED # Use gppc.sh instead. # Given a sorted bed2 file, this script will output the nucleotide offset in # the first column and number of read pairs having such an offset in # the second column # # Test data: # cat ~/data/prepachytene/...
yfu/tools
deprecated_ping_pong_calculator/pps_simple.py
Python
gpl-3.0
4,878
[ "HTSeq" ]
fcc51adf2269bf63fa92671731ca3b4125588ffd0f4f4572c5fdb0ecb7dc8a7b
# # Copyright (c) 2015 nexB Inc. and others. All rights reserved. # http://nexb.com and https://github.com/nexB/scancode-toolkit/ # The ScanCode software is licensed under the Apache License version 2.0. # Data generated with ScanCode require an acknowledgment. # ScanCode is a trademark of nexB Inc. # # You may not use...
yashdsaraf/scancode-toolkit
src/packagedcode/recognize.py
Python
apache-2.0
2,783
[ "VisIt" ]
14725090db06ef12d0d61cdf453025b6c3d033f5e7f35324fa3e3359de08e70e
# -*- encoding: UTF-8 -*- """Plotting functions.""" import sys import numpy as np from itertools import count from functools import partial from scipy.optimize import OptimizeResult from .acquisition import _gaussian_acquisition from skopt import expected_minimum, expected_minimum_random_sampling from .space import Ca...
scikit-optimize/scikit-optimize
skopt/plots.py
Python
bsd-3-clause
51,950
[ "Gaussian" ]
b5b18e4d67353909497eb692844a40ef2567e2804fd024357970fafadbf15a03
#!/usr/bin/env python import vtk import sys fname=sys.argv[1] surface_ids = [] region_ids = [] r=vtk.vtkExodusIIReader() r.SetFileName(fname) r.UpdateInformation() r.GenerateGlobalNodeIdArrayOn() r.GenerateGlobalElementIdArrayOn() if vtk.VTK_MAJOR_VERSION<6: r.ExodusModelMetadataOn() r.PackExodusModelOntoOut...
jrper/MeshConversion
exodus_fix.py
Python
apache-2.0
3,907
[ "VTK" ]
a793e3c96e015c8002a503b88f5856d2479b15eddcc886cc549ae4af0d18128c
""" Filename: lss.py Reference: http://quant-econ.net/py/linear_models.html Computes quantities associated with the Gaussian linear state space model. """ from textwrap import dedent import numpy as np from numpy.random import multivariate_normal from scipy.linalg import solve #-Check if Numba is Available-# from .u...
andybrnr/QuantEcon.py
quantecon/lss.py
Python
bsd-3-clause
12,033
[ "Gaussian" ]
df58e297e6bafcb71bd51e1c02e75c111c37b183ca959724687f8f8b49c85a89
""" 2.5D DC inversion of with Topography ==================================== This is an example for 2.5D DC inversion. Earth includes a topography, and below the topography conductive and resistive cylinders are embedded. Sensitivity weighting is used for the inversion. Approximate depth of investigation is computed ...
simpeg/simpeg
examples/_archived/plot_inv_dcip_dipoledipole_2_5Dinversion.py
Python
mit
7,953
[ "Gaussian" ]
d06766ac1f682b0f9f5acc8e856f567a28fa8511c3a9325b3fcaf61f688ec95e
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator, NullLocator, ScalarFormatter import numpy as np import sys import corner import matplotlib.gridspec as gridspec from scipy import stats import scipy.optimize as so from dart_board import sf_history from d...
astroJeff/dart_board
paper/scripts/corner_plot_2dist.py
Python
mit
20,179
[ "Gaussian" ]
741fbd2a6e0ff813cc6c9a0a2ea4debf4dc6ecc7ab1182bad332e3acb05a3ba4
import IMP import IMP.atom import IMP.test import IMP.pmi import IMP.pmi.io import IMP.pmi.dof import IMP.pmi.topology import IMP.pmi.restraints.stereochemistry class Tests(IMP.test.TestCase): def test_stereochemistry_basic(self): """ test PMI2 connectivity restraint on basic system""" mdl = IMP....
shanot/imp
modules/pmi/test/medium_test_stereochemistry.py
Python
gpl-3.0
10,589
[ "CHARMM" ]
d0ba9b3c20d845f289ec10a061712018db907f8783542595c6e3b62b3f3788a3
# pmx Copyright Notice # ============================ # # The pmx source code is copyrighted, but you can freely use and # copy it as long as you don't change or remove any of the copyright # notices. # # ---------------------------------------------------------------------- # pmx is Copyright (C) 2006-2013 by Daniel ...
dseeliger/pmx
pmx/ffparser.py
Python
lgpl-3.0
28,949
[ "Amber", "CHARMM" ]
b00fa6574fc4d8eab9e7bd9b99218aa356a971d58ce2250ec479207dd0bfc4a8
# -*- coding: utf-8 -*- ''' ******************************************************************* * File: writeSBML.py * Description: * Author: HarshaRani * E-mail: hrani@ncbs.res.in ********************************************************************/ /**********************************...
BhallaLab/moose
moose-core/python/moose/SBML/writeSBML.py
Python
gpl-3.0
58,965
[ "MOOSE" ]
f569e1da54b781588acaaf0ddd3baa825913022e3985689c468c10688217ed00
#!/people/thnfs/homes/wehnerj/python-virtual/bin/python import sys import numpy as np import argparse as arg import MDAnalysis as md import argparse as ap #i,j,k run are unitcells in each direction so i,j,k>0 parser=ap.ArgumentParser(description="Tool to multiply .gro files shift molecules etc..") parser.add_argum...
12AngryMen/votca-scripts
Gromacs/Setupgrofile.py
Python
apache-2.0
2,882
[ "MDAnalysis" ]
d5252888f8a027d9a9e3ab8bce14cb86b0ad364030b3c4d74ce94edb145f5b4e
""" Test courseware search """ import os import json from ..helpers import remove_file from ...pages.common.logout import LogoutPage from ...pages.studio.overview import CourseOutlinePage from ...pages.lms.courseware_search import CoursewareSearchPage from ...pages.lms.course_nav import CourseNavPage from ...fixtures....
defance/edx-platform
common/test/acceptance/tests/lms/test_lms_split_test_courseware_search.py
Python
agpl-3.0
4,833
[ "VisIt" ]
87d390eae564cef5b42922d92c448553828704b754080be9dd4a90b49d866529
# -*- coding: utf-8 -*- import numpy as np import abel import matplotlib.pyplot as plt IM = np.loadtxt("data/VMI_art1.txt.bz2") legendre_orders = [0, 2, 4] # Legendre polynomial orders proj_angles = range(0, 180, 10) # projection angles in 10 degree steps radial_step = 1 # pixel grid smoothing = 1 # smoothing 1/e...
rth/PyAbel
examples/example_linbasex_hansenlaw.py
Python
mit
3,092
[ "Gaussian" ]
986128e55430827f82f54686b380aaa2314b0ed56520246c62c26c2f441d9759
""" This module contains the MoleculeWriter class. It is used to apply atom names from known topologies to the molecule by using a graph-based representation of each molecule. Author: Robin Betz Copyright (C) 2019 Robin Betz """ # This program is free software; you can redistribute it and/or modify it under # the te...
Eigenstate/dabble
dabble/param/writer.py
Python
gpl-2.0
15,804
[ "CRYSTAL", "VMD" ]
28d28947a41f49a71c58efff8ecc5fba806faed19ae93aa58b2fbcd5cd5ca13e
import time from _MultiNEAT import * from concurrent.futures import ProcessPoolExecutor, as_completed import matplotlib.pyplot as plt from numpy import array, clip try: import cv2 import numpy as np cvnumpy_installed = True except: print ('Tip: install the OpenCV computer vision library (2.0+) with ' ...
lvitol/MultiNEAT
MultiNEAT.py
Python
lgpl-3.0
16,190
[ "NEURON" ]
d9a5372775e675f1046596b2fa25dcc059307bfeddbe80bad79e49e629370e87
""" !--------------------------------------------------------------------------! ! LICENSE INFO: ! !--------------------------------------------------------------------------! ! This file is part of localCIDER. ...
Pappulab/localCIDER
localcider/backend/wang_landau.py
Python
gpl-2.0
59,793
[ "VisIt" ]
8410ed4e61ad6a91467f99221ac6c25d65de8fdb00a5dd2aa1fdc3acc69ea032
""" Test of the classical LM model for language modelling """ import cProfile from groundhog.datasets import LMIterator from groundhog.trainer.SGD_momentum import SGD as SGD_m from groundhog.trainer.SGD import SGD from groundhog.mainLoop import MainLoop from groundhog.layers import MultiLayer, \ RecurrentLayer, ...
tomsbergmanis/gh_rnn_lm
scripts/DT_RNN_Tut.py
Python
bsd-3-clause
14,914
[ "Gaussian" ]
9bce01350f32db678b5684c2ae2092972a332de719b4f389542aa85b8a7894b8
# -*- coding: ISO-8859-1 -*- # Copyright 2010 Dirk Holtwick, holtwick.it # # 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 # # Unle...
drchrono/pisa
sx/pisa3/pisa_parser.py
Python
apache-2.0
23,070
[ "VisIt" ]
c739292dcef8e9264d5f6bb4b6ae35a237913af5017906d50c80d44e01f04911
# 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. # """Hold GenBank data in a straightforward format. classes: - Record - All of the information in a GenBank record. - Reference - hold refere...
updownlife/multipleK
dependencies/biopython-1.65/build/lib.linux-x86_64-2.7/Bio/GenBank/Record.py
Python
gpl-2.0
23,027
[ "Biopython" ]
5a8041f75ec472acb7b29afe8c17d7942952450ff782cf72feee5abfd6795ec5
#!/usr/bin/env python """ This script is a python version of TimingAccuracy. We use some numpy functions to simplify the creation of random coefficients. """ from __future__ import absolute_import, division, print_function import os import sys import time import numpy as np sys.path.append(os.path.join(os.path.dirnam...
heroxbd/SHTOOLS
examples/python/TimingAccuracy/TimingAccuracyDH.py
Python
bsd-3-clause
2,503
[ "Gaussian" ]
d5a1a59c0b3e52d8e3c58eb6b57fbdff6d1236b7998e1d6e6247ef92b61ae385
#!/usr/bin/env python2.7 """ UCSC Computational Genomics Lab Spladder Pipeline Author: John Vivian Affiliation: UC Santa Cruz Genomics Institute Structure of Spladder Pipeline (per sample) 0 ---> 4 --> 5 | 1 / \ 2 3 0 - Download Sample 1 - STAR 2 - QC and Varia...
jpfeil/toil-scripts
src/toil_scripts/spladder_pipeline/spladder_pipeline.py
Python
apache-2.0
20,104
[ "ADF" ]
b0c5f631f9043c3479f86f2cc4284b09ee064516451b4b297c54997ef2ed1781
#!/usr/bin/python # -*- coding: utf-8 -*- # # --- BEGIN_HEADER --- # # server - [insert a few words of module description on this line] # Copyright (C) 2003-2009 The MiG Project lead by Brian Vinter # # This file is part of MiG. # # MiG is free software: you can redistribute it and/or modify # it under the terms of th...
heromod/migrid
mig/simulation/server.py
Python
gpl-2.0
12,572
[ "Brian" ]
9318e3147995791cbceb5264beb3c828276e4dc5783365207d0f1853320a380e
""" Universe stuff """ from nestedg.mixins import EncounteredMixin from nestedg.model import Model from nestedg.data import unknown, materials, lookups from nestedg.data.materials import elements from . import star class GlobalItem(Model): universe = Model.child_property(unknown.Model) class ChildrenGenerato...
d2emon/generator-pack
src/factories/nestedg/data/universe/__init__.py
Python
gpl-3.0
5,585
[ "Galaxy" ]
49c2bff1dd630bbb1ca1ca069e56535cb1cd58ee50b729c814fdca6ff186d68a
from __future__ import division from __future__ import print_function from builtins import zip from builtins import range from past.utils import old_div import matplotlib.pyplot as plt import numpy as np from nplab import datafile from skimage import feature, filters import cv2 import math from skimage.filters import ...
nanophotonics/nplab
nplab/analysis/mjh250-image-analysis.py
Python
gpl-3.0
13,037
[ "Gaussian" ]
49688052b13be10c44cba9a91d420669d6b47effcdc48876c6e8c63a44e2aef2
#!/usr/bin/env python # # AST.py # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; witho...
tweemeterjop/thug
thug/AST/AST.py
Python
gpl-2.0
6,685
[ "VisIt" ]
c0c48c1af6387ba7945d8940ee6fcc52a4a757bd50e3c9911a1d34340dae2346
from tp.netlib.objects import OrderDescs constraints = """player(int,unicode) subtype(int,int) name(int,unicode) size(int,int) pos(int,int,int,int) vel(int,int,int,int) contains(int,int) universe(int) galaxy(int) star(int) planet(int) fleet(int) wormhole(int) start(int,int,int,int) end(int,int,int,int) owner(int,int) ...
thousandparsec/daneel-ai
daneel/codeGenerator.py
Python
gpl-2.0
14,476
[ "Galaxy" ]
afac6d20323533c3bc6152cc99ed96c990cc520bd6963ebe07824c92b7d40d56
from Bio import SearchIO blast_qparse = SearchIO.parse('blastx-reston.results.xml', 'blast-xml') #blast_qrecord = next(blast_qparse) #blast_qrecord[0] #blast_qrecord.hits[0] #blast_qrecord.hits[0].id #blast_qrecord.hits[0].description for record in blast_qparse: for hit in record: print(hit.id, " -- ", hit.descrip...
manasb/genomics
469/RESULTS/3_DEC_2015/temp.py
Python
gpl-3.0
332
[ "BLAST" ]
1d85d81d200b2b378469a91f793502335b235c19d0bbe14621da11c77cc2758b
import king_phisher.client.gui_utilities as gui_utilities import king_phisher.client.plugins as plugins import king_phisher.client.server_events as server_events from gi.repository import GLib try: from blink1 import blink1 import usb.core except ImportError: has_blink1 = False else: has_blink1 = True COLORS = (...
zeroSteiner/king-phisher-plugins
client/blink1.py
Python
bsd-3-clause
3,800
[ "VisIt" ]
434704f0e621657b2b078aba4a12e0a058f680b59435c5338a597efa929959b5
"""Filter design. """ from __future__ import division, print_function, absolute_import import warnings import numpy from numpy import (atleast_1d, poly, polyval, roots, real, asarray, allclose, resize, pi, absolute, logspace, r_, sqrt, tan, log10, arctan, arcsinh, sin, exp, cosh,...
witcxc/scipy
scipy/signal/filter_design.py
Python
bsd-3-clause
124,641
[ "Gaussian" ]
8fb6a1130888537c3a046fd062a60b962f0fece244449bffaf6f163eb5b7d202
#!/usr/bin/python # -*- coding: UTF-8 -*- from __future__ import absolute_import from __future__ import with_statement from __future__ import division from __future__ import unicode_literals from __future__ import print_function import numpy as np import numpy.linalg import scipy import scipy.linalg from neurotools.f...
michaelerule/neurotools
linalg/operators.py
Python
gpl-3.0
8,240
[ "Gaussian" ]
cacf4a2dc340e045668bd3e3cb652f007a2aae508ab1779522a068834d21be8e
# -*- coding: utf-8 -*- # Copyright 2007-2016 The HyperSpy developers # # This file is part of HyperSpy. # # HyperSpy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at...
vidartf/hyperspy
hyperspy/drawing/utils.py
Python
gpl-3.0
46,935
[ "ADF" ]
19b3a279ba18b8023b9e75faa25080a0f594e9d5b4814f1287b699d8213d3d6f
# -*- coding: utf-8 -*- # HORTON: Helpful Open-source Research TOol for N-fermion systems. # Copyright (C) 2011-2015 The HORTON Development Team # # This file is part of HORTON. # # HORTON is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by th...
eustislab/horton
horton/scripts/atomdb.py
Python
gpl-3.0
18,348
[ "CP2K", "ORCA", "Psi4" ]
407f7d04203a5d56b7ca96d549e652d8f607a73093bbb58bdfb5544112ae26fc
import unittest from phevaluator.tables import NO_FLUSH_7 from .utils import BaseTestNoFlushTable class TestNoFlush7Table(BaseTestNoFlushTable): TOCOMPARE = NO_FLUSH_7 TABLE = [0] * len(TOCOMPARE) VISIT = [0] * len(TOCOMPARE) NUM_CARDS = 7 @classmethod def setUpClass(cls): super().s...
HenryRLee/PokerHandEvaluator
python/tests/table_tests/test_hashtable7.py
Python
apache-2.0
474
[ "VisIt" ]
14f82506655f44dc227ead57d2b25bf3767a3a6d4148872ba489177bb7fd5dcc
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function) __metaclass__ = type # # Copyright (C) 2017 Lenovo, Inc. # # 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 Licens...
skg-net/ansible
lib/ansible/modules/network/cnos/cnos_bgp.py
Python
gpl-3.0
49,308
[ "VisIt" ]
c4087c00d072abcd61b2ce286f56311d233da47aecc7254e3eeb11430095cb73
# (C) British Crown Copyright 2017 - 2018, Met Office # # This file is part of Iris. # # Iris 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 3 of the License, or # (at your option) any l...
marqh/iris
lib/iris/_lazy_data.py
Python
lgpl-3.0
8,200
[ "NetCDF" ]
62e029691bf06e687a9cc23001d2332fd970a161024fd48501c4878680b1fd7b
# $HeadURL$ __RCSID__ = "$Id$" from DIRAC.ConfigurationSystem.private.ConfigurationData import ConfigurationData gConfigurationData = ConfigurationData()
sposs/DIRAC
ConfigurationSystem/Client/ConfigurationData.py
Python
gpl-3.0
154
[ "DIRAC" ]
82e3659e87a9c8431d98ff27c783486766d4166c75b31d809994183e1c3810bc
import string __all__ = ["readAmberParam"] class readAmberParam: """Extract info from coords.prmtop prmtop: string with the full coords.prmtop file bondConn: list of 2-ples such that bondConn[i][0] and bondConn[i][1] are the atom numbers of the i-th bond; atom numbers ...
js850/PyGMIN
pygmin/utils/amber.py
Python
gpl-3.0
3,212
[ "OpenMM" ]
15d2b649d492fca661c5d6311a4844651db0d301f8b670272d1d44b36512777b
# proxy module from __future__ import absolute_import from mayavi.filters.data_set_clipper import *
enthought/etsproxy
enthought/mayavi/filters/data_set_clipper.py
Python
bsd-3-clause
100
[ "Mayavi" ]
c916ace26a2411e2fb1479a60f067d6782e87a37d539e0f6dff22da917392508
# pysam versioning information __version__ = "0.3.1" __samtools_version__ = "0.1.8" __tabix_version__ = "0.2.1"
genome-vendor/chimerascan
chimerascan/pysam/version.py
Python
gpl-3.0
112
[ "pysam" ]
8e8020cf42d41cda5d7691539bc0b4451abfe51d522de7692e7246ba784fed18
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-jump19Jan2017_10-50.py
Python
gpl-3.0
26,484
[ "Gaussian" ]
2497b16fa445703224acbab7d3a9a3606c34c94a118fa100fbf5b466ffb61000
# -*- coding: utf-8 -*- import numpy from functools import reduce ## Ordering of IRREPs: # Molpro Ordering: http://www.molpro.net/info/current/doc/manual/node36.html # Cotton Ordering: http://www.psicode.org/psi4manual/master/psithonmol.html#table-irrepordering irrep_labels = { # cotton ordering 'd2h' : ('', 'Ag'...
orbkit/orbkit
orbkit/libcint_interface/symmetry.py
Python
lgpl-3.0
2,238
[ "Molpro", "Psi4" ]
5eb7ed5c9ceb233dab9ddede7b95cead47b922c3d9bf57431f204154082cebae
# proxy module from __future__ import absolute_import from mayavi.plugins.mayavi_plugin import *
enthought/etsproxy
enthought/mayavi/plugins/mayavi_plugin.py
Python
bsd-3-clause
97
[ "Mayavi" ]
e94e46675f2b77ac6fe11a68ad09adc5cae1dc95ae648c0df6048da6275e76ad
# # Copyright (C) 2017 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 vers...
KonradBreitsprecher/espresso
testsuite/rescale.py
Python
gpl-3.0
2,349
[ "ESPResSo" ]
ab57f8cc54acc6e6ca55e26941c2f8bbc21cc12b04999975ba67efa7c67e165b
# -*- coding: utf-8 -*- # # Copyright © 2014-2015 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2, or (at your option) any later # version. This program is distributed...
crobinso/pkgdb2
pkgdb2/api/admin.py
Python
gpl-2.0
10,607
[ "Bioconductor" ]
bdf18cdf63932d06d996fa6fc22244ec05ed6bb70013588f5c20337c7d5c5754
import ast from nimoy.ast_tools.specs import SpecTransformer from nimoy.runner.metadata import RunnerContext from nimoy.runner.spec_finder import Location from nimoy.specification import Specification class SpecificationTransformerSpec(Specification): def where_methods_are_extracted_from_features(self): ...
browncoat-ninjas/nimoy
specs/nimoy/integration/specs_integration_spec.py
Python
apache-2.0
1,058
[ "VisIt" ]
d374829135bf95ff7baeba4d99694a741fa07e2c0c0e6493dd59c8cf190e8e98
from __future__ import division import numpy as np from menpo.shape import TriMesh from menpofit.base import DeformableModel, name_of_callable from .builder import build_patch_reference_frame, build_reference_frame class AAM(DeformableModel): r""" Active Appearance Model class. Parameters ---------...
mrgloom/menpofit
menpofit/aam/base.py
Python
bsd-3-clause
21,417
[ "Gaussian" ]
4771b601553279ff6939085c460a0cf71e42203a6618a35861598e577892e726
#!/usr/bin/env python2.7 """ Runs GATK best practices pipeline for germline SNP and INDEL discovery. BWA Alignment 0: Download FASTQ(s) or BAM 1: Align to reference 2: Sort BAM 3: Index Bam GATK Preprocessing 4: Mark duplicates 5: Indel realignment 6: Base quality score recalibration 7: Apply recalibration GATK Vari...
BD2KGenomics/toil-scripts
src/toil_scripts/gatk_germline/germline.py
Python
apache-2.0
41,286
[ "BWA" ]
87176d946cf80345f66ba828fcdf929dd90c7e65c65d80909aa6f92de5d62755
import numpy from scipy.optimize import minimize from scipy.stats import norm from sklearn import gaussian_process from . import kernels from ..base import SearchAlgorithm class Bayes(SearchAlgorithm): """Bayesian minimization method with gaussian process regressor. This method uses scikit-learn's implement...
NovaSyst/chocolate
chocolate/search/bayes.py
Python
bsd-3-clause
5,395
[ "Gaussian" ]
4b76df221d82f8df0b7b19c7cb0ee92c7d430373d041b410669ea5d08a8892eb
""" Collection of physical constants and conversion factors. Most constants are in SI units, so you can do print '10 mile per minute is', 10*mile/minute, 'm/s or', 10*mile/(minute*knot), 'knots' The list is not meant to be comprehensive, but just a convenient list for everyday use. """ """ BasSw 2006 physical consta...
lesserwhirls/scipy-cwt
scipy/constants/constants.py
Python
bsd-3-clause
8,861
[ "Avogadro" ]
9d79f5c8e3ff56cf988c6abf0c13231545af53b8623b4c4f55ded6337ab0187a
# Generated by Django 2.1.7 on 2019-06-06 08:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ ('occurrence', '0039_auto_20190514_1622'), ] operations = [ migr...
parksandwildlife/wastd
occurrence/migrations/0040_auto_20190606_1658.py
Python
mit
1,690
[ "VisIt" ]
2f19c10a1b3a6097fe1c5807db29e8678348ca58efe23f26f14a734657307b19
# BSD Licence # Copyright (c) 2012, Science & Technology Facilities Council (STFC) # All rights reserved. # # See the LICENSE file in the source distribution of this software for # the full license text. """ Utilities for running jython performance tests. """ from dapbench.jython.netcdf import Dataset import subproc...
cedadev/dapbench
dapbench/jython/util.py
Python
bsd-3-clause
3,916
[ "NetCDF" ]
03a3ac30d54c8ad5502ff98d2a2acda78d4b971eee58956ff629626595ed6f8c
#!/usr/bin/python """Test of learn mode.""" from macaroon.playback import * import utils sequence = MacroSequence() sequence.append(KeyComboAction("<Control>f")) sequence.append(TypeAction("Printing")) sequence.append(KeyComboAction("Return")) sequence.append(KeyPressAction(0, None, "KP_Insert")) sequence.append(K...
pvagner/orca
test/keystrokes/gtk3-demo/learn_mode.py
Python
lgpl-2.1
3,015
[ "ORCA" ]
1e16cfaf707f306152cee78438e3c3775bf3832a9af1fe782a7bee63f8f8d5f7
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ========================================================================= Program: Visualization Toolkit Module: TestNamedColorsIntegration.py Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www....
HopeFOAM/HopeFOAM
ThirdParty-0.1/ParaView-5.0.1/VTK/Filters/Core/Testing/Python/MassProperties.py
Python
gpl-3.0
4,937
[ "VTK" ]
4dfa7626ba1e6a8bd9db251f5838bdcf7ce42c8dda1ffacde3b87ff8476b834d
""" This module contains various functions that are special cases of incomplete gamma functions. It should probably be renamed. """ from __future__ import print_function, division from sympy.core import Add, S, sympify, cacheit, pi, I from sympy.core.function import Function, ArgumentIndexError from sympy.core.sy...
grevutiu-gabriel/sympy
sympy/functions/special/error_functions.py
Python
bsd-3-clause
68,553
[ "Gaussian" ]
b4ebf5acec056b31d6046871d01929459b846e82ea5603e205b981a7fc1e4e90
import numpy as np def gauss_ln_like(mu, cov, data): """ Gaussian log-likelihood function. """ assert len(mu) == len(cov) assert len(mu) == data.shape[1] n_data = len(data) t1 = -0.5*n_data*np.log(2.*np.pi) if len(mu) == 1: var = cov t2 = -0.5 * n_data*np.log(var) t3 = -0.5 * (1./var) * np.sum(np....
jimbarrett27/jimsUtils
jimsUtils/likelihoods.py
Python
gpl-3.0
611
[ "Gaussian" ]
03e9edee7f6a5e4d060f947970b1e685aa672bfe75584ef227af37f7495bbe42
# -*- coding: utf-8 -*- """ Select2 Widgets based on https://github.com/applegrew/django-select2. These components are responsible for rendering the necessary HTML data markups. Since this whole package is to render choices using Select2 JavaScript library, hence these components are meant to be used with choice field...
monouno/site
judge/widgets/select2.py
Python
agpl-3.0
7,832
[ "VisIt" ]
bcd9259039baa9896bc5c5b61044fb479b74736e248626ad2f25e5c93ea55472
# -*- encoding: utf-8 -*- """ Test suite for h2o.make_metrics(). :copyright: (c) 2016 H2O.ai :license: Apache License Version 2.0 (see LICENSE for details) """ from __future__ import absolute_import, division, print_function, unicode_literals import sys sys.path.insert(1, "../../") import h2o from tests import pyun...
michalkurka/h2o-3
h2o-py/tests/testdir_misc/pyunit_make_metrics.py
Python
apache-2.0
9,825
[ "Gaussian" ]
110d7c71b6e8067961e2b50b4bcbe207c410b3139afff2a5a0a068077347c90d
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. __author__ = "Bharat Medasani" __copyright__ = "Copyright 2013, The Materials Project" __version__ = "0.1" __maintainer__ = "Shyue Ping Ong" __email__ = "bkmedasani@lbl.gov" __date__ = "Aug 2, 2013" import os import re impor...
materialsproject/pymatgen
pymatgen/io/tests/test_zeopp.py
Python
mit
11,210
[ "VASP", "pymatgen" ]
ec596a173e3603ea5f5421b725491eb5430490c0702b57b96e1f08b33229631f
# -*- coding: utf-8 -*- # Copyright 2013 Mirantis, Inc. # # 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 requi...
koder-ua/nailgun-fcert
nailgun/nailgun/rpc/receiver.py
Python
apache-2.0
37,667
[ "VisIt" ]
2be111f5007886231e5aa66b2c0d1bfab2a09096ea004b20527771ea1ea00ecd
# (C) British Crown Copyright 2010 - 2015, Met Office # # This file is part of Iris. # # Iris 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 3 of the License, or # (at your option) any l...
andrewcbennett/iris
lib/iris/tests/system_test.py
Python
gpl-3.0
3,748
[ "NetCDF" ]
2f50d4f23fd6ac26a9a91a775d11e3a24b7283138aedbf395664a4d193d88dae
# Copyright 2003-2008 by Leighton Pritchard. All rights reserved. # Revisions copyright 2009 by Peter Cock. # 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. # # Contact: Leighton Pritchard, Scot...
Ambuj-UF/ConCat-1.0
src/Utils/Bio/Graphics/GenomeDiagram/__init__.py
Python
gpl-2.0
930
[ "Biopython" ]
89763bee9633e70aa4ef53afadb6c9083cd349ed6219dabb64f3b22201e71204
# -*- coding: utf-8 -*- import re import urllib2 import HTMLParser import urllib,urlparse import xbmcgui import xbmcplugin import xbmcaddon import requests from BeautifulSoup import BeautifulSoup as bs from utils.webutils import * from scrapers import * try: from addon.common.addon import Addon from addon....
mrquim/mrquimrepo
repo/plugin.video.p2psport/default.py
Python
gpl-2.0
11,222
[ "VisIt" ]
e0d20da1f6753f2ca8e90b2ae592878954b7bce29a903e808139a824859c31fd
# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function import errno import filecmp import functools import glob import itertools import json import multiprocessing import os import re imp...
jsirois/pex
tests/test_integration.py
Python
apache-2.0
120,164
[ "VisIt" ]
c082d797d8d2669ddee30b7ca1ffcb890fdcad33d4c14b5addb974a44e2359b6
#!/usr/bin/env python3 # coding=utf-8 # Copyright 2015 Matvey Vyalkov # # 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 # # Unles...
CyberTailor/vk-stats
stats.py
Python
apache-2.0
21,971
[ "Brian" ]
074586ec9f715ca99b8698e4d6d2bd5fa3c9cea6cd0b4d27833b4254e4d575d7
# -*- coding: utf-8 -*- import os import sys try: from gluon import current except ImportError: print >> sys.stderr, """ The installed version of Web2py is too old -- it does not define current. Please upgrade Web2py to a more recent version. """ # Version of 000_config.py # Increment this if the user should...
waidyanatha/sambro-eden
modules/s3_update_check.py
Python
mit
10,892
[ "NetCDF" ]
da8c97cf2f365a0ba45f25be61382fcc2b539e6258bc64f21cf4cc5f8454a441