repo_name stringlengths 5 92 | path stringlengths 4 232 | copies stringclasses 19
values | size stringlengths 4 7 | content stringlengths 721 1.04M | license stringclasses 15
values | hash int64 -9,223,277,421,539,062,000 9,223,102,107B | line_mean float64 6.51 99.9 | line_max int64 15 997 | alpha_frac float64 0.25 0.97 | autogenerated bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|
pansapiens/mytardis | tardis/apps/mx_views/views.py | 3 | 2892 | from django.conf import settings
from django.core.paginator import Paginator, InvalidPage, EmptyPage
from django.http import HttpResponse
from tardis.tardis_portal.auth import decorators as authz
from tardis.tardis_portal.models import Dataset
from tardis.tardis_portal.shortcuts import get_experiment_referer
from tard... | bsd-3-clause | -8,726,488,663,588,781,000 | 37.052632 | 79 | 0.65491 | false |
twidi/pytyrant | pytyrant.py | 1 | 14361 | """Pure python implementation of the binary Tokyo Tyrant 1.1.17 protocol
Tokyo Cabinet <http://tokyocabinet.sourceforge.net/> is a "super hyper ultra
database manager" written and maintained by Mikio Hirabayashi and released
under the LGPL.
Tokyo Tyrant is the de facto database server for Tokyo Cabinet written and
ma... | mit | -5,985,833,604,781,468,000 | 25.110909 | 114 | 0.572871 | false |
HonzaKral/curator | test_curator/integration/test_time_based.py | 1 | 1872 | from datetime import datetime, timedelta
import curator
from . import CuratorTestCase
class TestTimeBasedDeletion(CuratorTestCase):
def test_curator_will_properly_delete_indices(self):
self.create_indices(10)
self.run_curator(delete_older=3)
mtd = self.client.cluster.state(index=self.args... | apache-2.0 | -1,606,032,251,548,790,800 | 40.6 | 91 | 0.634615 | false |
chaubold/hytra | tests/core/test_conflictingsegmentations.py | 1 | 5839 | from __future__ import print_function, absolute_import, nested_scopes, generators, division, with_statement, unicode_literals
import logging
from hytra.core.ilastik_project_options import IlastikProjectOptions
from hytra.jst.conflictingsegmentsprobabilitygenerator import ConflictingSegmentsProbabilityGenerator
from hy... | mit | -4,230,047,409,174,636,000 | 43.572519 | 125 | 0.679911 | false |
makelove/OpenCV-Python-Tutorial | ch21-轮廓Contours/21-findContour.py | 1 | 1096 | # -*- coding: utf-8 -*-
import numpy as np
import cv2
# im = cv2.imread('test.jpg')#
# im = cv2.imread('poker5hearts.jpg')#
# im = cv2.imread('../data/black-white-rect.png')#contour.jpg #
im = cv2.imread('../data/chessboard.jpeg')
imgray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
cv2.imshow("imgray", imgray)
#需要注意的是cv2... | mit | -2,430,169,206,289,489,000 | 31.8 | 113 | 0.703252 | false |
llllllllll/codetransformer | codetransformer/tests/test_code.py | 1 | 5761 | from dis import dis
from io import StringIO
from itertools import product, chain
import random
import sys
import pytest
from codetransformer.code import Code, Flag, pycode
from codetransformer.instructions import LOAD_CONST, LOAD_FAST, uses_free
@pytest.fixture(scope='module')
def sample_flags(request):
random.... | gpl-2.0 | -3,448,919,409,673,295,000 | 24.95045 | 79 | 0.571949 | false |
Azure/azure-sdk-for-python | sdk/resources/azure-mgmt-resource/azure/mgmt/resource/locks/v2015_01_01/models/_management_lock_client_enums.py | 1 | 1363 | # 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 may ... | mit | 8,379,623,869,956,419,000 | 37.942857 | 94 | 0.599413 | false |
jvs/sourcer | tests/test_salesforce.py | 1 | 5119 | from sourcer import Grammar
# This is work in progress.
# See: https://help.salesforce.com/articleView?id=customize_functions.htm&type=5
g = Grammar(r'''
```
import ast
```
start = Expression
Expression = OperatorPrecedence(
Atom | "(" >> Expression << ")",
Postfix(ArgumentList |... | mit | -7,452,110,781,552,088,000 | 27.126374 | 83 | 0.540535 | false |
lsaffre/timtools | timtools/sdoc/feeders.py | 1 | 1705 | ## Copyright 2003-2009 Luc Saffre
## This file is part of the TimTools project.
## TimTools 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 v... | bsd-2-clause | 5,341,080,861,915,417,000 | 27.416667 | 71 | 0.63871 | false |
souravbadami/zulip | zerver/views/home.py | 1 | 17065 | from __future__ import absolute_import
from typing import Any, List, Dict, Optional, Text
from django.conf import settings
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect, HttpResponse, HttpRequest
from django.shortcuts import redirect
from django.utils import translation
from... | apache-2.0 | -2,616,524,014,721,912,000 | 44.75067 | 113 | 0.642309 | false |
ZeitOnline/zeit.newsletter | src/zeit/newsletter/browser/edit.py | 1 | 2579 | from zeit.cms.i18n import MessageFactory as _
from zope.cachedescriptors.property import Lazy as cachedproperty
import os.path
import zeit.cms.browser.view
import zeit.cms.content.interfaces
import zeit.cms.interfaces
import zeit.content.image.interfaces
import zeit.content.video.interfaces
import zeit.edit.browser.for... | bsd-3-clause | -2,014,002,219,757,949,200 | 27.032609 | 79 | 0.67119 | false |
vadyur/script.media.aggregator | anidub.py | 1 | 12586 | # coding: utf-8
import log
from log import debug
from settings import Settings
from base import *
import feedparser, urllib2, re
from bs4 import BeautifulSoup
from nfowriter import *
from strmwriter import *
import requests, filesystem
################################################################################... | gpl-3.0 | 2,000,693,373,387,839,200 | 26.610619 | 118 | 0.567228 | false |
robdobsn/AmazonEchoShopping | WaitroseService/WaitroseScraper.py | 1 | 20691 | # Waitrose web scraper
__author__ = 'robdobsn'
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import selenium.webdriver.support.ui as webdriverui
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.common.exceptions import... | isc | -783,531,863,977,082,500 | 46.895833 | 169 | 0.581654 | false |
kidscancode/gamedev | pygame template.py | 1 | 1508 | # Pygame Template
# Use this to start a new Pygame project
# KidsCanCode 2015
import pygame
import random
# define some colors (R, G, B)
WHITE = (255, 255, 255)
GREEN = (0, 255, 0)
BLUE = (0, 0, 255)
BLACK = (0, 0, 0)
FUCHSIA = (255, 0, 255)
GRAY = (128, 128, 128)
LIME = (0, 128, 0)
MAROON = (128, 0, 0)
NAVYBLU... | mit | 3,454,655,415,024,161,000 | 22.936508 | 55 | 0.63992 | false |
JacobFischer/Joueur.py | games/anarchy/forecast.py | 1 | 2074 | # Forecast: The weather effect that will be applied at the end of a turn, which causes fires to spread.
# DO NOT MODIFY THIS FILE
# Never try to directly create an instance of this class, or modify its member variables.
# Instead, you should only be reading its variables and calling its functions.
from games.anarchy.... | mit | 66,524,175,843,730,740 | 37.407407 | 146 | 0.671167 | false |
hhucn/git-vote | git-vote/__main__.py | 1 | 3022 | import argparse
import collections
import re
import subprocess
NOTES_REF = 'refs/notes/votes'
Vote = collections.namedtuple('Vote', ['commit', 'user'])
def vote(args):
assert args.user, 'TODO: determine user automatically'
vote = 'vote:%s' % args.user
subprocess.check_call([
'git', 'notes', '--ref', NOTES_R... | apache-2.0 | 2,600,720,082,252,724,000 | 28.627451 | 106 | 0.676704 | false |
DigitalCampus/django-nurhi-oppia | oppia/tests/av/test_permissions.py | 1 | 2347 | from django.urls import reverse
from django.test import TestCase
from oppia.tests.utils import *
class PermissionsViewTest(TestCase):
fixtures = ['user.json', 'oppia.json', 'quiz.json', 'permissions.json']
def setUp(self):
super(PermissionsViewTest, self).setUp()
self.login_url = reverse('pr... | gpl-3.0 | -4,483,428,020,845,946,400 | 33.514706 | 79 | 0.608862 | false |
kerimlcr/ab2017-dpyo | ornek/lollypop/lollypop-0.9.229/src/web.py | 1 | 7411 | # Copyright (c) 2014-2016 Cedric Bellegarde <cedric.bellegarde@adishatz.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later vers... | gpl-3.0 | 2,696,436,820,573,915,000 | 36.619289 | 79 | 0.54716 | false |
pybel/pybel | src/pybel/io/nodelink.py | 1 | 7238 | # -*- coding: utf-8 -*-
"""Conversion functions for BEL graphs with node-link JSON."""
import gzip
import json
from io import BytesIO
from itertools import chain, count
from operator import methodcaller
from typing import Any, Mapping, TextIO, Union
from networkx.utils import open_file
from .utils import ensure_ver... | mit | 2,647,336,991,651,230,700 | 31.168889 | 115 | 0.635811 | false |
seecr/meresco-examples | meresco/__init__.py | 1 | 1394 | ## begin license ##
#
# "Meresco Examples" is a project demonstrating some of the
# features of various components of the "Meresco Suite".
# Also see http://meresco.org.
#
# Copyright (C) 2007-2008 SURF Foundation. http://www.surf.nl
# Copyright (C) 2007-2010 Seek You Too (CQ2) http://www.cq2.nl
# Copyright (C) 2007... | gpl-2.0 | -214,853,663,805,945,660 | 42.5625 | 95 | 0.738164 | false |
Mozu/mozu-python-sdk | mozurestsdk/platform/tenantextensions.py | 1 | 2242 |
"""
This code was generated by Codezu.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
"""
from mozurestsdk.mozuclient import default as default_client
from mozurestsdk.mozuurl import MozuUrl;
from mozurestsdk.urllocation import UrlLocation
from mozure... | apache-2.0 | -7,380,671,656,172,497,000 | 32.181818 | 266 | 0.727029 | false |
nigelb/SerialGrabber | examples/MQTT/SerialGrabber_Settings.py | 1 | 2043 | #!/usr/bin/env python
# SerialGrabber reads data from a serial port and processes it with the
# configured processor.
# Copyright (C) 2012 NigelB
#
# 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 Foundatio... | gpl-2.0 | 1,560,382,958,900,706,000 | 33.05 | 75 | 0.751836 | false |
lqmanh/daethon | test_daethon.py | 1 | 1817 | import os
import sys
import time
import pytest
from daethon import Daemon
class TDaemon(Daemon):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
with open('testing_daemon', 'w') as f:
f.write('inited')
def run(self):
time.sleep(1)
with open(... | apache-2.0 | -3,047,666,419,461,129,700 | 22.597403 | 66 | 0.603192 | false |
msteinhoff/foption-bot | src/python/core/messages.py | 1 | 2244 | # -*- coding: UTF-8 -*-
"""
$Id$
$URL$
Copyright (c) 2010 foption
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 rights
to use, copy, modif... | mit | 6,695,913,913,734,353,000 | 27.769231 | 77 | 0.750446 | false |
logicabrity/aeon | test/test_measurement.py | 1 | 1229 | import time
import pytest
from aeon.measurement import Measurement
from aeon.errors import InvalidMeasurementState
def test_cant_start_measurement_twice():
m = Measurement("name", "group")
m.start()
with pytest.raises(InvalidMeasurementState):
m.start()
def test_cant_stop_measurement_before_star... | mit | -1,662,716,423,659,156,000 | 21.345455 | 58 | 0.656631 | false |
maas/maas | src/maasserver/middleware.py | 1 | 18463 | # Copyright 2012-2016 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Access middleware."""
import http.client
import json
import logging
from pprint import pformat
import sys
import traceback
import attr
from crochet import TimeoutError
f... | agpl-3.0 | -8,170,894,622,841,870,000 | 34.505769 | 96 | 0.611222 | false |
ivanamihalek/tcga | icgc/60_nextgen_production/65_reactome_tree.py | 1 | 5057 | #! /usr/bin/python3
#
# This source code is part of icgc, an ICGC processing pipeline.
#
# Icgc 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 ... | gpl-3.0 | -438,034,926,294,668,700 | 35.121429 | 120 | 0.677477 | false |
soccermetrics/marcotti-mls | marcottimls/models/financial.py | 1 | 5658 | from sqlalchemy import Column, Integer, String, Sequence, ForeignKey, ForeignKeyConstraint, Boolean
from sqlalchemy.orm import relationship, backref
from sqlalchemy.schema import CheckConstraint
import enums
from common import BaseSchema
class AcquisitionPaths(BaseSchema):
"""
MLS player acquisition data mod... | mit | -645,660,621,350,676,700 | 42.19084 | 114 | 0.59597 | false |
koepferl/FluxCompensator | fluxcompensator/cube.py | 1 | 25142 | from copy import deepcopy
import os
ROOT = os.path.dirname(os.path.abspath(__file__)) + '/'
from astropy import log as logger
from astropy.io import fits
import numpy as np
from numpy.random import normal
from .psf import GaussianPSF, FilePSF, FunctionPSF
from .filter import Filter
from .utils.plot import MakePlots
... | bsd-2-clause | -1,980,972,553,126,057,000 | 31.483204 | 180 | 0.532655 | false |
manimaul/MX-Cart | buildLin.py | 1 | 4497 | import os, hashlib
from shutil import copy2 as copy
from Resources import versionNum
from subprocess import Popen
from shutil import rmtree
def md5sum(fd, block_size=2**20):
md5 = hashlib.md5()
while True:
data = fd.read(block_size)
if not data:
break
md5.update(data)
re... | bsd-2-clause | 551,775,681,851,644,600 | 38.104348 | 133 | 0.632866 | false |
jumoconnect/openjumo | jumodjango/cust_admin/templatetags/ext_admin_list.py | 1 | 5314 | import datetime
from django.conf import settings
from django.contrib.admin.util import lookup_field, display_for_field, label_for_field
from django.contrib.admin.views.main import ALL_VAR, EMPTY_CHANGELIST_VALUE
from django.contrib.admin.views.main import ORDER_VAR, ORDER_TYPE_VAR, PAGE_VAR, SEARCH_VAR
from django.cor... | mit | -7,825,369,702,562,516,000 | 42.917355 | 153 | 0.605947 | false |
vhernandez/jwsProcessor | src/jwsprocessor/fc_calculator.py | 1 | 7488 | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
To convert from mdeg to molar elipticity (deg*cm2*dmol-1):
m.e. = mdeg / (10*l*(C/MW)*Rn)
where
l = light path in cm
C = concentration in mg/ml
MW = molecular weight
Rn = number of residue of the protein
"""
import pygtk
pygtk.require("2.0")
import gtk
import gobject... | gpl-2.0 | 4,273,316,415,626,022,400 | 38.619048 | 89 | 0.581197 | false |
NewForester/apl-py | test/monadic.py | 1 | 11954 | #!/usr/bin/python3
"""
doctest style unit tests for APL monadic functions
WIP - grows as more monadic functions are implemented.
The tests in this module exercise monadic functions with
numeric scalar and vector arguments only.
Other cases are covered in other test modules.
Each test pa... | apache-2.0 | -8,556,475,950,720,416,000 | 13.789203 | 73 | 0.363723 | false |
cropleyb/pentai | pentai/db/ai_factory.py | 1 | 2712 | #!/usr/bin/env python
import pentai.ai.ai_player as aip_m
from pentai.ai.priority_filter import *
from pentai.ai.priority_filter_2 import *
import pentai.db.openings_book as ob_m
import pentai.db.games_mgr
from pentai.ai.ai_genome import *
class AIFactory: # TODO: These are just functions
def create_player(sel... | mit | -9,205,106,758,263,038,000 | 27.547368 | 88 | 0.581121 | false |
atbentley/plank | setup.py | 1 | 1311 | import os
import re
from setuptools import setup as setup
def read(path):
global os
with open(os.path.join(os.path.dirname(__file__), path), 'r') as f:
data = f.read()
return data.strip()
def get_version():
global os, re, read
_version_re = re.compile(r'\s*__version__\s*=\s*\'(.*)\'\s*')... | mit | 8,118,092,918,294,471,000 | 28.133333 | 78 | 0.633105 | false |
d33tah/macd | macd/views.py | 1 | 3323 | import datetime
import subprocess
from macd.models import SeenEvent, Device
from django.shortcuts import render
from django.utils import timezone
def index(request):
now = timezone.now()
time_threshold = now - datetime.timedelta(minutes=10)
items = SeenEvent.objects.filter(date__gte=time_threshold)
de... | gpl-3.0 | -2,758,185,787,429,000,700 | 37.195402 | 81 | 0.547397 | false |
Esri/raster-functions | functions/BlockStatistics.py | 1 | 4494 | import numpy as np
from skimage.transform import resize
from skimage.util import view_as_blocks
class BlockStatistics():
def __init__(self):
self.name = "Block Statistics Function"
self.description = ("Generates a downsampled output raster by computing a statistical "
... | apache-2.0 | -8,694,753,335,761,033,000 | 37.078261 | 110 | 0.491322 | false |
arbor-jjones/idataco | idataco/widgets/calls.py | 1 | 19598 | #!/usr/bin/python
########################################################################
# Copyright (c) 2015-2016
# Jason Jones <jason<at>jasonjon<dot>es>
# All rights reserved.
########################################################################
#
# This file is part of IDA TACO
#
# IDATACO is free software: ... | gpl-3.0 | -1,733,163,824,245,982,000 | 47.630273 | 130 | 0.566027 | false |
matematik7/CSSQC | cssqc/rules/singleLinePerProperty.py | 1 | 1052 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------
# cssqc/singleLinePerProperty.py
#
# Do not allow property on multiple lines.
# ----------------------------------------------------------------
# copyright (c) 2014 - Domen Ipavec
# Distributed under The ... | mit | -9,212,977,344,346,658,000 | 31.90625 | 97 | 0.526616 | false |
ardi69/pyload-0.4.10 | pyload/plugin/account/Keep2ShareCc.py | 1 | 2271 | # -*- coding: utf-8 -*-
import re
import time
from pyload.plugin.Account import Account
class Keep2ShareCc(Account):
__name = "Keep2ShareCc"
__type = "account"
__version = "0.05"
__description = """Keep2Share.cc account plugin"""
__license = "GPLv3"
__authors = [("aeronaut", "... | gpl-3.0 | -3,576,954,663,591,912,000 | 30.109589 | 101 | 0.506385 | false |
Earthnuker/Universe | date_time.py | 1 | 2439 | from datetime import datetime
import datetime as DT
import time
import calendar
class Clock(object):
def __init__(self,offset=None):
self.timezone=None
if offset is not None:
self.timezone=DT.timezone(DT.timedelta(hours=offset))
def to_str(self,timestamp=None,with_orig=False):
... | mit | 9,209,623,380,115,924,000 | 35.969697 | 99 | 0.522345 | false |
JASON0916/testrail-library | testrail_client/api/__init__.py | 1 | 1827 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .case import Case
from .configurations import Config
from .milestone import MileStone
from .plan import Plan
from .project i... | mit | -2,382,219,271,476,809,700 | 25.1 | 165 | 0.596606 | false |
nikha1/nyc-taxi | Tools/PostgresRDF/utils/postgresInterface.py | 1 | 3639 | from dateutil import parser
from rdflib import Graph, Literal, BNode, Namespace, RDF, XSD, URIRef
import queries
global SSN
global GEO
global DUL
# SSN Namespace
SSN = Namespace('https://www.w3.org/2005/Incubator/ssn/ssnx/ssn#')
# Geo Namespace
GEO = Namespace('http://www.w3.org/2003/01/geo/wgs84_pos#')
# DUL Name... | mit | 2,477,461,874,589,206,500 | 33.009346 | 144 | 0.676834 | false |
jiaphuan/models | research/lfads/lfads.py | 1 | 87185 | # 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... | apache-2.0 | 7,097,405,529,075,089,000 | 42.418825 | 89 | 0.59828 | false |
ali-abdullah/nlp | lda.py | 1 | 1146 | import gensim
import logging
import os.path
class LineCorpus(gensim.corpora.textcorpus.TextCorpus):
# Creates the corpus object that reads the document line by line
def get_texts(self):
with open(self.input) as f:
for l in f:
yield l.split()
logging.basicConfig(format='%(asc... | mit | -7,397,097,240,201,630,000 | 32.705882 | 105 | 0.691972 | false |
jmwright/cadquery-freecad-module | Libs/pint/testsuite/parameterized.py | 1 | 5114 | # -*- coding: utf-8 -*-
#
# Adds Parameterized tests for Python's unittest module
#
# Code from: parameterizedtestcase, version: 0.1.0
# Homepage: https://github.com/msabramo/python_unittest_parameterized_test_case
# Author: Marc Abramowitz, email: marc@marc-abramowitz.com
# License: MIT
#
# Fixed for to work in Python... | lgpl-3.0 | 1,117,024,097,544,180,100 | 32.644737 | 99 | 0.581736 | false |
lsaffre/djangosite | djangosite/management/commands/run.py | 1 | 1763 | # -*- coding: UTF-8 -*-
# Copyright 2012-2013 by Luc Saffre.
# License: BSD, see LICENSE for more details.
"""
.. management_command:: run
Execute a standalone Python script after having set up the Django
environment. Also modify `sys.args`, `__file__` and `__name__` so that
the invoked script sees them as if it ha... | bsd-2-clause | -2,832,075,735,557,221,000 | 31.62963 | 110 | 0.674801 | false |
openwisp/netjsonconfig | tests/openwisp/test_backend.py | 1 | 8872 | import tarfile
import unittest
from copy import deepcopy
from hashlib import md5
from time import sleep
from netjsonconfig import OpenWisp
from netjsonconfig.exceptions import ValidationError
from netjsonconfig.utils import _TabsMixin
class TestBackend(unittest.TestCase, _TabsMixin):
"""
tests for OpenWisp b... | gpl-3.0 | -8,514,143,548,844,402,000 | 36.277311 | 173 | 0.51454 | false |
andyzsf/django | tests/admin_views/tests.py | 1 | 240212 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import os
import re
import datetime
import unittest
from django.conf import settings, global_settings
from django.core import mail
from django.core.checks import Error
from django.core.files import temp as tempfile
from django.core.exceptions import Impr... | bsd-3-clause | 3,763,679,827,564,121,000 | 44.677763 | 251 | 0.628556 | false |
tpainter/df_everywhere | df_everywhere/util/wamp_local.py | 1 | 5054 | # DF Everywhere
# Copyright (C) 2014 Travis Painter
# 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 program is... | gpl-2.0 | 6,578,624,898,795,414,000 | 41.125 | 118 | 0.691334 | false |
andrzej-r/fusesoc | fusesoc/simulator/simulator.py | 1 | 5975 | from fusesoc.config import Config
from fusesoc.coremanager import CoreManager
from fusesoc.utils import Launcher, pr_info, pr_err
import argparse
import shutil
import os
import logging
import sys
if sys.version_info[0] >= 3:
import urllib.request as urllib
from urllib.error import URLError
else:
import url... | gpl-3.0 | -1,031,246,171,377,463,400 | 38.569536 | 138 | 0.557992 | false |
chouseknecht/galaxy | update-authors.py | 1 | 1234 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import logging
logger = logging.getLogger(__name__)
import subprocess
from collections import defaultdict
user_scores = defaultdict(int)
git_log = subprocess.check_output("git log --shortstat --n... | apache-2.0 | 1,582,264,523,541,947,400 | 32.351351 | 89 | 0.635332 | false |
mxgnene01/itester | itester/test_main.py | 1 | 3065 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Meng xiangguo <mxgnene01@gmail.com>
#
# _____ ______
# ____==== ]OO|_n_n__][. | |]
# [________]_|__|________)< |MENG|
# oo oo 'oo OOOO-| oo\_ ~o~~~o~'
# +--+--+--+--+--+--+--+--+--+--+--+--+--+
# ... | gpl-3.0 | 7,690,977,383,853,747,000 | 34.719512 | 125 | 0.556845 | false |
davidfauth/neo4j-pubnub | server/stocktickerneo.py | 1 | 8629 | import sys
import threading
from Queue import Queue
import time
import datetime
import random
import json
import py2neo
from py2neo import Graph, Path
NEO_PROTOCOL = 'http'
NEO_HOST = 'localhost'
NEO_PORT = 7474
NEO_USER = 'neo4j'
NEO_PASSWORD = 'password'
from Pubnub import Pubnub
'''
Global Data - Queue
'''
glo... | mit | -6,604,526,154,781,309,000 | 24.758209 | 113 | 0.676208 | false |
theodoregoetz/clas12-dc-wiremap | scratch/dcwiremap.py | 1 | 1201 | import time
import numpy as np
from numpy import random as rand
from matplotlib import pyplot, gridspec, animation
data = rand.uniform(0,100,(36,6,112))
fig = pyplot.figure(1, (18,8))
axs = []
pts = []
sector_grid = gridspec.GridSpec(2,3,wspace=0.3,hspace=0.3)
for sec in range(6):
slyr_grid = gridspec.GridSpecFr... | gpl-3.0 | -583,575,538,828,056,300 | 25.688889 | 72 | 0.582015 | false |
drnextgis/QGIS | python/plugins/processing/algs/gdal/warp.py | 1 | 9529 | # -*- coding: utf-8 -*-
"""
***************************************************************************
self.py
---------------------
Date : August 2012
Copyright : (C) 2012 by Victor Olaya
Email : volayaf at gmail dot com
**********************************... | gpl-2.0 | 8,993,122,762,215,593,000 | 44.8125 | 138 | 0.559975 | false |
AntoinePrv/hyperNN | problem/runnee.py | 1 | 2008 | import sys
import os
dir = "/".join(sys.argv[0].split("/")[:-2])
if dir != "":
os.chdir(dir)
sys.path.append(".")
import argparse
from load_data import load_data_bis
from train_MINST import train_model
from logger import custom_logger
def run(**kwargs):
data = load_data_bis()
acc, _ = train_model(data, *... | mit | -6,205,068,182,693,240,000 | 34.22807 | 79 | 0.590637 | false |
Lrcezimbra/google-python-exercises | logpuzzle/logpuzzle.py | 1 | 2212 | #!/usr/bin/python
# Copyright 2010 Google Inc.
# Licensed under the Apache License, Version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
# Google's Python Class
# http://code.google.com/edu/languages/google-python-class/
import os
import re
import sys
from urllib.request import urlretrieve
from pathlib import Pat... | apache-2.0 | 3,068,062,891,926,408,000 | 27 | 192 | 0.639241 | false |
DigitalCampus/django-oppia | api/resources/category.py | 1 | 4631 | import json
from django.conf.urls import url
from django.db.models import Q
from django.http import HttpResponse, Http404
from tastypie import fields
from tastypie.authentication import ApiKeyAuthentication
from tastypie.authorization import ReadOnlyAuthorization
from tastypie.resources import ModelResource
from tasty... | gpl-3.0 | 2,553,082,281,161,417,700 | 36.346774 | 79 | 0.521054 | false |
evazyin/Capstoneproject | seedwords.py | 1 | 2459 | '''version1 seed words algorithm'''
'''------------
input: a IR corpus, a expanding corpus(the candidate wordlist), a seed wordlist
output: a expanded seed wordlist
--------------'''
import math
file = open('D:/uw course/capstone/mypersonality/IRtest2.txt')#IR corpus
file1 = open('D:/uw course/capstone/mypersonality/E... | agpl-3.0 | -5,441,539,671,506,725,000 | 29.7375 | 86 | 0.611631 | false |
bintlabs/python-sync-db | dbsync/server/conflicts.py | 1 | 2225 | """
.. module:: server.conflicts
:synopsis: Conflict detection for the centralized push operation.
"""
from sqlalchemy.schema import UniqueConstraint
from dbsync.lang import *
from dbsync.utils import get_pk, class_mapper, query_model, column_properties
def find_unique_conflicts(push_message, session):
"""
... | mit | -572,390,988,439,292,000 | 38.035088 | 80 | 0.586067 | false |
embedly/embedly-python | embedly/client.py | 1 | 4750 | """
Client
======
The embedly object that interacts with the service
"""
from __future__ import absolute_import, unicode_literals
import re
import httplib2
import json
from urllib import quote, urlencode
from .models import Url
def get_user_agent():
from . import __version__
return 'Mozilla/5.0 (compatible;... | mit | -4,047,278,784,260,133,000 | 26.616279 | 80 | 0.533053 | false |
lilchurro/vent | vent/menus/ntap.py | 1 | 9189 | import ast
import npyscreen
from vent.api.actions import Action
class CreateNTap(npyscreen.ActionForm):
""" For creating a new network tap container """
def create(self):
self.add_handlers({"^T": self.quit, "^Q": self.quit})
self.add(npyscreen.Textfield,
value='Create a netw... | apache-2.0 | -5,499,286,685,946,207,000 | 34.342308 | 79 | 0.536293 | false |
janusnic/21v-python | unit_17/1.py | 1 | 1114 | #!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
from PyQt4 import QtGui, QtCore
class Example(QtGui.QWidget):
def __init__(self):
super(Example, self).__init__()
self.initUI()
def initUI(self):
self.text = u'\u041b\u0435\u0432 \u041d\u0438\u043a\u043e... | mit | -4,442,118,358,656,477,000 | 23.23913 | 78 | 0.568223 | false |
wiki2014/Learning-Summary | alps/cts/apps/CameraITS/tests/inprog/test_rawstats.py | 2 | 1620 | # Copyright 2015 The Android Open Source Project
#
# 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... | gpl-3.0 | -7,820,512,805,679,995,000 | 32.75 | 82 | 0.612963 | false |
AlienStudio/jpsp_python | jpsp/jpspapp/urls.py | 1 | 2922 | from django.urls import path
from . import views
urlpatterns = [
path('logout', views.student_logout, name="Logout"),
path(r's/login', views.student_login_page, name="StudentLogin"),
path('s/check_login', views.student_check_login, name="StudentCheckLogin"),
path(r's/club/news/<int:page>', views.stude... | mit | 4,627,145,095,779,551,000 | 66.953488 | 107 | 0.711841 | false |
gnomex/analysis | src/arpspoof.py | 1 | 5528 | #!/usr/bin/python
# src from https://github.com/rusec/scapy-arpspoof-demo
from scapy.all import *
from argparse import ArgumentParser
import os
IP_FORWARD = '/proc/sys/net/ipv4/ip_forward'
TIMEOUT = 2
RETRY = 10
# This function uses argparse to parse command line
# arguments passed to the script.
def set_configs()... | gpl-3.0 | -362,603,220,197,692,000 | 23.034783 | 107 | 0.611433 | false |
js850/PyGMIN | pygmin/gui/double_ended_connect_runner.py | 1 | 10710 | """
tools to run the double ended connect in a separte process and
make sure the the minima and transition states found are
incorporated back into the master database
"""
import multiprocessing as mp
import sys
import signal
import logging
import numpy as np
from PyQt4 import QtCore, QtGui
from pygmin.utils.events... | gpl-3.0 | -897,367,410,067,978,000 | 33.111465 | 103 | 0.585528 | false |
Yelp/pyramid_zipkin | pyramid_zipkin/tween.py | 1 | 8038 | # -*- coding: utf-8 -*-
import functools
import warnings
from collections import namedtuple
from py_zipkin import Encoding
from py_zipkin import Kind
from py_zipkin.exception import ZipkinError
from py_zipkin.storage import get_default_tracer
from py_zipkin.transport import BaseTransportHandler
from pyramid_zipkin.re... | apache-2.0 | 5,364,765,440,840,491,000 | 38.596059 | 82 | 0.673177 | false |
alejob/mdanalysis | package/MDAnalysis/auxiliary/XVG.py | 1 | 11423 | # -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*-
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
#
# MDAnalysis --- http://www.mdanalysis.org
# Copyright (c) 2006-2016 The MDAnalysis Development Team and contributors
# (see the file AUTHORS for the full list of names)
#
# Released under th... | gpl-2.0 | -4,506,006,415,492,942,300 | 30.46832 | 82 | 0.565263 | false |
Cobaltians-Fonts/fontToCobalt | parsers/css.py | 1 | 1486 | #
# Created by Roxane P. on 15/01/2016
# Parse fonts styles.css from fontastic or icomoon
#
import tinycss
names = []
glyphs = []
prefix = ''
fontName = ''
def parseCSS(file):
parser = tinycss.make_parser('page3')
stylesheet = parser.parse_stylesheet_file(file);
global prefix
global fontName
firs... | mit | 1,897,860,228,959,300,000 | 30.617021 | 96 | 0.541723 | false |
rosedu/I.GameBot | snake_maze/game_bots/random_bot_02_python/snakemaze_play_turn.py | 1 | 1318 | import random
from copy import deepcopy
DIRECTIONS = ['right', 'left', 'up', 'down']
def locate_free_square(width, height, obstacles):
square = {'x': 0, 'y': 0}
while square in obstacles:
square['x'] = random.choice( range(0,width) )
square['y'] = random.choice( range(0,height) )
retur... | agpl-3.0 | -324,057,517,764,576,450 | 22.963636 | 74 | 0.54173 | false |
opevolution/pycrackcaptcha | pycrackcaptcha/data.py | 1 | 1273 | # -*- coding: utf-8 -*-
# vim: set expandtab tabstop=4 shiftwidth=4:
###############################################################
# #
# Alexandre Defendi - 01/04/2014 #
# ... | bsd-3-clause | -5,452,015,869,434,828,000 | 37.484848 | 63 | 0.289204 | false |
mariusbaumann/pyload | module/plugins/hoster/ZeveraCom.py | 1 | 1124 | # -*- coding: utf-8 -*-
from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class ZeveraCom(MultiHoster):
__name__ = "ZeveraCom"
__type__ = "hoster"
__version__ = "0.25"
__pattern__ = r'http://(?:www\.)?zevera\.com/.+'
__description__ = """Zevera.com hoster plugin"... | gpl-3.0 | -2,630,775,124,068,375,600 | 30.222222 | 121 | 0.617438 | false |
joemicro/Manufacturing | findform.py | 1 | 31523 | import os
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from sqlalchemy import *
from sqlalchemy.orm import *
from databaseschema import *
from genericdelegates import *
from functions import *
import modelsandviews
import ui_forms.ui_findform
import receiveform
import batchform
import productionfor... | mit | 5,236,492,352,790,907,000 | 44.886463 | 146 | 0.586207 | false |
sharmaking/PairTradeBTS | multipleStrategy/statisticalArbitrageMultiple.py | 1 | 4640 | #!/usr/bin/python
# -*- coding: utf-8 -*-
#statisticalArbitrageMultiple.py
import baseMultiple
import numpy, copy, csv
class CStatisticalArbitrageMultiple(baseMultiple.CBaseMultiple):
#------------------------------
#继承重载函数
#------------------------------
#自定义初始化函数
def customInit(self):
self.name = "statistical... | mit | -3,109,636,028,187,212,000 | 36.371901 | 97 | 0.622512 | false |
wackou/bts_tools | bts_tools/cmdline.py | 1 | 24237 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# bts_tools - Tools to easily manage the bitshares client
# Copyright (c) 2014 Nicolas Wack <wackou@gmail.com>
#
# 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 Softwa... | gpl-3.0 | -5,400,526,556,740,207,000 | 39.666107 | 119 | 0.564096 | false |
unsystemizer/counterparty-cli | counterpartycli/console.py | 1 | 3966 | import os
from prettytable import PrettyTable
from counterpartycli import wallet, util
# TODO: inelegant
def get_view(view_name, args):
if view_name == 'balances':
return wallet.balances(args.address)
elif view_name == 'asset':
return wallet.asset(args.asset)
elif view_name == 'wallet':
... | mit | -7,392,429,104,027,358,000 | 32.294118 | 96 | 0.585815 | false |
Julian/home-assistant | homeassistant/components/media_player/demo.py | 1 | 11274 | """
Demo implementation of the media player.
For more details about this platform, please refer to the documentation
https://home-assistant.io/components/demo/
"""
from homeassistant.components.media_player import (
MEDIA_TYPE_MUSIC, MEDIA_TYPE_TVSHOW, MEDIA_TYPE_VIDEO, SUPPORT_NEXT_TRACK,
SUPPORT_PAUSE, SUPPO... | mit | 8,502,807,707,185,662,000 | 30.480447 | 79 | 0.61189 | false |
harigov/newsalyzer | crawler/YahooMailParser.py | 1 | 1198 | import urlparse
import os
from bs4 import BeautifulSoup
import re
from article_parser import ArticleParser
class YahooMailParser(ArticleParser):
def parse(self, url, article_text):
ArticleParser.parse(self,url,article_text)
def _get_title(self):
head = self._soup.find('header', {'class' : 'can... | mit | 5,628,196,657,293,056,000 | 31.378378 | 82 | 0.530885 | false |
livoras/feifanote-server | apis/_helpers.py | 1 | 1938 | # -*- coding: utf-8 -*-
from functools import wraps
from flask import session, request
from common.utils import message
from models.notebook import Notebook
from models.page import Page
from common import db
def require_login(route_fn):
"""
Decorator for router functions that need user to login first.
"""
... | mit | -2,775,173,960,715,875,300 | 34.907407 | 70 | 0.610939 | false |
sarwojowo/KerasProject | resnetcustom.py | 1 | 3281 | #python resnetcustom.py --file images/office.png
from __future__ import print_function
import numpy as np
import json
import os
import time
from keras import backend as K
from keras.preprocessing import image
from keras.applications import ResNet50
from keras.utils.data_utils import get_file
CLASS_INDEX = None
CLAS... | mit | 4,369,614,500,541,529,600 | 30.548077 | 79 | 0.537031 | false |
datascopeanalytics/scrubadub | scrubadub/post_processors/text_replacers/prefix_suffix.py | 1 | 1176 | from typing import Optional, Sequence
from ...filth import Filth
from ..base import PostProcessor
class PrefixSuffixReplacer(PostProcessor):
name = 'prefix_suffix_replacer' # type: str
def __init__(self, prefix: Optional[str] = '{{', suffix: Optional[str] = '}}', name: Optional[str] = None):
super(... | mit | -9,170,214,622,333,614,000 | 36.935484 | 111 | 0.64881 | false |
austinbyers/esprima-ast-visitor | visitor_test.py | 1 | 3065 | """Test the AST traversal."""
import gzip
import json
import unittest
import visitor
class TestTraverse(unittest.TestCase):
"""Verify that traversals progress in the correct order and terminate.
Test cases are drawn from a variety of very large real-world JS examples,
including popular libraries and cod... | mit | 7,185,851,426,806,917,000 | 30.597938 | 86 | 0.610114 | false |
GandhiNN/StarOS-cactipy | sgsnmme/get3gAttachSR.py | 1 | 5758 | #!/usr/bin/env python3
#
# author == __gandhi__
# ngakan.gandhi@packet-systems.com
import pexpect
import sys
import os
import json
import time
import re
# Load node user and password configuration file
def load_node_config(node_config_file):
with open(node_config_file) as node_confile:
retu... | mit | -5,496,172,499,643,286,000 | 46 | 107 | 0.592741 | false |
vgrem/SharePointOnline-REST-Python-Client | office365/sharepoint/folder.py | 1 | 2600 | from office365.runtime.client_object import ClientObject
from office365.runtime.client_query import UpdateEntityQuery, DeleteEntityQuery
from office365.runtime.resource_path import ResourcePath
from office365.runtime.resource_path_service_operation import ResourcePathServiceOperation
from office365.sharepoint.listitem ... | mit | -3,152,273,541,855,555,000 | 40.269841 | 128 | 0.673846 | false |
rth/PyAbel | examples/example_linbasex_hansenlaw.py | 1 | 3092 | # -*- coding: utf-8 -*-
import numpy as np
import abel
import matplotlib.pyplot as plt
IM = np.loadtxt("data/VMI_art1.txt.bz2")
legendre_orders = [0, 2, 4] # Legendre polynomial orders
proj_angles = range(0, 180, 10) # projection angles in 10 degree steps
radial_step = 1 # pixel grid
smoothing = 1 # smoothing 1/e... | mit | -238,230,129,545,215,360 | 41.944444 | 77 | 0.67044 | false |
b1-systems/kiwi | kiwi/utils/size.py | 1 | 1696 | # Copyright (c) 2015 SUSE Linux GmbH. All rights reserved.
#
# This file is part of kiwi.
#
# kiwi 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 la... | gpl-3.0 | -5,083,597,701,060,993,000 | 33.612245 | 80 | 0.647995 | false |
umitproject/network-admin | netadmin/users/forms.py | 1 | 2410 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Adriano Monteiro Marques
#
# Author: Amit Pal <amix.pal@gmail.com>
#
# This program 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, ei... | agpl-3.0 | -4,128,243,789,339,901,000 | 34.970149 | 105 | 0.692116 | false |
lehmannro/pootle | pootle/auth/ldap_backend.py | 1 | 3490 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2009 Mozilla Corporation, Zuza Software Foundation
#
# This file is part of Pootle.
#
# Pootle 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; eith... | gpl-2.0 | -7,947,188,402,403,043,000 | 38.659091 | 188 | 0.638968 | false |
westernmagic/NumPDE | series4/2d-rad-cooling/plot_on_mesh.py | 1 | 1202 | from numpy import *
from pylab import *
import matplotlib.tri
from math import atan2
vertices = loadtxt("vertices.txt")
indices = loadtxt("triangles.txt")
uImplicit = loadtxt("u_implicit.txt")
energyImplicit = loadtxt("energy_implicit.txt")
uExplicitNoCfl = loadtxt("u_explicit_no_cfl.txt")
energyExplicitNoCfl = loa... | mit | 7,751,457,936,035,289,000 | 22.568627 | 75 | 0.748752 | false |
DiamondLightSource/diffcalc | diffcalc/ub/reflections.py | 1 | 5528 | ###
# Copyright 2008-2011 Diamond Light Source Ltd.
# This file is part of Diffcalc.
#
# Diffcalc 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 late... | gpl-3.0 | -8,610,430,123,077,464,000 | 37.388889 | 89 | 0.571274 | false |
redhatrises/classification-banner | classification-banner.py | 1 | 14507 | #!/usr/bin/python
# Classification Banner
#
# Last update was 02 July 2018
#
# Script: classification-banner.py
# Description: Displays a Classification for an Xwindows session
# Copyright: Frank Caviggia, 2017
# Author: Frank Caviggia <fcaviggia (at) gmail.com>
# Version: 1.6.6
# License: GPLv2
import sys,os,optparse... | gpl-2.0 | 1,204,417,468,584,060,200 | 38.52861 | 136 | 0.559799 | false |
jelly/calibre | src/calibre/db/cli/cmd_show_metadata.py | 2 | 1416 | #!/usr/bin/env python2
# vim:fileencoding=utf-8
# License: GPLv3 Copyright: 2017, Kovid Goyal <kovid at kovidgoyal.net>
from __future__ import absolute_import, division, print_function, unicode_literals
import os
import sys
from calibre import prints
from calibre.ebooks.metadata.opf2 import OPFCreator
readonly = Tr... | gpl-3.0 | -4,527,065,528,993,158,000 | 23.842105 | 82 | 0.636299 | false |
grimoirelab/sortinghat | sortinghat/parsing/gitdm.py | 1 | 12677 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2021 Bitergia
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This ... | gpl-3.0 | 2,135,665,549,278,258,700 | 32.623342 | 124 | 0.580625 | false |
karesansui/karesansui | karesansui/gadget/static.py | 1 | 1502 | # -*- coding: utf-8 -*-
#
# This file is part of Karesansui.
#
# Copyright (C) 2009-2012 HDE, Inc.
#
# 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 lim... | mit | 2,057,773,710,568,235,800 | 40.722222 | 79 | 0.724368 | false |
niphlod/ssis_dash | models/menu.py | 1 | 2114 | # -*- coding: utf-8 -*-
# Copyright 2017 Niphlod <niphlod@gmail.com>
#
# This file is part of ssis_dash.
#
# ssis_dash 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... | gpl-3.0 | -8,550,410,080,521,734,000 | 31.030303 | 76 | 0.690161 | false |
russellb/nova | nova/tests/api/openstack/compute/test_api.py | 1 | 4523 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 OpenStack LLC.
# 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/... | apache-2.0 | 1,007,506,515,709,438,700 | 33.265152 | 78 | 0.646031 | false |
Heikman/picongpu | src/tools/bin/observer.py | 1 | 1286 | #!/usr/bin/env python2.7
#
# Copyright 2013 Richard Pausch
#
# This file is part of PIConGPU.
#
# PIConGPU 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)... | gpl-3.0 | 3,014,636,239,808,558,600 | 25.791667 | 70 | 0.664075 | false |
kubeflow/kfserving | python/kfserving/test/test_knative_url.py | 1 | 1378 | # Copyright 2020 kubeflow.org.
#
# 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,... | apache-2.0 | 3,694,224,059,007,468,500 | 24.518519 | 79 | 0.703919 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.