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 -*- # Coh-Metrix-Dementia - Automatic text analysis and classification for dementia. # Copyright (C) 2014 Andre Luiz Verucci da Cunha # # 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 F...
andrecunha/coh-metrix-dementia
coh/scripts/tokenize_plnbr.py
Python
gpl-3.0
3,185
[ "FEFF" ]
839412118e9712c7d4ea55956f01be664e93503cdbd74e008b30f1e25d323ddc
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
googleapis/python-area120-tables
tests/unit/gapic/tables_v1alpha1/test_tables_service.py
Python
apache-2.0
139,821
[ "Octopus" ]
36e9b07641659b46c5097cd74acc7a043267e0e1fce2cad5919caf6e47718739
class ElementParserSection: import re def __init__(self): self._p = { 'DBCSR': dict(), 'CP2K': dict(), 'GLOBAL': dict(), 'ENERGY': dict() } self._k = '' self._v = '' # returns true if parser can parse ...
dev-zero/cp2k-tools
cp2k_tools/parser/output.py
Python
apache-2.0
9,154
[ "CP2K" ]
1241b75a3782519d467af93d1b3712bb4907cfc6dfe382317379cb57611d8f72
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # ''' CASCI/CASSCF excited state with mcscf.state_specific_ decorator ''' from pyscf import gto, scf, mcscf mol = gto.M( atom = [ ['O', ( 0., 0. , 0. )], ['H', ( 0., -0.757, 0.587)], ['H', ( 0., 0.757 , 0.587)],], ...
gkc1000/pyscf
examples/mcscf/15-state_specific.py
Python
apache-2.0
910
[ "PySCF" ]
be03d7ca6731395a386e3c15c8da8e384f9d77ed0ea4ad53c3c3952a84cab753
#!/usr/bin/env python import os from datetime import datetime, timedelta import logging import json import argparse import numpy os.environ['GDAL_NETCDF_BOTTOMUP'] = 'NO' import rasterio from rasterio._io import RasterReader logger = logging.getLogger() DATE_FORMAT = '%Y%m%d' def get_cities(): """ Loads...
azavea/nex2json-ingest
chunker/nex2json.py
Python
apache-2.0
4,006
[ "NetCDF" ]
c768b8a0d8aaacd74a8f835b32b510c9a991651bcbe2f3c83950b6f137970ccf
#!/usr/bin/env python ################################################## ## DEPENDENCIES import sys import os import os.path try: import builtins as builtin except ImportError: import __builtin__ as builtin from os.path import getmtime, exists import time import types from Cheetah.Version import MinCompatib...
MOA-2011/e2openplugin-OpenWebif
plugin/controllers/views/web/mediaplayerlist.py
Python
gpl-2.0
5,786
[ "VisIt" ]
1921a0d9770916557e10b3ec46591630ed3990c30ccc1dfb21b279fdb8c1442c
"""This module contains utility functions and classes used in the package.""" import unittest from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from tests import settings class SeleniumTestCase(unittest.TestCase): """A test case with a WebDriver and helper functions.""...
FellowshipofIntentionalCommunity/website-tests
tests/utils.py
Python
gpl-3.0
3,958
[ "VisIt" ]
b3e0e42087f1091925f97bdd0e631b9e2d6891a1c854d32f301cda5d7e0ebd9f
# NOTE: This example uses the next generation Twilio helper library - for more # information on how to download and install this version, visit # https://www.twilio.com/docs/libraries/python import os from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/user/account # To set up environmenta...
TwilioDevEd/api-snippets
notifications/rest/services/list-service/list-service.7.x.py
Python
mit
533
[ "VisIt" ]
5d7a0b598921fd4f3e25abce6eaad94e57d1659c0f1bc8221828de32b2c12a88
""" Tools for plotting and publishing power system simulations and analysis results. (c) 2015 Juan Manuel Mauricio https://www.packtpub.com/books/content/plotting-geographical-data-using-basemap """ from __future__ import division, print_function import numpy as np import scipy.linalg import matplotlib.pyplot as p...
jmmauricio/pypstools
build/lib.linux-x86_64-2.7/pypstools/publisher.py
Python
gpl-3.0
55,611
[ "Gaussian" ]
95ebbc53a07dd03d95e6bf708b2e170f3fffa747843440bac3f83cfb634458cb
#!/usr/bin/env python # kf.py - Implementation of a Python interface to read and write KF files. # This is an implementation that uses the KF utilities to do the actual work, # so you need a working ADF installation. # # Copyright (C) 2006-2008 by Scientific Computing and Modelling NV. # For support, c...
twilsonco/CPGobbler
kf.py
Python
gpl-3.0
12,472
[ "ADF" ]
10c2c5774d0d9e410c0cc195f6f741ad46daeb66f04d65b39b0ca9274116722c
# $Id$ # # Copyright (C) 2002-2008 greg Landrum and Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # """ generation of 2D ph...
rdkit/rdkit-orig
rdkit/Chem/Pharm2D/Generate.py
Python
bsd-3-clause
4,719
[ "RDKit" ]
bd076b3db6a73aa0d9473905318079def2748bd78914c409468cc550102a6621
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
googleapis/python-logging
scripts/fixup_logging_v2_keywords.py
Python
apache-2.0
7,328
[ "VisIt" ]
83f01bd6816cd1aba83efabab73e9cfc5281298eb3001df71dc7fb3761e312dc
# BridgeDB i18n strings & helper routines. The string should go into pootle import os import gettext def getLang(lang, localedir=os.path.expanduser("~") + "/share/locale"): """Return the Translation instance for a given language. If no Translation instance is found, return the one for 'en' """ retu...
wfn/bridgedb
lib/bridgedb/I18n.py
Python
bsd-3-clause
3,278
[ "VisIt" ]
22f02e0e2f3926d0abf6433ffd624749047e5c5d615d8c0267e67b42bc76c823
""" Gaussianity Tests ----------------- Figure 4.7. The results of the Anderson-Darling test, the Kolmogorov-Smirnov test, and the Shapiro-Wilk test when applied to a sample of 10,000 values drawn from a normal distribution (upper panel) and from a combination of two Gaussian distributions (lower panel). The function...
kcavagnolo/astroML
book_figures/chapter4/fig_anderson_darling.py
Python
bsd-2-clause
3,714
[ "Gaussian" ]
a1d55de122319e51969a7e6ccd7f9cd7fe78dc7f0a00937034074345a99d6cae
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'IndicatorPart.data' db.add_column('profiles_indicatorpart', 'data', self.gf('django.db.mod...
ProvidencePlan/Profiles
communityprofiles/profiles/oldmigrations/0025_auto__add_field_indicatorpart_data.py
Python
mit
13,078
[ "MOE" ]
3577ef40ff9557e14b74121c8b979b92edbbd3afe54af6ac9ca35130a01a6b36
""":mod:`wand.image` --- Image objects ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opens and manipulates images. Image objects can be used in :keyword:`with` statement, and these resources will be automatically managed (even if any error happened):: with Image(filename='pikachu.png') as i: print('width =', i.w...
dahlia/wand
wand/image.py
Python
mit
421,794
[ "Gaussian" ]
77df159f12ded7acd834b5068c4ee7cd97cfa79894c72d53933fbc0590fc30f5
#!/usr/bin/env python import pylink from pylink import TaggedAttribute as TA def __do_it_do_it_now(self): return self.whimsy_coefficient ex = { 'whimsy_coefficient': TA(42, datasheet="hitchhiker's guide to the galaxy", author="Douglas Adams"), 'wa...
harrison-caudill/pylink
examples/basic.py
Python
bsd-3-clause
1,983
[ "Galaxy" ]
22136ba7df6101e3955e634e737112683235d95c76b96101520b0bda117cedf3
# Collection of our favorite functional idioms # Note in many cases you'll see normal python functions # with the arguments reversed. Have a look at # http://functionaltalks.org/2013/05/27/brian-lonsdorf-hey-underscore-youre-doing-it-wrong/ # to understand why from __future__ import absolute_import from __future__ imp...
dilgerma/shipwright
shipwright/fn.py
Python
apache-2.0
6,363
[ "Brian" ]
9143f1cadb4ad567c56d799347eb7eee107fbcdaa45a3b6b81a33653f6752fa8
import pytest from TwitterClient import TwitterClient class TestTwitterClient: def test_get_matplotlib_tweets(self): """ Check if we get the expected results for bioconductor. """ term = "matplotlib" client = TwitterClient() results = client.get_tweets(term) ...
sentimental-research/twitter_client
TwitterClient/test/test_twitter_client.py
Python
apache-2.0
981
[ "Bioconductor" ]
4b6bb75b51a58e6e751d6b7751523f78f08328d33b8f7c42d785b9c9cb629762
# Copyright (C) 2012,2013 # Max Planck Institute for Polymer Research # Copyright (C) 2008,2009,2010,2011 # Max-Planck-Institute for Polymer Research & Fraunhofer SCAI # # This file is part of ESPResSo++. # # ESPResSo++ is free software: you can redistribute it and/or modify # it under the terms of t...
BackupTheBerlios/espressopp
src/ParallelTempering.py
Python
gpl-3.0
5,800
[ "ESPResSo" ]
a2175b1207370d7cc3573224eaa5930df079504a0df929aa405a4ebcc2a6e803
""" Python test discovery, setup and run of test functions. """ import re import fnmatch import functools import py import inspect import types import sys import pytest from _pytest.mark import MarkDecorator, MarkerError from py._code.code import TerminalRepr try: import enum except ImportError: # pragma: no cove...
gabrielcnr/pytest
_pytest/python.py
Python
mit
88,828
[ "VisIt" ]
d90622da6909e464284ce33b219315572fb4644c368d14b1cf2f31493837e3ae
# TODO: To be refactored into parallel shared memory lang, # where you plugin in the parallel shared memory language specific codegen import logging import raco.scheme as scheme from raco import algebra from raco import expression from raco import rules from raco.algebra import gensym from raco.backends import Algeb...
uwescience/raco
raco/backends/radish/radish.py
Python
bsd-3-clause
93,176
[ "VisIt" ]
bebce979ee88c4ede68f4e266ff1d1c6be182c1933857c7a0502e0c1f1b18846
#!/usr/bin/env python #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # # Name: generate_gaussian_samples.py # # Author: Constantin Weisser (weisser@mit.edu) # # Purpose: This is a python script to write a file containing 10000 data points # sampled from a 2D Gaussian # #-#-...
weissercn/MLTools
Dalitz/gaussian_samples/higher_dimensional_gauss/generate_gaussian_samples.py
Python
mit
2,202
[ "Gaussian" ]
189b1007d5df9b3b3511f31874710ee64e45074d545c0bb8f674fa8223fba3b0
# -*- coding: utf-8 -*- import base64 import datetime import json import time import mock from nose.tools import eq_, ok_ from nose.plugins.attrib import attr from pyquery import PyQuery as pq from urlparse import urlparse from django.conf import settings from django.contrib.sites.models import Site from django.core...
davehunt/kuma
kuma/wiki/tests/test_views.py
Python
mpl-2.0
166,620
[ "VisIt" ]
7e5138a73db059d22f8cf14652d810184a356e39fc72bb24e33f42265b90e822
##################################################################################################################### # more_nodes: This module implements several new nodes and helper functions. It is part of the Cuicuilco framework. # # ...
AlbertoEsc/cuicuilco
more_nodes.py
Python
apache-2.0
133,945
[ "Gaussian" ]
73afe4428efc57f475d644dbd2ea363e98be4f7bfdfc502aa419a372f2df1951
"""Code for checking for local names and superfluous import statements. This code provides searches for local symbols in the AST, assignments and such things. """ # This file is part of the Snakefood open source package. # See http://furius.ca/snakefood/ for licensing details. # stdlib imports import compiler __all_...
jd23/py-deps
lib/python/snakefood/local.py
Python
gpl-2.0
4,041
[ "VisIt" ]
1a586be45a188d22a6444a790f8a713b5dc64c062acbf10859e77424154fdcaa
######################################################################## # $HeadURL$ # Author : Andrei Tsaregorodtsev ######################################################################## """ Utilities for managing DIRAC configuration: getCEsFromCS getUnusedGridCEs getUnusedGridSEs getSiteUpdates get...
coberger/DIRAC
ConfigurationSystem/Client/Utilities.py
Python
gpl-3.0
19,473
[ "DIRAC" ]
711cc0c2b24d5c049aa0bf2e724cb500c30a2a011b80ff17686a91fb6a295086
#!/usr/bin/env python # Author: Andrew Jewett (jewett.aij at g mail) # License: MIT License (See LICENSE.md) # Copyright (c) 2013 # All rights reserved. """ lttree_check.py The original template file format supports any variable types or file names. However if you plan to process template files using lttree.py to c...
jewettaij/moltemplate
moltemplate/lttree_check.py
Python
mit
146,702
[ "LAMMPS" ]
fe5747db53f89999ea9966caeb46456133cae16c1eeeebb50a007b8e44762ed7
# Copyright (C) 2002, Thomas Hamelryck (thamelry@binf.ku.dk) # 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. """Chain class, used in Structure objects.""" from Bio.PDB.Entity import Entity class...
BlogomaticProject/Blogomatic
opt/blog-o-matic/usr/lib/python/Bio/PDB/Chain.py
Python
gpl-2.0
3,677
[ "Biopython" ]
608f74870850a27ef4af12c5f91c937e4f5fda27a58b10aaad7e8fb694f7e70e
# _*_ coding: utf-8 _*_ # # Psybernetics 2015 # Original code from Kademlia Copyright (c) 2014 Brian Muller # MIT License # """ See the corresponding file at synchrony/resources/peers.py for the process messages go through before being received by their counterpart methods in the protocol class. This namespace and...
Psybernetics/Synchrony
synchrony/controllers/dht.py
Python
mit
111,935
[ "Brian", "VisIt" ]
d5e178f39feee9d3dd22c68bb9f03832c0122acf13557c91577100a8c89f4679
import sys import numpy as np from PyQt4.QtGui import QIntValidator, QDoubleValidator, QApplication, QSizePolicy from PyMca5.PyMcaIO import specfilewrapper as specfile from orangewidget import gui from orangewidget.settings import Setting from oasys.widgets import widget try: from orangecontrib.xoppy.util.xoppy_ca...
srio/Orange-XOPPY
devel/json/xfh.py
Python
bsd-2-clause
8,552
[ "CRYSTAL" ]
8082e46c8f84ad26edc48f511ec853c444b2b61e0aff786a299a3559bc35b000
import os import subprocess import re import math import click from dgl import library_constants @click.group() def cli(): pass def doench(sequence): """ Based on original Doench scoring algorithm from Doench et al 2014. """ score = getattr(library_constants, INTERCEPT) # get the GC count...
DeskGen/dgcli
library_design/dgl/score_guides.py
Python
gpl-2.0
10,954
[ "Bowtie" ]
31a1640b1e0dc79493451381d20351ab2deef83dc3202ba758a29cd72b5dd4e1
# -*- encoding: utf-8 -*- # Copyright (c) 2012 Oliver Beckstein <orbeckst@gmail.com> # Released under the GNU Public License 3 (or higher, your choice) # See the file COPYING for details. """ Hydrogen bond analysis ====================== Analysis of hydrogen bonds using :class:`gromacs.tools.G_hbond`. Example ------...
pslacerda/GromacsWrapper
gromacs/analysis/plugins/hbonds.py
Python
gpl-3.0
11,494
[ "Gromacs" ]
16594a2c27d67da9adfdcfe38edc182a33a2b9e6e7d44f86ce5080f8874bfe9d
"""MSMBuilder: Statistical models for Biomolecular Dynamics """ from __future__ import print_function, absolute_import DOCLINES = __doc__.split("\n") import os import sys import glob import traceback import numpy as np from os.path import join as pjoin from setuptools import setup, Extension, find_packages try: ...
stephenliu1989/msmbuilder
setup.py
Python
lgpl-2.1
7,304
[ "Gaussian", "MDTraj" ]
127288e58aca574cb68051fdf1ed27aac61e52f1a5b1e7cbc02de3ea16a69a12
import numpy as np import os import pandas as pd import time import math from itertools import chain import bifacial_radiance from dask.distributed import Client from math import sin, cos, radians # Run simulation using the given timestamp def simulate_single(idx=None, test_folder_fmt=None, weather_file=None): ...
NREL/bifacial_radiance
bifacial_radiance/HPCScripts/Other Examples (unorganized)/compile_B.py
Python
bsd-3-clause
5,141
[ "EPW" ]
2414033751a790e211e84d654f7e9b616005480eaf0208e65528b0476d7a0da9
import doublyPeriodic import numpy as np; from numpy import pi import time class model(doublyPeriodic.numerics): def __init__( self, name = "hydrostaticWaveEquationExample", # Grid parameters nx = 128, Lx = 2.0*pi, ny = None, Ly ...
glwagner/py2Periodic
build/lib/py2Periodic/hydrostaticWavesInXY.py
Python
mit
10,836
[ "Gaussian" ]
70e3621171ffe5f3244ab9cd0a7e6a6e787d5a94fd1701d670edc2a119c73e0f
""" General linear models -------------------- """ import numpy as np from nipy.fixes.scipy.stats.models import family from nipy.fixes.scipy.stats.models.regression import WLSModel class Model(WLSModel): niter = 10 def __init__(self, design, family=family.Gaussian()): self.family = family s...
yarikoptic/NiPy-OLD
nipy/fixes/scipy/stats/models/glm.py
Python
bsd-3-clause
2,567
[ "Gaussian" ]
977265f7f203c98288b99db1dc8bd94cfbb3fa6807cfc6fa15eaa804d57ed264
""" Displays Agg images in the browser, with interactivity """ from __future__ import (absolute_import, division, print_function, unicode_literals) # The WebAgg backend is divided into two modules: # # - `backend_webagg_core.py` contains code necessary to embed a WebAgg # plot inside of a web...
jonyroda97/redbot-amigosprovaveis
lib/matplotlib/backends/backend_webagg.py
Python
gpl-3.0
11,576
[ "VisIt" ]
70b9c2876bf1c68e42a0569b118dc066476ca4adf5c21f4299d939b6541bddbb
# Autodetecting setup.py script for building the Python extensions # __version__ = "$Revision$" import sys, os, imp, re, optparse from glob import glob from platform import machine as platform_machine import sysconfig from distutils import log from distutils import text_file from distutils.errors import * from distu...
jlspyaozhongkai/Uter
third_party_backup/Python-2.7.9/setup.py
Python
gpl-3.0
97,660
[ "VisIt" ]
3d335024e7bcf511ce5f9b4da3594198d502765534bc81e34509d852ef32c96b
from math import sqrt, log class Node: """ A node in the game tree. Note wins is always from the viewpoint of playerJustMoved. Crashes if state not specified. """ def __init__(self, move = None, parent = None, state = None): self.move = move # the move that got us to this node - "None" for...
crainiarc/poker-ai-planner
agents/mcts/node.py
Python
mit
2,188
[ "VisIt" ]
c560ae4bd802f4ae42becfb4f4163429e3042545ff1be6fe733aa333ffaafc31
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2007-2008 Brian G. Matherly # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; ...
Forage/Gramps
gramps/plugins/quickview/siblings.py
Python
gpl-2.0
2,654
[ "Brian" ]
9ef6fe95efae68d3c200e051570ce467efaca975d54f4afe644fb9b556a50a7f
import numpy as np import json import os from tentacle import Tentacle from mantle import Mantle #TODO: color mappings class OctopusLayout: ''' An octopus layout represents the morphology and spatial distribution of its chromatophores''' def __init__(self, mantle_radius=0.5, tentacle_length=3, pixels_per_str...
TheGentlemanOctopus/thegentlemanoctopus
octopus_code/core/octopus/layouts/octopusLayout.py
Python
gpl-3.0
4,959
[ "Octopus" ]
54d862aa313071679be4f4f9ecf0671150bb19963a47b4aa7fe0adb0c2d2ff20
import pytest from mock import MagicMock from DIRAC.ConfigurationSystem.Client.Helpers.Resources import getDIRACPlatform, getCompatiblePlatforms mockGCReply = MagicMock() @pytest.mark.parametrize( "mockGCReplyInput, requested, expectedRes, expectedValue", [ ({"OK": False, "Message": "error"}, "plat...
DIRACGrid/DIRAC
src/DIRAC/ConfigurationSystem/Client/Helpers/test/Test_Helpers.py
Python
gpl-3.0
3,315
[ "DIRAC" ]
19e24665652b0640d22849fe5f269e214669545950f8685931062688e103f542
""" Course Outline page in Studio. """ from bok_choy.javascript import js_defined, wait_for_js # lint-amnesty, pylint: disable=unused-import from bok_choy.page_object import PageObject from bok_choy.promise import EmptyPromise from selenium.webdriver.support.ui import Select from common.test.acceptance.pages.studio...
stvstnfrd/edx-platform
common/test/acceptance/pages/studio/overview.py
Python
agpl-3.0
13,335
[ "VisIt" ]
9e857fbf26a06a5e40b36852f31882b5baf0119f79c2e6a99aac4999314c946d
# -*- coding: utf-8 -*- """ ================================================================ Continuous and analytical diffusion signal modelling with MAPMRI ================================================================ We show how to model the diffusion signal as a linear combination of continuous functions from t...
villalonreina/dipy
doc/examples/reconst_mapmri.py
Python
bsd-3-clause
17,918
[ "Gaussian" ]
032cd28804872f653bee7d11edb1326aa1999ba88bef8ea3839cf1131634cd40
import numpy as np from moha.system.integral.differential import D from moha.system.integral.nuclear_attraction import E def Lxyz(a,lmn1,A,b,lmn2,B): ''' Evaluates kinetic energy integral between two Gaussians Returns a float. a: orbital exponent on Gaussian 'a' (e.g. alpha in the text) b...
fhqgfss/MoHa
moha/system/integral/angular_momentum.py
Python
mit
1,800
[ "Gaussian" ]
71b5c3eca1c7ef49fabd50c171241694cccba0dde0f2a9c747d0fa29c1193710
from collections import defaultdict, namedtuple class DiGraph(object): """Implementation of directed graph""" def __init__(self): self._nodes = set() self._edges = [] # N -> Nodes N2 with a edge (N -> N2) self._nodes_succ = {} # N -> Nodes N2 with a edge (N2 -> N) ...
kexplo/miasm
miasm2/core/graph.py
Python
gpl-2.0
17,238
[ "VisIt" ]
8df5d30f4b735a8dc3cb964da49025e646c1f33a2df3ebdaeb55757c600ba7ca
import os import re from glob import glob from os import path import numpy as np from netCDF4 import Dataset from pyproj import Proj from pyproj import transform from shyft import api from .. import interfaces from .time_conversion import convert_netcdf_time class WRFDataRepositoryError(Exception): pass class ...
felixmatt/shyft
shyft/repository/netcdf/wrf_data_repository.py
Python
lgpl-3.0
17,782
[ "NetCDF" ]
15083f115ec45278a6c8139a08050a80a019091c393801e6fdcdcf214811b249
#!/usr/bin/env python """Automatically install required tools and data to run bcbio-nextgen pipelines. This automates the steps required for installation and setup to make it easier to get started with bcbio-nextgen. The defaults provide data files for human variant calling. Requires: git, Python 3.x, Python 2.7 or a...
verdurin/bcbio-nextgen
scripts/bcbio_nextgen_install.py
Python
mit
13,026
[ "BWA", "Biopython", "Bowtie", "Galaxy", "pysam" ]
bc7b3e439d6128a1d52689d58bf1bea604d337c232286d2785144e7ad6b5e085
# -*- coding: utf-8 -*- import logging import re import traceback import os import time import bpy from bpy.types import Operator from bpy.types import OperatorFileListElement from bpy_extras.io_utils import ImportHelper, ExportHelper from mmd_tools import register_wrap from mmd_tools import auto_scene_setup from mm...
powroupi/blender_mmd_tools
mmd_tools/operators/fileio.py
Python
gpl-3.0
26,442
[ "VMD" ]
1cd2ca60c41ce7b5669a748c389b8106f5ee7c62572368a181eeab39e81be06a
""" This is a DIRAC WMS administrator interface. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function __RCSID__ = "$Id$" import six from DIRAC import S_OK, S_ERROR from DIRAC.Core.DISET.RequestHandler import RequestHandler from DIRAC.ConfigurationSystem.Cli...
yujikato/DIRAC
src/DIRAC/WorkloadManagementSystem/Service/WMSAdministratorHandler.py
Python
gpl-3.0
8,011
[ "DIRAC" ]
c6f54c6d8fc8c65954c540b19d518a5bfc2c14863f5879f9c5f19caa8b109ae8
""" Represents an optical Gaussian source. """ class SourceGaussian(object): def __init__(self, sigma_x, sigma_y, sigma_x_prime, sigma_y_prime, energy): self._sigma_x = sigma_x self._sigma_y = sigma_y self._sigma_x_prime = sigma_x_prime self._sigma_y_prime = sigma_y_prime se...
srio/BeamlineComponents
Source/SourceGaussian.py
Python
mit
1,318
[ "Gaussian" ]
86b6e94932385fe9ada54a10d3c51096371f001ff4e096e8ac45e91a22d5a35b
from __future__ import unicode_literals import os import warnings import yaml __author__ = "Pymatgen Development Team" __email__ ="pymatgen@googlegroups.com" __maintainer__ = "Shyue Ping Ong" __maintainer_email__ ="shyuep@gmail.com" __version__ = "2017.6.8" SETTINGS_FILE = os.path.join(os.path.expanduser("~"), ".pm...
xhqu1981/pymatgen
pymatgen/__init__.py
Python
mit
2,742
[ "CRYSTAL", "pymatgen" ]
c4cd1f3fd9a63cd73743c0e589c777039faefe5f858b35c79d4d6c2335498bc9
# -*- coding: utf-8 -*- from collections import defaultdict import numpy as np from numpy import hstack, vstack from numpy.linalg import inv, svd import scipy import scipy.stats from statsmodels.iolib.summary import Summary from statsmodels.iolib.table import SimpleTable from statsmodels.tools.decorators import cache...
jseabold/statsmodels
statsmodels/tsa/vector_ar/vecm.py
Python
bsd-3-clause
92,691
[ "Gaussian" ]
edaae86519960e6f38183a206ee5c9b2ad9a76af0c1c551e78344b96b390525e
# $HeadURL$ __RCSID__ = "$Id$" import datetime, time import types import threading import random from DIRAC.Core.Base.DB import DB from DIRAC import S_OK, S_ERROR, gMonitor, gConfig from DIRAC.Core.Utilities import List, ThreadSafe, Time, DEncode from DIRAC.AccountingSystem.private.TypeLoader import TypeLoader from DI...
miloszz/DIRAC
AccountingSystem/DB/AccountingDB.py
Python
gpl-3.0
70,579
[ "DIRAC" ]
7605c2fae3dfda46fc872ada18f9eeb964322f549ed32ebb950a280047e93f79
#!/usr/bin/env python # 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/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
googleads/google-ads-python
examples/remarketing/add_combined_rule_user_list.py
Python
apache-2.0
6,213
[ "VisIt" ]
d44de6f1ba0af37b9aaa103491a8550ffbbec2daffacc0e64385df8ed06ee213
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkc1000/pyscf
pyscf/pbc/gto/ecp.py
Python
apache-2.0
2,545
[ "PySCF" ]
b58610b1ebe4b6b24cc7c560a1ea2fff65c18f3b4e5b22f5ca31a99bd4da0d41
# This file is part of the myhdl library, a Python package for using # Python as a Hardware Description Language. # # Copyright (C) 2003-2012 Jan Decaluwe # # The myhdl 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 t...
cordoval/myhdl-python
myhdl/conversion/_toVerilog.py
Python
lgpl-2.1
47,716
[ "VisIt" ]
43cb7a952fdea3892b88653b545d05468da9ddc6e193744c87d8507ac57eff15
############################################################################## # MDTraj: A Python Library for Loading, Saving, and Manipulating # Molecular Dynamics Trajectories. # Copyright 2012-2013 Stanford University and the Authors # # Authors: Robert McGibbon # Contributors: # # MDTraj is free software: y...
mpharrigan/mdtraj
mdtraj/tests/test_xtc.py
Python
lgpl-2.1
8,888
[ "MDTraj" ]
9718b32841e5ebea174e12ce9131376dfa8ddaffd2021c99c3869bc0b29c6fda
""" File: GDA.py Author: Hong-Wei Ng Email: lightalchemist@gmail.com Github: https://github.com/lightalchemist Description: Implements Gaussian Discriminant Analysis classifier. This is essentially LDA (Linear Discriminant Analysis), but we train it using maximum likelihood instead of the usual method that involves so...
lightalchemist/ML-algorithms
classifiers/GDA.py
Python
mit
2,532
[ "Gaussian" ]
0a5dbeb471c74ed554c259a666a4bb30106cf34172d636ad357972854a44213a
""" Test the Studio help links. """ from unittest import skip from nose.plugins.attrib import attr from common.test.acceptance.fixtures.course import XBlockFixtureDesc from common.test.acceptance.pages.common.auto_auth import AutoAuthPage from common.test.acceptance.pages.studio.asset_index import AssetIndexPageStud...
Stanford-Online/edx-platform
common/test/acceptance/tests/studio/test_studio_help.py
Python
agpl-3.0
42,595
[ "VisIt" ]
bb8df6a68f41c71408243077594a6c663dc2d7c5a53c19eb8f0bc7aeff209cdb
from setuptools import setup import os import sys from setuptools.command.test import test as TestCommand from setuptools import find_packages try: from setuptools import setup except ImportError: from distutils.core import setup # create package path PACKAGE_PATH = os.path.abspath(os.path.join(__fil...
bnord/cosmonet
setup.py
Python
bsd-2-clause
702
[ "Brian" ]
ccfe4208d57dfe844251d5b52ec67a5d13a1995d0d5a8778e947823c1b060eb9
#!/usr/bin/env python # coding: utf-8 # # Many-body Hamiltonians, basic linear algebra and Second Quantization # # ## Definitions and notations # # Before we proceed we need some definitions. # We will assume that the interacting part of the Hamiltonian # can be approximated by a two-body interaction. # This means t...
CompPhysics/ComputationalPhysics2
doc/LectureNotes/_build/jupyter_execute/basicmanybody.py
Python
cc0-1.0
102,505
[ "DIRAC" ]
276c4f81de0f226235c3bda8f29b192f09b6860bf9e3d512e21771ad3e42b48d
"""The starting point for doing anything with mastic. We first need to load into mastic datastructures and use a feature identifier (here we use rdkit and is currently the only implementation for feature identification) to find the relevant features for doing profiling on. Then we use these to create templates for mole...
salotz/mast
examples/sEH-TPPU/make_seh_tppu_SystemType_pkl.py
Python
mit
2,063
[ "RDKit" ]
f6adf9f39e008a6e345894d53d42762da662d0ddd6b021760611ef66b270fc3b
# coding=utf-8 # (The line above is necessary so that I can use 世界 in the # *comment* below without Python getting all bent out of shape.) # Copyright 2007-2009 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may o...
pombredanne/go-deleteme
lib/codereview/codereview.py
Python
bsd-3-clause
109,168
[ "VisIt" ]
c48d09428edd280dcc91c467100d6315ee306e4253a9178b0c7f1f513086908b
#! /bin/env python # -*- coding: utf-8 -*- # Copyright [2014] [Kun Yu yukun2005@gmail.com] # 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/LICEN...
neoyk/pathperf
pathperf.py
Python
apache-2.0
22,299
[ "VisIt" ]
354ddf1b406c174cfa60460814dba9e102dcf8ab2fede3b6275a874027d7c2e5
#!/usr/bin/env python import pprint import re import os, sys import unittest sys.path[0:0] = ['.', '..'] from pycparser import c_parser from pycparser.c_ast import * from pycparser.c_parser import CParser, Coord, ParseError _c_parser = c_parser.CParser( lex_optimize=False, yacc_debug...
songjiguo/interface-code-generator
tests/test_c_parser.py
Python
bsd-3-clause
58,765
[ "MOE", "VisIt" ]
3603fa17269dddddd953a67045b223af6aac87d80c0f43c7abc73d4fc88c8d4c
# Orca # # Copyright 2005-2009 Sun Microsystems Inc. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This...
ruibarreira/linuxtrail
usr/lib/python3/dist-packages/orca/scripts/apps/soffice/formatting.py
Python
gpl-3.0
5,135
[ "ORCA" ]
ac52a43fc3c0744eeab2b9dc640cf284b9922d936ce668c87facd1317b147fb0
# -*- coding: utf-8 -*- # pylint: disable=E1103,C0103 """ Copyright 2013-2014 Olivier Cortès <oc@1flow.io> This file is part of the 1flow project. 1flow is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Soft...
EliotBerriot/1flow
oneflow/core/tests/test_models.py
Python
agpl-3.0
41,593
[ "Galaxy" ]
a57e1f059c7badaae90c8ed189889148454e6edf22af93349c6c084c5366eb89
#!/usr/bin/python -u import sys, os, argparse, commands import logging opencgaHome = ""; samtoolsCmd = ""; hpgbamCmd = ""; hpgvarvcfCmd = ""; hpgvarvcfConfig = ""; tabixCmd = ""; tabixbgzipCmd = ""; logging.basicConfig(level=logging.DEBUG) #Functions def checkGcsaHome(): try: global opencgaHome ...
kalyanreddyemani/opencga
opencga-app/build/tools/indexer/indexerManager.py
Python
apache-2.0
4,036
[ "BWA" ]
ce6b4f1d1deccfd07c45275c8729f0288880af801fa64b02aa5d3092dcd96e00
''' computes an unsupervised combination of multiple kernels Author : Akhil P M Kernel types 1. Arc cosine 2. Gaussian 3. Polynomial 4. Sigmoid ''' from settings import * def compute_J(N, theta): if N == 0: return np.pi - theta elif N == 1: return np.sin(theta) + (np.pi - theta) * np.cos(theta) elif ...
akhilpm/Masters-Project
UMKL/u_mkl.py
Python
mit
4,062
[ "Gaussian" ]
1501973d18b6bd69f3305d8f0d6ddb36c20580acc1bfcff758b544eb4a859fb9
from django.db import models, transaction, IntegrityError from django.db.models import Count from autoslug import AutoSlugField from courselib.slugs import make_slug from django.conf import settings import datetime, urllib.parse, decimal from django.urls import reverse from django.core.exceptions import ValidationError...
sfu-fas/coursys
coredata/models.py
Python
gpl-3.0
79,959
[ "VisIt" ]
75a81e675fa346a093b95f14df8aa581f4971274f0e8ae1c973aa0ef5926fdbc
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 ## ## Copyright (C) 2006 Async Open Source <http://www.async.com.br> ## All rights reserved ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundati...
andrebellafronte/stoq
stoqlib/lib/introspection.py
Python
gpl-2.0
2,624
[ "VisIt" ]
4f54bbf6d93112da90dc21d0305a4f44b679be7627b441455a27c4688f893101
#!/usr/bin/env python3 # # Copyright (c) 2012 Brian Yi ZHANG <brianlions at gmail dot com> # # This file is part of pynebula. # # pynebula 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 th...
brianlions/python-nebula
nebula/log.py
Python
gpl-3.0
13,537
[ "Brian" ]
320f92c81af399f79776db3d2edd0f4f9423deed9fb3d5236968ab77aefa5842
#Cancer Sim from numpy import * import scipy as sp import pylab as py import math import matplotlib.cm as cm import matplotlib.colors as colors import cPickle as pickle from scipy.spatial.distance import euclidean from math import pow from scipy.spatial import Delaunay #from scipy.spatial import KDTree from scipy...
alexalemi/cancersim
code/cancer_new.py
Python
mit
38,624
[ "ASE", "VMD" ]
64025dd43ab02d866858017fadb163871a90fc0c5943663929d00301334f7b75
""" This test script is adopted from: https://github.com/numpy/numpy/blob/main/numpy/tests/test_public_api.py """ import pkgutil import types import importlib import warnings import scipy def check_dir(module, module_name=None): """Returns a mapping of all objects with the wrong __module__ attribute.""" ...
tylerjereddy/scipy
scipy/_lib/tests/test_public_api.py
Python
bsd-3-clause
10,446
[ "NetCDF" ]
b387430c000c56375c63782cd5cedb8a1502bb7aa3427404a38e52be65275023
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging from preggy import expect from mock import patch from octopus.limiter.in_memory.per_domain import Limiter as PerDomainInMemoryLimiter from tests import TestCase class TestPerDomain(TestCase): def setUp(self): super(TestPerDomain, self).setUp(...
heynemann/octopus
tests/limiter/in_memory/test_per_domain.py
Python
mit
2,842
[ "Octopus" ]
519044cc1b09fb4d6e4e98f8e99454360016c54eda9c1ebc11c3cf6603238594
# (C) British Crown Copyright 2014, Met Office # # This file is part of Iris. # # Iris is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the # Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
scollis/iris
lib/iris/tests/unit/fileformats/netcdf/test_save.py
Python
gpl-3.0
2,130
[ "NetCDF" ]
ed10c2473e5eefc4754a9d945ecdd46c10ab581726429625ab1e6c2ca1ac8b99
__author__ = 'Brian K. Jones' __version__ = (0, 0, 1)
bkjones/django-taxonomy
taxonomy/__init__.py
Python
bsd-3-clause
54
[ "Brian" ]
dcbf5316b8b6311aa7d160793e2ce30e7fdf96d7d4807a1de0a8dceadede7e0e
""" Keras backend for QRNNs ======================= This module implements the Keras backend for QRNNs. """ import copy import logging import os import pickle import numpy as np from scipy.interpolate import CubicSpline # Keras Imports try: import keras from keras.models import Sequential, clone_model, Model...
atmtools/typhon
typhon/retrieval/qrnn/backends/keras.py
Python
mit
30,923
[ "Gaussian", "NEURON" ]
d1da1aa2c976e6f9e500ce5d3741bcd6b55e9bbc39f2a695a3d0dd6bc71731a5
import discord from discord.ext import commands from __main__ import send_cmd_help from cogs.utils.dataIO import dataIO import os #Used to create folder at first load. import random #Used for selecting random catgirls #Global variables JSON_mainKey = "catgirls" #Key for JSON files. JSON_catboyKey = "catboys" #Key cont...
sedruk/Red-DiscordBot
cogs/catgirl.py
Python
gpl-3.0
16,724
[ "MOE" ]
5df099602abd5afdd055e9a306c82dbeb0ba959b9ef4e0be85f989112f6c0bdf
# # @BEGIN LICENSE # # Psi4: an open-source quantum chemistry software package # # Copyright (c) 2007-2018 The Psi4 Developers. # # The copyrights for code used from other parties are included in # the corresponding files. # # This file is part of Psi4. # # Psi4 is free software; you can redistribute it and/or modify #...
amjames/psi4
psi4/driver/procrouting/dft_funcs/dict_dh_funcs.py
Python
lgpl-3.0
18,102
[ "Psi4" ]
4245fe5d2ff639fc8cb48fc881b99d8bf84bd2b39ef15e10a5425795608e0758
""" Collection of DIRAC useful network related modules by default on Error they return None """ __RCSID__ = "$Id$" import socket import urlparse import os import struct import array import fcntl import platform from DIRAC.Core.Utilities.ReturnValues import S_OK, S_ERROR def discoverInterfaces(): max_possibl...
fstagni/DIRAC
Core/Utilities/Network.py
Python
gpl-3.0
2,429
[ "DIRAC" ]
bfbaedad4e82fe123702764423e5f39e2244d9d224a2a73a0e252ccf55533306
#!/usr/bin/env python3 """ Copyright 2020 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 ...
pwillworth/galaxyharvester
html/markUnavailable.py
Python
gpl-3.0
4,274
[ "Galaxy" ]
23a50b7feeb881a1bf66738284787caadd68a6031d83597554dd870bad26a020
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """The fsl module provides classes for interfacing with the `FSL <http://www.fmrib.ox.ac.uk/fsl/index.html>`_ command line tools. This was written to work with FSL version 4.1.4. Change directory to p...
JohnGriffiths/nipype
nipype/interfaces/fsl/preprocess.py
Python
bsd-3-clause
76,421
[ "Gaussian", "VTK" ]
95d9fc68d50db4ae392d2467218a36e5befecc4596b2211ed66b3dccd2d9201c
from functools import reduce from operator import mul import numpy as np import pytest from devito import (Grid, Function, TimeFunction, SparseTimeFunction, SpaceDimension, Dimension, SubDimension, Eq, Inc, Operator, info) from devito.exceptions import InvalidArgument from devito.ir.iet import Cal...
opesci/devito
tests/test_dle.py
Python
mit
31,484
[ "VisIt" ]
9f8a2c0aa3095ae60c9a77eff50bd496788b3f993e5aa89764ccf745ee05c8d4
#!/usr/bin/env python ''' setup board.h for chibios ''' import argparse import sys import fnmatch import os import dma_resolver import shlex import pickle import re import shutil parser = argparse.ArgumentParser("chibios_pins.py") parser.add_argument( '-D', '--outdir', type=str, default=None, help='Output directo...
fhedberg/ardupilot
libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py
Python
gpl-3.0
75,025
[ "CRYSTAL" ]
009aed3372430a54681ddeacec714c632d0d47bc82d0a557c65bf31866c01fd2
r""" This example shows how to use the post_process_hook to probe the output data. Find :math:`\ul{u}` such that: .. math:: \int_{\Omega} D_{ijkl}\ e_{ij}(\ul{v}) e_{kl}(\ul{u}) = 0 \;, \quad \forall \ul{v} \;, where .. math:: D_{ijkl} = \mu (\delta_{ik} \delta_{jl}+\delta_{il} \delta_{jk}) + \l...
lokik/sfepy
examples/linear_elasticity/linear_elastic_probes.py
Python
bsd-3-clause
5,214
[ "VTK" ]
0d271972d701482dbb1647e7feed4c0582f7a4d1703f2411e481d2b5d4619a8d
#!/usr/bin/python # -*- coding: utf-8 -*- # # --- BEGIN_HEADER --- # # ssslogin - SSS welcome and login backend # Copyright (C) 2003-2014 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 Public Lic...
heromod/migrid
mig/shared/functionality/ssslogin.py
Python
gpl-2.0
8,129
[ "Brian" ]
6f6ddebdfea3ab8e02bd3a08ee664ddf654b994e401df9c5c23cc234d195f196
""" Acceptance tests for Studio. """ from __future__ import absolute_import import uuid from selenium.webdriver.common.keys import Keys from common.test.acceptance.fixtures.course import CourseFixture, XBlockFixtureDesc from common.test.acceptance.pages.common.auto_auth import AutoAuthPage from common.test.acceptanc...
ESOedX/edx-platform
common/test/acceptance/tests/studio/test_studio_general.py
Python
agpl-3.0
12,845
[ "VisIt" ]
cad180ee5382eb68fa2c34661b0da00d7588cc771dac1a5c7e04c7648cddb0c9
import os import time import collections import datetime import logging import json from lxml import html, etree from StringIO import StringIO from lems_ui.models import LemsElement, LemsTypeTag from lems_ui.models import LemsModel, ParameterisedModel from lems_ui.models import Lems2FpgaJob, MODEL_TYPES, all_availabl...
Si-elegans/Web-based_GUI_Tools
lems_ui/views.py
Python
apache-2.0
27,965
[ "NEURON" ]
e6c36d1a8c40852f7648118438f011db2ad38b64b92b666eaf11465f8899d0ff
#!/usr/bin/env python # Copyright (c) 2011-2020, wradlib developers. # Distributed under the MIT License. See LICENSE.txt for more info. """ Interpolation ^^^^^^^^^^^^^ Interpolation allows to transfer data from one set of locations to another. This includes for example: - interpolating the data from a polar grid to...
wradlib/wradlib
wradlib/ipol.py
Python
mit
57,761
[ "Gaussian" ]
679b8f23dfbedad480dd6a86c09f8cd8bb6c5941050e56f2a29e9e22251187fa
# 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 RGoDb(RPackage): """A set of annotation maps describing the entire Gene Ontology assem...
iulian787/spack
var/spack/repos/builtin/packages/r-go-db/package.py
Python
lgpl-2.1
666
[ "Bioconductor" ]
9f3897b5a47ba5eadf9b741c4adbcbd9fc6bc62f80850a7ef3ba986413f5404e
__all__ = [ 'OutlineContinents', 'GlobeSource', ] import numpy as np import pyvista as pv import vtk from .. import interface from ..base import AlgorithmBase class OutlineContinents(AlgorithmBase): """A simple data source to produce a ``vtkEarthSource`` outlining the Earth's continents. This works ...
banesullivan/ParaViewGeophysics
PVGeo/model_build/earth.py
Python
bsd-3-clause
5,033
[ "ParaView", "VTK" ]
c3c9104676070da9c4c988fb20c54c04a92b7ec41e164b9abee0fe6c4ef2b049
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
unnikrishnankgs/va
venv/lib/python3.5/site-packages/tensorflow/models/lfads/run_lfads.py
Python
bsd-2-clause
32,603
[ "Gaussian" ]
b1fa3b00180b62c37e97f6e76519663fb325e22b08b4943a84c5c3298157030d
"""Simple XML-RPC Server. This module can be used to create simple XML-RPC servers by creating a server and either installing functions, a class instance, or by extending the SimpleXMLRPCServer class. It can also be used to handle XML-RPC requests in a CGI environment using CGIXMLRPCRequestHandler. A list of possibl...
MalloyPower/parsing-python
front-end/testsuite-python-lib/Python-2.7/Lib/SimpleXMLRPCServer.py
Python
mit
25,680
[ "Brian" ]
381d444c051442826a92e6e301bdef8d8de68a76159616d374a242e3207c4cae
# Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ). # This software may be distributed under the terms of the # Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt """ na_to_nc.py =========== Contains the NAToNC class for converting a NASA...
eufarn7sp/egads-eufar
egads/thirdparty/nappy/nc_interface/na_to_nc.py
Python
bsd-3-clause
3,191
[ "NetCDF" ]
228e66b3c112113d7523289ec8d884ced8d72de18fcef2474761fe18d98152d6
# -*- coding: utf-8 -*- # (c) 2016 Andreas Motl <andreas.motl@elmyra.de> import tempfile from pprint import pprint from twisted.logger import Logger, LogLevel from twisted.web.template import renderElement from kotori.io.export.html import DatatablesPage from kotori.io.protocol.util import get_data_uri from kotori.io.e...
zerotired/kotori
kotori/io/export/tabular.py
Python
agpl-3.0
3,423
[ "NetCDF" ]
1fba00e01659cbed9e90ec8fbd5276cc77fc79aed8b6aaec6ce5e142698b4542
# foobar:~/dont_mind_the_map USER$ cat readme.txt # Don't mind the map # ================== # After the trauma of Dr. Boolean's lab, the rabbits are eager to get back to their normal lives in a well-connected community, where they can visit each other frequently. Fortunately, the rabbits learned something about engin...
Ervii/brain-marathon
foobar-google/mind_the_map/dont_mind_the_map.py
Python
apache-2.0
9,978
[ "VisIt" ]
2a008e3cf35ad0a0ba0b482d6069ab92d2a2860426c222b3205b9d9632b3253a
#!/usr/bin/python # -*- coding: utf-8 -*- from webdriver_testing.webdriver_base import WebdriverTestCase from webdriver_testing.pages.site_pages import watch_page from webdriver_testing.pages.site_pages import video_page from webdriver_testing.pages.site_pages import search_results_page from webdriver_testing.data_fact...
ujdhesa/unisubs
apps/webdriver_testing/check_watch_page.py
Python
agpl-3.0
10,672
[ "Brian" ]
fc48bc94af0122beec984ad086cbb61a8aa41cef4fd5056512c3b502c2e5a101