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 |
|---|---|---|---|---|---|---|---|---|---|---|
tapomayukh/projects_in_python | classification/Classification_with_kNN/Single_Contact_Classification/Feature_Comparison/multiple_features/results/test10_cross_validate_objects_1200ms_scaled_method_v_area_motion.py | 1 | 4600 |
# Principal Component Analysis Code :
from numpy import mean,cov,double,cumsum,dot,linalg,array,rank,size,flipud
from pylab import *
import numpy as np
import matplotlib.pyplot as pp
#from enthought.mayavi import mlab
import scipy.ndimage as ni
import roslib; roslib.load_manifest('sandbox_tapo_darpa_m3')
import ro... | mit | 718,970,347,211,313,800 | 33.074074 | 666 | 0.646087 | false |
John-Lin/RuleEngine | malware/core/engine.py | 1 | 13571 | import re
import sys
import os
import logging
import time
import hashlib
from urlparse import urlparse
from virus_total_apis import PrivateApi as VirusTotal
import pcap
import decoder
import apikey
from snort import SnortRule
from database import SQLiteTool
logger = logging.getLogger(__name__)
REQUEST_RATE = 300
AP... | apache-2.0 | -4,869,667,672,339,214,000 | 35.877717 | 118 | 0.474247 | false |
takaakiaoki/PyFoam | PyFoam/Basics/TemplateFile.py | 1 | 16441 | # ICE Revision: $Id$
import re
from math import *
import sys
from PyFoam.Error import error,warning
from PyFoam.ThirdParty.pyratemp import Template as PyratempTemplate
from PyFoam.ThirdParty.pyratemp import EvalPseudoSandbox,TemplateRenderError
from PyFoam.ThirdParty.pyratemp import Renderer as PyratempRenderer
fro... | gpl-2.0 | 5,101,484,783,056,229,000 | 38.90534 | 144 | 0.543884 | false |
dcifuen/cloudbday | src/birthday/constants.py | 1 | 1046 |
#Environment related constants
ENV_PRODUCTION = 'PRODUCTION'
#Staging is used for testing by replicating the same production remote env
ENV_STAGING = 'STAGING'
#Development local env
ENV_DEVELOPMENT = 'DEV'
#Automated tests local env
ENV_TESTING = 'TEST'
ENVIRONMENT_CHOICES = [
ENV_PRODUCTION,
ENV_STAGING,
... | mit | -6,952,644,356,848,802,000 | 25.846154 | 382 | 0.692161 | false |
nio101/BASECAMP | source/pir_scanner/pir_scanner.py | 1 | 4028 | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
PIR scanner
dependencies: operator, logbook
(python3 compatible)
"""
from time import sleep
import logging
import logging.handlers
import configparser
import requests
import re
import sys
import socket
import time
import serial
"""
notes
=====
When pluggin the USB d... | gpl-3.0 | 8,001,674,895,730,353,000 | 26.006711 | 130 | 0.616302 | false |
mlml/autovot | autovot/bin/auto_vot_append_files.py | 1 | 4617 | #! /usr/bin/env python3
#
# Copyright (c) 2014 Joseph Keshet, Morgan Sonderegger, Thea Knowles
#
# This file is part of Autovot, a package for automatic extraction of
# voice onset time (VOT) from audio files.
#
# Autovot is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser Gen... | lgpl-3.0 | -8,348,166,290,750,049,000 | 36.536585 | 116 | 0.619883 | false |
fallen/artiq | artiq/transforms/quantize_time.py | 1 | 4035 | """
This transform turns calls to delay() that use non-integer time
expressed in seconds into calls to delay_mu() that use int64 time
expressed in multiples of ref_period.
It does so by inserting multiplication/division/rounding operations around
those calls.
The seconds_to_mu and mu_to_seconds core language function... | gpl-3.0 | -2,171,472,973,711,803,400 | 34.707965 | 74 | 0.513507 | false |
GNOME/pygoocanvas | demo/customs/custom-svg.py | 1 | 4302 | import gobject
import gtk
import goocanvas
import rsvg
import cairo
class CustomSvgItem(goocanvas.ItemSimple):
# setup our custom properties
__gproperties__ = {
'x': (float, # property type
'X', # property nick name
... | lgpl-2.1 | -2,475,605,450,880,108,500 | 27.302632 | 103 | 0.477685 | false |
Balannen/LSMASOMM | atom3/Kernel/ATOM3Types/ATOM3Text.py | 1 | 9751 | # Implements : class ATOM3Constraint
# Author : Juan de Lara
# Description : A class for the ATOM3 Constraint type.
# Modified : 17 Oct 2002
# Changes :
# ____________________________________________________________________________________________________________________
from Tkinter imp... | gpl-3.0 | 613,949,713,060,251,900 | 43.143519 | 118 | 0.537278 | false |
j-griffith/cinder | cinder/api/v3/volumes.py | 1 | 16280 | #
# 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
# ... | apache-2.0 | 5,036,993,927,993,056,000 | 40.958763 | 79 | 0.565295 | false |
JasonFruit/quartermaster | inventory.py | 1 | 11732 | import os
from sqlite3 import connect
import codecs
import math
from datetime import datetime, timedelta
from dateutil.parser import parse
from glob import glob
class Report(object):
def __init__(self, filename=None):
if filename:
with codecs.open(filename, "r", "utf-8") as f:
... | gpl-3.0 | 5,854,646,780,610,648,000 | 30.708108 | 97 | 0.528299 | false |
bd808/tools-stashbot | stashbot/bot.py | 1 | 11661 | # -*- coding: utf-8 -*-
#
# This file is part of bd808's stashbot application
# Copyright (C) 2015 Bryan Davis and contributors
#
# 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... | gpl-3.0 | -687,042,839,125,175,300 | 34.990741 | 78 | 0.565646 | false |
bierminen/acan | acan/__init__.py | 1 | 1978 | #!/usr/local/bin/env python3
# Copyright 2016 José Lopes de Oliveira Jr.
#
# Use of this source code is governed by a MIT-like
# license that can be found in the LICENSE file.
##
"""
Acan - basic maths around brewing.
Overview
This Python module implements some equations used by homebrewers. Although
there is no ca... | mit | -8,058,170,789,016,335,000 | 31.95 | 76 | 0.659079 | false |
jpypi/othello-rl | nn.py | 1 | 3616 | #!/usr/bin/env python3
import math
import numpy as np
import random
import pickle
from scipy.special import expit
class NN:
def __init__(self, layer_dims, learning_rate):
self.learning_rate = learning_rate
self.layer_dims = layer_dims
self.layers = []
for i in range(len(layer_dims... | mit | -8,640,016,886,223,186,000 | 30.719298 | 107 | 0.583794 | false |
DamienIrving/ocean-analysis | visualisation/plot_zonal_ensemble.py | 1 | 16584 | """
Filename: plot_zonal_ensemble.py
Author: Damien Irving, irving.damien@gmail.com
Description: Plot zonal ensemble
"""
# Import general Python modules
import sys, os, pdb
import argparse
from itertools import groupby
from more_itertools import unique_everseen
import numpy
import iris
from iris.experi... | mit | 2,047,722,086,865,415,700 | 34.511777 | 156 | 0.613965 | false |
ReneHollander/rep0st | rep0st/db/post.py | 1 | 6485 | import enum
import logging
from itertools import groupby
from typing import List, Optional
from injector import Module, ProviderOf, inject
from sqlalchemy import Boolean, Column, DateTime, Enum, Index, Integer, String, and_, func
from sqlalchemy.orm import Session, relationship
from rep0st.config.rep0st_database impo... | mit | 811,414,169,857,554,000 | 27.69469 | 90 | 0.643639 | false |
GeoNode/geonode | geonode/base/populate_test_data.py | 1 | 17654 | # -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2016 OSGeo
#
# 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 ... | gpl-3.0 | 3,008,828,144,845,505,000 | 41.539759 | 134 | 0.552396 | false |
cloudify-cosmo/cloudify-agent | cloudify_agent/tests/api/pm/test_base.py | 1 | 3080 | import getpass
import os
import pytest
from cloudify_agent.api.pm.base import Daemon
from cloudify_agent.api import exceptions
def get_daemon(ssl_cert, params=None):
if not params:
params = {
'rest_host': '127.0.0.1',
'broker_ip': '127.0.0.1',
}
params['queue'] = 'que... | apache-2.0 | -5,121,646,443,267,197,000 | 27.785047 | 76 | 0.598701 | false |
clearpathrobotics/ros_buildfarm | ros_buildfarm/doc_job.py | 1 | 14483 | from __future__ import print_function
import sys
from catkin_pkg.package import parse_package_string
from rosdistro import get_distribution_cache
from rosdistro import get_index
from ros_buildfarm.common import get_doc_job_name
from ros_buildfarm.common import get_doc_view_name
from ros_buildfarm.common import git_g... | apache-2.0 | -7,930,751,344,753,086,000 | 36.423773 | 79 | 0.643513 | false |
mknorps/pp_TCF | apriori_SGS_fede_timestat.py | 1 | 5259 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# File name: apriori_SGS_fede_timestat.py
# Created by: gemusia
# Creation date: 11-07-2017
# Last modified: 12-08-2017 08:48:12
# Purpose:computation of apriori statistics of particles,
# statistic derived from scratch
# - test of possible substitution of ... | mit | -6,074,349,511,344,591,000 | 37.386861 | 118 | 0.602206 | false |
gtseres/opsdroid | opsdroid/database.py | 1 | 2149 | """A base class for databases to inherit from."""
class Database():
"""A base database.
Database classes are used to persist key/value pairs in a database.
"""
def __init__(self, config):
"""Create the database.
Set some basic properties from the database config such as the name
... | gpl-3.0 | 9,014,402,400,765,561,000 | 29.267606 | 78 | 0.609586 | false |
mnishida/PyOptMat | setup.py | 1 | 1362 | from os import path
from setuptools import setup
import pyoptmat
here = path.abspath(path.dirname(__file__))
# Get the long description from the RpythonEADME file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(name='pyoptmat',
version=pyoptmat.__version__... | gpl-3.0 | 6,467,075,724,450,676,000 | 31.428571 | 78 | 0.60793 | false |
MerryMage/dynarmic | externals/vixl/vixl/tools/test_generator/parser.py | 3 | 15443 | # Copyright 2016, VIXL authors
# 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 conditions and the ... | gpl-2.0 | -5,407,621,119,888,498,000 | 32.571739 | 85 | 0.629735 | false |
n0x5/scripts | _nonworking_instagrab_all.py | 1 | 3066 | # instagrabALL.py - download all images from instagram user
import re
from selenium import webdriver
import time
import sys
import itertools
import os
import urllib.request
from urllib.request import FancyURLopener
from selenium.webdriver import Chrome, ChromeOptions
from selenium.webdriver.common.desired_capabilities... | gpl-2.0 | -2,309,897,375,846,428,700 | 38.307692 | 122 | 0.594586 | false |
kim135797531/opencog-python-blending | opencog_b/python/blending/connector/connector_finder.py | 1 | 1096 | from opencog_b.python.blending.connector.connect_conflict_random import \
ConnectConflictRandom
from opencog_b.python.blending.connector.connect_conflict_viable import \
ConnectConflictAllViable
from opencog_b.python.blending.connector.connect_simple import ConnectSimple
from opencog_b.python.blending.util.blen... | agpl-3.0 | 7,915,618,802,387,955,000 | 32.212121 | 76 | 0.665146 | false |
w1ll1am23/home-assistant | homeassistant/components/climacell/config_flow.py | 1 | 5415 | """Config flow for ClimaCell integration."""
from __future__ import annotations
import logging
from typing import Any
from pyclimacell import ClimaCellV3
from pyclimacell.exceptions import (
CantConnectException,
InvalidAPIKeyException,
RateLimitedException,
)
from pyclimacell.pyclimacell import ClimaCell... | apache-2.0 | 4,533,324,280,178,194,400 | 31.620482 | 88 | 0.598523 | false |
gbowerman/azurerm | test/insights_test.py | 1 | 6201 | # azurerm unit tests - insights
# To run tests: python -m unittest insights_test.py
# Note: The insights test unit creates a VM scale set in order to add autoscale rules.
# Therefore it is a fairly good way to exercise storage, network, compute AND insights functions.
import azurerm
from cryptography.hazmat.primitive... | mit | 7,930,434,742,642,818,000 | 42.669014 | 99 | 0.643122 | false |
DySense/DySense | dysense/gui/controller_view_widget_designer.py | 1 | 25436 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'controller_view_widget_designer.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:... | gpl-3.0 | -3,570,720,533,474,115,600 | 61.190709 | 121 | 0.724485 | false |
DBuildService/atomic-reactor | atomic_reactor/plugins/pre_fetch_sources.py | 1 | 22776 | """
Copyright (c) 2019 Red Hat, Inc
All rights reserved.
This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.
"""
import os
import shutil
import tempfile
import koji
import tarfile
import yaml
from atomic_reactor.constants import PLUGIN_FETCH_SOURCES_KEY... | bsd-3-clause | 1,068,363,673,338,327,000 | 43.834646 | 100 | 0.600632 | false |
pvpnvz/internshipsystem | app/main/form.py | 1 | 8930 | from flask.ext.wtf import Form
from wtforms import StringField, SubmitField, TextAreaField, DateTimeField, SelectField, BooleanField, DateField, \
validators, FileField
from wtforms.validators import Required, URL, Email
from .. import db
from flask.ext.pagedown.fields import PageDownField
# datepicker failed
'''
f... | mit | -2,135,802,151,291,333,400 | 43.479769 | 136 | 0.690408 | false |
tumi8/INSALATA | src/insalata/model/Layer3Network.py | 1 | 2247 | from xml.etree.ElementTree import SubElement
from insalata.model.Node import Node
from insalata.helper import ipAddressHelper
class Layer3Network(Node):
def __init__(self, id, address, netmask, collectorName=None, timeout=None):
Node.__init__(self, collectorName=collectorName, timeout=timeout)
self... | apache-2.0 | 1,989,012,771,868,093,700 | 35.241935 | 111 | 0.64753 | false |
pleeplee-robot/location | pleepleeloc/utils.py | 1 | 4107 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
##################################################
# AUTHOR : Loïc Banet #
# SUMMARY : Contain enum class that define color #
##################################################
import math
from enum import Enum
from itertools import count
cla... | mit | 5,753,621,721,867,769,000 | 30.829457 | 80 | 0.585485 | false |
Kosinkadink/jno | jno/commands/build.py | 1 | 1575 | from jno.util import interpret_configs
from jno.util import run_arduino_process
from jno.util import create_build_directory
from jno.util import get_common_parameters
from jno.util import JnoException
from jno.util import verify_arduino_dir
from jno.commands.command import Command
import getopt
class Build(Command):
... | mit | 5,202,770,822,314,608,000 | 31.142857 | 140 | 0.707302 | false |
lfpoelman/pi_looper | Adafruit_Video_Looper/directory.py | 1 | 1281 | # Copyright 2015 Adafruit Industries.
# Author: Tony DiCola
# License: GNU GPLv2, see LICENSE.txt
class DirectoryReader(object):
def __init__(self, config):
"""Create an instance of a file reader that just reads a single
directory on disk.
"""
self._load_config(config)
def _loa... | gpl-2.0 | -155,356,735,372,407,970 | 35.6 | 79 | 0.650273 | false |
laramies/theHarvester | theHarvester/discovery/takeover.py | 1 | 3519 | from theHarvester.lib.core import *
import re
class TakeOver:
def __init__(self, hosts):
# NOTE THIS MODULE IS ACTIVE RECON
self.hosts = hosts
self.results = ""
self.totalresults = ""
self.proxy = False
# Thank you to https://github.com/EdOverflow/can-i-take-over-x... | gpl-2.0 | -1,580,792,400,011,075,600 | 53.138462 | 141 | 0.522876 | false |
jackzhao-mj/ok-client | client/protocols/scoring.py | 1 | 2920 | """Implements the ScoringProtocol, which runs all specified tests
associated with an assignment.
"""
from client.sources.common import core
from client.sources.common import models as sources_models
from client.protocols.common import models as protocol_models
from client.utils import format
from collections import Or... | apache-2.0 | 3,078,041,281,359,268,400 | 32.953488 | 97 | 0.643493 | false |
ziozzang/coreos-stuff | sample/etcd-reader.py | 1 | 1490 | # This code is used for "internal docker container" read/write value at etcd.
#
# CoreOS (etcd Activated)
# | ^
# | NAT | iptables
# V |
# Docker Container -> python code.
#
# This can be used for "distriburted or HA environment"
import requests
import json
class etcd... | mit | 5,701,041,995,374,456,000 | 25.607143 | 81 | 0.567785 | false |
lifemapper/core | LmBackend/common/lmobj.py | 1 | 8598 | """Module containing the base Lifemapper object class.
"""
import glob
import inspect
import json
import os
import sys
import traceback
from LmCommon.common.lmconstants import LMFormat
# ............................................................................
class LMObject:
"""Base class for all objects in ... | gpl-3.0 | -5,408,623,335,341,066,000 | 33.669355 | 79 | 0.491626 | false |
tbarbugli/django_email_multibackend | django_email_multibackend/conditions.py | 1 | 2706 | from django.core.mail import EmailMessage
class BaseCondition(object):
def __init__(self, **kwargs):
self.params = kwargs
def __call__(self, message):
if not isinstance(message, (EmailMessage, )):
raise TypeError('%r is not a subclass of django.core.mail.EmailMessage' % message)
... | isc | 970,156,628,427,079,700 | 28.736264 | 124 | 0.626016 | false |
dmach/dnf | dnf/cli/output.py | 1 | 98515 | # Copyright 2005 Duke University
# Copyright (C) 2012-2016 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 versio... | gpl-2.0 | 4,829,881,065,076,747,000 | 40.065027 | 141 | 0.514703 | false |
levinsamuel/rand | python/api/mysqlcl.py | 1 | 1787 | from datetime import datetime
from sqlalchemy import create_engine, __version__ as v, Column, Integer, String, DateTime
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
import pprint
import logging
import json
from people import Person
logging.basicConfig()
log = logging.... | mit | -4,172,617,481,449,023,000 | 24.542857 | 98 | 0.641298 | false |
maxikov/tatmon | trash/bezier.py | 1 | 7830 | #!/usr/bin/env python
# -*- coding:utf8 -*-
import pygame
import sys
import numpy
class Activity(object):
def __init__(self, screen_size, manager, clock):
self.screen_size = screen_size
self.manager = manager
def render(self, surface):
pass
def process_event(self, event):
pass
def step(self):
pass
... | gpl-3.0 | -5,036,191,145,068,028,000 | 29.123967 | 122 | 0.678052 | false |
coinapi/coinapi-sdk | oeml-sdk/python/openapi_client/model/position_data.py | 1 | 8803 | """
OEML - REST API
This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> # noqa: E501
The version of the OpenAPI d... | mit | -6,755,519,580,232,694,000 | 43.236181 | 261 | 0.566511 | false |
akashkw/smi-test-automation | smi_tests/test_virtualidentity.py | 1 | 4835 | # -*- coding: utf-8 -*-
"""
Virtual Identity
~~~~~~~~~~~~~~~~
:Copyright: (c) 2017 DELL Inc. or its subsidiaries. All Rights Reserved.
:License: Apache 2.0, see LICENSE for more details.
:Author: Akash Kwatra
Created on May 4, 2017
"""
import unittest
import sys
import logging
import config
from resttestms import h... | apache-2.0 | -4,670,121,876,254,201,000 | 32.344828 | 99 | 0.477146 | false |
maxcutler/Courant-News | courant/core/search/templatetags/search.py | 1 | 2614 | from django.template import Library, Node, Variable
from courant.core.search.forms import CourantSearchForm
register = Library()
class SearchFacetCheck(Node):
def __init__(self, facet, value, varname):
self.facet = facet
self.value = value
self.varname = varname
def... | bsd-3-clause | -8,180,363,655,275,698,000 | 32.88 | 81 | 0.612854 | false |
oblique-labs/pyVM | rpython/jit/metainterp/optimizeopt/unroll.py | 1 | 26476 |
import sys
from rpython.jit.metainterp.history import Const, TargetToken, JitCellToken
from rpython.jit.metainterp.optimizeopt.shortpreamble import ShortBoxes,\
ShortPreambleBuilder, ExtendedShortPreambleBuilder, PreambleOp
from rpython.jit.metainterp.optimizeopt import info, intutils
from rpython.jit.metainterp.... | mit | -7,870,068,044,440,899,000 | 45.860177 | 102 | 0.589968 | false |
googleinterns/deepspeech-reconstruction | bin/reconstruct-librispeech/reconstruct-random-transcript.py | 1 | 1250 | import argparse
import os
import random
import subprocess
from utils import check_local_utt_reconstructed
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Invert MFCCs to audio.')
parser.add_argument('-s', type=int, dest='start', default=0, help='Starting index')
parser.add_argume... | apache-2.0 | 6,823,140,920,074,062,000 | 40.666667 | 149 | 0.6392 | false |
sargun/riak-mesos | dcos/dcos-riak/dcos_riak/cli.py | 1 | 11801 | #
# Copyright (C) 2015 Basho Technologies, 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 a... | apache-2.0 | 2,698,240,025,800,492,500 | 36.823718 | 737 | 0.60927 | false |
lucasjoao/exercism_python | atbash-cipher/atbash_cipher_test.py | 1 | 1789 | import unittest
from atbash_cipher import decode, encode
class AtbashCipherTest(unittest.TestCase):
def test_encode_no(self):
self.assertMultiLineEqual("ml", encode("no"))
def test_encode_yes(self):
self.assertMultiLineEqual("bvh", encode("yes"))
def test_encode_OMG(self):
self... | unlicense | 6,600,325,480,485,061,000 | 29.322034 | 77 | 0.619899 | false |
8l/beri | cheritest/trunk/tests/cp2/test_cp2_csetoffset_notag.py | 2 | 1580 | #-
# Copyright (c) 2014 Michael Roe
# All rights reserved.
#
# This software was developed by SRI International and the University of
# Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
# ("CTSRD"), as part of the DARPA CRASH research programme.
#
# @BERI_LICENSE_HEADER_START@
#
# Licensed to BER... | apache-2.0 | 2,048,936,036,845,392,100 | 42.888889 | 137 | 0.760127 | false |
fheinle/Photoblog | get_picasa_id.py | 1 | 1160 | #!/usr/bin/env python
# -*- coding:utf-8 -*-
''' helper that displays all public album ids for a user'''
# Copyright (C) 2009 Florian Heinle
#
# 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, e... | gpl-3.0 | -8,508,907,138,972,113,000 | 35.25 | 71 | 0.739655 | false |
mopsalarm/broke | broke/print.py | 1 | 1488 | import broke
import sys
import argparse
def parse_arguments():
parser = argparse.ArgumentParser(description="Prints information about a broke-file")
parser.add_argument("--verbose", action="store_true", help="Print each message")
parser.add_argument("--utf8", action="store_true", help="Prints payload of ea... | apache-2.0 | 4,124,027,425,176,440,300 | 32.818182 | 119 | 0.619624 | false |
socialplanning/opencore | opencore/member/interfaces.py | 1 | 1756 | from zope.interface import Interface
from zope.app.annotation import IAttributeAnnotatable
from zope.viewlet.interfaces import IViewletManager
# Name of a named adapter used for asynchronous cleanup.
REMOVAL_QUEUE_KEY = 'member_removal_queue'
class ICanHasRecentActivity(IViewletManager):
"""Viewlets for the recen... | gpl-3.0 | 1,063,527,293,441,508,500 | 29.275862 | 74 | 0.68508 | false |
tianyang-li/meta-transcriptome | sample_compare_1/blast_relate.py | 1 | 3108 | #!/usr/bin/python
# Copyright (C) 2011 Tianyang Li
#
# 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 pro... | gpl-3.0 | 2,542,866,438,202,363,400 | 38.341772 | 114 | 0.57529 | false |
hmgle/send_wave | request_token.py | 1 | 1059 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from urllib import quote, urlencode
import urllib2
import time
import uuid
import hmac, hashlib
from config import consumer_key, client_secret
def get_token():
URL = 'http://fanfou.com/oauth/request_token'
params = [
('oauth_consumer_key', consumer_key),
... | gpl-2.0 | -5,850,782,801,666,942,000 | 26.153846 | 81 | 0.587347 | false |
allisson/python-cielo-webservice | cielo_webservice/models.py | 1 | 22823 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import six
import xmltodict
from unidecode import unidecode
class Comercial(object):
"""
Modelo para os dados comerciais da loja.
"""
def __init__(self, numero=None, chave=None):
self.numero = numero
self.chave = chave
... | mit | 4,884,582,285,604,461,000 | 35.447284 | 297 | 0.624606 | false |
ForAP/Advanc3d-Pr0graming | Spikes/DnD/toolbox.py | 1 | 2574 | # File name: toolbox.py
import kivy
kivy.require('1.8.0')
import math
from kivy.uix.togglebutton import ToggleButton
from kivy.graphics import Line
from dnd import StickMan, DraggableWidget
class ToolButton(ToggleButton):
def on_touch_down(self, touch):
ds = self.parent.drawing_space
if self.state ... | gpl-2.0 | 8,474,231,486,654,924,000 | 31.582278 | 71 | 0.60101 | false |
operepo/ope | client_tools/svc/lock_screen_widget_qrc.py | 1 | 360215 | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.12.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\xc5\xf8\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\xdb\x... | mit | 227,190,068,489,549,470 | 63.658948 | 103 | 0.726835 | false |
chapel-lang/sphinxcontrib-chapeldomain | test/test_chapeldomain.py | 1 | 32720 | # -*- coding: utf-8 -*-
"""Verify sphinxcontrib.chapeldomain.ChapelDomain."""
from __future__ import print_function, unicode_literals
import docutils.nodes as nodes
import mock
import sys
import unittest
# For python 2.6 and lower, use unittest2.
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
import u... | apache-2.0 | -7,255,098,714,493,085,000 | 39.246002 | 171 | 0.51088 | false |
DavidAndreev/indico | indico/modules/events/sessions/controllers/display.py | 1 | 4250 | # This file is part of Indico.
# Copyright (C) 2002 - 2016 European Organization for Nuclear Research (CERN).
#
# Indico 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 (a... | gpl-3.0 | 6,430,539,133,723,840,000 | 42.814433 | 108 | 0.679059 | false |
zerothi/sisl | sisl/io/siesta/__init__.py | 1 | 2186 | # 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 https://mozilla.org/MPL/2.0/.
"""
Siesta
======
The interaction between sisl and `Siesta`_ is one of the main goals due
to the implicit relationship ... | lgpl-3.0 | -871,648,533,786,630,800 | 33.698413 | 88 | 0.746112 | false |
openstates/openstates | openstates/ga/people.py | 1 | 8685 | from pupa.scrape import Person, Scraper
from openstates.utils import LXMLMixin
from .util import get_client, get_url, backoff, SESSION_SITE_IDS
HOMEPAGE_URLS = {
"lower": (
"http://www.house.ga.gov/Representatives/en-US/"
"member.aspx?Member={code}&Session={sid}"
),
"upper": (
"h... | gpl-3.0 | -9,173,314,109,548,088,000 | 35.491597 | 87 | 0.49764 | false |
abelcarreras/MonteModes | montemodes/functions/symgroup.py | 1 | 2983 | import os
from subprocess import Popen, PIPE, call
class Symgroup:
def __init__(self,
symmetry='c 5',
label=False,
connect=False,
central_atom=0,
custom_atom_list=None):
self._symmetry = symmetry
self._label = la... | mit | 6,281,239,343,185,834,000 | 26.62037 | 105 | 0.606772 | false |
nightmarebadger/tutorials-python-basic | basic/sorting/mergesort.py | 1 | 1333 | # -*- coding: utf-8 -*-
"""
A simple merge sort implementation:
http://en.wikipedia.org/wiki/Merge_sort
"""
def merge(left, right):
"""Merges ordered lists 'left' and 'right'. It does this by comparing the
first elements and taking the smaller one and moving on to the next one in
the list, continuing... | mit | 4,024,617,687,937,898,000 | 22.385965 | 78 | 0.524381 | false |
feist/pcs | pcs/lib/commands/test/resource/test_resource_enable_disable.py | 1 | 60965 | # pylint: disable=too-many-lines
from unittest import TestCase
from pcs.common import report_codes
from pcs.lib import reports
from pcs.lib.commands import resource
from pcs.lib.errors import (
LibraryError,
ReportItemSeverity as severities,
)
from pcs.test.tools import fixture
from pcs.test.tools.command_env ... | gpl-2.0 | 4,985,865,614,178,225,000 | 36.083333 | 82 | 0.582219 | false |
hqpr/findyour3d | findyour3d/dashboard/tests.py | 1 | 7564 | import datetime
import stripe
from django.urls import reverse
from django.utils import timezone
from django.test import TestCase, Client
from findyour3d.users.models import User
from findyour3d.company.models import Company
from findyour3d.customer.models import Customer
STRIPE_API_KEY = 'sk_test_BS2t9JImRsscT1vyWN... | mit | -9,013,767,914,590,766,000 | 56.30303 | 113 | 0.39569 | false |
PetePriority/home-assistant | homeassistant/components/dovado/sensor.py | 1 | 3451 | """
Support for sensors from the Dovado router.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.dovado/
"""
import logging
import re
from datetime import timedelta
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from... | apache-2.0 | -3,113,419,008,167,591,000 | 28.75 | 74 | 0.614604 | false |
mvpossum/machine-learning | tp1/parse_stats.py | 1 | 1088 | #! /usr/bin/env python
import sys
OFFSET = 6
train_line = None
test_line = None
for i, line in enumerate(sys.stdin):
if "Evaluation on training data" in line:
train_line = i + OFFSET
elif "Evaluation on test data" in line:
test_line = i + OFFSET
if i==train_line:
train_line = line
... | mit | -3,829,298,543,147,704,300 | 30.085714 | 102 | 0.641544 | false |
zhenleiji/ZPong | model/Ball.py | 1 | 1115 | import pygame
class Ball(pygame.sprite.Sprite):
def __init__(self, screen_size, position, speed):
pygame.sprite.Sprite.__init__(self)
self.surface = pygame.image.load('imgs/ball.png')
self.screen_size = screen_size
self.rect = self.surface.get_rect()
self.rect.left = positi... | apache-2.0 | -6,082,744,259,949,847,000 | 38.821429 | 119 | 0.564126 | false |
paninetworks/neutron | neutron/api/v2/resource.py | 1 | 7410 | # Copyright 2012 OpenStack Foundation.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | apache-2.0 | 2,723,557,886,444,570,000 | 37.393782 | 78 | 0.617274 | false |
useblocks/groundwork | groundwork/recipes/gw_package/{{cookiecutter.project_name}}/setup.py | 1 | 1797 | """
{{cookiecutter.project_name}}
{{ "=" * cookiecutter.project_name|length}}
"""
from setuptools import setup, find_packages
import re
import ast
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('{{cookiecutter.project_slug}}/version.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(... | mit | 8,863,215,644,245,701,000 | 37.234043 | 113 | 0.601558 | false |
Distrotech/bakefile | src/finalize.py | 1 | 14555 | #
# This file is part of Bakefile (http://www.bakefile.org)
#
# Copyright (C) 2003,2004 Vaclav Slavik
#
# 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 wit... | mit | -4,744,152,744,626,427,000 | 33.086651 | 104 | 0.571213 | false |
lixiangning888/whole_project | modules/signatures_orginal_20151110/kibex_apis.py | 1 | 2683 | # Copyright (C) 2015 KillerInstinct
#
# 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 program is distributed i... | lgpl-3.0 | -5,876,482,425,457,491,000 | 32.936709 | 86 | 0.591943 | false |
daira/txaws | txaws/client/gui/gtk.py | 1 | 7469 | # Copyright (C) 2009 Robert Collins <robertc@robertcollins.net>
# Licenced under the txaws licence available at /LICENSE in the txaws source.
"""A GTK client for working with aws."""
from __future__ import absolute_import
import gnomekeyring
import gobject
import gtk
# DO NOT IMPORT twisted.internet, or things that ... | mit | 3,419,770,804,056,794,600 | 33.419355 | 79 | 0.58214 | false |
konfabproject/konfab-consumer | ebdata/templatemaker/hole.py | 1 | 2728 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors
#
# This file is part of ebdata
#
# ebdata 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,... | gpl-3.0 | 1,591,653,641,166,182,100 | 33.1 | 122 | 0.645161 | false |
SD-Genomics/DeviCNV | Code_v1.5.1/python.calculateReadsDepthOfAmp.py | 1 | 12310 | import random
import numpy
import pysam
import sys
from intervaltree import Interval, IntervalTree
from intervaltree_bio import GenomeIntervalTree
class Amplicon:
ampID=""
chr=""
ampS=0
inS=0
inE=0
ampE=0
gene=""
trans=""
exon=""
pool=""
datType=""
mappedReadList=[]
... | gpl-3.0 | 8,927,712,984,042,554,000 | 36.078313 | 144 | 0.567019 | false |
rschwager-mm/polymr | redis/polymr_redis.py | 1 | 4582 | import operator
from array import array
from collections import defaultdict
import redis
import polymr.storage
from polymr.storage import dumps
from polymr.storage import LevelDBBackend
from toolz import partition_all
from toolz import valmap
snd = operator.itemgetter(1)
class FakeDict(object):
def __init__(sel... | apache-2.0 | -48,296,670,859,349,150 | 29.344371 | 78 | 0.567001 | false |
internetarchive/surt | surt/IAURLCanonicalizer.py | 1 | 4773 | #!/usr/bin/env python
# Copyright(c)2012-2013 Internet Archive. Software license AGPL version 3.
#
# This file is part of the `surt` python package.
#
# surt is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Soft... | agpl-3.0 | -5,654,537,029,364,316,000 | 31.691781 | 175 | 0.575948 | false |
ironmussa/Optimus | optimus/helpers/logger.py | 1 | 1154 | import logging
class Singleton(object):
_instances = {}
def __new__(cls, *args, **kwargs):
if cls not in cls._instances:
cls._instances[cls] = super(Singleton, cls).__new__(cls, *args, **kwargs)
return cls._instances[cls]
class Logger(Singleton):
def __init__(self):
... | apache-2.0 | 5,459,292,666,941,125,000 | 19.245614 | 85 | 0.558059 | false |
tboyce1/home-assistant | homeassistant/components/cover/lutron_caseta.py | 8 | 2336 | """
Support for Lutron Caseta shades.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/cover.lutron_caseta/
"""
import asyncio
import logging
from homeassistant.components.cover import (
CoverDevice, SUPPORT_OPEN, SUPPORT_CLOSE, SUPPORT_SET_POSITION,
... | apache-2.0 | 7,136,652,141,303,749,000 | 30.567568 | 79 | 0.675942 | false |
google/uncertainty-baselines | uncertainty_baselines/models/vit.py | 1 | 8712 | # coding=utf-8
# Copyright 2021 The Uncertainty Baselines Authors.
#
# 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 ap... | apache-2.0 | -5,979,821,114,769,184,000 | 28.632653 | 80 | 0.63579 | false |
xtiankisutsa/MARA_Framework | tools/lobotomy/core/brains/ui/terminal.py | 1 | 5944 | import npyscreen
from core.logging.logger import Logger
from androguard.core.bytecodes.dvm import ClassDefItem
from androguard.core.bytecodes.dvm import EncodedMethod
from pygments import highlight
from pygments.lexers.dalvik import SmaliLexer
from pygments.formatters import TerminalFormatter
# Global
# This global va... | lgpl-3.0 | 8,790,369,643,042,996,000 | 31.480874 | 77 | 0.502019 | false |
tensorflow/models | orbit/utils/epoch_helper.py | 1 | 2136 | # Copyright 2021 The Orbit 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 applicable l... | apache-2.0 | -7,904,109,597,831,953,000 | 31.861538 | 77 | 0.69382 | false |
e27182/nRF52832_pesky | external/motion_driver_6.12/eMPL-pythonclient/eMPL-client.py | 1 | 10573 | #!/usr/bin/python
# eMPL_client.py
# A PC application for use with Embedded MotionApps.
# Copyright 2012 InvenSense, Inc. All Rights Reserved.
import serial, sys, time, string, pygame
from ponycube import *
class eMPL_packet_reader:
def __init__(self, port, quat_delegate=None, debug_delegate=None, data... | mit | 4,605,220,104,819,289,600 | 34.333333 | 98 | 0.467795 | false |
facebookresearch/ParlAI | parlai/tasks/dbll_babi/build.py | 1 | 1148 | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# Download and build the data if it does not exist.
from parlai.core.build_data import DownloadableFile
import parlai.co... | mit | 9,206,499,509,482,865,000 | 30.027027 | 75 | 0.671603 | false |
mileswwatkins/pupa | pupa/scrape/vote_event.py | 1 | 2639 | from ..utils import _make_pseudo_id
from .base import BaseModel, cleanup_list, SourceMixin
from .bill import Bill
from .popolo import pseudo_organization
from .schemas.vote_event import schema
class VoteEvent(BaseModel, SourceMixin):
_type = 'vote_event'
_schema = schema
def __init__(self, *, motion_text... | bsd-3-clause | 3,333,108,685,144,994,300 | 36.7 | 95 | 0.589996 | false |
jsbueno/sc.blueprints.soundcloud | sc/blueprints/soundcloud/testing.py | 1 | 1247 | # -*- coding: utf-8 -*-
import doctest
from plone.app.testing import (
applyProfile,
PLONE_FIXTURE,
PloneSandboxLayer,
)
from plone.app.testing.layers import (
FunctionalTesting,
IntegrationTesting,
)
from Products.CMFCore.utils import getToolByName
from zope.configuration import xmlconfig
class S... | gpl-2.0 | -5,806,163,019,298,433,000 | 30.175 | 66 | 0.746592 | false |
tvenkat/askbot-devel | askbot/deps/django_authopenid/views.py | 1 | 48584 | # -*- coding: utf-8 -*-
# Copyright (c) 2007, 2008, Benoît Chesneau
# Copyright (c) 2007 Simon Willison, original work on django-openid
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# ... | gpl-3.0 | -5,702,246,370,040,461,000 | 38.724448 | 137 | 0.571249 | false |
nmercier/linux-cross-gcc | linux/lib/python2.7/dist-packages/blueman/plugins/applet/TransferService.py | 1 | 3021 | # Copyright (C) 2008 Valmantas Paliksa <walmis at balticum-tv dot lt>
# Copyright (C) 2008 Tadas Dailyda <tadas at dailyda dot com>
#
# Licensed under the GNU General Public License Version 3
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License ... | bsd-3-clause | -387,308,072,825,584,800 | 25.973214 | 99 | 0.706058 | false |
PcBoy111/PCBOT | plugins/summary.py | 1 | 11839 | """ Plugin for generating markov text, or a summary if you will. """
import logging
import random
import re
from collections import defaultdict, deque
from functools import partial
import asyncio
import discord
from pcbot import utils, Annotate, config, Config
import plugins
client = plugins.client # type: discord... | mit | -7,238,924,322,491,007,000 | 35.767081 | 117 | 0.633077 | false |
hperala/kontuwikibot | scripts/pagefromfile.py | 1 | 11275 | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Bot to upload pages from a file.
This bot takes its input from a file that contains a number of
pages to be put on the wiki. The pages should all have the same
begin and end text (which may not overlap).
By default the text should have the intended title of the page
as t... | mit | 5,619,537,847,152,305,000 | 33.270517 | 99 | 0.565233 | false |
nilsbore/mongodb_store | mongodb_store/scripts/replicator_node.py | 1 | 4745 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Provides a service to store ROS message objects in a mongodb database in JSON.
"""
import rospy
import actionlib
import pymongo
import os
import shutil
import subprocess
from mongodb_store_msgs.msg import MoveEntriesAction, MoveEntriesFeedback
from datetime import *
... | bsd-3-clause | -4,346,565,988,069,184,500 | 31.951389 | 144 | 0.602529 | false |
pbougue/navitia | source/jormungandr/jormungandr/realtime_schedule/tests/sytral_test.py | 1 | 12100 | # coding=utf-8
# Copyright (c) 2001-2016, Canal TP and/or its affiliates. All rights reserved.
#
# This file is part of Navitia,
# the software to build cool stuff with public transport.
#
# Hope you'll enjoy and contribute to this project,
# powered by Canal TP (www.canaltp.fr).
# Help us simplify mobility and ope... | agpl-3.0 | -1,132,391,332,243,707,600 | 31.380697 | 106 | 0.556466 | false |
barbarahui/harvester | harvester/fetcher/__init__.py | 1 | 1684 | from .fetcher import Fetcher
from .fetcher import NoRecordsFetchedException
from .oai_fetcher import OAIFetcher
from .solr_fetcher import SolrFetcher
from .solr_fetcher import PySolrFetcher
from .solr_fetcher import PySolrQueryFetcher
from .solr_fetcher import RequestsSolrFetcher
from .marc_fetcher import MARCFetcher
f... | bsd-3-clause | -9,063,328,917,686,228,000 | 30.185185 | 55 | 0.735748 | false |
chireiden/shanghai | tests/test_config.py | 1 | 11543 | # Copyright © 2016 Lars Peter Søndergaard <lps@chireiden.net>
# Copyright © 2016 FichteFoll <fichtefoll2@googlemail.com>
#
# This file is part of Shanghai, an asynchronous multi-server IRC bot.
#
# Shanghai is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License ... | gpl-3.0 | -8,030,794,685,028,742,000 | 30.790634 | 96 | 0.566464 | false |
dallingham/regenerate | regenerate/extras/regrst.py | 1 | 20854 | #
# Manage registers in a hardware design
#
# Copyright (C) 2008 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 option) any... | gpl-2.0 | 8,270,414,968,194,198,000 | 29.577713 | 125 | 0.493143 | false |
pddring/pygame-examples | 02-different-colours.py | 1 | 1462 | # pygame example: github.com/pddring/pygame-examples
"""
This example shows you how to experiment with different colours in pygame.
It will fill the whole pygame window in different colours
Here are some things to try to adapt the code:
TODO: Make the screen appear black
TODO: Make the screen appear blue
TODO: Make ... | unlicense | -3,988,145,037,399,547,400 | 30.106383 | 79 | 0.75513 | false |
Faaux/DingoEngine | HelperScripts/parseC.py | 1 | 8282 | from pathlib import Path
from multiprocessing import Pool, freeze_support
import os
import datetime
import clang.cindex
import subprocess
from paths import path_to_components, path_to_gameobjects, path_to_cmake, path_to_src
args = ["-xc++",
"-D__CODE_GENERATOR__",
"-std=c++17",
"-IC:/Projects/D... | mit | -4,985,849,433,667,174,000 | 33.65272 | 113 | 0.545037 | false |
MiroK/DolfinSurface | demo/undocumented/meshfunction/python/demo_meshfunction.py | 1 | 1231 | """This demo illustrates use of the MeshFunction class.
Original implementation: ../cpp/main.cpp by Ola Skavhaug."""
# Copyright (C) 2007 Kristian B. Oelgaard
#
# This file is part of DOLFIN.
#
# DOLFIN is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public Licen... | gpl-3.0 | -5,013,314,975,686,665,000 | 29.775 | 77 | 0.735987 | false |
google-research/remixmatch | pseudo_label.py | 1 | 5410 | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | 1,373,210,983,404,664,600 | 41.598425 | 113 | 0.65268 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.