text
stringlengths
12
1.05M
repo_name
stringlengths
5
86
path
stringlengths
4
191
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
12
1.05M
keyword
listlengths
1
23
text_hash
stringlengths
64
64
#!/usr/bin/python # Copyright 2010 Google 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 required by applicable law or agree...
mababio/liquid-galaxy
gnu_linux/home/lg/bin/screensaver.py
Python
apache-2.0
2,113
[ "Galaxy" ]
4a4fbf6e080a18ad16c5fd24a9e38e7b30e5dc45a42e7c7a152db8baa3a51d00
import numpy from mayavi.mlab import * # Produce some nice data. n_mer, n_long = 6, 11 pi = numpy.pi dphi = pi/1000.0 phi = numpy.arange(0.0, 2*pi + 0.5*dphi, dphi, 'd') mu = phi*n_mer x = numpy.cos(mu)*(1+numpy.cos(n_long*mu/n_mer)*0.5) y = numpy.sin(mu)*(1+numpy.cos(n_long*mu/n_mer)*0.5) z = numpy.sin(n_long*mu/n_me...
pletisan/python-data-viz-cookbook
3367OS_Code/3367OS_05_Code/ch05/ch05_rec04_mayavi-animate.py
Python
mit
674
[ "Mayavi" ]
3bb31f112aacd467f964b70215466ed72083a7b3d760784914bf7e74e5439691
#!/usr/bin/env python # -*- coding: utf-8 -*- """Electromagnetics for Vertical Magnetic Dipole (VMD) functions and class.""" from math import sqrt, pi import numpy as np import pygimli as pg from pygimli.frameworks import Block1DModelling class VMDModelling(Block1DModelling): r"""Modelling operator for a Vert...
gimli-org/gimli
pygimli/physics/em/vmd.py
Python
apache-2.0
9,187
[ "VMD" ]
14d4146871163b821726ed635c1b0f408079156df89a4634aa76d19fabc1b7d6
# This file is part of cclib (http://cclib.github.io), a library for parsing # and interpreting the results of computational chemistry packages. # # Copyright (C) 2007,2012,2014,2015, the cclib development team # # The library is free software, distributed under the terms of # the GNU Lesser General Public version 2.1 ...
ghutchis/cclib
test/data/testCC.py
Python
lgpl-2.1
1,103
[ "cclib" ]
561d71fd5d99970d56ff8df80145eaf4b0380900fb3731007f8c9b12ad37e85c
# sql/compiler.py # Copyright (C) 2005-2015 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Base SQL and DDL compiler implementations. Classes provided include: :class:`.c...
beblount/Steer-Clear-Backend-Web
env/Lib/site-packages/sqlalchemy/sql/compiler.py
Python
mit
99,642
[ "VisIt" ]
c4a75017b0523c5f8b1026f204d8326864ce964ebb093fc52f0183f28a9f340b
# -*- coding: utf-8 -*- { "'Sounds-like' name search allowing search even the spelling of the name is not known exactly": "'Sounds-like'名稱搜尋或搜尋,即使名稱的拼字不完全", "A location that specifies the geographic area for this region. This can be a location from the location hierarchy, or a 'group location', or a location that ha...
gallifrey17/eden
languages/zh-tw.py
Python
mit
338,463
[ "VisIt" ]
2864d37babb2cff780baada3a1299fec1e0a2cda1034e6654b81bd3cb8d02daf
"""Module with utility functions for blastplus app. """ import os import tempfile from Bio.Application import ApplicationError from blastplus.features.record import Alignment, BlastRecord, Hsp def get_sample_data(sample_file): """Read and returns sample data to fill form with default sample sequence. """ ...
michal-stuglik/django-blastplus
blastplus/utils.py
Python
mit
3,450
[ "BLAST", "Biopython" ]
896632c72a144160557288421b105b85e9e8e9787e707e57219bb1a01951c6b1
## \file ## \ingroup tutorial_roofit ## \notebook ## Multidimensional models: making 2/3 dimensional plots of pdfs and datasets ## ## \macro_code ## ## \date February 2018 ## \authors Clemens Lange, Wouter Verkerke (C++ version) import ROOT # Create 2D model and dataset # ---------------------------------------------...
root-mirror/root
tutorials/roofit/rf309_ndimplot.py
Python
lgpl-2.1
3,801
[ "Gaussian" ]
67b47af872c09d90aa95203237dfb199a41d538171fb204605b44844300c32d1
# # 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...
ened/scancode-toolkit
tests/textcode/test_pdf.py
Python
apache-2.0
3,422
[ "VisIt" ]
42a7ec32630db1e6e60f378496b8abe0c4ce86d9b9cf976d73b2ce6c255270cd
__all__ = ["denoise_image"] from .. import utils from . import process_args as pargs from .get_mask import get_mask def denoise_image( image, mask=None, shrink_factor=1, p=1, r=3, noise_model="Rician", v=0 ): """ Denoise an image using a spatially adaptive filter originally described in J. V. Manjon,...
ANTsX/ANTsPy
ants/utils/denoise_image.py
Python
apache-2.0
2,321
[ "Gaussian" ]
a4521fe8ebd775a9fd8a518ed281f66f3c987b4774a58cb4445fdd95d1e4c65e
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkc1000/pyscf
pyscf/tools/chkfile_util.py
Python
apache-2.0
2,391
[ "PySCF" ]
6d47a3164d74b274d77f355484d7c0fd92724a3de8bbd8857375faa0123fbefc
#!/usr/bin/env python # install.py tool to download, compile, and setup the kim-api library # used to automate the steps described in the README file in this dir from __future__ import print_function import sys,os,re,subprocess # help message help = """ Syntax from src dir: make lib-kim args="-b -v version -a kim-...
ovilab/atomify-lammps
libs/lammps/lib/kim/Install.py
Python
gpl-3.0
8,533
[ "LAMMPS", "OpenKIM" ]
70b5ddc33ab7a115cfaa1abf4a556512e2b2c27e37c3d8028ce5952d7e14bb45
#!/usr/bin/env python ######################################################################## # $HeadURL$ # File : dirac-configuration-cli # Author : Adria Casajus ######################################################################## """ Dump DIRAC Configuration data """ from __future__ import print_function __...
petricm/DIRAC
ConfigurationSystem/scripts/dirac-configuration-dump-local-cache.py
Python
gpl-3.0
1,265
[ "DIRAC" ]
d5554507bb11bdb2a09d872ffac7d4ad4d44c7bd2d5cee6148d59507c2ea8b39
''' Spectral Extraction from a 2D image. Uses superextract written by Ian Crossfield and modified by JTF. superextract is based on optimal spectral extraction as detailed by Marsh (1989) and Horne (1986) Crossfield's version can be found at www.lpl.arizona.edu/!ianc/python/index.html Dependencies: superextract.py and s...
joshfuchs/ZZCeti_pipeline
spectral_extraction.py
Python
mit
19,950
[ "Gaussian" ]
62700ca9d48618b724403eedd78d2d588677e9e4d87f47a6df28291f9f23f4d1
#!/usr/bin/env python # Jonas Schnelli, 2013 # make sure the Bitcoin-Qt.app contains the right plist (including the right version) # fix made because of serval bugs in Qt mac deployment (https://bugreports.qt-project.org/browse/QTBUG-21267) from string import Template from datetime import date bitcoinDir = "./"; inF...
bryceweiner/Dirac
share/qt/clean_mac_info_plist.py
Python
mit
891
[ "DIRAC" ]
13a85077c824aa2b7c71592376e0f6604f3b82e52032c3b710beb3674ab8156f
# Copyright 2008-2013 by Peter Cock. All rights reserved. # # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Bio.AlignIO support for "emboss" alignment output from EMBOSS tools. You are expected t...
zjuchenyuan/BioWeb
Lib/Bio/AlignIO/EmbossIO.py
Python
mit
9,037
[ "Biopython" ]
51c0fa7bead5b4250deb6b4b7f1a12617d96fc718b74156669f34480b4df5005
from django import forms from django.utils import timezone import json import re from datetime import timedelta import logging from . import models from myvoice.survey import utils as survey_utils logger = logging.getLogger(__name__) VISIT_EXPR = ''' ^ # Start \s* ...
myvoice-nigeria/myvoice
myvoice/clinics/forms.py
Python
bsd-2-clause
6,902
[ "VisIt" ]
3581635d0aac042d4c29f654a7670c34eeec4a2dfe37ea611fdef9b280b11eef
#!/usr/bin/env python import math from astropy.time import Time import numpy as np def gauss_function(x, a, x0, sigma): return a*np.exp(-(x-x0)**2/(2*sigma**2)) def find_mag_weight(lim_mag, current_r): weight = np.minimum(np.maximum(1 - (lim_mag - current_r) * 0.3, 1e-3), 1) if (current_r > li...
astrofoley/des_spec_select
raisin_priority.py
Python
bsd-2-clause
12,658
[ "Galaxy" ]
865a8becc67b16031ac8d9a2effc2f838d4e8737cc28f88806420848c0542957
#!/usr/bin/env python import os, sys, re import pysam import threading usage = "\n\n\tusage: " + sys.argv[0] + " Chimeric.out.junction left.fq right.fq\n\n" if len(sys.argv) < 4: print >>sys.stderr, usage sys.exit(1) chimeric_junction_file = sys.argv[1] left_fq_filename = sys.argv[2] right_fq_filename = sy...
DISCAFUSE/DISCAFUSE
util/retrieve_SF_chimeric_reads.py
Python
bsd-3-clause
2,499
[ "pysam" ]
3eeef4acea88032927362ec717887e96c51d410e997b5b5aa0c77e26d7db5571
# Principal Component Analysis Code : from numpy import mean,cov,double,cumsum,dot,linalg,array,rank,size,flipud from pylab import * import numpy as np import matplotlib.pyplot as pp #from enthought.mayavi import mlab import scipy.ndimage as ni import roslib; roslib.load_manifest('sandbox_tapo_darpa_m3') import ro...
tapomayukh/projects_in_python
classification/Classification_with_kNN/Single_Contact_Classification/Scaled_Features/best_kNN_PCA/4_categories/test11_cross_validate_categories_1200ms_scaled_method_v.py
Python
mit
5,041
[ "Mayavi" ]
b1ef8b1bec2390f5b4a5061a2c7dffc234adf0bad94ac6c52e580f19a7dac02f
"""Module used for counting number of functions to get an estimate og how big the CFG should be""" import ast from pyt.cfg import generate_ast, get_call_names_as_string from pyt.project_handler import get_modules function_calls = list() functions = dict() classes = dict() class Counter(ast.NodeVisitor): def v...
KevinHock/rtdpyt
func_counter.py
Python
gpl-2.0
1,389
[ "VisIt" ]
a24d9eec7ee68537a772a78c1d4cef950643f008f1159d718dbdda4b66c094de
#!/usr/bin/env python #=============================================================================== # Copyright (c) 2014 Geoscience Australia # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions ar...
GeoscienceAustralia/agdc
deprecated/scene_kml_generator.py
Python
bsd-3-clause
20,073
[ "NetCDF" ]
05c8123199e815a25052acb94c4665bb852ba7795b09dbfa0caf31ec05864983
#!/usr/bin/env python2 # Copyright 2011, 2012 Alexandre Gravier (al.gravier@gmail) # This file is part of PyCogMo. # PyCogMo 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, o...
agravier/pycogmo
ui/graphical/pynn_to_visu.py
Python
gpl-3.0
6,685
[ "Brian", "NEURON" ]
1f52a49fc58daf1175de441b9f67482d4aae3ab3e28813a3758351843ed7d744
import numpy from shadow4.sources.source_geometrical.source_geometrical import SourceGeometrical if __name__ == "__main__": from srxraylib.plot.gol import plot,plot_scatter, set_qt set_qt() do_plot=True # rectangle gs = SourceGeometrical() gs.set_spatial_type_rectangle(4,2) rays = gs.cal...
srio/minishadow
examples/sources/examples_source_geometrical.py
Python
mit
2,908
[ "Gaussian" ]
98e102cdd77c5758dd85483758c0e6edd9d3dca5b8b412dd82dd63d6e59ff8a5
# -*- coding: utf-8 -*- # vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 ############################################################################### # OpenLP - Open Source Lyrics Projection # # ------------------------------------------------------...
marmyshev/item_title
openlp/plugins/songs/lib/mediaitem.py
Python
gpl-2.0
26,687
[ "Brian" ]
84f9469d1417d00b5645844388fa428b1167abf03b555b719b306de8fdd295d8
# courtesy of http://code.activestate.com/recipes/577781-pluralize-word-convert-singular-word-to-its-plural/ ABERRANT_PLURAL_MAP = { 'appendix': 'appendices', 'barracks': 'barracks', 'cactus': 'cacti', 'child': 'children', 'criterion': 'criteria', 'deer': 'deer', 'echo': 'echoes', 'elf':...
braddockcg/internet-in-a-box
scripts/pluralize.py
Python
bsd-2-clause
2,407
[ "CASINO" ]
513daa100f42e42d8bc2fc2c646e7a51fb9ea0c9c3a7c7283620c4f73f9fddd0
# -*- mode: python -*- # -*- coding: iso8859-15 -*- """Modification decision de jury """ from common import * # -> ici on est sur la page d'accueil du departement ! DeptURL = browser.url # Cherche un formsemestre_id: links = browser.find_link_by_partial_text('DUT') u = links[0]['href'] formsemestre_id = re.search( r'...
denys-duchier/Scolar
tests/test-jury.py
Python
gpl-2.0
1,776
[ "VisIt" ]
19f9bd0b65215e78baa947d8d28360baacda04e24abfff10c2fafd2adc8bf64d
# -*- coding: utf-8 -*- """ This file contains methods for lorentzian-like fitting, these methods are imported by class FitLogic. Qudi 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 Licen...
tobiasgehring/qudi
logic/fitmethods/lorentzianlikemethods.py
Python
gpl-3.0
45,608
[ "Gaussian" ]
2acb4b4ae5c48956426960413bf077de516389176efc93f73cc813c464d89ec6
import numpy from chainer.functions.noise import simplified_dropconnect from chainer import initializers from chainer import link from chainer import variable class SimplifiedDropconnect(link.Link): """Fully-connected layer with simplified dropconnect regularization. Notice: This implementation cannot ...
okuta/chainer
chainer/links/activation/simplified_dropconnect.py
Python
mit
4,271
[ "Gaussian" ]
ea85c82e5fb404a87d0a1cd97c0d74651bb4148cd23b28374f4e22dc10a1c958
""" PySCeS - Python Simulator for Cellular Systems (http://pysces.sourceforge.net) Copyright (C) 2004-2015 B.G. Olivier, J.M. Rohwer, J.-H.S Hofmeyr all rights reserved, Brett G. Olivier (bgoli@users.sourceforge.net) Triple-J Group for Molecular Cell Physiology Stellenbosch University, South Africa. Permission to us...
asttra/pysces
pysces/metatool/__init__.py
Python
bsd-3-clause
882
[ "PySCeS" ]
54d75c3ff99c5e01aa35bb735d61f9e77ac67ed5b54500eb14aa81a013c272c6
#!/usr/bin/env python # -*- coding: utf-8 -*- # Authors and copyright: # © 2012-2013, John Lehmann (first last at geemail dotcom or @jplehmann) # © 2012-2015, Rogério Brito (r lastname at ime usp br) # © 2013, Jonas De Taeye (first dt at fastmail fm) # # Contributions are welcome, but please add new unit t...
rajendranraja/coursera
coursera/coursera_dl.py
Python
lgpl-3.0
42,257
[ "VisIt" ]
d23c4160b6e13348a91533716b402237f2d3c4329a01ff82f0da466cecad85f7
#!/usr/bin/env py.test # -*- coding: utf-8 -*- """ This file contains snippets from the FEniCS book, and allows us to test that these can still run with future versions of UFL. Please don't change these and please do keep UFL compatible with these snippets as long as possible. """ import pytest from ufl import * from...
FEniCS/ufl
test/test_book_snippets.py
Python
lgpl-3.0
13,578
[ "ADF", "VisIt" ]
f61321a31e91feb164be2fb70a667524aa210df371a70263f48354b4562ac272
# -*- coding: utf-8 -*- # Copyright 2012 splinter authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. from __future__ import with_statement import os.path import re import sys import six from six.moves.urllib import parse import lxml.htm...
gjvis/splinter
splinter/driver/djangoclient.py
Python
bsd-3-clause
14,583
[ "VisIt" ]
89cf2d093fee95b7a98a7766c9a236a6ba4bd88d32f388553acfb20b4aaf5fa7
#!/usr/bin/python # (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # most of it copied from AWX's scan_packages module from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' module: package_fac...
atosorigin/ansible
lib/ansible/modules/package_facts.py
Python
gpl-3.0
15,180
[ "Brian" ]
d18771ed56c63179417d519447aa6a6f019f954ae858f1f1435dc4b6ba498a68
#!/usr/bin/env python __author__ = 'Duane Edgington' __copyright__ = '2013' __license__ = 'GPL v3' __contact__ = 'duane at mbari.org' __doc__ = ''' Master loader for all CANON activities in September 2011 and beyound Mike McCann and Duane Edgington and Reiko MBARI 15 August 2013 @var __date__: Date of last s...
josephmfaulkner/stoqs
stoqs/loaders/CANON/loadsep11.py
Python
gpl-3.0
16,582
[ "NetCDF" ]
51cc74f2676e7e964c45bf31b52a33b55ab3c488ffd346b30b7124b78d99f908
# -*- encoding:utf-8 -*- from __future__ import division, absolute_import, print_function import sys, textwrap from numpydoc.docscrape import NumpyDocString, FunctionDoc, ClassDoc from numpydoc.docscrape_sphinx import SphinxDocString, SphinxClassDoc from nose.tools import * doc_txt = '''\ numpy.multivariate_normal...
gamaanderson/artview
docs/sphinxext/numpydoc/tests/test_docscrape.py
Python
bsd-3-clause
17,864
[ "Gaussian" ]
2de273eca95c2085fbf617f7b6cce86de27c51c4e45c80375d45caf324297ae0
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
SKIRT/PTS
do/modeling/list_data.py
Python
agpl-3.0
1,249
[ "Galaxy" ]
87f1bd7086e56262bb0ceb706808506a7a6df69be1329591c483c79a472dfb0f
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
SKIRT/PTS
modeling/misc/examination.py
Python
agpl-3.0
52,178
[ "Galaxy" ]
12279a8c6b520286aed9bb49ca4fcb638de6cf5cb12ea789e4f215b0d239f4f7
# simple test of vmd tool # requires files/dump.peptide.only and files/dump.bond # uses gl and vcr tools to visualize peptide molecule with bonds v = vmd() v('menu main off') v.rep('VDW') v.new('files/peptide.pdb','pdb') v.flush() print "all done ... type CTRL-D to exit Pizza.py"
sn-amber/mylpp
examples/test_vmd.py
Python
gpl-2.0
283
[ "VMD" ]
284f7c79e406c9009aaa357edd7a14401769af23b4bc1ae6a0a19fef4f8e235c
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('visit', '0008_visit_is_completed'), ] operations = [ migrations.AlterField( model_name='visit', name...
koebbe/homeworks
visit/migrations/0009_auto_20150429_0450.py
Python
mit
433
[ "VisIt" ]
712198a56abc3afd24f5469133bb82eeb067fba1ff7de204f06745e98d264e2e
__author__ = 'baranbartu' import logging import plotly.tools as tls import plotly.plotly as py import plotly.graph_objs as go logger = logging.getLogger(__name__) def make_plot(logs, file_name): tls.set_credentials_file(username='memgraph', api_key='wb1kstdv2f') x = [li...
baranbartu/memgraph
memgraph/plot.py
Python
bsd-2-clause
638
[ "VisIt" ]
5b22ff76f39b9eecab04cdb73ba493e8cc3d9d02124344b9fb310131ba1e5e86
# -*- coding: utf-8 -*- # # pymatgen documentation build configuration file, created by # sphinx-quickstart on Tue Nov 15 00:13:52 2011. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # Al...
fraricci/pymatgen
docs_rst/conf.py
Python
mit
11,235
[ "pymatgen" ]
0093a22bde8a05cfc837c21c34197036f9ae7d06ac899fdcc7564070834a1de0
# # Copyright 2001 - 2006 Ludek Smid [http://www.ospace.net/] # # This file is part of IGE - Outer Space. # # IGE - Outer Space is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Lice...
OuterDeepSpace/OuterDeepSpace
libs/client/osci/client.py
Python
gpl-2.0
12,452
[ "Galaxy" ]
ade28db895912638ef25acc582968621100baabbd196a7904f2cebbf607c2af5
import bottle import beaker.middleware from bottle import route, redirect, post, run, request, hook from instagram import client, subscriptions from instagram.client import InstagramAPI CONFIG = { 'client_id': '923490f7659a44fb8a83db1a4134992f', 'client_secret': '58999a8bbb0c42e78213585de310cafe', 'redirec...
panda0881/pycharmtesting
Instagram_testing.py
Python
apache-2.0
2,065
[ "VisIt" ]
d87fe8085d25a26e6323eeef3aec71daddecaac20a697df0f2920395af89a1d0
# sourceclientgui.py: new for version 0.7 this provides the graphical # user interface for the new improved streaming module # Copyright (C) 2007-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU ...
leofiore/idjc
python/sourceclientgui.py
Python
gpl-2.0
120,039
[ "Amber" ]
d3bd1177bb183a6c51a40e6329a45f6d50a001aa6ef45db72e3bb50eb71d575e
#!/usr/bin/python # -*- coding: utf-8 -*- # # This module is also sponsored by E.T.A.I. (www.etai.fr) # 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...
tedder/ansible
lib/ansible/modules/cloud/vmware/vmware_guest.py
Python
gpl-3.0
133,958
[ "VisIt" ]
cc298d2f4260b55dae97864e48c820893bc649c09896aa7547bb7ba0df7e8e08
#!/usr/bin/python ######################################################################## # 28 July 2014 # Patrick Lombard, Centre for Stem Research # Core Bioinformatics Group # University of Cambridge # All right reserved. ######################################################################## import os, re, sys ...
pdl30/pyngsplot
pyngsplot/tools/peak_profiles.py
Python
mit
4,563
[ "HTSeq", "pysam" ]
a7f22b2efcebed8dc1acb974c9e230d4ebf0eebed3889b0ae2d02deebb7991ff
#========================================================================= # ast_visitor.py #========================================================================= # Collection of python ast visitors. import ast, _ast import inspect from pymtl import PyMTLError from pymtl.model.signals import Signal ...
cornell-brg/pymtl
pymtl/tools/simulation/ast_visitor.py
Python
bsd-3-clause
10,587
[ "VisIt" ]
dd26d95a6563e360584833479e006c112445c600d58e96a4255e66f19d04e022
# -*- coding: utf-8 -*- # # Copyright (c) 2018, 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. """Test Born-Oppenheimer molecular dynamics (BOMD) logfiles in cclib.""" import os import unittest __filedir__ = os.pat...
cclib/cclib
test/data/testBOMD.py
Python
bsd-3-clause
1,723
[ "cclib" ]
c37c55c38e0b4562bb2a069aa714258ac48ade44cc73994a2f8bd89fc003e015
""" This script can be used to derive statistics of background pixels. """ import matplotlib matplotlib.rc('text', usetex=True) matplotlib.rcParams['font.size'] = 17 matplotlib.rc('xtick', labelsize=14) matplotlib.rc('axes', linewidth=1.1) matplotlib.rcParams['legend.fontsize'] = 11 matplotlib.rcParams['legend.handlele...
sniemi/EuclidVisibleInstrument
analysis/analyseBackground.py
Python
bsd-2-clause
9,374
[ "Gaussian" ]
59f08aa9ba4572122996d7a366ace3daec5eb091a548a99434b809efd3e972dd
# -*- coding: utf-8 -*- # # Copyright 2008 - 2014 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 Foundation, e...
LunarLanding/Pythics
pythics/libproxy.py
Python
gpl-3.0
9,878
[ "Brian" ]
fafd2a5e3deeade2635d5c87bee97f3d2ce86cf72f52ca053068c3d741d27c5f
# ============================================================================== # plot rms maps # ============================================================================== import os import matplotlib.colorbar as mcb import matplotlib.colors as colors import matplotlib.pyplot as plt import numpy as np from matpl...
MTgeophysics/mtpy
legacy/plot_rms_map.py
Python
gpl-3.0
15,615
[ "VTK" ]
6dd8d5955d11c83986b7a4220984162b2df53065541407fec600f6ce51cc5d8c
from avatar2.targets import Target, TargetStates from avatar2.protocols.inception import InceptionProtocol, IPCortexM3 from avatar2.watchmen import watch class InceptionTarget(Target): ''' Inception is a framework to perform security testing of real world firmware programs. The inception target and protoc...
avatartwo/avatar2
avatar2/targets/inception_target.py
Python
apache-2.0
2,407
[ "VisIt" ]
92c49bb9450e2e4a0cdedbae2fa1917fc7aadd66c9983e6f8a241a378e36dd36
# -*- coding: utf-8 -*- """ This file is part of pyCMBS. (c) 2012- Alexander Loew For COPYING and LICENSE details, please refer to the LICENSE file """ """ This example shows how to mask a region which is specified from a shapefile """ from pycmbs.region import RegionShape from pycmbs.examples import download from py...
pygeo/pycmbs
demo/examples/mask_region_from_shapefile.py
Python
mit
2,032
[ "NetCDF" ]
01c60f6b75adf8c4c94ee92d6dbe2ed2c45c52023ab7e1a8de1492103c0c177a
# -*- coding: utf-8 -*- ## ## This file is part of Invenio. ## Copyright (C) 2010, 2011, 2012, 2013, 2014 CERN. ## ## Invenio is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License as ## published by the Free Software Foundation; either version 2 of the ## Licens...
lnielsen/invenio
invenio/legacy/batchuploader/engine.py
Python
gpl-2.0
29,464
[ "VisIt" ]
beb61c0463ffa9242341b530e9c31a06be8d3f2014f004ca693be65f419ce343
"""Perform realignment of BAM files around indels using the GATK toolkit. """ import os import shutil from contextlib import closing import pysam from bcbio import bam, broad from bcbio.bam import ref from bcbio.log import logger from bcbio.utils import file_exists from bcbio.distributed.transaction import file_trans...
SciLifeLab/bcbio-nextgen
bcbio/variation/realign.py
Python
mit
6,122
[ "pysam" ]
fee9972fbd3c8c47d5fb9b1b6b5ae76367a91825fa4d3b412975c3c3976fc982
""" .. module: FSRStools.fitting :platform: Windows .. moduleauthor:: Daniel Dietze <daniel.dietze@berkeley.edu> A comprehensive bundle of mathematical functions and routines for fitting experimental data. Provides methods for - polynomials, Lorentzians, Gaussians, Voigts, exponentials, etc. -...
ddietze/FSRStools
fitting/__init__.py
Python
gpl-3.0
68,660
[ "Gaussian" ]
2ab8cc1726e2006c150515ba4bcf751e3b62efa99b2898dc35a4c3f4ae37a583
#!/usr/bin/env python # Copyright 2017 Informatics Matters Ltd. # # 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...
InformaticsMatters/pipelines
src/python/pipelines/rdkit/poised_filter.py
Python
apache-2.0
12,972
[ "RDKit" ]
dd79d2f2255534dc4ab0a035c84dd070f241a7857b2c4ec02b97f293e3f34c07
import os import importlib import inspect import ast import re import glob2 import six import sklearn import pandas as pd from sklearn import base _identifier_re = re.compile(r'[^\d\W][\w\d_]*_$') if False: print(_identifier_re.match('foo')) print(_identifier_re.match('_foo')) print(_identifier_re.match(...
atavory/ibex
scripts/analyze_system_sklearn.py
Python
bsd-3-clause
3,456
[ "VisIt" ]
ac21226e2d49c8116b241fed36fcdba5620101faee32f43bedcceba17258938b
""" ================================== Advanced interactive visualization ================================== In dipy_ we created a thin interface to access many of the capabilities available in the Visualization Toolkit framework (VTK) but tailored to the needs of structural and diffusion imaging. Initially the 3D vis...
nilgoyyou/dipy
doc/examples/viz_advanced.py
Python
bsd-3-clause
10,243
[ "VTK" ]
12c93573ccc22af993eaef725e0f041a5e7e89efd8540c12e5153943807ba845
# -*- coding: utf-8 -*- from Products.CMFPlone.utils import safe_encode from zope.interface import implementer from zope.schema.interfaces import IVocabularyFactory from zope.schema.vocabulary import SimpleTerm from zope.schema.vocabulary import SimpleVocabulary @implementer(IVocabularyFactory) class SampleType(objec...
OpenBfS/dokpool-plone
Plone/src/docpool.doksys/src/docpool/doksys/vocabularies/sample_type.py
Python
gpl-3.0
15,423
[ "MOOSE" ]
df2634694c2f0a29b26e6766ed72a5657238f589da6017db5fcb56a26b8600f6
# coding: utf-8 """ Module to parse BED12 objects. Much more basic than what PyBedtools could offer, but at the same time more pythonic. """ from time import sleep import os from Bio import Seq import Bio.SeqRecord from .parser import Parser from sys import intern import copy from ..exceptions import InvalidParsingFo...
lucventurini/mikado
Mikado/parsers/bed12.py
Python
lgpl-3.0
71,528
[ "Biopython", "pysam" ]
305176caa3d25e6dd98f587821c48d3aa00e2b637518696ccef06eaefc06a8ac
""" Acceptance tests for the teams feature. """ import json import random import time from uuid import uuid4 import ddt from dateutil.parser import parse from selenium.common.exceptions import TimeoutException from six.moves import map, range from common.test.acceptance.fixtures import LMS_BASE_URL from common.test...
cpennington/edx-platform
common/test/acceptance/tests/lms/test_teams.py
Python
agpl-3.0
84,427
[ "VisIt" ]
c8937304371691ab2306ce5a6a16fab67c3fc9e92ce96f329b6f9321739df805
# -*- Mode: Python -*- # GDBus - GLib D-Bus Library # # Copyright (C) 2008-2011 Red Hat, Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at ...
michalliu/OpenWrt-Firefly-Libraries
staging_dir/host/share/glib-2.0/codegen/config.py
Python
gpl-2.0
992
[ "Firefly" ]
33140198ef8138fed90a015a45f52b2509ecaa5e8c0117a974436491245402ac
""" The :mod:`Diagnostic` module provides several commonly useful algorithms that operate on abstract syntax trees. """ from __future__ import absolute_import, division, print_function, unicode_literals from . import ast class Visitor: """ A node visitor base class that does a traversal of the abstract sy...
google/grumpy
third_party/pythonparser/algorithm.py
Python
apache-2.0
4,164
[ "VisIt" ]
a7620e92d0e1a131a724a00aa717f7d4a8b9dab0e1623d16b8d4ad5c647f255d
#!/usr/bin/env python2.7 #(c) 2015-2016 by Authors #This file is a part of Nano-Align program. #Released under the BSD license (see LICENSE file) """ This module estimates fluctuation frequency of blockades, which is associated with a protein length and other features """ from __future__ import print_function import...
fenderglass/Nano-Align
plotting/frequency-features.py
Python
bsd-2-clause
5,278
[ "Gaussian" ]
f030cdb88a46cfee924d174ad31c4ea26d32acb454a3576fc0eb2db08f718530
# Copyright (c) 2008,2015,2016,2017,2018 MetPy Developers. # Distributed under the terms of the BSD 3-Clause License. # SPDX-License-Identifier: BSD-3-Clause """Contains a collection of basic calculations. These include: * wind components * heat index * windchill """ from __future__ import division import warnings ...
jrleeman/MetPy
metpy/calc/basic.py
Python
bsd-3-clause
25,194
[ "Gaussian" ]
7538ea2a75a2d787369d3d1cd8fc80c794b7dafa8b116b856d0f9b5f7d805ecd
#!/usr/bin/env python import os import sys import store def populate_users(): # Admin os.system("python manage.py syncdb --noinput") os.system("python manage.py createsuperuser --username=admin --email=admin@example.com") for u in store.users: # Normal users u['USERNAME'] = add_user(u['U...
enisozgen/haqiba
populate_haqiba.py
Python
gpl-3.0
25,916
[ "VisIt" ]
7ba2f2173fdc45704f47eccf1203c3e9273906b75e9eb1818694b649d18b6ce3
""" client1.py Copyright 2016 Brian Romanchuk Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
brianr747/Simple4Xpygame
client_observer.py
Python
apache-2.0
8,117
[ "Brian" ]
bfb35ab39d268705cab5a35b025c39163b0dc7abd6223f084898f75342e75006
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from urllib.parse import urlsplit, urlparse, parse_qs, urljoin, quote_plus except: from urlparse import urlsplit, urlparse, parse_qs, urljoin from urllib import quote_plus import json import os import re import time import urllib import traceback from bas...
alfa-addon/addon
plugin.video.alfa/lib/unshortenit.py
Python
gpl-3.0
22,834
[ "ADF" ]
fb8adc10248a7bbdefd251dfed69fb5fa283498080dbb6763e43564c21c8d1ad
#!/usr/bin/env python ''' Using the CCSD method as the active space solver to compute an approximate CASCI energy. See also 42-oo_ccd.py A wrapper is required to adapt the CCSD solver to CASCI fcisolver interface. Inside the wrapper function, the CCSD code is the same as the example 40-ccsd_with_given_hamiltonian.py...
gkc1000/pyscf
examples/cc/42-as_casci_fcisolver.py
Python
apache-2.0
1,920
[ "PySCF" ]
e8af8fbe7896aee40d754dea46fb49270a384ba1e3ef53e64a38daaa98a9d522
# Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. from __future__ import absolute_import from wtforms import validators from ..forms import ModelForm from origae import utils class ImageModelForm(ModelForm): """ Defines the form used to create a new ImageModelJob """ crop_size = ...
winnerineast/Origae-6
origae/model/images/forms.py
Python
gpl-3.0
4,627
[ "Gaussian" ]
22ee72f626003088e90e6e34622ad136629b1aa25ac767fb387b29e70517b9a7
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals, print_function import warnings from pymatgen.util.testing import PymatgenTest from pymatgen.core.periodic_table import Element, Specie from pymatgen.core.comp...
czhengsci/pymatgen
pymatgen/core/tests/test_structure.py
Python
mit
55,023
[ "pymatgen" ]
6b53daa6fdab259b999ac2de63d34ac980e942bf53d8248544f48d5d2f07f57c
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) class Elmerfem(CMakePackage): """Elmer is an open source multiphysical simulation software. It includes physical ...
LLNL/spack
var/spack/repos/builtin/packages/elmerfem/package.py
Python
lgpl-2.1
5,075
[ "NetCDF", "ParaView" ]
e2288d4f3bf865d502242cf26c5fc7106010159683214369ed9b6977a6a38f5a
#!/usr/bin/env python """ Copyright 2016 Brian Quach Licensed under MIT (https://github.com/brianquach/udacity-nano-fullstack-conference/blob/master/LICENSE) # noqa """ from protorpc import messages class HandState(messages.Enum): """Represents which game state the hand is in. Attributes: STARTING: ...
brianquach/udacity-nano-fullstack-game
enum.py
Python
mit
479
[ "Brian" ]
86b39765a4c8483854f53c1e5e1d6755a82fdaf6299a8b77108b7597866ba724
""" Everything you need to solve inverse problems! This package provides the basic building blocks to implement inverse problem solvers. The main class for this is :class:`~fatiando.inversion.base.Misfit`. It represents a data-misfit function and contains various tools to fit a model to some data. All you have to do i...
seancug/python-example
fatiando-0.2/fatiando/inversion/__init__.py
Python
gpl-2.0
6,540
[ "Gaussian" ]
348496665de3c2545c37deb96a1ca1ef0f2c0d1d7da06b40906f3ee28184ec06
import load_data import pysex import numpy as np import multiprocessing as mp import cPickle as pickle """ Extract a bunch of extra info to get a better idea of the size of objects """ SUBSETS = ['train', 'test'] TARGET_PATTERN = "data/pysex_params_gen2_%s.npy.gz" SIGMA2 = 5000 # 5000 # std of the centrality weig...
OwaJawa/kaggle-galaxies
extract_pysex_params_gen2.py
Python
bsd-3-clause
3,889
[ "Galaxy", "Gaussian" ]
7fc540fbf4970e9b32a065f5fa7ec2fde7cbae09c36609f7cd62d1d25ab70374
# -*- coding: utf-8 -*- # # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2009 Brian G. Matherly # # 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 Fr...
beernarrd/gramps
gramps/gen/utils/grampslocale.py
Python
gpl-2.0
46,043
[ "Brian" ]
5717d30390b3a2388657f2a6a86991fb73c4ac84f86e063d4d34d1a0ed9b2b69
############################################################################## # Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
krafczyk/spack
var/spack/repos/builtin/packages/r-yarn/package.py
Python
lgpl-2.1
2,526
[ "Bioconductor" ]
1c770297191574bdb000ed12b7f9167f62e519e9fafab3e12b0ac387f5320895
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
googleapis/python-monitoring
tests/unit/gapic/monitoring_v3/test_alert_policy_service.py
Python
apache-2.0
100,729
[ "Octopus" ]
0a7b91486dbe294f7761d81ec7d5421d4b5fff7f0cb69b51095254fa3d6a0cab
# This example illustrates molecular transport of an oscillatory reaction # system, along a closed-end cylinder. The concentrations along the entire # length of the cylinder start out uniform. It shows an interesting # combination of propagating oscillations and buildup of reagents. # Author: Upinder Bhalla # Conver...
BhallaLab/moose-core
tests/rdesigneur/test_74_travelling_osc.py
Python
gpl-3.0
3,280
[ "MOOSE" ]
de01359358395bc21a31dacbc13885c639efc01eded966bb4ae21a76d012a1c3
# -*- coding: utf-8 -*- import os # import numpy as np # from numpy.linalg import eigh, solve from ase.optimize.optimize import Optimizer # from ase.data import atomic_numbers from ase.gxfile import gxread, gxwrite, is_dummy # conversion factors to Anstrom and eV from ase.units import Bohr, Hartree # for usage in the ...
alexei-matveev/ase-local
ase/optimize/gxoptimizer.py
Python
gpl-2.0
4,961
[ "ASE" ]
ccffa23fa41d12f03ec4ebf48f0bfffd96d741a7f61a3f908005dae7d64b1e4f
"""Module to test creation of bucket list and bucket list items.""" import unittest import json from app import create_app, db class BucketlistTestCase(unittest.TestCase): """Class containing bucket list test cases""" def setUp(self): self.app = create_app(config_name='testing') self.client = ...
freshprincekla/Bucketlist-api
tests/test_bucketlist.py
Python
gpl-3.0
15,629
[ "Brian" ]
d79d92f20353df358f83dc5615cab764800cda5ba0bfa19f2d6f4c4f336dd3de
# __author__ = 'Kael Zhang <i@kael.me>' import json import hashlib from .walker import Walker from . import tools from . import module class Neuron(object): ''' ''' def __init__(self, dependency_tree = {}, resolve = None, debug = Fa...
neuron-js/pyneuron
neuronjs/main.py
Python
mit
8,724
[ "NEURON" ]
485ed1e968f6f951dfdc3023013a78647362c5d4e58813302afbf1111816813d
#!/usr/bin/env python3 #* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details #* https://www.gnu.org/licenses/lgp...
nuclear-wizard/moose
modules/porous_flow/doc/content/modules/porous_flow/tests/dirackernels/dirackernels.py
Python
lgpl-2.1
3,843
[ "MOOSE" ]
d28a9034e1e5aabbe34bf95a813a744cda79b4a4c078d95eeb44445b14dbba02
"""The config flow tests for the forked_daapd media player platform.""" from unittest.mock import AsyncMock, patch import pytest from homeassistant import data_entry_flow from homeassistant.components import zeroconf from homeassistant.components.forked_daapd.const import ( CONF_LIBRESPOT_JAVA_PORT, CONF_MAX_...
mezz64/home-assistant
tests/components/forked_daapd/test_config_flow.py
Python
apache-2.0
8,652
[ "Firefly" ]
136a72adff78357019770c1519e3cee8dd7dda2b74f1a2caab6eaea32e8f2d80
import numpy as np np.random.seed(0) import ipdb import matplotlib.pylab as pl import cPickle as pickle nfit_default = 10000 def main(): download_data() embed_and_save() make_big_image() def make_big_image(nfit=nfit_default, force_grid=False, density=1.0, npix_horizontal=6000, npix_v...
rkeisler/tsne_galzoo
tsne_galzoo.py
Python
mit
6,230
[ "Gaussian" ]
4d68aacd9639824c3fcce1bacf2f8d6944ce47e49563f8abc569f2c43b1fe658
""" This sample demonstrates a simple skill built with the Amazon Alexa Skills Kit. The Intent Schema, Custom Slots, and Sample Utterances for this skill, as well as testing instructions are located at http://amzn.to/1LzFrj6 For additional samples, visit the Alexa Skills Kit Getting Started guide at http://amzn.to/1LG...
ItsNotABugItsAFeature/transcribe
alexa/talkAbout.py
Python
mit
9,251
[ "VisIt" ]
4c41ef9be31993edbc693671c3e5218eb5283a8dac6aa110cf1f7e480bfbf066
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2013,2014 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...
sehrhardt/espresso
samples/python/not-working/thermostat_test.py
Python
gpl-3.0
1,207
[ "ESPResSo" ]
d0eceb84fb4a4b65d31150e260c7aab6f4e4be9827feab6b38cee6a8960ac24e
import sqlite3,os def insert_row(cur,table,row): ''' cur can be connection or cursor insert row into table guess data types from row elements use None for NULL value ''' cmd = "insert into %s values ("%table for x in row: if x == None: cmd += 'NULL,' ...
robertvi/rjv
sql.py
Python
gpl-2.0
7,426
[ "BLAST" ]
1982b0c8e604e46ebfd19e5ae677e2fc9be7086d1d6191b84743fb98a548d443
#! /usr/bin/env python # ====================================================================== # matscipy - Python materials science tools # https://github.com/libAtoms/matscipy # # Copyright (2014) James Kermode, King's College London # Lars Pastewka, Karlsruhe Institute of Technology # # This progr...
marcocaccin/crack2Dglass
run_crack_thin_strip.py
Python
gpl-2.0
5,303
[ "ASE", "Matscipy" ]
e0b4da4b6aac552cd4781ac670b1bda81f6e3bd5a5f0938dfe4284f7fd3ae127
#!/usr/bin/env python """ .. See the NOTICE file distributed with this work for additional information regarding copyright ownership. 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 ...
Multiscale-Genomics/mg-process-fastq
process_hic.py
Python
apache-2.0
10,515
[ "BWA" ]
a0bce0b704ce5514af99343d3de9879cf34728b34e19bb4cc7f0a28b2876b774
# Copyright 2012-2014 Brian May # # This file is part of python-tldap. # # python-tldap is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version....
brianmay/python-tldap-debian
tldap/query_utils.py
Python
gpl-3.0
1,712
[ "Brian" ]
92c48cbda0714ac6c4b858f4afb75147592c455408f21fcc70fb6c2b18844e68
../../../../share/pyshared/orca/orca_gui_main.py
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/python2.7/dist-packages/orca/orca_gui_main.py
Python
gpl-3.0
48
[ "ORCA" ]
1c033bb2ba2a7b2b344f03fa525da9ed40ce2033f99a2777c79b0589cf166acf
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- ### BEGIN LICENSE # Copyright (C) 2014 Brian Douglass bhdouglass@gmail.com # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3, as published # by the Free Softwa...
bhdouglass/agui
agui/backends/gtk/widgets/file_chooser.py
Python
gpl-3.0
1,898
[ "Brian" ]
e45026f733a074ed7f15da0da09671700571a07d11e382be3a8909122836f16d
#!/usr/bin/env python # -*- coding: utf-8 -*- # HORTON: Helpful Open-source Research TOol for N-fermion systems. # Copyright (C) 2011-2017 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 Licens...
QuantumElephant/horton
tools/harmonics.py
Python
gpl-3.0
8,758
[ "Gaussian" ]
84b56d4cfd9563828615ad0643e6cc2bc6ec2869d1d3481a0a1a7990fc12ad89
#!/bin/env python import sys, os # Set sys.path cwd = os.getcwd () sys.path.append ( cwd ) # Now import module import torquefilter from torquefilter import error current_job = torquefilter.torqueFilter () current_job.illComm ( ['qsub', 'msub', 'ssh', 'scp'] ) current_job.checkQueue ( ['comm_mmem_week', 'comm_mmem_...
carlise/libtorque
testsuite/function/scripts/filter.py
Python
gpl-3.0
2,569
[ "VisIt" ]
ca70533ead21cb49388730fc888331f888dda08ff17b3d9ecd29f81d7843f04f
# $HeadURL$ __RCSID__ = "$Id$" import threading import thread import time import random from DIRAC.ConfigurationSystem.Client.ConfigurationData import gConfigurationData from DIRAC.ConfigurationSystem.Client.PathFinder import getGatewayURLs from DIRAC.FrameworkSystem.Client.Logger import gLogger from DIRAC.Core.Utilit...
coberger/DIRAC
ConfigurationSystem/private/Refresher.py
Python
gpl-3.0
6,545
[ "DIRAC" ]
8fb4e840fe72a27b6cdc7a893da8c8e03e555721ad928944d64c563bc7843bae
''' @created_at 2014-06-09 @author Exequiel Fuentes <efulet@gmail.com> @author Brian Keith <briankeithn@gmail.com> ''' # Se recomienda seguir los siguientes estandares: # 1. Para codificacion: PEP 8 - Style Guide for Python Code (http://legacy.python.org/dev/peps/pep-0008/) # 2. Para documentacion: PEP 257 - Docst...
efulet/laberinto
laberinto/test/__init__.py
Python
mit
383
[ "Brian" ]
6209a1f3446b62c630ecef580e5466495f101f36b2df133a2d80ba74e114caa9
import os from django.db import models from django.utils.encoding import smart_unicode from spirit.models import User from behaviouralExperimentDefinition.models import behaviourExperimentType_model from datetime import datetime import uuid #from django.contrib.auth import get_user_model # # #User = get_user_model() fr...
Si-elegans/Web-based_GUI_Tools
booking/models.py
Python
apache-2.0
9,157
[ "NEURON" ]
5f836d9a21d5799065ba1e8dd60d8463107e5ea278aacd0726180f7273ac39b9