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 |
|---|---|---|---|---|---|---|---|---|---|---|
latticelabs/Mitty | setup.py | 1 | 2920 | from setuptools import setup, find_packages
__version__ = eval(open('mitty/version.py').read().split('=')[1])
setup(
name='mitty',
version=__version__,
description='Simulator for genomic data',
author='Seven Bridges Genomics',
author_email='kaushik.ghose@sbgenomics.com',
packages=find_packages(... | gpl-2.0 | -1,249,022,728,122,169,000 | 51.160714 | 105 | 0.533562 | false |
lleobox/PYtypecho | app/modules.py | 1 | 5106 | # coding: utf-8
import uuid
from datetime import datetime
from flask.ext.login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
from . import db, login_manager
def create_only_slug(form):
if form.slug.data == "":
slug = str(datetime.now())[0:10] + "-" + str(uuid... | apache-2.0 | 7,477,388,708,105,220,000 | 28.892216 | 137 | 0.615585 | false |
fsinfuhh/Bitpoll | bitpoll/settings.py | 1 | 9609 | """
Django settings for bitpoll project.
Generated by 'django-admin startproject' using Django 1.9.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.9/ref/settings/
"""
import os
# B... | gpl-3.0 | 7,390,395,290,817,735,000 | 26.141243 | 93 | 0.603351 | false |
F5Networks/f5-common-python | devtools/code_generator.py | 1 | 1330 | from __future__ import absolute_import
# Copyright 2016 F5 Networks Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | apache-2.0 | 3,411,760,480,840,071,700 | 34.945946 | 74 | 0.737594 | false |
ImmobilienScout24/aws-stager | src/main/python/aws_stager/__init__.py | 1 | 1802 | # The MIT License (MIT)
#
# Copyright (c) 2014 ImmobilienScout GmbH
#
# 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 u... | mit | 5,897,574,040,572,678,000 | 45.205128 | 80 | 0.694229 | false |
timlau/dnf-utils | plugins/sample.py | 1 | 3103 | # dnf-utils - add-on tools for DNF
# Copyright (C) 2014 Tim Lauridsen < timlau<AT>fedoraproject<DOT>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 2 of the... | gpl-2.0 | 6,766,809,085,759,247,000 | 35.940476 | 73 | 0.636159 | false |
VanyaDNDZ/django-sybase-backend | sqlsybase_server/pyodbc/compiler.py | 1 | 10019 | from django.db.models.sql import compiler
from datetime import datetime
import re
from django.db.models.base import Model
REV_ODIR = {
'ASC': 'DESC',
'DESC': 'ASC'
}
SQL_SERVER_8_LIMIT_QUERY = \
"""SELECT *
FROM (
SELECT TOP %(limit)s *
FROM (
%(orig_sql)s
ORDER BY %(ord)s
) AS %(table)s
ORDER... | unlicense | 1,650,626,285,960,713,000 | 37.095057 | 172 | 0.55285 | false |
googleapis/python-bigquery | samples/snippets/materialized_view_test.py | 1 | 2840 | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | apache-2.0 | 343,070,539,589,538,600 | 33.216867 | 76 | 0.723239 | false |
justinfinkle/pydiffexp | scripts/osmo_yeast_prep.py | 1 | 2736 | import sys
import warnings
import numpy as np
import pandas as pd
def parse_title(title, split_str=" "):
"""
Parse the title of GSE13100 into usable metadata. Should work with pandas apply()
Args:
title:
split_str:
Returns:
"""
split = title.split(split_str)
meta = []
... | gpl-3.0 | -7,102,382,116,669,640,000 | 34.532468 | 104 | 0.63633 | false |
eagleamon/home-assistant | homeassistant/components/ffmpeg.py | 1 | 6820 | """
Component that will help set the ffmpeg component.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/ffmpeg/
"""
import asyncio
import logging
import os
import voluptuous as vol
from homeassistant.core import callback
from homeassistant.const import ... | apache-2.0 | -6,938,346,921,221,818,000 | 28.396552 | 78 | 0.626979 | false |
Crescent-Saturn/Hello_Python | Week8/Bubble_shoot_final.py | 1 | 3541 | # Basic infrastructure for Bubble Shooter
import simplegui
import random
import math
# Global constants
WIDTH = 800
HEIGHT = 600
FIRING_POSITION = [WIDTH // 2, HEIGHT]
FIRING_LINE_LENGTH = 60
FIRING_ANGLE_VEL_INC = 0.02
BUBBLE_RADIUS = 20
COLOR_LIST = ["Red", "Green", "Blue", "White"]
# global variables
firing_angle... | gpl-3.0 | -5,557,904,276,409,397,000 | 27.788618 | 117 | 0.621293 | false |
matthewwardrop/formulaic | benchmarks/plot.py | 1 | 1418 | import os
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
data = pd.read_csv(os.path.join(os.path.dirname(__file__), 'benchmarks.csv')).sort_values('mean')
def grouped_barplot(df, cat, subcat, val, err, subcats=None, **kwargs):
# based on https://stackoverflow.com/a/42033734
categori... | mit | 310,556,839,665,758,600 | 34.45 | 112 | 0.647391 | false |
UKPLab/semeval2017-scienceie | code/skip-thoughts/TomKenter-siamese-cbow-faf752ef6a99/docClassify.py | 1 | 3459 | #! /usr/bin/python
import sys,cPickle as pkl,numpy as np
from keras.layers import Dense, Dropout
from keras.models import Sequential
from keras.utils.np_utils import to_categorical
import stack5 as st_learn
# SAMPLE USAGE
# ./docClassify.py vectors_docs_siamese.pkl
def build_nn(input_dim, output_dim,hidden_dim=100):... | apache-2.0 | -4,062,872,991,107,665,000 | 32.911765 | 142 | 0.677363 | false |
LordHighfixxer/lrdhifxr-cogs | apitoolsoz/apitoolsoz.py | 1 | 5904 | import discord
from discord.ext import commands
from .utils import checks
import aiohttp
import json
import logging
import time
import os
log = logging.getLogger('red.apitoolsoz')
class ApitoolsOz:
"""Steam and SteamSpy related commands"""
def __init__(self, bot):
self.bot = bot
... | gpl-3.0 | 4,074,175,973,187,433,500 | 34.45679 | 163 | 0.498984 | false |
Foxboron/Frank | app/jobs/__init__.py | 1 | 1066 | #!/usr/bin/env python
from abc import ABCMeta, abstractmethod
from pkgutil import iter_modules
from os.path import dirname, basename
# import_module wasn't added until 2.7
try:
from importlib import import_module
except ImportError:
def import_module(name):
__import__(name)
class AbstractJob(object)... | mit | -2,380,783,889,886,251,500 | 25.65 | 76 | 0.587242 | false |
Nixonite/Movie-Spoiler-Twitter-Bot | fetchSpoilers.py | 1 | 1933 | import urllib2
from BeautifulSoup import BeautifulSoup
import sqlite3
import time
spoilerSite = 'http://www.spollywood.com/' #maybe move to main.py
def sqlStart():
return sqlite3.connect('moviespoilerbot.db')
def sqlConnection(sqlconn):
return sqlconn.cursor()
def sqlClose(conn):
conn.close()
def weirdTextFix(... | gpl-2.0 | 2,039,677,642,579,010,600 | 25.493151 | 117 | 0.70357 | false |
sam-m888/gprime | gprime/filters/rules/person/_multiplemarriages.py | 1 | 1773 | #
# gPrime - A web-based genealogy program
#
# Copyright (C) 2002-2006 Donald N. Allingham
#
# 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 optio... | gpl-2.0 | -7,130,319,150,348,231,000 | 36.723404 | 79 | 0.543711 | false |
robocomp/robocomp-robolab | components/hardware/imu/pyimu/src/genericworker.py | 1 | 2828 | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 by YOUR NAME HERE
#
# This file is part of RoboComp
#
# RoboComp 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... | gpl-3.0 | -5,540,194,475,145,899,000 | 26.456311 | 106 | 0.705092 | false |
luzfcb/cookiecutter-django | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py | 1 | 2441 | import pytest
from django.contrib.auth.models import AnonymousUser
from django.http.response import Http404
from django.test import RequestFactory
from {{ cookiecutter.project_slug }}.users.models import User
from {{ cookiecutter.project_slug }}.users.tests.factories import UserFactory
from {{ cookiecutter.project_slu... | bsd-3-clause | 3,276,456,277,784,052,700 | 29.898734 | 77 | 0.661204 | false |
bdfoster/blumate | blumate/components/sensor/thinkingcleaner.py | 1 | 3570 | """Support for ThinkingCleaner."""
import logging
from datetime import timedelta
import blumate.util as util
from blumate.helpers.entity import Entity
_LOGGER = logging.getLogger(__name__)
REQUIREMENTS = ['https://github.com/TheRealLink/pythinkingcleaner'
'/archive/v0.0.2.zip'
'#pythi... | mit | -6,172,542,781,340,338,000 | 30.315789 | 73 | 0.614846 | false |
sharad/calibre | setup/installer/osx/app/sign.py | 1 | 2568 | #!/usr/bin/env python
# vim:fileencoding=utf-8
from __future__ import (unicode_literals, division, absolute_import,
print_function)
__license__ = 'GPL v3'
__copyright__ = '2014, Kovid Goyal <kovid at kovidgoyal.net>'
import subprocess, os, sys, plistlib
from contextlib import contextmanager
fr... | gpl-3.0 | 202,522,008,358,210,180 | 31.1 | 92 | 0.617601 | false |
Scille/parsec-cloud | parsec/api/protocol/types.py | 1 | 4779 | # Parsec Cloud (https://parsec.cloud) Copyright (c) AGPLv3 2016-2021 Scille SAS
import re
from unicodedata import normalize
from typing import Union, TypeVar, Type, NoReturn
from uuid import uuid4
from collections import namedtuple
from email.utils import parseaddr
from parsec.serde import fields
UserIDTypeVar = Ty... | agpl-3.0 | 5,741,280,552,053,785,000 | 30.440789 | 79 | 0.607868 | false |
quodlibet/quodlibet | quodlibet/ext/events/waveformseekbar.py | 1 | 27104 | # Copyright 2016 0x1777
# 2016-17 Nick Boultbee
# 2017 Didier Villevalois
# 2017 Muges
# 2017 Eyenseo
# 2018 Joschua Gandert
# 2018 Blimmo
# 2018 Olli Helin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of... | gpl-2.0 | -8,185,359,213,914,400,000 | 36.854749 | 84 | 0.580874 | false |
mmcdermo/RedLeader | redleader/exceptions.py | 1 | 1824 | # MIT License
# Copyright (c) 2016 Morgan McDermott & John Carlyle
# 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, cop... | apache-2.0 | -9,212,705,269,930,236,000 | 40.454545 | 138 | 0.754386 | false |
oblalex/django-xlivesettings | xlivesettings/functions.py | 1 | 7450 | import logging
from django.utils.translation import ugettext
from django.utils.translation import ugettext_lazy as _
from xlivesettings import values
from xlivesettings.models import SettingNotSet
from xlivesettings.utils import is_string_like
log = logging.getLogger(__name__)
_NOTSET = object()
class Configuratio... | bsd-3-clause | -7,796,610,178,119,834,000 | 28.44664 | 94 | 0.575302 | false |
fizyk/matchbox | src/matchbox/matchbox.py | 1 | 3244 | # Copyright (C) 2015 by Clearcode <http://clearcode.cc>
# and associates (see AUTHORS).
# This file is part of matchbox.
# matchbox 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 ... | lgpl-3.0 | 135,989,758,095,153,440 | 36.287356 | 93 | 0.501233 | false |
jmarsik/mopidy | mopidy/core/actor.py | 1 | 9428 | from __future__ import absolute_import, unicode_literals
import collections
import itertools
import logging
import pykka
from mopidy import audio, backend, mixer, service
from mopidy.audio import PlaybackState
from mopidy.core.service import ServiceController
from mopidy.core.history import HistoryController
from mo... | apache-2.0 | -3,009,527,159,658,844,000 | 35.972549 | 98 | 0.630887 | false |
mmechelke/bayesian_xfel | bxfel/core/structure_factor.py | 1 | 18608 |
import numpy as np
import scipy
import re
import os
import hashlib
import csb
from csb.bio.io.wwpdb import StructureParser
def chunks(l, n):
""" Yield successive n-sized chunks from l.
"""
for i in xrange(0, len(l), n):
yield l[i:i+n]
class ScatteringFactor(object):
"""
Cacluates the ... | mit | 4,043,407,030,186,804,000 | 28.029641 | 106 | 0.520475 | false |
getsentry/zeus | zeus/factories/build.py | 1 | 3176 | import factory
from datetime import timedelta
from faker import Factory
from random import randint
from zeus import models
from zeus.config import db
from zeus.constants import Result, Status
from zeus.utils import timezone
from .base import ModelFactory
from .repository import RepositoryFactory
from .types import G... | apache-2.0 | -1,452,420,653,057,511,000 | 31.742268 | 85 | 0.63539 | false |
danakj/chromium | content/test/gpu/gpu_tests/gpu_rasterization.py | 1 | 3218 | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from gpu_tests import cloud_storage_test_base
from gpu_tests import gpu_rasterization_expectations
import page_sets
from telemetry.page import page_test
fro... | bsd-3-clause | 5,711,954,946,880,890,000 | 35.157303 | 80 | 0.695774 | false |
lsk112233/Clone-test-repo | events/models.py | 1 | 9946 | import datetime
from dateutil.rrule import rrule, YEARLY, MONTHLY, WEEKLY, DAILY
from operator import itemgetter
from django.conf import settings
from django.core.urlresolvers import reverse
from django.db import models
from django.db.models import Q
from django.template.defaultfilters import date
from django.utils im... | apache-2.0 | -1,564,836,294,303,243,800 | 31.187702 | 134 | 0.647798 | false |
itaymendel/taurus | tests/modules/test_cloudProvisioning.py | 1 | 53218 | import json
import os
import shutil
import tempfile
import time
import yaml
from bzt import TaurusConfigError, TaurusException
from bzt.bza import Master, Test, MultiTest
from bzt.engine import ScenarioExecutor, ManualShutdown, Service
from bzt.modules.aggregator import ConsolidatingAggregator, DataPoint, KPISet
from... | apache-2.0 | 6,317,289,375,520,703,000 | 43.311407 | 258 | 0.465839 | false |
IljaGrebel/OpenWrt-SDK-imx6_HummingBoard | staging_dir/host/lib/scons-2.3.5/SCons/cpp.py | 1 | 19694 | #
# Copyright (c) 2001 - 2015 The SCons Foundation
#
# 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, modify, merge... | gpl-2.0 | -1,709,806,225,151,013,400 | 32.379661 | 97 | 0.598456 | false |
NeuroRoboticTech/Jetduino | Software/Python/grove_single_axis_analog_gyro.py | 1 | 2819 | #!/usr/bin/env python
#
# Jetduino Example for using the Grove Single Axis Analog Gyro (http://www.seeedstudio.com/wiki/Grove_-_Single_Axis_Analog_Gyro)
#
# The Jetduino connects the Jetson and Grove sensors. You can learn more about the Jetduino here: http://www.NeuroRoboticTech.com/Projects/Jetduino
#
# Have a ques... | mit | 6,218,976,323,082,316,000 | 31.77907 | 149 | 0.730046 | false |
hakujyo/chessplaying_robot | machintest.py | 1 | 1166 | # uArm Swift Pro - Python Library Example
# Created by: Richard Garsthagen - the.anykey@gmail.com
# V0.1 - June 2017 - Still under development
import uArmRobot
import time
#Configure Serial Port
serialport = "com5" # for windows
#serialport = "/dev/ttyACM0" # for linux like system
# Connect to u... | gpl-3.0 | -7,258,889,233,506,067,000 | 18.315789 | 85 | 0.623489 | false |
djurodrljaca/salamander-alm | server/rest_api/usermanagement/__init__.py | 1 | 1336 | """
Salamander ALM
Copyright (c) 2016 Djuro Drljaca
This Python module 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 Python module ... | gpl-2.0 | -3,845,708,591,310,501,400 | 32.4 | 100 | 0.72979 | false |
zestedesavoir/Python-ZMarkdown | setup.py | 1 | 2587 | #!/usr/bin/env python
from __future__ import with_statement
import os
from distutils.core import setup
import imp
def get_version():
" Get version & version_info without importing markdown.__init__ "
path = os.path.join(os.path.dirname(__file__), 'zmarkdown')
fp, pathname, desc = imp.find_module('__versi... | bsd-3-clause | -7,031,540,164,228,774,000 | 37.044118 | 93 | 0.579822 | false |
StamusNetworks/scirius | rules/migrations/0031_auto_20150103_1138.py | 1 | 1083 | # -*- coding: utf-8 -*-
from django.db import models, migrations
import datetime
class Migration(migrations.Migration):
dependencies = [
('rules', '0030_auto_20150103_1136'),
]
operations = [
migrations.AlterField(
model_name='category',
name='created_date',
... | gpl-3.0 | 7,653,383,847,302,902,000 | 31.818182 | 142 | 0.595568 | false |
hactar-is/frink | frink/base.py | 1 | 1800 | # -*- coding: utf-8 -*-
"""
frink.base
~~~~~~~~~~~~~
BaseModel class
"""
import datetime
from schematics.models import Model
from schematics.types.base import (
StringType, BooleanType, DateTimeType, IntType, UUIDType
)
from schematics.exceptions import ValidationError
# Frink
from .orm import Insta... | mit | -1,695,356,816,623,985,200 | 31.727273 | 90 | 0.597778 | false |
franek/weboob | modules/cappedtv/backend.py | 1 | 2351 | # -*- coding: utf-8 -*-
# Copyright(C) 2012 Lord
#
# This module is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# h... | agpl-3.0 | -5,019,618,507,937,956,000 | 34.621212 | 101 | 0.659719 | false |
patricklam/signup-sheet | signup/views.py | 1 | 5682 | import re
from django.shortcuts import render
from signup.models import Slot, Signup, GroupMembership
def has_group(user):
return GroupMembership.objects.filter(watid=user).exists()
def find_group(user):
return GroupMembership.objects.filter(watid=user).first().group_id if has_group(user) else 'None'
def is_... | mit | -3,686,669,189,200,034,000 | 41.721805 | 129 | 0.574622 | false |
Victordeleon/os-data-importers | eu-structural-funds/tests/processors/test_sniff_and_cast.py | 1 | 9580 | """Unit-tests for the `sniff_and_cast` processor."""
from datetime import date, datetime
from decimal import Decimal
from math import floor
from jsontableschema.types import DateType, NumberType
from pytest import fixture, mark, raises
from collections import UserList
from common.config import (
NUMBER_FORMATS,
... | mit | 8,768,406,164,046,902,000 | 29.771704 | 79 | 0.583908 | false |
tkw1536/DataAnalytics | DataAnalytics/grouping.py | 1 | 1709 | import numpy as np
def group_indexes_by(data, group):
"""
groups the indexes of an array.
data: Array of which the indexes should be sorted
group: Array of functions that should return if an item belongs to a group.
"""
# create an array of groups
groups = [[] for g in group]
... | mit | -8,865,919,819,708,766,000 | 23.070423 | 95 | 0.583382 | false |
EssaAlshammri/django-by-example | online-shop/myshop/payment/signals.py | 1 | 1219 | from io import BytesIO
import weasyprint
from django.conf import settings
from django.core.mail import EmailMessage
from django.shortcuts import get_object_or_404
from django.template.loader import render_to_string
from paypal.standard.ipn.signals import valid_ipn_received
from paypal.standard.models import ST_PP_COMP... | mit | 4,838,753,074,364,305,000 | 39.633333 | 88 | 0.706317 | false |
MichaelReiter/ProgrammingPractice | DFS.py | 1 | 1656 | #!/usr/bin/env python
def dfs_iter(graph, start, path=[]):
"""
Iterative version of depth first search.
Arguments:
graph - a dictionary of lists that is your graph and who you're connected to.
start - the node you wish to start at
path - a list of already visited nodes for a path
Returns:
path ... | mit | -5,849,177,401,395,299,000 | 25.725806 | 81 | 0.61715 | false |
ActiveState/code | recipes/Python/577083_POSIX_context_manager_temporarily_silence_or/recipe-577083.py | 1 | 3124 | #! /usr/bin/env python
"""
silence.py
Peter Waller
March 2010
"""
from __future__ import with_statement
from contextlib import contextmanager, nested
from threading import Thread
from tempfile import mkdtemp
from os.path import join as pjoin
from os import (dup, fdopen, open as osopen, O_NONBLOCK, O_RDONLY, remove,... | mit | -9,177,454,605,131,362,000 | 25.252101 | 78 | 0.598271 | false |
BobBuildTool/bob | test/test_input_recipe.py | 1 | 9169 |
from unittest import TestCase
from unittest.mock import MagicMock
import os
from bob.errors import ParseError
from bob.input import Recipe
from bob.languages import ScriptLanguage
from bob.stringparser import Env
class TestDependencies(TestCase):
def cmpEntry(self, entry, name, env={}, fwd=False, use=["result",... | gpl-3.0 | -2,027,022,670,915,200,000 | 29.062295 | 90 | 0.474316 | false |
kurgm/gwv | gwv/validators/kosekitoki.py | 1 | 1899 | from gwv.dump import Dump
import gwv.filters as filters
from gwv.kagedata import KageData
from gwv.validators import Validator
from gwv.validators import ErrorCodes
error_codes = ErrorCodes(
NOT_ALIAS="0", # エイリアスでない(し、koseki-xxxxx0がtoki-00xxxxx0のエイリアスというわけでもない)
NOT_ALIAS_OF_KOSEKI="1", # koseki-xxxxx0のエイリア... | mit | 2,397,193,465,353,561,000 | 33.06 | 77 | 0.592484 | false |
komissarex/centipede | lib/testers/base_tester.py | 1 | 5818 | from abc import ABCMeta, abstractmethod
from centipede import centipede
from shutil import rmtree
import os
import threading
import commands
import subprocess
import psutil
import time
class BaseTester(threading.Thread):
"""
Base abstract tester class, desined as thread
"""
__metaclass__ = ABCMeta
... | mit | 3,839,484,213,258,209,300 | 33.223529 | 99 | 0.486765 | false |
michealjroberts/stepjockey-data-retrieval | main.py | 1 | 1217 | #!/usr/bin/env python 2.7.12
#=======================================================================================================================================================#
#title :methods.py
#description :This collects KPI data from all relevant API sources
#author :Michael Roberts
#d... | gpl-3.0 | 390,090,244,518,207,100 | 40.965517 | 153 | 0.499589 | false |
fbradyirl/home-assistant | tests/components/smartthings/test_init.py | 1 | 17594 | """Tests for the SmartThings component init module."""
from uuid import uuid4
from aiohttp import ClientConnectionError, ClientResponseError
from asynctest import Mock, patch
from pysmartthings import InstalledAppStatus, OAuthToken
import pytest
from homeassistant.components import cloud, smartthings
from homeassista... | apache-2.0 | 4,719,389,510,120,571,000 | 35.201646 | 88 | 0.697226 | false |
mikejs/python-votesmart | votesmart.py | 1 | 25110 | """ Python library for interacting with Project Vote Smart API.
Project Vote Smart's API (http://www.votesmart.org/services_api.php)
provides rich biographical data, including data on votes, committee
assignments, and much more.
"""
__author__ = "James Turk (jturk@sunlightfoundation.com)"
__version__ = "0... | bsd-3-clause | -8,397,178,923,152,984,000 | 38.984076 | 94 | 0.601075 | false |
HoboSci/OBIS-Capelin | Loop_on_date_python_script.py | 1 | 16260 | import os
import platform
import subprocess
import datetime as dt
import time
import calendar
import sys
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# General Parameters - Tools - Proxy Network - Output Directory
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Path declarati... | mit | 6,298,542,049,286,388,000 | 41.015504 | 616 | 0.59016 | false |
mkelcb/knet | knet/com/io/knet_IO.py | 1 | 22995 | # -*- coding: utf-8 -*-
#MIT License
#Copyright (c) 2017 Marton Kelemen
#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, c... | mit | -4,028,411,820,195,555,300 | 34.108397 | 178 | 0.556382 | false |
sanger-pathogens/iva | iva/assembly.py | 1 | 29056 | # Copyright (c) 2014-2016 Genome Research Ltd.
#
# This file is part of IVA.
#
# IVA 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.
# ... | gpl-3.0 | -2,167,010,293,797,757,200 | 43.428135 | 473 | 0.570794 | false |
ShyamSS-95/Bolt | bolt/lib/nonlinear/tests/performance/performance_solver_components.py | 1 | 1333 | import arrayfire as af
import numpy as np
import pylab as pl
from bolt.lib.physical_system import physical_system
from bolt.lib.nonlinear_solver.nonlinear_solver \
import nonlinear_solver
from bolt.lib.nonlinear_solver.tests.performance.input_files \
import domain
from bolt.lib.nonlinear_solver.tests.performa... | gpl-3.0 | -8,064,010,313,638,235,000 | 30 | 76 | 0.690923 | false |
dufferzafar/mitmproxy | test/netlib/http/http1/test_read.py | 2 | 11189 | from __future__ import absolute_import, print_function, division
from io import BytesIO
from mock import Mock
import pytest
from netlib.exceptions import HttpException, HttpSyntaxException, HttpReadDisconnect, TcpDisconnect
from netlib.http import Headers
from netlib.http.http1.read import (
read_request, read_re... | mit | 190,801,594,679,058,700 | 28.917112 | 99 | 0.592993 | false |
kennethreitz/tablib | src/tablib/formats/_html.py | 1 | 1613 | """ Tablib - HTML export support.
"""
import codecs
from io import BytesIO
from MarkupPy import markup
class HTMLFormat:
BOOK_ENDINGS = 'h3'
title = 'html'
extensions = ('html', )
@classmethod
def export_set(cls, dataset):
"""HTML representation of a Dataset."""
stream = Bytes... | mit | 5,353,768,156,754,748,000 | 25.016129 | 92 | 0.578425 | false |
xiaowing/pgmail_crawler | PgmailCrawler.py | 1 | 16174 | '''
@author: xiaowing
@license: MIT License
'''
import io, sys, shutil, getopt, time, random, queue, urllib.parse, pdb, threading
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8') # Change the default encode of stdout.
import requests
import psycopg2
from datetime import date, datet... | mit | -3,226,150,583,771,768,000 | 36.781775 | 166 | 0.530856 | false |
greggparrish/musicscout | musicscout/utils.py | 1 | 4665 | from bs4 import BeautifulSoup
import os
import re
import requests
from mutagen import File
from mutagen.id3 import ID3NoHeaderError
from mutagen.easyid3 import EasyID3
from .config import Config
cf = Config().conf_vars()
MEDIA_SITES = ['youtu', 'soundcloud']
USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/... | unlicense | -603,348,131,785,572,500 | 33.813433 | 120 | 0.485316 | false |
grounduphq/stexchange | docs/conf.py | 1 | 7758 | # -*- coding: utf-8 -*-
#
# stexchange documentation build configuration file, created by
# sphinx-quickstart on Sun Feb 17 11:46:20 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# ... | mit | 49,788,154,668,342,950 | 31.057851 | 80 | 0.705465 | false |
acdh-oeaw/totetiroler | places/views.py | 1 | 4026 | import requests
import json
from django.contrib.auth.decorators import login_required
from django.utils.decorators import method_decorator
from django.shortcuts import render, redirect, get_object_or_404
from django.views import generic
from django.views.generic.edit import DeleteView
from django.core.urlresolvers impo... | mit | 5,340,029,317,578,690,000 | 32 | 98 | 0.654744 | false |
GitHub-XK/numjuggler | numjuggler/parser.py | 1 | 26756 | """
Functions for parsing MCNP input files.
"""
import re
import warnings
# regular expressions
re_int = re.compile('\D{0,1}\d+') # integer with one prefix character
re_ind = re.compile('\[.+\]') # interior of square brackets for tally in lattices
re_rpt = re.compile('\d+[rRiI]') # repitition syntax of MCNP inpu... | gpl-3.0 | 1,381,424,500,583,750,100 | 32.032099 | 172 | 0.472118 | false |
hadyelsahar/RE-NLG-Dataset | run_example.py | 1 | 2574 | from pipeline.pipeline import *
from pipeline.entitylinker import *
from pipeline.triplealigner import *
from pipeline.datareader import DBpediaAbstractsDataReader
from pipeline.writer import *
from pipeline.coreference import *
from pipeline.placeholdertagger import *
from utils.triplereader import *
from utils.triple... | mit | 5,133,256,056,461,137,000 | 32.868421 | 148 | 0.699301 | false |
timothycrosley/thedom | thedom/code_documentation.py | 1 | 3121 | '''
CodeDocumentation.py
Contains elements that are used for displaying and documenting code
uses pygments to enable code highlighting
Copyright (C) 2015 Timothy Edmund Crosley
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public L... | gpl-2.0 | 3,437,967,300,197,440,000 | 30.846939 | 92 | 0.668376 | false |
backmari/moose | python/peacock/tests/input_tab/InputFileEditor/test_InputFileEditor.py | 2 | 1907 | #!/usr/bin/env python
from peacock.Input.InputFileEditor import InputFileEditor
from peacock.Input.ExecutableInfo import ExecutableInfo
from peacock.utils import Testing
class Tests(Testing.PeacockTester):
def setUp(self):
super(Tests, self).setUp()
self.test_input_file = "../../common/fsp_test.i"
... | lgpl-2.1 | 5,571,408,797,481,288,000 | 32.45614 | 58 | 0.629261 | false |
Nervanti/eettee | api/taggit/tests/tests.py | 1 | 24339 | from __future__ import absolute_import, unicode_literals
from unittest import TestCase as UnitTestCase
import django
from django.contrib.contenttypes.models import ContentType
from django.core import serializers
from django.core.exceptions import ImproperlyConfigured, ValidationError
from django.test import TestCase,... | mit | -3,225,080,173,079,058,000 | 38.834697 | 258 | 0.608653 | false |
pbarton666/buzz_bot | djangoproj/djangoapp/crawler/django_dbRoutines.py | 1 | 35782 | '''
This module contains database routines that may be accessed with or without using a web framework.
'''
###TODO: need to put the project and the app on the python path so these imports work (a copy of settings.py is in the current directory for now)
#I think all we realy need to do is make sure the settings modul... | mit | 3,651,438,688,838,865,000 | 39.707622 | 184 | 0.657426 | false |
flavoi/diventi | diventi/blog/models.py | 1 | 4236 | from functools import reduce
import operator
from django.db import models
from django.db.models import Q
from django.conf import settings
from django.utils import timezone
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from ckeditor.fields import RichTextField
from c... | apache-2.0 | 7,252,500,817,569,954,000 | 29.604478 | 145 | 0.634711 | false |
thomas-krenn/TKperf | src/perfTest/StdyState.py | 1 | 5481 | '''
Created on Aug 26, 2014
@author: gschoenb
'''
import logging
import numpy as np
import json
from lxml import etree
class StdyState(object):
'''
Used to define a stable state of a device
'''
## Max number of carried out test rounds.
testRnds = 25
## Always use a sliding window of 4 to meas... | gpl-3.0 | -5,684,313,640,092,692,000 | 33.043478 | 95 | 0.595329 | false |
HugoJH/HideIntoPNG | Tests/test_embedder.py | 1 | 1476 | from os import makedirs
from os.path import exists, join, dirname, basename
from shutil import rmtree
from ..hideintopng.embedder import Embedder
def test_insert_payload():
_resetResultsFolder()
embedder = Embedder()
containerFilePath = join(dirname(__file__), "mock/ninja.png")
payloadFilePath = join... | mit | -8,874,432,473,024,109,000 | 33.325581 | 106 | 0.676829 | false |
ksrajkumar/openerp-6.1 | openerp/addons/itara_crm_lead/dms_crm_lead.py | 1 | 3635 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | agpl-3.0 | 3,196,742,054,877,041,700 | 38.51087 | 249 | 0.60055 | false |
rclmenezes/sqlalchemy | examples/dynamic_dict/dynamic_dict.py | 1 | 2521 | class ProxyDict(object):
def __init__(self, parent, collection_name, childclass, keyname):
self.parent = parent
self.collection_name = collection_name
self.childclass = childclass
self.keyname = keyname
@property
def collection(self):
return getattr(self.par... | mit | -5,165,384,912,270,165,000 | 26.647727 | 73 | 0.597382 | false |
seecr/meresco-harvester | test/datastoretest.py | 1 | 2742 | ## begin license ##
#
# "Meresco Harvester" consists of two subsystems, namely an OAI-harvester and
# a web-control panel.
# "Meresco Harvester" is originally called "Sahara" and was developed for
# SURFnet by:
# Seek You Too B.V. (CQ2) http://www.cq2.nl
#
# Copyright (C) 2021 Seecr (Seek You Too B.V.) https://seecr.nl... | gpl-2.0 | 2,517,900,341,576,941,000 | 43.225806 | 145 | 0.673961 | false |
tomersamara/InfoSec | HW4/assemble.py | 1 | 1844 | #!/usr/bin/python
import subprocess
ASSEMBLY_TEMPLATE = '''
.intel_syntax noprefix
.globl main
main:
%s
'''
ASSEMBLE = 'gcc -xassembler - -o /dev/stdout -m32 -nostdlib -emain -Xlinker --oformat=binary'
def run(command, stdin):
proc = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, st... | mit | -6,706,490,746,427,397,000 | 23.586667 | 119 | 0.554772 | false |
wisechengyi/pants | tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile.py | 1 | 2016 | # Copyright 2020 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from pants.backend.jvm.targets.java_library import JavaLibrary
from pants.backend.jvm.tasks.jvm_compile.compile_context import CompileContext
from pants.backend.jvm.tasks.jvm_compile.zinc... | apache-2.0 | 6,758,886,305,394,461,000 | 40.142857 | 92 | 0.615079 | false |
pombredanne/pants | tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_cache_compile_integration.py | 1 | 9202 | # coding=utf-8
# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
import os
from colle... | apache-2.0 | -2,484,029,554,165,306,000 | 40.264574 | 100 | 0.569659 | false |
ypcs/avoin | src/avoin/core.py | 1 | 1173 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import argparse
from avoin.scraper.scraper import DefaultScraper, xpath_parser, ScraperMissingElementError
from avoin.data.utils import read, write
def main(args):
if args.command == 'xpath':
scraper = DefaultScraper()
xpath = args.xpath
... | gpl-3.0 | -152,295,880,353,130,620 | 23.957447 | 90 | 0.612106 | false |
PythonMilano/pillole-di-python-01 | pdb_in_action/sources/estimate.py | 1 | 1274 | #!/usr/bin/env python3
""" Estimator 1.0
The estimator helps you find those hard estimations they ask you.
Just call the script, it will ask you a brief feature descrition,
then it will show you the estimation.
Press CTRL-C when you're done.
"""
import sys
from random import randrange
fib_n = [1, 1,... | mit | 1,712,595,829,010,073,600 | 23.037736 | 80 | 0.61146 | false |
sgmap/openfisca-france | openfisca_france/model/prestations/minima_sociaux/aah.py | 1 | 21212 |
# -*- coding: utf-8 -*-
from openfisca_france.model.base import *
from numpy import datetime64
# Références juridiques - Code de la sécurité sociale
#
# Article L821-1 / 821-8
# https://www.legifrance.gouv.fr/affichCode.do;jsessionid=0E604431776A4B1ED8D2F8EB55A1A99C.tplgfr35s_1?idSectionTA=LEGISCTA000006141693&cidTe... | agpl-3.0 | 8,846,297,225,499,418,000 | 44.351293 | 250 | 0.684171 | false |
jamespcole/home-assistant | homeassistant/components/lcn/sensor.py | 1 | 4063 | """Support for LCN sensors."""
from homeassistant.const import CONF_ADDRESS, CONF_UNIT_OF_MEASUREMENT
from . import LcnDevice, get_connection
from .const import (
CONF_CONNECTIONS, CONF_SOURCE, DATA_LCN, LED_PORTS, S0_INPUTS, SETPOINTS,
THRESHOLDS, VARIABLES)
DEPENDENCIES = ['lcn']
async def async_setup_pla... | apache-2.0 | -3,179,932,364,999,278,600 | 33.432203 | 78 | 0.624908 | false |
mbj4668/pyang | pyang/plugins/jtox.py | 1 | 4332 | # Copyright (c) 2015 by Ladislav Lhotka, CZ.NIC <lhotka@nic.cz>
#
# Pyang plugin generating a driver file for JSON->XML translation.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permissio... | isc | -5,300,622,871,148,475,000 | 39.485981 | 92 | 0.58241 | false |
Jumpscale/jumpscale_core8 | lib/JumpScale/sal/fs/SystemFS.py | 1 | 84169 | import sys
import os
import os.path
import hashlib
import re
import fnmatch
import time
import shutil
import errno
import tempfile
import codecs
import pickle as pickle
import stat
from stat import ST_MTIME
from SystemFSWalker import *
# We import only jumpscale as the j.sal.fs is used before jumpscale is
# initializ... | apache-2.0 | -6,523,451,560,728,377,000 | 39.485329 | 149 | 0.565398 | false |
SVilgelm/CloudFerry | cloudferry/actions/compute/get_info_instances.py | 1 | 1047 | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may 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, so... | apache-2.0 | 3,463,572,060,479,056,000 | 35.103448 | 71 | 0.712512 | false |
vegeclic/django-regularcom | carts/migrations/0043_auto__del_field_carriertranslation_name__del_field_carriertranslation_.py | 1 | 27698 | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
db.rename_column('carts_carrier_translation', 'name', 'old_name')
db.rena... | agpl-3.0 | 7,685,791,696,169,106,000 | 86.100629 | 221 | 0.54679 | false |
ricardog/raster-project | projections/r2py/lm.py | 1 | 1635 | from rpy2.robjects import Formula
from rpy2.robjects import pandas2ri
from rpy2.robjects.packages import importr
class LM(object):
'''Class for fitting (simple) linear models using rpy2. When extracting
the coefficients for a model (lmerMod or glmerMod) that uses orthogonal
polynomials (poly in R syntax), it is nec... | apache-2.0 | -6,587,687,829,346,903,000 | 33.787234 | 174 | 0.702141 | false |
Khan/gae_bingo | cache.py | 1 | 15801 | import logging
import pickle
import random
from google.appengine.ext import db
from google.appengine.ext import deferred
from google.appengine.api import memcache
from google.appengine.datastore import entity_pb
from google.appengine.ext.webapp import RequestHandler
from .models import _GAEBingoExperiment, _GAEBingoA... | mit | 315,543,400,569,379,000 | 38.701005 | 202 | 0.68002 | false |
1200wd/1200wd_addons | stock_forecasted/models/sale.py | 1 | 1283 | # -*- coding: utf-8 -*-
##############################################################################
#
# Stock Forecasted
# 1200 Web Development
# http://1200wd.com/
# Copyright (C) 2016 January
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU ... | agpl-3.0 | 1,131,231,610,432,565,200 | 40.387097 | 78 | 0.620421 | false |
wkentaro/termsaver | termsaverlib/common.py | 1 | 4621 | ###############################################################################
#
# file: common.py
#
# Purpose: holds common helper functions used by termsaver code.
#
# Note: This file is part of Termsaver application, and should not be used
# or executed separately.
#
#############################... | apache-2.0 | -5,718,772,869,273,486,000 | 26.023392 | 79 | 0.596408 | false |
diplomacy/research | diplomacy_research/players/player.py | 1 | 20892 | # ==============================================================================
# Copyright 2019 - Philip Paquette
#
# NOTICE: 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 rest... | mit | 8,042,389,191,301,163,000 | 56.872576 | 120 | 0.574095 | false |
adaxi/freeciv-web | pbem/mailstatus.py | 1 | 3008 | '''**********************************************************************
Copyright (C) 2009-2016 The Freeciv-web project
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, eithe... | agpl-3.0 | 2,956,268,556,330,855,000 | 35.240964 | 164 | 0.649269 | false |
mit-ll/LO-PHI | lophi-automation/lophi_automation/configs/controllerconfig.py | 1 | 5240 | """
Class for handling configuration files for controller nodes
(c) 2015 Massachusetts Institute of Technology
"""
# Native
import socket
import logging
logger = logging.getLogger(__name__)
from time import sleep
# LO-PHI
import lophi.globals as G
# LO-PHI Automation
import lophi_automation.protobuf.helper a... | bsd-3-clause | -6,303,333,739,526,766,000 | 28.273743 | 124 | 0.515649 | false |
prathamtandon/g4gproblems | Arrays/four_elements_with_given_sum.py | 1 | 3437 | import unittest
"""
Given an array of integers, find all combination of four elements in the array whose sum
is equal to a given value X.
Input: 10 2 3 4 5 9 7 8, X = 23
Output: 2 3 10 8
Input: -3 4 112 -1 5 0 5, X = 8
Output: 4 -1 5 0
"""
"""
Approach 1:
1. Sort the array.
2. Run outermost loop which fixes the first... | mit | -7,103,509,098,840,477,000 | 31.121495 | 105 | 0.601978 | false |
OpenMined/PySyft | packages/grid/apps/domain/src/main/core/manager/environment_manager.py | 1 | 2053 | # stdlib
from datetime import datetime
from typing import List
from typing import Union
# grid relative
from ..database.environment.environment import Environment
from ..database.environment.environment import states
from ..database.environment.user_environment import UserEnvironment
from ..exceptions import Environme... | apache-2.0 | 8,755,036,840,269,218,000 | 31.587302 | 88 | 0.665368 | false |
bcaine/maddux | maddux/environment.py | 1 | 6599 | """
Our experiment environment.
"""
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.animation as animation
GRAVITY = -9.81
class Environment:
def __init__(self, dimensions=None, dynamic_objects=None,
static_objects=None, robot=None):... | mit | -4,408,079,977,194,081,000 | 30.574163 | 78 | 0.548871 | false |
lovelysystems/pyjamas | pyjs/src/pyjs/lib/sys.py | 1 | 1789 |
from __pyjamas__ import JS
# a dictionary of module override names (platform-specific)
overrides = None # to be updated by app, on compile
# the remote path for loading modules
loadpath = None
stacktrace = None
appname = None
def setloadpath(lp):
global loadpath
loadpath = lp
def setappname(an):
glob... | apache-2.0 | 3,188,193,489,104,524,000 | 24.197183 | 99 | 0.604807 | false |
Akuli/editor | tests/test_settings.py | 1 | 6923 | import dataclasses
import json
import sys
import tkinter
from tkinter import ttk
from tkinter.font import Font
from typing import List, Optional
import dacite
import pytest
from porcupine import settings
# Could replace some of this with non-global setting objects, but I don't feel
# like rewriting the tests just b... | mit | 3,274,065,237,529,888,300 | 31.65566 | 89 | 0.656796 | false |
Southpaw-TACTIC/Team | src/python/Lib/site-packages/PySide/examples/hyperui/hyperuilib/phoneview.py | 1 | 21585 | """
/*
* This file is part of PySide: Python for Qt
*
* Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
*
* Contact: PySide team <contact@pyside.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* versio... | epl-1.0 | 7,637,092,447,364,726,000 | 41.490157 | 103 | 0.658652 | false |
22rostislav/xhtml2pdf | xhtml2pdf/paragraph2.py | 1 | 26923 | #!/bin/env/python
# -*- coding: utf-8 -*-
# Copyright 2010 Dirk Holtwick, holtwick.it
#
# 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... | apache-2.0 | -3,709,514,532,646,869,000 | 27.516949 | 189 | 0.500111 | false |
anish/buildbot | master/buildbot/process/workerforbuilder.py | 1 | 8107 | # 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
# ANY WARRANTY; without eve... | gpl-2.0 | -593,168,510,736,291,100 | 32.5 | 90 | 0.614161 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.