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 |
|---|---|---|---|---|---|---|---|---|---|---|
ElvisLouis/code | work/ML/tensorflow/practice/word2vec.py | 1 | 19527 | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | gpl-2.0 | -6,679,942,520,566,485,000 | 35.774011 | 80 | 0.623803 | false |
mayavanand/RMMAFinalProject | azimuth/model_comparison.py | 1 | 31399 | import predict as pd
import copy
import os
import numpy as np
import util
import shutil
import pickle
import pylab as plt
import pandas
import local_multiprocessing
import load_data
import features.featurization as feat
def check_feature_set_dims(feature_sets):
F2 = None
for set in feature_sets.keys():
... | bsd-3-clause | -1,474,822,399,593,992,700 | 47.231951 | 273 | 0.618873 | false |
phoebe-project/phoebe2-docs | 2.1/tutorials/saving_and_loading.py | 1 | 2914 | #!/usr/bin/env python
# coding: utf-8
# Saving and Loading
# ============================
#
# Setup
# -----------------------------
# Let's first make sure we have the latest version of PHOEBE 2.1 installed. (You can comment out this line if you don't use pip for your installation or don't want to update to the late... | gpl-3.0 | 8,274,963,877,160,067,000 | 23.905983 | 270 | 0.68291 | false |
ivanamihalek/smallmol | gmx_lib/solvent_equilibration.py | 1 | 2572 | import os, subprocess
import grompp
#########################################
# this is a hack to find all restraint files
# we have available
def itp_files(params):
proc = subprocess.Popen(["bash", "-c", "grep include ../%s/*top | grep -v %s"%(params.rundirs.top_dir,params.physical.forcefield)],
stdout=subproc... | gpl-2.0 | -847,232,138,338,042,600 | 37.969697 | 132 | 0.670295 | false |
jonhadfield/creds | setup.py | 1 | 2702 | #!/usr/bin/env python
import os
import re
import sys
# from codecs import open
from setuptools import (setup, find_packages)
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass into py.test")]
def initialize_options(sel... | mit | -636,016,380,304,865,200 | 30.418605 | 108 | 0.608438 | false |
wlof/gameoflife | gameoflife/gamenumpy.py | 1 | 6610 | # -*- coding: utf-8 -*-
# This file is part of gameoflife.
# Copyright 2015, wlof.
#
# 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 r... | mit | 817,127,828,021,938,300 | 36.134831 | 78 | 0.633283 | false |
rocky/python-xdis | xdis/opcodes/opcode_27pypy.py | 1 | 2029 | # (C) Copyright 2017, 2020 by Rocky Bernstein
"""
PYPY 2.7 opcodes
This is a like Python 2.7's opcode.py with some classification
of stack usage.
"""
import xdis.opcodes.opcode_27 as opcode_27
from xdis.opcodes.base import (
def_op,
extended_format_ATTR,
extended_format_CALL_FUNCTION,
extended_format_... | gpl-2.0 | -8,955,690,745,241,883,000 | 24.683544 | 68 | 0.695416 | false |
fasaxc/felix | calico/felix/test/stub_ipsets.py | 1 | 4497 | # -*- coding: utf-8 -*-
# Copyright 2014 Metaswitch Networks
#
# 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 applicab... | apache-2.0 | -1,392,339,800,992,648,700 | 30.013793 | 80 | 0.599288 | false |
repotvsupertuga/tvsupertuga.repository | script.module.tulip/lib/tulip/url_dispatcher.py | 1 | 4656 | # -*- coding: utf-8 -*-
'''
Tulip routine libraries, based on lambda's lamlib
Url dispatcher module thanks to tknorris
Author Twilight0
License summary below, for more details please read license.txt file
This program is free software: you can redistribute it and/or modify
it unde... | gpl-2.0 | -1,699,771,029,992,076,000 | 33.746269 | 126 | 0.587844 | false |
mailosaurapp/mailosaur-python | tests/emails_test.py | 1 | 7625 | import os
from datetime import datetime
from unittest import TestCase
from .mailer import Mailer
from mailosaur import MailosaurClient
from mailosaur.models import SearchCriteria, MailosaurException
class EmailsTest(TestCase):
@classmethod
def setUpClass(cls):
api_key = os.getenv('MAILOSAUR_API_KEY')
... | mit | -6,283,699,799,995,277,000 | 38.921466 | 118 | 0.650754 | false |
maximinus/wargame | wargame-examples/04_tweens/chained-tweens.py | 1 | 1109 | #!/usr/bin/env python
import os
import pygame
import wargame.engine
from wargame.scene import Scene
from wargame.nodes import ImageNode
from wargame.tweens import ChainedTween, MoveTween
# example of moving Node2d
def game():
resources = os.path.join(os.getcwd(), '../')
controller = wargame.engine.init(re... | gpl-3.0 | 1,494,699,149,781,288,000 | 29.805556 | 101 | 0.620379 | false |
annapowellsmith/openpresc | openprescribing/pipeline/tests/test_pipeline.py | 1 | 16563 | import mock
import os
import json
from django.conf import settings
from django.test import TestCase, override_settings
from pipeline.models import TaskLog
from pipeline.runner import load_tasks, run_task, in_progress
class PipelineTests(TestCase):
def setUp(self):
# Load tasks
self.tasks = load_... | mit | 6,216,994,812,123,171,000 | 37.340278 | 80 | 0.539395 | false |
mayuroks/schedulord | server.py | 1 | 1861 | from flask import Flask, request, jsonify
from werkzeug.utils import secure_filename
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.restless import APIManager
import os
app = Flask(__name__)
app.config['DEBUG'] = True
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/schedulord.db'
app.config['UPLOA... | mit | 5,530,831,589,241,147,000 | 25.971014 | 96 | 0.639979 | false |
MapLarge/flat-file-feeds | directory_feed_constructor.py | 1 | 4075 | """
Classname: DirectoryFeedConstructor
Description: Creates a feed for an internal directory type of feed
Authored by: MapLarge, Inc. (Scott Rowles)
Change Log:
"""
"""
Define all the imports for the site_feed_constructor class
"""
import os
import re
import sys
import datetime as dt
import codecs
import uuid
impor... | mit | -623,435,093,737,883,300 | 30.835938 | 85 | 0.556074 | false |
danielquinn/spirithunter | src/aspects/arbiters/celestial.py | 1 | 3517 | import ephem
from .base import Arbiter
from ..models import Facet, Element
class CelestialArbiter(Arbiter):
WEIGHT_DAY = 5
WEIGHT_NIGHT = 5
WEIGHT_MOON_FULL = 5
WEIGHT_MOON_NEW = 5
WEIGHT_MERCURY = 1
WEIGHT_VENUS = 1
WEIGHT_MARS = 1
WEIGHT_JUPITER = 1
WEIGHT_SATURN = 1
WEIGHT... | agpl-3.0 | 1,519,041,711,507,979,000 | 29.059829 | 78 | 0.566107 | false |
all-of-us/raw-data-repository | rdr_service/lib_fhir/fhirclient_4_0_0/models/medicinalproduct_tests.py | 1 | 3848 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.0-a53ec6ee1b on 2019-05-07.
# 2019, SMART Health IT.
import os
import io
import unittest
import json
from . import medicinalproduct
from .fhirdate import FHIRDate
class MedicinalProductTests(unittest.TestCase):
def instantiate_from(self... | bsd-3-clause | 2,408,115,188,326,325,000 | 60.079365 | 174 | 0.720374 | false |
polyaxon/polyaxon | sdks/python/http_client/v1/polyaxon_sdk/models/v1_preset.py | 1 | 8969 | #!/usr/bin/python
#
# Copyright 2018-2021 Polyaxon, 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 ... | apache-2.0 | 4,197,447,429,219,202,000 | 24.997101 | 197 | 0.560263 | false |
buddly27/champollion | source/champollion/parser/js_data.py | 1 | 2654 | # :coding: utf-8
import re
import functools
from .helper import collapse_all
from .helper import get_docstring
#: Regular Expression pattern for data
_DATA_PATTERN = re.compile(
r"(?P<start_regex>(\n|^)) *(?P<export>export +)?(?P<default>default +)?"
r"(?P<type>(const|let|var)) (?P<name>[\w._-]+) *= *(?P<va... | apache-2.0 | 3,839,338,129,148,397,000 | 28.820225 | 79 | 0.541824 | false |
ooici/marine-integrations | mi/dataset/driver/dofst_k/wfp/test/test_driver.py | 1 | 24458 | """
@package mi.dataset.driver.dofst_k.wfp.test.test_driver
@file marine-integrations/mi/dataset/driver/dofst_k/wfp/driver.py
@author Emily Hahn
@brief Test cases for dofst_k_wfp driver
USAGE:
Make tests verbose and provide stdout
* From the IDK
$ bin/dsa/test_driver
$ bin/dsa/test_driver -i [-t test... | bsd-2-clause | -1,345,409,572,761,028,900 | 44.973684 | 122 | 0.640363 | false |
henjo/pyoa | oaTools/oaExUtl22.py | 1 | 3804 | #
#********************************************************************
#* Copyright (C) 2004 LSI Logic Corporation. *
#* All Rights Reserved. *
#********************************************************************
#
# Sample Test program to try O... | apache-2.0 | 2,275,825,721,100,563,200 | 30.237288 | 69 | 0.572818 | false |
mediapop/django-spreedly | tests/run_tasks.py | 1 | 2567 | #!/usr/bin/env python
import os
import sys
from argparse import ArgumentParser
from path import path
from django.conf import settings
from django.core.management import call_command
from site_conf import DICT_CONF
def conf():
settings.configure(**DICT_CONF)
def run_tests():
"""
Setup the environment ... | mit | -1,977,930,533,753,686,300 | 26.902174 | 76 | 0.620958 | false |
DLance96/ox-dashboard | dashboard/migrations/0022_auto_20160622_0418.py | 1 | 1940 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dashboard', '0021_auto_20160622_0219'),
]
operations = [
migrations.CreateModel(
name='Excuse',
fiel... | mit | -4,569,432,375,841,970,000 | 37.8 | 143 | 0.55567 | false |
bdol/bdol-ml | neural_networks/mlp_dpp_dropout/MLP.py | 1 | 18692 | import ConfigParser
import ast
import cPickle as pickle
import dpp
import numpy as np
import os
import shutil
import sys
import time
import uuid
def save_state(params, paramsFilename):
pickle.dump(params, open(paramsFilename, "wb"))
return 0
def rectified_linear(X):
return np.maximum(X, 0.0)
def d_rectified_l... | lgpl-3.0 | -4,639,238,591,484,947,000 | 33.743494 | 104 | 0.626257 | false |
TuinfeesT/TuinWolk | tuinwolk/tests/algorithm_test.py | 1 | 5015 | import random, string, sys
GROWTH_RATE = 2 # we only place repo's in locations that support at least GROWTH_RATE times the size of the repo
CHIP_RATE = 0.9 # if a repo has no locations that support GROWTH_RATE * repo.local_size, we chip off a bit off the desired size to see if we can find a repo anyway
MAX_SERVERS = 1... | mit | 3,691,421,331,139,144,700 | 30.34375 | 185 | 0.674377 | false |
Brazelton-Lab/bio_utils | bio_utils/blast_tools/filter_b6_evalue.py | 1 | 3410 | #! /usr/bin/env python3
from __future__ import print_function
"""Writes lines from the B6/M8 file under the given E-value to output
Usage:
b6_evalue_filter.py --b6 <b6 file> --e_value <max e_value>
--output <output file>
Copyright:
filter_b6_evalue.py filter lines of B6/M8 file by ... | gpl-3.0 | -8,649,698,607,338,240,000 | 32.431373 | 76 | 0.59912 | false |
ygsun/async | concurrent_thread_taomm.py | 1 | 10435 | #!/usr/bin/env python3
"""
Python version: > 2.5
Dependence: requests BeautifulSoup
线程版本
爬虫类
从淘女郎网站(https://mm.taobao.com)获取图片链接并下载,按照地区、相册名、姓名分类
"""
import contextlib
import threading
import os
import re
import requests
import time
import json
import argparse
import logging
from bs4 import BeautifulSoup
# 第一页
FIR... | bsd-3-clause | -3,929,984,699,560,164,400 | 27.605114 | 116 | 0.560036 | false |
paradise6/DetectMaliciousURL | model/eval.py | 1 | 5331 | import tensorflow as tf
import numpy as np
import os
import time
import datetime
import data_helper
import word2vec_helpers
from URLCNN import URLCNN
import csv
# Parameters
# ==================================================
# Data Parameters
tf.flags.DEFINE_string("input_text_file", "../data/data2.csv", "Test text ... | apache-2.0 | -7,547,319,183,423,663,000 | 40.65625 | 129 | 0.687676 | false |
toumorokoshi/miura | miura/script.py | 1 | 2256 | import os
from miura import runner
from .utils import get_method_from_module, format_path_to_module
from .data import load_data_from_path, filter_data
from .template import TemplateSet
from .exceptions import MiuraException
import logging
DEFAULT_DATA_DIRECTORY = os.path.join(os.curdir, 'data')
DEFAULT_TEMPLATE_DIRE... | mit | -1,403,787,483,911,548,200 | 30.774648 | 83 | 0.613032 | false |
rochacbruno/dynaconf | dynaconf/validator_conditions.py | 1 | 1384 | # pragma: no cover
"""
Implement basic assertions to be used in assertion action
"""
def eq(value, other):
"""Equal"""
return value == other
def ne(value, other):
"""Not equal"""
return value != other
def gt(value, other):
"""Greater than"""
return value > other
def lt(value, other):
... | mit | 7,479,310,391,228,882,000 | 15.47619 | 57 | 0.614884 | false |
softcert/vsroom | vsroom/common/sanitizers/ah.py | 1 | 1092 | import time
import re
from vsroom.common import timeconversion
from vsroom.common import sanitizer
# sanitizer.Sanitizer is the base class for a simple sanitizer bot.
class AbuseHelperSanitizer(sanitizer.Sanitizer):
# .sanitize(event) is the hook method for sanitizing events. This
# is the only method you ha... | mit | -134,109,324,425,361,710 | 34.225806 | 72 | 0.660256 | false |
ereOn/loaded | loaded/main.py | 1 | 1773 | """
Scripts.
"""
import click
import logging
import platform
import six
from tornado.ioloop import (
IOLoop,
PeriodicCallback,
)
from .server import agent_application
@click.group()
@click.option('-d', '--debug/--no-debug', default=False)
@click.pass_context
def main_loaded(ctx, debug):
"""
Loaded ... | lgpl-3.0 | -7,151,149,945,704,686,000 | 22.959459 | 78 | 0.620981 | false |
github-borat/cinder | cinder/tests/integrated/api/client.py | 1 | 7946 | # Copyright (c) 2011 Justin Santa Barbara
#
# 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 applicab... | apache-2.0 | 7,889,127,910,024,975,000 | 35.449541 | 79 | 0.595394 | false |
CognitionGuidedSurgery/msml-gui | src/msmlgui/text/xmllexer.py | 1 | 9663 | __author__ = 'Alexander Weigl'
# From: https://github.com/behnam/python-ply-xml/blob/master/parser.py
#
#
import sys
from UserString import UserString
from ply import lex, yacc
_VERSION = '1.0'
################################
# LEXER
class XmlLexer:
'''The XML lexer'''
# states:
# default: The... | gpl-3.0 | -3,655,290,592,102,205,000 | 18.326 | 112 | 0.514023 | false |
alfa-jor/addon | plugin.video.alfa/servers/videobb.py | 1 | 1037 | # -*- coding: utf-8 -*-
# --------------------------------------------------------
# Conector videobb By Alfa development Group
# --------------------------------------------------------
from core import httptools
from core import scrapertools
from platformcode import logger
def test_video_exists(page_url):
logg... | gpl-3.0 | -4,766,601,516,716,246,000 | 33.566667 | 76 | 0.574735 | false |
douwekiela/nncg-negation | acl17/scripts/train-test-split.py | 1 | 1925 | import json as js
import numpy as np
from argparse import ArgumentParser
def main(data_file, train_file, test_file, dev_file, num_noise):
data = js.load(open(data_file, "r"))
train_data = []
test_data = []
dev_data = []
np.random.seed(100)
test_indices = np.random.choice(a=range(len(data))... | mit | -3,733,760,559,477,619,700 | 33.375 | 83 | 0.548052 | false |
fgallina/gpycomplete | gpycomplete/helpers.py | 1 | 3526 | # This file is part of gpycomplete.
# gpycomplete 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.
# gpycomplete is distributed in the... | gpl-3.0 | 617,732,760,837,793,400 | 33.910891 | 70 | 0.636699 | false |
rg3915/spark | spark/courses/migrations/0001_initial.py | 1 | 2869 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-05-30 01:55
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('authentication', '0003_auto_20170512_20... | mit | 8,298,399,107,577,769,000 | 42.409091 | 171 | 0.555672 | false |
hpcugent/easybuild-framework | easybuild/toolchains/__init__.py | 1 | 1244 | ##
# Copyright 2012-2019 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be),
# Flemish Research Foundation (F... | gpl-2.0 | 6,855,579,860,027,127,000 | 37.875 | 96 | 0.753215 | false |
molguin92/MoulinetteBackend | moulinette/homework/models.py | 1 | 6446 | from datetime import datetime
from moulinette import db
# This file includes all the definitions for the homework model in the
# database. Any change here must then be applied to the database using the
# migrate.py file in the root folder of this project.
class Homework(db.Model):
"""
Class Homework repres... | bsd-3-clause | -4,329,715,074,409,379,300 | 33.470588 | 78 | 0.634812 | false |
kaushik94/sympy | sympy/functions/elementary/hyperbolic.py | 1 | 48081 | from __future__ import print_function, division
from sympy.core import S, sympify, cacheit, pi, I, Rational
from sympy.core.add import Add
from sympy.core.function import Function, ArgumentIndexError, _coeff_isneg
from sympy.functions.combinatorial.factorials import factorial, RisingFactorial
from sympy.functions.elem... | bsd-3-clause | -5,497,828,646,164,145,000 | 28.104722 | 82 | 0.493542 | false |
antmicro/distant-bes | distantbes/cli.py | 1 | 2632 | from distantbes import Invocation
from distantbes.enums import EXIT_CODES
from time import sleep
import argparse
H = [
"gRPC endpoint of the Build Event Service",
"gRPC endpoint of the Content Addressable Storage",
"force localhost in File message",
"build log file",
"one or mor... | apache-2.0 | 8,349,698,085,406,363,000 | 32.316456 | 95 | 0.620821 | false |
flgiordano/netcash | +/google-cloud-sdk/lib/surface/deployment_manager/resources/describe.py | 1 | 3185 | # Copyright 2014 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | bsd-3-clause | 4,313,468,936,970,704,000 | 31.5 | 89 | 0.693564 | false |
mitodl/micromasters | courses/views.py | 1 | 4278 | """Views for courses"""
from django.db import transaction
from rest_framework import (
viewsets,
mixins,
status,
)
from rest_framework.views import APIView
from rest_framework.authentication import SessionAuthentication, TokenAuthentication
from rest_framework.exceptions import (
APIException,
NotFo... | bsd-3-clause | -6,548,602,705,406,962,000 | 30.455882 | 92 | 0.677419 | false |
ament/ament_lint | ament_clang_format/setup.py | 1 | 1420 | from setuptools import find_packages
from setuptools import setup
package_name = 'ament_clang_format'
setup(
name=package_name,
version='0.11.2',
packages=find_packages(exclude=['test']),
data_files=[
('share/' + package_name, ['package.xml']),
('share/ament_index/resource_index/packag... | apache-2.0 | -2,429,614,495,850,777,600 | 31.272727 | 70 | 0.63169 | false |
RedHenLab/NLP | MWEtoolkit-interface/web_mwetoolkit/settings.py | 1 | 3009 | """
Django settings for gsoc15 project.
Generated by 'django-admin startproject' using Django 1.8.2.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
# Build paths... | gpl-2.0 | -5,394,941,526,098,135,000 | 24.948276 | 71 | 0.691592 | false |
johannesu/cnn-cells | network.py | 1 | 1240 | import lasagne
def setup(input_var, box_size = 29,):
# Setup network
net = lasagne.layers.InputLayer(
shape=(None, 1, box_size, box_size),
input_var=input_var)
# stage 1 : filter bank -> squashing -> max-pooling
net = lasagne.layers.Conv2DLayer(
net,
n... | mit | -1,638,588,925,993,246,000 | 29.243902 | 81 | 0.601613 | false |
Aeronavics/MissionPlanner | ExtLibs/Mavlink/pymavlink/generator/mavparse.py | 1 | 19826 | #!/usr/bin/env python
'''
mavlink python parse functions
Copyright Andrew Tridgell 2011
Released under GNU GPL version 3 or later
'''
from __future__ import print_function
from builtins import range
from builtins import object
import errno
import operator
import os
import sys
import time
import xml.parsers.expat
PRO... | gpl-3.0 | -6,054,809,809,938,774,000 | 38.811245 | 207 | 0.53339 | false |
Kwpolska/upass | docs/conf.py | 1 | 7406 | # -*- coding: utf-8 -*-
#
# upass documentation build configuration file, created by
# sphinx-quickstart on Fri Dec 14 21:02:58 2012.
#
# 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.
#
# All c... | bsd-3-clause | 3,901,136,158,539,646,000 | 32.210762 | 171 | 0.706859 | false |
mgeorgehansen/FIFE_Technomage | demos/shooter/scripts/gui/guis.py | 1 | 10455 | # -*- coding: utf-8 -*-
# ####################################################################
# Copyright (C) 2005-2010 by the FIFE team
# http://www.fifengine.net
# This file is part of FIFE.
#
# FIFE is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General ... | lgpl-2.1 | -5,830,734,354,764,113,000 | 25.29765 | 109 | 0.605165 | false |
fabiohsmachado/dandelion | dandelion/main.py | 1 | 9787 | """Defines the Dandelion class"""
import networkx as nx;
class Dandelion:
"""The Dandelion code"""
def __init__(self, N, k, code = None, kTree = None):
"""Initializes the code."""
self.N = N;
self.k = k;
self._code = None;
self._kTree = None;
if code is not Non... | gpl-3.0 | -3,828,235,331,552,438,300 | 31.088525 | 99 | 0.547767 | false |
pre-commit/pre-commit | pre_commit/languages/golang.py | 1 | 3152 | import contextlib
import os.path
import sys
from typing import Generator
from typing import Sequence
from typing import Tuple
import pre_commit.constants as C
from pre_commit import git
from pre_commit.envcontext import envcontext
from pre_commit.envcontext import PatchesT
from pre_commit.envcontext import Var
from pr... | mit | -4,932,763,508,583,365,000 | 31.163265 | 76 | 0.638959 | false |
theonion/django-bulbs | tests/instant_articles/test_facebook_api.py | 1 | 6087 | import requests_mock
from django.utils import timezone
from django.test.utils import override_settings
from bulbs.content.models import FeatureType, Content
from bulbs.utils.test import BaseIndexableTestCase
from bulbs.utils.test.mock_vault import mock_vault
from example.testcontent.models import TestContentObjThree... | mit | 2,943,908,466,205,155,300 | 33.782857 | 129 | 0.497125 | false |
neilLasrado/erpnext | erpnext/config/accounts.py | 1 | 13984 | from __future__ import unicode_literals
from frappe import _
import frappe
def get_data():
config = [
{
"label": _("Accounts Receivable"),
"items": [
{
"type": "doctype",
"name": "Sales Invoice",
"description": _("Bills raised to Customers."),
"onboard": 1,
},
{
"type": "... | gpl-3.0 | -3,213,826,191,887,962,000 | 20.613601 | 86 | 0.505363 | false |
wholeGenomeSequencingAnalysisPipeline/BacPipe | cutadapt-1.12/tests/testmodifiers.py | 1 | 1619 | # coding: utf-8
from __future__ import print_function, division, absolute_import
from cutadapt.seqio import Sequence
from cutadapt.modifiers import (UnconditionalCutter, NEndTrimmer, QualityTrimmer,
Shortener)
def test_unconditional_cutter():
uc = UnconditionalCutter(length=5)
s = 'abcdefg'
assert UnconditionalCu... | gpl-3.0 | 5,599,737,395,486,836,000 | 29.54717 | 81 | 0.684373 | false |
caglar/Arcade-Universe | arcade_universe/data_generator.py | 1 | 2656 | from gen import *
from pdataset import *
import numpy as np
import argparse
from arcade_universe.fg import Foreground, FGTextureType
import time
import copy
class PentominoGenerator(object):
def __init__(self,
batch_size,
use_patch_centers=False,
seed=1321, patc... | bsd-3-clause | -175,090,566,231,164,350 | 34.891892 | 117 | 0.429593 | false |
simvisage/oricreate | docs/howtos/ex08_rigid_facets/sim031miura_ori_psi_cntl.py | 1 | 2750 | r'''
Fold the Miura ori crease pattern using psi control
---------------------------------------------------
'''
import numpy as np
from oricreate.api import \
SimulationTask, SimulationConfig, \
FTV, FTA
from oricreate.gu import \
GuConstantLength, GuDofConstraints, GuPsiConstraints, fix
def create_cp... | gpl-3.0 | -5,029,381,296,326,192,000 | 32.13253 | 83 | 0.481818 | false |
CAChemE/stochastic-optimization | ConventionalDistillationColumn/hyInterface.py | 1 | 4985 | # -*- coding: utf-8 -*-
import os
import win32com.client as win32
"""
# -------------------------------------------------------------------------
# SIMULATION-BASED OPTIMIZATION OF A SINGLE CONVENTIONAL DISTILLATION
# COLUMN USING THE PARTICLE SWARM OPTIMIZATION ALGORITHM
#--------------------------------... | bsd-3-clause | -7,658,869,754,585,571,000 | 37.338462 | 179 | 0.596308 | false |
zozo123/buildbot | master/buildbot/test/unit/test_data_steps.py | 1 | 13740 | # 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-3.0 | 6,596,893,676,778,717,000 | 34.874674 | 85 | 0.539083 | false |
dyjakan/interpreter-bugs | python/cpython-2.7.13-asan/ba74a2ffd077ff29ca7c84d5132be64ce3e9782f5f7dff0ec21b6e47a2100294.py | 1 | 1090 | """
gc.get_referrers() can be used to see objects before they are fully built.
Note that this is only an example. There are many ways to crash Python
by using gc.get_referrers(), as well as many extension modules (even
when they are using perfectly documented patterns to build objects).
Identifying and removing all ... | unlicense | -3,527,431,159,232,733,000 | 33.0625 | 74 | 0.750459 | false |
robnee/picsim | insdata.py | 1 | 4659 |
'''
This is the instruction data grabbed from the Instruction Set Summary table
in the Pic data sheet for an enhanced midrange (14bit) processor such as the
16f1826 or 12f1822. This is used to initialize the decoder.
fields:
mnemonic
arguments
description
cycles
opcode format
status bits affe... | gpl-3.0 | 5,463,025,872,372,327,000 | 64.619718 | 109 | 0.506546 | false |
Laharah/deluge-FileBotTool | filebottool/gtkui/config_ui_gtk3.py | 1 | 9943 | from __future__ import absolute_import
__author__ = 'laharah'
from gi.repository import Gtk
import os
import time
import webbrowser
from twisted.internet import defer
from deluge.ui.client import client
import deluge.component as component
from filebottool.common import get_resource
from filebottool.common import ... | gpl-3.0 | 3,980,032,384,230,025,700 | 35.421245 | 90 | 0.613396 | false |
kaedroho/django | django/db/migrations/operations/utils.py | 2 | 3791 | from collections import namedtuple
from django.db.models.fields.related import RECURSIVE_RELATIONSHIP_CONSTANT
def resolve_relation(model, app_label=None, model_name=None):
"""
Turn a model class or model reference string and return a model tuple.
app_label and model_name are used to resolve the scope o... | bsd-3-clause | -7,548,258,845,107,502,000 | 36.534653 | 95 | 0.644157 | false |
RayRuizhiLiao/ITK_4D | Utilities/Doxygen/mcdoc.py | 1 | 5816 | #!/usr/bin/env python
import sys, os, re, glob
try:
import io
except ImportError:
import cStringIO as io
def usage():
sys.stdout.write( """usage: mdoc.py set group file [files...]
Add the tag "\\ingroup group" to all the doxygen comment with a \\class
tag in it.
usage: mdoc.py check group ... | apache-2.0 | -7,968,986,793,985,863,000 | 31.045455 | 113 | 0.574622 | false |
grschafer/alacrity | alacrity/spritesheets/hero_icons_to_sheet.py | 1 | 1432 | import os
from PIL import Image
import dota_file_parser
# data from dota2 files: resource/flash3/images/heroes
print 'Expecting hero icons to be in "heroes" (e.g. "heroes/antimage.png")'
print 'Expecting hero data to be in current folder (e.g. "npc_heroes.txt")'
hero_data = dota_file_parser.parse('npc_heroes.txt')
he... | mit | 209,185,608,987,492,400 | 33.926829 | 188 | 0.631983 | false |
chaimleib/intervaltree | test/intervaltree_methods/restructure_test.py | 1 | 17270 | """
intervaltree: A mutable, self-balancing interval tree for Python 2 and 3.
Queries may be by point, by range overlap, or by range envelopment.
Test module: IntervalTree, Special methods
Copyright 2013-2018 Chaim Leib Halbert
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file... | apache-2.0 | 3,069,838,666,890,680,000 | 27.17292 | 97 | 0.536827 | false |
science-is-the-new-black/bio_stuff | translate/translate.py | 1 | 1635 |
"""Script for translating given sequence."""
from translate_dicts import translation_code
import regex as re
def translate_handler(sequence, start=False, Frame='all', code='translation_code', reverse=True)
if reverse == True:
return translate(sequence, start=start, Frame=Frame, code=code),
... | agpl-3.0 | -1,977,540,443,760,361,700 | 33.0625 | 96 | 0.55107 | false |
asfaltboy/GitSavvy | core/commands/init.py | 1 | 5716 | import os
import sublime
from sublime_plugin import WindowCommand
from ..git_command import GitCommand
from ...common import util
NO_REPO_MESSAGE = ("It looks like you haven't initialized Git in this directory. "
"Would you like to?")
REPO_PATH_PROMPT = "Enter root path of new git repo:"
CONFIRM... | mit | 8,708,654,362,273,996,000 | 35.407643 | 116 | 0.639433 | false |
ktonon/GameSoup | gamesoup/expressions/context.py | 1 | 1688 | import UserDict
class TemplateContext(UserDict.UserDict):
def update_with_bindings(self, queryset):
'''
Given a queryset of bindings, update this template
context with any bindings that match parameters.
'''
from gamesoup.library.models import InterfaceTemplateParamete... | mit | -6,009,353,774,739,607,000 | 27.627119 | 77 | 0.446682 | false |
repotvsupertuga/tvsupertuga.repository | script.vodextende/salts_lib/directstream.py | 1 | 11260 | # -*- coding: utf-8 -*-
"""
VOD TVsupertuga Add-on
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.
Th... | gpl-2.0 | -2,586,933,076,372,650,000 | 38.929078 | 152 | 0.493073 | false |
juhnowski/FishingRod | production/pygsl-0.9.5/examples/bspline.py | 1 | 1107 | from pygsl import bspline, multifit, rng
import pygsl._numobj as numx
N = 200
ncoeffs = 8
nbreak = ncoeffs - 2
bspline = bspline.bspline
def run():
r = rng.rng()
bw = bspline(4, nbreak)
# Data to be fitted
x = 15. / (N-1) * numx.arange(N)
y = numx.cos(x) * numx.exp(0.1 * x)
sigma = .1
... | mit | -2,329,613,397,010,371,600 | 22.0625 | 84 | 0.520325 | false |
raymondnoonan/Mpropulator | MPropulator/readConfig.py | 1 | 1536 | import pandas as pd
import os
from MPropulator import validations as vd
def readConfig(config):
'''
Reads in the config file as a dataframe
and validates the inputs and outputs of
this file.
args: config is the path to the config file csv
output: pandas dataframe that is a parsed and prepped... | mit | -3,646,208,682,177,407,500 | 26.927273 | 74 | 0.650391 | false |
frostynova/calico-docker | calico_containers/adapter/docker_restart.py | 1 | 5239 | # Copyright 2015 Metaswitch Networks
#
# 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 w... | apache-2.0 | -2,540,494,483,810,345,500 | 34.646259 | 77 | 0.661004 | false |
AntonKhorev/spb-budget-xls | src/testRecord.py | 1 | 23498 | #!/usr/bin/env python3
import unittest
import record,number
class TestRecordBuilder(unittest.TestCase):
def setUp(self):
self.text1=[
"1. АДМИНИСТРАЦИЯ ГУБЕРНАТОРА САНКТ- 2 114 774,1",
"ПЕТЕРБУРГА (801)",
"1.1. Расходы на содержание главы Правительства 0102 0010008 2 026,0",
"Санкт-Петербурга",
"1.... | bsd-2-clause | -5,813,891,215,100,850,000 | 45.82439 | 246 | 0.697468 | false |
hahaps/openstack-project-generator | template/<project_name>/tests/unit/api/middleware/test_faults.py | 1 | 11029 | # Copyright 2010 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | apache-2.0 | 210,631,727,763,691,420 | 34.236422 | 79 | 0.560613 | false |
Ohjel/wood-process | base/hero.py | 1 | 1239 | import pygame
from entity import Entity
from animation import Animation
HERO_INERTIA = 0.95
HERO_ACCELERATION = 0.1
HERO_HITBOX = pygame.Rect(0, 50, 64, 64)
HERO_ANIMATION = (0, 0)
class Hero(Entity):
def __init__(self, nb, img):
#Call the parent constructor
Entity.__init__(self, HERO_HITBOX, Tru... | mit | 8,486,146,599,151,767,000 | 26.533333 | 71 | 0.569007 | false |
adoosii/edx-platform | lms/envs/bok_choy.py | 1 | 6517 | """
Settings for Bok Choy tests that are used when running LMS.
Bok Choy uses two different settings files:
1. test_static_optimized is used when invoking collectstatic
2. bok_choy is used when running the tests
Note: it isn't possible to have a single settings file, because Django doesn't
support both generating sta... | agpl-3.0 | 743,758,206,534,447,400 | 33.481481 | 91 | 0.677766 | false |
euphorie/Euphorie | src/euphorie/deployment/commands/xmlimport.py | 1 | 7808 | from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import setSecurityManager
from euphorie.client import publish
from euphorie.content.upload import SurveyImporter
from euphorie.content.user import UserPro... | gpl-2.0 | -2,573,733,531,392,966,700 | 29.030769 | 88 | 0.611424 | false |
jelly/calibre | src/calibre/gui2/tweak_book/preview.py | 2 | 23925 | #!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import (unicode_literals, division, absolute_import,
print_function)
__license__ = 'GPL v3'
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
import time, textwrap, json
from bisect import bisect_right
from base64 impo... | gpl-3.0 | 8,639,967,148,069,684,000 | 36.617925 | 137 | 0.611285 | false |
sinnwerkstatt/landmatrix | apps/landmatrix/models/activity_changeset.py | 1 | 1373 | from django.conf import settings
from django.db import models
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
class ReviewDecision(models.Model):
name = models.CharField(_("Name"), max_length=255)
description = models.TextField(_("Description"), blank=True, null=True)... | agpl-3.0 | 7,794,494,172,032,026,000 | 27.604167 | 75 | 0.627094 | false |
dude-pa/dude | tests/food/test_suggest_drinks.py | 1 | 1181 | from mock import patch
import unittest
import yoda
from click.testing import CliRunner
class TestSuggestDrink(unittest.TestCase):
"""
Test for the following commands:
| Module: food
| command: suggest_drinks
"""
RANDOM_DRINK = {
'drinks': [{
'strDrink': 'Oatmeal Co... | mit | 6,025,127,242,306,874,000 | 31.805556 | 79 | 0.601185 | false |
meskio/bitmask_client | src/leap/bitmask/util/__init__.py | 1 | 3265 | # -*- coding: utf-8 -*-
# __init__.py
# Copyright (C) 2013 LEAP
#
# 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.
#
# Th... | gpl-3.0 | -2,552,250,667,189,991,000 | 23.923664 | 79 | 0.670138 | false |
skrzym/monday-morning-quarterback | Research/report.py | 1 | 13031 | from matplotlib import pyplot as plt
import matplotlib.ticker as plticker
import seaborn as sns
import pandas as pd
import numpy as np
import math
import warnings
from collections import Counter
import nfldatatools as nfltools
rs_pbp = nfltools.gather_data(playoffs=False)
po_pbp = nfltools.gather_data(playoffs=True)
... | mit | 333,576,537,237,967,360 | 36.338109 | 157 | 0.603561 | false |
qpxu007/luigi | luigi/parameter.py | 1 | 22062 | # -*- coding: utf-8 -*-
#
# Copyright 2012-2015 Spotify AB
#
# 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... | apache-2.0 | 7,740,526,975,185,142,000 | 34.931596 | 150 | 0.601441 | false |
jnphilipp/FCPM | fcpm.py | 1 | 18629 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed... | gpl-3.0 | 3,137,651,336,211,697,000 | 26.931034 | 246 | 0.583821 | false |
pdubroy/kurt | build/MacOS/PyInstaller/pyinstaller-svn-r812/buildtests/test1.py | 1 | 1267 | # Copyright (C) 2005, Giovanni Bajo
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, 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... | gpl-2.0 | 6,073,089,601,012,954,000 | 36.264706 | 82 | 0.701657 | false |
google/clusterfuzz | src/appengine/handlers/testcase_detail/redo.py | 1 | 1598 | # 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | -9,107,853,322,960,412,000 | 32.291667 | 77 | 0.729036 | false |
amancevice/stanhope | stanhope/stanhope/tables.py | 1 | 9826 | """
StanhopeFramers Tables
"""
import io
import subprocess
import pandas
from stanhope import utils
pandas.set_option('display.max_rows', 999)
pandas.set_option('display.width', 999)
pandas.set_option('display.max_colwidth', 999)
class Table(object):
def __init__(self, *tables):
self.tables = tables or ... | mit | 8,842,586,989,340,331,000 | 34.092857 | 79 | 0.463261 | false |
tensorflow/probability | tensorflow_probability/python/optimizer/linesearch/__init__.py | 1 | 1076 | # Copyright 2018 The TensorFlow Probability 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 applicable law o... | apache-2.0 | 1,275,803,619,904,843,800 | 36.103448 | 86 | 0.710967 | false |
secnot/django-param-field | param_field/tests/test_parser.py | 1 | 20865 | from django.test import TestCase
from pyparsing import ParseBaseException, ParseException, ParseFatalException
from decimal import Decimal
from collections import OrderedDict
from param_field.parser import parse_fields
from param_field.params import *
from param_field.conf import settings
class TestParserBase(TestC... | lgpl-3.0 | 956,059,508,943,581,700 | 42.282158 | 129 | 0.619739 | false |
psynteract/psynteract-os | setup.py | 1 | 5181 | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspa... | gpl-3.0 | 5,737,354,702,472,658,000 | 35.485915 | 123 | 0.656244 | false |
noba3/KoTos | addons/plugin.video.screen_yahoo_com/default.py | 1 | 20315 | #!/usr/bin/python
# -*- coding: utf-8 -*-
import socket
import urllib
import urllib2
import cookielib
import xbmcplugin
import xbmcaddon
import xbmcgui
import json
import sys
import os
import re
addon = xbmcaddon.Addon()
socket.setdefaulttimeout(60)
pluginhandle = int(sys.argv[1])
addonID = addon.getAddonInfo('id')
cj... | gpl-2.0 | 336,323,076,424,157,500 | 49.019704 | 530 | 0.654176 | false |
cnsoft/kbengine-cocos2dx | demo/res/scripts/data/d_spaces_spawns.py | 1 | 2275 | # -*- coding: utf-8 -*-
datas={
1: [
],
2: [
(1001, (-102.9299, 191.0, -150.922),(0.0,0.0,0.0), 1),
(1002, (-105.0, 191.0, -150.922),(0.0,0.0,0.0), 1),
(1003, (-132.9299, 191.0, -150.922),(0.0,0.0,0.0), 1),
(1003, (-137.833725, 170.639648, -202.246201),(0.0,0.0,0.0), 1),
(1003, (-146.968063, 161.339844, -... | lgpl-3.0 | 8,683,266,899,345,618,000 | 48.456522 | 66 | 0.520879 | false |
flynx/pli | pli/persistance/sql/shelve.py | 1 | 2359 | #=======================================================================
__version__ = '''0.0.01'''
__sub_version__ = '''20070108034250'''
__copyright__ = '''(c) Alex A. Naanou 2003'''
#-----------------------------------------------------------------------
import pli.pattern.mixin.mapping as mapping
#-----------... | bsd-3-clause | -5,785,789,768,299,703,000 | 25.505618 | 76 | 0.52607 | false |
nextgis/osm_adm | ru_classifier/oktmo/mosclassific.py | 1 | 4088 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from urllib2 import Request, urlopen, HTTPError
import re
from BeautifulSoup import BeautifulSoup
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
from sys import stderr
import time
UA = 'Mozilla/5.0 (compatible; MSIE 5.5; Windows NT)'
def _fetch_page(url):
... | gpl-2.0 | 3,388,627,038,287,686,700 | 29.864407 | 100 | 0.599945 | false |
chemelnucfin/tensorflow | tensorflow/python/training/optimizer.py | 1 | 49527 | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | apache-2.0 | -3,893,526,302,688,658,000 | 38.84473 | 112 | 0.671714 | false |
isc-projects/forge | tests/protosupport/v6/srv_msg.py | 1 | 45127 | # Copyright (C) 2012-2020 Internet Systems Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET ... | isc | 2,961,182,497,636,292,000 | 36.543261 | 141 | 0.570878 | false |
mshavlovsky/mannord | mannord/tests/testHits.py | 1 | 3423 | #!/usr/bin/python
import unittest
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
from mannord import (ItemMixin, UserMixin, ActionMixin)
import mannord.hits as hits
import mannord as mnrd
Base = declarative_base()
class TestHIT... | bsd-2-clause | 866,822,466,837,109,000 | 36.206522 | 75 | 0.605609 | false |
pinkeshbadjatiya/listenbrainz-server | listenstore/listenstore/listen.py | 1 | 2104 | # coding=utf-8
from __future__ import division, absolute_import, print_function, unicode_literals
import ujson
from datetime import datetime
import calendar
class Listen(object):
""" Represents a listen object """
def __init__(self, user_id=None, timestamp=None, artist_msid=None, album_msid=None,
... | gpl-2.0 | 8,986,556,442,015,055,000 | 37.962963 | 106 | 0.592205 | false |
anetasie/sherpa | sherpa/ui/__init__.py | 4 | 1720 | #
# Copyright (C) 2007, 2018 Smithsonian Astrophysical Observatory
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later vers... | gpl-3.0 | 7,857,072,458,415,849,000 | 39.952381 | 77 | 0.718605 | false |
artwr/airflow | airflow/contrib/auth/backends/ldap_auth.py | 1 | 11630 | # -*- coding: utf-8 -*-
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
#... | apache-2.0 | 2,608,120,139,944,041,500 | 33.408284 | 91 | 0.59957 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.