repo_name
stringlengths
5
100
ref
stringlengths
12
67
path
stringlengths
4
244
copies
stringlengths
1
8
content
stringlengths
0
1.05M
Stan1989/volatility
refs/heads/master
contrib/plugins/aspaces/__init__.py
12133432
aetilley/scikit-learn
refs/heads/master
sklearn/linear_model/tests/test_passive_aggressive.py
121
import numpy as np import scipy.sparse as sp from sklearn.utils.testing import assert_less from sklearn.utils.testing import assert_greater from sklearn.utils.testing import assert_array_almost_equal, assert_array_equal from sklearn.utils.testing import assert_raises from sklearn.base import ClassifierMixin from skle...
mediawiki-utilities/python-mwpersistence
refs/heads/master
mwpersistence/mwpersistence.py
1
""" This script provides access to a set of utilities for extracting content persistence-based measurements from MediaWiki XML dumps. * dump2diffs -- (1) Converts XML dumps to diff information (XML --> JSON) * diffs2persistence -- (2) Converts diff information to token persistence informatio...
chanijjani/TizenRT
refs/heads/master
external/iotivity/iotivity_1.2-rel/tools/scons/URLDownload.py
29
# -*- coding: utf-8 -*- # -- Dual Licence ---------------------------------------------------------- ############################################################################ # GPL License # # ...
ewandor/home-assistant
refs/heads/dev
tests/helpers/test_condition.py
44
"""Test the condition helper.""" from unittest.mock import patch from homeassistant.helpers import condition from homeassistant.util import dt from tests.common import get_test_home_assistant class TestConditionHelper: """Test condition helpers.""" def setup_method(self, method): """Setup things to...
fkolacek/FIT-VUT
refs/heads/master
bp-revok/python/lib/python2.7/re.py
20
# # Secret Labs' Regular Expression Engine # # re-compatible interface for the sre matching engine # # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved. # # This version of the SRE library can be redistributed under CNRI's # Python 1.6 license. For any other use, please contact Secret Labs # AB (info@py...
caseylucas/ansible-modules-core
refs/heads/devel
cloud/google/gce.py
11
#!/usr/bin/python # Copyright 2013 Google Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later vers...
alexandrucoman/vbox-neutron-agent
refs/heads/master
neutron/tests/retargetable/__init__.py
12133432
HM2MC/Webfront
refs/heads/master
m2m/request/templatetags/__init__.py
12133432
mjtamlyn/django
refs/heads/master
tests/i18n/sampleproject/sampleproject/settings.py
12133432
t794104/ansible
refs/heads/devel
test/units/executor/__init__.py
12133432
krez13/scikit-learn
refs/heads/master
sklearn/cluster/tests/__init__.py
12133432
alextruberg/custom_django
refs/heads/master
tests/dispatch/tests/__init__.py
116
""" Unit-tests for the dispatch project """ from __future__ import absolute_import from .test_dispatcher import DispatcherTests, ReceiverTestCase from .test_saferef import SaferefTests
felliott/osf.io
refs/heads/develop
api/waffle/__init__.py
12133432
ningchi/scikit-learn
refs/heads/master
sklearn/tests/__init__.py
12133432
renyi533/tensorflow
refs/heads/master
tensorflow/python/training/proximal_gradient_descent_test.py
22
# Copyright 2015 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...
anudeepsharma/autorest
refs/heads/master
src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_client_failure_operations.py
14
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
hassaanm/stock-trading
refs/heads/master
src/pybrain/supervised/evolino/gfilter.py
5
__author__ = 'Michael Isik' from variate import UniformVariate, GaussianVariate class Filter(object): """ Base class for all kinds of operators on the population during the evolutionary process like mutation, selection or evaluation. """ def __init__(self): pass def apply(self, popula...
poojavade/Genomics_Docker
refs/heads/master
Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/gemini-0.10.0-py2.7.egg/gemini/scripts/gemini_install.py
1
#!/usr/bin/env python """Installer for gemini: a lightweight db framework for disease and population genetics. https://github.com/arq5x/gemini Handles installation of: - Required third party software - Required Python libraries - Gemini application - Associated data files Requires: Python 2.7, git, and compilers (g...
jjkester/django-auditlog
refs/heads/master
auditlog/models.py
1
import ast import json from dateutil import parser from dateutil.tz import gettz from django.conf import settings from django.contrib.contenttypes.fields import GenericRelation from django.contrib.contenttypes.models import ContentType from django.core.exceptions import FieldDoesNotExist from django.db import models, ...
rschiang/shedskin
refs/heads/master
tests/141.py
6
class renderobject: def __init__(self, shader): self.shader=shader class plane(renderobject): def __init__(self,plane,dist,shader): renderobject.__init__(self,shader) self.plane=plane self.dist=dist class sphere(renderobject): de...
nowismytime/laughing-waffle
refs/heads/master
copy1.py
1
#!/usr/bin/env python import nltk def fileWrite (disjointSet, hm, gmatrix, hm1): N = len(gmatrix[0]) fo = open ("test2.dot", "w") ab1 =0 str1 = "Graph {" fo.seek(0, ab1) line = fo.write(str1) ab1 += 1 str1 = "subgraph[style=invis];" fo.seek(0, ab1) line = fo.write(str1) ab1...
ActionAdam/osmc
refs/heads/master
package/mediacenter-skin-osmc/files/usr/share/kodi/addons/script.module.unidecode/lib/unidecode/x0b5.py
253
data = ( 'dyil', # 0x00 'dyilg', # 0x01 'dyilm', # 0x02 'dyilb', # 0x03 'dyils', # 0x04 'dyilt', # 0x05 'dyilp', # 0x06 'dyilh', # 0x07 'dyim', # 0x08 'dyib', # 0x09 'dyibs', # 0x0a 'dyis', # 0x0b 'dyiss', # 0x0c 'dying', # 0x0d 'dyij', # 0x0e 'dyic', # 0x0f 'dyik', # ...
Zac-HD/home-assistant
refs/heads/dev
homeassistant/helpers/entity_values.py
28
"""A class to hold entity values.""" from collections import OrderedDict import fnmatch import re from homeassistant.core import split_entity_id class EntityValues(object): """Class to store entity id based values.""" def __init__(self, exact=None, domain=None, glob=None): """Initialize an EntityCon...
moonlet/fuli
refs/heads/master
src/server/fuli_server.py
1
#!/usr/bin/env python # -*- encoding: utf-8 -*- import os import sys import json import math import pymongo from flask import Flask, request from flask import render_template from flask.ext.bootstrap import Bootstrap def add_python_path(path): lib_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), pa...
drawks/ansible
refs/heads/devel
lib/ansible/plugins/action/uri.py
70
# -*- coding: utf-8 -*- # (c) 2015, Brian Coca <briancoca+dev@gmail.com> # (c) 2018, Matt Martz <matt@sivel.net> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__...
gridsmash/gridsmash.github.io
refs/heads/master
node_modules/npm-shrinkwrap/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py
806
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Prints the information in a sln file in a diffable way. It first outputs each projects in alphabetical order with their dependenci...
arokem/scipy
refs/heads/master
scipy/special/tests/test_hypergeometric.py
11
import pytest import numpy as np from numpy.testing import assert_allclose from numpy.testing import assert_equal import scipy.special as sc class TestHyperu(object): def test_negative_x(self): a, b, x = np.meshgrid( [-1, -0.5, 0, 0.5, 1], [-1, -0.5, 0, 0.5, 1], np.li...
CamelBackNotation/CarnotKE
refs/heads/master
jyhton/lib-python/2.7/lib2to3/tests/data/different_encoding.py
295
#!/usr/bin/env python # -*- coding: utf-8 -*- print u'ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ' def f(x): print '%s\t-> α(%2i):%s β(%s)'
fedora-infra/bodhi
refs/heads/develop
bodhi/tests/server/test_logging.py
2
# Copyright © 2019 Red Hat, Inc. # # This file is part of Bodhi. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # T...
ossdemura/django-miniblog
refs/heads/dev
Lib/encodings/cp1252.py
272
""" Python Character Mapping Codec cp1252 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT' with gencodec.py. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_table) def decode(self,in...
KarelJakubec/pip
refs/heads/develop
pip/_vendor/requests/packages/chardet/eucjpprober.py
2918
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights Reserved. # # Con...
vlegoff/tsunami
refs/heads/master
src/secondaires/rapport/commandes/rapport/assigner.py
1
# -*-coding:Utf-8 -* # Copyright (c) 2010-2017 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this ...
mikf/gallery-dl
refs/heads/master
gallery_dl/extractor/hentaicosplays.py
1
# -*- coding: utf-8 -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. """Extractors for https://hentai-cosplays.com/ (also works for hentai-img.com and porn-images-xxx.com)""" fro...
esperantoph/informsistemo
refs/heads/master
informsistemo/users/tests/__init__.py
12133432
hunch/hunch-gift-app
refs/heads/master
django/contrib/localflavor/sk/__init__.py
12133432
moises1234/PlayPeliculas-Django-Backbone
refs/heads/master
play_peliculasv01/__init__.py
12133432
NelisVerhoef/scikit-learn
refs/heads/master
sklearn/neural_network/__init__.py
257
""" The :mod:`sklearn.neural_network` module includes models based on neural networks. """ from .rbm import BernoulliRBM __all__ = ['BernoulliRBM']
WQuanfeng/wagtail
refs/heads/master
wagtail/wagtailembeds/migrations/0001_initial.py
34
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Embed', fields=[ ('id', models.AutoField(verbos...
aptana/Pydev
refs/heads/development
tests/org.python.pydev.tests/src/pysrc/extendable/calltips/mod1/__init__.py
11
from sub1 import method1
dudymas/python-openstacksdk
refs/heads/master
openstack/tests/unit/message/test_version.py
4
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
bobwalker99/Pydev
refs/heads/master
plugins/org.python.pydev.jython/Lib/email/Charset.py
180
# Copyright (C) 2001-2006 Python Software Foundation # Author: Ben Gertzfield, Barry Warsaw # Contact: email-sig@python.org __all__ = [ 'Charset', 'add_alias', 'add_charset', 'add_codec', ] import codecs import email.base64mime import email.quoprimime from email import errors from email.encoders ...
tkf/comparatist
refs/heads/master
python/comparatist/utils/importer.py
2
def import_object(name, current_module=None): """ Import an object at "dotted path". >>> from importlib import import_module >>> import_object('importlib.import_module') is import_module True Any object such as package, module, sub-module, function and class can be imported: >>> impor...
ZhaoCJ/django
refs/heads/master
django/contrib/gis/db/backends/spatialite/adapter.py
624
from django.db.backends.sqlite3.base import Database from django.contrib.gis.db.backends.adapter import WKTAdapter class SpatiaLiteAdapter(WKTAdapter): "SQLite adaptor for geometry objects." def __conform__(self, protocol): if protocol is Database.PrepareProtocol: return str(self)
Ebag333/Pyfa
refs/heads/master
eos/effects/rigdrawbackreductionprojectile.py
2
# rigDrawbackReductionProjectile # # Used by: # Skill: Projectile Weapon Rigging type = "passive" def handler(fit, src, context): lvl = src.level fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Rig Projectile Weapon", "drawback", src.getModifiedItemAttr("rig...
Be-ing/lorax
refs/heads/master
src/pylorax/buildstamp.py
6
# # buildstamp.py # # Copyright (C) 2010-2015 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This p...
SergiuTudos/Selenium2Library
refs/heads/master
src/Selenium2Library/utils/events/event.py
2
import abc class Event(object): @abc.abstractmethod def trigger(self, *args, **kwargs): pass
ProjectSWGCore/NGECore2
refs/heads/master
scripts/object/tangible/wearables/ring/item_ring_set_smuggler_utility_b_01_01.py
2
import sys def setup(core, object): object.setAttachment('radial_filename', 'ring/unity') object.setAttachment('objType', 'ring') object.setStfFilename('static_item_n') object.setStfName('item_ring_set_smuggler_utility_b_01_01') object.setDetailFilename('static_item_d') object.setDetailName('item_ring_set_smuggl...
amir-qayyum-khan/edx-platform
refs/heads/master
common/test/acceptance/__init__.py
12133432
qma/pants
refs/heads/master
contrib/node/tests/python/pants_test/contrib/node/__init__.py
12133432
cheynepierce/Force.com-Metadata-Client
refs/heads/master
api/__init__.py
12133432
dogukantufekci/workplace_saas
refs/heads/master
workplace_saas/workplace_saas/views.py
2
from rest_framework.decorators import api_view from rest_framework.response import Response from rest_framework.reverse import reverse @api_view(('GET',)) def workplace(request, format=None): return Response({ 'users': reverse('users:users', request=request, format=format), 'people': reverse('peop...
rubenIzquierdo/opinion_miner_deluxePP
refs/heads/master
tag_file.py
1
#!/usr/bin/env python from __future__ import print_function import os import sys import argparse from extract_features_expression import main as expression_feature_extractor from extract_features_target import main as target_feature_extractor from extract_features_holder import main as holder_feature_extractor from...
plotly/python-api
refs/heads/master
packages/python/plotly/plotly/validators/treemap/marker/colorbar/_xanchor.py
1
import _plotly_utils.basevalidators class XanchorValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__( self, plotly_name="xanchor", parent_name="treemap.marker.colorbar", **kwargs ): super(XanchorValidator, self).__init__( plotly_name=plotly_name, p...
dkiefner/skat-buddy
refs/heads/master
skat-buddy/game/state/game_state_bid.py
1
from exceptions import InvalidCardSize, InvalidPlayerMove from game.game_state_machine import GameState, PlayerAction from game.state.game_state_play import GameStatePlay from model.player import Player # ------------------------------------------------------------ # Concrete game state class for bidding # ---------...
cliqz/socorro
refs/heads/master
socorro/external/es/crashstorage.py
8
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import elasticsearch from socorro.external.crashstorage_base import CrashStorageBase from socorro.external.es.index_cre...
trivoldus28/pulsarch-verilog
refs/heads/master
tools/local/bas-release/bas,3.9/lib/python/lib/python2.3/statvfs.py
23
"""Constants for interpreting the results of os.statvfs() and os.fstatvfs().""" # Indices for statvfs struct members in the tuple returned by # os.statvfs() and os.fstatvfs(). F_BSIZE = 0 # Preferred file system block size F_FRSIZE = 1 # Fundamental file system block size F_BLOCKS = 2 ...
odoomrp/odoomrp-wip
refs/heads/8.0
mrp_subcontracting/models/purchase_order.py
24
# -*- coding: utf-8 -*- ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## from openerp import models, fields, api class PurchaseOrd...
rabipanda/tensorflow
refs/heads/master
tensorflow/contrib/distributions/python/kernel_tests/bijectors/power_transform_test.py
72
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
mikanbako/ri_ar
refs/heads/master
ri_advertiser/ri_advertiser/__init__.py
12133432
hatwar/buyback-frappe
refs/heads/master
frappe/integrations/doctype/social_login_keys/__init__.py
12133432
jbiason/chesttimer
refs/heads/master
api/chesttimer/api/__init__.py
12133432
mathspace/django
refs/heads/master
tests/migrations/test_auto_now_add/__init__.py
12133432
fmyzjs/horizon-hacker
refs/heads/master
openstack_dashboard/dashboards/project/images_and_snapshots/volume_snapshots/__init__.py
12133432
MFoster/breeze
refs/heads/master
tests/regressiontests/many_to_one_regress/__init__.py
12133432
kailIII/emaresa
refs/heads/7.0
aeroo/report_aeroo/wizard/add_print_button.py
6
############################################################################## # # Copyright (c) 2008-2012 Alistek Ltd (http://www.alistek.com) All Rights Reserved. # General contacts <info@alistek.com> # # WARNING: This program as such is intended to be used by professional # programmers who take th...
redhat-openstack/neutron
refs/heads/f22-patches
neutron/tests/unit/test_api_v2_extension.py
14
# Copyright 2014 Intel Corporation. # Copyright 2014 Isaku Yamahata <isaku.yamahata at intel com> # <isaku.yamahata at gmail com> # All Rights Reserved. # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the Lic...
andymckay/zamboni
refs/heads/master
apps/amo/tests/test_models.py
1
from mock import Mock from nose.tools import eq_ import amo.models from amo.models import manual_order from amo.tests import TestCase from amo import models as context from mkt.webapps.models import Addon class ManualOrderTest(TestCase): fixtures = ('base/apps', 'base/addon_3615', 'base/addon_5299_gcal', ...
asedunov/intellij-community
refs/heads/master
python/helpers/py3only/docutils/languages/ja.py
52
# -*- coding: utf-8 -*- # $Id: ja.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Hisashi Morita <hisashim@kt.rim.or.jp> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <http://docutils.sf.net/docs/howto/i18n.html>. Tw...
holmes-app/holmes-api
refs/heads/master
tests/unit/validators/test_meta_tags.py
2
#!/usr/bin/python # -*- coding: utf-8 -*- from mock import Mock from preggy import expect from holmes.config import Config from holmes.reviewer import Reviewer from holmes.validators.meta_tags import MetaTagsValidator from tests.unit.base import ValidatorTestCase from tests.fixtures import PageFactory class TestMet...
neilLasrado/erpnext
refs/heads/develop
erpnext/projects/doctype/project_user/__init__.py
12133432
pquentin/django
refs/heads/stable/1.8.x
django/db/backends/__init__.py
12133432
oceanobservatories/mi-instrument
refs/heads/master
mi/instrument/teledyne/workhorse/__init__.py
12133432
yavuzovski/playground
refs/heads/master
python/django/RESTTest/.venv/lib/python3.4/site-packages/django/forms/renderers.py
45
import os from django.conf import settings from django.template.backends.django import DjangoTemplates from django.template.loader import get_template from django.utils import lru_cache from django.utils._os import upath from django.utils.functional import cached_property from django.utils.module_loading import import...
goibibo/django-mongo-sessions
refs/heads/master
setup.py
2
from setuptools import setup classifiers = '''\ Framework :: Django Environment :: Web Environment Intended Audience :: Developers Topic :: Internet :: WWW/HTTP License :: OSI Approved :: Apache Software License Development Status :: 5 - Production/Stable Natural Language :: English Programming Language :: Python Pro...
nrjcoin-project/p2pool
refs/heads/master
p2pool/util/jsonrpc.py
261
from __future__ import division import json import weakref from twisted.internet import defer from twisted.protocols import basic from twisted.python import failure, log from twisted.web import client, error from p2pool.util import deferral, deferred_resource, memoize class Error(Exception): def __init__(self, ...
v-iam/azure-sdk-for-python
refs/heads/master
azure-graphrbac/azure/graphrbac/models/service_principal_paged.py
3
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
jraedler/DyMat
refs/heads/master
DyMat/Export/MATLAB.py
2
# Copyright (c) 2011, Joerg Raedler (Berlin, Germany) # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # Redistributions of source code must retain the above copyright notice, this list # of cond...
eckucukoglu/arm-linux-gnueabihf
refs/heads/master
lib/python2.7/test/test_anydbm.py
94
#! /usr/bin/env python """Test script for the anydbm module based on testdumbdbm.py """ import os import unittest import glob from test import test_support _fname = test_support.TESTFN # Silence Py3k warning anydbm = test_support.import_module('anydbm', deprecated=True) def _delete_files(): # we don't know t...
joshua-cogliati-inl/moose
refs/heads/devel
framework/contrib/nsiqcppstyle/nsiqunittest/__init__.py
12133432
mechatroner/rainbow_csv
refs/heads/master
rbql_core/test/__init__.py
12133432
darjeeling/django
refs/heads/master
tests/sites_tests/__init__.py
12133432
kosz85/django
refs/heads/master
tests/migrations/test_migrations_conflict/__init__.py
12133432
MountainWei/nova
refs/heads/master
nova/api/openstack/compute/images.py
33
# Copyright 2011 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 requ...
TinajaLabs/tinajagate
refs/heads/master
downloads/python-suds-0.4/suds/sax/parser.py
181
# This program is free software; you can redistribute it and/or modify # it under the terms of the (LGPL) GNU Lesser General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will ...
mcmenaminadrian/vmufat
refs/heads/tmpsquash
scripts/rt-tester/rt-tester.py
11005
#!/usr/bin/python # # rt-mutex tester # # (C) 2006 Thomas Gleixner <tglx@linutronix.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # import os import sys import getopt import sh...
ageron/tensorflow
refs/heads/master
tensorflow/contrib/timeseries/python/timeseries/state_space_models/test_utils.py
19
# 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...
zacps/zulip
refs/heads/master
contrib_bots/run.py
3
#!/usr/bin/env python from __future__ import print_function import importlib import logging import optparse import os import sys our_dir = os.path.dirname(os.path.abspath(__file__)) # For dev setups, we can find the API in the repo itself. if os.path.exists(os.path.join(our_dir, '../api/zulip')): sys.path.append...
SB-BISS/RLACOSarsaLambda
refs/heads/master
model/__init__.py
12133432
zouyapeng/horizon_change
refs/heads/juno
horizon/management/commands/__init__.py
12133432
flisoltacna/flisoltacna2014
refs/heads/master
flisol/apps/home/__init__.py
12133432
pwong-mapr/private-hue
refs/heads/HUE-1096-abe
apps/jobsub/src/jobsub/migrations/__init__.py
12133432
Uberlearner/uberlearner
refs/heads/master
uberlearner/main/management/commands/__init__.py
12133432
samanehsan/osf.io
refs/heads/develop
website/search/__init__.py
12133432
Critical-Impact/ffrpg-gen
refs/heads/master
django/settings/__init__.py
12133432
bikong2/django
refs/heads/master
tests/get_object_or_404/__init__.py
12133432
michelts/lettuce
refs/heads/master
tests/integration/lib/Django-1.3/django/contrib/gis/tests/geoapp/__init__.py
12133432
sugryo/wget
refs/heads/master
testenv/exc/__init__.py
12133432
developerinlondon/ansible-modules-extras
refs/heads/devel
messaging/__init__.py
12133432
Nettacker/Nettacker
refs/heads/master
lib/scan/drupal_version/engine.py
1
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: Pradeep Jairamani , github.com/pradeepjairamani import socket import socks import time import json import threading import string import random import sys import re import os from core.alert import * from core.targets import target_type from core.targets import t...