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
# Copyright 2017 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...
tensorflow/tensorflow
tensorflow/python/autograph/core/unsupported_features_checker.py
Python
apache-2.0
2,070
[ "VisIt" ]
531ed4dacc484b1439f8a66fa323abd6d78815679176a5ab316b51f051a9302f
# Copyright 2016 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...
petewarden/tensorflow_makefile
tensorflow/contrib/distributions/__init__.py
Python
apache-2.0
2,389
[ "Gaussian" ]
3adc56aaa3b36e297b112a3a9a93e2424d9b05313a9d68ce5c6e22ac67b6a813
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module implements a Composition class to represent compositions, and a ChemicalPotential class to represent potentials. """ import collections import numbers import os import re import string from fun...
davidwaroquiers/pymatgen
pymatgen/core/composition.py
Python
mit
49,735
[ "pymatgen" ]
5872998e537fa2b96ff6a7592ed19970ee1b986a09c8046eb0af67722e06a8cc
# Lint as: python2, python3 # Copyright 2018 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 # ...
karllessard/tensorflow
tensorflow/tools/compatibility/update/generate_v2_renames_map.py
Python
apache-2.0
7,410
[ "VisIt" ]
0579eb53e37f50995f5b6182e9924a7987f3bf68ce5ada20c933d4c383e8737a
#! /usr/bin/env python """Unit tests for landlab.io.netcdf module.""" import numpy as np import pytest import xarray as xr from numpy.testing import assert_array_equal from landlab import HexModelGrid, RasterModelGrid from landlab.io.netcdf import from_netcdf, to_netcdf def test_netcdf_write_int64(tmpdir, format): ...
amandersillinois/landlab
tests/io/netcdf/test_to_netcdf.py
Python
mit
5,322
[ "NetCDF" ]
a59a78e2a675c1a7bea5c50f54e9844bb70f11858f340f290f2db44ffed7854f
# -*- coding: utf-8 -*- """ End-to-end tests for the LMS that utilize the progress page. """ from contextlib import contextmanager import ddt from six.moves import range from ...fixtures.course import CourseFixture, XBlockFixtureDesc from ...pages.common.logout import LogoutPage from ...pages.lms.courseware import ...
appsembler/edx-platform
common/test/acceptance/tests/lms/test_progress_page.py
Python
agpl-3.0
16,675
[ "VisIt" ]
a83a3b22870b84c4748f47a47a2f2eecafa78b5204f1d41d9c4d84004a84b35a
from __future__ import unicode_literals, absolute_import import logging from functools import lru_cache from catpy.exceptions import NoMatchingNamesException, MultipleMatchingNamesException from .base import CatmaidClientApplication logger = logging.getLogger(__name__) def is_name(): pass def is_id(): pa...
catmaid/catpy
catpy/applications/nameresolver.py
Python
mit
6,615
[ "NEURON" ]
6c805f019e43e8c71dfa7deec3eacc1f86fead2778517f11b28319057053f15c
import os import fnmatch import shutil from collections import defaultdict import glob import codecs class GlobDirectoryWalker: # a forward iterator that traverses a directory tree def __init__(self, directory, pattern="*"): self.stack = [directory] self.pattern = pattern self.files =...
brian-team/brian2cuda
brian2cuda/sphinxext/generate_examples.py
Python
gpl-2.0
7,704
[ "Brian" ]
c4b8f7ff5ea2b100878d885f4fa70b7041f74a86b15efd165fdf5e9ee4decefd
#!/usr/bin/env python # −*− coding: UTF−8 −*− class Node(object): def __init__(self): self.children = [] def add(self, node): self.children.append(node) def do(self): print 'Node' def accept(self, visitor): visitor.visit(self) class NodeA(Node): def do(self): ...
pgularski/snippets
python/design_patterns/visitor.py
Python
mit
772
[ "VisIt" ]
1967a0f0695dfdea0da233b691a75f0e7871bb1156c23453d8b9fdc154b461c9
# # Copyright 2014-2015, 2017, 2021 Lars Pastewka (U. Freiburg) # 2018-2020 Jan Griesser (U. Freiburg) # 2015 Adrien Gola (KIT) # 2014 James Kermode (Warwick U.) # # matscipy - Materials science with Python at the atomic-scale # https://github.com/libAtoms/matscipy # # This program is free...
libAtoms/matscipy
matscipy/calculators/polydisperse/__init__.py
Python
lgpl-2.1
998
[ "Matscipy" ]
bda39ec69081ebd77174121d55c2c21f4ac14ef6dec88c5985208ec949658608
""" @package linearFilters Linear filters for images """ # Рекурсивный фильтр скользящего среднего https://habrahabr.ru/post/325590/ import threading import multiprocessing import math import numpy from PIL import Image from PyQt5.QtCore import QCoreApplication from . import apertureService def meanFilter(c...
drewdru/AOI
imageFilters/filters.py
Python
gpl-3.0
13,345
[ "Gaussian" ]
f0a8dca379b7d9738053daa14b8715a565f4f8e7c4bc5a8492372df4dfd845c9
# -*- coding: utf-8 -*- # # test_parrot_neuron.py # # This file is part of NEST. # # Copyright (C) 2004 The NEST Initiative # # NEST is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the Lice...
Silmathoron/nest-simulator
pynest/nest/tests/test_parrot_neuron.py
Python
gpl-2.0
10,008
[ "NEURON" ]
a265f085e6deaf6bea37435636269d36597440f73aa821011c6254969809a28a
__author__ = 'sibirrer' import astrofunc.LensingProfiles.calc_util as calc_util import pytest class TestCalcUtil(object): """ tests the Gaussian methods """ def setup(self): pass def test_d_r_dx(self): x = 1 y = 0 out = calc_util.d_r_dx(x, y) assert out =...
sibirrer/astrofunc
test/test_calc_util.py
Python
mit
1,421
[ "Gaussian" ]
7b71d43fa66df0e258c23c773d3cf927e985bb1b3097ec96a013e94873c82789
# Copyright (c) 2012 OpenStack Foundation # 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 ...
luzheqi1987/nova-annotation
nova/tests/unit/compute/test_resource_tracker.py
Python
apache-2.0
61,351
[ "exciting" ]
1f46fbfafd9bebfbdc5a6d6fbffe8330f902fd8dec31e115779784e22a27e4c9
# -*- coding: utf-8 -*- # Copyright 2007-2020 The HyperSpy developers # # This file is part of HyperSpy. # # HyperSpy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at...
dnjohnstone/hyperspy
hyperspy/_signals/signal2d.py
Python
gpl-3.0
35,008
[ "Gaussian" ]
70bc88012c88d356efbcbd588eb98376cabf40741ffcaa0bfbfc8ff8aa7b7fe7
#!/usr/bin/env python from netCDF4 import Dataset import numpy as np import matplotlib.pyplot as plt from matplotlib.collections import LineCollection from matplotlib.colors import colorConverter from ase.units import Bohr import os.path from pyDFTutils.ase_utils.kpoints import cubic_kpath from collections import name...
mailhexu/pyDFTutils
pyDFTutils/phonon/plotphon.py
Python
lgpl-3.0
14,805
[ "ASE" ]
4681c823b59f07f64dd4013da5b574a2f6fe7b7e0a5b6c0646454d6c3bbea1ed
#! /usr/bin/env python # -*- coding: utf-8 -*- """ The Brew Shop 10 Pound Stout Used by permission of The Brew Shop. All rights reserved. You can purchase this kit at their store: - http://thebrewshopbend.com/ Original Stats: OG: FG: ADF: IBU: Color: Alcohol: Boil: 60 min Pre-Boil Volume: Pre-Boil Gravity: "...
chrisgilmerproj/brewday
examples/the_brew_shop/10_pound_stout.py
Python
mit
1,738
[ "ADF", "Amber", "COLUMBUS", "CRYSTAL" ]
4d6b6ba54b66ef20e96acf6f69fa5bd50ddb29890af3a7bc054e136603edab30
from __future__ import print_function from .lib import TestBase, FileCreator from smmap.mman import ( SlidingWindowMapManager, StaticWindowMapManager ) from smmap.buf import SlidingWindowMapBuffer from random import randint from time import time import sys import os man_optimal = SlidingWindowMapManager() ...
kenshay/ImageScript
ProgramData/SystemFiles/Python/Lib/site-packages/smmap/test/test_buf.py
Python
gpl-3.0
5,478
[ "BLAST" ]
771b35f2044455facc218ab8bece8b3a5681df29fc16fcc05c84789c5d24a910
# this makes a running surf noise plot import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation from scipy import ndimage import signal import sys def signal_handler(sig, frame): print('User Interrupt detected.') sys.exit(0) # Update the matplotlib configuration para...
rxa254/MoodCube
Plotting/rednoise.py
Python
bsd-3-clause
1,861
[ "Gaussian" ]
775924eb5b62f68a1fec2db61740cf99cec9d06ecfffb68af8a8c284cd7f661b
from pylab import * from pprint import pprint import json from IPython.display import HTML, display import traitlets from ipywidgets import * from .show_code import show_code from ..manifolds.torus import Torus from ..manifolds.landmarks import Landmarks from ..manifolds.curves import Curve, Curves from ..models.fr...
jeanfeydy/lddmm-ot
LDDMM_Python/lddmm_python/modules/io/interactive_riemannian_geometry.py
Python
mit
30,519
[ "Gaussian", "VTK" ]
17668229a1ecdc80725fa54855215002b505793616240bc0d70095939a28c218
# 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...
tqchen/tvm
python/tvm/contrib/target/coreml.py
Python
apache-2.0
8,292
[ "VisIt" ]
e6256c59028710a6ecc6b715c4db9dac2099b94a45964e50214cf1cbd987af36
# ---------------------------------------------------------------------------- # Copyright (c) 2015--, micronota development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # ---------------------------------------------...
tkosciol/micronota
micronota/bfillings/tests/test_diamond.py
Python
bsd-3-clause
2,809
[ "BLAST" ]
2719ce4d50a559a151bbe782b4e688e95480084d9b7cc0d013b91de4be84b0fa
from datetime import datetime from turbogears.database import PackageHub from sqlobject import * from turbogears import identity #added for iskonline from mx.DateTime import now import string hub = PackageHub('infoshopkeeperonline') __connection__ = hub # class YourDataClass(SQLObject): # pass # identity model...
johm/infoshopkeeper
infoshopkeeperonline/infoshopkeeperonline/model.py
Python
gpl-2.0
3,893
[ "VisIt" ]
770d5e91f060cc9414eea13a5f85fbcc0f4f8c06ff1c90f88e0f168c3527d297
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView urlpatterns = [ url(r'^$', TemplateView.as_view(templ...
vainotuisk/icecreamratings
config/urls.py
Python
bsd-3-clause
1,245
[ "VisIt" ]
56a97709fb53d3d5327149139f1e7e54766109291345da094d793d7b81a253ad
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. """ This module provides classes to handle the calculation of the IR spectra This implementation is adapted from Abipy https://github.com/abinit/abipy where it was originally done by Guido Petretto and Matteo Gi...
gmatteo/pymatgen
pymatgen/phonon/ir_spectra.py
Python
mit
8,319
[ "ABINIT", "pymatgen" ]
824b70589484dc9951f294ed7fbbd91be5aacf1ebeb8cb808e768f8a70feb80a
#!/bin/env python """ List the number of requests in the caches of all the ReqProxyies Usage: dirac-rms-list-req-cache [options] """ from __future__ import absolute_import from __future__ import division from __future__ import print_function __RCSID__ = "$Id$" import DIRAC from DIRAC.Core.Base import Script from D...
yujikato/DIRAC
src/DIRAC/RequestManagementSystem/scripts/dirac_rms_list_req_cache.py
Python
gpl-3.0
1,293
[ "DIRAC" ]
1cc04b9fd449769fb2cd98d537003ab87b8aed24ff71f6ba996807d44a704bef
""" Copyright Government of Canada 2015-2020 Written by: National Microbiology Laboratory, Public Health Agency of Canada Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/lic...
phac-nml/irida-galaxy-importer
irida_import/main.py
Python
apache-2.0
3,543
[ "Galaxy" ]
7d2a96e7dd42bb6628ff05d5d873896bd137ed8f95a1fed4223a70baf558dfe9
"""Implementation of the WebSocket protocol. `WebSockets <http://dev.w3.org/html5/websockets/>`_ allow for bidirectional communication between the browser and server. WebSockets are supported in the current versions of all major browsers, although older versions that do not support WebSockets are still in use (refer ...
obsh/tornado
tornado/websocket.py
Python
apache-2.0
41,216
[ "VisIt" ]
2ac985e8412bcf06d1cf6f846faf8b43b3a4ac3bafe3fcf5f0973834d0e819fe
######!/usr/bin/python3 ###### # -*- coding: utf-8 -*- import smbus as smbus import subprocess import time import sys import quick2wire.i2c as i2clib from quick2wire.i2c import I2CMaster, writing_bytes, reading cof = 32768 #crystal constant class tea5767: def __init__(self): self.i2c = smbus.SMBus(1) se...
LinuxCircle/tea5767
radio-smbus-tea5767-class.py
Python
mit
4,972
[ "CRYSTAL" ]
379ee51486e8d61374701911f7229322c3e27928a300eca98e80ab6952282cb3
# -*- coding: utf-8 -*- ''' Used for processing FPCA requests''' # # Copyright © 2008 Ricky Zhou # Copyright © 2008-2014 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, modify, # copy, or redistribute it subject to the terms and conditions of the GNU # General Public License v.2...
cydrobolt/fas
fas/fpca.py
Python
gpl-2.0
17,099
[ "VisIt" ]
5ec7b6661fe0ce7703dd772114fb58e6c0e86f9ec3a3e65f45b5e1e5570f46df
# -*- coding: utf-8 -*- import asyncio import discord import random import math from discord.ext import commands from libraries.library import * from libraries import casino emotes = [ u"\u0030\N{COMBINING ENCLOSING KEYCAP}", #0 u"\u0031\N{COMBINING ENCLOSING KEYCAP}", #1 ...
Sakiut/FalltoSkyBot
cogs/jeux.py
Python
agpl-3.0
7,246
[ "CASINO" ]
a075da63ea379126d6173d85d3c1ba318e7ce348628cd7d258753812f18d61ec
#!/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...
sunqm/pyscf
pyscf/pbc/scf/test/test_rsjk.py
Python
apache-2.0
6,424
[ "PySCF" ]
89a729baedeb6bc28babe5566c374f3170efdeedf4665fa98d18b02b9277f4a6
# Copyright: (c) 2013, James Cammarata <jcammarata@ansible.com> # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type import os.path import re import sh...
tonk/ansible
lib/ansible/cli/galaxy.py
Python
gpl-3.0
71,937
[ "Galaxy" ]
4a09c685b8df10d25399185750dc6409ddbb7a603852409500337ef801d0e7d0
# -*- coding: utf-8 -*- """ Created on Sun Oct 8 18:02:30 2017 @author: Melikşah """ import numpy as np import cv2 from matplotlib import pyplot as plt ### Activate following two lines to auto-set working directory as directory the script exists #import os #os.chdir(os.path.dirname(os.path.realpath...
mlkshclk/ComputerVision
canny.py
Python
mit
4,414
[ "Gaussian" ]
6cdc6df303431ed9458f4df6f8f58c0c3b9ee84d2de9f3633f14a3a40d0d88d5
#!/usr/bin/env python import sys import os import logging from optparse import OptionParser import glob import shutil from utils.GenomeLoader import GenomeLoader from utils import utils_logging import pysam import command_runner def read_white_list(white_list_file): all_consensus = [] with open(white_list_fi...
tcezard/RADmapper
bin/RAD_bam_to_fastq.py
Python
mit
16,032
[ "pysam" ]
871c23136490c249bdddd1bc5e9213d9369d2c0297c7ed56f13404d3cb545db8
## # Copyright 2009-2016 Ghent University # # This file is part of EasyBuild, # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), # with support of Ghent University (http://ugent.be/hpc), # the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en), # Flemish Research Foundation ...
wpoely86/easybuild-easyblocks
easybuild/easyblocks/t/tinker.py
Python
gpl-2.0
6,440
[ "TINKER" ]
8887ef3d7a413c7559eda1ce166e2e86f484ffdcc8f6227ac7ccb7e2ba1e930f
from math import sin, cos, pi, sqrt import numpy as np from ase.atoms import Atoms, Atom from ase.units import Bohr, Ry def read_scf(filename): try: f = open(filename + '.scf', 'r') pip = f.readlines() ene = [] for line in pip: if line[0:4] == ':ENE': e...
grhawk/ASE
tools/ase/io/wien2k.py
Python
gpl-2.0
5,868
[ "ASE" ]
aea6bc3666b391475e2354c7baea307a716f87d08260045559ec9e2fba070ded
# -*- coding: utf-8 -*- """ End-to-end tests for the courseware unit bookmarks. """ import json from nose.plugins.attrib import attr import requests from common.test.acceptance.pages.studio.auto_auth import AutoAuthPage as StudioAutoAuthPage from common.test.acceptance.pages.lms.auto_auth import AutoAuthPage as LmsAuto...
louyihua/edx-platform
common/test/acceptance/tests/lms/test_bookmarks.py
Python
agpl-3.0
23,938
[ "VisIt" ]
cc4420ce59a5e57573ce5448fa6e90cd2842c25fdc840f498ec087e84e472655
# -*- coding: utf-8 -*- # vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4 ############################################################################### # OpenLP - Open Source Lyrics Projection # # ------------------------------------------------------...
marmyshev/transitions
openlp/plugins/songs/forms/mediafilesdialog.py
Python
gpl-2.0
3,943
[ "Brian" ]
45d618050b9897a47396cfe70f9425ead28d7d11c4de4e6fec94da72a1c02a47
import matplotlib.pyplot as plt #%matplotlib inline import nengo import numpy as np import scipy.ndimage import matplotlib.animation as animation from matplotlib import pylab from PIL import Image import nengo.spa as spa import cPickle from nengo_extras.data import load_mnist from nengo_extras.vision import Gabor, Mas...
science-of-imagination/nengo-buffer
Project/mental_rotation_training_counterclockwise_noise.py
Python
gpl-3.0
6,424
[ "NEURON" ]
e8bd08299a9a00dc9fa014f9dcb8575c5757dc40980294874cd2208e67153054
import json; import os; import numpy as np; def CreateDataBundle(config): # dataPath = config["dataPath"]; #'/Users/zhaot/Work/neutube/neurolabi/data'; swcPath = config['swcDir']; #sessionPath + '/' + config['swcDir']; swcFileList = list(); if config.has_key("minBodySize") | config.has_key("maxBod...
stephenplaza/NeuTu
neurolabi/python/flyem/CreateDataBundle.py
Python
bsd-3-clause
4,703
[ "NEURON" ]
241d682eb52a8b746fc035a84a859c4b3b046dd7728d04bc14ba2de0aa44c7b0
# # 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...
ueshin/apache-spark
python/pyspark/ml/tests/test_persistence.py
Python
apache-2.0
20,116
[ "Gaussian" ]
0afe2567466c9c9aecc45db839ddebd9f1d263ea4b7a3a68f29c83d2f33a8aec
__author__ = 'Zhouhao Zeng' import HTSeq import sys from optparse import OptionParser import numpy def getSummitProfile(ga, summit_pos_set, window_size, resolution, UpstreamExtension, DownstreamExtension): upstream_num_points = UpstreamExtension / resolution downstream_num_points = DownstreamExtension / reso...
zhouhaozeng/bioinformatics-codebase
profile/generate_pileup_profile_around_summits.py
Python
gpl-3.0
4,364
[ "HTSeq" ]
563ce2ccb3c86385cf8f05b0f00edc1e3d682fbe8b1e0f3e0b476db4893b9d65
from math import sin, cos, pi, sqrt import numpy as np from ase.atoms import Atoms, Atom from ase.parallel import paropen """Module to read and write atoms in cif file format""" def read_cif(fileobj, index=-1): if isinstance(fileobj, str): fileobj = open(fileobj) def search_key(fobj, key): ...
freephys/python_ase
ase/io/cif.py
Python
gpl-3.0
1,693
[ "ASE" ]
4fb12c81b095078577b216b77da3f17201998859f4bf19b9f6ca9a508e68a335
# 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...
kkreis/espressopp
src/integrator/Settle.py
Python
gpl-3.0
2,518
[ "ESPResSo" ]
90cd4bf985e1eaf062d6b4caf66c086846614e81532752f0cb199a701f2c7cdf
from __future__ import with_statement import numpy as np import getpass import time def _fread3(fobj): """Read a 3-byte int from an open binary file object Parameters ---------- fobj : file File descriptor Returns ------- n : int A 3 byte int """ b1, b2, b3 = np....
ME-ICA/me-ica
meica.libs/nibabel/freesurfer/io.py
Python
lgpl-2.1
7,638
[ "Mayavi" ]
0fa09810f96d5de36ce8dfd042562c8c075e318e36cc12081bff2a17caac6bfa
# from .name.other.album import AlbumGenerator # from .name.other.band import BandGenerator # from ._unknown.motivation import MotivationGenerator # from ._unknown.world import WorldGenerator # from ._unknown.space.galaxy import GalaxyGenerator # from ._unknown.space.star import StarGenerator # from ._unknown.space.pla...
d2emon/generator-pack
src/genesys/generator/fng/__init__.py
Python
gpl-3.0
1,240
[ "Galaxy" ]
8975bdc662ce9bf926b4feaa68f261f7331c0b67465a78379bc5c1ee1c8433e6
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2018 Piero Dalle Pezze # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the ...
pdp10/sbpipe
sbpipe/snakemake/preproc.py
Python
mit
2,731
[ "COPASI" ]
6da3f2b02fc9d0e9cc1630715578c893b500015c5c16ca512eb4be0c82e85657
''' Set up Visual Sudio 2010 to build a specified MPIR configuration Copyright (C) 2011, Brian Gladman 32-bit: x86w: x86, i386, i486, i586, pentium, pentiummmx, k6, k62, k63, k7, athlon, viac3, viac32, x86_64 p6: pentiumpro, i686 mmx: pentium2 sse2: pentium4, prescott, core, netburst, netburstlahf p3mmx: penti...
libtetcoin/mpir
build.vc12/mpir_config.py
Python
gpl-3.0
28,839
[ "Brian" ]
f0912108b20b9b91d6f3d0ec7cceff5878645188546fff6480000e3f65d9e2b5
############################################################################## # Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
krafczyk/spack
var/spack/repos/builtin/packages/r-organismdbi/package.py
Python
lgpl-2.1
2,355
[ "Bioconductor" ]
a8e4032ac27605f700ceb77dfcd8842749aa115263789018d2cc1cdf7d503427
#!/usr/bin/python -tt # Pulls out sequences with organismal name (based on CAMERA Microbial Eukaryotic Transcriptome) # Any inputs with - or -- are optional and will default to certain values. # Written by: Christopher R. Main, University of Delaware # Last Updated: 09/19/2013 # Versions: # 0.1 - Open fasta file corre...
calandryll/transcriptome
scripts/old/fasta_pull.py
Python
gpl-2.0
2,159
[ "BLAST" ]
c835a77fdf2d717d476b599e7bf7e72cdbc170715f41a2eb659c34fbcfb6690d
## ## Biskit, a toolkit for the manipulation of macromolecular structures ## Copyright (C) 2004-2012 Raik Gruenberg & Johan Leckner ## ## 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 v...
ostrokach/biskit
Biskit/settings.py
Python
gpl-3.0
3,438
[ "BLAST", "PyMOL" ]
68c7684ccfffd11dde257812670eb0c8e52316c78cd551a7766cde1d20948933
#!/usr/bin/env python # # This file is part of Buildbot. Buildbot 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, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # A...
protatremy/buildbot
worker/setup.py
Python
gpl-2.0
5,545
[ "Brian" ]
1ddac18b3c0f203fef8b83fe7ce1d5d7af64ab061ab61bff399febc72dc951ce
import lb_loader import pandas as pd import simtk.openmm.app as app import numpy as np import simtk.openmm as mm from simtk import unit as u from openmmtools import hmc_integrators, testsystems, integrators precision = "mixed" testsystem = testsystems.DHFRExplicit(nonbondedCutoff=1.1*u.nanometers, nonbondedMethod=app...
kyleabeauchamp/HMCNotes
code/misc/testing_force_group_speed.py
Python
gpl-2.0
1,760
[ "OpenMM" ]
d72a46a4713b2da8522bb2ebfcdd32527e51083e0b95913caedbe4ab71c222dd
######################################################################## # # (C) 2013, James Cammarata <jcammarata@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software ...
dermute/ansible
lib/ansible/cli/galaxy.py
Python
gpl-3.0
29,958
[ "Galaxy" ]
20f606cee43a988afd5cecb76dc22eae7dcdda6feb5252c7926a314dd9fc3c8a
import warnings warnings.simplefilter('always', DeprecationWarning) import os import functools import os.path import re import urllib import urllib2 import imp import tabulate from connection import H2OConnection from job import H2OJob from expr import ExprNode from frame import H2OFrame, _py_tmp_key from model import ...
junwucs/h2o-3
h2o-py/h2o/h2o.py
Python
apache-2.0
74,681
[ "Gaussian" ]
be5ccc98f5e16561ea8b576d978f36dff8ee161eb40fca8227676c40a1d7475d
"""Test the Amber Electric Sensors.""" from collections.abc import AsyncGenerator from unittest.mock import Mock, patch from amberelectric.model.current_interval import CurrentInterval from amberelectric.model.range import Range import pytest from homeassistant.components.amberelectric.const import ( CONF_API_TOK...
rohitranjan1991/home-assistant
tests/components/amberelectric/test_sensor.py
Python
mit
10,601
[ "Amber" ]
3ad7859e7756de37c9b9f08ca2ab7345969ca1e33d2a33be25e01890f3443458
# Beware! Only tested for non-spin-polarized case import re import sys import rlcompleter import readline #from numpy import * from enterfi import enterfi from outputfi import outputfi gridfname = enterfi("Enter VASP field data (CHGCAR, LOCPOT, etc.)") outfname = outputfi("Enter output file name ") gridfi = open(grid...
skasamatsu/vaspgrid
zav.py
Python
mit
2,327
[ "VASP" ]
870f7cb41a3d1cb4ae7a03782f4e79c0a512d5f8359c97bb721c69584428613a
#!/usr/bin/env python # This code extracts the necessary information from current VASP output folders (self, dielectric, phonon, nself_aMoBT etc) # and run aMoBT to calculate the electronic properties: mobility, conductivity and thermopower at different temperatures # Please contact alireza@wustl.edu if you had any que...
albalu/dekode
collect_defect_energy.py
Python
mit
8,131
[ "VASP", "pymatgen" ]
1372f356bb4cf7a9eba1c021ed9e534f5d8e87b7b8f4ff4d58d727418d7bb409
"""Some utility functions for the spectra.""" import numpy as np from scipy.ndimage.filters import gaussian_filter1d def res_corr(flux, dvbin, fwhm=8): """ Real spectrographs have finite spectral resolution. Correct for this by smoothing the spectrum (the flux) by convolving with a Gaussian. ...
sbird/fake_spectra
fake_spectra/spec_utils.py
Python
mit
1,904
[ "Gaussian" ]
cf33876f8bade8996afc62178d184bf26e0dbf73acd14d7ddf43346cd589a7cb
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ========================================================================= Program: Visualization Toolkit Module: TestNamedColorsIntegration.py Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or ...
hlzz/dotfiles
graphics/VTK-7.0.0/Rendering/Volume/Testing/Python/TestFixedPointRayCasterLinear.py
Python
bsd-3-clause
1,890
[ "VTK" ]
ba6205eec0f2d5f7a7690af89635aac8c72aff2cb5ad3f19557b94bde88890bb
from __future__ import absolute_import from __future__ import print_function import matplotlib.pyplot as plt import autograd.numpy as np import autograd.scipy.stats.norm as norm from autograd.misc.optimizers import adam, sgd # same BBSVI function! from black_box_svi import black_box_variational_inference if __name_...
hips/autograd
examples/natural_gradient_black_box_svi.py
Python
mit
4,775
[ "Gaussian" ]
799b054bb1bdf24573d47b9afe3b22bf5d53908bfbe8935d2392d763147ea628
from setuptools import setup, find_packages setup( name = 'oacwellcome', version = '1.0.0', packages = find_packages(), install_requires = [ "octopus==1.0.0", "esprit", "Flask==0.9", "WTForms==2.0.1", "flask_mail==0.9.1", "newrelic", "gunicorn==19...
CottageLabs/oacwellcome
setup.py
Python
apache-2.0
843
[ "Octopus" ]
7b729dd53a542ba6a66cdd16e6d90cc5c58049de8cbfa3321ff0163576b45926
""" Copyright (c) 2004-Present Pivotal Software, Inc. This program and the accompanying materials are made available under the terms of the 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....
edespino/gpdb
src/test/tinc/tinctest/models/perf/__init__.py
Python
apache-2.0
8,328
[ "VisIt" ]
b92690b28503e47dd02dfd079af5e0bfef88b4dc8d38cce73e15a305c308efcb
from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView from django.views import defaults as default_views urlpatterns = [ url(r'^$', TemplateView.as_view(template_name='page...
malaclypse2/seraphim
config/urls.py
Python
mit
1,788
[ "VisIt" ]
ff21b5fdafbfa87ea081972bf9bcaec032d4a130d60b0879894cd729df861e0c
#!/usr/bin/env python from rdkit import Chem, rdBase from rdkit.Chem import rdDepictor from rdkit.Chem import Draw from rdkit.Chem import AllChem from rdkit.Chem.Draw import rdMolDraw2D from json import dumps COLS = [(1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0), (1.0, 0.55, 1.0)] def get_hit_atoms_and_...
rdkit/rdkit
Docs/Book/data/test_multi_colours.py
Python
bsd-3-clause
2,011
[ "RDKit" ]
6132fc2ada517af25dfdd17278029080183ad9b757f6104f30c2805d6680fa0f
# though there are other node modules in the image, they are all owned by the npm APK package, which means engine will ignore them pkgs = { "/node_modules/lodash/package.json": { "name": "lodash", "lics": ["MIT"], "versions": ["4.17.4"], "latest": "4.17.4", "origins": [ ...
anchore/anchore-engine
tests/functional/clients/standalone/package_list/fixtures/npms.py
Python
apache-2.0
491
[ "Dalton" ]
fad578023495feadd5f0fadd721a357bbb819efa8c4612bf958457e48e1577fa
#!/usr/bin/env python from cp2k_tools.tools import * from cp2k_tools.parser import * from cp2k_tools.generator import * import sys from docopt import docopt def extract_last_frame(): """Usage: extract_last_frame.py [-h] [XYZINPUT] [XYZOUTPUT] Extract the last frame from a XYZ file Arguments: XYZINPUT ...
dev-zero/cp2k-tools
cp2k_tools/cli.py
Python
apache-2.0
4,441
[ "CP2K" ]
bc3302db1df4f0a3dc2d3b2185dae547dba479b28b387dd81f063def4d315027
"""Tumor only somatic calling with Pisces. https://github.com/Illumina/Pisces """ import os import shutil import pysam from bcbio import utils from bcbio.distributed.transaction import file_transaction from bcbio.pipeline import shared from bcbio.pipeline import datadict as dd from bcbio.provenance import do from bc...
vladsaveliev/bcbio-nextgen
bcbio/variation/pisces.py
Python
mit
4,024
[ "pysam" ]
a84618a0cd7db5cdb63c1621194a90dd6296d5d2d20abd985dead8fe3ab23a35
# File: testing.py # Author: Oliver Steele # Description: Script compiler testing framework # * P_LZ_COPYRIGHT_BEGIN ****************************************************** # * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. * # * Use is subject to license terms. ...
mcarlson/openlaszlo
WEB-INF/lps/server/sc/testing.py
Python
epl-1.0
10,503
[ "VisIt" ]
e7820b0b137d5e184a00b32003d8618ee4005937b0c2de96d5121d3561c0a783
# 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...
Huyuwei/tvm
vta/python/vta/top/graphpack.py
Python
apache-2.0
13,086
[ "VisIt" ]
6a41c8c0749d366dc65871f4e18647ece6479a20474789bd7ce4b185ff43bf99
# ============================================================================ # # Copyright (C) 2007-2010 Conceptive Engineering bvba. All rights reserved. # www.conceptive.be / project-camelot@conceptive.be # # This file is part of the Camelot Library. # # This file may be used under the terms of the GNU General...
kurtraschke/camelot
camelot/container/chartcontainer.py
Python
gpl-2.0
5,735
[ "VisIt" ]
657b93bc0992252de97698aa303e97f5518d3281ea4390dfe47b657fe557d542
class MooseException(Exception): """ An Exception for MOOSE python applications. """ def __init__(self, *args): message = ' '.join([str(x) for x in args]) Exception.__init__(self, message)
liuwenf/moose
python/mooseutils/MooseException.py
Python
lgpl-2.1
222
[ "MOOSE" ]
ba8b8f0c889c19de9990962761fb729173bc734651b9a05ad8cc3b3bddf5e546
""" ################################################################################ # Copyright (c) 2003, Pfizer # Copyright (c) 2001, Cayce Ullman. # Copyright (c) 2001, Brian Matthews. # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provid...
krux/adspygoogle
adspygoogle/SOAPpy/Types.py
Python
apache-2.0
51,936
[ "Brian" ]
4c815bd6ea62dda5611b81930f7aa04d496a520c9aa8fdab0f5d3c72872faccd
# # @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/diatomic.py
Python
lgpl-3.0
10,732
[ "Psi4" ]
241e74005a9ca18957028b15fb8627deba69e8810b2e21fa5a6f12b9b595f8be
""" Module for validation of incoming inputs. TODO: Refactor BaseController references to similar methods to use this module. """ from galaxy import exceptions from galaxy.util.sanitize_html import sanitize_html def validate_and_sanitize_basestring( key, val ): if not isinstance( val, basestring ): r...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/lib/galaxy/util/validation.py
Python
gpl-3.0
1,470
[ "Galaxy" ]
02a1d84e7a6a06ddb488053dfb31824f708ba3688660bc1fb36df9cb24b69b8f
## ## nw_spectrum ## ## Kenneth Lopata ## Last modified: 2013-03-08 ## ## Python script for parsing NWChem output for TDDFT/vspec excitation ## energies, and optionally Lorentzian broadenening the spectra. For ## online help run: ## ## nw_spectrum --help ## ## import sys import textwrap from optparse import OptionPar...
rangsimanketkaew/NWChem
contrib/parsers/nw_spectrum.py
Python
mit
22,171
[ "NWChem" ]
cdde43def8637a11ef0917c7d49f09c53a22c3272100112fcb96d7755a621218
#!/usr/binenv python # py2/3 compatibility from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent import netCDF4 as nc4 import numpy as np from datetime import datetime, timedelta from gridded.utilities import get_dataset class Time(object): _const_time ...
NOAA-ORR-ERD/gridded
gridded/time.py
Python
unlicense
7,412
[ "NetCDF" ]
d4d18b20cf6b100a12f3f577f1fcf245c12c6d1a47c7d0f393899c1b96e79aa2
#!/usr/bin/env python # Copyright 2014-2020 The PySCF Developers. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
gkc1000/pyscf
pyscf/grad/rhf.py
Python
apache-2.0
16,084
[ "PySCF" ]
05b947e510faac66cff73bc44ccac55f649f6becf91cefcf6db78de818cdd300
#!/usr/bin/env python # encoding: utf-8 # Copyright (C) 2015 John Törnblom ''' rule-specification language (RSL) interpreter. ''' import sys import logging import os import xtuml import rsl.version complete_usage = ''' USAGE: %s [-arch <string>] ... [-import <string>] ... [-include <string>] ... [-d <integer...
john-tornblom/pyrsl
rsl/gen_erate.py
Python
gpl-3.0
7,431
[ "BLAST" ]
991d6cbb90ee10924e0c30cec97c625c58c25017abc6fe9c4fcaefd863ae0843
# inporb.py -- Molcas orbital format # # molpy, an orbital analyzer and file converter for Molcas files # Copyright (c) 2016 Steven Vancoillie # # 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; ...
steabert/molpy
molpy/inporb.py
Python
gpl-2.0
9,707
[ "MOLCAS" ]
a7e8d1645abc505f4b9776af90eecd782faca05f8939a08273a60ac9d58dc65a
""" .. automodule:: :members: Trajectories Class ================== .. autoclass:: Trajectories :members: """ try: from mayavi import mlab from tvtk.tools import visual except: print('mayavi not installed') import numpy as np import scipy as sp import pdb import matplotlib.pyplot as plt import py...
pylayers/pylayers
pylayers/mobility/trajectory.py
Python
mit
23,654
[ "Mayavi" ]
39fb846199fe3f810328b822503550b929b0dd9ca75f43a8d7ad5202476157c9
#!/usr/bin/env python """Based on cairo-demo/X11/cairo-demo.c""" import cairocffi as cairo import gi gi.require_version("Gtk", "3.0") from gi.repository import Gtk SIZE = 30 def triangle(ctx): ctx.move_to(SIZE, 0) ctx.rel_line_to(SIZE, 2 * SIZE) ctx.rel_line_to(-2 * SIZE, 0) ctx.close_path() def ...
emperrors/fetchLinuxIDC
cairo_bin/test_gtk.py
Python
gpl-3.0
2,617
[ "Bowtie" ]
f691a1e8e9127597ec962140b524d621ccb03c27c3078010cf7e2156a0f1b726
# 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...
capoe/espressopp.soap
src/analysis/XDensity.py
Python
gpl-3.0
1,841
[ "ESPResSo" ]
77235df4f805a5d578f507d814b849f0f27ebea2b185f06954691195681bc9b5
''' cheshift plugin-in: Validate your protein model with PyMOL Described at PyMOL wiki: http://www.pymolwiki.org/index.php/cheshift Author : Osvaldo Martin email: aloctavodia@gmail.com Date: September 2014 License: GNU General Public License Version 3.6 ''' import Tkinter from Tkinter import * import tkFileDialog imp...
aloctavodia/cheshift
cheshift/__init__.py
Python
gpl-3.0
45,088
[ "PyMOL" ]
602aa1b2de3f25be06d7c0d3a10caece66ab530fba475d0a0048ba033080ca3e
""" This object is a wrapper for setting and getting jobs states """ import datetime from DIRAC import gLogger, S_OK, S_ERROR from DIRAC.WorkloadManagementSystem.Client.JobState.JobManifest import JobManifest from DIRAC.WorkloadManagementSystem.Client import JobStatus from DIRAC.WorkloadManagementSystem.DB.JobDB impor...
DIRACGrid/DIRAC
src/DIRAC/WorkloadManagementSystem/Client/JobState/JobState.py
Python
gpl-3.0
16,139
[ "DIRAC" ]
32ae72d51b4667a903408403d53f4ac0010c16f1b687fe33c5f181493d18ef7b
# This script processes MIMIC-III dataset and builds longitudinal diagnosis records for patients with at least two visits. # The output data are cPickled, and suitable for training Doctor AI or RETAIN # Written by Edward Choi (mp2893@gatech.edu) # Usage: Put this script to the foler where MIMIC-III CSV files are locate...
mp2893/med2vec
process_mimic.py
Python
bsd-3-clause
4,885
[ "VisIt" ]
3257e2efd3d325deb87f1bb57810ceda6edccb52115a6162ceb586733d64d47d
# Copyright 2013-2019 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 RSnpstats(RPackage): """SnpMatrix and XSnpMatrix classes and methods. Classes and ...
iulian787/spack
var/spack/repos/builtin/packages/r-snpstats/package.py
Python
lgpl-2.1
1,232
[ "Bioconductor" ]
e24b2c6ab07d9a5ec4d063a58b6e1cc731cb8d219a0a981a921d66303efbaf59
# -*- coding: utf-8 -*- # Copyright (c) 2010-2016 OpenStack Foundation # # 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...
notmyname/swift
test/unit/proxy/test_server.py
Python
apache-2.0
441,849
[ "MOOSE" ]
875547fbb5def84b817107f26ab42bf5fdf1ed5bcc10f93241ab7303c1ea2585
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2012 Paul Franklin # # 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...
Nick-Hall/gramps
gramps/gen/plug/_docgenplugin.py
Python
gpl-2.0
4,506
[ "Brian" ]
717b2991d65eda42877ce521ee1bec3f047c2ec4fd2948d4d0d019f783a19855
#!/usr/bin/env python # $Id: cleanup.py 2459 2008-11-12 17:31:10Z oliver $ """Remove files from a staged SGE python script: parses the SGE log file to ssh into the node and remove the stage dir. Can also parse some of my older Charmm/SGE log scripts that contain hostname and scratch dir information. """ import sys,os...
pslacerda/GromacsWrapper
staging/extra/cleanup.py
Python
gpl-3.0
3,023
[ "CHARMM" ]
e278eb1fc59ff0416820cbd87a43e3eca4a7533cefb7140598152ae08f5ff78d
"""Implementation of magic functions for interaction with the OS. Note: this module is named 'osm' instead of 'os' to avoid a collision with the builtin. """ # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. import io import os import re import sys from pprint import...
unnikrishnankgs/va
venv/lib/python3.5/site-packages/IPython/core/magics/osm.py
Python
bsd-2-clause
28,494
[ "VisIt" ]
d25f7d73a416800a81081bc5a6ad3aac26c2844bb5357d98b69b34aec06d8df2
# Copyright (c) RedFantom 2017 # For license see LICENSE from ttkwidgets import LinkLabel from tests import BaseWidgetTest import tkinter as tk class TestLinkLabel(BaseWidgetTest): def test_linklabel_init(self): label = LinkLabel(self.window, link="www.google.com", text="Visit Google") label.pack(...
RedFantom/ttkwidgets
tests/test_linklabel.py
Python
gpl-3.0
1,187
[ "VisIt" ]
63dd51ba75f68fa40cb2370b499e9bb8e52eb26002c04a370b8f6a6bacb02cc2
# coding=utf-8 from django.conf import settings from django.contrib.auth.models import User from django.test import TestCase from feedback.auth import VeranstalterBackend, TakeoverBackend, FSAccountBackend from feedback.models import Person from feedback.tests.tools import get_veranstaltung class VeranstalterBacken...
d120/pyfeedback
src/feedback/tests/test_auth.py
Python
agpl-3.0
2,267
[ "Brian" ]
44419b6a91b8eb77afddf17e1f62d1249ee5c5449eec4f29ae1c2e3e7d0991eb
# -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals import os import time from nikola import filters # !! This is the configuration of Nikola. !! # # !! You should edit it to your liking. !! # # ! Some settings can be different in different languages. # ! A comment stating (...
humitos/argentinaenpython.com
web/conf.py
Python
gpl-2.0
62,554
[ "VisIt" ]
16c9a0ec8fb3b9a35be22c8922dc7711d4dd1eff7cd5bfb2f2755d602c567039
# ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------------------------------...
Achuth17/scikit-bio
skbio/sequence/_exception.py
Python
bsd-3-clause
810
[ "scikit-bio" ]
4eaf2edad5529b66812aefeed1d6e46b1e104bca925b94147c7652effbe8552f
""" Module for similarity boosed QSAR project AZ + TUM author: Tobias Girschick; tobias.girschick@in.tum.de TUM - I12 (wwwkramer.in.tum.de/girschic) dependencies: """ import os,sys import orange from cinfony import rdk from rdkit import DataStructs from rdkit.Chem.Fingerprints im...
JonnaStalring/AZOrange
azorange/AZutilities/SimBoostedQSAR.py
Python
lgpl-3.0
22,063
[ "RDKit" ]
0c26a7f71f71cba8899c7c9f1c511c160d7e372ab7e8891da98495610a4fd335
# Copyright 2015 ClusterHQ. See LICENSE file for details. ''' Python wrappers for **libzfs_core** library. *libzfs_core* is intended to be a stable, committed interface for programmatic administration of ZFS. This wrapper provides one-to-one wrappers for libzfs_core API functions, but the signatures and types are more...
ClusterHQ/pyzfs
libzfs_core/__init__.py
Python
apache-2.0
2,329
[ "VisIt" ]
3d7c3da7ee8f55ef2f2a0682e991457d4248fbb614752be7ecf6ca5fc32854bc
# -*- coding: utf-8 -*- """Create pRF time courses models.""" # Part of py_pRF_mapping library # Copyright (C) 2016 Ingo Marquardt # # 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 vers...
ingo-m/py_pRF_mapping
pyprf/analysis/model_creation_timecourses.py
Python
gpl-3.0
16,966
[ "Gaussian" ]
e6f51cf6e269740dcdc243ce9654b6eae58f7e9558852c04268f34248a5e5e95
# # 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...
USCDataScience/NN-fileTypeDetection
classifiers/gaussianNB.py
Python
apache-2.0
1,570
[ "Gaussian" ]
bc373d3ea92fab0197f992da28254ba141325ba97c2580802e6d634c0d97e522