hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
07d8429400d186da0eb5dedf96ed66533bcd36bc
3,353
py
Python
processing/cymon/cymon.py
spam-and-abuse/fame_modules
694f0d45f5ed9ae99b1a2c3a22a96cdfd8291a94
[ "MIT" ]
null
null
null
processing/cymon/cymon.py
spam-and-abuse/fame_modules
694f0d45f5ed9ae99b1a2c3a22a96cdfd8291a94
[ "MIT" ]
null
null
null
processing/cymon/cymon.py
spam-and-abuse/fame_modules
694f0d45f5ed9ae99b1a2c3a22a96cdfd8291a94
[ "MIT" ]
1
2021-04-14T05:44:06.000Z
2021-04-14T05:44:06.000Z
import requests from urllib import quote_plus from fame.core.module import ProcessingModule class APIError(Exception): def __init__(self, message='API Error'): super(APIError, self).__init__(message) class APIRateLimitError(Exception): def __init__(self, message='Rate limit exceeded.'): super...
32.553398
108
0.58306
375
3,353
5.064
0.349333
0.029489
0.040548
0.031596
0.228541
0.155872
0.155872
0.123223
0.123223
0.123223
0
0.011154
0.304802
3,353
103
109
32.553398
0.803518
0.004474
0
0.231707
0
0
0.156456
0
0
0
0
0
0
0
null
null
0
0.036585
null
null
0.012195
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
07d92a088fb2494899b8f376ce531ff374a736e4
1,089
py
Python
setup.py
eliasah/spark-in-a-box
5f7c7c61ba8ccbcfad5c847c9be10775556f2ec1
[ "MIT" ]
null
null
null
setup.py
eliasah/spark-in-a-box
5f7c7c61ba8ccbcfad5c847c9be10775556f2ec1
[ "MIT" ]
null
null
null
setup.py
eliasah/spark-in-a-box
5f7c7c61ba8ccbcfad5c847c9be10775556f2ec1
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from sparkinabox import __author__, __version__ setup( name="sparkinabox", version=__version__, packages=find_packages("."), url="https://github.com/eliasah/spark-in-a-box", license="MIT", author=__author__, author_email="", description="A sim...
32.029412
72
0.608815
100
1,089
6.42
0.7
0.037383
0.077882
0
0
0
0
0
0
0
0
0.007238
0.238751
1,089
33
73
33
0.767189
0
0
0
0
0
0.498623
0.02112
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
07db606f83a69e546355dfd928b4c5fd00073a35
1,937
py
Python
setup.py
johnmous/sfaira
c50240a74530e614ab7681bf9c63b04cb815b361
[ "BSD-3-Clause" ]
null
null
null
setup.py
johnmous/sfaira
c50240a74530e614ab7681bf9c63b04cb815b361
[ "BSD-3-Clause" ]
null
null
null
setup.py
johnmous/sfaira
c50240a74530e614ab7681bf9c63b04cb815b361
[ "BSD-3-Clause" ]
null
null
null
import os from setuptools import setup, find_packages import versioneer author = 'theislab' author_email = 'david.fischer@helmholtz-muenchen.de' description = "sfaira is a model and a data repository for single-cell data in a single python package." with open("README.rst", "r") as fh: long_description = fh.read(...
28.072464
104
0.623129
203
1,937
5.807882
0.55665
0.050891
0.066158
0.066158
0.047498
0
0
0
0
0
0
0.006164
0.246257
1,937
68
105
28.485294
0.80137
0.026846
0
0.086207
0
0
0.304463
0.030287
0
0
0
0.014706
0
1
0.017241
false
0
0.051724
0
0.086207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
07db71d8d7d49fa654c29cb6b3ce77417219f89d
946
py
Python
ocelot/transformations/cleanup.py
cmutel/Ocelot
20e9639570c43f84ae255750a6c402ebabe00981
[ "BSD-3-Clause" ]
21
2016-06-01T14:10:07.000Z
2022-02-28T01:56:31.000Z
ocelot/transformations/cleanup.py
cmutel/Ocelot
20e9639570c43f84ae255750a6c402ebabe00981
[ "BSD-3-Clause" ]
152
2016-05-16T21:33:22.000Z
2019-06-24T12:57:14.000Z
ocelot/transformations/cleanup.py
cmutel/Ocelot
20e9639570c43f84ae255750a6c402ebabe00981
[ "BSD-3-Clause" ]
12
2016-09-05T15:35:59.000Z
2021-07-03T19:28:47.000Z
# -*- coding: utf-8 -*- from ..data_helpers import production_volume import pprint def ensure_all_datasets_have_production_volume(data): """Make sure all datasets have a single reference product exchange with a valid production volume amount""" for ds in data: assert production_volume(ds), "Dataset do...
35.037037
117
0.638478
116
946
5.137931
0.439655
0.214765
0.050336
0.040268
0
0
0
0
0
0
0
0.001435
0.263214
946
26
118
36.384615
0.853659
0.186047
0
0
0
0
0.217391
0
0
0
0
0
0.052632
1
0.105263
false
0
0.105263
0
0.315789
0.105263
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07dc6c371b68baaadd968d2381c599edc3c0d196
1,583
py
Python
checkov/cloudformation/checks/resource/base_resource_check.py
niradler/checkov
2628c6f28a5604efe3877d6eacc3044d2b66b7b1
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/cloudformation/checks/resource/base_resource_check.py
niradler/checkov
2628c6f28a5604efe3877d6eacc3044d2b66b7b1
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/cloudformation/checks/resource/base_resource_check.py
niradler/checkov
2628c6f28a5604efe3877d6eacc3044d2b66b7b1
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
from abc import abstractmethod from typing import List, Callable, Optional, Dict, Any from checkov.cloudformation.checks.resource.registry import cfn_registry from checkov.common.checks.base_check import BaseCheck from checkov.common.models.enums import CheckCategories, CheckResult from checkov.common.multi_signature ...
43.972222
110
0.71952
187
1,583
5.882353
0.374332
0.036364
0.058182
0.038182
0.143636
0.143636
0.083636
0.083636
0.083636
0.083636
0
0
0.18446
1,583
35
111
45.228571
0.852053
0.0518
0
0
0
0
0.010674
0
0
0
0
0
0
1
0.185185
false
0
0.222222
0.074074
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
07dcd5dc990014b061b7a89a2cc79698e124b303
1,459
py
Python
triforce/decoder.py
StationA/triforce
b031d4ab5a863518a724ec031537f50fe1911399
[ "MIT" ]
null
null
null
triforce/decoder.py
StationA/triforce
b031d4ab5a863518a724ec031537f50fe1911399
[ "MIT" ]
null
null
null
triforce/decoder.py
StationA/triforce
b031d4ab5a863518a724ec031537f50fe1911399
[ "MIT" ]
null
null
null
from parsimonious import Grammar GRAMMAR = Grammar(''' triple = subject WS+ predicate WS+ value WS* "." WS* subject = IRIREF / BLANK_NODE_LABEL predicate = IRIREF / BLANK_NODE_LABEL value = IRIREF / BLANK_NODE_LABEL / literal literal = STRING_LITERAL_QUOTE (("^^" IRIREF) / LANGTAG)? LANGTAG = ...
44.212121
85
0.459904
178
1,459
3.617978
0.41573
0.093168
0.111801
0.111801
0.093168
0.071429
0.037267
0
0
0
0
0.085009
0.250171
1,459
32
86
45.59375
0.503656
0
0
0
0
0.178571
0.921179
0.251542
0
0
0
0
0
1
0.035714
false
0
0.035714
0.035714
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07e0c55b01cb6e9072eba9ccca2357fa76c1c330
9,603
py
Python
sdk/python/pulumi_azure/servicebus/get_namespace_authorization_rule.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
109
2018-06-18T00:19:44.000Z
2022-02-20T05:32:57.000Z
sdk/python/pulumi_azure/servicebus/get_namespace_authorization_rule.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
663
2018-06-18T21:08:46.000Z
2022-03-31T20:10:11.000Z
sdk/python/pulumi_azure/servicebus/get_namespace_authorization_rule.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
41
2018-07-19T22:37:38.000Z
2022-03-14T10:56:26.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
44.050459
276
0.706967
1,053
9,603
6.112061
0.135802
0.129273
0.092915
0.052206
0.624922
0.543971
0.408328
0.292884
0.239279
0.229335
0
0.000132
0.213475
9,603
217
277
44.253456
0.851979
0.211705
0
0.093023
1
0
0.175523
0.097605
0
0
0
0
0
1
0.108527
false
0
0.03876
0.023256
0.255814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07e0ee46dc79592505af99b73336777bab02bbf6
2,869
py
Python
src/apps/sistema/forms.py
Ramirocho/agricultores
e181069a3881eed36e76247bed1cffe469cec1a6
[ "bzip2-1.0.6" ]
null
null
null
src/apps/sistema/forms.py
Ramirocho/agricultores
e181069a3881eed36e76247bed1cffe469cec1a6
[ "bzip2-1.0.6" ]
null
null
null
src/apps/sistema/forms.py
Ramirocho/agricultores
e181069a3881eed36e76247bed1cffe469cec1a6
[ "bzip2-1.0.6" ]
null
null
null
from apps.usuarios.models import User from django.contrib.auth.forms import UserCreationForm from django import forms from apps.sistema.models import registro,compra,tarjetas class RegistroDeProductos(forms.ModelForm): class Meta: model = registro fields = [ 'TipoFruVer', 'FotoProducto', 'NombreProducto',...
26.321101
75
0.66016
302
2,869
6.271523
0.238411
0.095037
0.133052
0.199578
0.410771
0.36642
0.274551
0.274551
0
0
0
0.011373
0.141861
2,869
109
76
26.321101
0.75792
0
0
0.12766
0
0
0.423345
0
0
0
0
0
0
1
0
false
0
0.042553
0
0.106383
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07e1d3a60fcecad1671dd9b887726aa8985630fa
297
py
Python
codeEval/easy/sum_of_primes.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-09-30T19:53:08.000Z
2020-09-30T19:53:08.000Z
codeEval/easy/sum_of_primes.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
null
null
null
codeEval/easy/sum_of_primes.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-10-15T09:10:57.000Z
2020-10-15T09:10:57.000Z
def gen_primes(): D, q = {}, 2 while True: if q not in D: yield q D[q * q] = [q] else: for p in D[q]: D.setdefault(p + q, []).append(p) del D[q] q += 1 s, i = 0, 0 for p in gen_primes(): if i == 1000: break s += p i += 1 print s
15.631579
41
0.420875
55
297
2.236364
0.454545
0.065041
0.04878
0
0
0
0
0
0
0
0
0.052326
0.420875
297
19
42
15.631579
0.662791
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
07e2b86b6fc1f77f57ce9dc42cccc1b55aa28dac
1,534
py
Python
src/ext/sdo/fsm4rtc_observer/test/observer.py
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
null
null
null
src/ext/sdo/fsm4rtc_observer/test/observer.py
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
null
null
null
src/ext/sdo/fsm4rtc_observer/test/observer.py
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
null
null
null
#!/usr/bin/env python # -*- Python -*- # -*- coding: utf-8 -*- #import sys #sys.path = sys.path import idl import RTC__POA import idl.ComponentObserver_idl import SDOPackage from omniORB import CORBA, PortableServer, any import omniORB import sys import uuid def dict_to_nvlist(dict): '''Convert a dictionary into...
25.147541
81
0.637549
193
1,534
4.865285
0.523316
0.019169
0.025559
0
0
0
0
0
0
0
0
0.003413
0.235984
1,534
60
82
25.566667
0.797782
0.056063
0
0
0
0
0.06268
0
0
0
0
0
0
0
null
null
0.02381
0.190476
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
07e7727fe464b60228d69036140a9c5c699bdcc8
665
py
Python
TSSystem/apps/srtp_project/migrations/0007_auto_20180607_1401.py
LittleBai0606/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
null
null
null
TSSystem/apps/srtp_project/migrations/0007_auto_20180607_1401.py
LittleBai0606/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
5
2020-06-05T18:13:28.000Z
2022-02-11T03:39:14.000Z
TSSystem/apps/srtp_project/migrations/0007_auto_20180607_1401.py
WhiteBrownBottle/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-06-07 14:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('srtp_project', '0006_auto_20180607_1334'), ] operations = [ migrations.AddField( model_name='project', name='project...
27.708333
112
0.618045
71
665
5.633803
0.71831
0.045
0.075
0
0
0
0
0
0
0
0
0.087576
0.261654
665
23
113
28.913043
0.727088
0.067669
0
0.117647
1
0
0.148867
0.037217
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07e8f267db279861140a3bdbb183de0f66e0d8d8
9,481
py
Python
sdk/python/pulumi_aws/ebs/get_volume.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ebs/get_volume.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ebs/get_volume.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
35.912879
282
0.634216
1,152
9,481
4.960069
0.163194
0.028001
0.044802
0.084004
0.218586
0.120406
0.064928
0.030277
0
0
0
0.00357
0.261365
9,481
263
283
36.04943
0.812366
0.142496
0
0.134831
1
0
0.152466
0.013168
0
0
0
0
0
1
0.106742
false
0
0.039326
0.011236
0.258427
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07eb83f1eea8a1b66c3b9d7083d727c951e3cf4c
3,918
py
Python
src/dfvfs/lib/definitions.py
nesfit/pyspark-plaso
4e0680a1a79a5aebfbc7ae983da30841bf984d95
[ "Apache-2.0" ]
2
2020-02-09T01:11:08.000Z
2021-09-17T04:16:31.000Z
dfvfs/lib/definitions.py
Acidburn0zzz/dfvfs
3db8c4e520e3e7527faffeea8f52187c861fa3b6
[ "Apache-2.0" ]
null
null
null
dfvfs/lib/definitions.py
Acidburn0zzz/dfvfs
3db8c4e520e3e7527faffeea8f52187c861fa3b6
[ "Apache-2.0" ]
1
2021-03-17T09:47:01.000Z
2021-03-17T09:47:01.000Z
# -*- coding: utf-8 -*- """The Virtual File System (VFS) definitions.""" from __future__ import unicode_literals # The compression method definitions. COMPRESSION_METHOD_BZIP2 = 'bzip2' COMPRESSION_METHOD_DEFLATE = 'deflate' COMPRESSION_METHOD_LZMA = 'lzma' COMPRESSION_METHOD_XZ = 'xz' COMPRESSION_METHOD_ZLIB = 'zli...
29.908397
71
0.815722
501
3,918
5.852295
0.225549
0.20839
0.031037
0.036835
0.148363
0.073329
0.055252
0
0
0
0
0.008051
0.112302
3,918
130
72
30.138462
0.834963
0.120725
0
0.061224
0
0
0.121097
0.014882
0
0
0
0
0
1
0
false
0
0.010204
0
0.010204
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07ed8e3c0e5dc410b6ae32cca775ae31f19ac509
3,742
py
Python
op5_add_hostgroup.py
chouseitrs/op5_add_hostgroup
60b8a8cfa6e5a37910360a08dbd8d3a824163e73
[ "MIT" ]
null
null
null
op5_add_hostgroup.py
chouseitrs/op5_add_hostgroup
60b8a8cfa6e5a37910360a08dbd8d3a824163e73
[ "MIT" ]
null
null
null
op5_add_hostgroup.py
chouseitrs/op5_add_hostgroup
60b8a8cfa6e5a37910360a08dbd8d3a824163e73
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import csv import http.client import json from urllib.parse import urlencode, quote_plus from getpass import getpass import base64 import ssl import argparse import os from array import array # Create the command line argument parser parser = argparse.ArgumentParser(description="OP5 API Change Te...
38.57732
179
0.692143
475
3,742
5.404211
0.378947
0.029996
0.015582
0.022205
0.189326
0.189326
0.15894
0.103623
0.103623
0.103623
0
0.010811
0.15954
3,742
97
180
38.57732
0.805405
0.128274
0
0.085714
0
0
0.284573
0.039029
0
0
0
0
0
1
0
false
0.057143
0.142857
0
0.142857
0.042857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
07ee0f0e0deaa3632f2260f18a048f5f2762870f
182
py
Python
gentelella/core/global_config.py
vermamanoj/soc_2017Jul
18a1b1a72dbff727a4859f0590a44a4fc3fd5348
[ "MIT" ]
null
null
null
gentelella/core/global_config.py
vermamanoj/soc_2017Jul
18a1b1a72dbff727a4859f0590a44a4fc3fd5348
[ "MIT" ]
1
2017-07-22T09:21:42.000Z
2017-07-22T09:21:42.000Z
gentelella/core/global_config.py
vermamanoj/soc_2017Jul
18a1b1a72dbff727a4859f0590a44a4fc3fd5348
[ "MIT" ]
null
null
null
def get_global_config(): result = { 'outcome' : 'success', 'data' : { 'credentials_file' : r'./config/config.ini', } } return result
18.2
56
0.483516
16
182
5.3125
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.368132
182
10
57
18.2
0.73913
0
0
0
0
0
0.291209
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07ee1249f966e08d25773bb575fe1b79db0e8dbe
9,188
py
Python
1-alltodoor.py
hollylessthan/The-Freeway-Bureau-Data-Application-in-Traffic-Management-Competition
b34a430824173123329f3d6713277a1a11725d31
[ "Apache-2.0" ]
null
null
null
1-alltodoor.py
hollylessthan/The-Freeway-Bureau-Data-Application-in-Traffic-Management-Competition
b34a430824173123329f3d6713277a1a11725d31
[ "Apache-2.0" ]
null
null
null
1-alltodoor.py
hollylessthan/The-Freeway-Bureau-Data-Application-in-Traffic-Management-Competition
b34a430824173123329f3d6713277a1a11725d31
[ "Apache-2.0" ]
null
null
null
import csv import pandas as pd from csv import reader, writer A1A2_data1 = [] highway_traffic_data = [] highway_traffic_data_first = [] highway_traffic_next = [] highway_traffic_pre = [] def read_csv_file(filename): with open(filename, encoding='utf-8', newline='') as file: for row in file: high...
40.654867
191
0.557575
1,417
9,188
3.420607
0.096683
0.154322
0.103982
0.041882
0.726635
0.706004
0.626779
0.58758
0.563235
0.55622
0
0.15905
0.266434
9,188
225
192
40.835556
0.560089
0.086308
0
0.475309
0
0
0.038995
0.024043
0
0
0
0
0
1
0.024691
false
0
0.018519
0.006173
0.067901
0.030864
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07f133e407b9d41e6ab6cf67dd03597e941b32b3
496
py
Python
cajas/boxes/urls.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
cajas/boxes/urls.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
cajas/boxes/urls.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
from django.urls import path from .api.views.close_box import CloseBox from .api.views.provisioning_create import ProvisioningCreate from .api.views.provisioning_detail import ProvisioningDetail app_name = 'boxes' urlpatterns = [ path("provisioning-create", ProvisioningCreate.as_view(), name='provisioning_create'...
38.153846
99
0.774194
61
496
6.131148
0.409836
0.05615
0.096257
0.128342
0
0
0
0
0
0
0
0
0.092742
496
12
100
41.333333
0.831111
0
0
0
0
0
0.237903
0.056452
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
07f2beb46b5aa1d5f384ec10bb7021a5b1ba8347
3,730
py
Python
dmaap/tests/test_dmaapcontrollerif.py
onap/dcaegen2-platform-plugins
64131311ba1d01ff7d20bca0c14d30a006b2e712
[ "Apache-2.0", "CC-BY-4.0" ]
1
2020-07-14T14:22:04.000Z
2020-07-14T14:22:04.000Z
dmaap/tests/test_dmaapcontrollerif.py
onap/dcaegen2-platform-plugins
64131311ba1d01ff7d20bca0c14d30a006b2e712
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
dmaap/tests/test_dmaapcontrollerif.py
onap/dcaegen2-platform-plugins
64131311ba1d01ff7d20bca0c14d30a006b2e712
[ "Apache-2.0", "CC-BY-4.0" ]
1
2020-07-14T19:02:05.000Z
2020-07-14T19:02:05.000Z
# ============LICENSE_START======================================================= # org.onap.dcae # ================================================================================ # Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved. # Copyright (c) 2020 Pantheon.tech. All rights reserved. # Modi...
36.213592
114
0.653887
442
3,730
5.346154
0.429864
0.045705
0.043165
0.033855
0.091409
0.016928
0
0
0
0
0
0.009364
0.169705
3,730
102
115
36.568627
0.753633
0.32815
0
0.034483
0
0
0.18629
0
0
0
0
0
0
1
0.017241
false
0.051724
0.189655
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
07fe9792d197b1582176e43024d6a789edb48f19
2,191
py
Python
setup.py
e-eight/pennylearn
a714a4e5aab2877227229c143d87be1cffd16272
[ "Apache-2.0" ]
4
2021-08-11T16:42:17.000Z
2021-08-18T04:07:49.000Z
setup.py
e-eight/qml-algorithms
a714a4e5aab2877227229c143d87be1cffd16272
[ "Apache-2.0" ]
null
null
null
setup.py
e-eight/qml-algorithms
a714a4e5aab2877227229c143d87be1cffd16272
[ "Apache-2.0" ]
1
2021-08-11T21:36:04.000Z
2021-08-11T21:36:04.000Z
# Copyright 2021 Soham Pal # 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, softw...
35.918033
97
0.674121
255
2,191
5.737255
0.607843
0.041012
0.102529
0.088859
0
0
0
0
0
0
0
0.011148
0.181196
2,191
60
98
36.516667
0.804348
0.249201
0
0
0
0
0.621787
0.044676
0
0
0
0
0
1
0
false
0
0.02439
0
0.02439
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5807c153388ada349445af1bbc37a6ffd94ff67e
875
py
Python
code/tmp_rtrip/encodings/iso2022_jp_2.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
24
2018-01-23T05:28:40.000Z
2021-04-13T20:52:59.000Z
code/tmp_rtrip/encodings/iso2022_jp_2.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
17
2017-12-21T18:32:31.000Z
2018-12-18T17:09:50.000Z
code/tmp_rtrip/encodings/iso2022_jp_2.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
null
null
null
import _codecs_iso2022, codecs import _multibytecodec as mbc codec = _codecs_iso2022.getcodec('iso2022_jp_2') class Codec(codecs.Codec): encode = codec.encode decode = codec.decode class IncrementalEncoder(mbc.MultibyteIncrementalEncoder, codecs. IncrementalEncoder): codec = codec class Incrementa...
25.735294
74
0.771429
82
875
8.121951
0.317073
0.06006
0.067568
0.069069
0.102102
0.102102
0
0
0
0
0
0.024096
0.146286
875
33
75
26.515152
0.86747
0
0
0.190476
0
0
0.027429
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0.047619
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6af33a0fb6ace24b1a50ae5117b9a3a6310f9a77
642
py
Python
bot/admin.py
dziban303/SpaceLaunchNow-Server
212565e97983bdf7159e9de06999fddc46967dbd
[ "Apache-2.0" ]
null
null
null
bot/admin.py
dziban303/SpaceLaunchNow-Server
212565e97983bdf7159e9de06999fddc46967dbd
[ "Apache-2.0" ]
null
null
null
bot/admin.py
dziban303/SpaceLaunchNow-Server
212565e97983bdf7159e9de06999fddc46967dbd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from . import models @admin.register(models.Notification) class NotificationAdmin(admin.ModelAdmin): list_display = ('launch', 'last_net_stamp', 'last_twitter_post', 'last_notification_sent', 'las...
33.789474
94
0.727414
70
642
6.3
0.585714
0.058957
0.086168
0.117914
0
0
0
0
0
0
0
0.001815
0.141745
642
19
95
33.789474
0.798548
0.03271
0
0
0
0
0.275806
0.08871
0
0
0
0
0
1
0
false
0
0.230769
0
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6af6420409cd597351d6fbc26619e7a4719d2159
9,651
py
Python
web_app/charts/style.py
scheb/beer-analytics
630cfb1dcd409a1b449a54a99aa9b3f73da0f756
[ "Beerware" ]
21
2020-09-08T07:05:37.000Z
2022-03-25T20:30:47.000Z
web_app/charts/style.py
scheb/beer-analytics
630cfb1dcd409a1b449a54a99aa9b3f73da0f756
[ "Beerware" ]
1
2022-02-02T02:03:26.000Z
2022-02-26T10:18:06.000Z
web_app/charts/style.py
scheb/beer-analytics
630cfb1dcd409a1b449a54a99aa9b3f73da0f756
[ "Beerware" ]
4
2020-10-10T10:48:07.000Z
2022-03-11T13:09:49.000Z
from abc import ABC from typing import Optional from recipe_db.analytics.spotlight.style import StyleAnalysis from recipe_db.models import Style from web_app.charts.utils import NoDataException, Chart, ChartDefinition from web_app.meta import OPEN_GRAPH_IMAGE_WIDTH, OPEN_GRAPH_IMAGE_HEIGHT from web_app.plot import Lin...
36.556818
126
0.674334
1,171
9,651
5.409052
0.118702
0.048942
0.030786
0.037891
0.579571
0.56994
0.561257
0.536154
0.504736
0.486896
0
0.007499
0.212413
9,651
263
127
36.695817
0.825812
0.007771
0
0.360215
0
0
0.162888
0
0
0
0
0
0
1
0.123656
false
0
0.037634
0.026882
0.537634
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6af6bd6b642530c17a90d83b47706e582938d0e6
2,979
py
Python
openstack/tests/unit/clustering/v1/test_policy.py
NeCTAR-RC/openstacksdk
60a24f6c4717a1f9a0e545c9a07e68afaedc5a27
[ "Apache-2.0" ]
99
2018-03-28T15:41:45.000Z
2022-01-23T17:22:13.000Z
openstack/tests/unit/clustering/v1/test_policy.py
NeCTAR-RC/openstacksdk
60a24f6c4717a1f9a0e545c9a07e68afaedc5a27
[ "Apache-2.0" ]
5
2018-05-25T16:54:23.000Z
2021-11-21T02:27:16.000Z
openstack/tests/unit/clustering/v1/test_policy.py
NeCTAR-RC/openstacksdk
60a24f6c4717a1f9a0e545c9a07e68afaedc5a27
[ "Apache-2.0" ]
104
2018-04-06T14:33:54.000Z
2022-03-01T01:58:09.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
33.852273
75
0.668345
360
2,979
5.422222
0.386111
0.115266
0.087602
0.067623
0.224385
0.206967
0.177254
0.177254
0.142418
0.098361
0
0.058749
0.205774
2,979
87
76
34.241379
0.766272
0.175227
0
0.16129
0
0
0.206544
0.113292
0
0
0
0
0.403226
1
0.080645
false
0
0.032258
0
0.145161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
ed0586b737f2c4ef4646e72b4dd9775ae0c13b91
11,236
py
Python
ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/csvsnapshot/csvsnapshot.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
20
2019-05-07T01:59:14.000Z
2022-02-11T05:24:47.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/csvsnapshot/csvsnapshot.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
60
2019-04-03T18:59:35.000Z
2022-02-22T12:05:05.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/csvsnapshot/csvsnapshot.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
13
2019-05-20T10:48:31.000Z
2021-10-06T07:45:44.000Z
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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,...
37.578595
309
0.63875
1,123
11,236
6.24577
0.204809
0.023097
0.034645
0.048189
0.461791
0.424152
0.352581
0.352581
0.332906
0.30767
0
0.003063
0.244571
11,236
298
310
37.704698
0.82328
0.393378
0
0.166667
0
0
0.175391
0.071537
0
0
0
0
0
1
0.254386
false
0
0.026316
0
0.464912
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ed09253fffdcb390515bafbd45adc581e50f5922
2,681
py
Python
docs/md2html.py
likesilkto/mgqueue
ac976bfdf8ea6dbbcd601e21a0193906c3e0b76a
[ "MIT" ]
1
2019-03-01T06:17:26.000Z
2019-03-01T06:17:26.000Z
docs/md2html.py
likesilkto/mgqueue
ac976bfdf8ea6dbbcd601e21a0193906c3e0b76a
[ "MIT" ]
null
null
null
docs/md2html.py
likesilkto/mgqueue
ac976bfdf8ea6dbbcd601e21a0193906c3e0b76a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import markdown import glob import os.path head=''' <head> <title>mgq: Minimal Gram task Queue</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="icon" href="/favicon.ico" > <link rel="Shortcut Icon" href="/favicon.ico" > ...
25.056075
114
0.629989
386
2,681
4.370466
0.339378
0.037937
0.062241
0.04505
0.229994
0.192057
0.12626
0.046236
0.046236
0
0
0.007433
0.14696
2,681
106
115
25.292453
0.730214
0.016039
0
0.16
0
0.093333
0.710672
0.194862
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0.013333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed09531ca106ef7b55c24ce5e8ad181f8089cefe
3,220
py
Python
backend/project/app/extension/history/speech.py
goodyttoor/tcl_v7
ceb545fa3f0e3eaf3a1a43c7e4a2102014b82a47
[ "MIT" ]
null
null
null
backend/project/app/extension/history/speech.py
goodyttoor/tcl_v7
ceb545fa3f0e3eaf3a1a43c7e4a2102014b82a47
[ "MIT" ]
null
null
null
backend/project/app/extension/history/speech.py
goodyttoor/tcl_v7
ceb545fa3f0e3eaf3a1a43c7e4a2102014b82a47
[ "MIT" ]
null
null
null
from decimal import Decimal from datetime import datetime, date from typing import Optional, List from fastapi import APIRouter, Depends from sqlmodel import Field, SQLModel from ...db import get_session from sqlalchemy import select from sqlalchemy.ext.asyncio import AsyncSession router = APIRouter() class Histor...
32.525253
109
0.784161
384
3,220
6.242188
0.286458
0.103045
0.050063
0.054234
0.159366
0.051731
0.051731
0.051731
0.051731
0.051731
0
0
0.157143
3,220
99
110
32.525253
0.883198
0
0
0.046512
0
0
0.037256
0.032599
0
0
0
0
0
1
0
false
0.023256
0.093023
0
0.837209
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed0a104036d5991c2f12ab80c5a003f079e1aa5b
586
py
Python
drsu/datasets/_reader.py
dapqa/dapqa-recsys-utils
95690ef6b781a46a825b5012ac4d0408b0f1a4d2
[ "MIT" ]
null
null
null
drsu/datasets/_reader.py
dapqa/dapqa-recsys-utils
95690ef6b781a46a825b5012ac4d0408b0f1a4d2
[ "MIT" ]
null
null
null
drsu/datasets/_reader.py
dapqa/dapqa-recsys-utils
95690ef6b781a46a825b5012ac4d0408b0f1a4d2
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from drsu.datasets import DatasetDescriptor from drsu.datasets._utils import make_ratings_file_path def as_pandas(dataset_descriptor: DatasetDescriptor, only_ratings=True) -> pd.DataFrame: full_df = pd.read_csv(make_ratings_file_path(dataset_descriptor), sep=',') if onl...
32.555556
88
0.761092
82
586
5.134146
0.426829
0.16152
0.07601
0.090261
0.232779
0.232779
0
0
0
0
0
0
0.148464
586
18
89
32.555556
0.843687
0
0
0
0
0
0.035775
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed0a708165b3a795ef091005101f093215ae63aa
1,327
py
Python
llg.py
LLGAssessment/llg-python
d08e9f1511d2958b80d7d2f9484f2ea8a07c02ef
[ "MIT" ]
null
null
null
llg.py
LLGAssessment/llg-python
d08e9f1511d2958b80d7d2f9484f2ea8a07c02ef
[ "MIT" ]
null
null
null
llg.py
LLGAssessment/llg-python
d08e9f1511d2958b80d7d2f9484f2ea8a07c02ef
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import itertools def main(): words = set(w.strip() for w in sys.stdin) words.discard('') words = list(words) graph = tuple(list() for _ in xrange(len(words))) for i, left in enumerate(words): for j, right in enumerate(words): if left == right: ...
29.488889
69
0.514695
154
1,327
4.344156
0.363636
0.077728
0.080717
0.06577
0
0
0
0
0
0
0
0.002395
0.370761
1,327
44
70
30.159091
0.798802
0.015072
0
0
0
0
0.007657
0
0
0
0
0
0
0
null
null
0
0.054054
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed0d88001c95e4706a86e712bb346b3faccbfbd2
752
py
Python
HRec/models/__init__.py
geekinglcq/HRec
b3a67f7721e6e73a7af37d308b5b00e9df68d495
[ "MIT" ]
49
2022-02-04T00:04:17.000Z
2022-03-22T12:13:00.000Z
HRec/models/__init__.py
geekinglcq/HRec
b3a67f7721e6e73a7af37d308b5b00e9df68d495
[ "MIT" ]
null
null
null
HRec/models/__init__.py
geekinglcq/HRec
b3a67f7721e6e73a7af37d308b5b00e9df68d495
[ "MIT" ]
1
2022-01-19T17:08:01.000Z
2022-01-19T17:08:01.000Z
from .deepfm import DeepFM from .deepmf import DMF from .fism import FISM from .ncf import NCF from .xdeepfm import xDeepFM from .dssm import DSSM from .afm import AFM from .dcn import DCN from .widedeep import WideDeep from .nais import NAIS from .cccf import CCCFNet from .ddtcdr import DDTCDR from .autoint import Aut...
20.324324
30
0.670213
96
752
5.239583
0.260417
0
0
0
0
0
0
0
0
0
0
0
0.227394
752
36
31
20.888889
0.865749
0.0625
0
0
0
0
0.099857
0
0
0
0
0
0
1
0
false
0
0.483871
0
0.483871
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed0f5bcc5335bb05bf70845679d4b300503b8438
193,260
py
Python
cyclopeps/tools/peps_tools.py
philliphelms/cyclopeps
f024d827a7412f4d9df10d6b9453c2692b1a74c3
[ "MIT" ]
null
null
null
cyclopeps/tools/peps_tools.py
philliphelms/cyclopeps
f024d827a7412f4d9df10d6b9453c2692b1a74c3
[ "MIT" ]
null
null
null
cyclopeps/tools/peps_tools.py
philliphelms/cyclopeps
f024d827a7412f4d9df10d6b9453c2692b1a74c3
[ "MIT" ]
null
null
null
""" Tools for Projected Entangled Pair States Author: Phillip Helms <phelms@caltech.edu> Date: July 2019 .. Note, peps tensors are stored in order: (5) top | (1) left ___|___ (4) right |\ | \ (2) bottom (3) physical """ from cyclopeps.tools.gen_ten import rand,...
37.373816
154
0.4862
23,475
193,260
3.892396
0.047242
0.012476
0.004596
0.006019
0.753431
0.709184
0.674327
0.639482
0.616521
0.596581
0
0.021228
0.40476
193,260
5,170
155
37.381044
0.77308
0.312237
0
0.655744
0
0
0.048936
0.007293
0
0
0
0.002128
0.000753
1
0.032768
false
0.00113
0.00226
0.000753
0.067043
0.021092
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed11b8ffbdcb5a0fc4860abb22f6d47b8b8263ce
7,433
py
Python
cmsplugin_cascade/segmentation/mixins.py
Julz089/djangocms-cascade
3ae49a76f364488352f02cd2e0989cda0b651f3c
[ "MIT" ]
null
null
null
cmsplugin_cascade/segmentation/mixins.py
Julz089/djangocms-cascade
3ae49a76f364488352f02cd2e0989cda0b651f3c
[ "MIT" ]
null
null
null
cmsplugin_cascade/segmentation/mixins.py
Julz089/djangocms-cascade
3ae49a76f364488352f02cd2e0989cda0b651f3c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from distutils.version import LooseVersion from django.conf.urls import url from django.contrib import admin from django.contrib.auth import get_user_model try: from django.urls import reverse except ImportError: from django.core.urlresolvers imp...
44.508982
121
0.665546
875
7,433
5.380571
0.268571
0.03441
0.038658
0.026763
0.10514
0.057349
0.029737
0
0
0
0
0.002305
0.241356
7,433
166
122
44.777108
0.832594
0.092964
0
0.117188
0
0
0.12664
0.028795
0
0
0
0.012048
0.007813
1
0.070313
false
0.007813
0.125
0.007813
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ed14200e2d2aa808f1821cb166b0e2a190797b04
4,655
py
Python
devil/devil/android/flag_changer_test.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
null
null
null
devil/devil/android/flag_changer_test.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
null
null
null
devil/devil/android/flag_changer_test.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
1
2020-07-24T05:13:01.000Z
2020-07-24T05:13:01.000Z
#!/usr/bin/env python # Copyright 2017 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. import posixpath import unittest from devil.android import flag_changer _CMDLINE_FILE = 'chrome-command-line' class _FakeDevice(ob...
34.227941
80
0.697315
573
4,655
5.465969
0.310646
0.033206
0.046935
0.03576
0.198914
0.14751
0.101533
0.047893
0
0
0
0.004182
0.178088
4,655
135
81
34.481481
0.814428
0.168421
0
0.083333
0
0
0.158123
0
0
0
0
0.007407
0.107143
1
0.25
false
0
0.035714
0.035714
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ed22afc0af32506a4d56b41e1aaba79220a2651e
566
py
Python
frappe/tests/test_patches.py
chentaoz/frappe
ee3c4943bf6177ad3b410cdb0d802af486751a65
[ "MIT" ]
5
2017-09-12T15:56:31.000Z
2022-03-09T13:50:21.000Z
frappe/tests/test_patches.py
chentaoz/frappe
ee3c4943bf6177ad3b410cdb0d802af486751a65
[ "MIT" ]
212
2017-08-16T13:03:18.000Z
2020-10-06T12:26:21.000Z
frappe/tests/test_patches.py
chentaoz/frappe
ee3c4943bf6177ad3b410cdb0d802af486751a65
[ "MIT" ]
14
2020-11-04T11:22:44.000Z
2022-02-01T20:59:37.000Z
from __future__ import unicode_literals import unittest, frappe from frappe.modules import patch_handler class TestPatches(unittest.TestCase): def test_patch_module_names(self): frappe.flags.final_patches = [] frappe.flags.in_install = True for patchmodule in patch_handler.get_all_patches(): if patchmodule.s...
31.444444
73
0.756184
70
566
5.885714
0.571429
0.080097
0.063107
0.097087
0
0
0
0
0
0
0
0.004065
0.130742
566
17
74
33.294118
0.833333
0
0
0
0
0
0.056537
0
0
0
0
0
0.066667
1
0.066667
false
0.066667
0.2
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed259117628015d9ccdff8aaf7120d04909f5dc4
2,435
py
Python
test_module/game_over_judgement_test.py
furukawaTakumi/SnakeGameByPython
4fe768f524ef5b657ed2716db41f1af7abc79771
[ "Unlicense" ]
null
null
null
test_module/game_over_judgement_test.py
furukawaTakumi/SnakeGameByPython
4fe768f524ef5b657ed2716db41f1af7abc79771
[ "Unlicense" ]
null
null
null
test_module/game_over_judgement_test.py
furukawaTakumi/SnakeGameByPython
4fe768f524ef5b657ed2716db41f1af7abc79771
[ "Unlicense" ]
null
null
null
import sys sys.path.append('../') from game_contents.GameOverJudgement import GameOverJudgement from game_contents.SpecReader import SpecReader spec = SpecReader("assets/spec.txt") field_size = ( spec.spec["fieldrow"], spec.spec["fieldcolmun"] ) judgement = None def test_JudgeSnakeOutsideField(): for x in rang...
49.693878
175
0.692402
314
2,435
5.178344
0.149682
0.110701
0.147601
0.079951
0.678352
0.585486
0.584256
0.51968
0.462485
0.444034
0
0.018904
0.131006
2,435
48
176
50.729167
0.749527
0
0
0.194444
0
0
0.197617
0.076828
0
0
0
0
0.25
1
0.083333
false
0.055556
0.083333
0
0.166667
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed266cb4cd3935fd6f1c07606d04526863156b3e
521
py
Python
example/example/urls.py
mdavino/spid-django
5e27af898a7a7ff1d4edb54113cb434c04c582dd
[ "Apache-2.0" ]
37
2017-10-01T14:55:51.000Z
2022-02-14T20:54:39.000Z
example/example/urls.py
mdavino/spid-django
5e27af898a7a7ff1d4edb54113cb434c04c582dd
[ "Apache-2.0" ]
51
2017-09-21T13:19:21.000Z
2022-03-23T11:30:40.000Z
example/example/urls.py
mdavino/spid-django
5e27af898a7a7ff1d4edb54113cb434c04c582dd
[ "Apache-2.0" ]
21
2017-10-01T15:02:14.000Z
2021-09-15T13:07:51.000Z
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include from django.views.generic.base import RedirectView import djangosaml2_spid.urls urlpatterns = [ path('admin/', admin.site.urls), path('', include((djangosaml2_spid....
34.733333
88
0.779271
69
521
5.753623
0.405797
0.125945
0.070529
0
0
0
0
0
0
0
0
0.00641
0.101727
521
14
89
37.214286
0.84188
0
0
0
0
0
0.067179
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed26aa32c982af5bf60f7f3a3a73283c15eb940e
6,602
py
Python
robo_python.py
brooklyn86/fairpush
5d48964218cad4389410e3c62610ce12010499d0
[ "MIT" ]
null
null
null
robo_python.py
brooklyn86/fairpush
5d48964218cad4389410e3c62610ce12010499d0
[ "MIT" ]
null
null
null
robo_python.py
brooklyn86/fairpush
5d48964218cad4389410e3c62610ce12010499d0
[ "MIT" ]
1
2022-01-13T07:36:38.000Z
2022-01-13T07:36:38.000Z
# Generated by Selenium IDE from operator import index import time import json import base64 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support import expected_conditions from selenium.webdriver.sup...
48.189781
164
0.572251
648
6,602
5.75463
0.304012
0.042907
0.068383
0.076428
0.326361
0.30893
0.177796
0.142666
0.078842
0.078842
0
0.017532
0.31748
6,602
137
165
48.189781
0.810031
0.023781
0
0.255814
1
0.015504
0.177612
0.014749
0
0
0
0
0
1
0.023256
false
0.015504
0.124031
0
0.155039
0.155039
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed292b80ff4c089b9e055c1cc4e4d97ed1ea0d64
24,991
py
Python
firebase_admin/project_management.py
oppia/firebase-admin-python
32e45f1535e39a0769e298d2ec3b3e87366ee322
[ "Apache-2.0" ]
771
2017-05-17T20:12:03.000Z
2022-03-31T05:49:45.000Z
firebase_admin/project_management.py
oppia/firebase-admin-python
32e45f1535e39a0769e298d2ec3b3e87366ee322
[ "Apache-2.0" ]
327
2017-05-18T22:54:05.000Z
2022-03-09T19:55:54.000Z
firebase_admin/project_management.py
oppia/firebase-admin-python
32e45f1535e39a0769e298d2ec3b3e87366ee322
[ "Apache-2.0" ]
268
2017-05-18T19:31:49.000Z
2022-03-13T17:22:05.000Z
# Copyright 2018 Google 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, ...
37.580451
100
0.676964
3,166
24,991
5.044852
0.116235
0.025357
0.015778
0.007513
0.577323
0.515277
0.478588
0.433947
0.387303
0.352993
0
0.006036
0.244248
24,991
664
101
37.637048
0.839625
0.30435
0
0.311927
0
0
0.076508
0.019908
0
0
0
0
0
1
0.207951
false
0
0.024465
0.051988
0.474006
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ed2d7d25dbcdd7ee251e28a4963bb9ea92cfaa6f
40,485
py
Python
gala/imio.py
DocSavage/gala
a41d0c52fd09b5e34804b9c6082778a75dfc03c1
[ "BSD-3-Clause" ]
1
2017-02-12T12:12:29.000Z
2017-02-12T12:12:29.000Z
gala/imio.py
DocSavage/gala
a41d0c52fd09b5e34804b9c6082778a75dfc03c1
[ "BSD-3-Clause" ]
null
null
null
gala/imio.py
DocSavage/gala
a41d0c52fd09b5e34804b9c6082778a75dfc03c1
[ "BSD-3-Clause" ]
null
null
null
# built-ins import os import json from os.path import split as split_path, join as join_path from fnmatch import filter as fnfilter import logging import itertools as it import subprocess import tempfile as tmp # libraries import h5py, Image try: from pylibtiff import TIFF except: print "pylibtiff not availabl...
36.73775
89
0.628035
5,632
40,485
4.401634
0.139915
0.01186
0.008713
0.006132
0.286971
0.220613
0.185357
0.162848
0.148608
0.131827
0
0.015008
0.26101
40,485
1,101
90
36.771117
0.81359
0.023095
0
0.143885
0
0
0.093765
0.012889
0
0
0.004296
0.000908
0
0
null
null
0
0.043165
null
null
0.002398
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed2eda1c2cb2d45e2cbf09304d7103d8dcd09411
350
py
Python
topCoder/srms/200s/srm240/div2/pronunciation.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-09-30T19:53:08.000Z
2020-09-30T19:53:08.000Z
topCoder/srms/200s/srm240/div2/pronunciation.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
null
null
null
topCoder/srms/200s/srm240/div2/pronunciation.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-10-15T09:10:57.000Z
2020-10-15T09:10:57.000Z
import re class Pronunciation: def canPronounce(self, words): def is_problem(w): return re.search(r'[^aeiou]{3,}', w) or \ any(map(lambda e: len(set(e)) != 1, re.findall(r'[aeiou]{2,}', w))) for word in words: if is_problem(word.lower()): ...
26.923077
86
0.505714
46
350
3.804348
0.673913
0.102857
0
0
0
0
0
0
0
0
0
0.013043
0.342857
350
12
87
29.166667
0.747826
0
0
0
0
0
0.065714
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed37018aa2e1b1ca9e7a7ed2861d4639bda33d27
381
py
Python
app/bearing/migrations/0002_product_ingredients.py
szecsenyia/bearing
ae7551025ac813606bb36eb0366d0b284f46d158
[ "MIT" ]
1
2020-01-04T04:25:36.000Z
2020-01-04T04:25:36.000Z
app/bearing/migrations/0002_product_ingredients.py
szecsenyia/bearing
ae7551025ac813606bb36eb0366d0b284f46d158
[ "MIT" ]
null
null
null
app/bearing/migrations/0002_product_ingredients.py
szecsenyia/bearing
ae7551025ac813606bb36eb0366d0b284f46d158
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2019-12-09 14:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bearing', '0001_initial'), ] operations = [ migrations.AddField( model_name='product', name='ingredients', ...
20.052632
52
0.587927
39
381
5.692308
0.846154
0
0
0
0
0
0
0
0
0
0
0.07037
0.291339
381
18
53
21.166667
0.751852
0.11811
0
0
1
0
0.125749
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed3a10b535c6be256cfda73fc1a63025d7a2dca8
1,409
py
Python
src/control/dispatcher/BaseDispatcher.py
alfredo-milani/Dispatcher
8c4821a4e3ed43543961d7e8747fbe1b50faf145
[ "MIT" ]
null
null
null
src/control/dispatcher/BaseDispatcher.py
alfredo-milani/Dispatcher
8c4821a4e3ed43543961d7e8747fbe1b50faf145
[ "MIT" ]
null
null
null
src/control/dispatcher/BaseDispatcher.py
alfredo-milani/Dispatcher
8c4821a4e3ed43543961d7e8747fbe1b50faf145
[ "MIT" ]
1
2021-08-05T10:59:22.000Z
2021-08-05T10:59:22.000Z
import time from abc import ABC from os.path import getsize from control.dispatcher import IDispatcher from model import File class BaseDispatcher(ABC, IDispatcher): """ """ TRANSFER_DATA_POLL = 0.5 def execute(self, file: File) -> None: """ DO NOT EDIT OR OVERRIDE THIS METHOD ...
26.092593
78
0.603974
174
1,409
4.816092
0.45977
0.047733
0.057279
0.076372
0.066826
0
0
0
0
0
0
0.003132
0.320085
1,409
53
79
26.584906
0.871608
0.258339
0
0.107143
0
0
0
0
0
0
0
0
0
1
0.178571
false
0.107143
0.178571
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed3aaaedd091d947dfe2bf7b3cde580b323360ec
1,264
py
Python
sympy/strategies/tools.py
qcgm1978/sympy
cc46047f4449b525b7b0edd4c634bf93d6e7c83d
[ "BSD-3-Clause" ]
1
2020-09-13T14:04:32.000Z
2020-09-13T14:04:32.000Z
sympy/strategies/tools.py
qcgm1978/sympy
cc46047f4449b525b7b0edd4c634bf93d6e7c83d
[ "BSD-3-Clause" ]
3
2021-02-28T03:58:40.000Z
2021-03-07T06:12:47.000Z
sympy/strategies/tools.py
qcgm1978/sympy
cc46047f4449b525b7b0edd4c634bf93d6e7c83d
[ "BSD-3-Clause" ]
1
2020-08-12T10:51:20.000Z
2020-08-12T10:51:20.000Z
from . import rl from .core import do_one, exhaust, switch from .traverse import top_down def subs(d, **kwargs): """ Full simultaneous exact substitution Examples ======== >>> from sympy.strategies.tools import subs >>> from sympy import Basic >>> mapping = {1: 4, 4: 1, Basic(5): Basic(6, 7)}...
28.088889
74
0.611551
184
1,264
4.119565
0.451087
0.047493
0.031662
0.031662
0.031662
0
0
0
0
0
0
0.020747
0.237342
1,264
44
75
28.727273
0.76556
0.59731
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ed3cce234e97ad6e1941262fcc38d545ad44fd57
1,687
py
Python
serif/theory/event_mention_set.py
BBN-E/ZS4IE
357965f3068cfe5098422d8cb0ca4b0f99c99fd4
[ "Apache-2.0" ]
7
2022-03-24T11:04:08.000Z
2022-03-31T17:12:46.000Z
serif/theory/event_mention_set.py
BBN-E/ZS4IE
357965f3068cfe5098422d8cb0ca4b0f99c99fd4
[ "Apache-2.0" ]
null
null
null
serif/theory/event_mention_set.py
BBN-E/ZS4IE
357965f3068cfe5098422d8cb0ca4b0f99c99fd4
[ "Apache-2.0" ]
null
null
null
from serif.theory.event_mention import EventMention from serif.theory.parse import Parse from serif.theory.serif_sequence_theory import SerifSequenceTheory from serif.xmlio import _SimpleAttribute, _ReferenceAttribute, _ChildTheoryElementList from serif.theory.enumerated_type import Genericity,Polarity,Tense,Modality ...
37.488889
86
0.739182
196
1,687
6.091837
0.25
0.221106
0.067002
0.052764
0.19263
0.087102
0.087102
0.087102
0.087102
0.087102
0
0.000732
0.190279
1,687
44
87
38.340909
0.873353
0
0
0.111111
0
0
0.011855
0
0
0
0
0
0.027778
1
0.138889
false
0
0.138889
0.027778
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed4290a4192b3f6cd1d57131273824295621283f
3,758
py
Python
lib/clckwrkbdgr/test/test_webserver.py
umi0451/dotfiles
c618811be788d995fe01f6a16b355828d7efdd36
[ "MIT" ]
2
2017-04-16T14:54:17.000Z
2020-11-12T04:15:00.000Z
lib/clckwrkbdgr/test/test_webserver.py
clckwrkbdgr/dotfiles
292dac8c3211248b490ddbae55fe2adfffcfcf58
[ "MIT" ]
null
null
null
lib/clckwrkbdgr/test/test_webserver.py
clckwrkbdgr/dotfiles
292dac8c3211248b490ddbae55fe2adfffcfcf58
[ "MIT" ]
null
null
null
from __future__ import print_function, unicode_literals import unittest unittest.defaultTestLoader.testMethodPrefix = 'should' try: import unittest.mock as mock except ImportError: # pragma: no cover import mock mock.patch.TEST_PREFIX = 'should' import pyfakefs.fake_filesystem_unittest as fs_unittest import os import...
48.179487
152
0.741086
509
3,758
5.328094
0.243615
0.11615
0.178097
0.201327
0.596608
0.582596
0.547566
0.503687
0.448378
0.429204
0
0.015465
0.088079
3,758
77
153
48.805195
0.775897
0.004258
0
0.267606
0
0.028169
0.243048
0.05107
0
0
0
0
0.309859
1
0.098592
false
0
0.140845
0.028169
0.295775
0.028169
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed4644a5483856bb01ba777e442075ebb3a29a5e
1,723
py
Python
tests/test_basis.py
matthewwardrop/python-qubricks
93fec1cfafd34a670b6c639d3e7c5252885de4c7
[ "MIT" ]
3
2015-04-08T03:18:52.000Z
2021-03-27T14:31:39.000Z
tests/test_basis.py
matthewwardrop/python-qubricks
93fec1cfafd34a670b6c639d3e7c5252885de4c7
[ "MIT" ]
2
2015-04-12T19:49:02.000Z
2015-08-13T02:25:35.000Z
tests/test_basis.py
matthewwardrop/python-qubricks
93fec1cfafd34a670b6c639d3e7c5252885de4c7
[ "MIT" ]
3
2015-04-08T03:56:47.000Z
2021-03-27T14:31:42.000Z
import unittest import sys sys.path.insert(0,'..') import numpy as np from parampy import Parameters from qubricks import Operator from qubricks.wall import SpinBasis, SimpleBasis class TestBasis(unittest.TestCase): def setUp(self): self.b = SpinBasis(dim=2**3) def test_properties(self): self.assertEqual(sel...
33.784314
92
0.689495
305
1,723
3.832787
0.222951
0.094098
0.107784
0.109495
0.457656
0.335329
0.194183
0.150556
0.118905
0.054748
0
0.066879
0.088799
1,723
50
93
34.46
0.677707
0
0
0.055556
0
0
0.052815
0
0
0
0
0
0.333333
1
0.222222
false
0
0.166667
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ed486812ecb31a821b3b223c1cd0634cc57a6960
1,698
py
Python
rubin_sim/photUtils/SedUtils.py
RileyWClarke/flarubin
eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a
[ "MIT" ]
null
null
null
rubin_sim/photUtils/SedUtils.py
RileyWClarke/flarubin
eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a
[ "MIT" ]
null
null
null
rubin_sim/photUtils/SedUtils.py
RileyWClarke/flarubin
eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a
[ "MIT" ]
null
null
null
import numpy as np from rubin_sim.photUtils import Bandpass __all__ = ["getImsimFluxNorm"] def getImsimFluxNorm(sed, magmatch): """ Calculate the flux normalization of an SED in the imsim bandpass. Parameters ----------- sed is the SED to be normalized magmatch is the desired magnitude in ...
33.96
97
0.649588
227
1,698
4.792952
0.475771
0.115809
0.154412
0.049632
0.104779
0
0
0
0
0
0
0.009509
0.256773
1,698
49
98
34.653061
0.852615
0.361013
0
0
0
0
0.132623
0
0
0
0
0
0
1
0.05
false
0.15
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed4c3ddf18886dbc90394ec8ab7626aebaa51529
1,908
py
Python
authapp/models.py
shyojimeena/school-project
a410615e61dd22a59e79e5696227871ddaeaaa5c
[ "MIT" ]
null
null
null
authapp/models.py
shyojimeena/school-project
a410615e61dd22a59e79e5696227871ddaeaaa5c
[ "MIT" ]
null
null
null
authapp/models.py
shyojimeena/school-project
a410615e61dd22a59e79e5696227871ddaeaaa5c
[ "MIT" ]
null
null
null
from django.db import models from django.conf import settings from django.contrib.auth.models import User from django.core.urlresolvers import reverse from courses.models import Topic, Resource class UserProfile(models.Model): USER_TYPES = ( ('b', 'Blogger'), ('r', 'Reader') ) user = mod...
28.909091
79
0.650419
228
1,908
5.276316
0.359649
0.0399
0.037406
0.064838
0.275977
0.239402
0.181214
0.181214
0.181214
0.124688
0
0.000682
0.231132
1,908
65
80
29.353846
0.819359
0
0
0.12766
0
0
0.037212
0
0
0
0
0
0
1
0.148936
false
0
0.106383
0.106383
0.744681
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ed4c9a5c12d11932ec8ca62253d3a34ac4df073b
9,072
py
Python
apps/breakfast/tools/Life/tools/cx/db/DatabaseMissing.py
mtaghiza/tinyos-main-1
cac075f7eae46c6a37409e66137a78b9bc3a64b1
[ "BSD-3-Clause" ]
null
null
null
apps/breakfast/tools/Life/tools/cx/db/DatabaseMissing.py
mtaghiza/tinyos-main-1
cac075f7eae46c6a37409e66137a78b9bc3a64b1
[ "BSD-3-Clause" ]
null
null
null
apps/breakfast/tools/Life/tools/cx/db/DatabaseMissing.py
mtaghiza/tinyos-main-1
cac075f7eae46c6a37409e66137a78b9bc3a64b1
[ "BSD-3-Clause" ]
1
2022-02-21T14:31:18.000Z
2022-02-21T14:31:18.000Z
#!/usr/bin/env python # Copyright (c) 2014 Johns Hopkins University # 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 # noti...
39.615721
123
0.631063
1,130
9,072
4.958407
0.257522
0.033197
0.016241
0.051401
0.498661
0.466536
0.453507
0.447082
0.447082
0.447082
0
0.007314
0.291667
9,072
228
124
39.789474
0.864613
0.410273
0
0.516393
0
0
0.295222
0
0
0
0
0.004386
0
0
null
null
0
0.02459
null
null
0.040984
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed5ca5fdca44fb919361d1476bf29fe583a1b733
16,038
py
Python
nototools/emoji_ordering.py
enterstudio/nototools
6870922fdaa75369ce191964ee31ac8682e0ad00
[ "Apache-2.0" ]
null
null
null
nototools/emoji_ordering.py
enterstudio/nototools
6870922fdaa75369ce191964ee31ac8682e0ad00
[ "Apache-2.0" ]
null
null
null
nototools/emoji_ordering.py
enterstudio/nototools
6870922fdaa75369ce191964ee31ac8682e0ad00
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright 2016 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 require...
31.633136
80
0.658187
2,248
16,038
4.532473
0.189057
0.020022
0.008833
0.01325
0.217391
0.136323
0.103837
0.067328
0.046128
0.04181
0
0.017071
0.243921
16,038
506
81
31.695652
0.82319
0.051503
0
0.274933
0
0
0.085034
0.016781
0
0
0.004841
0
0.002695
0
null
null
0
0.026954
null
null
0.078167
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed5d9dca85390abb13a58cdd58ed35ed8f74c954
2,955
py
Python
platforms/sp3_kit.py
tamood/litex-buildenv
c32b3f2a5e3c4ef190c7b1d10ce843af996a3e10
[ "BSD-2-Clause" ]
null
null
null
platforms/sp3_kit.py
tamood/litex-buildenv
c32b3f2a5e3c4ef190c7b1d10ce843af996a3e10
[ "BSD-2-Clause" ]
null
null
null
platforms/sp3_kit.py
tamood/litex-buildenv
c32b3f2a5e3c4ef190c7b1d10ce843af996a3e10
[ "BSD-2-Clause" ]
null
null
null
from litex.build.generic_platform import * from litex.build.openocd import OpenOCD from litex.build.xilinx import XilinxPlatform, XC3SProg, VivadoProgrammer _io = [ ("clk50", 0, Pins("T9"), IOStandard("LVCMOS33")), ("serial", 0, Subsignal("tx", Pins("D5"), IOStandard("LVCMOS33"), Mi...
41.619718
111
0.588494
381
2,955
4.446194
0.446194
0.318772
0.12987
0.113341
0.163518
0.128099
0
0
0
0
0
0.09532
0.211844
2,955
70
112
42.214286
0.632031
0.077496
0
0.038462
0
0.019231
0.268311
0
0
0
0
0
0
1
0.019231
false
0
0.057692
0
0.153846
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed67579df11e7362ed1efebcca102dfd8e623111
10,926
py
Python
py/deprecated/data_swarm.py
EdgardoCS/Arduino_tesis
0e7278834fe59c4e54aff45c1152acb9c21b2a24
[ "MIT" ]
1
2019-06-24T14:51:40.000Z
2019-06-24T14:51:40.000Z
py/deprecated/data_swarm.py
EdgardoCS/Arduino_tesis
0e7278834fe59c4e54aff45c1152acb9c21b2a24
[ "MIT" ]
null
null
null
py/deprecated/data_swarm.py
EdgardoCS/Arduino_tesis
0e7278834fe59c4e54aff45c1152acb9c21b2a24
[ "MIT" ]
null
null
null
# calculation of time (in seconds) that elapsed between the stimulation is applied and the VAS # score is register import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt # set path path = '../data/data_sub.xlsx' dataFrame = pd.read_excel(path, header=2, sheet_name='trials_noTime'...
42.679688
114
0.568461
1,055
10,926
5.883412
0.126066
0.123731
0.131464
0.177864
0.364749
0.364749
0.347511
0.240213
0.20638
0.099726
0
0.043836
0.298462
10,926
255
115
42.847059
0.765949
0.114131
0
0.286996
0
0
0.025779
0.002174
0
0
0
0
0
1
0
false
0
0.017937
0
0.017937
0.008969
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed6d78f57e3f175156efdcdf0a1e3187d9160cf3
6,291
py
Python
tests/ignite/distributed/comp_models/test_horovod.py
nzare/ignite
002b595daa8a8345286c5e096c33e278948686a7
[ "BSD-3-Clause" ]
1
2020-08-29T16:49:36.000Z
2020-08-29T16:49:36.000Z
tests/ignite/distributed/comp_models/test_horovod.py
M3L6H/ignite
002b595daa8a8345286c5e096c33e278948686a7
[ "BSD-3-Clause" ]
5
2020-08-29T16:49:48.000Z
2020-08-29T17:05:54.000Z
tests/ignite/distributed/comp_models/test_horovod.py
M3L6H/ignite
002b595daa8a8345286c5e096c33e278948686a7
[ "BSD-3-Clause" ]
null
null
null
import pytest import torch from ignite.distributed.comp_models import has_hvd_support if not has_hvd_support: pytest.skip("Skip if no Horovod package", allow_module_level=True) else: from ignite.distributed.comp_models.horovod import _HorovodDistModel import horovod.torch as hvd @pytest.mark.distributed...
31.298507
120
0.693371
842
6,291
4.750594
0.112827
0.05
0.05225
0.076
0.7845
0.70825
0.6655
0.60375
0.54975
0.51825
0
0.006638
0.185821
6,291
200
121
31.455
0.774307
0
0
0.531034
0
0
0.112701
0
0
0
0
0
0.172414
1
0.089655
false
0
0.041379
0
0.131034
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed6da28486516e414ca9a374b5b96a00a4bf9355
5,489
py
Python
server.py
fathhrohman/RPC-OnlineTest
6d591ba59f36e400da99606bcc4a462541be5d4f
[ "MIT" ]
null
null
null
server.py
fathhrohman/RPC-OnlineTest
6d591ba59f36e400da99606bcc4a462541be5d4f
[ "MIT" ]
null
null
null
server.py
fathhrohman/RPC-OnlineTest
6d591ba59f36e400da99606bcc4a462541be5d4f
[ "MIT" ]
null
null
null
from xmlrpc.server import SimpleXMLRPCServer import pymysql import random import time IP = 'localhost' PORT = 8000 PORT_UP = 8001 DB_SERVER = 'localhost' DB_USER = 'root' DB_PASS = '' DB_NAME = 'sister' server = SimpleXMLRPCServer((IP, PORT), allow_none=True) print("Listening on port", PORT) db = pymys...
27.173267
116
0.650574
734
5,489
4.666213
0.163488
0.081752
0.128467
0.016058
0.343066
0.248759
0.190949
0.164088
0.119124
0.064818
0
0.008551
0.211696
5,489
201
117
27.308458
0.782991
0.019676
0
0.276316
0
0.006579
0.169822
0.026082
0
0
0
0
0
1
0.131579
false
0.052632
0.026316
0.013158
0.289474
0.032895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed6f72d0aa095c37b0f91d2a8ce45e2f54c45cab
1,501
py
Python
examples/deadline/All-In-AWS-Infrastructure-Basic/python/package/config.py
aws-painec/aws-rfdk
79e0d1f86389b289596974b15bcf49c735d72e56
[ "Apache-2.0" ]
null
null
null
examples/deadline/All-In-AWS-Infrastructure-Basic/python/package/config.py
aws-painec/aws-rfdk
79e0d1f86389b289596974b15bcf49c735d72e56
[ "Apache-2.0" ]
null
null
null
examples/deadline/All-In-AWS-Infrastructure-Basic/python/package/config.py
aws-painec/aws-rfdk
79e0d1f86389b289596974b15bcf49c735d72e56
[ "Apache-2.0" ]
null
null
null
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 from typing import ( List, Mapping, Optional ) from aws_rfdk import MongoDbSsplLicenseAcceptance from aws_rfdk.deadline import UsageBasedLicense class AppConfig: """ Configuration values fo...
32.630435
111
0.694204
193
1,501
5.264249
0.57513
0.01378
0.021654
0.029528
0.037402
0
0
0
0
0
0
0.002632
0.240506
1,501
45
112
33.355556
0.888596
0.482345
0
0
0
0
0.016086
0
0
0
0
0.022222
0
1
0.058824
false
0
0.176471
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ed7408e57e6b72e64d73ae502a8853a568d2e5e5
762
py
Python
docs/source/examples/c.library.py
thomasvandoren/pychapel
00028cd588225acf2ced1a68148b7130286ca577
[ "Apache-2.0" ]
1
2015-08-04T02:11:03.000Z
2015-08-04T02:11:03.000Z
docs/source/examples/c.library.py
thomasvandoren/pychapel
00028cd588225acf2ced1a68148b7130286ca577
[ "Apache-2.0" ]
null
null
null
docs/source/examples/c.library.py
thomasvandoren/pychapel
00028cd588225acf2ced1a68148b7130286ca577
[ "Apache-2.0" ]
null
null
null
from pych.extern import Extern # # Mapping the Python function "hello_world" to the function "hello_world" # from the library "libexamples.so". # @Extern(lib="libexamples.so", ename="hello_world") def hello_world(): return None # # Mapping the Python function "add_ints" to the function "add_ints" # from the libra...
24.580645
73
0.717848
115
762
4.556522
0.286957
0.148855
0.091603
0.137405
0.423664
0.320611
0.320611
0.320611
0.320611
0.320611
0
0.009274
0.150919
762
30
74
25.4
0.800618
0.412073
0
0
0
0
0.183908
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed74dbbd75fcc7f54a61719131bba90c9bde3afe
278
py
Python
Lesson08/multipleInheritance.py
PacktPublishing/Python-Fundamentals
f24569826b1b7f97e3d54630a34ae61110ca12da
[ "MIT" ]
1
2021-04-23T14:01:56.000Z
2021-04-23T14:01:56.000Z
Lesson08/multipleInheritance.py
PacktPublishing/Python-Fundamentals
f24569826b1b7f97e3d54630a34ae61110ca12da
[ "MIT" ]
null
null
null
Lesson08/multipleInheritance.py
PacktPublishing/Python-Fundamentals
f24569826b1b7f97e3d54630a34ae61110ca12da
[ "MIT" ]
4
2021-06-29T05:57:44.000Z
2021-09-02T10:14:55.000Z
class MobilePhone: def __init__(self, memory): self.memory = memory class Camera: def take_picture(self): print("Say cheese!") class CameraPhone(MobilePhone, Camera): pass iphone = CameraPhone('16GB') print(iphone.memory) iphone.take_picture()
15.444444
39
0.683453
32
278
5.75
0.5
0.108696
0
0
0
0
0
0
0
0
0
0.00905
0.205036
278
18
40
15.444444
0.823529
0
0
0
0
0
0.053763
0
0
0
0
0
0
1
0.181818
false
0.090909
0
0
0.454545
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed74fc68b2ca410b634fc73cec60e819616d3503
13,060
py
Python
sdk/compute/azure-mgmt-compute/tests/disable_test_mgmt_compute_galleries.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-03-09T08:59:13.000Z
2022-03-09T08:59:13.000Z
sdk/compute/azure-mgmt-compute/tests/disable_test_mgmt_compute_galleries.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
sdk/compute/azure-mgmt-compute/tests/disable_test_mgmt_compute_galleries.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-03-04T06:21:56.000Z
2022-03-04T06:21:56.000Z
# coding: utf-8 #------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #----------------------------------------------------------------------...
40.8125
160
0.605283
1,329
13,060
5.687735
0.150489
0.058738
0.057415
0.079376
0.758169
0.702077
0.649028
0.536844
0.460511
0.385633
0
0.005943
0.278484
13,060
319
161
40.940439
0.796243
0.32366
0
0.447059
0
0
0.149771
0.013991
0
0
0
0.003135
0
1
0.023529
false
0
0.035294
0
0.064706
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed7a76b62b52616b04a8fba5e181234dd7b2beb3
4,862
py
Python
src/cool/AST/ast_hierarchy.py
matcom-compilers-2019/cool-compiler-greidy-ariel-quevedo
d6d3ecedad5821817cc62040691ded5dcb84e252
[ "MIT" ]
1
2019-11-21T22:06:45.000Z
2019-11-21T22:06:45.000Z
src/cool/AST/ast_hierarchy.py
matcom-compilers-2019/cool-compiler-greidy-ariel-quevedo
d6d3ecedad5821817cc62040691ded5dcb84e252
[ "MIT" ]
null
null
null
src/cool/AST/ast_hierarchy.py
matcom-compilers-2019/cool-compiler-greidy-ariel-quevedo
d6d3ecedad5821817cc62040691ded5dcb84e252
[ "MIT" ]
null
null
null
# =============================================================== # =======================AST=HIERARCHY=========================== # =============================================================== ERROR = 0 INTEGER = 1 class Node: def __init__(self): self.static_type = "" class ProgramNode(Node): de...
24.933333
65
0.63513
571
4,862
4.924694
0.143608
0.139403
0.097795
0.136558
0.424253
0.264936
0.214794
0.174253
0.124467
0.08606
0
0.000542
0.240436
4,862
194
66
25.061856
0.760899
0.044015
0
0.442308
0
0
0
0
0
0
0
0
0
1
0.160256
false
0.089744
0
0
0.410256
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed812e05443a7bb742f1a076163e0733bfa01c6c
2,880
py
Python
parkkeeper/forms.py
telminov/django-park-keeper
a79489e2cd584e60fb1c49f849aa7bdbc1dfb4bc
[ "MIT" ]
4
2015-11-07T11:07:37.000Z
2017-07-03T06:24:04.000Z
parkkeeper/forms.py
telminov/django-park-keeper
a79489e2cd584e60fb1c49f849aa7bdbc1dfb4bc
[ "MIT" ]
null
null
null
parkkeeper/forms.py
telminov/django-park-keeper
a79489e2cd584e60fb1c49f849aa7bdbc1dfb4bc
[ "MIT" ]
null
null
null
# coding: utf-8 import json from django import forms from parkkeeper import models from croniter import croniter class BaseSchedule(forms.ModelForm): def clean_options_json(self): options_json = self.cleaned_data.get('options_json') if options_json: try: options = json...
33.882353
113
0.622917
332
2,880
5.21988
0.301205
0.069821
0.095211
0.055395
0.039238
0.039238
0
0
0
0
0
0.000481
0.278819
2,880
84
114
34.285714
0.833895
0.004514
0
0.107692
0
0
0.131937
0
0
0
0
0
0
1
0.061538
false
0.107692
0.061538
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed82a255c301c2c6004605b370783e6632ef897c
5,461
py
Python
tests/opentracer/core/test_span.py
mbmblbelt/dd-trace-py
906fb7fa91d0ed59d263df74e14aacc8b2d70251
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
tests/opentracer/core/test_span.py
mbmblbelt/dd-trace-py
906fb7fa91d0ed59d263df74e14aacc8b2d70251
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
tests/opentracer/core/test_span.py
mbmblbelt/dd-trace-py
906fb7fa91d0ed59d263df74e14aacc8b2d70251
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
import pytest from ddtrace.opentracer.span import Span from tests.tracer.test_tracer import get_dummy_tracer @pytest.fixture def nop_tracer(): from ddtrace.opentracer import Tracer tracer = Tracer(service_name="mysvc", config={}) # use the same test tracer used by the primary tests tracer._tracer = ...
34.13125
83
0.654825
773
5,461
4.338939
0.219922
0.14192
0.052475
0.034884
0.351819
0.245379
0.171735
0.116279
0.064997
0.026834
0
0.013742
0.240432
5,461
159
84
34.345912
0.794841
0.171763
0
0.091837
0
0
0.083707
0
0
0
0
0
0.255102
1
0.204082
false
0
0.091837
0.010204
0.346939
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ed844f8b17fe994639efa85247c8829a3908ff00
6,457
py
Python
snsapi/plugin_trial/twitter.py
wcyz666/snsapi
19fcf5ca48bc709db50f8f622a30dc4d55924d4e
[ "Unlicense" ]
1
2015-11-08T09:04:38.000Z
2015-11-08T09:04:38.000Z
snsapi/plugin_trial/twitter.py
wcyz666/snsapi
19fcf5ca48bc709db50f8f622a30dc4d55924d4e
[ "Unlicense" ]
null
null
null
snsapi/plugin_trial/twitter.py
wcyz666/snsapi
19fcf5ca48bc709db50f8f622a30dc4d55924d4e
[ "Unlicense" ]
null
null
null
#-*- encoding: utf-8 -*- ''' twitter We use python-twitter as the backend at present. It should be changed to invoke REST API directly later. ''' from ..snslog import SNSLog logger = SNSLog from ..snsbase import SNSBase from .. import snstype from ..utils import console_output from .. import utils from ..third impo...
34.529412
102
0.576429
711
6,457
5.084388
0.244726
0.06639
0.02213
0.030429
0.521162
0.480498
0.46556
0.446196
0.446196
0.434578
0
0.003394
0.315472
6,457
186
103
34.715054
0.81448
0.084869
0
0.507813
0
0
0.115602
0
0
0
0
0.005376
0
0
null
null
0
0.046875
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed8662c93636abcedb3fd5e76b6ce04d59d1be18
28,157
py
Python
api/src/opentrons/system/nmcli.py
wheresaddie/opentrons
b90a87e2b45ea3db7677d130d683249460e4b91a
[ "Apache-2.0" ]
null
null
null
api/src/opentrons/system/nmcli.py
wheresaddie/opentrons
b90a87e2b45ea3db7677d130d683249460e4b91a
[ "Apache-2.0" ]
null
null
null
api/src/opentrons/system/nmcli.py
wheresaddie/opentrons
b90a87e2b45ea3db7677d130d683249460e4b91a
[ "Apache-2.0" ]
null
null
null
""" opentrons.system.nmcli: Functions and data for interacting with nmcli The functions contained here are for bridging Python calls with nmcli command line invocations. They are in general not safe to call anywhere except an Opentrons robot; on systems that do not have network-manager (like OSX, Windows and some Linu...
38.944675
79
0.603402
3,585
28,157
4.635146
0.190516
0.005476
0.011254
0.007583
0.193477
0.139195
0.121382
0.099356
0.099356
0.094782
0
0.007223
0.287033
28,157
722
80
38.998615
0.820523
0.252122
0
0.265766
0
0
0.183408
0.008088
0
0
0
0.001385
0
1
0.038288
false
0.054054
0.02027
0.009009
0.191441
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ed8bbcd7eea66e6faa299955bbad940f327f7a2d
2,778
py
Python
phovea_server/dataset.py
phovea/phovea_server
f83879f58669ff4d554efcb727b1c6fd0185041a
[ "BSD-3-Clause" ]
3
2018-06-08T01:28:56.000Z
2020-01-10T14:17:34.000Z
phovea_server/dataset.py
phovea/phovea_server
f83879f58669ff4d554efcb727b1c6fd0185041a
[ "BSD-3-Clause" ]
88
2016-11-06T08:28:21.000Z
2022-03-22T07:18:59.000Z
phovea_server/dataset.py
phovea/phovea_server
f83879f58669ff4d554efcb727b1c6fd0185041a
[ "BSD-3-Clause" ]
6
2017-06-06T20:43:00.000Z
2020-02-13T18:23:46.000Z
############################################################################### # Caleydo - Visualization for Molecular Biology - http://caleydo.org # Copyright (c) The Caleydo Team. All rights reserved. # Licensed under the new BSD license, available at http://caleydo.org/license ######################################...
23.74359
94
0.664867
374
2,778
4.826203
0.296791
0.046537
0.039889
0.024931
0.300277
0.21385
0.195014
0.195014
0.195014
0.195014
0
0
0.188625
2,778
116
95
23.948276
0.800799
0.325414
0
0.254545
0
0
0.025309
0
0
0
0
0
0
1
0.181818
false
0
0.109091
0.036364
0.563636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
71eede4ab01090f8aeb04938941358a5c3c92656
1,726
py
Python
src/goto_pose_server.py
daniel-s-ingram/roboarm
7f4aabf9b2ec3af7324ec4db20725f1889e84b57
[ "MIT" ]
5
2018-03-01T17:54:41.000Z
2020-04-07T06:52:36.000Z
src/goto_pose_server.py
daniel-s-ingram/roboarm
7f4aabf9b2ec3af7324ec4db20725f1889e84b57
[ "MIT" ]
1
2018-08-08T16:17:56.000Z
2018-12-07T14:24:00.000Z
src/goto_pose_server.py
daniel-s-ingram/roboarm
7f4aabf9b2ec3af7324ec4db20725f1889e84b57
[ "MIT" ]
1
2019-10-09T13:46:04.000Z
2019-10-09T13:46:04.000Z
#!/usr/bin/env python import sys import rospy import moveit_commander import moveit_msgs.msg import geometry_msgs.msg import tf.transformations from std_msgs.msg import Bool from roboarm.srv import PoseRequest, PoseRequestResponse def goto_pose_server(request): group.set_pose_target(request.pose) plan = group.plan()...
29.758621
111
0.816338
233
1,726
5.815451
0.412017
0.059041
0.041328
0.032472
0.057565
0.057565
0
0
0
0
0
0.058081
0.082271
1,726
58
112
29.758621
0.797348
0.186559
0
0
0
0
0.135387
0.048711
0
0
0
0
0
0
null
null
0
0.242424
null
null
0.121212
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71f15faa0f31ffb9181bc1fa2ef2c5fe1cf2fc87
1,313
py
Python
GA/ba-code/main/existing_code/ci.py
CN-UPB/fcapp
ca8708b74b84dcf29e966635e7ba91b31d358a52
[ "MIT" ]
null
null
null
GA/ba-code/main/existing_code/ci.py
CN-UPB/fcapp
ca8708b74b84dcf29e966635e7ba91b31d358a52
[ "MIT" ]
null
null
null
GA/ba-code/main/existing_code/ci.py
CN-UPB/fcapp
ca8708b74b84dcf29e966635e7ba91b31d358a52
[ "MIT" ]
1
2019-02-06T05:53:57.000Z
2019-02-06T05:53:57.000Z
#!/usr/bin/env python from scipy import stats from math import sqrt import numpy def ci_stat(sd, n, p=0.95): """ Computes a confidence interval sd: standard deviation n: sample size p: confidence level, e.g., 0.99, 0.95, 0.90 """ if n < 2 or int(n) != n: raise ValueError, 'ci: n m...
19.597015
56
0.583397
211
1,313
3.601896
0.398104
0.019737
0.063158
0.067105
0.213158
0.188158
0.188158
0.106579
0.106579
0.106579
0
0.047974
0.285605
1,313
66
57
19.893939
0.76226
0.171363
0
0
0
0
0.04375
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71f69e6cea625a5cff792110724ba6150d5020f3
10,985
py
Python
python/GafferSceneTest/SceneTestCase.py
danieldresser-ie/gaffer
78c22487156a5800fcca49a24f52451a8ac0c559
[ "BSD-3-Clause" ]
null
null
null
python/GafferSceneTest/SceneTestCase.py
danieldresser-ie/gaffer
78c22487156a5800fcca49a24f52451a8ac0c559
[ "BSD-3-Clause" ]
null
null
null
python/GafferSceneTest/SceneTestCase.py
danieldresser-ie/gaffer
78c22487156a5800fcca49a24f52451a8ac0c559
[ "BSD-3-Clause" ]
null
null
null
########################################################################## # # Copyright (c) 2012, John Haddon. All rights reserved. # Copyright (c) 2013, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that ...
38.679577
155
0.709968
1,104
10,985
7.020833
0.272645
0.042575
0.024771
0.015482
0.389498
0.342278
0.337634
0.318798
0.318798
0.294414
0
0.012135
0.18234
10,985
283
156
38.816254
0.850813
0.186891
0
0.335294
0
0
0.047374
0
0.005882
0
0
0
0.182353
0
null
null
0
0.035294
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71f74c0d3f0225dd40974a8b66c3ec9102c2961a
1,234
py
Python
asn1PERser/classes/types/builtin/BooleanType.py
erupikus/asn1PERser
11dc2985107a9fbba00bea83c1021d2665e8f193
[ "MIT" ]
3
2021-06-14T03:29:37.000Z
2021-11-15T09:45:11.000Z
asn1PERser/classes/types/builtin/BooleanType.py
erupikus/asn1PERser
11dc2985107a9fbba00bea83c1021d2665e8f193
[ "MIT" ]
null
null
null
asn1PERser/classes/types/builtin/BooleanType.py
erupikus/asn1PERser
11dc2985107a9fbba00bea83c1021d2665e8f193
[ "MIT" ]
null
null
null
from ..type import SimpleType from asn1PERser.classes.templates.creator import template_filler from asn1PERser.classes.module import already_filled_template class BooleanType(SimpleType): def __init__(self): super(BooleanType, self).__init__() self.typereference = self.__class__.__name__ def ...
42.551724
119
0.65235
134
1,234
5.477612
0.298507
0.152589
0.070845
0.069482
0.133515
0.133515
0.133515
0.133515
0.133515
0.133515
0
0.002237
0.275527
1,234
28
120
44.071429
0.818792
0
0
0
0
0
0.010535
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
71f8fcb180e9a3edc34ac9654cca54f8201f5fa1
9,501
py
Python
src/third_party/wiredtiger/test/suite/test_sweep01.py
EdwardPrentice/wrongo
1e7c9136f5fab7040b5bd5df51b4946876625c88
[ "Apache-2.0" ]
2
2021-08-19T12:41:45.000Z
2021-08-19T12:48:10.000Z
src/third_party/wiredtiger/test/suite/test_sweep01.py
EdwardPrentice/wrongo
1e7c9136f5fab7040b5bd5df51b4946876625c88
[ "Apache-2.0" ]
null
null
null
src/third_party/wiredtiger/test/suite/test_sweep01.py
EdwardPrentice/wrongo
1e7c9136f5fab7040b5bd5df51b4946876625c88
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Public Domain 2014-2016 MongoDB, Inc. # Public Domain 2008-2014 WiredTiger, Inc. # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a compil...
46.573529
78
0.584886
1,179
9,501
4.626802
0.255301
0.042163
0.04363
0.056095
0.465078
0.465078
0.465078
0.407883
0.303758
0.258112
0
0.042519
0.289548
9,501
203
79
46.802956
0.76563
0.286917
0
0.368
0
0
0.145796
0.023852
0
0
0
0
0.04
0
null
null
0
0.04
null
null
0.312
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71f9647be404682389881f0809da33112d9d05b1
895
py
Python
rasa/nlu/tokenizers/spacy_tokenizer.py
ntent/rasa
a7df9c1ecddb8cd03b090b4cd3e0229e78fd6f98
[ "Apache-2.0" ]
5
2019-06-06T08:59:15.000Z
2020-01-19T10:56:45.000Z
rasa/nlu/tokenizers/spacy_tokenizer.py
ntent/rasa
a7df9c1ecddb8cd03b090b4cd3e0229e78fd6f98
[ "Apache-2.0" ]
4
2020-01-28T22:44:05.000Z
2021-05-21T15:39:31.000Z
rasa/nlu/tokenizers/spacy_tokenizer.py
ntent/rasa
a7df9c1ecddb8cd03b090b4cd3e0229e78fd6f98
[ "Apache-2.0" ]
4
2019-05-19T21:19:32.000Z
2021-01-06T14:26:37.000Z
import typing from typing import Any from rasa.nlu.components import Component from rasa.nlu.config import RasaNLUModelConfig from rasa.nlu.tokenizers import Token, Tokenizer from rasa.nlu.training_data import Message, TrainingData if typing.TYPE_CHECKING: from spacy.tokens.doc import Doc class SpacyTokenizer(T...
27.121212
84
0.703911
114
895
5.45614
0.394737
0.051447
0.07074
0.067524
0
0
0
0
0
0
0
0
0.18324
895
32
85
27.96875
0.850889
0
0
0
0
0
0.053631
0
0
0
0
0
0
1
0.15
false
0
0.35
0.05
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9c01253fb1aa19f0ec234ea984d9e02ee0a6da0f
870
py
Python
pyfolio/tests/test_nbs.py
jameschristopher/pyfolio
774174ecdfe4011845ae1ca40ca162c26cb70233
[ "Apache-2.0" ]
1
2021-08-31T09:18:57.000Z
2021-08-31T09:18:57.000Z
pyfolio/tests/test_nbs.py
vikram-narayan/pyfolio
774174ecdfe4011845ae1ca40ca162c26cb70233
[ "Apache-2.0" ]
null
null
null
pyfolio/tests/test_nbs.py
vikram-narayan/pyfolio
774174ecdfe4011845ae1ca40ca162c26cb70233
[ "Apache-2.0" ]
1
2016-11-14T04:53:02.000Z
2016-11-14T04:53:02.000Z
#!/usr/bin/env python """ simple example script for running notebooks and reporting exceptions. Usage: `checkipnb.py foo.ipynb [bar.ipynb [...]]` Each cell is submitted to the kernel, and checked for errors. """ import os import glob from runipy.notebook_runner import NotebookRunner from pyfolio.utils import pyfolio_...
28.064516
69
0.655172
114
870
4.912281
0.614035
0.039286
0
0
0
0
0
0
0
0
0
0.001541
0.254023
870
30
70
29
0.861325
0.293103
0
0
0
0
0.054545
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9c01aaff899c708787ba8a5c2f4fae76c65ae4c6
750
py
Python
var/spack/repos/builtin/packages/phred/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/phred/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-11-09T20:28:40.000Z
2022-03-15T03:26:33.000Z
var/spack/repos/builtin/packages/phred/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-08T20:37:20.000Z
2019-03-31T15:19:26.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os from spack.package import * class Phred(MakefilePackage): """The phred software reads DNA sequencing trac...
31.25
96
0.718667
92
750
5.847826
0.836957
0.033457
0
0
0
0
0
0
0
0
0
0.090469
0.174667
750
23
97
32.608696
0.778675
0.405333
0
0
0
0
0.325581
0.202326
0
0
0
0
0
1
0.1
false
0
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9c0661533aad3a3d7fb6793e25aac8faf0724e04
8,665
py
Python
src/tests/testXmlEncoding.py
serg6854/feedvalidator
f6f42d640ff250e42fd5aaeb775e6c5e6d9ff941
[ "MIT" ]
65
2015-01-30T09:17:59.000Z
2022-03-05T16:23:46.000Z
src/tests/testXmlEncoding.py
serg6854/feedvalidator
f6f42d640ff250e42fd5aaeb775e6c5e6d9ff941
[ "MIT" ]
25
2015-01-30T09:23:28.000Z
2021-11-30T08:52:08.000Z
src/tests/testXmlEncoding.py
serg6854/feedvalidator
f6f42d640ff250e42fd5aaeb775e6c5e6d9ff941
[ "MIT" ]
33
2015-03-13T17:14:15.000Z
2022-03-05T11:18:43.000Z
#!/usr/bin/python """ Test XML character decoding against a range of encodings, valid and not.""" __author__ = "Joseph Walton <http://www.kafsemo.org/>" __version__ = "$Revision$" __copyright__ = "Copyright (c) 2004, 2006 Joseph Walton" import os, sys import codecs import re curdir = os.path.abspath(os.path.dirname...
29.273649
94
0.61985
1,118
8,665
4.778175
0.230769
0.037439
0.032946
0.023961
0.454324
0.346312
0.298577
0.274055
0.238487
0.20161
0
0.051179
0.19723
8,665
295
95
29.372881
0.716791
0.128102
0
0.232804
0
0.005291
0.270884
0.010207
0
0
0
0
0.015873
0
null
null
0
0.031746
null
null
0.05291
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9c06b8e062d9fc6a2896ebfd78bead830731d152
2,546
py
Python
ros/src/twist_controller/twist_controller.py
easselin/CarND-Capstone
cd02712d54f314a74fd605fdec3dddb5aea22986
[ "MIT" ]
null
null
null
ros/src/twist_controller/twist_controller.py
easselin/CarND-Capstone
cd02712d54f314a74fd605fdec3dddb5aea22986
[ "MIT" ]
null
null
null
ros/src/twist_controller/twist_controller.py
easselin/CarND-Capstone
cd02712d54f314a74fd605fdec3dddb5aea22986
[ "MIT" ]
null
null
null
from yaw_controller import YawController from pid import PID from lowpass import LowPassFilter import rospy GAS_DENSITY = 2.858 ONE_MPH = 0.44704 class Controller(object): def __init__(self, vehicle_mass, decel_limit, accel_limit, wheel_radius, wheel_base, steer_ratio, max_lat_accel,max_steer_angle): ...
35.859155
128
0.659859
348
2,546
4.617816
0.356322
0.043559
0.028002
0.023647
0.029869
0.029869
0
0
0
0
0
0.028525
0.270228
2,546
70
129
36.371429
0.836383
0.230951
0
0.044444
0
0
0
0
0
0
0
0.014286
0
1
0.044444
false
0.044444
0.088889
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9c0a10d596524cdeda35424238c7db1ff8291365
545
py
Python
examples/access-levels-write/access-levels-write.py
kylelaker/iam-floyd
cf71cd3cad556b1c2b831bf22ed3d9e8ba892569
[ "Apache-2.0" ]
360
2020-06-03T03:29:18.000Z
2022-03-31T04:58:13.000Z
examples/access-levels-write/access-levels-write.py
kylelaker/iam-floyd
cf71cd3cad556b1c2b831bf22ed3d9e8ba892569
[ "Apache-2.0" ]
75
2020-06-21T08:15:58.000Z
2022-03-25T15:03:04.000Z
examples/access-levels-write/access-levels-write.py
kylelaker/iam-floyd
cf71cd3cad556b1c2b831bf22ed3d9e8ba892569
[ "Apache-2.0" ]
13
2020-06-03T16:12:45.000Z
2022-03-31T05:05:48.000Z
import iam_floyd as statement import importlib import os import sys import inspect currentdir = os.path.dirname(os.path.abspath( inspect.getfile(inspect.currentframe()))) helperDir = '%s/../../helper/python' % currentdir sys.path.insert(0, helperDir) test = importlib.import_module('python_test') out = getattr(tes...
20.185185
52
0.682569
71
545
5.169014
0.56338
0.081744
0
0
0
0
0
0
0
0
0
0.004444
0.174312
545
26
53
20.961538
0.811111
0.124771
0
0
0
0
0.088795
0.046512
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9c0c67b35162deca353a4ee006ef45f4509f272b
6,926
py
Python
webapp/home/import_package.py
mother-db/ezEMLmotherDB
c6a6fba7587307e4f0c1a44b7f8c3c48ffdd0eff
[ "Apache-2.0" ]
null
null
null
webapp/home/import_package.py
mother-db/ezEMLmotherDB
c6a6fba7587307e4f0c1a44b7f8c3c48ffdd0eff
[ "Apache-2.0" ]
null
null
null
webapp/home/import_package.py
mother-db/ezEMLmotherDB
c6a6fba7587307e4f0c1a44b7f8c3c48ffdd0eff
[ "Apache-2.0" ]
1
2022-03-11T18:07:05.000Z
2022-03-11T18:07:05.000Z
import os import shutil from zipfile import ZipFile from flask import flash import webapp.auth.user_data as user_data from webapp.home.load_data_table import get_md5_hash from webapp.home.metapype_client import list_files_in_dir def check_ezeml_manifest(zipfile_name): zip_object = ZipFile(zipfile_name, 'r') ...
33.621359
93
0.657522
960
6,926
4.523958
0.194792
0.091181
0.050656
0.035459
0.33295
0.294957
0.262722
0.235321
0.159567
0.127792
0
0.011519
0.247906
6,926
205
94
33.785366
0.822231
0.470546
0
0.255814
0
0
0.028244
0.006152
0
0
0
0
0
1
0.046512
false
0.05814
0.093023
0
0.162791
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9c0ccc2cf3031c2e6c1def93237b2c0f0c304370
32,770
py
Python
tests/unit/test_download.py
epicfaace/pip
56b6fcc83b89a18b8f76727d5298c232d414bbea
[ "MIT" ]
null
null
null
tests/unit/test_download.py
epicfaace/pip
56b6fcc83b89a18b8f76727d5298c232d414bbea
[ "MIT" ]
null
null
null
tests/unit/test_download.py
epicfaace/pip
56b6fcc83b89a18b8f76727d5298c232d414bbea
[ "MIT" ]
null
null
null
import functools import hashlib import logging import os import shutil import sys from io import BytesIO from shutil import copy, rmtree from tempfile import mkdtemp import pytest from mock import Mock, patch import pip from pip._internal.download import ( CI_ENVIRONMENT_VARIABLES, MultiDomainBasicAuth, P...
33.541453
79
0.639457
4,022
32,770
4.990801
0.126305
0.027898
0.017436
0.006775
0.467543
0.357794
0.29049
0.252229
0.226224
0.195337
0
0.010186
0.233049
32,770
976
80
33.57582
0.788485
0.094141
0
0.268362
0
0
0.156032
0.017201
0
0
0
0
0.127119
1
0.100282
false
0.05226
0.028249
0.004237
0.165254
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9c0db24d991375c4a7df66941a25836a05fa107b
949
py
Python
Chapter11/exploring_mfs.py
HowToBeCalculated/Hands-On-Blockchain-for-Python-Developers
f9634259dd3dc509f36a5ccf3a5182c0d2ec79c4
[ "MIT" ]
62
2019-03-18T04:41:41.000Z
2022-03-31T05:03:13.000Z
Chapter11/exploring_mfs.py
HowToBeCalculated/Hands-On-Blockchain-for-Python-Developers
f9634259dd3dc509f36a5ccf3a5182c0d2ec79c4
[ "MIT" ]
2
2020-06-14T21:56:03.000Z
2022-01-07T05:32:01.000Z
Chapter11/exploring_mfs.py
HowToBeCalculated/Hands-On-Blockchain-for-Python-Developers
f9634259dd3dc509f36a5ccf3a5182c0d2ec79c4
[ "MIT" ]
42
2019-02-22T03:10:36.000Z
2022-02-20T04:47:04.000Z
import ipfsapi import io c = ipfsapi.connect() print("By default our MFS is empty.") print(c.files_ls('/')) # root is / just like Unix filesystem print("We can create a directory in our MFS.") c.files_mkdir('/classical_movies') print("We can create a file in our MFS.") c.files_write('/classical_movies/titanic', ...
26.361111
60
0.702845
155
949
4.167742
0.367742
0.083591
0.102167
0.060372
0.289474
0.160991
0.058824
0
0
0
0
0
0.153846
949
35
61
27.114286
0.804483
0.036881
0
0.083333
0
0
0.551535
0.154605
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
9c158994bc0afc8997aacc42f2a6ffe119289f07
869
py
Python
account/models.py
shubham2020/BakeryManagementApplication
305dcea334556fef31a8ff5dfb55144ca161d2f8
[ "MIT" ]
null
null
null
account/models.py
shubham2020/BakeryManagementApplication
305dcea334556fef31a8ff5dfb55144ca161d2f8
[ "MIT" ]
null
null
null
account/models.py
shubham2020/BakeryManagementApplication
305dcea334556fef31a8ff5dfb55144ca161d2f8
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver from rest_framework.authtoken.models import Token from bakery.models import BakeryItems class Orders(models.Model): user = models.ForeignKey(User, on_delet...
26.333333
70
0.754891
116
869
5.491379
0.456897
0.062794
0.065934
0.050235
0.072214
0.072214
0
0
0
0
0
0
0.150748
869
32
71
27.15625
0.863144
0
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.095238
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9c1823ac43db8c300b0588871a53acbe1014c600
1,809
py
Python
IPython/lib/tests/test_deepreload.py
chebee7i/ipython
85b169fa3afc3d374973295c7f1409ededddbaca
[ "BSD-3-Clause-Clear" ]
2
2015-02-10T18:00:31.000Z
2015-05-01T02:53:46.000Z
IPython/lib/tests/test_deepreload.py
chebee7i/ipython
85b169fa3afc3d374973295c7f1409ededddbaca
[ "BSD-3-Clause-Clear" ]
7
2021-02-08T20:22:15.000Z
2022-03-11T23:19:41.000Z
IPython/lib/tests/test_deepreload.py
chebee7i/ipython
85b169fa3afc3d374973295c7f1409ededddbaca
[ "BSD-3-Clause-Clear" ]
2
2016-12-19T02:27:46.000Z
2019-07-29T02:53:54.000Z
# -*- coding: utf-8 -*- """Test suite for the deepreload module.""" #----------------------------------------------------------------------------- # Imports #----------------------------------------------------------------------------- import os import nose.tools as nt from IPython.testing import decorators as dec ...
33.5
78
0.516307
191
1,809
4.790576
0.424084
0.060109
0.043716
0.030601
0.135519
0.135519
0
0
0
0
0
0.001426
0.224433
1,809
53
79
34.132075
0.650748
0.331122
0
0.0625
0
0
0.145062
0
0
0
0
0
0.0625
1
0.0625
false
0.03125
0.34375
0
0.40625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9c1dc24e60c2bcf7fe5d4aae925302c0fa2c861b
256
py
Python
ex060.py
jgabriel1607/Python
d6b75519eb8f0d4fef944e1690ba8914d81a5d16
[ "MIT" ]
null
null
null
ex060.py
jgabriel1607/Python
d6b75519eb8f0d4fef944e1690ba8914d81a5d16
[ "MIT" ]
null
null
null
ex060.py
jgabriel1607/Python
d6b75519eb8f0d4fef944e1690ba8914d81a5d16
[ "MIT" ]
null
null
null
print('Vamos realizar o fatorial: ') n = int(input('Digite um número inteiro: ')) c = n f = 1 print('{}! = '.format(n), end=' ') while c > 0: print(c, end=' ') print(' x ' if c > 1 else ' = ', end=' ') f *= c c -= 1 print(f) print('FIM!')
18.285714
45
0.496094
41
256
3.097561
0.560976
0.094488
0
0
0
0
0
0
0
0
0
0.021277
0.265625
256
13
46
19.692308
0.654255
0
0
0
0
0
0.282353
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
9c1f49f2f5e638628538439ec1fbab5f1731f9ec
888
py
Python
qsdl/simulator/observables.py
fire-uta/ir-simulation
a7a004ac141d2da97921e3143c2d61452746429f
[ "MIT" ]
1
2015-09-02T06:47:34.000Z
2015-09-02T06:47:34.000Z
qsdl/simulator/observables.py
fire-uta/ir-simulation
a7a004ac141d2da97921e3143c2d61452746429f
[ "MIT" ]
8
2015-01-07T09:02:05.000Z
2015-02-10T12:15:30.000Z
qsdl/simulator/observables.py
fire-uta/ir-simulation
a7a004ac141d2da97921e3143c2d61452746429f
[ "MIT" ]
null
null
null
''' Created on 17 Feb 2013 @author: teemu ''' from qsdl.simulator.events import Event class Observable: def __init__(self): self.observers = {}; def registerObserver(self, eventClass, observer): eventId = Event.getEventId( eventClass ) if not hasattr( self.observers, eventId...
26.117647
60
0.582207
84
888
6.107143
0.488095
0.177388
0.194932
0
0
0
0
0
0
0
0
0.011667
0.324324
888
33
61
26.909091
0.843333
0.042793
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.045455
0.045455
0
0.318182
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c1f7f89fadedc2e68dcf1d576e58c360c3b0865
3,817
py
Python
openpecha/work/__init__.py
OpenPoti/openpecha-toolkit
8599ea6bf5b1cb3ec6f22c608fab0cf8344c33b2
[ "Apache-2.0" ]
null
null
null
openpecha/work/__init__.py
OpenPoti/openpecha-toolkit
8599ea6bf5b1cb3ec6f22c608fab0cf8344c33b2
[ "Apache-2.0" ]
10
2019-09-09T13:29:31.000Z
2019-10-18T08:27:26.000Z
openpecha/work/__init__.py
OpenPecha/openpecha
73359686e2b3a703c6018aecbffe7adb4f485c88
[ "Apache-2.0" ]
null
null
null
"""OpenPecha Work This module contains OpenPecha Work data model and utils for creating work objects. """ import json from datetime import datetime from pathlib import Path from typing import Dict, List, Union from pydantic import BaseModel, validator from pydantic.networks import AnyHttpUrl from .. import config fr...
25.61745
78
0.617763
471
3,817
4.857749
0.237792
0.056818
0.022727
0.027535
0.145979
0.097902
0.039336
0.039336
0.039336
0.039336
0
0
0.287136
3,817
148
79
25.790541
0.840867
0.230548
0
0.114286
0
0
0.023792
0
0
0
0
0
0
1
0.1
false
0.014286
0.142857
0.014286
0.657143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9c220b20cc34be8aa2459e86441b9e1f3f360c14
3,797
py
Python
julio/safe_evaluate_policy.py
caburu/rl-baselines3-zoo
dca6a059b2dfc34ce7f24614d907f945c2990869
[ "MIT" ]
null
null
null
julio/safe_evaluate_policy.py
caburu/rl-baselines3-zoo
dca6a059b2dfc34ce7f24614d907f945c2990869
[ "MIT" ]
null
null
null
julio/safe_evaluate_policy.py
caburu/rl-baselines3-zoo
dca6a059b2dfc34ce7f24614d907f945c2990869
[ "MIT" ]
null
null
null
from stable_baselines3.common.vec_env import VecEnv, DummyVecEnv import numpy as np # O método `evaluate_policy` original da biblioteca chama `reset` duas vezes por # episódio se o ambiente passado usar DummyVecEnv (através da VecNormalize, por exemplo). # Isso me causou problemas ao fazer comparações com baselines. #...
46.876543
103
0.686068
502
3,797
5.053785
0.388446
0.049665
0.025621
0.01419
0.087505
0.068585
0.068585
0.036263
0.036263
0.036263
0
0.005891
0.239926
3,797
80
104
47.4625
0.873181
0.465894
0
0.046512
0
0
0.067045
0.011346
0
0
0
0.0125
0.046512
1
0.023256
false
0.023256
0.046512
0
0.116279
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9c2761c7f87b7d7bcdddabcac2201d9433d7fe0c
257
py
Python
DELETE.py
BeatrizFS/MongoDB-Python
a23741d5f58ccad50e6239c963f78759f92098ac
[ "MIT" ]
null
null
null
DELETE.py
BeatrizFS/MongoDB-Python
a23741d5f58ccad50e6239c963f78759f92098ac
[ "MIT" ]
null
null
null
DELETE.py
BeatrizFS/MongoDB-Python
a23741d5f58ccad50e6239c963f78759f92098ac
[ "MIT" ]
null
null
null
#DELETE from mongoengine.errors import DoesNotExist from Arquivo1 import Produto try: produto = Produto.objects(Nome="Tilápia").get() produto.delete() print("Produto deletado") except DoesNotExist: print("Produto não encontrado")
23.363636
52
0.715953
28
257
6.571429
0.642857
0.130435
0
0
0
0
0
0
0
0
0
0.004785
0.18677
257
10
53
25.7
0.875598
0.023346
0
0
0
0
0.1875
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c2b7a08716d6430ea0ab024996f244b3c8fc3d2
4,456
py
Python
tests/test_schema.py
lucasfcardozo/tornado-swirl
07b519e5edefd6052c78b9868351bf9d8c2dda82
[ "MIT" ]
23
2018-10-03T08:18:51.000Z
2019-12-13T22:07:01.000Z
tests/test_schema.py
lucasfcardozo/tornado-swirl
07b519e5edefd6052c78b9868351bf9d8c2dda82
[ "MIT" ]
18
2018-09-29T09:03:43.000Z
2019-12-16T18:32:03.000Z
tests/test_schema.py
lucasfcardozo/tornado-swirl
07b519e5edefd6052c78b9868351bf9d8c2dda82
[ "MIT" ]
9
2018-11-08T16:46:54.000Z
2019-12-13T22:15:59.000Z
#pylint: disable=all import tornado_swirl.swagger as swirl import tornado_swirl.settings as settings from tornado_swirl import api_routes from tornado.testing import AsyncHTTPTestCase, gen_test from tornado.web import RequestHandler import json class TestSampleEndpoints2(AsyncHTTPTestCase): def setUp(self): ...
30.731034
91
0.523115
431
4,456
5.317865
0.24826
0.056719
0.095986
0.08726
0.645724
0.628272
0.628272
0.628272
0.628272
0.628272
0
0.01171
0.329219
4,456
144
92
30.944444
0.755102
0.123205
0
0.534091
0
0
0.194164
0
0
0
0
0
0.295455
1
0.079545
false
0
0.068182
0.011364
0.238636
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c319995e9a44baa20b11dc6d7947c578fd0c3a9
563
py
Python
payloadprocessor/sqlmap - percentage.py
knassar702/community-scripts
8411f18b73f7feefadd86f99922e97afa8c0768d
[ "Apache-2.0" ]
629
2015-01-02T15:10:40.000Z
2022-03-29T07:05:21.000Z
payloadprocessor/sqlmap - percentage.py
knassar702/community-scripts
8411f18b73f7feefadd86f99922e97afa8c0768d
[ "Apache-2.0" ]
168
2015-05-11T00:53:33.000Z
2022-03-29T06:02:16.000Z
payloadprocessor/sqlmap - percentage.py
knassar702/community-scripts
8411f18b73f7feefadd86f99922e97afa8c0768d
[ "Apache-2.0" ]
241
2015-01-02T14:12:09.000Z
2022-03-28T07:20:16.000Z
import string def process(payload): retVal = payload if payload: retVal = "" i = 0 while i < len(payload): if payload[i] == '%' and (i < len(payload) - 2) and payload[i + 1:i + 2] in string.hexdigits and payload[i + 2:i + 3] in string.hexdigits: retVal +=...
24.478261
150
0.428064
66
563
3.651515
0.318182
0.232365
0.112033
0.124481
0
0
0
0
0
0
0
0.031847
0.442274
563
22
151
25.590909
0.735669
0
0
0.117647
0
0
0.010657
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.176471
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c32ba69b3075abe587987a7fe0df7185754e0b9
1,276
py
Python
api/serializers/explanation_serializers.py
tiveritz/sequence-api
ba0fb432028eaf878122e4d96d8b1ce234602e47
[ "MIT" ]
null
null
null
api/serializers/explanation_serializers.py
tiveritz/sequence-api
ba0fb432028eaf878122e4d96d8b1ce234602e47
[ "MIT" ]
null
null
null
api/serializers/explanation_serializers.py
tiveritz/sequence-api
ba0fb432028eaf878122e4d96d8b1ce234602e47
[ "MIT" ]
null
null
null
from rest_framework import serializers from ..models import Explanation class ExplanationSerializer(serializers.ModelSerializer): url = serializers.HyperlinkedIdentityField( view_name='explanation-detail', lookup_field='api_id',) class Meta: model = Explanation fields = ['api_...
31.121951
77
0.657524
126
1,276
6.531746
0.420635
0.036452
0.053463
0.09113
0.45322
0.45322
0.45322
0.45322
0.45322
0.45322
0
0
0.221787
1,276
40
78
31.9
0.828802
0.061129
0
0.461538
0
0
0.144082
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9c36334effe7ab382879a748b4dbaf876226f497
9,958
py
Python
anuga/structures/tests/test_inlet_operator.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
136
2015-05-07T05:47:43.000Z
2022-02-16T03:07:40.000Z
anuga/structures/tests/test_inlet_operator.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
184
2015-05-03T09:27:54.000Z
2021-12-20T04:22:48.000Z
anuga/structures/tests/test_inlet_operator.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
70
2015-03-18T07:35:22.000Z
2021-11-01T07:07:29.000Z
#!/usr/bin/env python from __future__ import division from past.utils import old_div import unittest import os.path import sys import numpy import anuga from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross from anuga.shallow_water.shallow_water_domain import Domain from anuga.abstract_2d_fini...
31.314465
107
0.516369
1,111
9,958
4.412241
0.180018
0.019584
0.029376
0.021216
0.707466
0.676051
0.662179
0.662179
0.649735
0.649735
0
0.063789
0.371862
9,958
317
108
31.413249
0.719904
0.129645
0
0.59322
0
0
0.035341
0.013737
0
0
0
0
0.045198
1
0.050847
false
0.033898
0.084746
0
0.158192
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c39e1fe6fbefd3f6fd4cd97812bfd7d4a048e5b
4,527
py
Python
tools/accuracy_checker/accuracy_checker/presenters.py
shinh/dldt
693ab4e79a428e0801f17f4511b129a3fa8f4a62
[ "Apache-2.0" ]
1
2021-02-20T21:48:36.000Z
2021-02-20T21:48:36.000Z
tools/accuracy_checker/accuracy_checker/presenters.py
erinpark33/dldt
edd86d090592f7779f4dbb2681546e1f4e81284f
[ "Apache-2.0" ]
null
null
null
tools/accuracy_checker/accuracy_checker/presenters.py
erinpark33/dldt
edd86d090592f7779f4dbb2681546e1f4e81284f
[ "Apache-2.0" ]
1
2021-02-19T01:06:12.000Z
2021-02-19T01:06:12.000Z
""" Copyright (c) 2019 Intel Corporation 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,...
36.508065
119
0.686547
537
4,527
5.58473
0.275605
0.064021
0.046015
0.024008
0.331777
0.230077
0.21874
0.203401
0.178059
0.178059
0
0.010408
0.214712
4,527
123
120
36.804878
0.833193
0.124365
0
0.153846
0
0
0.06547
0
0
0
0
0
0
1
0.089744
false
0.051282
0.064103
0
0.333333
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9c3c7d6666cf4a5180b7ce43777c0f764d58edf7
800
py
Python
src/ocspdash/web/extension.py
scolby33/OCSPdash
3eac8841e93ee50f3199ed685fd54eef372e21a3
[ "MIT" ]
null
null
null
src/ocspdash/web/extension.py
scolby33/OCSPdash
3eac8841e93ee50f3199ed685fd54eef372e21a3
[ "MIT" ]
44
2017-08-16T10:28:51.000Z
2021-04-30T20:46:12.000Z
src/ocspdash/web/extension.py
scolby33/OCSPdash
3eac8841e93ee50f3199ed685fd54eef372e21a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """An extension of Flask-SQLAlchemy to support the OCSPdash manager.""" from flask import Flask from flask_sqlalchemy import SQLAlchemy, get_state from ocspdash.manager import Manager __all__ = ['OCSPSQLAlchemy'] class OCSPSQLAlchemy(SQLAlchemy): """An extension of Flask-SQLAlchemy to ...
23.529412
75
0.66
100
800
5.18
0.34
0.086873
0.050193
0.069498
0.289575
0.289575
0.212355
0.212355
0.212355
0.212355
0
0.001634
0.235
800
33
76
24.242424
0.844771
0.34
0
0
0
0
0.029598
0
0
0
0
0
0
1
0.166667
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9c4706c9adf0626dbb2999df6c73e2cef7f04fc7
385
py
Python
Python Basic/Week 2/8. Object Oriented Python/overriding.py
nomancseku/NSL-HW
9a130a97ce0909cff93a77378f95e44c69a8bc7c
[ "MIT" ]
1
2020-11-29T20:02:08.000Z
2020-11-29T20:02:08.000Z
Python Basic/Week 2/8. Object Oriented Python/overriding.py
nomancseku/NSL-RA-Training
9a130a97ce0909cff93a77378f95e44c69a8bc7c
[ "MIT" ]
1
2020-10-25T18:59:03.000Z
2020-10-25T18:59:21.000Z
Python Basic/Week 2/8. Object Oriented Python/overriding.py
nomancseku/NSL-RA-Training
9a130a97ce0909cff93a77378f95e44c69a8bc7c
[ "MIT" ]
null
null
null
class Monster: def __init__(self, name, color): self.name = name self.color = color def attack(self): print('I am attacking...') class Fogthing(Monster): def attack(self): print('I am killing...') def make_sound(self): print('Grrrrrrrrrr\n') fogthing = Fogth...
19.25
41
0.612987
46
385
5
0.413043
0.117391
0.113043
0.156522
0.182609
0.182609
0
0
0
0
0
0
0.244156
385
20
42
19.25
0.790378
0
0
0.142857
0
0
0.15285
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9c4a73483fa82066015281efd07865a40153147c
628
py
Python
biostar/forum/migrations/0012_delete_sync.py
tangibleai/biostar-central
8c1cce4d3d95d49071db8ec225aa88a66b0b3910
[ "MIT" ]
477
2015-01-01T00:18:54.000Z
2022-03-21T10:29:29.000Z
biostar/forum/migrations/0012_delete_sync.py
coreydipsy/biostar-central
2b2f09199a6332877885ef54d9ac588ed0765770
[ "MIT" ]
247
2015-01-02T08:12:03.000Z
2022-02-24T15:20:58.000Z
biostar/forum/migrations/0012_delete_sync.py
coreydipsy/biostar-central
2b2f09199a6332877885ef54d9ac588ed0765770
[ "MIT" ]
251
2015-01-01T16:05:57.000Z
2022-03-25T21:32:44.000Z
# Generated by Django 3.1 on 2021-02-13 21:36 from django.db import migrations from django.template.defaultfilters import slugify def badge_uids(apps, schema_editor): """ Change badge uids to it's name """ Badge = apps.get_model('forum', 'Badge') badges = Badge.objects.all() for badge in ba...
18.470588
50
0.622611
74
628
5.202703
0.662162
0.07013
0
0
0
0
0
0
0
0
0
0.038877
0.262739
628
33
51
19.030303
0.792657
0.119427
0
0
1
0
0.063315
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c4f652865a78614047e339c5f18affa70ce88b6
2,102
py
Python
tests/unittests/utils/test_immutabletypes.py
buddwm/hubble
b384ee48556ca144ae6f09dd0b45db29288e5293
[ "Apache-2.0" ]
363
2017-01-10T22:02:47.000Z
2022-03-21T10:44:40.000Z
tests/unittests/utils/test_immutabletypes.py
buddwm/hubble
b384ee48556ca144ae6f09dd0b45db29288e5293
[ "Apache-2.0" ]
439
2017-01-12T22:39:42.000Z
2021-10-11T18:43:28.000Z
tests/unittests/utils/test_immutabletypes.py
buddwm/hubble
b384ee48556ca144ae6f09dd0b45db29288e5293
[ "Apache-2.0" ]
138
2017-01-05T22:10:59.000Z
2021-09-01T14:35:00.000Z
# -*- coding: utf-8 -*- ''' :codeauthor: Pedro Algarvio (pedro@algarvio.me) tests.unit.utils.immutabletypes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test hubblestack.utils.immutabletypes ''' from tests.support.unit import TestCase import hubblestack.utils.immutabletypes as immutabletypes class ImmutableTy...
26.607595
57
0.50333
249
2,102
4.084337
0.220884
0.019666
0.157325
0.228122
0.548673
0.489676
0.482793
0.482793
0.423795
0.283186
0
0.092115
0.354424
2,102
78
58
26.948718
0.657332
0.083254
0
0.407407
0
0
0
0
0
0
0
0
0.222222
1
0.074074
false
0
0.037037
0
0.12963
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c557b29fb76a051ed0a85d89ad5eb490c637c1a
636
py
Python
pyccel/stdlib/external/fitpack.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
pyccel/stdlib/external/fitpack.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
pyccel/stdlib/external/fitpack.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
#$ header metavar print=True from pyccel.stdlib.internal.fitpack import bispev #$ header function bispev2(double[:] , int, double[:], int, double[:], int, int, double[:], int, double[:], int, double[:,:], int) def bispev2(tx, nx, ty, ny, c, kx, ky, x, mx, y, my, z, ierr): from numpy import empty lwrk = mx*...
31.8
142
0.589623
111
636
3.369369
0.342342
0.144385
0.160428
0.192513
0.259358
0.251337
0.106952
0.106952
0.106952
0.106952
0
0.009901
0.205975
636
19
143
33.473684
0.730693
0.466981
0
0
0
0
0.008929
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c5f84a9dbc37ba49a708c1651da13770f8d5050
9,433
py
Python
contents/LakshmiLexicon.py
jakenjarvis/Lakshmi
de805f7488c1a6b3a4e0d3804be7ecd6c814b446
[ "Apache-2.0" ]
1
2020-08-24T01:31:20.000Z
2020-08-24T01:31:20.000Z
contents/LakshmiLexicon.py
jakenjarvis/Lakshmi
de805f7488c1a6b3a4e0d3804be7ecd6c814b446
[ "Apache-2.0" ]
null
null
null
contents/LakshmiLexicon.py
jakenjarvis/Lakshmi
de805f7488c1a6b3a4e0d3804be7ecd6c814b446
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import re import random import math import datetime import pytz import discord # NOTE: キャラ設定:セリフ少な目で、おとなしい感じの、点々多めで、言い切りタイプ。 # 柔らかいイメージ。林檎好き。 # 一人称は「私」、相手の呼び方は「あなた」、語尾が「~ね」 # -----------------------------------------------------------------------...
46.240196
118
0.584544
1,128
9,433
5.16844
0.281028
0.046827
0.0494
0.052144
0.442196
0.389537
0.31578
0.251801
0.161921
0.125901
0
0.014401
0.227075
9,433
203
119
46.46798
0.713482
0.173646
0
0.144
0
0.016
0.292398
0.27698
0
0
0
0
0
1
0.128
false
0
0.048
0.104
0.336
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9c61ec297d4d90fdff9203e52cb8b3823aeb786a
4,007
py
Python
examples/cherry/wsgi.py
florath/spyne-1
88d7b9b9020d5067b80927a30e229c3c5d64af85
[ "BSD-3-Clause" ]
null
null
null
examples/cherry/wsgi.py
florath/spyne-1
88d7b9b9020d5067b80927a30e229c3c5d64af85
[ "BSD-3-Clause" ]
null
null
null
examples/cherry/wsgi.py
florath/spyne-1
88d7b9b9020d5067b80927a30e229c3c5d64af85
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # encoding: utf8 # # Copyright © Burak Arslan <burak at arskom dot com dot tr>, # Arskom Ltd. http://www.arskom.com.tr # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are ...
40.474747
80
0.71999
547
4,007
5.234004
0.493601
0.015718
0.011876
0.016067
0.064268
0.047503
0.047503
0.047503
0.047503
0.047503
0
0.002851
0.212129
4,007
98
81
40.887755
0.903706
0.711255
0
0
0
0
0.043851
0.023832
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9c673aa4cfc7bbcef7ab71d8d18bf9a3181c4702
368
py
Python
firstrun.py
dmikushin/simple_print_server
28a7c75621b9946378462413ec0110dfbbb98f7d
[ "MIT" ]
1
2020-10-15T09:39:05.000Z
2020-10-15T09:39:05.000Z
firstrun.py
dmikushin/simple_print_server
28a7c75621b9946378462413ec0110dfbbb98f7d
[ "MIT" ]
6
2016-11-14T21:08:58.000Z
2020-10-16T23:13:41.000Z
firstrun.py
dmikushin/simple_print_server
28a7c75621b9946378462413ec0110dfbbb98f7d
[ "MIT" ]
1
2020-10-16T16:15:40.000Z
2020-10-16T16:15:40.000Z
#!/usr/bin/env python import os from config import DATABASE_PATH from simple_print_server.database import init_db def create_db_if_not_created(): if not os.path.exists(DATABASE_PATH): print("Creating database") init_db() else: print("Database already exists, nothing to do") if __name_...
23
55
0.717391
53
368
4.566038
0.54717
0.061983
0.082645
0.107438
0.165289
0
0
0
0
0
0
0
0.192935
368
15
56
24.533333
0.814815
0.054348
0
0
0
0
0.181556
0
0
0
0
0
0
1
0.090909
true
0
0.272727
0
0.363636
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9c683fea16e5c5fde693aab272c719ea03ff938d
1,868
py
Python
utils/inout.py
joeljunior05/microspheres-sbrt
b8a0d67b3346a280c9783d8c7599f17eec243145
[ "MIT" ]
1
2020-05-07T09:36:02.000Z
2020-05-07T09:36:02.000Z
utils/inout.py
joeljunior05/microspheres-sbrt
b8a0d67b3346a280c9783d8c7599f17eec243145
[ "MIT" ]
null
null
null
utils/inout.py
joeljunior05/microspheres-sbrt
b8a0d67b3346a280c9783d8c7599f17eec243145
[ "MIT" ]
null
null
null
from os import listdir from os.path import join, isfile class InOutLoop: """ This class implements a loop that will iterate on every file in an 'input_folder': - For every file in 'input_folder' it calls a function that was registered by 'on_input' method; - The result of that function is passed to 'o...
33.357143
109
0.627409
252
1,868
4.488095
0.293651
0.068081
0.05305
0.034483
0.051282
0.051282
0
0
0
0
0
0.00147
0.271413
1,868
55
110
33.963636
0.829537
0.192184
0
0
0
0
0.038592
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.029412
0.382353
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9c6aa4c8438506a39803a2e89922e2f9870842ab
36,022
py
Python
dashboard/dashboard/update_bug_with_results_test.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/update_bug_with_results_test.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/update_bug_with_results_test.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
1
2020-07-24T05:13:01.000Z
2020-07-24T05:13:01.000Z
# Copyright 2016 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. import copy import datetime import json import time import unittest import mock import webapp2 import webtest from dashboard import bisect_fyi from dashboa...
41.168
2,021
0.686691
4,050
36,022
5.800741
0.148395
0.036777
0.046482
0.071511
0.653897
0.619461
0.611544
0.600306
0.576044
0.566807
0
0.042699
0.189912
36,022
874
2,022
41.215103
0.76238
0.040392
0
0.57956
0
0.003881
0.243996
0.070574
0
0
0
0
0.063389
1
0.045278
false
0
0.025873
0.001294
0.076326
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c71c5e2d2d88979a01341bb29f100da9b960e94
15,588
py
Python
Tests/pens/pointPen_test.py
twardoch/fonttools-py27
75b852d3f59fc0d03c6e78581530597d4c6368a1
[ "MIT", "BSD-3-Clause" ]
240
2021-01-11T14:49:24.000Z
2022-03-29T22:33:49.000Z
Tests/pens/pointPen_test.py
twardoch/fonttools-py27
75b852d3f59fc0d03c6e78581530597d4c6368a1
[ "MIT", "BSD-3-Clause" ]
77
2021-01-12T20:23:30.000Z
2022-03-28T12:14:34.000Z
Tests/pens/pointPen_test.py
twardoch/fonttools-py27
75b852d3f59fc0d03c6e78581530597d4c6368a1
[ "MIT", "BSD-3-Clause" ]
28
2021-01-17T05:44:11.000Z
2022-01-11T19:58:46.000Z
from __future__ import print_function, division, absolute_import from fontTools.misc.py23 import * from fontTools.misc.loggingTools import CapturingLogHandler import unittest from fontTools.pens.basePen import AbstractPen from fontTools.pens.pointPen import AbstractPointPen, PointToSegmentPen, \ SegmentToPointPen,...
37.743341
97
0.532333
1,554
15,588
5.278636
0.07722
0.048275
0.032183
0.044862
0.778618
0.719859
0.67841
0.627697
0.547726
0.521029
0
0.070776
0.319284
15,588
412
98
37.834951
0.70229
0
0
0.632312
0
0.002786
0.205543
0.006159
0
0
0
0
0.066852
1
0.111421
false
0
0.016713
0.005571
0.153203
0.002786
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1