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
# -*- coding: utf-8 -*- u"""Hellweg execution template. :copyright: Copyright (c) 2017 RadiaSoft LLC. All Rights Reserved. :license: http://www.apache.org/licenses/LICENSE-2.0.html """ from __future__ import absolute_import, division, print_function from pykern import pkio from pykern.pkcollections import PKDict fro...
radiasoft/sirepo
sirepo/template/hellweg.py
Python
apache-2.0
14,494
[ "Gaussian" ]
1e3105e8cbae2b3332ae03c3c193cc7031d8be67564660b6fec68db2c7d6d0de
#!/usr/bin/python3 # Copyright 2016-2018 Olli Helin # This file is part of GainCMS, a free software released under the terms of the # GNU General Public License v3: http://www.gnu.org/licenses/gpl-3.0.en.html # Parse GainCMS site statistics. from ipaddress import ip_address # Requires Python 3.3 or newer. from os im...
ohel/gaincms
parse_stats.py
Python
gpl-3.0
10,809
[ "VisIt" ]
0c41e77a15eaaadc2f6d19a0526b135e838913f10c8b8b9652297cefedcca89d
# -*- coding: utf-8 -*- """ End-to-end tests for the Account Settings page. """ from unittest import skip from bok_choy.web_app_test import WebAppTest from ...pages.lms.account_settings import AccountSettingsPage from ...pages.lms.auto_auth import AutoAuthPage from ...pages.lms.dashboard import DashboardPage from .....
DefyVentures/edx-platform
common/test/acceptance/tests/lms/test_account_settings.py
Python
agpl-3.0
16,119
[ "VisIt" ]
2d63fcd612f3cc5b2ce03fd8070e303508444ac162a297efebb6b13cb5fa33af
import collections from supriya import CalculationRate from supriya.synthdefs import PureUGen, UGen class COsc(PureUGen): """ A chorusing wavetable oscillator. :: >>> cosc = supriya.ugens.COsc.ar( ... beats=0.5, ... buffer_id=23, ... frequency=440, .....
josiah-wolf-oberholtzer/supriya
supriya/ugens/osc.py
Python
mit
9,838
[ "Gaussian" ]
8b5b7f452553ee1f820c22b56b0e7730d66a16c05947bc7f262843e299b17c02
# -*- coding: utf-8 -*- # Copyright (c) 2015, Alex Grigorevskiy # Licensed under the BSD 3-clause license (see LICENSE.txt) """ The standard periodic kernel which mentioned in: [1] Gaussian Processes for Machine Learning, C. E. Rasmussen, C. K. I. Williams. The MIT Press, 2005. [2] Introduction to Gaussian processes...
dhhjx880713/GPy
GPy/kern/src/standard_periodic.py
Python
bsd-3-clause
6,792
[ "Gaussian" ]
e68a37b63d8031a3a9d81ccc883ecf9ccff43df67e231cd5cf9e7e85e3253cbf
# coding=utf-8 """ InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - **Functionality related to shake data files.** Contact : ole.moller.nielsen@gmail.com .. note:: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
opengeogroep/inasafe
realtime/make_flood_forecast.py
Python
gpl-3.0
7,287
[ "NetCDF" ]
226f096a0351d229494ec58b96148cab2e1363523d7fc6e7303e3fffcab4ca20
# encoding: utf-8 """OptimizationDatabase - target values for parameter optimization. This file contains a database of expermental and DFT-derived values useful for optimizing classical potentials. There are two dictionaries, elements and alloys, defining data for pure elements and for alloys, respectively. The ke...
auag92/n2dm
Asap-3.8.4/Python/asap3/Tools/OptimizationDatabase.py
Python
mit
4,893
[ "ASE", "GPAW" ]
41c6e02bc1041a4aa83861b2fdb81db8bbdd4df5d7bd3dd1ab58f54197ca6bd2
########################################################################### # # This program is part of Zenoss Core, an open source monitoring platform. # Copyright (C) 2007, Zenoss Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License versi...
anksp21/Community-Zenpacks
ZenPacks.AndreaConsadori.Raytalk/ZenPacks/AndreaConsadori/Raytalk/modeler/plugins/RaytalkDeviceMap.py
Python
gpl-2.0
1,343
[ "VisIt" ]
f96dc1843d5b86079dc1d9d0e4b43e53970e076260d9f45691d4434e5692ab5e
class Params: """ Class for reading, storing and some limited pre/post-processing of parameters. """ def __init__(self, input_file): """ Initialise parameters from input file, with defaults of some values. :param input_file: name of input json file """ import g...
EWannerberg/AutomaticHeuristicGeneration
ModelPredictiveControl/params.py
Python
mit
10,729
[ "Gaussian" ]
15ea9538bd02bf27273b0aa192a7c3e271f8c6f370ad5d3fab7441181b7965df
r""" The transient advection-diffusion equation with a given divergence-free advection velocity. Find :math:`u` such that: .. math:: \int_{\Omega} s \pdiff{u}{t} + \int_{\Omega} s \nabla \cdot \left(\ul{v} u \right) + \int_{\Omega} D \nabla s \cdot \nabla u = 0 \;, \quad \forall s \;. View the re...
RexFuzzle/sfepy
examples/diffusion/time_advection_diffusion.py
Python
bsd-3-clause
1,681
[ "VTK" ]
ad897a7566a3df558fdb56995bfe58f6095c68ddcc6f6332b159955486fbbe85
# coding=utf-8 # Copyright © 2018 Computational Molecular Biology Group, # Freie Universität Berlin (GER) # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the # following conditions are met: # 1. Redistributions of source code must ret...
readdy/readdy
wrappers/python/src/python/readdy/api/trajectory.py
Python
bsd-3-clause
26,506
[ "VMD" ]
658dbfbd8af3a32b6ebabd794351a5e8df1f10bf0aa13c00111c152ca75e9b05
# ========================== Start Copyright Notice ========================== # # # # Copyright 2014 F.D.I.S. # # This file is part of Kinetic Gunner: Gunner of Angst ...
CertainlyUncertain/Kinetic-Gunner-Gunner-of-Angst
entityMgr.py
Python
gpl-3.0
6,187
[ "VisIt" ]
02b5d7a4f7a654976725c7b61d0c89f7aa2b4b386b39128a2ea5ec1e3deab122
from draughtcraft.tests import TestApp from draughtcraft import model from datetime import datetime, timedelta from urllib import urlencode def R(kwargs): recipe = model.Recipe(**kwargs) if 'author' not in kwargs: recipe.author = model.User.query.first( ) or model.User(email='ryan@example.com'...
ryanpetrello/draughtcraft
draughtcraft/tests/controllers/recipes/test_browse.py
Python
bsd-3-clause
22,156
[ "Amber" ]
e125b45d37aa4f318fb74184a2f63d271fd8455767deed6886293c1e3e3b2660
__author__ = 'stephen' # =============================================================================== # GLOBAL IMPORTS: import os,sys import numpy as np import argparse # =============================================================================== # LOCAL IMPORTS: HK_DataMiner_Path = os.path.relpath(os.pardir) #...
stephenliu1989/HK_DataMiner
hkdataminer/scripts/test_kcenters_bak.py
Python
apache-2.0
5,089
[ "MDTraj" ]
a25562bedac5d5f3a4f3331548e88e968a8e1c14b6881ec3f3ca5932d67fbdf2
# # QAPI types generator # # Copyright IBM, Corp. 2011 # Copyright (c) 2013-2015 Red Hat Inc. # # Authors: # Anthony Liguori <aliguori@us.ibm.com> # Markus Armbruster <armbru@redhat.com> # # This work is licensed under the terms of the GNU GPL, version 2. # See the COPYING file in the top-level directory. from qapi ...
lunixbochs/qemu
scripts/qapi-types.py
Python
gpl-2.0
8,335
[ "VisIt" ]
83cf3641658b0cbdbe134dbdddbd70f2339206b9a1601a693349b3aab8866996
# Mouse reviewer for Orca # # Copyright 2008 Eitan Isaacson # Copyright 2016 Igalia, S.L. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at you...
GNOME/orca
src/orca/mouse_review.py
Python
lgpl-2.1
22,087
[ "ORCA" ]
2ee3de55f75c2b28d610dbee0cae57ff1eae1649a9717ee78b945f5050deb65f
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # ''' This example has two parts. The first part applies oscillated electric field by modifying the 1-electron Hamiltonian. The second part generate input script for Jmol to plot the HOMOs. Running jmol xxxx.spt can output 50 image files of HOMOs u...
gkc1000/pyscf
examples/scf/40-apply_electric_field.py
Python
apache-2.0
2,698
[ "Jmol", "PySCF" ]
732bacc51762f1502a8d88e9aa6ef31acc64cf4c2f05f555705b0a6344245349
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ######################################################################## # Solves problem 47 from projectEuler.net. # Finds the first 4 integeres which have 4 distinct prime factors. # Copyright (C) 2010 Santiago Alessandri # # This program is free software: you ...
sanSS/programming-contests
project-euler/problem047.py
Python
gpl-3.0
3,314
[ "VisIt" ]
0b7342d67f3b4852ecdd7de33c31aab40450ce81be65388682f516f41d990c47
"""Computation of Kullback-Leibler divergence""" from math import log, sqrt, exp import numpy as np eps = 1e-15 def klBern(x, y): """Kullback-Leibler divergence for Bernoulli distributions.""" x = min(max(x, eps), 1-eps) y = min(max(y, eps), 1-eps) return x*log(x/y) + (1-x)*log((1-x)/(1-y)) def klPo...
alasdairtran/digbeta
python/digbeta/kullback.py
Python
gpl-3.0
1,623
[ "Gaussian" ]
6eb26da93bc81054d4da84bc3f1153452d8cbe8ccbf54c72250ab3c039fe5b68
"""Analyze quasi-optical systems using Gaussian beam analysis.""" import gaussopt.component import gaussopt.frequency import gaussopt.system import gaussopt.util from gaussopt.frequency import * from gaussopt.component import * from gaussopt.system import System __author__ = "John Garrett" __version__ = "0.1"
garrettj403/GaussOpt
gaussopt/__init__.py
Python
mit
314
[ "Gaussian" ]
fbf4b80129324b6f1349efdfbf19cc59bf8052c11152ed7a18ccb6775262a5cc
# 03.10.2007, c from sfepy import data_dir 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 = { 'name' : 'Y1', 'select' : 'elements of group 1', } # Domain $Y_2$. region_2 = { 'nam...
olivierverdier/sfepy
tests/test_lcbc_2d.py
Python
bsd-3-clause
2,462
[ "VTK" ]
a7ec454d1186f71ef635a7f6f300fe5de02cb061989d01b11973341bdc934c6f
# ----------------------------------------------------------------------------- # User configuration # ----------------------------------------------------------------------------- dataset_destination_path = '/Users/seb/Desktop/wavelet_%s' # ----------------------------------------------------------------------------...
Kitware/arctic-viewer
scripts/examples/vtk/samples/syntax-evolution-volume_v4.py
Python
bsd-3-clause
3,011
[ "VTK" ]
9d6f69c257cbcfc2b80de19538912dd16fa4629d3f34958f8e2d7cb191f59cf7
#!/usr/bin/env python import sys, argparse, os from .wrappers import ancestral_reconstruction, mugration, scan_homoplasies,\ timetree, estimate_clock_model, arg_time_trees from . import version py2 = sys.version_info.major==2 def set_default_subparser(self, name, args=None, positional_args=0): ...
neherlab/treetime
treetime/argument_parser.py
Python
mit
18,570
[ "Gaussian" ]
14377ba909c4efe938015628243fdecbe778b0e3fc9ec7c459f410c3597e658f
from typing import ( AbstractSet, Any, Callable, Dict, Iterable, List, Mapping, MutableMapping, Optional, Sequence, Set, Tuple, Union, cast ) from typing_extensions import TypedDict import django.db.utils from django.db.models import Count from django.contrib.contenttypes.models import ContentType from django....
tommyip/zulip
zerver/lib/actions.py
Python
apache-2.0
249,948
[ "Octopus" ]
a4f39efdf28eaaf48824967d5e2e433c33c67f3770d5c53be38d1551b5db238b
# -*- coding: utf-8 -*- from __future__ import print_function import json import logging import os import re from gtd_model import Item, GtdItem, NextAction, Project, Tag, Plane, Recipient from common_model import RawValueItem from visitors import Visitor cb = lambda response: print (u'STATUS: {0}({1}). From cache ...
Adnn/GTD_Tasks
tasks_datamodel.py
Python
mit
13,593
[ "VisIt" ]
f8bc791d8533985f7cb0b8305380a6315ae8563a616011b6b9e03ab2c43daa07
"""diffusion_using_Gillespie.py: In this snippet, we show how to setup diffusion using Gillespie scheme. """ __author__ = "Dilawar Singh" __copyright__ = "Copyright 2016, Dilawar Singh" __credits__ = ["NCBS Bangalore"] __license__ = "GNU GPL" __version__ = "1.0.0" __m...
BhallaLab/moose
moose-examples/snippets/diffusion_using_Gillespie.py
Python
gpl-3.0
2,889
[ "MOOSE" ]
a7864c771901620d8eeb4653151070c27e30802ae57e0a8d25cffbffa87680be
# # Copyright (C) 2013-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...
psci2195/espresso-ffans
testsuite/python/langevin_thermostat.py
Python
gpl-3.0
21,767
[ "ESPResSo" ]
f337fa00230f4fcc22796e7060e0fcc21d88663754d5a16340b360326ccb215d
r"""Wildman-Crippen LogP/MR descriptor. References * :doi:`10.1021/ci990307l` """ from rdkit.Chem import Crippen from ._base import Descriptor __all__ = ("SLogP", "SMR") class WildmanCrippenBase(Descriptor): __slots__ = () @classmethod def preset(cls, version): yield cls() def __str_...
mordred-descriptor/mordred
mordred/SLogP.py
Python
bsd-3-clause
990
[ "RDKit" ]
5e8c34de665f60a6cff040dc24db9cebf8b32c65579d9e89d49e1154d74cdcf7
#!/usr/bin/env python ################################################## ## DEPENDENCIES import sys import os import os.path from os.path import getmtime, exists import time import types import __builtin__ from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion from Cheetah.Version import MinComp...
johm/infoshopkeeper
inventoryserver/TransactionsTemplate.py
Python
gpl-2.0
9,217
[ "VisIt" ]
4ce14761774100c5d69e401cb0d7b02c8bbc8438d07ba3e74aa7cd880491e38f
#-------------------------------------------------------------------------- # Software: InVesalius - Software de Reconstrucao 3D de Imagens Medicas # Copyright: (C) 2001 Centro de Pesquisas Renato Archer # Homepage: http://www.softwarepublico.gov.br # Contact: invesalius@cti.gov.br # License: GNU ...
tfmoraes/invesalius3
invesalius/gui/task_navigator.py
Python
gpl-2.0
98,599
[ "VTK" ]
471fe1859cfe4787c38b9fe445ea347a2394c72bbb8e49f90d5b45686198f45b
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2001-2007 Donald N. Allingham # Copyright (C) 2008 Lukasz Rymarczyk # Copyright (C) 2008 Raphael Ackermann # Copyright (C) 2008-2011 Brian G. Matherly # Copyright (C) 2010 Jakim Friant # Copyright (C) 2011-2013 Paul Franklin # # This pro...
Nick-Hall/gramps
gramps/cli/plug/__init__.py
Python
gpl-2.0
35,360
[ "Brian" ]
2d430abe7ea9fa2d9367d1cbc2b42a80b6f905c8de688c9c38f64b51662c990b
# Import packages that will be used # GUI generation Packages import wx from wx.lib.buttons import GenBitmapButton,GenBitmapToggleButton #Operational Packages import SysUpdate import subprocess import os import getPlugins as gpi import listControl as lc #BLAST specific packages from Bio.Blast import NCBIXML import BLAS...
fxb22/BioGUI
plugins/Tools/BLASTgui.py
Python
gpl-2.0
20,516
[ "BLAST" ]
3bb252601dc42a16caf155b9d9b8faa2666d8aa3ec32eeb5edcc652a848d3d61
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################################################### # # # ESPResSo++ Python script for tabulated GROMACS simulation # # ...
BackupTheBerlios/espressopp
testsuite/pi_water/water.py
Python
gpl-3.0
7,315
[ "ESPResSo", "Gromacs", "VMD" ]
5f26017b5f1c011dab77480efba1be0acd11b6d30f24ead9e4df22bba72b9ec2
########################################################################### # # Copyright 2020 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 # # https://www.apache.org/l...
google/starthinker
dags/dv360_data_warehouse_dag.py
Python
apache-2.0
17,140
[ "VisIt" ]
81b4e6f6658a4c5b093919ad4c2dc38c6c5983d9085d668e76d59458387f4c18
""" vtkImageImportFromArray: a NumPy front-end to vtkImageImport Load a Numeric Python array into a VTK image. To use this class, you must have the LLNL Numeric Python distribution (http://numpy.sf.net) Methods: GetOutput() -- connect to VTK image pipeline SetArray() -- set the array to load in Convert python ...
jeffbaumes/jeffbaumes-vtk
Wrapping/Python/vtk/util/vtkImageImportFromArray.py
Python
bsd-3-clause
4,414
[ "VTK" ]
1f499938a69259a345ca3bbaef556300d84c081458a0f35258eb91ca7e1e6318
import ast from .base import BaseAnalyzer, Result DESCRIPTION = """ As of Django 1.4, ``{name}`` function has been deprecated and will be removed in Django 1.5. Use ``{propose}`` instead. """ class ContextProcessorsVisitor(ast.NodeVisitor): def __init__(self): self.found = [] deprecated_items = { ...
alfredhq/djlint
djlint/analyzers/context_processors.py
Python
isc
1,617
[ "VisIt" ]
e6d1cefd63f3d08370484aca8b9cf50244cb666a06a2886fd886f67287da2e87
""" Test functions for multivariate normal distributions. """ from __future__ import division, print_function, absolute_import from numpy.testing import ( assert_allclose, assert_almost_equal, assert_array_almost_equal, assert_equal, assert_raises, run_module_suite, ) import numpy import nump...
chaluemwut/fbserver
venv/lib/python2.7/site-packages/scipy/stats/tests/test_multivariate.py
Python
apache-2.0
14,711
[ "Gaussian" ]
de48970225b2b8fe78f7e3fa276aeaed360b675e6a23678461adaa30668af077
# # Copyright (C) 2007, 2015, 2016, 2017, 2018, 2019, 2020, 2021 # Smithsonian Astrophysical Observatory # # # 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,...
anetasie/sherpa
sherpa/astro/xspec/tests/test_xspec.py
Python
gpl-3.0
22,671
[ "Gaussian" ]
4ac5b273979268abd951e1f5d98fd23978d257c721463ad742cec9dccfc7b998
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ Tests that relate to fitting models with quantity parameters """ # pylint: disable=invalid-name, no-member import numpy as np import pytest from astropy import units as u from astropy.units import UnitsError from astropy.tests.helper import assert_qua...
aleksandr-bakanov/astropy
astropy/modeling/tests/test_quantities_fitting.py
Python
bsd-3-clause
9,224
[ "Gaussian" ]
503594b085221b154bf7fdec601eb1b3e37c4836943fcb91d5727d95b711091a
from engfmt import Quantity, set_preferences class Case: def __init__(self, name, text, raw, formatted, prefs=None): self.name = name self.text = text self.raw = raw self.formatted = formatted self.prefs = prefs test_cases = [ Case('grange', '0', ('0', ''), '0'), Ca...
KenKundert/engfmt
test_quantity.py
Python
gpl-3.0
12,862
[ "Firefly" ]
974f9e0abf57824003afb867b7b5df3a4bf22fba3f91bc80a61de8847139dbbb
""" Utility functions and classes Run this module as a main program, or run it through `python -m doctest`, to exercise embedded tests. """ from __future__ import annotations # PEP 563 (allows annotation forward refs) from abc import ABC, abstractmethod import re import os import contextlib import markdown2 import s...
databricks-edu/build-tooling
bdc/bdcutil.py
Python
apache-2.0
53,106
[ "VisIt" ]
f2297237bb34539d821bcd6dee68906c28ab709349d9484c55bbde6f13a7fc85
'''** ********************************************************************** * * @file * * @author (c) Brian Lynch <brianrlynch85@gmail.com> * @date August, 2016 * @version 0.01 * * @brief Test implementation functions in python (called from C) * * @todo Clean up * * This file is subject to the t...
brianrlynch85/CToPython
py_functions.py
Python
apache-2.0
3,156
[ "Brian" ]
e5c3e660dcfe5a099e8af509dc9713a7300b6101c0787e44afe8e1a390d679e2
import time,calendar import string import numpy import scipy import sys, os, inspect from gittle import Gittle import tables import pylab import glob import matplotlib as mpl import matplotlib.pylab as plt import binascii import math from scipy.signal import convolve from scipy.interpolate import griddata from scipy.op...
bmazin/ARCONS-pipeline
util/utils.py
Python
gpl-2.0
52,727
[ "Gaussian" ]
21c6dc5be765aa96ec7d0124ce53cd454eeb0d32f07ef39f1d271b02d4bbc8cf
""" Parser function parse() to parse the .wout output file of Wannier90. """ import inspect import re from collections import defaultdict from . import show_output # Match the lines describing the nearest-neighbour Shells # Groups: # 0: Shell Index # 1: distance (ang^-1) # 2: multiplicity near_neigh_re = re.compile("...
greschd/wannier90
test-suite/tools/parsers/parse_wout.py
Python
gpl-2.0
4,819
[ "Wannier90" ]
78d188eeea18725227529626f374d6ebccef185c65e4984321ad16c45ac2731b
""" Test of the classical LM model for language modelling """ from groundhog.datasets import LMIterator from groundhog.trainer.SGD_adadelta import SGD from groundhog.mainLoop import MainLoop from groundhog.layers import MultiLayer, \ RecurrentMultiLayer, \ RecurrentMultiLayerInp, \ RecurrentMultiLa...
neozhangthe1/coverage_model
tutorials/DT_RNN_Tut_Adadelta.py
Python
bsd-3-clause
14,280
[ "Gaussian" ]
7274a488b88f4beb27af3c204a4c3244917b96348f102d4bb1881afa0065fcb7
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms o...
jgmanzanas/CMNT_004_15
project-addons/external_salesperson_visit/partner_visit.py
Python
agpl-3.0
7,393
[ "VisIt" ]
b64195bb17eb0d018d859f4113b2fe5c818abbf468a874a8390f91974de657f9
# sql/expression.py # Copyright (C) 2005-2012 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 """Defines the base components of SQL expression trees. All components are derived ...
nabsboss/CouchPotatoServer
libs/sqlalchemy/sql/expression.py
Python
gpl-3.0
192,463
[ "VisIt" ]
7101b0f5463e6490ebb33a1383491b08b1fc192bc6ed88b359a415d9e3c6c76a
from pattern import Pattern import numpy as np import itertools import time from random import randint class EqPatternColourful(Pattern): def __init__(self, meter_color=(255,100,50), background_color=(0,50,255), decay_time = 0.1): self.register_param("meter_r", 0, 255, meter_color[0]) self.register...
TheGentlemanOctopus/thegentlemanoctopus
octopus_code/core/octopus/patterns/eqPatternColourful.py
Python
gpl-3.0
2,517
[ "Octopus" ]
8cdc7ce0e74098a946b09a7171f705889d5d6c227f6fd4a7d843e6ceb1fcf8f3
#!/usr/bin/env python #encoding=utf8 #Copyright [2014] [Wei Zhang] #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 ...
anthonylife/TaobaoCompetition2014
src/MTL-LR/multiTaskLR.py
Python
gpl-2.0
7,922
[ "Gaussian" ]
7437626b41f11a3c772328d93068634127fab5c56c545d0aea888ffcd9d53907
#!/usr/bin/env python # # Wrapper script for starting the biopet-sampleconfig JAR package # # This script is written for use with the Conda package manager and is copied # from the peptide-shaker wrapper. Only the parameters are changed. # (https://github.com/bioconda/bioconda-recipes/blob/master/recipes/peptide-shaker...
CGATOxford/bioconda-recipes
recipes/biopet-sampleconfig/biopet-sampleconfig.py
Python
mit
3,375
[ "Bioconda" ]
406b59cf4cc028dc5d3f9501fa7f31817e231f1dbdfde2b0a6aece9a25c5e086
../../../../share/pyshared/orca/pronunciation_dict.py
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/python2.7/dist-packages/orca/pronunciation_dict.py
Python
gpl-3.0
53
[ "ORCA" ]
bdb9fa25b4bc9bdacb5dbca1ef0319c84b14b46ac38cb1ad44bb0290b5c087d8
# shamelessly copied from pliExpertInfo (Vali, Mirakels, Littlesat) from enigma import iServiceInformation, iPlayableService from Components.Converter.Converter import Converter from Components.Element import cached from Components.config import config from Tools.Transponder import ConvertToHumanReadable from Tools.Ge...
popazerty/SDG-gui
lib/python/Components/Converter/TranspBAExtraInfo.py
Python
gpl-2.0
24,131
[ "Galaxy" ]
ce325c5a581b337980a34cf774ce4fd02c891d80ee3a4811bc039d406f5b5663
"""Hillmaker""" # Copyright 2015 Mark Isken # # 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...
misken/hillmaker
hillmaker/hills.py
Python
apache-2.0
8,534
[ "VisIt" ]
632a4347c4d78a9d7e7674cf108b152090d8eeaaa15170feccf5bda967a0e394
r"""protocols is a module that contains a set of VTK Web related protocols that can be combined together to provide a flexible way to define very specific web application. """ from time import time import os, sys, logging, types, inspect, traceback, logging, re from vtkWebCorePython import vtkWebApplication, ...
timkrentz/SunTracker
IMU/VTK-6.2.0/Web/Python/vtk/web/protocols.py
Python
mit
11,069
[ "VTK" ]
dc89bb8a0bc4d16251d40e388788db60c08bdfc14fbeec429974c1f523aab923
# Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import gzip import json import os import unittest import warnings import xml.etree.ElementTree as ET from pathlib import Path from shutil import copyfile, copyfileobj import numpy as np import pytest from monty.tempfile impo...
materialsproject/pymatgen
pymatgen/io/vasp/tests/test_outputs.py
Python
mit
92,557
[ "VASP", "Wannier90", "pymatgen" ]
afedc341de133920143a8121b90dab731582c810f76b7896d44b09ac7743b1a3
# coding: utf8 import os import array import cffi _root = os.path.join(os.path.dirname(__file__)) _src = os.path.join(_root, 'src') _moz2d = os.path.join(_root, 'moz2d') with open(os.path.join(_src, 'azureblur.h')) as fd: _declarations = ''' struct AlphaBoxBlur; // Opaque typedef struct AlphaBoxB...
SimonSapin/azureblur
azureblur/__init__.py
Python
mpl-2.0
9,932
[ "Gaussian" ]
70c83a1f0d8f58cc3bf0b2ba32a29a4f6174d7d8700fd651c2bb3face55a18a4
#!/usr/bin/python """ Brief: Generates a script for doing the preprocessing steps for a single obsHistID. Authors: Nicole Silvestri, U. Washington, nms@astro.washington.edu Jeffrey P. Gardner, U. Washington, Google, gardnerj@phys.washington.edu """ from __future__ import with_statement import os, re, sys...
lsst-sims/sims_phosim_pythoncontrol
SingleVisitScriptGenerator.py
Python
gpl-3.0
25,443
[ "VisIt" ]
b7c103c74f25e40db2b1712c026e2b212d384e94100efb39160cc8dad06b52c3
"""setuptools.command.bdist_egg Build .egg distributions""" from distutils.errors import DistutilsSetupError from distutils.dir_util import remove_tree, mkpath from distutils import log from types import CodeType import sys import os import re import textwrap import marshal import warnings from setuptools.extern imp...
sserrot/champion_relationships
venv/Lib/site-packages/setuptools/command/bdist_egg.py
Python
mit
18,543
[ "VisIt" ]
1956dfb1ed0439652d1fe91ba114a19f1abed9c0ea6bb56b076efb4f4fbbdde5
""" Student Views """ import datetime import json import logging import uuid import warnings from collections import defaultdict, namedtuple from urlparse import parse_qs, urlsplit, urlunsplit import django import analytics import edx_oauth2_provider from django.conf import settings from django.contrib import message...
hastexo/edx-platform
common/djangoapps/student/views.py
Python
agpl-3.0
129,655
[ "VisIt" ]
c6ea39fdb17091d6799dcd9eaff9aa9085788ddb5da9328638778996c9d19c2c
# -*- coding: utf-8 -*- from nltk.sem.logic import * import unicodedata from nltk.internals import Counter from .logic_parser import lexpr _counter = Counter() # Term t ::= # x,y,z <IndividualVariableExpression> # e <EventVariableExpression> # f(t) <ApplicationExpression> where f ...
masashi-y/depccg
depccg/semantics/ccg2lambda/nltk2normal.py
Python
mit
18,350
[ "VisIt" ]
45aba3fca2b0c8f5c9aa80dec81f95659cf5de4c7a9662255da200c8d0d1257d
''' Neuromuscular simulator in Python. Copyright (C) 2018 Renato Naville Watanabe 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 any late...
rnwatanabe/projectPR
InterneuronNoChannel.py
Python
gpl-3.0
7,657
[ "NEURON" ]
2dca11074413b8ed66f2ef29eb0a31837be284871376d0d90d18972c371c8d91
#!/usr/bin/env python # -*- coding: utf-8 -*- """ It generates the list of allowed candidate fusion genes. This list is hard coded in here and it is manually curated from TCGA database (https://tcga-data.nci.nih.gov/tcga/ ). Author: Daniel Nicorici, Daniel.Nicorici@gmail.com Copyright (c) 2009-2021 Daniel Nicorici ...
ndaniel/fusioncatcher
bin/generate_tcga.py
Python
gpl-3.0
281,266
[ "VASP" ]
96ddf414d0b69dfa298f95fa4188b35659fc568ac60e45d4a368ac229b1c9303
# -*- coding: utf-8 -*- # vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 ############################################################################### # OpenLP - Open Source Lyrics Projection # # ------------------------------------------------------...
marmyshev/item_title
openlp/core/lib/searchedit.py
Python
gpl-2.0
9,181
[ "Brian" ]
8b8d605b84d26ed8d5b48ddd096ea65e9906bcd7c4401fc858dd75fe2934f419
#!/usr/bin/env python """ update local cfg """ from DIRAC.Core.Base.Script import Script Script.setUsageMessage( "\n".join( [ __doc__.split("\n")[1], "Usage:", " %s [options] ... DB ..." % Script.scriptName, "Arguments:", " setup: Name of the bu...
DIRACGrid/DIRAC
tests/Jenkins/dirac-cfg-update-services.py
Python
gpl-3.0
2,500
[ "DIRAC" ]
d32611b959ff967c75c85e571c5a742737b3130a06ebc1d265e405e74f746766
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
eric-haibin-lin/mxnet
python/mxnet/symbol/random.py
Python
apache-2.0
18,404
[ "Gaussian" ]
e3ef7b61b1f26f74f7e3f92da9425035b86e89fb364cfb705c4f2caf2a61b802
from datetime import datetime, timedelta import pytz from django.contrib.postgres.fields import JSONField from django.core.mail import mail_admins from django.db import models from bestiary.models import Monster, Dungeon, Level, GameItem, Rune, RuneCraft, Artifact, ArtifactCraft from herders.models import Summoner ...
PeteAndersen/swarfarm
data_log/models/log_models.py
Python
apache-2.0
47,582
[ "CRYSTAL" ]
00b895f8542bb4d1e4923bc109c64843fa6e45f8686883a5024dee4f1f0ae1f3
"""Contains the base classes for the EventManager and QueuedEvents""" # events.py # Mission Pinball Framework # Written by Brian Madden & Gabe Knuth # Released under the MIT License. (See license info at the end of this file.) # Documentation and more info at http://missionpinball.com/mpf import logging from collecti...
jabdoa2/mpf
mpf/system/events.py
Python
mit
25,267
[ "Brian" ]
dab092d9f299bc72f8c04ed3848813b18e886061c5d3f4ff46cec8de77f7be11
from __future__ import print_function import sys import time import atexit import pickle import numpy as np from ase.utils import devnull def get_txt(txt, rank): if hasattr(txt, 'write'): # Note: User-supplied object might write to files from many ranks. return txt elif rank == 0: if...
suttond/MODOI
ase/parallel.py
Python
lgpl-3.0
4,136
[ "ASE", "GPAW" ]
4b0c37f30ff7c90aed1a63cdb6f9666dd90874bb5448fd8c33aefd83831970fb
#!/usr/bin/env python2 ############################################################################### # ------------------------- Description --------------------------------------- ############################################################################### # This script is designed to create a mask of stagnatio...
stevenjoelbrey/PMFutures
Python/find_era_interim_stagnation_days.py
Python
mit
8,540
[ "NetCDF" ]
b03a46815eeb14011fe68a7c02eff07f932b0ded125c03f4acdf148ebf3cd43e
# Copyright 2018 The TensorFlow Probability 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 applicable law o...
tensorflow/probability
tensorflow_probability/python/bijectors/masked_autoregressive.py
Python
apache-2.0
57,939
[ "Gaussian" ]
a544e5d42630cc1edbd7b6fa801509b51030e2e6b168cc7670ddac56ea5f1b1d
""" Process an input dataset into a format suitable for machine learning. """ import os import tempfile import zipfile import time import logging import warnings from typing import List, Optional, Tuple, Any, Sequence, Union, Iterator import pandas as pd import numpy as np from deepchem.utils.typing import OneOrMany ...
peastman/deepchem
deepchem/data/data_loader.py
Python
mit
48,363
[ "RDKit" ]
619a1c4a0c6b2594cb50ae2d84a33f0a11128942afc4b599b433304bbd02ad39
from .node import InputNode, Neuron class Layer: lid = 0 def __init__(self, size, with_bias_node=True): self._lid = Layer.lid Layer.lid += 1 self._size = size Node = self._lid > 0 and Neuron or InputNode self._nodes = [ Node() for i in range(size) ] if with_bi...
nima/nimachines
py/nimachines/layer.py
Python
gpl-2.0
684
[ "NEURON" ]
0384fd2eeec969abc59899ae46952d4460a55b70fc1a5a11543054b06b2faa60
#!/usr/bin/env python """ ADS to BibDesk -- frictionless import of ADS publications into BibDesk Copyright (C) 2014 Rui Pereira <rui.pereira@gmail.com> and Jonathan Sick <jonathansick@mac.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Genera...
jonathansick/ads_bibdesk
adsbibdesk.py
Python
gpl-3.0
65,095
[ "VisIt" ]
555d397bc5464345103e71a1f520432b4de0e93eb84c27c638b1e2cb9917945d
from __future__ import print_function import os import sys here = os.path.dirname(os.path.abspath(os.path.dirname(__file__))) sys.path = [here] + sys.path import numpy as np import theano import mner.optimizer import mner.util.util import mner.solvers.solvers import mner.solvers.constraints import mner.solvers.sample...
jkaardal/mner
tests/tests.py
Python
mit
14,334
[ "Gaussian" ]
a329594aed437cdd3010df7d0caab9b64c1c3d4f8a0e14a9298394c7afd497ac
import pysam, sys, os, collections from jobTree.src.bioio import reverseComplement, fastaRead, fastqRead, cigarReadFromString, PairwiseAlignment, system, fastaWrite, fastqWrite, cigarRead, logger, nameValue, absSymPath from cactus.bar import cactus_expectationMaximisation from cactus.bar.cactus_expectationMaximisation ...
mitenjain/nanopore
nanopore/analyses/utils.py
Python
mit
28,935
[ "BWA", "pysam" ]
0dfd40977b45603e0c6db1fff7043fc21b0286aa400839fae68a5830d696fa73
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
AsimmHirani/ISpyPi
tensorflow/contrib/tensorflow-master/tensorflow/contrib/distributions/python/ops/normal.py
Python
apache-2.0
9,147
[ "Gaussian" ]
e56c5d1e8e1768880d485e0f7785b197bf1651f119d8e965c0c581dac444a02a
from distutils.core import setup setup( name = 'pyPheWAS', packages = ['pyPheWAS'], # this must be the same as the name above version = '4.0.4', description = 'MASI Lab Port of PheWAS into Python', author = 'MASI Lab', author_email = 'bennett.landman@vanderbilt.edu', url = 'https://github.com/MASILab/pyP...
BennettLandman/pyPheWAS
setup.py
Python
mit
1,668
[ "Biopython" ]
61b9b8059f1e834ea7b871fab21998ed0cb0a5d6054a963c9d5ace89b5e3de4d
# coding: utf-8 # ### Visualizing the first 1000 Defective Ids and first 1000 Non-Defective Ids using [IBM System G](http://systemg.research.ibm.com/) and their movements across the production lines to develop useful insights about the data. # # ## Import Node.csv and Edge.csv to system G visualizer for the respect...
vibhutiM/Production-Failures
scripts/graph-viz.py
Python
apache-2.0
2,512
[ "VisIt" ]
03c1952a324eb9cc2fad109065a1ae2e4a1413e92178b4d8529f3199999175df
# -*- coding: utf-8 -*- """ Regression tests for the Test Client, especially the customized assertions. """ from __future__ import unicode_literals import itertools import os from django.contrib.auth.models import User from django.contrib.auth.signals import user_logged_in, user_logged_out from django.core.urlresolve...
memtoko/django
tests/test_client_regress/tests.py
Python
bsd-3-clause
65,927
[ "VisIt" ]
543baefdf13bfd023c1e467f051baaf144403a4c69481f7391c7483ccad76dcc
#! /usr/bin/env python2 # -*- coding: utf-8 -*- """ - Author: Ludovic, Jean, Michel Jarno (La Ville Jarno en Ploërmel, Guillac, Lanouée) <ludovic.villejarno@gmail.com> - Licence: MIT Requirements ------------ - Python <https://www.python.org/> created in the early 1990s by Guido van Rossum - pycrypto <https://pypi....
ludojmj/treelud
server/server.py
Python
mit
11,804
[ "Brian" ]
3a91d378a51ae5f72bf2b249777e2c2e0a85621a8d1a19119ea07a6e12917b5c
#__docformat__ = "restructuredtext en" # ******NOTICE*************** # optimize.py module by Travis E. Oliphant # # You may copy and use this module as you see fit with no # guarantee implied provided you keep this notice in all copies. # *****END NOTICE************ import numpy as np from numpy import atleast_1d, eye...
JConwayAWT/PGSS14CC
lib/python/multimetallics/ase/optimize/bfgslinesearch.py
Python
gpl-2.0
6,716
[ "ASE" ]
8a7a309c0aa5a5b19a3a5793864f4325ab62c7dc137491e155fe16aa07730b0f
#!/usr/bin/python #Audio Tools, a module and set of tools for manipulating audio data #Copyright (C) 2007-2012 Brian Langenberger #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 2...
Excito/audiotools
setup.py
Python
gpl-2.0
6,319
[ "Brian" ]
6789e3769c972c996c0e71636c76a056ba82187e83d69c5d99b4fd795383cadf
r""" ================================== Constants (:mod:`scipy.constants`) ================================== .. currentmodule:: scipy.constants Physical and mathematical constants and units. Mathematical constants ====================== ================ ===========================================================...
apbard/scipy
scipy/constants/__init__.py
Python
bsd-3-clause
12,245
[ "Avogadro" ]
0bc622aace92f34b84700947214281c0dd8af4e5d39209db17919e7e23584ce9
""" TransformationAgent processes transformations found in the transformation database. The following options can be set for the TransformationAgent. .. literalinclude:: ../ConfigTemplate.cfg :start-after: ##BEGIN TransformationAgent :end-before: ##END :dedent: 2 :caption: TransformationAgent options """ fro...
ic-hep/DIRAC
src/DIRAC/TransformationSystem/Agent/TransformationAgent.py
Python
gpl-3.0
33,101
[ "DIRAC" ]
8791e3f4c77cf0cf1b3d02099e2329b961f3ec83ce0fabab03d86baf41008d87
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> from __future__ import division import pandas as pd import numpy as np import os import sys import gspread from StringIO import StringIO import csv sys.path.append('/home/will/PySeqUtils/') sys.path.append('/home/will/PatientPicker/') os.chdir('/home/wil...
JudoWill/ResearchNotebooks
LTRgraphs.py
Python
mit
7,904
[ "VisIt" ]
40d5f70592d5d62ec74a2913543d537b698fdc97f2ab1972e813c79873311e17
#!/usr/bin/env python # * **************************************************************** ** # # File: tokens.py # Desc: Operation on token data structures # Note: # # Author: Brian Danilko, Likeable Software (brian@likeablesoftware.com) # # Copyright 2006, 2014, 2016, 2017 Microbric Pty Ltd. # # This program is free...
Bdanilko/EdPy
src/lib/tokens.py
Python
gpl-2.0
34,076
[ "Brian" ]
e3447ed28fb58d98d08fc6b197365ef1b86f2eae52f0ccce304d3606f8a1db87
#!/usr/bin/env python ''' For the customized energy and gradients function (e.g. adding DFT-D3 correction), a fake pyscf method need to be created before passing to berny_solver. ''' import numpy as np from pyscf import gto, scf from pyscf.geomopt import berny_solver, geometric_solver, as_pyscf_method mol = gto.M(at...
gkc1000/pyscf
examples/geomopt/02-as_pyscf_method.py
Python
apache-2.0
1,266
[ "PySCF" ]
6608f841cf5e3a3a73f1d7fb1619e025955f113ead36139708035dd829c45b0c
# Copyright (C) 2003 CAMP # Please see the accompanying LICENSE file for further information. """Atomic-centered localized functions.""" from math import pi, cos, sin import numpy as np from gpaw import debug from gpaw.utilities import is_contiguous from gpaw.mpi import run import _gpaw MASTER = 0 def create_l...
qsnake/gpaw
gpaw/localized_functions.py
Python
gpl-3.0
18,789
[ "GPAW" ]
59369df6f4f27a264340d713fdbb0f93163fe67acda23f54053f3f3326447b6d
# -*- coding:utf-8 -*- """ Script for running multiple simulation with different parameter set. Usage ----- ``python run_multip.py <N_PROC> <PARAMETERSETS_DIRECTORY>`` with ``N_RPOC`` the number of processors to run the simulations on, and ``PARAMETERSETS_DIRECTORY`` the directory containing the parameter set files. T...
neuro-lyon/multiglom-model
src/run_multip.py
Python
mit
3,360
[ "Brian" ]
75f1906397aff36c8c4561aacf402c52be338247976842098a260ec8e9aed6c5
# -*- coding: utf-8 -*- """The option dialog use to adjust the setting of algorithm.""" __author__ = "Yuan Chang" __copyright__ = "Copyright (C) 2016-2019" __license__ = "AGPL" __email__ = "pyslvs@gmail.com" from typing import cast, List, Tuple, Dict, Union, Optional from qtpy.QtCore import Slot, Qt from qtpy.QtWidg...
KmolYuan/Pyslvs-PyQt5
pyslvs_ui/synthesis/dimensional_synthesis/dialogs/options.py
Python
agpl-3.0
6,162
[ "Firefly" ]
a7bc251ecc901d6672f44eab6ef01f6233617012fc243fe92fff615991697ca1
import os import sys import threading import time import webbrowser import flask import tornado from tornado.httpserver import HTTPServer from tornado.ioloop import IOLoop from tornado.wsgi import WSGIContainer _basedir = os.path.join("..", os.path.dirname(__file__)) app = flask.Flask(__name__, static_folder="/unuse...
ericmjl/bokeh
sphinx/docserver.py
Python
bsd-3-clause
2,079
[ "VisIt" ]
c196513455a2abc8cab44a44d25f83eb40e49c2f4e54780fa6291c7e070f209f
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
rangadi/beam
sdks/python/apache_beam/runners/direct/consumer_tracking_pipeline_visitor_test.py
Python
apache-2.0
4,457
[ "VisIt" ]
eb876bb1f932f98bf077e7390289fd3603fc1ae9c6e34f685bb991820143fc92
import numpy as np import logging from collections import namedtuple #from bfgs import lineSearch, BFGS from pele.optimize import LBFGS from mylbfgs_updatestep import mylbfgs_updatestep __all__ = ["MYLBFGS"] _logger = logging.getLogger("pele.optimize") class MYLBFGS(LBFGS): """ minimize a function using the...
js850/pele
pele/optimize/_mylbfgs.py
Python
gpl-3.0
5,933
[ "PyMOL" ]
28f9d2468ff60cdc912ec7ac4b45812c456c4fdb880770d3d906b0ad085943fd
#!/usr/bin/env python # \author Bruno Combal, IOC-UNESCO # \date December 2013 # many thanks to Mark Carson (ZMAW) for advising me on the computation and usage of control run with CMIP5 datasets. # to run the script with the correct version of uvcdat: # source /usr/local/uvcdat/1.4.0/bin/setup_runtime.sh import cdm...
IOC-CODE/cmip5_projections
make_modelTrend.py
Python
gpl-2.0
12,257
[ "NetCDF" ]
2e76f84888618042ef3e074e6e125faa4c01a174c700facf271a0f96235fe459
""" @file outputs.py @author Yun-Pang Floetteroed @author Daniel Krajzewicz @author Michael Behrisch @date 2007-12-25 @version $Id: outputs.py 22608 2017-01-17 06:28:54Z behrisch $ This script is for generating the outputs from the choosed traffic assignment. SUMO, Simulation of Urban MObility; see http://su...
702nADOS/sumo
tools/assign/outputs.py
Python
gpl-3.0
7,157
[ "MOE" ]
3e0584a357f9143f50079773736e8feaabfebf2fdfc88aa4c1fbc4ac90112666
#!/usr/bin/python # coding: utf-8 # ################################################################################# # Copyright (C) 2014 Francesco Giovannini, Neurosys - INRIA CR Nancy - Grand Est # Authors: Francesco Giovannini # email: francesco.giovannini@inria.fr # website: http://neurosys.loria.fr/ # Permission...
JoErNanO/brianmodel
setup.py
Python
gpl-3.0
1,471
[ "Brian" ]
64fae599b9db92e457e10e7d5f91d7fd08cc7520dd39064e0bd6835046f73d4e
# (c) 2012, Michael DeHaan, <michael.dehaan@gmail.com> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' ...
e-gob/plataforma-kioscos-autoatencion
scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/plugins/callback/osx_say.py
Python
bsd-3-clause
2,867
[ "exciting" ]
b418afe4d9eabcf82da07852a3848dd3ad785eda04e5f5a876f52dc72540f418
#!/usr/bin/python2.4 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """This is a simple HTTP server used for testing Chrome. It supports several test URLs, as specified by the handlers in TestPa...
rwatson/chromium-capsicum
net/tools/testserver/testserver.py
Python
bsd-3-clause
39,247
[ "VisIt" ]
660f626aaacd5c089284130d54a350c4959430e09c73cfba2655327836e48ccd
"""Provides an interface the QCDB Server instance""" import json import os import re from collections import defaultdict from typing import TYPE_CHECKING, Any, DefaultDict, Dict, List, Optional, Tuple, Union import pandas as pd import requests from pydantic import ValidationError from .collections import collection_...
psi4/DatenQM
qcfractal/interface/client.py
Python
bsd-3-clause
48,103
[ "Psi4", "RDKit" ]
67d2c927d0da1c93c6b5a763ccc5fc23b5049c991722014207071ae1423c0d71
# # simpleconifg.py - representation of a simple configuration file (sh-like) # # Matt Wilson <msw@redhat.com> # Jeremy Katz <katzj@redhat.com> # Will Woods <wwoods@redhat.com> # Brian C. Lane <bcl@redhat.com> # # Copyright 1999-2012 Red Hat, Inc. # # This software may be freely redistributed under the terms of the GNU...
cs2c-zhangchao/nkwin1.0-anaconda
pyanaconda/simpleconfig.py
Python
gpl-2.0
6,127
[ "Brian" ]
fa0fc29337022f9073ff4bad269abf50867e5879c18676be3257b46f9db4a117