text
stringlengths
12
1.05M
repo_name
stringlengths
5
86
path
stringlengths
4
191
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
12
1.05M
keyword
listlengths
1
23
text_hash
stringlengths
64
64
#!/usr/bin/env python # -*- coding: utf-8 -*- """Spectral feature extraction""" import numpy as np import scipy import scipy.signal import scipy.fftpack from .. import util from .. import filters from ..util.exceptions import ParameterError from ..core.time_frequency import fft_frequencies from ..core.audio import z...
carlthome/librosa
librosa/feature/spectral.py
Python
isc
60,700
[ "Gaussian" ]
0febd90f6407a82d22b37b23aa1fbc2c69c3846ee4873ea397d1a93cb4a05720
# coding=utf-8 """ Tests for the course home page. """ from datetime import datetime, timedelta import ddt import mock import six from django.conf import settings from django.http import QueryDict from django.urls import reverse from django.utils.http import urlquote_plus from django.utils.timezone import now from p...
edx-solutions/edx-platform
openedx/features/course_experience/tests/views/test_course_home.py
Python
agpl-3.0
47,290
[ "VisIt" ]
c2055e842bbe11fbf297074bb8d15c8b6ae8902d8a2e08b94e721fa0543d5976
# Copyright 2007 by Tiago Antao <tiagoantao@gmail.com>. 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. """ This module allows to control fdist. This will allow to call fdist...
bryback/quickseq
genescript/Bio/PopGen/FDist/Controller.py
Python
mit
11,154
[ "Biopython" ]
401acbd4fd3fe0f7ee511991a64576f88514a9e5e6d69147b9e97efebbb375d8
#!/usr/bin/env python # -*- coding: utf-8 -*- # freeseer - vga/presentation capture software # # Copyright (C) 2013, 2014 Free and Open Source Software Learning Centre # http://fosslc.org # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public Licens...
Freeseer/freeseer
src/freeseer/frontend/cli.py
Python
gpl-3.0
13,796
[ "VisIt" ]
b1355083140f3ca0c6b2efeb70dc489f97e1791d26ee01907106b98ba7e1f3b2
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any lat...
ownport/ansiblite
src/ansiblite/template/safe_eval.py
Python
gpl-3.0
4,824
[ "VisIt" ]
8eafc85516da2328aecad47a744b2e41a4c7b42f696e3242882f013b7b0f2077
from httplib2 import Http import json import sys print "Running Endpoint Tester....\n" address = raw_input("Please enter the address of the server you want to access, \n If left blank the connection will be set to 'http://localhost:5000': ") if address == '': address = 'http://localhost:5000' #GET AUTH CODE clien...
AtmaMani/pyChakras
udacity_restful_apis/lesson_4/11_Pale Kale Ocean Eats/starter_code/veggie_tester.py
Python
mit
1,201
[ "VisIt" ]
8b7bfa2c5dbb75a1f578dcc84190cec7b517a8261fb4e1db709823e85a00b39b
#!/usr/bin/env python # Copyright 2015 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
nicksardo/ingress
hack/boilerplate/boilerplate.py
Python
apache-2.0
6,271
[ "VisIt" ]
15cb5b891bbea35ede27f9027a2bfeec54ec2a8b1527db815a3bb1819eb21bc1
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe from frappe.utils import add_days, getdate, cint from frappe import throw, _ from erpnext.utilities.transaction_base import Transacti...
indictranstech/focal-erpnext
support/doctype/maintenance_schedule/maintenance_schedule.py
Python
agpl-3.0
9,816
[ "VisIt" ]
c5d3e7a44fd546b5627d1183470faf73ad6688d2e76f42e89c5ae0f67fec06b0
from __future__ import print_function from pyiid.tests import * import numpy as np from pyiid.calc.spring_calc import Spring from ase import Atom from unittest import SkipTest from builtins import range import pytest __author__ = 'christopher' def check_meta(value): value[0](value[1:]) def check_voxel_nrg(valu...
CJ-Wright/pyIID
pyiid/tests/test_calc/test_spring.py
Python
bsd-3-clause
2,315
[ "ASE" ]
f40dcf79f56658426286ca1cc9dba5cf54dc81b1bad1fd04e4a745c0381cd97c
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ Created on Nov 10, 2012 @author: shyue """ import random import unittest from pymatgen.core.composition import ChemicalPotential, Composition from pymatgen.core.periodic_table import Element, Species from pymatgen.util.t...
vorwerkc/pymatgen
pymatgen/core/tests/test_composition.py
Python
mit
25,901
[ "pymatgen" ]
a0a48f067bbd1f7497a41cb21900a4eba0dec9f499f1d7c33c273f35a799599a
''' Test_RSS_Policy_FreeDiskSpacePolicy ''' from __future__ import absolute_import from __future__ import division from __future__ import print_function # pylint: disable=protected-access import unittest import DIRAC.ResourceStatusSystem.Policy.FreeDiskSpacePolicy as moduleTested ###################################...
yujikato/DIRAC
src/DIRAC/ResourceStatusSystem/Policy/test/Test_RSS_Policy_FreeDiskSpacePolicy.py
Python
gpl-3.0
3,745
[ "DIRAC" ]
6bf2a2d12bee741e3bd714b9e3d4959835e4685a88fba169e41eebbfaf42a33b
# Copyright (C) 2019 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later versio...
KaiSzuttor/espresso
testsuite/scripts/tutorials/test_04-lattice_boltzmann_part3_solution.py
Python
gpl-3.0
1,097
[ "ESPResSo" ]
889516696b2c3c2103e788be1b5e8e632fdd7d87b6b4370346875641bf06919f
""" Optimization for Python costly pattern. """ from pythran.conversion import mangle from pythran.analyses import Check, Placeholder from pythran.passmanager import Transformation from copy import deepcopy import gast as ast class Pattern(object): def match(self, node): self.check = Check(node, dict()...
pombredanne/pythran
pythran/optimizations/pattern_transform.py
Python
bsd-3-clause
13,159
[ "VisIt" ]
a45b2b9646bbf1859482c93c18cf5739308747e7ce7127f313b1a3bce888560c
import os import sys import time import numpy as np import theano import theano.tensor as T from theano.sandbox.cuda.basic_ops import gpu_contiguous # implementing Gaussian layer # this is for now limited to diagonal covariance matrix class Gaussian(object): """ Initialize from xml definition node """ def _...
mohsenmalmir/DeepLearningStack
DeepLearningStack/RL/Gaussian.py
Python
mit
3,473
[ "Gaussian" ]
8a0e5c68c2adaeefc79e47f3c206bb64f8cf2b83b2df3069b6ac90bee94c2544
import sympy.mpmath from sympy.mpmath import * from sympy.mpmath.libmp import * import random import sys try: long = long except NameError: long = int def test_type_compare(): assert mpf(2) == mpc(2,0) assert mpf(0) == mpc(0) assert mpf(2) != mpc(2, 0.00001) assert mpf(2) == 2.0 assert mpf...
wolfram74/numerical_methods_iserles_notes
venv/lib/python2.7/site-packages/sympy/mpmath/tests/test_basic_ops.py
Python
mit
15,143
[ "Gaussian" ]
dc6a0ba3247c4280757bc364767b4c2a013d9fd0e890c678cb628a5e5c5bc976
# # tsne.py # # Implementation of t-SNE in Python. The implementation was tested on Python 2.5.1, and it requires a working # installation of NumPy. The implementation comes with an example on the MNIST dataset. In order to plot the # results of this example, a working installation of matplotlib is required. # The ...
mikecunha/pycon_reco
tsne3.py
Python
apache-2.0
5,325
[ "Gaussian" ]
11b1831de5396cac76f1374b512ec7f3ccd05b9388a54792a934e8634cdb9aea
# Most of this code is: # (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org) # Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php # The server command includes the additional header: # For discussion of daemonizing: # http://aspn.activestate.com/ASPN/C...
galaxyproject/pulsar
pulsar/util/pastescript/serve.py
Python
apache-2.0
36,220
[ "Galaxy" ]
74aa535a7f9af4c51e83fffd57420ae660fe7a9df4c0c7fe5849efeea890568f
# ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------------------------------...
Kleptobismol/scikit-bio
skbio/parse/record_finder.py
Python
bsd-3-clause
6,987
[ "scikit-bio" ]
e32d2aa90f4a4268720aab9a640415ba7cd85301d1a233d163c361584bc76812
""" Module for implementing helper functions. """ from numbers import Number try: from collections.abc import MutableMapping except ImportError: from collections import MutableMapping from collections import defaultdict import math import numpy as np import sympy as sp from scipy.fftpack import dct from shenfun...
spectralDNS/shenfun
shenfun/utilities/__init__.py
Python
bsd-2-clause
16,656
[ "Mayavi" ]
ad33645e01899c4446781656f7128acf648d3985fe2b509e25e717985d069733
import os, pdb, platform, time, warnings import ctypes as ct import numpy as np import scipy.sparse as sp MAX_ONES = 1024*1024*32 if platform.system() == 'Windows': _cudamat = ct.cdll.LoadLibrary('libcudamat.dll') else: _cudamat = ct.cdll.LoadLibrary(os.getcwd() + '/cudamat/libcudamat.so') _cudamat.get_last_...
y0ast/unsupervised-videos
cudamat/cudamat.py
Python
mit
72,481
[ "Gaussian" ]
4e2ea68ca8f9358e7ef03522b74f3045ef96eaedae4c5b0d96ab0846479a5c1e
import re from itertools import product, permutations, combinations from collections import defaultdict from rdkit import Chem from .functions import mol_to_smarts __author__ = 'pavel' patt_remove_map = re.compile("\[\*\:[0-9]+\]") # to change CC([*:1])O to CC([*])O patt_remove_h = re.compile("(?<!\[)H[1-9]*(?=:[0-...
DrrDom/crem
crem/mol_context.py
Python
bsd-3-clause
11,778
[ "RDKit" ]
9133a4c2a056f511b734dc60838d06fc01ce70be53c3aee72563353725625709
# # gPrime - A web-based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007-2012 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # Copyright (C) 2012-2014 Paul Franklin # # This program is free software; you can redistribute it and/or modify # it under the terms of the G...
sam-m888/gprime
gprime/plugins/textreport/ancestorreport.py
Python
gpl-2.0
14,115
[ "Brian" ]
c0c9435eba765030050a121e5541d6857b2f91cfbbb35504cee4d1c443fcc951
# -*- coding: utf-8 -*- ## ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN. ## ## CDS 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 versio...
lbjay/cds-invenio
modules/bibedit/lib/refextract.py
Python
gpl-2.0
275,239
[ "DIRAC" ]
c4b099054ccabc56b7446602025855c6d48b3654a659a8eb3c3c7292d9ffb2aa
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> # Some Illumina reads from ancient DNA samples were found to contain an inverted repeat # with a different sequence inbetween # in other words, the first x bases of a read are the reverse complement of the last x bases # This script is meant to clip the ...
lexnederbragt/inverted_repeats
clip_inverted_repeats.py
Python
unlicense
7,738
[ "Biopython" ]
cb8f777bb8ecf8ecaed4ae9e3c888b529749c79062999a74d2b45c597ecd4c4d
#!/usr/bin/env python import vtk from vtk.test import Testing from vtk.util.misc import vtkGetDataRoot VTK_DATA_ROOT = vtkGetDataRoot() # Create the RenderWindow, Renderer and both Actors # ren1 = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.SetMultiSamples(0) renWin.AddRenderer(ren1) iren = vtk.vtkRenderWi...
HopeFOAM/HopeFOAM
ThirdParty-0.1/ParaView-5.0.1/VTK/Filters/Core/Testing/Python/TestSynchronizedTemplates2D.py
Python
gpl-3.0
1,438
[ "VTK" ]
b3a7336c43b0d8c24164ba387a8393f0f4588dfc1b5d02b43b6f8a7f8588932a
""" Tests for vasp package. """
materialsproject/custodian
custodian/vasp/tests/__init__.py
Python
mit
32
[ "VASP" ]
38c0761b6df7b9e488df4cead1c078422013dc1387ddb59654be70bd9943e7e7
################################################################################# ## _________ ____ ________ _______ __ _____ __ __ __________ __ ## / ____/ | / __ \/_ __/ / / / ___// / / / | / //_// ____/ __ \/ / ## / __/ / /| | / /_/ / / / / /_/ /\__ \/ /_/ / /| | / ,< / __/ / /_/ / / ## ...
scottdanesi/earthshaker-aftershock
rightramp.py
Python
gpl-3.0
7,953
[ "VisIt" ]
9db04ebcbea27cc325445c6330039c6e949273f1621796ddd65f166b12740821
# coding: utf-8 """ Vericred API Vericred's API allows you to search for Health Plans that a specific doctor accepts. ## Getting Started Visit our [Developer Portal](https://developers.vericred.com) to create an account. Once you have created an account, you can create one Application for Production and an...
vericred/vericred-python
test/test_formulary_response.py
Python
apache-2.0
10,045
[ "VisIt" ]
0914b8776a5a6f6ad0977244f4cffef468e3539e3c6d8927fb9e520d93a65788
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe from frappe.utils import add_days, getdate, cint, cstr from frappe import throw, _ from erpnext.utilities.transaction_base import Transa...
manassolanki/erpnext
erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.py
Python
gpl-3.0
9,319
[ "VisIt" ]
73de1f12d45bca3de9e94d456edc439d388a8f47a64901650378bcae7ffeed50
""" Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [1,2,3]. Note: Recursive solution is trivial, could you do it iteratively? """ # Definition for a binary tree node class TreeNode: def __init__(self, x): se...
Ahmed--Mohsen/leetcode
tree_pre_order.py
Python
mit
908
[ "VisIt" ]
74173f73bbf1d651c1e2248210c0dabc693b46782928d312c87108d4256fa298
# pylint: disable=C0111 from lettuce import world, step from selenium.webdriver.common.keys import Keys from xmodule.modulestore.django import modulestore VIDEO_BUTTONS = { 'CC': '.hide-subtitles', 'volume': '.volume', 'play': '.video_control.play', 'pause': '.video_control.pause', 'handout': '.vi...
c0710204/edx-platform
cms/djangoapps/contentstore/features/video.py
Python
agpl-3.0
8,655
[ "VisIt" ]
e6141eaff902032ed73b190080f6916888d543676f1ab885fa5a245881efb7cf
# -*- coding: utf-8 -*- # python-holidays # --------------- # A fast, efficient Python library for generating country, province and state # specific sets of holidays on the fly. It aims to make determining whether a # specific date is a holiday as fast and flexible as possible. # # Author: ryanss <ryanssdev@icl...
ryanss/python-holidays
holidays/countries/chile.py
Python
mit
3,698
[ "COLUMBUS" ]
1104ab60e9a5db626a53cd4405853dd9ff2f85dcf975346699980cdd5fc2fe82
import os, random, time from django.conf import settings from django.core.urlresolvers import reverse from rest_framework import serializers from rest_framework.generics import ListCreateAPIView from rest_framework.response import Response from rest_framework.views import APIView def path(filename): return '{}{}'...
caffeinehit/coffeeport
coffeeport/app/views.py
Python
mit
4,457
[ "Galaxy" ]
232f6e3ca052e372a1294a8b8e9ec66c3ef8c73c2ea8aabece377ca2caedf395
from . import Visitor class MetaVisitor(Visitor): def visit(self, entity): self.stack = [entity] while len(self.stack): entity = self.stack.pop() next = self.internal_visit(entity) if next is not None: self.stack.extend(next) def internal_visit(self, entity): method = 'visit_' + entity.__cl...
stlemme/python-dokuwiki-export
visitor/metavisitor.py
Python
mit
453
[ "VisIt" ]
a1ec7c7b1bdfb7c754afce106e9353736d4d34dc01529ee4d38228db062743b4
import logging import pyrat import scipy as sp from scipy import optimize as opt import numpy as np class Lee(pyrat.FilterWorker): """ Lee's classical speckle filter from 1981. Not the best one... :author: Andreas Reigber :param array: The image to filter (2D np.ndarray) :type array: float :...
birgander2/PyRAT
pyrat/filter/Despeckle.py
Python
mpl-2.0
89,651
[ "Gaussian" ]
08919e0d92bf84479155fd03a7fed5dd5bac8cb1198ac341a96e628d3a3d2435
# -*- coding: utf-8 -*- # # Copyright © Spyder Project Contributors # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) """ Utilities for the Collections editor widget and dialog """ from __future__ import print_function import re # Local imports from spyder.config.ba...
bgris/ODL_bgris
lib/python3.5/site-packages/spyder/widgets/variableexplorer/utils.py
Python
gpl-3.0
19,445
[ "NetCDF" ]
6489f57e5dc963dc02770e843f5aab5dc5af4ba602887d5fcd16fa4968e88639
#!/usr/bin/env python import codecs import time import numpy as np import theano import theano.tensor as T import cPickle as pickle import os.path from collections import Counter from collections import OrderedDict from theano.tensor.signal import downsample def utf8read(f): return codecs.open(f, 'r', 'utf-8') d...
Nero-Hu/mt
RNN/rnn.py
Python
mit
10,541
[ "Gaussian" ]
c1630db509a5fa3d2b91a2bba373035dbc3dbffb76faffe38d4858fb3619e6cb
# Copyright 2008-2013 Nokia Siemens Networks Oyj # # 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...
ktan2020/legacy-automation
win/Lib/site-packages/robot/running/model.py
Python
mit
8,154
[ "VisIt" ]
69f5318caf6c91433f3eeb2f91962906973d3ff7343cb93af044c9377f2a2a48
# pylint: disable=missing-docstring import urllib from django.contrib.auth.models import User from lettuce import world from student.models import CourseEnrollment from xmodule.contentstore.django import _CONTENTSTORE from xmodule.modulestore.django import clear_existing_modulestores, modulestore @world.absorb def...
fintech-circle/edx-platform
common/djangoapps/terrain/course_helpers.py
Python
agpl-3.0
2,484
[ "VisIt" ]
7aa2c9e5e947be2ef941c2b33007dfbe2ac2348a1e1502a0a4e77d912d3bf2bd
""" DIRAC Graphs package provides tools for creation of various plots to provide graphical representation of the DIRAC Monitoring and Accounting data The DIRAC Graphs package is derived from the GraphTool plotting package of the CMS/Phedex Project by ... <to be added> """ __RCSID__ = "$Id$" import DI...
Sbalbp/DIRAC
Core/Utilities/Graphs/__init__.py
Python
gpl-3.0
4,539
[ "DIRAC" ]
900df0f4d1ae8958241b887ff87e554a6be04fe787439e7d30877c4d13af1035
#!/usr/bin/env python3 """Driver program for post-build processing""" # $Id: make_installers.py 513315 2016-09-09 13:58:57Z boratyng $ # # Author: Christiam Camacho # from __future__ import print_function import os, sys, os.path from optparse import OptionParser import blast_utils import shutil VERBOSE = False SCRIPT...
kyungtaekLIM/PSI-BLASTexB
src/ncbi-blast-2.5.0+/c++/scripts/projects/magicblast/post_build/make_installers.py
Python
lgpl-3.0
4,052
[ "BLAST" ]
85441e8a724f9e6349c0a3982167a5b89ce269c1eaa77a32198ab75fc43341e6
#!/usr/bin/env python from __future__ import print_function import logging, sys, os, time import importlib from pprint import pprint from cutlass import iHMPSession from cutlass_utils import format_query # from cutlass_search import retrieve_nodes, query_all_oql # Log It! def log_it(logname=os.path.basename(__file__)...
TheJacksonLaboratory/osdf_submit
scripts/ihmp_testing.py
Python
gpl-3.0
12,549
[ "VisIt" ]
167c8eb653d4cf10a58f276b25f552d070943c6055feef7096848f5d4d99ad67
#!/usr/bin/env python # # $File: recIntensity.py $ # # This file is part of simuPOP, a forward-time population genetics # simulation environment. Please visit http://simupop.sourceforge.net # for details. # # Copyright (C) 2004 - 2010 Bo Peng (bpeng@mdanderson.org) # # This program is free software: you can redistribu...
BoPeng/simuPOP
docs/recIntensity.py
Python
gpl-2.0
1,507
[ "VisIt" ]
98ddd06f442f5a818341f8dfb711349cde58c72ed446107401c44901cf9a24eb
#!/usr/bin/env python # # Name: Jtvlc # Author: Vladislav Yazhbin <vlad@justin.tv> # Date: 8/10/2009 # Version: 0.41 # # Description: Broadcast on Justin.tv with VLC # ####################################################################################...
baoping/jtvlc
jtvlc.py
Python
mit
16,649
[ "VisIt" ]
e1c1d1e9cdc8d15b8fb2608714044901d8ac2c05fd88ad6739ab55642ff97a53
""" Tool run for galaxy clustering interfacte Date: January 2013 Author: James Boocock """ """ This class prepares everything related to a tool run in the galaxy clustering interface """ import os import sys import logging import util log =logging.getLogger(__name__) class ToolRun(object): """ Tool ...
smilefreak/NesiGridSelection
grid_selection/clustering/tool_run.py
Python
mit
6,409
[ "Galaxy" ]
4d43e7b5d05d6a2a7f10f46f6ad47e00a911ca104e29055ee7c85f22346f7167
# ----------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # -------------------------------------------...
JWDebelius/scikit-bio
skbio/parse/sequences/clustal.py
Python
bsd-3-clause
5,418
[ "scikit-bio" ]
9eb2a4aaa1c45c73c8c7476761fac9183fc3f689f533e660403bf819e19db8f5
#!/usr/bin/env python # -*- coding: utf-8 -*- # # hello documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # 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 # autog...
bnara/hello
docs/conf.py
Python
bsd-3-clause
8,365
[ "Brian" ]
51e861f708f32fe4f5c84980d817c484284a9283ca997bbc361931c79bd45b6c
#A* ------------------------------------------------------------------- #B* This file contains source code for the PyMOL computer program #C* Copyright (c) Schrodinger, LLC #D* ------------------------------------------------------------------- #E* It is unlawful to modify or remove this copyright notice. #F* ---------...
gratefulfrog/lib
python/pymol/computing.py
Python
gpl-2.0
10,218
[ "ChemPy", "PyMOL" ]
b9cdefaa911677bf545374faa3c42a9fac3c38342abd93c6679eb964403d5717
#!/usr/bin/pythonw # Copyright (c) 2015, Amit Zeisel, Gioele La Manno and Sten Linnarsson # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the abov...
miguel1velazquez/FJbackSPIN
PluginBackSPIN/src/bsScripts/backSPIN.py
Python
apache-2.0
37,329
[ "VisIt" ]
58aefde9d08ff8469099d3d47122d9dd8b9ad8dfe33e6795d8b2446ed811dc68
""" PackageKit integration. """ # Copyright (C) 2010, Aleksey Lim # See the README file for details, or visit http://0install.net. import os, sys import locale import logging from zeroinstall import _, SafeException from zeroinstall.support import tasks, unicode from zeroinstall.injector import download, model _log...
afb/0install
zeroinstall/injector/packagekit.py
Python
lgpl-2.1
13,740
[ "VisIt" ]
ef84409f78c0935b652e26bc30db8d61dd381ddd9d81d72a1eab80350b447334
import os import django def populate(): soapdvo2_paper = add_paper(doi_suffix='2047-217X-1-18', gigasci_url='http://www.gigasciencejournal.com/content/1/1/18', title='SOAPdenovo2: an empirically improved memory-efficient short-read de novo assembler', ...
gigascience/aws-project
populate_gigafig.py
Python
gpl-3.0
32,356
[ "Galaxy" ]
cb663bf09fdadaf416c51940546dd4b7c205afa384056fac2f918d419d15b64a
# .. coding: utf8 # $Id$ # Author: Engelbert Gruber, Günter Milde # Maintainer: docutils-develop@lists.sourceforge.net # Copyright: This module has been placed in the public domain. """LaTeX2e document tree Writer.""" __docformat__ = 'reStructuredText' # code contributions from several people included, thanks to all...
Lyleo/OmniMarkupPreviewer
OmniMarkupLib/Renderers/libs/python3/docutils/writers/latex2e/__init__.py
Python
mit
124,307
[ "VisIt" ]
2b875df4b2658e4520e0079647188dd2a4c0decfca8be4259bc58cd98228d527
# -*- coding: utf-8 -*- """Displayhook for IPython. This defines a callable class that IPython uses for `sys.displayhook`. Authors: * Fernando Perez * Brian Granger * Robert Kern """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Developmen...
WillisXChen/django-oscar
oscar/lib/python2.7/site-packages/IPython/core/displayhook.py
Python
bsd-3-clause
11,365
[ "Brian" ]
db60b50c2264633ca55b48fbd25c7aaf2a95a76289bb805fe48fcd4b8b2fa59e
# -*- coding: utf-8 -*- """ End-to-end tests for the LMS Instructor Dashboard. """ from ..helpers import UniqueCourseTest from ...pages.lms.auto_auth import AutoAuthPage from ...pages.lms.instructor_dashboard import InstructorDashboardPage from ...fixtures.course import CourseFixture class AutoEnrollmentWithCSVTest(...
olexiim/edx-platform
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
Python
agpl-3.0
5,305
[ "VisIt" ]
22acb6cdea6952388063a5a48c3cc53f0a7329ec3cca295bcfe7ad877c4b43e5
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 question_data = { "AssessmentA": [{ "name": "A1a Board Direction", # noqa: E501 "question": "You have effective organisational security management led at board level and articulated clearly " ...
demisto/content
Packs/NCSCCyberAsssessmentFramework/Scripts/NCSCQuestionPopulate/NCSCQuestionPopulate.py
Python
mit
102,581
[ "Amber" ]
ed9c37b20106d6a3dd7a9a6f4588cd4ed43c9f466a1e5be177bf633a07f81495
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright: (c) 2017, F5 Networks Inc. # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
kustodian/ansible
lib/ansible/modules/network/f5/_bigip_asm_policy.py
Python
gpl-3.0
38,385
[ "Galaxy" ]
e891f01e9b8aa4418683ff9df7dd83ea751d85affc8817ebc6b75a92aaec3f24
#!/usr/bin/env python """ @author: cdeline bifacial_radiance.py - module to develop radiance bifacial scenes, including gendaylit and gencumulativesky 7/5/2016 - test script based on G173_journal_height 5/1/2017 - standalone module Pre-requisites: This software is written for Python >3.6 leveraging many Anaconda...
NREL/bifacial_radiance
bifacial_radiance/main.py
Python
bsd-3-clause
192,259
[ "EPW" ]
9b83e1074201a8d84f4eb1d7fb3d3cc7c070315e053f3200cfaae28684faaab8
#!/usr/bin/python3 #Use this program to find the minimum of a set of data points subject to error with a Gaussian distribution #Run this program from deft/papers/fuzzy-fmt with command python3 minimize_FE.py --kT [REQUIRED: temp] --n [REQUIRED: density] --tensor [optional] #type --help for other options and default...
droundy/deft
papers/fuzzy-fmt/minimize_FE.py
Python
gpl-2.0
9,725
[ "Gaussian" ]
ec6074a2eb193321ca320d1fe9ff91a0c8bf3b7cc746e013be22a6c67059678a
from modal_noise_script import (save_new_object, set_new_data, save_baseline_object, save_fft_plot, save_modal_noise_data, save_modal_noise_line_plot, save_modal_noise_bar_plot) from copy...
rpetersburg/FiberProperties
scripts/modal_noise_geometries.py
Python
mit
4,741
[ "Gaussian" ]
9e10cf9bbda3c95be079277a92fa3c427f64567dd437b3c826ff18ff58a6daf0
import sys import os import datetime import pickle import numpy as np import matplotlib.pyplot as plt from pprint import pprint from scipy.optimize import curve_fit from scipy import stats from SP2_particle_record_UTC import ParticleRecord from struct import * import hk_new import hk_new_no_ts_LEO from scipy import lin...
annahs/atmos_research
LEO_calibration_LF_xsec_method.py
Python
mit
12,389
[ "Gaussian" ]
88dd2aa19551a575ad24a17a1178146bc85ab32d1c5125cf0592f2cee3304565
""" This script is an example of how to use the random gaussian noise generator (type 2) module. |br| In this example only one signal is generated. Both the minimum and the maximum frequency component in the signal is regulated. After the generation, spectrum fo the signal is analyzed with an Welch analysis and p...
JacekPierzchlewski/RxCS
examples/signals/gaussNoise2_ex1.py
Python
bsd-2-clause
1,832
[ "Gaussian" ]
5210a653a441e6cb24bd9ba92e2b99c65bf4afa4f1ee83ea999a455aacf635f1
# -*- coding: utf-8 -*- # python-holidays # --------------- # A fast, efficient Python library for generating country, province and state # specific sets of holidays on the fly. It aims to make determining whether a # specific date is a holiday as fast and flexible as possible. # # Authors: dr-prodigy <maurizio....
dr-prodigy/python-holidays
test/countries/test_united_states.py
Python
mit
51,071
[ "COLUMBUS" ]
fdf84232fd6ecfd6d035d1f5d2c4568a05372e52776465a7e4be7093aaec7fb4
''' DISET request handler base class for the TransformationDB. ''' from types import StringType, ListType, DictType, IntType, LongType, StringTypes, TupleType from DIRAC import gLogger, S_OK, S_ERROR from DIRAC.Core.DISET.RequestHandler import RequestHa...
avedaee/DIRAC
TransformationSystem/Service/TransformationManagerHandler.py
Python
gpl-3.0
36,589
[ "DIRAC" ]
785347885d645c522a2a0f6942a6d651be4d0342ee2480ed9b31134c24d50721
""" # Notes: - This simulation seeks to emulate the CUBA benchmark simulations of (Brette et al. 2007) using the Brian2 simulator for speed benchmark comparison to DynaSim. However, this simulation does NOT include synapses, for better comparison to Figure 5 of (Goodman and Brette, 2008). - The time taken to si...
asoplata/dynasim-benchmark-brette-2007
Brian2/brian2_benchmark_CUBA_nosyn_compiled_0001.py
Python
gpl-3.0
2,137
[ "Brian" ]
35f8932c7e9c25e51f4e848665027c2b042dc6e7f3daea4631adde5aebe7a36a
# -*- coding: utf-8 -*- # Author: Vincent Dubourg <vincent.dubourg@gmail.com> # (mostly translation, see implementation details) # License: BSD 3 clause from __future__ import print_function import numpy as np from scipy import linalg, optimize from ..base import BaseEstimator, RegressorMixin from ..metrics...
toastedcornflakes/scikit-learn
sklearn/gaussian_process/gaussian_process.py
Python
bsd-3-clause
34,972
[ "Gaussian" ]
bf2e4560ea62843b6fe3b2a38cc7b179d54d7e66862b8b17bd03b7b589fcf19e
# -*- coding: utf-8 -*- # # brunel-alpha-nest.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the Licen...
QJonny/CyNest
pynest/examples/brunel-alpha-nest.py
Python
gpl-2.0
5,279
[ "NEURON" ]
2a86b2cd292d72c0e30d43a74d90832284dbccc0f0ccd8b8500ae2778ba2bc60
#!/usr/bin/env python # # $Id: check_interface_files.py 9317 2011-06-10 02:09:04Z nathan_george $ # # Proprietary and confidential. # Copyright $Date:: 2011#$ Perfect Search Corporation. # All rights reserved. # import sys, os buildscriptDir = os.path.dirname(__file__) buildscriptDir = os.path.abspath(os.path.join(buil...
perfectsearch/sandman
code/buildscripts/codescan/check_interface_files.py
Python
mit
2,687
[ "VisIt" ]
6e90d06855a7d3541bfbb0a38a7a3374d1c729c312d28eeb559bcac4b9d17b78
"""Cheap and simple API helper This program is part of "Dive Into Python", a free Python book for experienced programmers. Visit http://diveintopython.org/ for the latest version. """ __author__ = "Mark Pilgrim (mark@diveintopython.org)" __version__ = "$Revision: 1.3 $" __date__ = "$Date: 2004/05/05 21:57:19 $" __co...
jtraver/dev
python/str/apihelper.py
Python
mit
1,782
[ "VisIt" ]
3bdf70d1d302fd7a0824acc8360bc478eb5c0bccb4eadbf85bcf985552762464
""" Data-driven tests for references. """ from __future__ import division from __future__ import print_function from __future__ import unicode_literals import hashlib import os import unittest # TODO it may be a bit circular to use pysam as our interface for # accessing reference information, since this is the method...
macieksmuga/server
tests/datadriven/test_references.py
Python
apache-2.0
4,562
[ "Biopython", "pysam" ]
0c9febb03deef624b31c81fcce594e5be5eb5b05fc15b5fbd9aa29f6aa19ed23
""" Linear Discriminant Analysis (LDA) """ # Authors: Clemens Brunner # Martin Billinger # Matthieu Perrot # Mathieu Blondel # License: BSD 3-Clause from __future__ import print_function import warnings import numpy as np from scipy import linalg from .externals.six import string_types f...
ashhher3/scikit-learn
sklearn/lda.py
Python
bsd-3-clause
17,625
[ "Gaussian" ]
6d616f313b57bef9c2e63369901c13adac179f7cd2f787b729e375dc12367ed0
# -*- test-case-name: twisted.trial.test.test_tests -*- # Copyright (c) 2001-2009 Twisted Matrix Laboratories. # See LICENSE for details. """ Things likely to be used by writers of unit tests. Maintainer: Jonathan Lange """ import doctest, inspect import os, warnings, sys, tempfile, gc, types from pprint import pfo...
Donkyhotay/MoonPy
twisted/trial/unittest.py
Python
gpl-3.0
63,685
[ "VisIt" ]
f0951b104f691c9f2216cced179c24f68ef0eff2897fad83356118d8f883ec23
# 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
sandbox_tapo/src/skin_related/BMED_8813_HAP/Features/single_feature/best_kNN_PC/cross_validate_categories_kNN_PC_BMED_8813_HAP_scaled_method_II_area.py
Python
mit
4,446
[ "Mayavi" ]
501d72371a6c4817ce23ce741390e721cb6544b4a5fad1533802198a2fe4697c
# Author: Henri Starmans # Company: Hexastorm # Date: 3-3-2017 import numpy as np from scipy.integrate import dblquad from sympy import symbols, diff, cos, sin, sqrt # Parameters used: n=1.53 # refractive index should equal s.refractive_index(405e-9,4) facets = 4 # number of p...
hexastorm/opticaldesign
analytical.py
Python
gpl-3.0
4,038
[ "Gaussian" ]
132d7d7d69f75f74d18ec7af3a906eeb965a5240e6d8595d0d73ab45cb6579b7
from __future__ import unicode_literals from django.views.generic import TemplateView from django.conf import settings from mailchimp2.views import SubscribeFormView import othersites class HomeTemplateView(TemplateView): template_name = "home.html" def get_context_data(self, *args, **kwargs): con...
SeattleAttic/HedyNet
HedyNet/HedyNet/views.py
Python
apache-2.0
1,082
[ "VisIt" ]
c12493cd8ee215616c65688750c88beb563101c926d0612793f28832f3c9b5c6
class Neuron: 'Represents a neuron' currentVal = 0 threshold = 1 connections = [] identity = 0 def displayVal(self): print(self.identity,":",self.currentVal) for c in self.connections: print(self.identity," connected to ",c.end.identity) def addSynapse(self,desti...
will-cromar/needy
ProofOfConcept/toyNetwork.py
Python
mit
1,982
[ "NEURON" ]
3fad4f5233d4e0922f715b446a44ecb04bace135c109e53891e324c488a52365
# Copyright 2004 by Frank Kauff and Cymon J. Cox. All rights reserved. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """ Parser for ACE files output by PHRAP. Written by Frank Kauff (fkauff@duke.e...
LyonsLab/coge
bin/last_wrapper/Bio/Sequencing/Ace.py
Python
bsd-2-clause
18,921
[ "Biopython" ]
825fe495f3259a3d307cf325a89c5f50d9775214faebb8d8d0a2b645782bbbd5
#!/usr/bin/python #Django Imports from django.db import models from django.conf import settings from jsonfield import JSONField from django.utils import timezone #Local Imports import swapper from visit import ScheduledPhoneCall import utils from utils.models import TimeStampedModel, BaseQuerySet, ForUserQuerySet c...
I-TECH-UW/mwachx
contacts/models/interactions.py
Python
apache-2.0
8,630
[ "VisIt" ]
2f07ce7b173c64c259c2f00ef825688c087a848f3872d8b31f3bb96cf6765426
# The MIT License (MIT) # # Original work Copyright (c) 2016 Taehoon Kim # Modified work Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal #...
ethantang95/DIGITS-GAN
examples/gan/network-celebA.py
Python
bsd-3-clause
19,111
[ "Gaussian" ]
d2834323700a16aebafa721a30c003a0595cebd479d50a7ea1667f51797437aa
import unittest import numpy as np import warnings warnings.simplefilter('error') from nose.plugins.attrib import attr from moltools import Water from moltools import utilz HF_FILE = """ ************************************************************************ *************** Dalton - An Electronic Structu...
fishstamp82/moltools
moltools/test/test_utilz.py
Python
mit
56,595
[ "Dalton" ]
dd7e239efe10a97afa9b89521c939164b3f493df16794156430624418f985862
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module implements equivalents of the basic ComputedEntry objects, which is the basic entity that can be used to perform many analyses. ComputedEntries contain calculated information, typically from VAS...
fraricci/pymatgen
pymatgen/entries/computed_entries.py
Python
mit
8,859
[ "VASP", "pymatgen" ]
807e5a99dcce87d0db5e263ae504fdedc77a1e840b06d0e5e9a32e6c72b39038
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys import netCDF4 as nc def copy_dim_def(ncout, ncin, dim_name): if dim_name not in ncin.dimensions: print('unknown dimension name: ' + dim_name) return if ncin.dimensions[dim_name].isunlimited(): ncout.createDimension(dim_name, No...
woolf1988/noahmp-tools
wrfinput_nc4tonc3sub.py
Python
gpl-3.0
3,342
[ "NetCDF" ]
fe51a0f95ab38ba791ce2febbb12a216417f6f5479e7ad42df82887320965d0d
# 03.10.2007, c from __future__ import absolute_import from sfepy import data_dir from sfepy.mechanics.matcoefs import stiffness_from_lame filename_mesh = data_dir + '/meshes/2d/special/circle_in_square.mesh' # Whole domain $Y$. region_1000 = { 'name' : 'Y', 'select' : 'all', } # Domain $Y_1$. region_1 = { ...
vlukes/sfepy
tests/test_lcbc_2d.py
Python
bsd-3-clause
2,172
[ "VTK" ]
970b88814e50d026d218be21bf3d25bcaa993702df7d8b39a1406d7af22fca9e
#!/usr/bin/env python import os import sys import argparse import pysam def breakend_count(bamfn, chrom, pos, minmapq=10): bam = pysam.AlignmentFile(bamfn, 'rb') count = 0 for read in bam.fetch(chrom, pos-1, pos+1): if read.is_unmapped or read.is_duplicate: continue if rea...
adamewing/tebreak
scripts/misc/genotyper.py
Python
mit
4,402
[ "pysam" ]
74ccd808ec8252242a6cb29274e761dde5a1b3c25f7f44807acf21a95becc219
# -*- coding: utf-8 -*- import operator import os import re import subprocess import time import urllib import urlparse from xml.dom.minidom import parseString as parse_xml from module.network.CookieJar import CookieJar from module.network.HTTPRequest import HTTPRequest from ..internal.Hoster import Hoster from ..in...
igel-kun/pyload
module/plugins/hoster/YoutubeCom.py
Python
gpl-3.0
47,176
[ "ADF" ]
b4b4f71ea630591ad1e850c4c2d722819025cd7444b9c4e281a39dbfb1e7f11c
#! /usr/bin/python3 import argparse import csv import sys import lib.meta as meta import lib.initialize as init import lib.sqlite_interface as misc def parse(parent, *args, **kwargs): # Add blast database info to sql database db_parser = parent.add_parser( 'update', parents=args, help...
zbwrnz/blastdbm
lib/dbtools.py
Python
unlicense
2,304
[ "BLAST" ]
34ad3576121c9ab8e7396041edcbda1ef6bb878093444fa5b851f2408544d162
#!/usr/bin/env python # -*- coding:utf-8 -*- # @author:Hieda no Chiaki <i@wind.moe> import getopt import os import sys import logging from src.init import init, usage from src.md5 import md5 from src.post import post_biu, confirm from src.dir import que try: import configparser import queue except ImportError...
forblackking/PyBiu
run.py
Python
apache-2.0
4,278
[ "MOE" ]
ea720d5cf035c6da0fe5dd60a8924ed5b14d7a3d89f0f4798a0906c96696417c
""" In pacard.py, you will implement the search algorithm based on refutation resolution which will lead Pacard through the cave of the evil GhostWumpus. """ import util import fileinput from logic import * from ditoUtil import * class SearchProblem: """ This class outlines the structure of a search problem...
DominikDitoIvosevic/Uni
AI/lab2/pacard.py
Python
mit
6,949
[ "VisIt" ]
7c3979d92113fdd143ba89326e7b817ece31d360d7d63b48b63e4ba0d0be2278
# Copyright 2007-2012 The HyperSpy developers # # This file is part of HyperSpy. # # HyperSpy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
sillvan/hyperspy
hyperspy/tests/signal/test_1D_tools.py
Python
gpl-3.0
9,917
[ "Gaussian" ]
f4a312161f9ad5b2a6c222554d0ba621ffadab5a16915df8f9d3184a33c95bca
""" A family of transfer functions that are aware of sheet coordinate systems. The transfer functions in this file are allowed to make use of Imagen patterns and are to be supplied with an appropriate SheetCoordinateSystem object via the initialize method. """ import numpy as np import param import copy from imagen ...
ioam/imagen
imagen/transferfn/sheet_tf.py
Python
bsd-3-clause
2,202
[ "Gaussian" ]
586c504f89c043c2dd0b429238353a5f0546da61fc61eaa12b5958a818886d3a
# -*- coding: utf-8 -*- # Copyright (C) 2010-2016 Bastian Kleineidam # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. #...
wummel/patool
tests/test_mime.py
Python
gpl-3.0
12,775
[ "ADF" ]
117a4d2b418c31052048af40c6fac7d9e0ce26d0ceebf47be41aaca194707452
# -*- coding: utf-8 -*- # # This file is part of couchapp released under the Apache 2 license. # See the NOTICE for more information. from __future__ import with_statement import base64 import logging import mimetypes import os import os.path import re import urlparse import webbrowser try: import desktopcouch ...
h4ki/couchapp
couchapp/localdoc.py
Python
apache-2.0
16,917
[ "VisIt" ]
901a23eb0d689e93b62f3dd9d3b9ad37e80096bc15ffb4b2f2bfcd1dc81fd097
# This is a component for running a previoulsy-generated .idf file through EnergyPlus with a different weather file. # # Honeybee: A Plugin for Environmental Analysis (GPL) started by Mostapha Sadeghipour Roudsari # # This file is part of Honeybee. # # Copyright (c) 2013-2020, Mostapha Sadeghipour Roudsari <mostapha@...
mostaphaRoudsari/Honeybee
src/Honeybee_Re-run IDF.py
Python
gpl-3.0
11,294
[ "EPW" ]
af246a46e39819ff20524aed1b8554a3690482bb3cbaab32d227f887a009aee7
# $Id: manpage.py 5901 2009-04-07 13:26:48Z grubert $ # Author: Engelbert Gruber <grubert@users.sourceforge.net> # Copyright: This module is put into the public domain. """ Simple man page writer for reStructuredText. Man pages (short for "manual pages") contain system documentation on unix-like systems. The pages ar...
dbbhattacharya/kitsune
vendor/packages/nose/doc/manpage.py
Python
bsd-3-clause
35,518
[ "VisIt" ]
b73d48dbb7a69750229f54a45f9a24a59f647427d14a18e21d1fdb77c3e007dc
# -*- coding: utf-8 -*- import json from typing import List, Tuple from django.http import HttpRequest, JsonResponse from catmaid.apps import get_system_user from catmaid.control.authentication import requires_user_role from catmaid.control.common import get_class_to_id_map, get_relation_to_id_map from catmaid.model...
catmaid/CATMAID
django/applications/catmaid/control/tracing.py
Python
gpl-3.0
8,392
[ "NEURON" ]
e2e6e6f208a95fcc1cc8021eeca71de95503a4ce0e5d53999049ad938d96cae7
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class ROrgHsEgDb(RPackage): """Genome wide annotation for Human, primarily based on mapping ...
iulian787/spack
var/spack/repos/builtin/packages/r-org-hs-eg-db/package.py
Python
lgpl-2.1
1,074
[ "Bioconductor" ]
288b5b924725513987f54e67ba7cfc9962f143be28c6d8dd4c536659ef39409b
import os import git from os.path import join, isdir, isfile, splitext from functools import wraps import json import flask from flask import ( g, Blueprint, request, render_template, url_for, flash, redirect, send_from_directory, abort ) from flask_user import login_required, current_user from flask_babel imp...
gutosurrex/BookCloud
application/views/projects.py
Python
gpl-3.0
9,309
[ "VisIt" ]
122d19b57fb4342e4c3707ea436345bf819bb984973dc9559c7fddd67362825e
#!/usr/bin/python # -*- coding: utf-8 -*- # # --- BEGIN_HEADER --- # # extcert - External certificate sign up front end # 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 the GNU General Pu...
heromod/migrid
mig/cgi-bin/extcert.py
Python
gpl-2.0
1,139
[ "Brian" ]
fca0488cba677aaa1c219228ff88dd0163f3e0abc80cfd83257e6c1a0cefcf89
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals import re import math import subprocess import itertools import logging import glob import warnings import numpy as np from monty.fractions import lcm import ...
Bismarrck/pymatgen
pymatgen/command_line/enumlib_caller.py
Python
mit
16,533
[ "VASP", "pymatgen" ]
99c57dd9eb8d616bef8ff249f95dc814e2e4aab56b4beac5cab0ba55a806e99c
"""An NNTP client class based on RFC 977: Network News Transfer Protocol. Example: >>> from nntplib import NNTP >>> s = NNTP('news') >>> resp, count, first, last, name = s.group('comp.lang.python') >>> print('Group', name, 'has', count, 'articles, range', first, 'to', last) Group comp.lang.python has 51 articles, ran...
MalloyPower/parsing-python
front-end/testsuite-python-lib/Python-3.1/Lib/nntplib.py
Python
mit
21,051
[ "Brian" ]
ef98f021748a3034d2e63c3604cc5493259f6e0dd944e5c292cf173c932936e3
#!/usr/bin/env python # encoding: utf-8 # === IMPORTANT ==== # NOTE: In order to support non-ASCII file names, # your system's locale MUST be set to 'utf-8' # CAVEAT: DOESN'T work with proxy, the underlying reason being # the 'requests' package used for http communication doesn't seem # to work ...
xslidian/bypy
bypy.py
Python
gpl-3.0
103,214
[ "VisIt" ]
16c3528eaf5b5aa8188d0c7aa8bea234270d7c9d64c9f5fda472bfdd8e21f5e5