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
c5cf54b8bda6147f293a44fdca91bd99c874cc46
3,374
py
Python
django/currencies/migrations/0002_initial.py
AngelOnFira/megagame-controller
033fec84babf80ffd0868a0f7d946ac4c18b061c
[ "MIT" ]
null
null
null
django/currencies/migrations/0002_initial.py
AngelOnFira/megagame-controller
033fec84babf80ffd0868a0f7d946ac4c18b061c
[ "MIT" ]
1
2022-03-03T21:56:12.000Z
2022-03-03T21:56:12.000Z
django/currencies/migrations/0002_initial.py
AngelOnFira/megagame-controller
033fec84babf80ffd0868a0f7d946ac4c18b061c
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-20 23:06 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ("teams", "0001_initial"), ("players", "0001_initial"), ("discord_models", "0001_initial")...
31.240741
70
0.508595
284
3,374
5.862676
0.207746
0.043243
0.124324
0.145946
0.75976
0.75976
0.687688
0.687688
0.567568
0.567568
0
0.015019
0.388263
3,374
107
71
31.53271
0.791667
0.013337
0
0.71
1
0
0.174031
0.066727
0
0
0
0
0
1
0
false
0
0.02
0
0.06
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c5e3cb7db018a404603f3f76dc6f607c3dc8a323
47,691
py
Python
code/active.py
tarmeens/active-deep-parsing
77a511e2b3f5f74cb911061797b020bd5c846570
[ "MIT" ]
2
2018-06-20T16:10:52.000Z
2018-07-16T21:03:47.000Z
code/active.py
tarmeens/active-deep-parsing
77a511e2b3f5f74cb911061797b020bd5c846570
[ "MIT" ]
null
null
null
code/active.py
tarmeens/active-deep-parsing
77a511e2b3f5f74cb911061797b020bd5c846570
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ DHLAB - IC - EPFL This file contains functions for uncertainty sampling active learning. Important note for fist-time users: this file is an extension of models.py and utils.py. Please check them out first! author: Mattia Martinelli date: 08/06/2018 """ #...
49.781837
149
0.642679
6,372
47,691
4.59479
0.0871
0.01578
0.010759
0.011613
0.737209
0.719892
0.705957
0.688811
0.671187
0.65206
0
0.011953
0.27198
47,691
958
150
49.781837
0.831308
0.337925
0
0.608611
0
0
0.056133
0.001753
0
0
0
0.001044
0.011742
1
0.011742
false
0.001957
0.041096
0
0.060665
0.072407
0
0
0
null
0
0
0
0
1
1
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
3
c5f341976dcff16eb86b4a3fc138156fa21c68a9
393
py
Python
ffa/accounts/models.py
kschweizer/fresnofieldarchers
c044ff5bea66289124d23c4955454749029319e4
[ "MIT" ]
null
null
null
ffa/accounts/models.py
kschweizer/fresnofieldarchers
c044ff5bea66289124d23c4955454749029319e4
[ "MIT" ]
7
2020-06-21T03:53:27.000Z
2022-02-14T22:53:42.000Z
ffa/accounts/models.py
kschweizer/fresnofieldarchers
c044ff5bea66289124d23c4955454749029319e4
[ "MIT" ]
null
null
null
from django.contrib.auth.models import AbstractUser from django.db import models import uuid def user_email(instance, filename): return 'users/user_{0}/{1}'.format(instance.user, filename) # Create your models here. class Member(AbstractUser): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editabl...
39.3
79
0.778626
55
393
5.472727
0.690909
0.066445
0
0
0
0
0
0
0
0
0
0.008596
0.111959
393
10
80
39.3
0.853868
0.061069
0
0
0
0
0.048913
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
1
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
1
1
0
0
3
680d7be5c74ae7e121072f17cdb11a8624fc8c38
190
py
Python
tests/__init__.py
tb0hdan/voiceplay
3e35a25cfcf982a3871cf0d819bae4374ee31ecf
[ "Unlicense" ]
2
2017-03-22T10:02:07.000Z
2020-08-02T11:56:47.000Z
tests/__init__.py
tb0hdan/twigator_project
775f213cff8b122c7e79b0cd420aeb814193e73e
[ "BSD-3-Clause" ]
69
2016-12-10T22:27:47.000Z
2017-12-14T05:15:43.000Z
tests/__init__.py
tb0hdan/twigator_project
775f213cff8b122c7e79b0cd420aeb814193e73e
[ "BSD-3-Clause" ]
null
null
null
import unittest def mytestrunner(tc): alltests = unittest.TestSuite([unittest.TestLoader().loadTestsFromTestCase(s) for s in tc]) unittest.TextTestRunner(verbosity=2).run(alltests)
31.666667
95
0.773684
22
190
6.681818
0.727273
0
0
0
0
0
0
0
0
0
0
0.005917
0.110526
190
5
96
38
0.863905
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
680e4e8c42d7a6ebe0e085174eca520c345f7232
952
py
Python
user/vistas/templates/votacion.py
ZerpaTechnology/occoa
a8c0bd2657bc058801a883109c0ec0d608d04ccc
[ "Apache-2.0" ]
null
null
null
user/vistas/templates/votacion.py
ZerpaTechnology/occoa
a8c0bd2657bc058801a883109c0ec0d608d04ccc
[ "Apache-2.0" ]
null
null
null
user/vistas/templates/votacion.py
ZerpaTechnology/occoa
a8c0bd2657bc058801a883109c0ec0d608d04ccc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- print '''<!DOCTYPE html><html>''' incluir(data,"head") print '''<body class="container-fluid sin-marg pad-r08 pad-l08 ff">''' incluir(data,"header") print '''''' incluir(data,"hero") print '''<section class="row"><div class="col-md-12"><div class="text-center bg-ubuntu_jet"> <div> <input type="...
73.230769
427
0.677521
130
952
4.946154
0.507692
0.083981
0.087092
0.083981
0.197512
0.197512
0.197512
0.136858
0
0
0
0.010169
0.070378
952
12
428
79.333333
0.716384
0.022059
0
0
0
0.181818
0.82239
0.361679
0
0
0
0
0
0
null
null
0
0
null
null
0.636364
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
1
0
0
0
0
0
0
1
0
3
a83b4352002f5259f76291921bac626b9064a4c6
206
py
Python
robotoy/components/searchlight.py
youwen5/robotoy
3a7c8465cd332f520e911be654be2d2d54fa0ccb
[ "MIT" ]
null
null
null
robotoy/components/searchlight.py
youwen5/robotoy
3a7c8465cd332f520e911be654be2d2d54fa0ccb
[ "MIT" ]
null
null
null
robotoy/components/searchlight.py
youwen5/robotoy
3a7c8465cd332f520e911be654be2d2d54fa0ccb
[ "MIT" ]
null
null
null
from gpiozero import RGBLED from . import pins from ..singleton import singleton @singleton class SearchLight(RGBLED): def __init__(self): super().__init__(pins.LED_R, pins.LED_G, pins.LED_B)
20.6
60
0.737864
29
206
4.862069
0.551724
0.148936
0
0
0
0
0
0
0
0
0
0
0.165049
206
9
61
22.888889
0.819767
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a84cbd734fb0adfbd3ccba3169f4eebe7b8d8fb8
171
py
Python
Resources/Enums.py
HeroicosHM/NAUDiscordVerification
93c46a9098228ffee24c90cc57fc9896ebaf0d34
[ "MIT" ]
1
2020-07-31T09:13:42.000Z
2020-07-31T09:13:42.000Z
Resources/Enums.py
HeroicosHM/NAUDiscordVerification
93c46a9098228ffee24c90cc57fc9896ebaf0d34
[ "MIT" ]
null
null
null
Resources/Enums.py
HeroicosHM/NAUDiscordVerification
93c46a9098228ffee24c90cc57fc9896ebaf0d34
[ "MIT" ]
null
null
null
from enum import Enum # Simple enum to force player type to either be casual or competitive class PlayerType(Enum): Casual = 'casual' Competitive = 'competitive'
24.428571
69
0.74269
23
171
5.521739
0.652174
0
0
0
0
0
0
0
0
0
0
0
0.19883
171
6
70
28.5
0.927007
0.391813
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a865a5db1f3090d86d004389554eb2824ef0a3e0
202
py
Python
rest/rest/urls.py
piwnk/ecb-currencies-fetch
77a8630d0a54854d2b475ac05580ebb9ec4406c3
[ "MIT" ]
null
null
null
rest/rest/urls.py
piwnk/ecb-currencies-fetch
77a8630d0a54854d2b475ac05580ebb9ec4406c3
[ "MIT" ]
null
null
null
rest/rest/urls.py
piwnk/ecb-currencies-fetch
77a8630d0a54854d2b475ac05580ebb9ec4406c3
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from restapp import views urlpatterns = [ path('admin/', admin.site.urls), path('', include('restapp.urls')), ]
20.2
39
0.673267
25
202
5.44
0.48
0.147059
0
0
0
0
0
0
0
0
0
0
0.19802
202
9
40
22.444444
0.839506
0
0
0
0
0
0.093264
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a88d852fd42c47800b549b9625af15e65db5627c
4,580
py
Python
venv/lib/python3.7/site-packages/MDAnalysis/transformations/wrap.py
dtklinh/GBRDE
c87fada492f24943d7d6b6ecda61c67f41d5bf83
[ "MIT" ]
2
2021-03-04T16:57:06.000Z
2021-08-11T01:42:29.000Z
venv/lib/python3.7/site-packages/MDAnalysis/transformations/wrap.py
dtklinh/GBRDE
c87fada492f24943d7d6b6ecda61c67f41d5bf83
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/MDAnalysis/transformations/wrap.py
dtklinh/GBRDE
c87fada492f24943d7d6b6ecda61c67f41d5bf83
[ "MIT" ]
null
null
null
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 # # MDAnalysis --- https://www.mdanalysis.org # Copyright (c) 2006-2017 The MDAnalysis Development Team and contributors # (see the file AUTHORS for the full list of names) # # Released under t...
30.738255
80
0.54345
529
4,580
4.6862
0.47448
0.02259
0.026624
0.015732
0.19766
0.086325
0.086325
0.045986
0.045986
0.045986
0
0.026705
0.321397
4,580
148
81
30.945946
0.770914
0.802402
0
0.352941
0
0
0.04428
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a8965f62e72384c8b9369d29d715fa8ae7318a10
226
py
Python
checkout/urls.py
mahanfarzaneh2000/DjangoEcommerce
f844f60fd4eac6c7513196037cd908df3ba01983
[ "CC0-1.0" ]
1
2020-11-01T11:35:12.000Z
2020-11-01T11:35:12.000Z
checkout/urls.py
mahanfarzaneh2000/DjangoEcommerce
f844f60fd4eac6c7513196037cd908df3ba01983
[ "CC0-1.0" ]
null
null
null
checkout/urls.py
mahanfarzaneh2000/DjangoEcommerce
f844f60fd4eac6c7513196037cd908df3ba01983
[ "CC0-1.0" ]
null
null
null
from django.urls import path from .views import CheckoutView , SubmitPromoView urlpatterns = [ path('', CheckoutView.as_view() , name='checkout'), path('Promo-submit',SubmitPromoView.as_view(),name ='promo-submit'), ]
32.285714
72
0.725664
26
226
6.230769
0.576923
0.074074
0.123457
0
0
0
0
0
0
0
0
0
0.123894
226
7
73
32.285714
0.818182
0
0
0
0
0
0.140969
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a8b0b0058eb68a0f7f90fbc17bd3044ac1982af6
202
py
Python
tractseg/experiments/dm_reg_lowres.py
inaccel/TractSeg
cc9feefd71ba9fcfacc4d3a7656f1a77bab9a287
[ "Apache-2.0" ]
148
2017-11-09T10:28:15.000Z
2022-03-30T16:45:24.000Z
tractseg/experiments/dm_reg_lowres.py
inaccel/TractSeg
cc9feefd71ba9fcfacc4d3a7656f1a77bab9a287
[ "Apache-2.0" ]
170
2018-06-25T17:33:27.000Z
2022-03-17T12:42:21.000Z
tractseg/experiments/dm_reg_lowres.py
inaccel/TractSeg
cc9feefd71ba9fcfacc4d3a7656f1a77bab9a287
[ "Apache-2.0" ]
57
2018-05-21T00:10:56.000Z
2022-03-30T02:56:39.000Z
from tractseg.experiments.base_legacy.dm_reg_legacy import Config as DmRegConfig class Config(DmRegConfig): DATASET = "HCP_32g" RESOLUTION = "2.5mm" FEATURES_FILENAME = "32g_25mm_peaks"
20.2
80
0.757426
26
202
5.615385
0.846154
0
0
0
0
0
0
0
0
0
0
0.047337
0.163366
202
9
81
22.444444
0.816568
0
0
0
0
0
0.129353
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
766e873236e512511ee845050ba334664937c0c7
620
py
Python
books/python-3-oop-packt/Chapter12/12_05_skipping_tests.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
73
2016-09-15T23:07:04.000Z
2022-03-05T15:09:48.000Z
books/python-3-oop-packt/Chapter12/12_05_skipping_tests.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
34
2019-12-16T16:53:24.000Z
2022-01-13T02:29:30.000Z
books/python-3-oop-packt/Chapter12/12_05_skipping_tests.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
51
2016-10-07T20:47:51.000Z
2021-12-22T21:00:24.000Z
import unittest import sys class SkipTests(unittest.TestCase): @unittest.expectedFailure def test_fails(self): self.assertEqual(False, True) @unittest.skip("Test is useless") def test_skip(self): self.assertEqual(False, True) @unittest.skipIf(sys.version_info.minor == 4, ...
24.8
58
0.658065
73
620
5.410959
0.452055
0.070886
0.192405
0.243038
0.344304
0.273418
0
0
0
0
0
0.006237
0.224194
620
24
59
25.833333
0.814969
0
0
0.210526
0
0
0.101613
0
0
0
0
0
0.210526
1
0.210526
false
0
0.105263
0
0.368421
0
0
0
0
null
0
1
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
1
0
0
0
0
0
0
0
3
766edd163148fb3ce2a73f8bdc17845525f03709
2,688
py
Python
flaskbog/models.py
MuthangaShem/flask-blog
5b32bcd0c8592763f871a1c421ecf0f0ea7adc14
[ "MIT" ]
null
null
null
flaskbog/models.py
MuthangaShem/flask-blog
5b32bcd0c8592763f871a1c421ecf0f0ea7adc14
[ "MIT" ]
null
null
null
flaskbog/models.py
MuthangaShem/flask-blog
5b32bcd0c8592763f871a1c421ecf0f0ea7adc14
[ "MIT" ]
null
null
null
from flask.ext.sqlalchemy import SQLAlchemy from werkzeug import generate_password_hash, check_password_hash from flaskblog import app from config import WHOOSH_ENABLED from math import ceil db = SQLAlchemy(app) class Admin(db.Model): __tablename__ = 'admin' id = db.Column(db.Integer, primary_key=True) u...
25.121495
94
0.599702
352
2,688
4.352273
0.272727
0.065274
0.045692
0.023499
0.144256
0.064621
0.064621
0.064621
0
0
0
0.009911
0.28683
2,688
106
95
25.358491
0.789254
0
0
0.144737
1
0
0.043155
0
0
0
0
0
0
1
0.197368
false
0.013158
0.078947
0.131579
0.618421
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
1
1
0
0
3
7676d462ee542ed87de95de7c08ee86a04763486
272
py
Python
ds/linklist/node.py
BizShuk/code_algo
1964a16ba382b360d85937b65b8acd51c1eb5418
[ "MIT" ]
null
null
null
ds/linklist/node.py
BizShuk/code_algo
1964a16ba382b360d85937b65b8acd51c1eb5418
[ "MIT" ]
null
null
null
ds/linklist/node.py
BizShuk/code_algo
1964a16ba382b360d85937b65b8acd51c1eb5418
[ "MIT" ]
null
null
null
class Node(object): """Docstring for Node. """ def __init__(self,val , next=None): """TODO: to be defined1. """ self.next = next if next is not None self.val = val def isCircle(self): pass def length(self): pass
18.133333
44
0.536765
35
272
4.057143
0.6
0.098592
0
0
0
0
0
0
0
0
0
0.005556
0.338235
272
14
45
19.428571
0.783333
0
0
0.25
0
0
0
0
0
0
0
0.071429
0
0
null
null
0.25
0
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
1
0
1
0
0
1
0
0
0
0
0
3
768264c563fd0507706f9581b69eab3475ef4389
131
py
Python
train.py
tonypeng/ez-image-segmentation
94ac965cee1d11b7118890ca0219c04e60e7435b
[ "MIT" ]
2
2017-12-07T02:02:05.000Z
2017-12-10T00:14:44.000Z
train.py
tonypeng/ez-image-segmentation
94ac965cee1d11b7118890ca0219c04e60e7435b
[ "MIT" ]
null
null
null
train.py
tonypeng/ez-image-segmentation
94ac965cee1d11b7118890ca0219c04e60e7435b
[ "MIT" ]
null
null
null
from Trainer import * from TrainerOptions import * opt = TrainerOptions() opt.parse_args() trainer = Trainer(opt) trainer.train()
16.375
28
0.763359
16
131
6.1875
0.5
0
0
0
0
0
0
0
0
0
0
0
0.129771
131
8
29
16.375
0.868421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7692deee3b24ee25055a2b5cefb7aaffcbc347d6
801
py
Python
python_for_everybody/unicode.py
timothyyu/p4e-prac
f978b71ce147b6e9058372929f2666c2e67d0741
[ "BSD-3-Clause" ]
null
null
null
python_for_everybody/unicode.py
timothyyu/p4e-prac
f978b71ce147b6e9058372929f2666c2e67d0741
[ "BSD-3-Clause" ]
null
null
null
python_for_everybody/unicode.py
timothyyu/p4e-prac
f978b71ce147b6e9058372929f2666c2e67d0741
[ "BSD-3-Clause" ]
1
2020-04-18T16:09:04.000Z
2020-04-18T16:09:04.000Z
#Unicode characters and strings #1960s/1970s ---> we assumed one byte is one character and went it with # a byte and character were assumed to be the same thing #ASCII goes up to 127 print(ord('H')) print(ord('e')) print(ord('\n')) print(ord('G')) #UTF-16 - fixed length, two byes #UTF-32 - fixed length, four...
33.375
96
0.71161
133
801
4.285714
0.661654
0.05614
0
0
0
0
0
0
0
0
0
0.03645
0.212235
801
24
97
33.375
0.866878
0.831461
0
0
0
0
0.041322
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
76a8ad4e4b64bc7dd9adb094028e31014909c8fe
4,201
py
Python
pythonanywhere_client/webapps.py
hakancelik96/pythonanywhere-client
52c8913760304c30150157b961e93c4a4bf5e82f
[ "MIT" ]
6
2019-06-30T20:59:38.000Z
2019-12-28T11:02:11.000Z
pythonanywhere_client/webapps.py
hakancelik96/pythonanywhere-client
52c8913760304c30150157b961e93c4a4bf5e82f
[ "MIT" ]
5
2019-06-30T18:55:15.000Z
2020-06-19T15:37:01.000Z
pythonanywhere_client/webapps.py
hakancelik96/pythonanywhere-client
52c8913760304c30150157b961e93c4a4bf5e82f
[ "MIT" ]
1
2019-12-28T17:04:37.000Z
2019-12-28T17:04:37.000Z
from .client import client_decorator class Webapps: def __init__(self, client): self.client = client @client_decorator(op="webapps") def get(self): "List all webapps" @client_decorator(op="webapps") def post(self, domain_name, python_version): """ Create a new web...
31.118519
96
0.63961
537
4,201
4.83054
0.191806
0.115652
0.107941
0.148034
0.752506
0.720894
0.695451
0.680031
0.664611
0.624518
0
0.001258
0.243037
4,201
134
97
31.350746
0.814465
0.286836
0
0.627907
0
0
0.3232
0.025237
0
0
0
0
0
1
0.255814
false
0
0.011628
0
0.337209
0
0
0
0
null
0
0
0
0
1
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
1
0
0
0
0
0
0
0
3
76c2da6bb9112f5fb0067799713d55cf0a448eb6
241
py
Python
specviz/tests/test_startup.py
ibusko/specviz
b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa
[ "BSD-3-Clause" ]
null
null
null
specviz/tests/test_startup.py
ibusko/specviz
b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa
[ "BSD-3-Clause" ]
null
null
null
specviz/tests/test_startup.py
ibusko/specviz
b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa
[ "BSD-3-Clause" ]
null
null
null
from qtpy import QtCore from specviz.app import Application def test_specviz_startup(qtbot): app = Application([], dev=True) qtbot.addWidget(app.current_workspace) qtbot.mouseClick(app.current_workspace, QtCore.Qt.LeftButton)
24.1
65
0.775934
31
241
5.903226
0.612903
0.10929
0.20765
0
0
0
0
0
0
0
0
0
0.13278
241
9
66
26.777778
0.875598
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4f180829cd0e9a3948d5bb3da916f00952583927
1,083
py
Python
Cursoemvideo/URI/1018 - Banknotes.py
Vith-MCB/Phyton---Curso-em-Video
d13a2150df022b9712b3b3136e9afc963864403c
[ "MIT" ]
1
2021-06-26T17:07:53.000Z
2021-06-26T17:07:53.000Z
Cursoemvideo/URI/1018 - Banknotes.py
Vith-MCB/Phyton---Curso-em-Video
d13a2150df022b9712b3b3136e9afc963864403c
[ "MIT" ]
null
null
null
Cursoemvideo/URI/1018 - Banknotes.py
Vith-MCB/Phyton---Curso-em-Video
d13a2150df022b9712b3b3136e9afc963864403c
[ "MIT" ]
null
null
null
''' N = int(input()) notas100 = N//100 notas50 = (N-(notas100*100))//50 notas20 = (N-(notas100*100+notas50*50))//20 notas10 = (N-(notas100*100+notas50*50+notas20*20))//10 notas5 = (N-(notas100*100+notas50*50+notas20*20+notas10*10))//5 notas2 = (N-(notas100*100+notas50*50+notas20*20+notas10*10+notas5*5))//2 notas1 = (N-...
27.769231
78
0.604801
224
1,083
2.924107
0.133929
0.10687
0.149618
0.170992
0.619847
0.587786
0.554198
0.2
0.2
0.140458
0
0.254625
0.151431
1,083
39
79
27.769231
0.458107
0.602031
0
0
0
0
0.325472
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f264991488a362e89d5b91959e0b88b2e880b7b
1,482
py
Python
public_comment/lib/managers.py
codeforkyana/public-comment
b2e579ce0e1e8117670eaff6f142b594e6c78dc8
[ "MIT" ]
null
null
null
public_comment/lib/managers.py
codeforkyana/public-comment
b2e579ce0e1e8117670eaff6f142b594e6c78dc8
[ "MIT" ]
null
null
null
public_comment/lib/managers.py
codeforkyana/public-comment
b2e579ce0e1e8117670eaff6f142b594e6c78dc8
[ "MIT" ]
null
null
null
import logging from datetime import datetime from django.db import models from django.db.models import QuerySet from . import _thread_locals logger = logging.getLogger(__name__) class SoftDeleteManager(models.Manager): def __init__(self, *args, **kwargs): self.with_deleted = kwargs.pop("deleted", False...
29.058824
105
0.669366
164
1,482
5.786585
0.317073
0.04215
0.047418
0.031612
0.268704
0.229715
0.166491
0.166491
0.166491
0.166491
0
0
0.221997
1,482
50
106
29.64
0.82307
0
0
0.277778
0
0
0.062753
0
0
0
0
0
0
1
0.222222
false
0
0.138889
0.111111
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
1
0
0
0
1
1
0
0
3
4f2998a54e1c8d576f1abf4eaabd4425870ed461
561
py
Python
app/pytorch/book/chp004/e1/cross_entropy.py
yt7589/aqp
c9c1c79facdea7ace73e2421e8a5868d87fb58dd
[ "Apache-2.0" ]
null
null
null
app/pytorch/book/chp004/e1/cross_entropy.py
yt7589/aqp
c9c1c79facdea7ace73e2421e8a5868d87fb58dd
[ "Apache-2.0" ]
null
null
null
app/pytorch/book/chp004/e1/cross_entropy.py
yt7589/aqp
c9c1c79facdea7ace73e2421e8a5868d87fb58dd
[ "Apache-2.0" ]
null
null
null
from __future__ import division import numpy as np from loss import Loss from npai_stats import NpaiStats from sigmoid import Sigmoid class CrossEntropy(Loss): def __init__(self): pass def loss(self, y, p): # Avoid division by zero p = np.clip(p, 1e-15, 1 - 1e-15) return - y * np.log(p...
26.714286
83
0.616756
91
561
3.692308
0.384615
0.02381
0.053571
0.065476
0.291667
0.291667
0.291667
0.291667
0.291667
0.291667
0
0.039024
0.269162
561
21
84
26.714286
0.780488
0.080214
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.066667
0.333333
0.066667
0.866667
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
1
1
0
0
0
0
3
4f2c83bf688f78376d32efdf1389eb175038991e
1,134
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/GL/EXT/framebuffer_blit.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/GL/EXT/framebuffer_blit.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/GL/EXT/framebuffer_blit.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''OpenGL extension EXT.framebuffer_blit This module customises the behaviour of the OpenGL.raw.GL.EXT.framebuffer_blit to provide a more Python-friendly API Overview (from the spec) This extension modifies EXT_framebuffer_object by splitting the framebuffer object binding point into separate DRAW and READ bin...
35.4375
71
0.810406
157
1,134
5.770701
0.55414
0.092715
0.099338
0.046358
0.118102
0.118102
0.086093
0.086093
0
0
0
0
0.137566
1,134
32
72
35.4375
0.92638
0.69224
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
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
1
0
1
0
0
3
4f399d57acd5e7e7e858c15b1176f7d92c46f168
171
py
Python
HackerRank/Problem Solving/Algorithms/Implementation/Save the Prisoner!.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
HackerRank/Problem Solving/Algorithms/Implementation/Save the Prisoner!.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
HackerRank/Problem Solving/Algorithms/Implementation/Save the Prisoner!.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
t = int(input()) while t > 0: t -= 1 n,m,s = map(int, input().strip().split(' ')) k = (s+m-1)%n if(k==0): print (n) else: print (k)
19
48
0.391813
29
171
2.310345
0.551724
0.238806
0
0
0
0
0
0
0
0
0
0.037037
0.368421
171
9
49
19
0.583333
0
0
0
0
0
0.005814
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f62520b0b21b6f7234956507a4d3fe693faf604
1,093
py
Python
setup.py
JorisCos/asteroid_gan_exps
e3b9d3dc76265b3f4574ecb451df105f26acab3e
[ "MIT" ]
3
2020-11-23T10:07:47.000Z
2021-06-15T14:21:32.000Z
setup.py
JorisCos/asteroid_gan_exps
e3b9d3dc76265b3f4574ecb451df105f26acab3e
[ "MIT" ]
null
null
null
setup.py
JorisCos/asteroid_gan_exps
e3b9d3dc76265b3f4574ecb451df105f26acab3e
[ "MIT" ]
1
2020-12-03T13:40:46.000Z
2020-12-03T13:40:46.000Z
from setuptools import setup, find_packages setup( name='asteroid_gan_exps', version='0.1', author='Joris Cosentino', author_email='joris.cosentino@inria.fr', url="https://github.com/JorisCos/asteroid_gan_exps", description='Experiments on GANs using Asteroid', license='MIT', python_re...
30.361111
56
0.518756
97
1,093
5.721649
0.680412
0.136937
0.18018
0.187387
0
0
0
0
0
0
0
0.01683
0.347667
1,093
36
57
30.361111
0.761571
0
0
0.058824
0
0
0.414991
0.021938
0
0
0
0
0
1
0
true
0
0.029412
0
0.029412
0
0
0
0
null
0
1
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
1
0
0
0
0
0
0
3
4f749e412e06600292b62125fe88585f0709a995
196
py
Python
GeometricOpticsPy/OpticalSystem.py
NicoDeshler/GeometricOpticsPy
b808a506596fa532026c0f22e734dd66ed8c2b12
[ "MIT" ]
null
null
null
GeometricOpticsPy/OpticalSystem.py
NicoDeshler/GeometricOpticsPy
b808a506596fa532026c0f22e734dd66ed8c2b12
[ "MIT" ]
null
null
null
GeometricOpticsPy/OpticalSystem.py
NicoDeshler/GeometricOpticsPy
b808a506596fa532026c0f22e734dd66ed8c2b12
[ "MIT" ]
null
null
null
class OpticalSystem(): # A class that describes and optical system. # Assumptions # A system is composed of optical Surface placed at desired separations along the optical axis # A
39.2
98
0.729592
26
196
5.5
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.229592
196
5
99
39.2
0.94702
0.760204
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4f915f1b509994c7dee62e440312997e1daee417
1,803
py
Python
irco-server/ircoapp/migrations/0001_initial.py
go-team-13/IRCO
fc57b69f11eebb6a6f448798581783e0ed525d86
[ "MIT" ]
null
null
null
irco-server/ircoapp/migrations/0001_initial.py
go-team-13/IRCO
fc57b69f11eebb6a6f448798581783e0ed525d86
[ "MIT" ]
null
null
null
irco-server/ircoapp/migrations/0001_initial.py
go-team-13/IRCO
fc57b69f11eebb6a6f448798581783e0ed525d86
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-01-12 22:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Program', fields=[ ...
38.361702
114
0.570161
179
1,803
5.608939
0.374302
0.179283
0.215139
0.286853
0.593626
0.378486
0.304781
0.304781
0.219124
0.219124
0
0.045277
0.289517
1,803
46
115
39.195652
0.738486
0.024958
0
0.333333
1
0
0.080866
0
0
0
0
0
0
1
0
false
0
0.051282
0
0.153846
0
0
0
0
null
0
1
1
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
3
4f9f9223cf5bfe4a7ed7706b97240d3f1466f61e
506
py
Python
services/web/server/src/simcore_service_webserver/version_control_tags.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
null
null
null
services/web/server/src/simcore_service_webserver/version_control_tags.py
elisabettai/osparc-simcore
ad7b6e05111b50fe95e49306a992170490a7247f
[ "MIT" ]
1
2021-11-29T13:38:09.000Z
2021-11-29T13:38:09.000Z
services/web/server/src/simcore_service_webserver/version_control_tags.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
null
null
null
import re from typing import Optional from models_library.basic_regex import UUID_RE from models_library.projects import ProjectID def compose_workcopy_project_tag_name(workcopy_project_id: ProjectID) -> str: return f"project:{workcopy_project_id}" def parse_workcopy_project_tag_name(name: str) -> Optional[Pro...
29.764706
77
0.76087
71
506
5.126761
0.43662
0.247253
0.186813
0.120879
0
0
0
0
0
0
0
0
0.140316
506
16
78
31.625
0.836782
0
0
0
0
0
0.181818
0.144269
0
0
0
0
0
1
0.181818
false
0
0.363636
0.090909
0.818182
0
0
0
0
null
1
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
1
0
0
0
0
3
96ce81643768174ce8b46a62102fbeab46e70afd
226
py
Python
python-questions-for-pratices/Question-59.py
siddharth-143/Python
293f4643a3a13e3b82d23fd8922db54dbb0f12bc
[ "MIT" ]
null
null
null
python-questions-for-pratices/Question-59.py
siddharth-143/Python
293f4643a3a13e3b82d23fd8922db54dbb0f12bc
[ "MIT" ]
null
null
null
python-questions-for-pratices/Question-59.py
siddharth-143/Python
293f4643a3a13e3b82d23fd8922db54dbb0f12bc
[ "MIT" ]
null
null
null
""" Question 59 : Print a unicode string "hello world". Hints : Use u'string format to define unicode string """ # Solution : unicode_string = u"hello world!" print(unicode_string) """ Output : hello world """
14.125
56
0.659292
29
226
5.068966
0.551724
0.353742
0
0
0
0
0
0
0
0
0
0.011364
0.221239
226
16
57
14.125
0.823864
0.553097
0
0
0
0
0.196721
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
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
1
0
3
96d80597e5c02947d02d204bfc1daa1f894484a4
829
py
Python
pages/article_page/article_page.py
savvagen/playwright-pytest-example
acf4e89d0a7dcc1b71b1eb012366b1393f515b41
[ "Apache-2.0" ]
19
2020-11-15T16:37:51.000Z
2022-03-23T02:41:38.000Z
pages/article_page/article_page.py
cjydayang/playwright-pytest-example
acf4e89d0a7dcc1b71b1eb012366b1393f515b41
[ "Apache-2.0" ]
2
2021-01-03T21:38:37.000Z
2021-01-27T08:32:00.000Z
pages/article_page/article_page.py
cjydayang/playwright-pytest-example
acf4e89d0a7dcc1b71b1eb012366b1393f515b41
[ "Apache-2.0" ]
8
2020-11-05T23:27:37.000Z
2022-03-16T08:07:00.000Z
import allure from pages.web_page import WebPage from pages.web_elements import * class ArticlePage(WebPage): def title(self): return el(self.page, selector='.container > h1') def author_link(self): return el(self.page, selector='.author') def subject(self): return el(self.page, selector='div[class*="art...
36.043478
93
0.689988
118
829
4.661017
0.372881
0.087273
0.109091
0.145455
0.327273
0.254545
0
0
0
0
0
0.002911
0.171291
829
22
94
37.681818
0.797671
0
0
0
0
0
0.15199
0.063932
0
0
0
0
0
1
0.411765
false
0
0.176471
0.294118
0.705882
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
1
1
0
0
3
96daef619ffbbeaf04e9f747d8fa517872f43cef
268
py
Python
tests/test_models.py
gilmrjc/djangopress
8e81e1477661b28a65b6d2ea5cccbf299219734b
[ "MIT" ]
null
null
null
tests/test_models.py
gilmrjc/djangopress
8e81e1477661b28a65b6d2ea5cccbf299219734b
[ "MIT" ]
null
null
null
tests/test_models.py
gilmrjc/djangopress
8e81e1477661b28a65b6d2ea5cccbf299219734b
[ "MIT" ]
null
null
null
"""Test for djangopress.core.models.""" from model_mommy import mommy from djangopress.core.models import Option def test_option_str(): """Test string representation for Option object.""" option = mommy.prepare(Option) assert str(option) == option.name
24.363636
55
0.735075
35
268
5.542857
0.514286
0.154639
0.216495
0
0
0
0
0
0
0
0
0
0.152985
268
10
56
26.8
0.854626
0.294776
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
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
1
0
1
0
0
3
96e34a3d56486d6a01c5f875f8afeef7eca56d01
2,383
py
Python
API/v1/VBD/plug.py
MisakaMikoto0502/XenXenXenSe
58a4d288dd2ef3f09ee0062b542b50f0b11d1c43
[ "MIT" ]
null
null
null
API/v1/VBD/plug.py
MisakaMikoto0502/XenXenXenSe
58a4d288dd2ef3f09ee0062b542b50f0b11d1c43
[ "MIT" ]
null
null
null
API/v1/VBD/plug.py
MisakaMikoto0502/XenXenXenSe
58a4d288dd2ef3f09ee0062b542b50f0b11d1c43
[ "MIT" ]
null
null
null
from http.client import RemoteDisconnected from xmlrpc.client import Fault from fastapi import APIRouter, HTTPException from XenAPI.XenAPI import Failure from XenGarden.session import create_session from XenGarden.VBD import VBD from API.v1.Common import xenapi_failure_jsonify from app.settings import Settings route...
31.773333
72
0.671842
305
2,383
5.019672
0.216393
0.052907
0.090137
0.113651
0.763553
0.763553
0.724363
0.632266
0.632266
0.632266
0
0.0071
0.231641
2,383
74
73
32.202703
0.829055
0
0
0.6
0
0
0.072222
0.072222
0
0
0
0
0
1
0
false
0
0.133333
0
0.166667
0
0
0
0
null
0
0
0
0
1
1
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
3
96e734dc92c9bfe30c09882b5278257f306984ef
716
py
Python
custom/api/utils.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
custom/api/utils.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
custom/api/utils.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
from requests.auth import HTTPBasicAuth def apply_updates(doc, update_dict): # updates the doc with items from the dict # returns whether or not any updates were made should_save = False for key, value in update_dict.items(): if getattr(doc, key, None) != value: setattr(doc, key, v...
27.538462
64
0.674581
92
716
5.152174
0.521739
0.063291
0
0
0
0
0
0
0
0
0
0
0.234637
716
25
65
28.64
0.864964
0.118715
0
0
0
0
0.022293
0
0
0
0
0
0
1
0.25
false
0.125
0.0625
0.1875
0.625
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
1
0
1
0
0
0
3
8c044ba4cf510c73d6cccb54a1d049a9d637e71a
122
py
Python
tasksapi/apps.py
mwiens91/saltant
9e72175a896f5859ada304ad3ae4d84dfc3834db
[ "MIT" ]
3
2018-12-08T01:18:29.000Z
2018-12-14T23:18:42.000Z
tasksapi/apps.py
saltant-org/saltant
db498a1186fc74221f8214ad1819dd03bf4b08ac
[ "MIT" ]
3
2019-05-23T07:43:13.000Z
2021-06-10T20:46:53.000Z
tasksapi/apps.py
saltant-org/saltant
db498a1186fc74221f8214ad1819dd03bf4b08ac
[ "MIT" ]
2
2019-03-13T22:31:09.000Z
2019-05-03T00:18:30.000Z
from django.apps import AppConfig class TasksApiConfig(AppConfig): name = "tasksapi" verbose_name = "tasks API"
17.428571
33
0.729508
14
122
6.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.188525
122
6
34
20.333333
0.888889
0
0
0
0
0
0.139344
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
8c46b68d6cc2ad4e26c12b0a79dd32ab487a8798
253
py
Python
docs/examples/compute/ec2/temporary_credentials.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
1,435
2015-01-07T05:32:51.000Z
2022-03-25T19:39:34.000Z
docs/examples/compute/ec2/temporary_credentials.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
1,158
2015-01-04T18:08:42.000Z
2022-03-24T14:34:57.000Z
docs/examples/compute/ec2/temporary_credentials.py
dupontz/libcloud
419c69441ea10e7bbf37319e5e8d02e82e7e6b40
[ "Apache-2.0" ]
832
2015-01-05T09:20:21.000Z
2022-03-24T19:22:19.000Z
from libcloud.compute.types import Provider from libcloud.compute.providers import get_driver cls = get_driver(Provider.EC2) driver = cls('temporary access key', 'temporary secret key', token='temporary session token', region="us-west-1")
36.142857
65
0.750988
34
253
5.529412
0.617647
0.12766
0.202128
0
0
0
0
0
0
0
0
0.009259
0.146245
253
6
66
42.166667
0.861111
0
0
0
0
0
0.284585
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c471d50f28f4ce276945cd00f4c09e5339f7e4c
7,272
py
Python
stubs.min/System/Windows/Interop_parts/HwndSourceParameters.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/Interop_parts/HwndSourceParameters.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/Interop_parts/HwndSourceParameters.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class HwndSourceParameters(object): """ Contains the parameters that are used to create an System.Windows.Interop.HwndSource object using the System.Windows.Interop.HwndSource.#ctor(System.Windows.Interop.HwndSourceParameters) constructor. HwndSourceParameters(name: str) HwndSourceParameters(name: str,wid...
34.628571
202
0.724697
856
7,272
6.123832
0.16472
0.103014
0.061808
0.082411
0.364365
0.306562
0.277947
0.277947
0.277947
0.25124
0
0.000667
0.17478
7,272
209
203
34.794258
0.872855
0.236799
0
0.205882
0
0
0
0
0
0
0
0
0
1
0.205882
false
0.205882
0
0
0.764706
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
1
0
0
1
0
0
3
8c4c36dcf3a36b91253467e951433811ad79e4f5
594
py
Python
tcex/input/models/create_config_model.py
phuerta-tc/tcex
4a4e800e1a6114c1fde663f8c3ab7a1d58045c79
[ "Apache-2.0" ]
null
null
null
tcex/input/models/create_config_model.py
phuerta-tc/tcex
4a4e800e1a6114c1fde663f8c3ab7a1d58045c79
[ "Apache-2.0" ]
null
null
null
tcex/input/models/create_config_model.py
phuerta-tc/tcex
4a4e800e1a6114c1fde663f8c3ab7a1d58045c79
[ "Apache-2.0" ]
null
null
null
"""Create Config Model""" # pylint: disable=no-self-argument,no-self-use # standard library from typing import Any, Dict # third-party from pydantic import BaseModel, root_validator class CreateConfigModel(BaseModel): """Create Config Model""" # TODO: [low] workaround for PLAT-4393 @root_validator(pre=T...
28.285714
87
0.676768
84
594
4.72619
0.72619
0.060453
0.085642
0
0
0
0
0
0
0
0
0.008547
0.212121
594
20
88
29.7
0.839744
0.442761
0
0
0
0
0
0
0
0
0
0.05
0
1
0.166667
false
0
0.333333
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
1
0
0
0
0
0
1
0
1
0
0
3
8c5d9469f1ba60a3fb0da919781f5dd7bbae10c6
11,397
py
Python
tankigen.py
MasterScott/tankigen
2386fea5acbb16ae14649528a5889cb8a3fef0e9
[ "MIT" ]
18
2021-03-22T08:41:47.000Z
2022-02-23T00:32:37.000Z
tankigen.py
MasterScott/tankigen
2386fea5acbb16ae14649528a5889cb8a3fef0e9
[ "MIT" ]
1
2021-06-04T01:45:37.000Z
2021-06-04T01:46:01.000Z
tankigen.py
MasterScott/tankigen
2386fea5acbb16ae14649528a5889cb8a3fef0e9
[ "MIT" ]
8
2021-03-23T20:36:53.000Z
2021-09-21T12:30:08.000Z
#starting function # importing the necessary packages import time import sys import os # Function for implementing the loading animation def load_animation(): # String to be displayed when the application is loading load_str = "starting tankigen please wait..." ls_len = len(load_str) ...
47.886555
743
0.759059
788
11,397
11.013959
0.392132
0.006452
0.010139
0.013826
0.047817
0.030073
0.030073
0.016592
0.006452
0.006452
0
0.094195
0.155129
11,397
237
744
48.088608
0.799772
0.112135
0
0.146154
0
0
0.629935
0.543345
0
0
0
0
0
1
0.069231
false
0
0.092308
0
0.161538
0.084615
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c62aa566fbde5492bba59a6c11c2b33b87a6089
1,002
py
Python
tests/integration/factories/cli/conftest.py
danielrobbins/pytest-salt-factories
9c9dc882628f6ddb93dab88bf548755d2196cec9
[ "Apache-2.0" ]
null
null
null
tests/integration/factories/cli/conftest.py
danielrobbins/pytest-salt-factories
9c9dc882628f6ddb93dab88bf548755d2196cec9
[ "Apache-2.0" ]
null
null
null
tests/integration/factories/cli/conftest.py
danielrobbins/pytest-salt-factories
9c9dc882628f6ddb93dab88bf548755d2196cec9
[ "Apache-2.0" ]
null
null
null
""" tests.integration.factories.cli.conftest ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ import pytest @pytest.fixture(scope="package") def master_id(): return "integration-cli-master" @pytest.fixture(scope="package") def minion_id(): return "integration-cli-minion" @pytest.fixture(scope="package") def s...
23.857143
97
0.695609
123
1,002
5.439024
0.268293
0.104634
0.134529
0.186846
0.433483
0.349776
0.301943
0.301943
0.185351
0.185351
0
0
0.150699
1,002
41
98
24.439024
0.786134
0.190619
0
0.428571
0
0
0.113842
0.056921
0
0
0
0
0
1
0.238095
false
0
0.047619
0.142857
0.428571
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
1
0
0
0
1
0
0
0
3
8c651d22173586246287ff7a070395391804c0f6
14,899
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_fretta_grid_svr_oper.py
Maikor/ydk-py
b86c4a7c570ae3b2c5557d098420446df5de4929
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_fretta_grid_svr_oper.py
Maikor/ydk-py
b86c4a7c570ae3b2c5557d098420446df5de4929
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_fretta_grid_svr_oper.py
Maikor/ydk-py
b86c4a7c570ae3b2c5557d098420446df5de4929
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
""" Cisco_IOS_XR_fretta_grid_svr_oper This module contains a collection of YANG definitions for Cisco IOS\-XR fretta\-grid\-svr package operational data. This module contains definitions for the following management objects\: grid\: GRID operational data Copyright (c) 2013\-2018 by Cisco Systems, Inc. All rights ...
37.814721
169
0.471441
1,379
14,899
4.775925
0.096447
0.049195
0.059217
0.056787
0.800486
0.773763
0.698148
0.666262
0.666262
0.665503
0
0.013251
0.422579
14,899
393
170
37.910941
0.752296
0.1782
0
0.619565
0
0
0.092986
0.015133
0
0
0
0
0
1
0.103261
false
0
0.027174
0
0.195652
0
0
0
0
null
0
0
0
1
1
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
3
4fbb0a2e350edc2f3b9bebc0899305ef16c85f16
7,873
py
Python
venv/lib/python2.7/site-packages/flask_admin/contrib/mongoengine/filters.py
MarioAer/BubblesData
849cc6428b5e8d64f5517f94a714e3f737bfc75d
[ "MIT" ]
null
null
null
venv/lib/python2.7/site-packages/flask_admin/contrib/mongoengine/filters.py
MarioAer/BubblesData
849cc6428b5e8d64f5517f94a714e3f737bfc75d
[ "MIT" ]
null
null
null
venv/lib/python2.7/site-packages/flask_admin/contrib/mongoengine/filters.py
MarioAer/BubblesData
849cc6428b5e8d64f5517f94a714e3f737bfc75d
[ "MIT" ]
null
null
null
import datetime from flask_admin.babel import lazy_gettext from flask_admin.model import filters from .tools import parse_like_term from mongoengine.queryset import Q class BaseMongoEngineFilter(filters.BaseFilter): """ Base MongoEngine filter. """ def __init__(self, column, name, options=None, d...
29.486891
91
0.661247
792
7,873
6.449495
0.184343
0.064605
0.065779
0.043265
0.379013
0.35415
0.349843
0.310689
0.26527
0.26527
0
0.000666
0.236886
7,873
266
92
29.597744
0.849534
0.039629
0
0.355828
0
0
0.045982
0
0
0
0
0
0
1
0.202454
false
0.09816
0.030675
0.09816
0.644172
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
1
0
0
1
0
0
3
4fbd1dca6b146e31dce08db94b6db986ccbaf877
52
py
Python
cms/__init__.py
adaptivelogic/django-cms
b7a58b9700755c35b40c145ea81c5bad81271c61
[ "BSD-3-Clause" ]
1
2015-09-28T10:07:38.000Z
2015-09-28T10:07:38.000Z
cms/__init__.py
adaptivelogic/django-cms
b7a58b9700755c35b40c145ea81c5bad81271c61
[ "BSD-3-Clause" ]
null
null
null
cms/__init__.py
adaptivelogic/django-cms
b7a58b9700755c35b40c145ea81c5bad81271c61
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __version__ = '2.4.0.beta'
13
26
0.538462
8
52
3
1
0
0
0
0
0
0
0
0
0
0
0.093023
0.173077
52
3
27
17.333333
0.465116
0.403846
0
0
0
0
0.357143
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4fc473676345dd4cde3d8f8baaa727c48ac410b4
1,661
py
Python
utils/tf_visualizer.py
NVlabs/UMR
15ca8c87c158a238086ef01c9718c9c5773a6659
[ "BSD-Source-Code" ]
184
2020-09-11T20:35:10.000Z
2022-03-30T04:26:23.000Z
utils/tf_visualizer.py
gengshan-y/UMR
d858c4ddd56bdac6e3342609f9c02618c279b990
[ "BSD-Source-Code" ]
14
2020-10-27T15:29:10.000Z
2022-03-15T08:17:24.000Z
utils/tf_visualizer.py
gengshan-y/UMR
d858c4ddd56bdac6e3342609f9c02618c279b990
[ "BSD-Source-Code" ]
27
2020-09-13T09:04:25.000Z
2022-01-21T08:10:41.000Z
# ----------------------------------------------------------- # Copyright (C) 2020 NVIDIA Corporation. All rights reserved. # Nvidia Source Code License-NC # Code written by Xueting Li. # ----------------------------------------------------------- import numpy as np import os import ntpath import time import termcolor ...
41.525
90
0.576159
207
1,661
4.541063
0.410628
0.082979
0.140426
0.185106
0.310638
0.310638
0.061702
0.061702
0.061702
0
0
0.004458
0.189645
1,661
39
91
42.589744
0.693908
0.20289
0
0.074074
0
0
0.129278
0
0
0
0
0
0
1
0.296296
false
0
0.185185
0.222222
0.518519
0.074074
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
1
0
0
0
1
0
0
0
3
4fd9da13c9282a2262e37992365c35680ca51392
765
py
Python
src/contexts/backoffice/users/application/createone/UserCreator.py
parada3desu/python-ddd-template
3da506fbef07b18777e15301e8ba94cc314c6895
[ "MIT" ]
2
2022-02-26T14:09:43.000Z
2022-03-13T08:48:21.000Z
src/contexts/backoffice/users/application/createone/UserCreator.py
parada3desu/python-ddd-example
3da506fbef07b18777e15301e8ba94cc314c6895
[ "MIT" ]
null
null
null
src/contexts/backoffice/users/application/createone/UserCreator.py
parada3desu/python-ddd-example
3da506fbef07b18777e15301e8ba94cc314c6895
[ "MIT" ]
null
null
null
from src.contexts.backoffice.users.domain.UserRepository import UserRepository from src.contexts.backoffice.users.domain.entities.User import User from src.contexts.backoffice.users.domain.entities.UserId import UserId from src.contexts.backoffice.users.domain.entities.UserName import UserName from src.contexts.shared....
42.5
78
0.784314
100
765
5.75
0.32
0.06087
0.130435
0.173913
0.292174
0.292174
0.229565
0
0
0
0
0
0.133333
765
17
79
45
0.86727
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.538462
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
1
0
1
0
0
3
4fed4378e82a4d2469bfbbd100de96d4fb972645
1,258
py
Python
bot/util.py
DukeX9/David-TelegramBot-Docker
5269cde874b5d2082f5c38a86ada1f23943cb650
[ "MIT" ]
null
null
null
bot/util.py
DukeX9/David-TelegramBot-Docker
5269cde874b5d2082f5c38a86ada1f23943cb650
[ "MIT" ]
null
null
null
bot/util.py
DukeX9/David-TelegramBot-Docker
5269cde874b5d2082f5c38a86ada1f23943cb650
[ "MIT" ]
null
null
null
from telegram import Chat, ParseMode, Update, Bot from libs.mwt import MWT class Utils: update: Update def __init__(self, bot: Bot): self.bot = bot def set_update(self, update): print("set_update {}".format(update)) self.update = update def is_chat_private(self): re...
26.765957
105
0.674881
178
1,258
4.544944
0.275281
0.111248
0.121137
0.123609
0.269468
0.066749
0
0
0
0
0
0.006091
0.217011
1,258
46
106
27.347826
0.815228
0
0
0
0
0
0.023847
0
0
0
0
0
0
1
0.387097
false
0
0.064516
0.290323
0.806452
0.032258
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
1
1
0
0
3
4fef1d2dae2567a7e1e13aace37be93707813b42
333
py
Python
manage.py
hiporox/strawberry-django-plus
c648449034f43af8f94356820119d356f306110a
[ "MIT" ]
44
2022-01-05T18:19:39.000Z
2022-03-26T11:49:40.000Z
manage.py
hiporox/strawberry-django-plus
c648449034f43af8f94356820119d356f306110a
[ "MIT" ]
29
2022-01-19T21:48:25.000Z
2022-03-30T15:25:51.000Z
manage.py
hiporox/strawberry-django-plus
c648449034f43af8f94356820119d356f306110a
[ "MIT" ]
5
2022-02-22T05:32:04.000Z
2022-03-30T14:21:32.000Z
#!/usr/bin/env python3 """Entrypoint for the demo app.""" import os import sys if __name__ == "__main__": os.environ.setdefault("_PERSISTENT_DB", "1") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "demo.settings") from django.core.management import execute_from_command_line execute_from_command_li...
23.785714
68
0.744745
45
333
5.111111
0.666667
0.078261
0.165217
0.191304
0
0
0
0
0
0
0
0.00692
0.132132
333
13
69
25.615385
0.788927
0.15015
0
0
0
0
0.209386
0.079422
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
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
1
0
1
0
0
0
0
3
4ff4d74d54ab18b0c0685dcb5f4806bf1e5ec710
545
py
Python
tests/basics/bytes_compare3.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
7
2019-10-18T13:41:39.000Z
2022-03-15T17:27:57.000Z
tests/basics/bytes_compare3.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
null
null
null
tests/basics/bytes_compare3.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
2
2020-06-23T09:10:15.000Z
2020-12-22T06:42:14.000Z
# Based on MicroPython config option, comparison of str and bytes # or vice versa may issue a runtime warning. On CPython, if run as # "python3 -b", only comparison of str to bytes issues a warning, # not the other way around (while exactly comparison of bytes to # str would be the most common error, as in sock.recv(3)...
45.416667
67
0.711927
92
545
4.217391
0.652174
0.092784
0.07732
0
0
0
0
0
0
0
0
0.031746
0.190826
545
12
68
45.416667
0.848073
0.8
0
0
0
0
0.196078
0
0
0
0
0
0
1
0
true
0.25
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
1
1
0
0
0
1
0
3
8b06b23189486abb08b18059d5099ddb818c14a2
1,057
py
Python
popupforms/phonebook/models.py
edcodes/Django-PopUp-Forms
4361b847efdff56d111e28afb38383905c4751e1
[ "Apache-2.0" ]
1
2022-03-15T14:21:26.000Z
2022-03-15T14:21:26.000Z
popupforms/phonebook/models.py
edcodes/Django-PopUp-Forms
4361b847efdff56d111e28afb38383905c4751e1
[ "Apache-2.0" ]
null
null
null
popupforms/phonebook/models.py
edcodes/Django-PopUp-Forms
4361b847efdff56d111e28afb38383905c4751e1
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.urls import reverse class PhoneBook(models.Model): name = models.CharField(max_length=20, null=False, blank=False , db_index=True, verbose_name='Name') last_name= models.CharField(max_length=20, null=False, blank=False , db...
42.28
113
0.726585
150
1,057
4.953333
0.326667
0.103634
0.145357
0.193809
0.467026
0.467026
0.429341
0.429341
0.429341
0.429341
0
0.016593
0.144749
1,057
24
114
44.041667
0.80531
0
0
0
0
0
0.066288
0
0
0
0
0
0
1
0.117647
false
0
0.176471
0.117647
0.941176
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
1
1
0
0
3
8b0f1b26ccba9442f47816c46d70db223d3a7d42
42
py
Python
temp.py
Aooyh/temp_pro
2cd4b5533666bf987be34d65d4ca9d6cf9094deb
[ "MIT" ]
null
null
null
temp.py
Aooyh/temp_pro
2cd4b5533666bf987be34d65d4ca9d6cf9094deb
[ "MIT" ]
null
null
null
temp.py
Aooyh/temp_pro
2cd4b5533666bf987be34d65d4ca9d6cf9094deb
[ "MIT" ]
null
null
null
name = 'yangghao' gender = 'male' age= 22
10.5
17
0.642857
6
42
4.5
1
0
0
0
0
0
0
0
0
0
0
0.058824
0.190476
42
3
18
14
0.735294
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b223857cae3fac96a22e9c1453e910795c5c612
134
py
Python
tests/test_lol_status.py
xNinjaKittyx/aioleague
0566ba3068a865e8c9821c37285dc2c97d0c70bd
[ "MIT" ]
1
2020-10-08T11:13:25.000Z
2020-10-08T11:13:25.000Z
tests/test_lol_status.py
xNinjaKittyx/aioleague
0566ba3068a865e8c9821c37285dc2c97d0c70bd
[ "MIT" ]
null
null
null
tests/test_lol_status.py
xNinjaKittyx/aioleague
0566ba3068a865e8c9821c37285dc2c97d0c70bd
[ "MIT" ]
null
null
null
import pytest @pytest.mark.asyncio async def test_get_shard_data(session): obj = await session.get_shard_data() print(obj)
14.888889
40
0.746269
20
134
4.75
0.7
0.168421
0.252632
0
0
0
0
0
0
0
0
0
0.164179
134
8
41
16.75
0.848214
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b25bc3f119553032e415cf79f19e2a2a95242aa
234
py
Python
Python3/专利检索爬虫/solvecsvFUCKED.py
BillChen2K/LearningRepo
af9abda76c9d18fa237f7b199d5634bda0a13f67
[ "MIT" ]
11
2020-05-02T20:06:07.000Z
2021-06-24T10:01:29.000Z
Python3/专利检索爬虫/solvecsvFUCKED.py
megan2019/LearningRepo
af9abda76c9d18fa237f7b199d5634bda0a13f67
[ "MIT" ]
null
null
null
Python3/专利检索爬虫/solvecsvFUCKED.py
megan2019/LearningRepo
af9abda76c9d18fa237f7b199d5634bda0a13f67
[ "MIT" ]
6
2020-06-04T04:29:28.000Z
2020-11-15T08:15:01.000Z
from lxml import etree import lxml import pickle with open('/Users/billchen/OneDrive/Workspace/LearningRepo/Python3/专利检索爬虫/20050101_20101231_B09B_PAGE1.pickle', 'rb') as f: source = '' p = pickle.load(f) html = etree.HTML(p)
26
123
0.747863
34
234
5.058824
0.735294
0.116279
0
0
0
0
0
0
0
0
0
0.098522
0.132479
234
8
124
29.25
0.748768
0
0
0
0
0
0.42735
0.418803
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8b3db55454b5827be3e10d42c064e5be9ce66f7c
84
py
Python
apps/lk/apps.py
DaniilGorokhov/CaloryHelper
6bf5ddce85479508b6498c3e4b2e0f4e5dd01b51
[ "MIT" ]
null
null
null
apps/lk/apps.py
DaniilGorokhov/CaloryHelper
6bf5ddce85479508b6498c3e4b2e0f4e5dd01b51
[ "MIT" ]
null
null
null
apps/lk/apps.py
DaniilGorokhov/CaloryHelper
6bf5ddce85479508b6498c3e4b2e0f4e5dd01b51
[ "MIT" ]
1
2021-02-15T17:40:23.000Z
2021-02-15T17:40:23.000Z
from django.apps import AppConfig class LkConfig(AppConfig): name = 'apps.lk'
14
33
0.72619
11
84
5.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.178571
84
5
34
16.8
0.884058
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c704e2d09c5de7202594d009e152f1ef9b1d0db
901
py
Python
kde/kdesdk/kcachegrind/kcachegrind.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-09-04T09:01:03.000Z
2022-01-04T20:09:00.000Z
kde/kdesdk/kcachegrind/kcachegrind.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-12-15T08:11:22.000Z
2020-12-29T19:11:13.000Z
kde/kdesdk/kcachegrind/kcachegrind.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
19
2017-09-05T19:16:21.000Z
2020-10-18T12:46:06.000Z
import info class subinfo(info.infoclass): def setTargets(self): self.versionInfo.setDefaultValues() self.description = "GUI to profilers such as Valgrind" self.defaultTarget = 'master' def setDependencies(self): self.runtimeDependencies["libs/qt5/qtbase"] = None self....
34.653846
79
0.720311
87
901
7.367816
0.471264
0.25117
0.25273
0.280811
0.397816
0.210608
0
0
0
0
0
0.010753
0.174251
901
25
80
36.04
0.850806
0
0
0
0
0
0.27081
0.210877
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.388889
0
0
0
0
null
1
1
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
3
8c8a3fa18a644dc53d849dea29bb8a71c89d9833
182
py
Python
experiments/runtests.py
MadhuNimmo/jalangi2
bbe8350b8ede5d978c1b3923780f277aacb1d074
[ "Apache-2.0" ]
null
null
null
experiments/runtests.py
MadhuNimmo/jalangi2
bbe8350b8ede5d978c1b3923780f277aacb1d074
[ "Apache-2.0" ]
null
null
null
experiments/runtests.py
MadhuNimmo/jalangi2
bbe8350b8ede5d978c1b3923780f277aacb1d074
[ "Apache-2.0" ]
null
null
null
from subprocess import call def call_fail(l): if call(l) != 0: print "{} failed".format(" ".join(l)) exit(1) call_fail(["python", "experiments/func_test.py"])
18.2
49
0.598901
26
182
4.076923
0.769231
0.150943
0
0
0
0
0
0
0
0
0
0.014085
0.21978
182
9
50
20.222222
0.732394
0
0
0
0
0
0.21978
0.131868
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
8cbacff4d48c09219380b49c7b56749002e1874f
302
py
Python
instagram_api/response/model/rewrite_rule.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/response/model/rewrite_rule.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/response/model/rewrite_rule.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
from ..mapper import PropertyMapper, ApiInterfaceBase from ..mapper.types import Timestamp, AnyType __all__ = ['RewriteRule', 'RewriteRuleInterface'] class RewriteRuleInterface(ApiInterfaceBase): matcher: str replacer: str class RewriteRule(PropertyMapper, RewriteRuleInterface): pass
21.571429
56
0.784768
26
302
8.961538
0.615385
0.085837
0
0
0
0
0
0
0
0
0
0
0.135762
302
13
57
23.230769
0.89272
0
0
0
0
0
0.102649
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.75
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
1
0
0
1
0
0
3
8cbf9a2f6a265e3c96cfc57e24874702176aed23
54
py
Python
ScriperSol/Scriper.UnitTests/Assets/helloWord.py
gitter-badger/Scriper
cdd67687f7942916c28658fc950b49c9f3b064cd
[ "MIT" ]
null
null
null
ScriperSol/Scriper.UnitTests/Assets/helloWord.py
gitter-badger/Scriper
cdd67687f7942916c28658fc950b49c9f3b064cd
[ "MIT" ]
null
null
null
ScriperSol/Scriper.UnitTests/Assets/helloWord.py
gitter-badger/Scriper
cdd67687f7942916c28658fc950b49c9f3b064cd
[ "MIT" ]
null
null
null
print("Hello World.") for x in range(10): print(x)
18
21
0.62963
10
54
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0.045455
0.185185
54
3
22
18
0.727273
0
0
0
0
0
0.218182
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
8cd26494368d915f2cb7c63ef89c9c0cf97f2f81
341
py
Python
tests/stl/test.py
AFlyingCar/EPYGen
63154c3882db3d489b03abe4a47a68e436a14fad
[ "MIT" ]
null
null
null
tests/stl/test.py
AFlyingCar/EPYGen
63154c3882db3d489b03abe4a47a68e436a14fad
[ "MIT" ]
null
null
null
tests/stl/test.py
AFlyingCar/EPYGen
63154c3882db3d489b03abe4a47a68e436a14fad
[ "MIT" ]
null
null
null
import STL print("===================") stl_vec = STL.GetVector() for i in stl_vec: print(i) print("===================") stl_map = STL.GetMap() for i in stl_map: print(i) print("===================") stl_str = STL.GetString() print(stl_str) print("===================") stl_tup = STL.GetTuple() for i in st...
14.826087
28
0.498534
46
341
3.521739
0.304348
0.246914
0.111111
0.166667
0
0
0
0
0
0
0
0
0.152493
341
22
29
15.5
0.560554
0
0
0.4375
0
0
0.224189
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.5
0
0
0
null
1
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
1
0
3
8ce0b58137f5aebe3d68e56ab22824148e09f6c2
113
py
Python
core/config.py
dorofeichik/FastAPI_book_store
d3a1eebff6d19f453f3b2725c76d84a0e6baf604
[ "MIT" ]
null
null
null
core/config.py
dorofeichik/FastAPI_book_store
d3a1eebff6d19f453f3b2725c76d84a0e6baf604
[ "MIT" ]
null
null
null
core/config.py
dorofeichik/FastAPI_book_store
d3a1eebff6d19f453f3b2725c76d84a0e6baf604
[ "MIT" ]
null
null
null
class Settings: PROJECT_TITLE: str = "Book store" PROJECT_VERSION: str = "0.1.1" settings = Settings()
16.142857
37
0.663717
15
113
4.866667
0.666667
0
0
0
0
0
0
0
0
0
0
0.033708
0.212389
113
6
38
18.833333
0.786517
0
0
0
0
0
0.132743
0
0
0
0
0
0
1
0
false
0
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
8cf9fe75f92dbd48897b4386285e503d87e0695a
278
py
Python
menu.py
cosgais/Game
9b65600e7abde92aed22e08f9a3e18e637fdb475
[ "MIT" ]
null
null
null
menu.py
cosgais/Game
9b65600e7abde92aed22e08f9a3e18e637fdb475
[ "MIT" ]
null
null
null
menu.py
cosgais/Game
9b65600e7abde92aed22e08f9a3e18e637fdb475
[ "MIT" ]
null
null
null
import pygame from pygame.locals import * class Menu: def __init__(self): #self.start = pygame.image.load('racecar.png') pass def update(self, dt): pass def draw(self, screen): pygame.draw.rect(screen, (0,0,255), (200,150,100,50))
19.857143
61
0.604317
39
278
4.205128
0.666667
0.085366
0
0
0
0
0
0
0
0
0
0.077295
0.255396
278
14
61
19.857143
0.714976
0.161871
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.222222
0.222222
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
1
0
1
0
0
1
0
0
3
8cfa13d804127a246f5ff929e346844b2917e76e
716
py
Python
myToken.py
MantouOwO/109topic
b872e9ad4ab0f07fc334de2d317172f3bb2e1002
[ "Apache-2.0" ]
null
null
null
myToken.py
MantouOwO/109topic
b872e9ad4ab0f07fc334de2d317172f3bb2e1002
[ "Apache-2.0" ]
null
null
null
myToken.py
MantouOwO/109topic
b872e9ad4ab0f07fc334de2d317172f3bb2e1002
[ "Apache-2.0" ]
null
null
null
import time import base64 import hmac #參考資料:https://medium.com/mr-efacani-teatime/%E6%B7%BA%E8%AB%87jwt%E7%9A%84%E5%AE%89%E5%85%A8%E6%80%A7%E8%88%87%E9%81%A9%E7%94%A8%E6%83%85%E5%A2%83-301b5491b60e secret_key = 'mantou' def toBytes(string): return bytes(string,'utf-8') def encodeBase64(text): return base64.urlsaf...
28.64
159
0.666201
111
716
4.252252
0.594595
0.016949
0
0
0
0
0
0
0
0
0
0.120827
0.121508
716
24
160
29.833333
0.629571
0.248603
0
0
0
0
0.127341
0.050562
0
0
0
0
0
1
0.214286
false
0
0.214286
0.142857
0.642857
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
1
1
0
0
3
50674381b46a1c8f20d043b2be20542b2da87756
7,396
py
Python
aequilibrae/transit/gtfs/stop.py
Art-Ev/aequilibrae
9f438278e09c875717779bfcc99bf7ba75ed1372
[ "MIT" ]
82
2018-07-18T09:58:21.000Z
2022-03-30T15:36:25.000Z
aequilibrae/transit/gtfs/stop.py
Art-Ev/aequilibrae
9f438278e09c875717779bfcc99bf7ba75ed1372
[ "MIT" ]
197
2018-06-30T07:01:46.000Z
2022-03-30T06:30:43.000Z
aequilibrae/transit/gtfs/stop.py
Art-Ev/aequilibrae
9f438278e09c875717779bfcc99bf7ba75ed1372
[ "MIT" ]
29
2018-07-16T18:10:39.000Z
2022-03-30T15:36:26.000Z
class Stop: """ Represents each one of the physical stops in a GTFS dataset (from https://developers.google.com/transit/gtfs/reference/) Fields ______ * **id** `(stop_id)` **Required** - The stop_id field contains an ID that uniquely identifies a stop, station, or station entrance. Multiple routes...
104.169014
1,135
0.73729
1,155
7,396
4.658009
0.238095
0.032528
0.016915
0.026022
0.237361
0.205576
0.194796
0.16171
0.149442
0.149442
0
0.005295
0.208356
7,396
70
1,136
105.657143
0.913578
0.92861
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
50810014044e376cd798e0b655725ed6b38c7100
513
py
Python
peas/tests/serial_handlers/__init__.py
zacharyt20/POCS
8f785eaf27178be7d72106cb82e5400a8b852ba8
[ "MIT" ]
1
2019-07-19T10:37:08.000Z
2019-07-19T10:37:08.000Z
peas/tests/serial_handlers/__init__.py
zacharyt20/POCS
8f785eaf27178be7d72106cb82e5400a8b852ba8
[ "MIT" ]
null
null
null
peas/tests/serial_handlers/__init__.py
zacharyt20/POCS
8f785eaf27178be7d72106cb82e5400a8b852ba8
[ "MIT" ]
null
null
null
"""The protocol_*.py files in this package are based on PySerial's file test/handlers/protocol_test.py, modified for different behaviors. The call serial.serial_for_url("XYZ://") looks for a class Serial in a file named protocol_XYZ.py in this package (i.e. directory). This package init file will be loaded as part of...
51.3
98
0.779727
90
513
4.388889
0.633333
0.111392
0.098734
0
0
0
0
0
0
0
0
0
0.152047
513
9
99
57
0.908046
0.984405
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5099f9429d6aaec98c0839fa882d53d23aca776a
198
py
Python
annotation_pipline/get_plaintext.py
d-e-h-i-o/bachelor_thesis
64bc5fb2c65621f7a8265bade0328d3f8c950ff3
[ "MIT" ]
1
2021-12-20T12:56:32.000Z
2021-12-20T12:56:32.000Z
annotation_pipline/get_plaintext.py
DFKI-NLP/covid19-law-matching
c704a926977ef5f7fd4867125a2e79f352efd163
[ "MIT" ]
null
null
null
annotation_pipline/get_plaintext.py
DFKI-NLP/covid19-law-matching
c704a926977ef5f7fd4867125a2e79f352efd163
[ "MIT" ]
1
2021-11-24T11:21:33.000Z
2021-11-24T11:21:33.000Z
from newsplease import NewsPlease from retry import retry @retry(tries=3, delay=2) def fetch_plaintext(url: str) -> str: article = NewsPlease.from_url(url) return article.maintext or ""
18
38
0.732323
28
198
5.107143
0.607143
0.195804
0
0
0
0
0
0
0
0
0
0.012195
0.171717
198
10
39
19.8
0.859756
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
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
1
0
1
0
0
3
50b0514371c1dbff0f0ec3521d33eb97209177c7
83
py
Python
paths.py
yonlif/CitySimulator
ca0d0de41cc37ef17f22af2c1a329319d2dbbeb2
[ "Apache-2.0" ]
null
null
null
paths.py
yonlif/CitySimulator
ca0d0de41cc37ef17f22af2c1a329319d2dbbeb2
[ "Apache-2.0" ]
null
null
null
paths.py
yonlif/CitySimulator
ca0d0de41cc37ef17f22af2c1a329319d2dbbeb2
[ "Apache-2.0" ]
null
null
null
from pathlib import Path NYC_DATA_PATH = Path('data') / 'CSCL_PUB_Centerline.csv'
20.75
56
0.771084
13
83
4.615385
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.120482
83
3
57
27.666667
0.821918
0
0
0
0
0
0.325301
0.277108
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
50c7dd6eac01ba576abe09a2f9031f2911fde971
3,261
py
Python
autodiff/decorators.py
gwtaylor/pyautodiff
7973e26f1c233570ed4bb10d08634ec7378e2152
[ "BSD-3-Clause" ]
59
2015-02-03T20:50:59.000Z
2020-05-26T05:38:54.000Z
autodiff/decorators.py
gwtaylor/pyautodiff
7973e26f1c233570ed4bb10d08634ec7378e2152
[ "BSD-3-Clause" ]
3
2015-05-10T06:22:45.000Z
2016-12-06T02:20:58.000Z
autodiff/decorators.py
gwtaylor/pyautodiff
7973e26f1c233570ed4bb10d08634ec7378e2152
[ "BSD-3-Clause" ]
11
2015-04-15T16:52:09.000Z
2017-06-28T12:10:39.000Z
from autodiff.symbolic import Symbolic, Function, Gradient, HessianVector import collections def function(fn=None, **kwargs): """ Wraps a function with an AutoDiff Function instance, converting it to a symbolic representation. The function is compiled the first time it is called. Use: @f...
27.871795
78
0.641214
391
3,261
5.26087
0.219949
0.088478
0.057851
0.033058
0.660671
0.63053
0.61157
0.589694
0.550802
0.421488
0
0.002537
0.274762
3,261
117
79
27.871795
0.86723
0.588163
0
0.387097
0
0
0
0
0
0
0
0
0
1
0.258065
false
0
0.064516
0.129032
0.709677
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
1
1
0
0
3
50cc80f625a434563d8bd32aa69e002c8f433cbc
131
py
Python
config.py
pythonjsgo/mail_tracking_bot
a541fed67b1b85f912088e0c4920ff9f6dabf5bb
[ "MIT" ]
null
null
null
config.py
pythonjsgo/mail_tracking_bot
a541fed67b1b85f912088e0c4920ff9f6dabf5bb
[ "MIT" ]
null
null
null
config.py
pythonjsgo/mail_tracking_bot
a541fed67b1b85f912088e0c4920ff9f6dabf5bb
[ "MIT" ]
null
null
null
TOKEN = "1807234388:AAHbvU9Crr6BURnLMwT8m4hrneGgxGvbm8A" pochta_api_login = "YadBdduZvCLDvZ" pochta_api_password = "oAD8k3MpRHq5"
26.2
56
0.847328
11
131
9.727273
0.818182
0.168224
0
0
0
0
0
0
0
0
0
0.14876
0.076336
131
5
57
26.2
0.735537
0
0
0
0
0
0.545455
0.348485
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
50cfd74d5dd92f459fa4e1ff1f665cd51c057e1f
334
py
Python
migrations/versions/0209_add_cancelled_status.py
tlwr/notifications-api
88a6b7729edb9be41ce3e7c027f1452b7b6d00d2
[ "MIT" ]
51
2016-04-03T23:36:17.000Z
2022-03-21T20:04:52.000Z
migrations/versions/0209_add_cancelled_status.py
tlwr/notifications-api
88a6b7729edb9be41ce3e7c027f1452b7b6d00d2
[ "MIT" ]
1,335
2015-12-15T14:28:50.000Z
2022-03-30T16:24:27.000Z
migrations/versions/0209_add_cancelled_status.py
tlwr/notifications-api
88a6b7729edb9be41ce3e7c027f1452b7b6d00d2
[ "MIT" ]
30
2016-01-08T19:05:32.000Z
2021-12-20T16:37:23.000Z
""" Revision ID: 0209_add_cancelled_status Revises: 84c3b6eb16b3 Create Date: 2018-07-31 13:34:00.018447 """ from alembic import op revision = '0209_add_cancelled_status' down_revision = '84c3b6eb16b3' def upgrade(): op.execute("INSERT INTO notification_status_types (name) VALUES ('cancelled')") def downgrad...
16.7
83
0.748503
44
334
5.477273
0.75
0.058091
0.13278
0.182573
0
0
0
0
0
0
0
0.146341
0.140719
334
19
84
17.578947
0.69338
0.299401
0
0
0
0
0.455357
0.223214
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0
0.428571
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
1
0
1
0
0
0
0
0
3
50d3d8bef2a89f7fd1535b32b328c27fd6cea66d
769
py
Python
variation/translators/polypeptide_truncation.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
variation/translators/polypeptide_truncation.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
15
2019-10-23T17:35:42.000Z
2020-05-05T21:04:01.000Z
variation/translators/polypeptide_truncation.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
"""Module for Polypeptide Truncation Translation.""" from variation.translators.translator import Translator from variation.schemas.classification_response_schema import ClassificationType from variation.schemas.token_response_schema import PolypeptideTruncationToken, Token class PolypeptideTruncation(Translator): ...
45.235294
85
0.782835
77
769
7.714286
0.415584
0.176768
0.06734
0
0
0
0
0
0
0
0
0
0.141743
769
16
86
48.0625
0.9
0.276983
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.375
0
1
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
1
0
1
0
0
3
0fd606c0d74b41773b151cbc194b805f0ebef5a6
8,818
py
Python
load_d2c_data/question_to_fields_final_perfect.py
0bserver07/neural-engineers-first-attempt
19760251b7080ffe2e7b15146af6844811da4141
[ "MIT" ]
10
2017-09-10T14:42:36.000Z
2020-12-03T11:45:17.000Z
load_d2c_data/question_to_fields_final_perfect.py
0bserver07/neural-engineers-first-attempt
19760251b7080ffe2e7b15146af6844811da4141
[ "MIT" ]
null
null
null
load_d2c_data/question_to_fields_final_perfect.py
0bserver07/neural-engineers-first-attempt
19760251b7080ffe2e7b15146af6844811da4141
[ "MIT" ]
7
2017-10-03T04:43:50.000Z
2020-09-23T14:39:27.000Z
# -*- coding: utf-8 -*- import string import segtok.segmenter import segtok.tokenizer from segtok.tokenizer import symbol_tokenizer, word_tokenizer, web_tokenizer from segtok.tokenizer import split_possessive_markers, split_contractions '''ADD SECTION FOR CONVERTING EVERYTHING TO LOWER CASE''' q = '''Description: ...
47.408602
1,231
0.67487
1,597
8,818
3.863494
0.189731
0.015235
0.049595
0.035656
0.347326
0.285737
0.264019
0.213938
0.164344
0.164344
0
0.017184
0.188251
8,818
185
1,232
47.664865
0.805672
0.010093
0
0.244755
0
0.06993
0.666349
0
0
0
0
0
0
0
null
null
0
0.034965
null
null
0.041958
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0fe0b94ebd4cf2a1e5c37a874ebee90f425e48c6
369
py
Python
bc/documents/models.py
Buckinghamshire-Digital-Service/buckinghamshire-council
bbbdb52b515bcdfc79a2bd9198dfa4828405370e
[ "BSD-3-Clause" ]
1
2021-02-27T07:27:17.000Z
2021-02-27T07:27:17.000Z
bc/documents/models.py
Buckinghamshire-Digital-Service/buckinghamshire-council
bbbdb52b515bcdfc79a2bd9198dfa4828405370e
[ "BSD-3-Clause" ]
null
null
null
bc/documents/models.py
Buckinghamshire-Digital-Service/buckinghamshire-council
bbbdb52b515bcdfc79a2bd9198dfa4828405370e
[ "BSD-3-Clause" ]
1
2021-06-09T15:56:54.000Z
2021-06-09T15:56:54.000Z
from django.db import models from wagtail.documents.models import AbstractDocument from wagtail.documents.models import Document as WagtailDocument class CustomDocument(AbstractDocument): talentlink_attachment_id = models.IntegerField(blank=True, null=True) admin_form_fields = WagtailDocument.admin_form_fiel...
30.75
73
0.802168
41
369
7.02439
0.560976
0.076389
0.138889
0.180556
0.222222
0
0
0
0
0
0
0
0.135501
369
11
74
33.545455
0.902821
0
0
0
0
0
0.065041
0.065041
0
0
0
0
0
1
0
false
0
0.375
0
0.75
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
1
0
1
0
0
3
0ff600b374b51c8ece3f7904f07c5e96da77511d
237
py
Python
tests/private_data.py
davidk/pytinysong
fa8e7bb02dee2a8979dbacec28e6df5f32d6c89d
[ "CC0-1.0" ]
null
null
null
tests/private_data.py
davidk/pytinysong
fa8e7bb02dee2a8979dbacec28e6df5f32d6c89d
[ "CC0-1.0" ]
null
null
null
tests/private_data.py
davidk/pytinysong
fa8e7bb02dee2a8979dbacec28e6df5f32d6c89d
[ "CC0-1.0" ]
null
null
null
import os # Replace API_KEY with your personal API key from Tinysong if you want # to run tests. if 'TRAVIS_SECURE_ENV_VARS' in os.environ and os.environ['TRAVIS_SECURE_ENV_VARS'] == 'true': KEY = os.environ['KEY'] else: KEY=''
29.625
93
0.7173
40
237
4.075
0.625
0.165644
0.184049
0.233129
0
0
0
0
0
0
0
0
0.172996
237
7
94
33.857143
0.831633
0.350211
0
0
0
0
0.337748
0.291391
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e841fe2b78eb122d29ad90a9ec8c3ed750df4074
295
py
Python
smolisa_py/asm/label.py
AsuMagic/smolisa-emu
96fb84fbb783024618cb0cc2096fb24021cf3e5e
[ "MIT" ]
null
null
null
smolisa_py/asm/label.py
AsuMagic/smolisa-emu
96fb84fbb783024618cb0cc2096fb24021cf3e5e
[ "MIT" ]
null
null
null
smolisa_py/asm/label.py
AsuMagic/smolisa-emu
96fb84fbb783024618cb0cc2096fb24021cf3e5e
[ "MIT" ]
null
null
null
class Label: def __init__(self, name): self.name = name class LabelAccess: def __init__(self, name, lower_byte): self.name = name self.lower_byte = lower_byte def high(name): return LabelAccess(name, False) def low(name): return LabelAccess(name, True)
21.071429
41
0.657627
39
295
4.692308
0.358974
0.174863
0.120219
0.163934
0
0
0
0
0
0
0
0
0.244068
295
14
42
21.071429
0.820628
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0
0.181818
0.727273
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
1
0
0
0
1
0
0
0
3
e84b37db84fb224f136e811ebfe2d8fd1580231a
159
py
Python
src/liquidhandling/hudson/__init__.py
AD-SDL/hudson-liquidhandling
a9d7ba9c85062e821ba8e650f4e4ee011c80be4e
[ "MIT" ]
1
2021-06-29T20:24:38.000Z
2021-06-29T20:24:38.000Z
src/liquidhandling/hudson/__init__.py
AD-SDL/hudson-liquidhandling
a9d7ba9c85062e821ba8e650f4e4ee011c80be4e
[ "MIT" ]
null
null
null
src/liquidhandling/hudson/__init__.py
AD-SDL/hudson-liquidhandling
a9d7ba9c85062e821ba8e650f4e4ee011c80be4e
[ "MIT" ]
null
null
null
from .SoloSoft import SoloSoft from .RapidPick import RapidPick from .SoftLinx import SoftLinx __all__ = [ "SoloSoft", "RapidPick", "SoftLinx", ]
15.9
32
0.704403
16
159
6.75
0.375
0
0
0
0
0
0
0
0
0
0
0
0.201258
159
9
33
17.666667
0.850394
0
0
0
0
0
0.157233
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e8549f7d6bf867a5a531818be0f0f8e6fcc92ffb
1,899
py
Python
oslash/cont.py
sobolevn/OSlash
ffdc714c5d454f7519f740254de89f70850929eb
[ "Apache-2.0" ]
null
null
null
oslash/cont.py
sobolevn/OSlash
ffdc714c5d454f7519f740254de89f70850929eb
[ "Apache-2.0" ]
null
null
null
oslash/cont.py
sobolevn/OSlash
ffdc714c5d454f7519f740254de89f70850929eb
[ "Apache-2.0" ]
null
null
null
""" The Continuation Monad * https://wiki.haskell.org/MonadCont_under_the_hood * http://blog.sigfpe.com/2008/12/mother-of-all-monads.html * http://www.haskellforall.com/2012/12/the-continuation-monad.html """ from typing import Any, Callable from .util import identity, compose from .abc import Monad, Functor clas...
27.926471
80
0.590311
249
1,899
4.417671
0.349398
0.054545
0.072727
0.046364
0.062727
0.062727
0
0
0
0
0
0.008505
0.256977
1,899
67
81
28.343284
0.771084
0.381253
0
0
0
0
0.019417
0
0
0
0
0
0
1
0.32
false
0
0.12
0.12
0.76
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
1
1
0
0
3
e85528368232466fd8bf51ab7cbec53b71448f7f
115
py
Python
main.py
aamirza/bookworm
bdc9411d0b3e9a3c06638141fcb03227db247654
[ "MIT" ]
1
2021-11-09T11:32:49.000Z
2021-11-09T11:32:49.000Z
main.py
aamirza/bookworm
bdc9411d0b3e9a3c06638141fcb03227db247654
[ "MIT" ]
null
null
null
main.py
aamirza/bookworm
bdc9411d0b3e9a3c06638141fcb03227db247654
[ "MIT" ]
null
null
null
import sys from cli import parser def main(): parser.main(sys.argv) if __name__ == "__main__": main()
9.583333
26
0.643478
16
115
4.125
0.625
0
0
0
0
0
0
0
0
0
0
0
0.234783
115
11
27
10.454545
0.75
0
0
0
0
0
0.069565
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
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
1
0
1
0
0
0
0
3
e868646540c7d3d62ea2181da3c2348537e04088
342
py
Python
Python_do_zero_Guanabara/03_Utilizando Módulos/desafio/17_desafio.py
HenriqueSOliver/Projetos_Python
f18c5a343ad1b746a12bd372298b2debe9bc65ec
[ "MIT" ]
null
null
null
Python_do_zero_Guanabara/03_Utilizando Módulos/desafio/17_desafio.py
HenriqueSOliver/Projetos_Python
f18c5a343ad1b746a12bd372298b2debe9bc65ec
[ "MIT" ]
null
null
null
Python_do_zero_Guanabara/03_Utilizando Módulos/desafio/17_desafio.py
HenriqueSOliver/Projetos_Python
f18c5a343ad1b746a12bd372298b2debe9bc65ec
[ "MIT" ]
null
null
null
#faça um programa que leia o comprimento do cateto oposto e de cateto adjacente de um triangulo retangulo, calcule e mostre o comprimento da hipotenusa. from math import hypot co = float(input('Comprimento do cateto oposto: ')) ca = float(input('Comprimento do cateto adijacente: ')) print(f'A hipotenusa vai medir {mat...
57
152
0.766082
54
342
4.851852
0.62963
0.148855
0.217557
0.19084
0.221374
0
0
0
0
0
0
0.003413
0.143275
342
6
153
57
0.890785
0.44152
0
0
0
0
0.581152
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e876076773eca1864c481da9b3a14b00dd7cca2b
613
py
Python
pyutilib/excel/base.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
24
2016-04-02T10:00:02.000Z
2021-03-02T16:40:18.000Z
pyutilib/excel/base.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
105
2015-10-29T03:29:58.000Z
2021-12-30T22:00:45.000Z
pyutilib/excel/base.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
22
2016-01-21T15:35:25.000Z
2021-05-15T20:17:44.000Z
# _________________________________________________________________________ # # PyUtilib: A Python utility library. # Copyright (c) 2008 Sandia Corporation. # This software is distributed under the BSD License. # Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, # the U.S. Government retains ...
29.190476
76
0.771615
61
613
5.295082
0.721311
0.055728
0.139319
0.111455
0.130031
0
0
0
0
0
0
0.025743
0.176183
613
20
77
30.65
0.613861
0.672104
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.428571
1
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
1
1
0
0
3
e87e8c86eb627d9c24a150fc0c0a9b8f1bf370ff
1,177
py
Python
molecule/default/tests/test_2fa.py
mtpettyp/ansible-base
7bf8d2a267069ac8a6659899b354da7f05ba092f
[ "MIT" ]
null
null
null
molecule/default/tests/test_2fa.py
mtpettyp/ansible-base
7bf8d2a267069ac8a6659899b354da7f05ba092f
[ "MIT" ]
null
null
null
molecule/default/tests/test_2fa.py
mtpettyp/ansible-base
7bf8d2a267069ac8a6659899b354da7f05ba092f
[ "MIT" ]
null
null
null
import pytest """Role testing 2fa using testinfra.""" @pytest.fixture(autouse=True) def run_around_tests(host): host.run('apt-get install sshpass') host.run("rm ~test1/.google_authenticator") host.run( "yes '' | ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519 -N ''") host.run( "cat /...
29.425
76
0.680544
147
1,177
5.353742
0.421769
0.106734
0.213469
0.177891
0.504447
0.416773
0.149936
0.149936
0.149936
0
0
0.048958
0.184367
1,177
39
77
30.179487
0.770833
0.085811
0
0.291667
0
0
0.576402
0.338491
0
0
0
0
0.083333
1
0.083333
false
0.083333
0.041667
0
0.125
0
0
0
0
null
0
1
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
1
0
0
0
0
0
3
e87ed7067cd265af638d0d392c05bfda959d96fe
53
py
Python
files/image/cron/crontab/__init__.py
ZPascal/container-manager
5f3c8784d7b73ef52baae9f2bc40bcfc660e6d72
[ "Apache-2.0" ]
null
null
null
files/image/cron/crontab/__init__.py
ZPascal/container-manager
5f3c8784d7b73ef52baae9f2bc40bcfc660e6d72
[ "Apache-2.0" ]
1
2021-12-01T23:10:29.000Z
2021-12-01T23:10:29.000Z
files/image/cron/crontab/__init__.py
ZPascal/container-manager
5f3c8784d7b73ef52baae9f2bc40bcfc660e6d72
[ "Apache-2.0" ]
null
null
null
from ._crontab import CronTab __all__ = ["CronTab"]
13.25
29
0.735849
6
53
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.150943
53
3
30
17.666667
0.755556
0
0
0
0
0
0.132075
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e880e1334d1a852e61408a411187468db5a09d3d
413
py
Python
AutoXGBoost/imports.py
KOLANICH/AutoXGBoost
6c539207a7f5a725eec63ec9f0c32accf2636d48
[ "Unlicense" ]
1
2018-08-24T03:33:13.000Z
2018-08-24T03:33:13.000Z
AutoXGBoost/imports.py
KOLANICH/AutoXGBoost
6c539207a7f5a725eec63ec9f0c32accf2636d48
[ "Unlicense" ]
null
null
null
AutoXGBoost/imports.py
KOLANICH/AutoXGBoost
6c539207a7f5a725eec63ec9f0c32accf2636d48
[ "Unlicense" ]
null
null
null
import sys import types import typing from typing import * from functools import partial, wraps from pprint import pformat, pprint import warnings from pandas import DataFrame, Series import scipy as np import pandas from pandas import DataFrame try: from tqdm.autonotebook import tqdm as mtqdm excep...
18.772727
45
0.774818
59
413
5.423729
0.440678
0.075
0.1
0.15625
0
0
0
0
0
0
0
0
0.208232
413
22
46
18.772727
0.978593
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.882353
0
0.882353
0.058824
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
1
0
1
0
0
3
e89a540fc9f92159b09f9232dbedee1f730d3a6a
109
py
Python
code/abc143_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc143_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc143_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
N=int(input()) d=list(map(int,input().split())) print(sum(d[x]*d[y] for x in range(N) for y in range(x+1,N)))
36.333333
61
0.623853
27
109
2.518519
0.555556
0.235294
0
0
0
0
0
0
0
0
0
0.010101
0.091743
109
3
61
36.333333
0.676768
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8aa3c88fa78f895163f59ef12429d8b154f55bb
304
py
Python
paderbox/array/intervall.py
JanekEbb/paderbox
7cd3bf92380e05ec856936d21a64d0a8a3ff0fca
[ "MIT" ]
25
2019-12-21T21:10:08.000Z
2022-02-04T10:40:19.000Z
paderbox/array/intervall.py
JanekEbb/paderbox
7cd3bf92380e05ec856936d21a64d0a8a3ff0fca
[ "MIT" ]
32
2019-12-21T21:48:24.000Z
2022-03-31T08:20:39.000Z
paderbox/array/intervall.py
JanekEbb/paderbox
7cd3bf92380e05ec856936d21a64d0a8a3ff0fca
[ "MIT" ]
254
2019-12-16T08:15:08.000Z
2021-11-26T12:41:12.000Z
from .interval import * from .interval import ArrayInterval as ArrayIntervall import warnings warnings.warn( 'Using ArrayIntervall (with double l) from paderbox.array.intervall (with ' 'double l) is deprecated. Use ArrayInterval from paderbox.array.interval ' '(with a single l) instead.' )
30.4
79
0.756579
38
304
6.052632
0.552632
0.104348
0.156522
0
0
0
0
0
0
0
0
0
0.164474
304
9
80
33.777778
0.905512
0
0
0
0
0
0.5625
0.154605
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e8abf7ea4446423696d80792fe2cb2b54d44aefa
11,176
py
Python
fixedeffect/iv/ivtest.py
rphilipzhang/FixedEffectModel
017a6f555fff44392d33e45e26c406d02ddde109
[ "BSD-3-Clause" ]
null
null
null
fixedeffect/iv/ivtest.py
rphilipzhang/FixedEffectModel
017a6f555fff44392d33e45e26c406d02ddde109
[ "BSD-3-Clause" ]
null
null
null
fixedeffect/iv/ivtest.py
rphilipzhang/FixedEffectModel
017a6f555fff44392d33e45e26c406d02ddde109
[ "BSD-3-Clause" ]
null
null
null
import pandas as pd import numpy as np import scipy as sp from io import StringIO import warnings from statsmodels.iolib.table import SimpleTable from scipy.stats import chi2 import statsmodels.api as sm from ..utils.Forg import forg from ..utils.TableFormat import gen_fmt, fmt_2 #function generate instrumental vari...
38.940767
115
0.561024
2,321
11,176
2.561827
0.127962
0.026909
0.014127
0.020182
0.134712
0.073495
0.073158
0.062563
0.053986
0.053986
0
0.260884
0.206693
11,176
287
116
38.940767
0.409768
0.089299
0
0.042453
0
0.273585
0.417374
0.325864
0
0
0
0
0
1
0.004717
false
0
0.04717
0
0.056604
0.037736
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8b08e07a124a5894e0a2f6c454b7b7c1764e371
2,652
py
Python
qcloudsdkcdn/AddYYCdnHostRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcdn/AddYYCdnHostRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcdn/AddYYCdnHostRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class AddYYCdnHostRequest(Request): def __init__(self): super(AddYYCdnHostRequest, self).__init__( 'cdn', 'qcloudcliV1', 'AddYYCdnHost', 'cdn.api.qcloud.com') def get_antiStealingLink(self): return self.get_params(...
28.212766
71
0.673454
305
2,652
5.645902
0.127869
0.04878
0.113821
0.138211
0.211382
0.211382
0
0
0
0
0
0.000945
0.202112
2,652
93
72
28.516129
0.812854
0.007919
0
0
0
0
0.118676
0
0
0
0
0
0
1
0.47541
false
0
0.016393
0.229508
0.737705
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
1
1
0
0
3
fa038dd03b1d28515952556d3c3ab0b0bb51b2fb
229
py
Python
evennia/scripts/__init__.py
Jaykingamez/evennia
cf7cab1fea99ede3efecb70a65c3eb0fba1d3745
[ "BSD-3-Clause" ]
1,544
2015-01-01T22:16:31.000Z
2022-03-31T19:17:45.000Z
evennia/scripts/__init__.py
Jaykingamez/evennia
cf7cab1fea99ede3efecb70a65c3eb0fba1d3745
[ "BSD-3-Clause" ]
1,686
2015-01-02T18:26:31.000Z
2022-03-31T20:12:03.000Z
evennia/scripts/__init__.py
Jaykingamez/evennia
cf7cab1fea99ede3efecb70a65c3eb0fba1d3745
[ "BSD-3-Clause" ]
867
2015-01-02T21:01:54.000Z
2022-03-29T00:28:27.000Z
""" This sub-package holds the Scripts system. Scripts are database entities that can store data both in connection to Objects and Accounts or globally. They may also have a timer-component to execute various timed effects. """
28.625
71
0.790393
36
229
5.027778
0.944444
0
0
0
0
0
0
0
0
0
0
0
0.161572
229
7
72
32.714286
0.942708
0.956332
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fa2bb53c12a588d29d43ef76a7170a5b55b0cd87
99
py
Python
year calendar.py
jeettilva/python
9e0fb551d42d4b9de773526338df14dba161e9ac
[ "MIT" ]
null
null
null
year calendar.py
jeettilva/python
9e0fb551d42d4b9de773526338df14dba161e9ac
[ "MIT" ]
null
null
null
year calendar.py
jeettilva/python
9e0fb551d42d4b9de773526338df14dba161e9ac
[ "MIT" ]
null
null
null
import calendar year=int(input("Enter Year: ")) display=calendar.calendar(year) print(display)
19.8
32
0.747475
13
99
5.692308
0.615385
0.324324
0
0
0
0
0
0
0
0
0
0
0.111111
99
4
33
24.75
0.840909
0
0
0
0
0
0.126316
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa38201582ef2a31b32936a30e7d0ddfc7dab3bd
119
py
Python
test.py
Andersonlima1/allflix0
9403c0a2995bf9930daa795b12aafc527fcf895b
[ "MIT" ]
null
null
null
test.py
Andersonlima1/allflix0
9403c0a2995bf9930daa795b12aafc527fcf895b
[ "MIT" ]
2
2021-03-11T04:07:09.000Z
2022-02-27T09:28:21.000Z
test.py
Andersonlima1/allflix0
9403c0a2995bf9930daa795b12aafc527fcf895b
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt x = np.linspace(0,2*np.pi) y = np.sin(x) plt.plot(x,y) plt.show()
13.222222
31
0.689076
26
119
3.153846
0.615385
0
0
0
0
0
0
0
0
0
0
0.019802
0.151261
119
8
32
14.875
0.792079
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3aff9c27dea9b20fa0008ede185890ed6a920bed
347
py
Python
aspen/simplates/renderers/stdlib_format.py
galuszkak/aspen.py
a29047d6d4eefa47413e35a18068946424898364
[ "MIT" ]
null
null
null
aspen/simplates/renderers/stdlib_format.py
galuszkak/aspen.py
a29047d6d4eefa47413e35a18068946424898364
[ "MIT" ]
null
null
null
aspen/simplates/renderers/stdlib_format.py
galuszkak/aspen.py
a29047d6d4eefa47413e35a18068946424898364
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from . import Renderer, Factory class Renderer(Renderer): def render_content(self, context): return self.compiled.format(**context) class Factory(Factory...
20.411765
46
0.786744
41
347
6.170732
0.487805
0.158103
0.252964
0
0
0
0
0
0
0
0
0
0.158501
347
16
47
21.6875
0.866438
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.5
0.1
1
0.1
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
1
0
1
0
0
3
d70cdf1b3fd5dbaacf3bf1557ab2f5ac8f345357
186
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/objects.py
cuongnb14/cookiecutter-flask-restful
d2da71f192db626370ae702c358eadaf1bbc905a
[ "MIT" ]
2
2017-10-24T16:01:57.000Z
2017-11-15T18:34:41.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/objects.py
cuongnb14/cookiecutter-flask-restful
d2da71f192db626370ae702c358eadaf1bbc905a
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/objects.py
cuongnb14/cookiecutter-flask-restful
d2da71f192db626370ae702c358eadaf1bbc905a
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask("{{cookiecutter.project_slug}}") app.config.from_pyfile('configs/config.py') # Init db db = SQLAlchemy(app)
20.666667
44
0.774194
26
186
5.423077
0.538462
0.12766
0
0
0
0
0
0
0
0
0
0
0.107527
186
8
45
23.25
0.849398
0.037634
0
0
0
0
0.259887
0.163842
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d70dbb086c453cdfe83adaf8ebde0a689fb10df9
209
py
Python
asg_alb_webservers/app.py
darko-mesaros/awsome_building_in_the_cloud_demos
baff18904bb87d74fa13bcf1ef926dbe4f361da6
[ "MIT" ]
2
2020-09-16T08:20:34.000Z
2020-09-16T09:19:22.000Z
asg_alb_webservers/app.py
darko-mesaros/awsome_building_in_the_cloud_demos
baff18904bb87d74fa13bcf1ef926dbe4f361da6
[ "MIT" ]
null
null
null
asg_alb_webservers/app.py
darko-mesaros/awsome_building_in_the_cloud_demos
baff18904bb87d74fa13bcf1ef926dbe4f361da6
[ "MIT" ]
1
2021-05-23T04:32:38.000Z
2021-05-23T04:32:38.000Z
#!/usr/bin/env python3 from aws_cdk import core from asg_alb_webservers.asg_alb_webservers_stack import AsgAlbWebserversStack app = core.App() AsgAlbWebserversStack(app, "asg-alb-webservers") app.synth()
17.416667
77
0.803828
29
209
5.586207
0.551724
0.111111
0.296296
0
0
0
0
0
0
0
0
0.005319
0.100478
209
11
78
19
0.856383
0.100478
0
0
0
0
0.096257
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
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
1
0
0
0
0
3
d7163abb8cab8d97f9dd68760c6b806b28f3c2cd
4,284
py
Python
src/accounts/migrations/0001_initial.py
NikolayTls/CarRental-Fullstack
e535976c25dd77896a355a2d30b5348be90ac040
[ "MIT" ]
null
null
null
src/accounts/migrations/0001_initial.py
NikolayTls/CarRental-Fullstack
e535976c25dd77896a355a2d30b5348be90ac040
[ "MIT" ]
null
null
null
src/accounts/migrations/0001_initial.py
NikolayTls/CarRental-Fullstack
e535976c25dd77896a355a2d30b5348be90ac040
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-10-17 12:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Car', fields=[ ...
51
168
0.593137
450
4,284
5.488889
0.186667
0.068016
0.0583
0.077733
0.763968
0.738866
0.738866
0.647773
0.598785
0.598785
0
0.019152
0.256536
4,284
83
169
51.614458
0.756358
0.010504
0
0.486842
1
0
0.114704
0
0
0
0
0
0
1
0
false
0
0.026316
0
0.078947
0
0
0
0
null
0
0
0
0
1
1
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
3
d72199c88ef266c08f124bdd5c04dca01a9f2791
172
py
Python
tests/test_referenceless.py
notricenotsweet/GEM-metrics
10d689891558862593cdf3ad56656bbbb6249cb8
[ "MIT" ]
1
2021-04-18T22:09:34.000Z
2021-04-18T22:09:34.000Z
tests/test_referenceless.py
maybay21/GEM-metrics
2693f3439547a40897bc30c2ab70e27e992883c0
[ "MIT" ]
null
null
null
tests/test_referenceless.py
maybay21/GEM-metrics
2693f3439547a40897bc30c2ab70e27e992883c0
[ "MIT" ]
1
2021-07-11T18:18:35.000Z
2021-07-11T18:18:35.000Z
"""Test class for metrics that don't use a reference. """ import unittest class TestReferenceLessMetric(object): pass if __name__ == '__main__': unittest.main()
15.636364
53
0.709302
21
172
5.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.180233
172
10
54
17.2
0.808511
0.290698
0
0
0
0
0.069565
0
0
0
0
0
0
1
0
true
0.2
0.2
0
0.4
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
1
1
0
0
0
0
0
3
d72aeb24042579690a699fc8349cabbb11bc4187
1,200
py
Python
tests/test_variables.py
msiemens/mlisp
c6d3d3593dbd1dfb53d07a35f85a67e5bafab71a
[ "Unlicense", "MIT" ]
2
2015-07-05T04:46:13.000Z
2020-01-08T23:23:22.000Z
tests/test_variables.py
msiemens/mlisp
c6d3d3593dbd1dfb53d07a35f85a67e5bafab71a
[ "Unlicense", "MIT" ]
null
null
null
tests/test_variables.py
msiemens/mlisp
c6d3d3593dbd1dfb53d07a35f85a67e5bafab71a
[ "Unlicense", "MIT" ]
null
null
null
from testhelpers import * init() mlisp_builtins = ["+", "-", "*", "/", "%", "head", "tail", "list", "eval", "join", "cons", "def", "=", "lambda"] def test_qexpr(): with run('{}') as r: assert is_qexpr(r) and is_empty(r) with run('{1 2 3}') as r: assert is_qexpr(r) a...
20.338983
66
0.508333
185
1,200
3.178378
0.324324
0.154762
0.183673
0.205782
0.341837
0.341837
0.241497
0.163265
0
0
0
0.025579
0.315833
1,200
59
67
20.338983
0.690621
0.021667
0
0.171429
0
0
0.145299
0
0
0
0
0.016949
0.4
1
0.114286
false
0
0.028571
0
0.142857
0
0
0
0
null
0
1
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
1
0
0
0
0
0
0
0
0
0
0
3
d7430eef0f290e439183c27c713425a89bbd8241
11,131
py
Python
a10_octavia/tests/unit/controller/worker/tasks/test_a10_compute_tasks.py
spencerharmon/a10-octavia
9de5d6a415a5bcb777f087011f7755ed2db47c05
[ "Apache-2.0" ]
5
2020-03-10T16:48:55.000Z
2021-09-18T00:57:58.000Z
a10_octavia/tests/unit/controller/worker/tasks/test_a10_compute_tasks.py
spencerharmon/a10-octavia
9de5d6a415a5bcb777f087011f7755ed2db47c05
[ "Apache-2.0" ]
72
2019-08-10T01:16:59.000Z
2021-12-13T08:20:36.000Z
a10_octavia/tests/unit/controller/worker/tasks/test_a10_compute_tasks.py
spencerharmon/a10-octavia
9de5d6a415a5bcb777f087011f7755ed2db47c05
[ "Apache-2.0" ]
27
2019-08-11T19:26:52.000Z
2021-07-21T09:08:58.000Z
# Copyright 2020, A10 Networks # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
47.165254
90
0.715749
1,397
11,131
5.400859
0.120974
0.064148
0.052485
0.045726
0.761166
0.719682
0.709476
0.69609
0.688403
0.656991
0
0.014581
0.192885
11,131
235
91
47.365957
0.825245
0.051927
0
0.582888
0
0
0.082954
0.057232
0
0
0
0
0.112299
1
0.080214
false
0
0.080214
0
0.165775
0
0
0
0
null
0
0
0
0
1
1
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
3
d7509c4cd50a2e3c40de876c849306de353c8796
1,617
py
Python
tb/sources/review_list.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
1
2017-11-29T11:51:12.000Z
2017-11-29T11:51:12.000Z
tb/sources/review_list.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
109
2017-11-28T20:51:59.000Z
2018-02-02T13:15:29.000Z
tb/sources/review_list.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
null
null
null
from .review import Review, UpdateableReview class ReviewUnderControl: def __init__(self, db): self.db = db def __iter__(self): return (Review(r) for r in self.db.all()) class ReviewIds: def __init__(self, reviews): self.reviews = reviews def __iter__(self): return (i['id'] for i in self.reviews) cl...
20.468354
62
0.698207
239
1,617
4.435146
0.200837
0.176415
0.083019
0.075472
0.370755
0.360377
0.333019
0.333019
0.333019
0.239623
0
0
0.1812
1,617
78
63
20.730769
0.800604
0.026592
0
0.346154
0
0
0.019084
0
0
0
0
0
0
1
0.326923
false
0
0.019231
0.134615
0.673077
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
1
1
0
0
3
d76ffeea7a15f6cc88a78023f7f989729b0cc99f
590
py
Python
finance/admin.py
webclinic017/invertimo
125995b2f04a0b8cf3fe98df38f2a4f15cf8399b
[ "MIT" ]
null
null
null
finance/admin.py
webclinic017/invertimo
125995b2f04a0b8cf3fe98df38f2a4f15cf8399b
[ "MIT" ]
null
null
null
finance/admin.py
webclinic017/invertimo
125995b2f04a0b8cf3fe98df38f2a4f15cf8399b
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import ( Account, AccountEvent, Exchange, ExchangeIdentifier, Position, Asset, Transaction, TransactionImport, TransactionImportRecord, EventImportRecord, ) admin.site.register(Account) admin.site.register(AccountEvent) admin.site.r...
23.6
44
0.789831
58
590
8.034483
0.310345
0.193133
0.364807
0
0
0
0
0
0
0
0
0
0.118644
590
25
45
23.6
0.896154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.347826
0
0.347826
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
1
0
1
0
0
0
0
3
d77337fd84c4c07ea01cd56645d3106d6df8a173
995
py
Python
Calculator/calculator.py
harshalupadhye/statistic
33d9fa183e6268f97c2394d8134f1e3fc2efc2c0
[ "MIT" ]
null
null
null
Calculator/calculator.py
harshalupadhye/statistic
33d9fa183e6268f97c2394d8134f1e3fc2efc2c0
[ "MIT" ]
null
null
null
Calculator/calculator.py
harshalupadhye/statistic
33d9fa183e6268f97c2394d8134f1e3fc2efc2c0
[ "MIT" ]
1
2019-11-17T04:15:50.000Z
2019-11-17T04:15:50.000Z
from Calculator.addition import addition from Calculator.subtraction import subtraction from Calculator.multiplication import multiplication from Calculator.division import division from Calculator.square import square from Calculator.squareroot import squareroot class Calculator: result = 0 def __init__(sel...
24.875
52
0.660302
127
995
5.110236
0.259843
0.1849
0.03698
0.061633
0.288136
0.189522
0.09245
0
0
0
0
0.004032
0.252261
995
40
53
24.875
0.86828
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.066667
0.2
0
0.733333
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
1
0
0
1
0
0
3
d773f97269fd60411607bf463a80a62ce933da50
459
py
Python
platform_disk_api/utils.py
neuro-inc/platform-disk-api
ccba10ac99032a59d456b559a2f1d22e5787c52b
[ "Apache-2.0" ]
null
null
null
platform_disk_api/utils.py
neuro-inc/platform-disk-api
ccba10ac99032a59d456b559a2f1d22e5787c52b
[ "Apache-2.0" ]
6
2022-01-17T03:11:20.000Z
2022-03-25T03:17:47.000Z
platform_disk_api/utils.py
neuro-inc/platform-disk-api
ccba10ac99032a59d456b559a2f1d22e5787c52b
[ "Apache-2.0" ]
null
null
null
from datetime import datetime, timedelta, timezone def utc_now() -> datetime: return datetime.now(timezone.utc) def datetime_dump(dt: datetime) -> str: return str(dt.timestamp()) def datetime_load(raw: str) -> datetime: return datetime.fromtimestamp(float(raw), timezone.utc) def timedelta_dump(td: t...
20.863636
59
0.721133
60
459
5.416667
0.333333
0.086154
0.135385
0
0
0
0
0
0
0
0
0
0.154684
459
21
60
21.857143
0.837629
0
0
0
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0.090909
0.454545
1
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
1
1
0
0
3
d784141a178bcf68f4981b370e10b1ab73e229b3
67
py
Python
python/testData/codeInsight/mlcompletion/sameColumnKeywords1.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/codeInsight/mlcompletion/sameColumnKeywords1.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2022-02-19T09:45:05.000Z
2022-02-27T20:32:55.000Z
python/testData/codeInsight/mlcompletion/sameColumnKeywords1.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
a, b = 2, 3 if a > b: print(a) elif a * 2 > b: print(b) <caret>
11.166667
15
0.477612
16
67
2
0.5
0.125
0
0
0
0
0
0
0
0
0
0.065217
0.313433
67
6
16
11.166667
0.630435
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d78992c8ec504fe49a791b1a16ea4fc7df9cbd5d
1,058
py
Python
pjsip/tests/pjsua/scripts-call/301_ice_public_b.py
tomorrow-rain/pjsip
776e032c4ee2672cd42b8c665021b1310181d126
[ "MIT" ]
null
null
null
pjsip/tests/pjsua/scripts-call/301_ice_public_b.py
tomorrow-rain/pjsip
776e032c4ee2672cd42b8c665021b1310181d126
[ "MIT" ]
null
null
null
pjsip/tests/pjsua/scripts-call/301_ice_public_b.py
tomorrow-rain/pjsip
776e032c4ee2672cd42b8c665021b1310181d126
[ "MIT" ]
null
null
null
# $Id$ # from inc_cfg import * # This test: # to make call with ICE but without STUN. # Note: # - need --dis-codec to make INVITE packet less than typical MTU uas_args = "--null-audio --id=\"<sip:test1@pjsip.org>\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1 --realm=pjsip.org --proxy=\"sip:sip...
40.692308
294
0.666352
169
1,058
4.112426
0.414201
0.115108
0.063309
0.080576
0.566906
0.515108
0.515108
0.515108
0.302158
0.302158
0
0.013115
0.135161
1,058
25
295
42.32
0.746448
0.119093
0
0.142857
0
0.285714
0.600649
0.108225
0
0
0
0
0
1
0
false
0.142857
0.071429
0
0.071429
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
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ad2b7d7e1f92e87ee35dd4bcf57b7d783c28c486
2,674
py
Python
stage/configuration/test_kudu_destination.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
null
null
null
stage/configuration/test_kudu_destination.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
1
2019-04-24T11:06:38.000Z
2019-04-24T11:06:38.000Z
stage/configuration/test_kudu_destination.py
anubandhan/datacollector-tests
301c024c66d68353735256b262b681dd05ba16cc
[ "Apache-2.0" ]
2
2019-05-24T06:34:37.000Z
2020-03-30T11:48:18.000Z
import pytest from streamsets.testframework.decorators import stub @stub def test_admin_operation_timeout_in_milliseconds(sdc_builder, sdc_executor): pass @stub @pytest.mark.parametrize('stage_attributes', [{'change_log_format': 'MSSQL'}, {'change_log_format': 'Mon...
29.065217
98
0.620045
267
2,674
5.775281
0.265918
0.063554
0.118029
0.190661
0.501297
0.501297
0.501297
0.475357
0.354086
0.354086
0
0
0.28347
2,674
91
99
29.384615
0.804802
0
0
0.459016
0
0
0.209502
0.03367
0
0
0
0
0
1
0.229508
false
0.229508
0.032787
0
0.262295
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
1
0
1
0
0
0
0
0
3