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
8757f1428a8a127f5ffc412dd30fac1f77be1d47
106
py
Python
app/script.py
tallywiesenberg/spotter-blocker
1fffd3c62a4b3d5c7964694455e4beb08e6bc8cc
[ "MIT" ]
null
null
null
app/script.py
tallywiesenberg/spotter-blocker
1fffd3c62a4b3d5c7964694455e4beb08e6bc8cc
[ "MIT" ]
null
null
null
app/script.py
tallywiesenberg/spotter-blocker
1fffd3c62a4b3d5c7964694455e4beb08e6bc8cc
[ "MIT" ]
null
null
null
import edits from edits import PageEditor pe = PageEditor(keyword='spider', orientation='block') pe.edit()
26.5
54
0.783019
14
106
5.928571
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.09434
106
4
55
26.5
0.864583
0
0
0
0
0
0.102804
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
876c1cba6f1447d0c88950330beca198b83d45a2
1,148
py
Python
ace/api/apikey.py
ace-ecosystem/ace2-core
a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53
[ "Apache-2.0" ]
null
null
null
ace/api/apikey.py
ace-ecosystem/ace2-core
a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53
[ "Apache-2.0" ]
11
2020-12-30T03:13:09.000Z
2021-05-02T14:09:32.000Z
ace/api/apikey.py
ace-ecosystem/ace2-core
a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53
[ "Apache-2.0" ]
1
2022-03-16T20:44:16.000Z
2022-03-16T20:44:16.000Z
from dataclasses import dataclass, asdict from typing import Optional from ace.data_model import ApiKeyModel @dataclass class ApiKey: # the api key value api_key: str # the unique name of the api key name: str # optional description of the api key description: Optional[str] = None # is t...
25.511111
68
0.641986
146
1,148
4.931507
0.390411
0.069444
0.0375
0.030556
0.075
0.075
0
0
0
0
0
0
0.246516
1,148
44
69
26.090909
0.83237
0.108885
0
0.076923
0
0
0.060099
0
0
0
0
0
0.038462
1
0.230769
false
0
0.115385
0.115385
0.730769
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
5e46f80a0abf6d46a670b3af094045db0fa09d23
188
py
Python
packages/mono-basic.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
packages/mono-basic.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
packages/mono-basic.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
GitHubTarballPackage ('mono', 'mono-basic', '3.0', 'a74642af7f72d1012c87d82d7a12ac04a17858d5', configure = './configure --prefix="%{prefix}"', override_properties = { 'make': 'make' } )
37.6
94
0.702128
15
188
8.733333
0.733333
0
0
0
0
0
0
0
0
0
0
0.170588
0.095745
188
4
95
47
0.6
0
0
0
0
0
0.515957
0.212766
0
0
0
0
0
1
0
true
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5e53e4790d5e3d2607bf9ed89a38c5fb7cca5a0c
1,999
py
Python
src/data_generators/pricing_generator.py
pasin30055/planning-evaluation-framework
ba5fc3b553fee0b4f5beb50076ecaa7b634dac23
[ "Apache-2.0" ]
null
null
null
src/data_generators/pricing_generator.py
pasin30055/planning-evaluation-framework
ba5fc3b553fee0b4f5beb50076ecaa7b634dac23
[ "Apache-2.0" ]
null
null
null
src/data_generators/pricing_generator.py
pasin30055/planning-evaluation-framework
ba5fc3b553fee0b4f5beb50076ecaa7b634dac23
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The Private Cardinality Estimation Framework Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
39.196078
81
0.711356
271
1,999
5.202952
0.483395
0.042553
0.01844
0.022695
0.056738
0.056738
0
0
0
0
0
0.006553
0.236618
1,999
50
82
39.98
0.917431
0.797899
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
5e94ee09424c092167e8b387cf605930cd27a367
1,388
py
Python
tests/sqlstore_tests.py
tistaharahap/oauth1-provider
c7059bce68734744d0aa3b83ecb218865a5c1341
[ "MIT" ]
1
2017-06-26T07:36:03.000Z
2017-06-26T07:36:03.000Z
tests/sqlstore_tests.py
tistaharahap/oauth1-provider
c7059bce68734744d0aa3b83ecb218865a5c1341
[ "MIT" ]
null
null
null
tests/sqlstore_tests.py
tistaharahap/oauth1-provider
c7059bce68734744d0aa3b83ecb218865a5c1341
[ "MIT" ]
null
null
null
import with_sql as sqlprovider import unittest class SQLStoreTestCase(unittest.TestCase): def setUp(self): sqlprovider.app.config['TESTING'] = True self.app = sqlprovider.app.test_client() def error_mime_json(self): return "Return payload data must be a JSON String" def error_no...
28.916667
110
0.683718
181
1,388
5.099448
0.375691
0.043337
0.052004
0.023835
0.277356
0.147346
0.147346
0.093174
0.093174
0
0
0.022284
0.224063
1,388
48
111
28.916667
0.834726
0
0
0
0
0
0.215263
0
0
0
0
0
0.09375
1
0.3125
false
0.03125
0.09375
0.15625
0.6875
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
5eb46db6b4f0d64982209cc3ae42fc847fe7c287
84
py
Python
google_play_scraper/constants/google_play.py
mrommel/google-play-scraper
3bfcef87bc754192162841bc057919762b8bf548
[ "MIT" ]
null
null
null
google_play_scraper/constants/google_play.py
mrommel/google-play-scraper
3bfcef87bc754192162841bc057919762b8bf548
[ "MIT" ]
null
null
null
google_play_scraper/constants/google_play.py
mrommel/google-play-scraper
3bfcef87bc754192162841bc057919762b8bf548
[ "MIT" ]
null
null
null
from enum import Enum class Sort(int, Enum): NEWEST = 2 MOST_RELEVANT = 1
12
22
0.654762
13
84
4.153846
0.846154
0
0
0
0
0
0
0
0
0
0
0.032787
0.27381
84
6
23
14
0.852459
0
0
0
0
0
0
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
5eb917289cf2645c455634d8b05490fcdaf7e3cd
2,616
py
Python
emissor/processing/api.py
cltl/GMRCAnnotation
cc4c7f0c9cbbce0eb6c7dee4d39d128f91b85839
[ "MIT" ]
null
null
null
emissor/processing/api.py
cltl/GMRCAnnotation
cc4c7f0c9cbbce0eb6c7dee4d39d128f91b85839
[ "MIT" ]
18
2021-01-12T15:18:07.000Z
2021-03-23T12:30:57.000Z
emissor/processing/api.py
cltl/EMISSOR
68504c859c36b1b65b2c0002d065028b3d5b5d08
[ "MIT" ]
null
null
null
from abc import ABC from typing import Iterable, Any, Tuple, Mapping from emissor.persistence import ScenarioStorage from emissor.persistence.persistence import ScenarioController from emissor.representation.scenario import Signal, Modality class DataPreprocessor(ABC): def preprocess(self): raise NotImpl...
24.679245
106
0.675076
277
2,616
6.086643
0.223827
0.052195
0.035587
0.045077
0.349941
0.349941
0.327402
0.327402
0.327402
0.327402
0
0.000502
0.238914
2,616
105
107
24.914286
0.846308
0
0
0.583333
0
0
0
0
0
0
0
0
0
1
0.361111
false
0.083333
0.069444
0.194444
0.680556
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
5eba6763e45275c05c6ea71d177bcb0b20fdb6c3
266
py
Python
zeri_di_funzioni/stima_ordine.py
Ro0t-set/metodi-numerici
d586bce78f94f1aa6736218c9123064a57cb87ec
[ "MIT" ]
5
2021-05-21T12:22:18.000Z
2021-07-02T16:48:32.000Z
zeri_di_funzioni/stima_ordine.py
AlePioggia/metodi-numerici
a231f4a857074d811eb230b1114545f05fabe65f
[ "MIT" ]
null
null
null
zeri_di_funzioni/stima_ordine.py
AlePioggia/metodi-numerici
a231f4a857074d811eb230b1114545f05fabe65f
[ "MIT" ]
2
2021-06-22T10:20:58.000Z
2021-07-02T19:58:24.000Z
# -*- coding: utf-8 -*- """ Metodo per la stima dell'ordine """ import numpy as np def stima_ordine(xks,num_iterazioni): k = num_iterazioni - 3 return np.log(abs(xks[k+2]-xks[k+3])/abs(xks[k+1]-xks[k+2])) / np.log(abs(xks[k+1]-xks[k+2])/abs(xks[k]-xks[k+1]))
33.25
118
0.62406
55
266
2.963636
0.436364
0.196319
0.171779
0.134969
0.263804
0.159509
0.159509
0
0
0
0
0.038793
0.12782
266
8
118
33.25
0.663793
0.203008
0
0
0
0
0
0
0
0
0
0.125
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
1
0
0
0
0
0
0
0
3
5ec056e8a3fe7a1dd0d7eedbbca11575fb19f604
122
py
Python
abc/abc204/b/main.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
2
2022-01-22T07:56:58.000Z
2022-01-24T00:29:37.000Z
abc/abc204/b/main.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
abc/abc204/b/main.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
N = int(input()) A = list(map(int, input().split())) ans = 0 for a in A: if a > 10: ans += a - 10 print(ans)
13.555556
35
0.491803
23
122
2.608696
0.608696
0.266667
0
0
0
0
0
0
0
0
0
0.058824
0.303279
122
9
36
13.555556
0.647059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
5ec2acbce4a69ac08d74be58cb9979e47b281c7d
412
py
Python
pytalk/obsolete/message.py
henryz2004/pytalk
76d84985ddb1e049cc4db2d5d11b52c49927164e
[ "MIT" ]
3
2018-02-27T00:47:38.000Z
2021-06-04T20:50:13.000Z
pytalk/obsolete/message.py
henryz2004/pytalk
76d84985ddb1e049cc4db2d5d11b52c49927164e
[ "MIT" ]
null
null
null
pytalk/obsolete/message.py
henryz2004/pytalk
76d84985ddb1e049cc4db2d5d11b52c49927164e
[ "MIT" ]
null
null
null
from pynet import socket_utility class Message: """ Stores a string message and whether or not it is a notification (NTF) or plain message (MSG) """ def __init__(self, message): self.message = message def prepare(self, max_bytes=None): return socket_utility.prepare(...
22.888889
97
0.650485
53
412
4.811321
0.54717
0.172549
0
0
0
0
0
0
0
0
0
0
0.271845
412
17
98
24.235294
0.85
0.223301
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.875
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
0d5d8e4687fb579fa2049d6dbbb448c87e9ea36b
462
py
Python
shoppinglist/models.py
christiankuhl/foodplanner
20c4a577849bf0ba9304f82f43c307552e846bf2
[ "MIT" ]
null
null
null
shoppinglist/models.py
christiankuhl/foodplanner
20c4a577849bf0ba9304f82f43c307552e846bf2
[ "MIT" ]
null
null
null
shoppinglist/models.py
christiankuhl/foodplanner
20c4a577849bf0ba9304f82f43c307552e846bf2
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Ingredient(models.Model): account = models.CharField(max_length=255) member = models.CharField(max_length=255) ref_meal = models.CharField(max_length=255,blank=True) ref_date = models.DateField(blank=True) ingredient ...
38.5
62
0.714286
57
462
5.631579
0.526316
0.186916
0.224299
0.299065
0.336449
0
0
0
0
0
0
0.032172
0.192641
462
11
63
42
0.828418
0.051948
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
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
0
0
0
1
0
0
3
0d61ee15897bf40f0a5f1b4383621a2d4209c39a
96
py
Python
fixture/_base.py
berpress/MT5WT
10826f974cd5aef14e8771e18ca0314f27a902e3
[ "Apache-2.0" ]
null
null
null
fixture/_base.py
berpress/MT5WT
10826f974cd5aef14e8771e18ca0314f27a902e3
[ "Apache-2.0" ]
1
2019-11-26T18:12:24.000Z
2019-11-26T18:12:24.000Z
fixture/_base.py
berpress/MT5WT
10826f974cd5aef14e8771e18ca0314f27a902e3
[ "Apache-2.0" ]
null
null
null
import logging logging.basicConfig(level=logging.INFO) log = logging.getLogger("WebTerminal")
16
39
0.802083
11
96
7
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.083333
96
5
40
19.2
0.875
0
0
0
0
0
0.114583
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
0d6993d1de4fca2fe18d6fada4d0381421cd473f
1,624
py
Python
program/convert_ui.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
program/convert_ui.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
program/convert_ui.py
Addision/ProtoExcelTool
17eaa08c08312e59c5a8f6114a121177ca65508a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : convertUI.py @Time : 2022/02/28 00:08:31 @Author : felix @Version : 1.0 @Contact : laijia2008@126.com @License : (C)Copyright 2021-2025, felix&lai @Desc : None ''' # here put the import lib import os import sys def ConvertUI(): ...
37.767442
83
0.613916
245
1,624
3.906122
0.306122
0.108673
0.16092
0.172414
0.600836
0.411703
0.345873
0.157785
0.135841
0.135841
0
0.033571
0.137931
1,624
42
84
38.666667
0.65
0.189655
0
0.173913
0
0
0.638314
0.503448
0
0
0
0
0
1
0.043478
false
0
0.086957
0
0.130435
0.217391
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d7f5efa7e68562621936b11080cd338789bdad4
1,584
py
Python
qclib/backend/state.py
dylanljones/qclib
91e63b642f57fee6eff0b3ff1d696880a66509c3
[ "MIT" ]
2
2021-10-31T11:14:51.000Z
2021-11-17T13:39:50.000Z
qclib/backend/state.py
dylanljones/qclib
91e63b642f57fee6eff0b3ff1d696880a66509c3
[ "MIT" ]
null
null
null
qclib/backend/state.py
dylanljones/qclib
91e63b642f57fee6eff0b3ff1d696880a66509c3
[ "MIT" ]
1
2021-10-31T11:15:00.000Z
2021-10-31T11:15:00.000Z
# coding: utf-8 # # This code is part of qclib. # # Copyright (c) 2021, Dylan Jones import numpy as np from ..math import apply_statevec, apply_density, density_matrix from .measure import measure_qubit, measure_qubit_rho class DensityMatrix: def __init__(self, mat): self._data = np.asarray(mat) de...
22.956522
80
0.65404
206
1,584
4.631068
0.242718
0.176101
0.069182
0.035639
0.641509
0.641509
0.641509
0.566038
0.566038
0.566038
0
0.004149
0.239268
1,584
68
81
23.294118
0.787552
0.046086
0
0.634146
0
0
0
0
0
0
0
0
0
1
0.414634
false
0
0.073171
0.268293
0.853659
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
0d819476af5932130a9089599a42a757e9fa6fab
3,991
py
Python
script/diffsel_script_utils.py
vlanore/COPTR
babe25070ddfa67dd04e0f96a143ce539cc27fbb
[ "CECILL-B" ]
null
null
null
script/diffsel_script_utils.py
vlanore/COPTR
babe25070ddfa67dd04e0f96a143ce539cc27fbb
[ "CECILL-B" ]
null
null
null
script/diffsel_script_utils.py
vlanore/COPTR
babe25070ddfa67dd04e0f96a143ce539cc27fbb
[ "CECILL-B" ]
null
null
null
# Copyright or Copr. Centre National de la Recherche Scientifique (CNRS) (2017/11/27) # Contributors: # - Vincent Lanore <vincent.lanore@gmail.com> # This software is a computer program whose purpose is to provide small tools and scripts related to phylogeny and bayesian # inference. # This software is governed by th...
32.983471
127
0.687798
553
3,991
4.958409
0.396022
0.052516
0.062363
0.051058
0.116703
0.06601
0
0
0
0
0
0.021343
0.201704
3,991
120
128
33.258333
0.839297
0.432974
0
0.069444
0
0
0.084821
0
0
0
0
0
0
1
0.25
false
0
0.027778
0.208333
0.847222
0.013889
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
0d8fe58183417cd3a2d532a22447986b76e404bf
195
py
Python
livereload/__init__.py
Fantomas42/django-livereload
1170b6729667a6164e5e47776781b2a7f6b2c0d3
[ "BSD-3-Clause" ]
63
2015-01-02T03:07:50.000Z
2022-01-06T13:53:07.000Z
livereload/__init__.py
Fantomas42/django-livereload
1170b6729667a6164e5e47776781b2a7f6b2c0d3
[ "BSD-3-Clause" ]
12
2015-02-26T20:04:17.000Z
2021-08-25T05:24:04.000Z
livereload/__init__.py
Fantomas42/django-livereload
1170b6729667a6164e5e47776781b2a7f6b2c0d3
[ "BSD-3-Clause" ]
18
2015-02-24T22:23:51.000Z
2017-01-22T16:00:25.000Z
"""django-livereload""" __version__ = '1.7' __license__ = 'BSD License' __author__ = 'Fantomas42' __email__ = 'fantomas42@gmail.com' __url__ = 'https://github.com/Fantomas42/django-livereload'
21.666667
59
0.738462
21
195
5.904762
0.714286
0.258065
0
0
0
0
0
0
0
0
0
0.045455
0.097436
195
8
60
24.375
0.659091
0.087179
0
0
0
0
0.52907
0
0
0
0
0
0
1
0
false
0
0
0
0
0
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
0d94ba5e46412f0822ea3dc209d00e080804ba7d
597
py
Python
src/bxcommon/utils/crypto.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/utils/crypto.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/utils/crypto.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
from hashlib import sha256 from nacl.secret import SecretBox from nacl.utils import random # Length of a SHA256 double hash SHA256_HASH_LEN = 32 KEY_SIZE = SecretBox.KEY_SIZE def bitcoin_hash(content): return sha256(sha256(content).digest()).digest() def double_sha256(content): return sha256(sha256(conten...
21.321429
52
0.745394
80
597
5.45
0.375
0.048165
0.087156
0.114679
0.215596
0.215596
0.215596
0.215596
0
0
0
0.051793
0.159129
597
27
53
22.111111
0.816733
0.050251
0
0.125
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1875
0.1875
0.6875
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
0da2968bb359986875b9af1a418b84d7e635b431
480
py
Python
slackbuilder/blocks.py
kbeauregard/slackbuilder
866ec0ad737a2277bd043081dc08c6ebc182b2e3
[ "MIT" ]
null
null
null
slackbuilder/blocks.py
kbeauregard/slackbuilder
866ec0ad737a2277bd043081dc08c6ebc182b2e3
[ "MIT" ]
null
null
null
slackbuilder/blocks.py
kbeauregard/slackbuilder
866ec0ad737a2277bd043081dc08c6ebc182b2e3
[ "MIT" ]
1
2021-02-01T13:26:57.000Z
2021-02-01T13:26:57.000Z
DEFAULT_TEXT_TYPE = "mrkdwn" class BaseBlock: def generate(self): raise NotImplemented("Subclass missing generate implementation") class TextBlock(BaseBlock): def __init__(self, text, _type=DEFAULT_TEXT_TYPE): self._text = text self._type = _type def __repr__(self): retu...
25.263158
84
0.65625
56
480
5.25
0.357143
0.136054
0.122449
0.108844
0
0
0
0
0
0
0
0
0.210417
480
18
85
26.666667
0.775726
0
0
0.166667
1
0
0.233333
0.047917
0
0
0
0
0
1
0.333333
false
0
0
0.166667
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
0dbc3d65f08a855cd3326a6dfe34ef3f6203d093
8,155
py
Python
tests/test_manifest.py
markfinger/python-webpack
41ed0a3afac0dc96cb22093bd2da1dcbd31cfc42
[ "MIT" ]
66
2015-05-06T17:20:20.000Z
2021-07-08T02:56:21.000Z
tests/test_manifest.py
markfinger/python-webpack
41ed0a3afac0dc96cb22093bd2da1dcbd31cfc42
[ "MIT" ]
26
2015-05-03T11:38:24.000Z
2016-01-01T22:32:45.000Z
tests/test_manifest.py
markfinger/python-webpack
41ed0a3afac0dc96cb22093bd2da1dcbd31cfc42
[ "MIT" ]
15
2015-05-11T19:02:15.000Z
2020-11-29T20:23:17.000Z
import unittest import os import json import mock import hashlib from webpack.conf import Conf from webpack.manifest import generate_manifest, generate_key, write_manifest, read_manifest, populate_manifest_file from webpack.compiler import webpack from .settings import ConfigFiles, OUTPUT_ROOT, WEBPACK from .utils impo...
33.016194
115
0.614102
829
8,155
5.791315
0.141134
0.083316
0.114559
0.081233
0.77838
0.734847
0.706103
0.647157
0.622995
0.588836
0
0.009619
0.286082
8,155
246
116
33.150407
0.815012
0.003679
0
0.639175
1
0
0.045186
0.020561
0
0
0
0
0.185567
1
0.072165
false
0
0.051546
0
0.128866
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
0ddc0bef32477eced0900bb0111e6a1dbf4f7271
186
py
Python
countries/api/urls.py
isidaruk/eurovision_project
976743e66a2fed17c0513f17a9a7d35850e9cde5
[ "MIT" ]
null
null
null
countries/api/urls.py
isidaruk/eurovision_project
976743e66a2fed17c0513f17a9a7d35850e9cde5
[ "MIT" ]
8
2020-02-12T00:23:27.000Z
2022-03-08T21:10:13.000Z
countries/api/urls.py
isidaruk/eurovision_project
976743e66a2fed17c0513f17a9a7d35850e9cde5
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from countries.api.views import CountryViewSet router = DefaultRouter() router.register('', CountryViewSet) urlpatterns = router.urls
20.666667
48
0.822581
20
186
7.6
0.7
0
0
0
0
0
0
0
0
0
0
0
0.102151
186
8
49
23.25
0.91018
0
0
0
0
0
0
0
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
217d30de43b0686c9b6a097430ce64fd2cb78174
130
py
Python
test/conftest.py
eliasbrange/aws-cdk-template
7ba7bc921bdd9c0064a6a661a2f47ee767ed70cc
[ "MIT" ]
2
2022-01-03T11:11:32.000Z
2022-03-11T16:34:51.000Z
test/conftest.py
eliasbrange/aws-cdk-template
7ba7bc921bdd9c0064a6a661a2f47ee767ed70cc
[ "MIT" ]
null
null
null
test/conftest.py
eliasbrange/aws-cdk-template
7ba7bc921bdd9c0064a6a661a2f47ee767ed70cc
[ "MIT" ]
1
2022-03-25T20:35:16.000Z
2022-03-25T20:35:16.000Z
import os.path as op import sys path = op.abspath(op.join(op.dirname(op.realpath(__file__)), "..", "src")) sys.path.append(path)
21.666667
74
0.7
22
130
3.954545
0.590909
0.16092
0
0
0
0
0
0
0
0
0
0
0.1
130
5
75
26
0.74359
0
0
0
0
0
0.038462
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
218267a67d6b77155bce24d14dba6bc7cf42c90c
315
py
Python
features/best_move.py
raaahuuulll/chess-concepts
92fbed433c1270f8235f454bb4f5416e577bf8a6
[ "Apache-2.0" ]
null
null
null
features/best_move.py
raaahuuulll/chess-concepts
92fbed433c1270f8235f454bb4f5416e577bf8a6
[ "Apache-2.0" ]
null
null
null
features/best_move.py
raaahuuulll/chess-concepts
92fbed433c1270f8235f454bb4f5416e577bf8a6
[ "Apache-2.0" ]
null
null
null
from features.move import Move class BestMove(Move): # TODO: replace this with an attribute which specifies columns @classmethod def from_row(cls, row): return cls(row.fen, row.best_move) def features(self, prefix=None): return super(BestMove, self).features(prefix="best_move")
24.230769
66
0.698413
43
315
5.046512
0.604651
0.0553
0
0
0
0
0
0
0
0
0
0
0.206349
315
12
67
26.25
0.868
0.190476
0
0
0
0
0.035573
0
0
0
0
0.083333
0
1
0.285714
false
0
0.142857
0.285714
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
2186641f0d4ffce02d56535a8ecd616ced38432d
73
py
Python
Configuration/Eras/python/Modifier_run2_GEM_2017_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Configuration/Eras/python/Modifier_run2_GEM_2017_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Configuration/Eras/python/Modifier_run2_GEM_2017_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms run2_GEM_2017 = cms.Modifier()
18.25
40
0.808219
11
73
5.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.076923
0.109589
73
3
41
24.333333
0.8
0
0
0
0
0
0
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
21b6bc874be363315a5d7728d2f9c90f4bee8e37
802
py
Python
user.py
sylvestus/passwordLocker
2dc949996c60eb02d55ac6d7426e2eb9f0cb9375
[ "Unlicense" ]
null
null
null
user.py
sylvestus/passwordLocker
2dc949996c60eb02d55ac6d7426e2eb9f0cb9375
[ "Unlicense" ]
null
null
null
user.py
sylvestus/passwordLocker
2dc949996c60eb02d55ac6d7426e2eb9f0cb9375
[ "Unlicense" ]
null
null
null
import string import random class User: def __init__(self,username,password): self.username = username self.password = password userList = [] def addUser(self): ''' method saves a new user object to credentials list ''' User.userList.append(self) def ...
19.560976
67
0.583541
84
802
5.47619
0.535714
0.052174
0.069565
0
0
0
0
0
0
0
0
0.003731
0.331671
802
41
68
19.560976
0.854478
0.174564
0
0
0
0
0
0
0
0
0
0
0
1
0.294118
false
0.294118
0.117647
0.058824
0.647059
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
21c005abab0af70acf7d0786eb0dee5f66346f8d
15,025
py
Python
Berkeley_pacman_project1/search.py
AndrewSpano/UC_Berkeley_AI_Projects
a695f7be1653e485fdb339f99e6a266a1b044ba4
[ "MIT" ]
1
2020-12-12T16:16:05.000Z
2020-12-12T16:16:05.000Z
Berkeley_pacman_project1/search.py
AndrewSpano/University_AI_Projects
a695f7be1653e485fdb339f99e6a266a1b044ba4
[ "MIT" ]
null
null
null
Berkeley_pacman_project1/search.py
AndrewSpano/University_AI_Projects
a695f7be1653e485fdb339f99e6a266a1b044ba4
[ "MIT" ]
1
2020-10-13T19:37:59.000Z
2020-10-13T19:37:59.000Z
# search.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # At...
40.066667
123
0.647388
2,026
15,025
4.786278
0.132774
0.031556
0.017428
0.023512
0.730123
0.705373
0.695679
0.695679
0.695679
0.68351
0
0.007881
0.282196
15,025
374
124
40.173797
0.891238
0.528918
0
0.716312
0
0
0
0
0
0
0
0
0
1
0.070922
false
0
0.042553
0
0.219858
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21c10c49fed1208784b8ed8d90ec7a93c4893c97
270
py
Python
src/python/WMCore/WMBS/Oracle/Files/GetLocation.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
21
2015-11-19T16:18:45.000Z
2021-12-02T18:20:39.000Z
src/python/WMCore/WMBS/Oracle/Files/GetLocation.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
5,671
2015-01-06T14:38:52.000Z
2022-03-31T22:11:14.000Z
src/python/WMCore/WMBS/Oracle/Files/GetLocation.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
67
2015-01-21T15:55:38.000Z
2022-02-03T19:53:13.000Z
""" Oracle implementation of GetLocationFile """ from WMCore.WMBS.MySQL.Files.GetLocation import GetLocation \ as GetLocationFileMySQL class GetLocation(GetLocationFileMySQL): """ _GetLocation_ Oracle specific: file is reserved word """ pass
18
61
0.725926
25
270
7.76
0.8
0
0
0
0
0
0
0
0
0
0
0
0.196296
270
14
62
19.285714
0.894009
0.348148
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.25
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
1
0
0
0
0
0
3
21cbd2f48de433cddb1eeae935153e4c69f319de
208
bzl
Python
bazel_versions.bzl
cgrindel/buildifier-prebuilt
79244e93755af8db1dcbe8d005f024901a7918dc
[ "MIT" ]
8
2021-12-03T19:58:36.000Z
2022-02-03T00:41:59.000Z
bazel_versions.bzl
cgrindel/buildifier-prebuilt
79244e93755af8db1dcbe8d005f024901a7918dc
[ "MIT" ]
13
2022-01-18T22:31:04.000Z
2022-03-21T17:19:49.000Z
bazel_versions.bzl
cgrindel/buildifier-prebuilt
79244e93755af8db1dcbe8d005f024901a7918dc
[ "MIT" ]
2
2022-01-24T20:28:29.000Z
2022-03-20T18:12:46.000Z
""" Common bazel version requirements for tests """ CURRENT_BAZEL_VERSION = "5.0.0" OTHER_BAZEL_VERSIONS = [ "4.2.2", ] SUPPORTED_BAZEL_VERSIONS = [ CURRENT_BAZEL_VERSION, ] + OTHER_BAZEL_VERSIONS
14.857143
43
0.721154
27
208
5.185185
0.518519
0.257143
0.271429
0
0
0
0
0
0
0
0
0.034483
0.163462
208
13
44
16
0.770115
0.206731
0
0
0
0
0.063694
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
0
0
0
0
0
3
21df65a1c8478ea8f6b221397a365d1de4254a1f
3,548
py
Python
Lib/test/test_cmath_jy.py
weimingtom/j2mepython-midp
472333ebc6a7f06d92c5ede85c8ed55e4ad66c6d
[ "CNRI-Jython", "PSF-2.0", "Apache-2.0" ]
1
2015-11-07T12:22:17.000Z
2015-11-07T12:22:17.000Z
Lib/test/test_cmath_jy.py
weimingtom/j2mepython-midp
472333ebc6a7f06d92c5ede85c8ed55e4ad66c6d
[ "CNRI-Jython", "PSF-2.0", "Apache-2.0" ]
null
null
null
Lib/test/test_cmath_jy.py
weimingtom/j2mepython-midp
472333ebc6a7f06d92c5ede85c8ed55e4ad66c6d
[ "CNRI-Jython", "PSF-2.0", "Apache-2.0" ]
null
null
null
#! /usr/bin/env python """ Simple test script for cmathmodule.c Roger E. Masse """ import cmath import unittest from test import test_support from test.test_support import verbose p = cmath.pi e = cmath.e if verbose: print 'PI = ', abs(p) print 'E = ', abs(e) class CmathTestCase(unittest.TestCase): d...
33.158879
78
0.55947
416
3,548
4.665865
0.245192
0.075734
0.257599
0.329727
0.521381
0.099433
0.057187
0.029882
0
0
0
0.11175
0.31398
3,548
106
79
33.471698
0.685703
0.005919
0
0
0
0
0.004909
0
0
0
0
0
0.298701
0
null
null
0
0.051948
null
null
0.025974
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
1
0
0
0
0
0
0
0
0
3
21f0be377a2b1d1f473cdf9e342362b4dfa9908f
345
py
Python
config_mypy_django_plugin.py
fj-fj-fj/tech-store
e07214354a51490df53acceec2091812ffd31360
[ "MIT" ]
null
null
null
config_mypy_django_plugin.py
fj-fj-fj/tech-store
e07214354a51490df53acceec2091812ffd31360
[ "MIT" ]
null
null
null
config_mypy_django_plugin.py
fj-fj-fj/tech-store
e07214354a51490df53acceec2091812ffd31360
[ "MIT" ]
null
null
null
import os from configurations.importer import install from mypy.version import __version__ # noqa: F401 from mypy_django_plugin import main def plugin(version): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') os.environ.setdefault('DJANGO_CONFIGURATION', 'Development') install() ret...
26.538462
68
0.776812
42
345
6.166667
0.52381
0.061776
0.146718
0.19305
0
0
0
0
0
0
0
0.010033
0.133333
345
12
69
28.75
0.856187
0.028986
0
0
0
0
0.198198
0.066066
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
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
21f0f9312500016def30ca87e22275fe478c9678
9,866
py
Python
Florence/FunctionSpace/JacobiPolynomials/NormalisedJacobi_Deprecated.py
romeric/florence
6af96f2590adb776f74efc6fed96737a4edc4582
[ "MIT" ]
65
2017-08-04T10:21:13.000Z
2022-02-21T21:45:09.000Z
Florence/FunctionSpace/JacobiPolynomials/NormalisedJacobi_Deprecated.py
romeric/florence
6af96f2590adb776f74efc6fed96737a4edc4582
[ "MIT" ]
6
2018-06-03T02:29:20.000Z
2022-01-18T02:30:22.000Z
Florence/FunctionSpace/JacobiPolynomials/NormalisedJacobi_Deprecated.py
romeric/florence
6af96f2590adb776f74efc6fed96737a4edc4582
[ "MIT" ]
10
2018-05-30T09:44:10.000Z
2021-05-18T08:06:51.000Z
import numpy as np from JacobiPolynomials import * import math # 1D - LINE #------------------------------------------------------------------------------------------------------------------# #------------------------------------------------------------------------------------------------------------------# #---------...
32.668874
140
0.420738
1,489
9,866
2.679651
0.085292
0.015539
0.009023
0.007018
0.780702
0.740351
0.712281
0.675188
0.651378
0.624812
0
0.061859
0.308534
9,866
302
141
32.668874
0.523014
0.338942
0
0.515337
0
0
0
0
0
0
0
0
0
1
0.042945
false
0
0.018405
0
0.104294
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
21fbf33def7e2a7ceecd0cf2a88408cb26ed3962
1,812
py
Python
release/stubs.min/System/Security/AccessControl_parts/PrivilegeNotHeldException.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Security/AccessControl_parts/PrivilegeNotHeldException.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Security/AccessControl_parts/PrivilegeNotHeldException.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class PrivilegeNotHeldException(UnauthorizedAccessException): """ The exception that is thrown when a method in the System.Security.AccessControl namespace attempts to enable a privilege that it does not have. PrivilegeNotHeldException() PrivilegeNotHeldException(privilege: str) PrivilegeNotHeldExcepti...
37.75
215
0.742826
207
1,812
6.188406
0.405797
0.037471
0.037471
0.044496
0.122561
0.088212
0.088212
0.088212
0.088212
0.088212
0
0
0.160596
1,812
47
216
38.553191
0.842209
0.580022
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.352941
false
0.294118
0
0
0.647059
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
df06fb8878eee413e40a010aae2c0a5236a2dce0
431
py
Python
app1/migrations/0002_auto_20210925_0546.py
rianaansari/My_library
95b817ac2760d9dcb43b7cfff053056cfe3eb12d
[ "Apache-2.0" ]
null
null
null
app1/migrations/0002_auto_20210925_0546.py
rianaansari/My_library
95b817ac2760d9dcb43b7cfff053056cfe3eb12d
[ "Apache-2.0" ]
null
null
null
app1/migrations/0002_auto_20210925_0546.py
rianaansari/My_library
95b817ac2760d9dcb43b7cfff053056cfe3eb12d
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-25 05:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app1', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='author', name='date_of_birth', ), ...
19.590909
47
0.559165
44
431
5.318182
0.704545
0.179487
0.222222
0.25641
0.393162
0.393162
0.393162
0.393162
0
0
0
0.068966
0.327146
431
21
48
20.52381
0.737931
0.104408
0
0.4
1
0
0.140625
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
df271127c105441127867b0671133734b58e3154
1,103
py
Python
cosymlib/simulation/__init__.py
GrupEstructuraElectronicaSimetria/cosymlib
04ac536c7c75b638e84079bacd0ece70226fdc03
[ "MIT" ]
null
null
null
cosymlib/simulation/__init__.py
GrupEstructuraElectronicaSimetria/cosymlib
04ac536c7c75b638e84079bacd0ece70226fdc03
[ "MIT" ]
8
2020-12-11T00:58:46.000Z
2021-07-16T11:27:46.000Z
cosymlib/simulation/__init__.py
GrupEstructuraElectronicaSimetria/cosymlib
04ac536c7c75b638e84079bacd0ece70226fdc03
[ "MIT" ]
null
null
null
import huckelpy from huckelpy import file_io class ExtendedHuckel: def __init__(self, geometry, charge=0): self._EH = huckelpy.ExtendedHuckel(geometry.get_positions(), geometry.get_symbols(), charge=charge) self._alpha_electrons = None self._beta_electrons = None self._total_elect...
30.638889
107
0.696283
143
1,103
4.965035
0.300699
0.059155
0.126761
0.090141
0.107042
0
0
0
0
0
0
0.003448
0.211242
1,103
35
108
31.514286
0.812644
0
0
0
0
0
0.00544
0
0
0
0
0
0
1
0.32
false
0
0.08
0.2
0.68
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
df45b74210e776a21d70e6e881d80b85c80991df
874
py
Python
mautrix/types/event/batch.py
tulir/mautrix-appservice-python
d180603445bb0bc465a7b2ff918c4ac28a5dbfc2
[ "MIT" ]
1
2018-08-24T13:33:30.000Z
2018-08-24T13:33:30.000Z
mautrix/types/event/batch.py
tulir/mautrix-appservice-python
d180603445bb0bc465a7b2ff918c4ac28a5dbfc2
[ "MIT" ]
4
2018-07-10T11:43:46.000Z
2018-09-03T22:08:02.000Z
mautrix/types/event/batch.py
tulir/mautrix-appservice-python
d180603445bb0bc465a7b2ff918c4ac28a5dbfc2
[ "MIT" ]
2
2018-07-03T04:07:08.000Z
2018-09-10T03:13:59.000Z
# Copyright (c) 2022 Tulir Asokan, Sumner Evans # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from typing import Any from attr import dataclass import attr from .....
26.484848
96
0.735698
125
874
5.12
0.672
0.015625
0
0
0
0
0
0
0
0
0
0.011252
0.186499
874
32
97
27.3125
0.888889
0.463387
0
0.142857
0
0
0.045455
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
df46e87e30c896bf3a86559f322c509578a51604
118
py
Python
dvc/path/s3.py
zb0th/dvc
5fdbc1882f73162419d5b84ed47a33e9e321f151
[ "Apache-2.0" ]
null
null
null
dvc/path/s3.py
zb0th/dvc
5fdbc1882f73162419d5b84ed47a33e9e321f151
[ "Apache-2.0" ]
null
null
null
dvc/path/s3.py
zb0th/dvc
5fdbc1882f73162419d5b84ed47a33e9e321f151
[ "Apache-2.0" ]
null
null
null
from dvc.scheme import Schemes from .base import PathCloudBASE class PathS3(PathCloudBASE): scheme = Schemes.S3
16.857143
31
0.779661
15
118
6.133333
0.666667
0
0
0
0
0
0
0
0
0
0
0.020202
0.161017
118
6
32
19.666667
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
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
df84089eac65b59082205d83c06cd6c272f90434
145
py
Python
banks/apps.py
lauriefacer/Facer
ff9f5ca4af302926fed49a4b9b442ff00ea212be
[ "MIT" ]
null
null
null
banks/apps.py
lauriefacer/Facer
ff9f5ca4af302926fed49a4b9b442ff00ea212be
[ "MIT" ]
null
null
null
banks/apps.py
lauriefacer/Facer
ff9f5ca4af302926fed49a4b9b442ff00ea212be
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BanksConfig(AppConfig): name = 'banks' class DatatableView(AppConfig): name = 'datatableview'
16.111111
33
0.737931
15
145
7.133333
0.666667
0.242991
0
0
0
0
0
0
0
0
0
0
0.172414
145
8
34
18.125
0.891667
0
0
0
0
0
0.124138
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
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
df8883bf266f2a644d25c10b6a4793fb6917cb40
950
py
Python
opyoid/bindings/instance_binding/instance_binding_to_provider_adapter.py
illuin-tech/opyoid
a2ca485e1820ba0d12a86ba91100aa097a1e5736
[ "MIT" ]
37
2020-08-25T07:22:41.000Z
2022-03-18T03:05:53.000Z
opyoid/bindings/instance_binding/instance_binding_to_provider_adapter.py
illuin-tech/opyoid
a2ca485e1820ba0d12a86ba91100aa097a1e5736
[ "MIT" ]
18
2020-10-04T17:33:24.000Z
2021-12-16T16:28:35.000Z
opyoid/bindings/instance_binding/instance_binding_to_provider_adapter.py
illuin-tech/opyoid
a2ca485e1820ba0d12a86ba91100aa097a1e5736
[ "MIT" ]
2
2021-01-26T19:58:15.000Z
2021-11-30T01:10:25.000Z
from opyoid.bindings.binding import Binding from opyoid.bindings.binding_to_provider_adapter import BindingToProviderAdapter from opyoid.bindings.registered_binding import RegisteredBinding from opyoid.injection_context import InjectionContext from opyoid.provider import Provider from opyoid.utils import InjectedT from...
45.238095
96
0.807368
92
950
8.228261
0.358696
0.07926
0.071334
0.06605
0
0
0
0
0
0
0
0
0.129474
950
20
97
47.5
0.915357
0.045263
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.533333
0.133333
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
0
0
0
1
1
1
0
0
3
df8935cb314bb24e9c12282a7a762c31e2106abf
307
py
Python
backend/src/asset_manager/data/repos/license.py
JonathanLoscalzo/asset-license-dev-demo
522c1d531e508ae7e85b212f804eee505d284b2b
[ "Xnet", "X11" ]
null
null
null
backend/src/asset_manager/data/repos/license.py
JonathanLoscalzo/asset-license-dev-demo
522c1d531e508ae7e85b212f804eee505d284b2b
[ "Xnet", "X11" ]
null
null
null
backend/src/asset_manager/data/repos/license.py
JonathanLoscalzo/asset-license-dev-demo
522c1d531e508ae7e85b212f804eee505d284b2b
[ "Xnet", "X11" ]
null
null
null
from pymongo.database import Database from asset_manager.data.repos.base import MongoRepository from asset_manager.data.schemas.license import LicenseMongo class LicenseRepository(MongoRepository[LicenseMongo]): def __init__(self, db: Database): super().__init__(db, "licenses", LicenseMongo)
34.111111
59
0.801303
35
307
6.742857
0.6
0.076271
0.135593
0.169492
0
0
0
0
0
0
0
0
0.114007
307
8
60
38.375
0.867647
0
0
0
0
0
0.026059
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
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
1
0
0
0
0
3
10ceb5b8c333d0a852efe89da7acab8411d380e4
1,394
py
Python
reconcile/test/test_utils_ocm_versions.py
bhushanthakur93/qontract-reconcile
fd8eea9f92d353224113955d08e3592864e37df8
[ "Apache-2.0" ]
null
null
null
reconcile/test/test_utils_ocm_versions.py
bhushanthakur93/qontract-reconcile
fd8eea9f92d353224113955d08e3592864e37df8
[ "Apache-2.0" ]
null
null
null
reconcile/test/test_utils_ocm_versions.py
bhushanthakur93/qontract-reconcile
fd8eea9f92d353224113955d08e3592864e37df8
[ "Apache-2.0" ]
null
null
null
import pytest from reconcile.utils.ocm import OCM @pytest.fixture def ocm(mocker): mocker.patch("reconcile.utils.ocm.OCM._init_access_token") mocker.patch("reconcile.utils.ocm.OCM._init_request_headers") mocker.patch("reconcile.utils.ocm.OCM._init_clusters") mocker.patch("reconcile.utils.ocm.OCM._init...
26.807692
71
0.689383
210
1,394
4.366667
0.22381
0.02181
0.026172
0.150491
0.762268
0.762268
0.720829
0.505998
0.441658
0.400218
0
0.027142
0.154232
1,394
51
72
27.333333
0.750636
0
0
0.371429
0
0
0.203013
0.120517
0
0
0
0
0.171429
1
0.228571
false
0
0.057143
0
0.314286
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
10f33906f4fef402a2de99509529076ca712a7c2
25
py
Python
org/sfu/billing/controller/__init__.py
MehdiLebdi/Real-Time-Charging_system
9eb59c12a36b3e10d9b3bf99bf2cd09a91376a10
[ "Apache-2.0" ]
1
2020-08-15T08:34:36.000Z
2020-08-15T08:34:36.000Z
org/sfu/billing/controller/__init__.py
MehdiLebdi/Real-Time-Charging_system
9eb59c12a36b3e10d9b3bf99bf2cd09a91376a10
[ "Apache-2.0" ]
null
null
null
org/sfu/billing/controller/__init__.py
MehdiLebdi/Real-Time-Charging_system
9eb59c12a36b3e10d9b3bf99bf2cd09a91376a10
[ "Apache-2.0" ]
null
null
null
__all__= ['controller']
8.333333
23
0.68
2
25
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
2
24
12.5
0.590909
0
0
0
0
0
0.416667
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
10f9d7dfc533d1074e71035424e95b25f68c15f6
340
py
Python
Module_03/mlb.py
JoseGtz/2021_python_selenium
c7b39479c78839ba2e2e2633a0f673a8b02fb4cb
[ "Unlicense" ]
null
null
null
Module_03/mlb.py
JoseGtz/2021_python_selenium
c7b39479c78839ba2e2e2633a0f673a8b02fb4cb
[ "Unlicense" ]
null
null
null
Module_03/mlb.py
JoseGtz/2021_python_selenium
c7b39479c78839ba2e2e2633a0f673a8b02fb4cb
[ "Unlicense" ]
null
null
null
from common.webdriver_factory import get_driver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By driver = get_driver('chrome') wait = WebDriverWait(driver, 5) driver.get('https://www.mlb.com/es/standin...
30.909091
64
0.817647
48
340
5.708333
0.520833
0.131387
0.229927
0.20438
0
0
0
0
0
0
0
0.003215
0.085294
340
11
65
30.909091
0.877814
0
0
0
0
0
0.111437
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
1
0
0
0
0
3
8001270d6cfc8547c4dfb75dfc1628301ed4ccf1
358
bzl
Python
org_opencv.bzl
chris-blay/bazel
21ea699a0a6ec2f56be52ca7ed78d5964aab3c27
[ "Apache-2.0" ]
1
2018-02-06T15:56:40.000Z
2018-02-06T15:56:40.000Z
org_opencv.bzl
chris-blay/bazel
21ea699a0a6ec2f56be52ca7ed78d5964aab3c27
[ "Apache-2.0" ]
null
null
null
org_opencv.bzl
chris-blay/bazel
21ea699a0a6ec2f56be52ca7ed78d5964aab3c27
[ "Apache-2.0" ]
null
null
null
def sample(name, custom_package): native.android_binary( name = name, deps = [":sdk"], srcs = native.glob(["samples/" + name + "/src/**/*.java"]), custom_package = custom_package, manifest = "samples/" + name + "/AndroidManifest.xml", resource_files = native.glob(["sa...
35.8
72
0.550279
35
358
5.485714
0.6
0.203125
0.177083
0.21875
0
0
0
0
0
0
0
0
0.25419
358
9
73
39.777778
0.719101
0
0
0
0
0
0.198324
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0
0
0
0
null
1
0
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
802b20d5dcc6e53ad2602168453ebf276324e2c7
143
py
Python
Lms_Arpita/DatabaseConnectivity/MongoConnection.py
hcmuleva/personal-profile
051b5a2f36b927951691f48abe584beb8bc25440
[ "MIT" ]
null
null
null
Lms_Arpita/DatabaseConnectivity/MongoConnection.py
hcmuleva/personal-profile
051b5a2f36b927951691f48abe584beb8bc25440
[ "MIT" ]
3
2020-07-13T17:46:32.000Z
2020-07-26T10:30:59.000Z
Lms_Arpita/DatabaseConnectivity/MongoConnection.py
hcmuleva/personal-profile
051b5a2f36b927951691f48abe584beb8bc25440
[ "MIT" ]
null
null
null
from pymongo import MongoClient def path(): client = MongoClient('mongodb://localhost:27017/') db = client['UserBook'] return db
17.875
54
0.678322
16
143
6.0625
0.8125
0
0
0
0
0
0
0
0
0
0
0.043478
0.195804
143
7
55
20.428571
0.8
0
0
0
0
0
0.237762
0.181818
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
339c2850fe3848ca48de45f881ca59f6d9fd81f3
153
py
Python
locale/pot/api/utilities/_autosummary/pyvista-Disc-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
4
2020-08-07T08:19:19.000Z
2020-12-04T09:51:11.000Z
locale/pot/api/utilities/_autosummary/pyvista-Disc-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
19
2020-08-06T00:24:30.000Z
2022-03-30T19:22:24.000Z
locale/pot/api/utilities/_autosummary/pyvista-Disc-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
1
2021-03-09T07:50:40.000Z
2021-03-09T07:50:40.000Z
# Create a disc with 50 points in the circumferential direction. # import pyvista mesh = pyvista.Disc(c_res=50) mesh.plot(show_edges=True, line_width=5)
25.5
64
0.784314
26
153
4.5
0.846154
0
0
0
0
0
0
0
0
0
0
0.037313
0.124183
153
5
65
30.6
0.835821
0.405229
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
33a406fd3d5662cdfecad65c9a454e308ebff473
274
py
Python
survivethevoid/utils/math_func.py
LMikeH/SurviveTheVoid
e517870d1dca388a54f8f523879c6c8583101a02
[ "bzip2-1.0.6" ]
null
null
null
survivethevoid/utils/math_func.py
LMikeH/SurviveTheVoid
e517870d1dca388a54f8f523879c6c8583101a02
[ "bzip2-1.0.6" ]
null
null
null
survivethevoid/utils/math_func.py
LMikeH/SurviveTheVoid
e517870d1dca388a54f8f523879c6c8583101a02
[ "bzip2-1.0.6" ]
null
null
null
import numpy as np def R(angle): rad_angle = (angle)*np.pi/180 return np.array([[np.cos(rad_angle), -np.sin(rad_angle)], [np.sin(rad_angle), np.cos(rad_angle)]]) if __name__ == "__main__": a = np.array([0, 1]) print(np.dot(R(180), a))
24.909091
61
0.572993
46
274
3.130435
0.478261
0.277778
0.208333
0.180556
0.25
0.25
0.25
0
0
0
0
0.037915
0.229927
274
10
62
27.4
0.64455
0
0
0
0
0
0.029197
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0.125
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
33c1247fa87d16457ea55bc1e3f8ebb9f2eb5bf2
21
py
Python
portfolios/trader/__init__.py
ahwkuepper/portfolio
4ab6eebbb36c6064d58df62dbe931ead3b297be4
[ "BSD-3-Clause" ]
4
2020-08-18T09:52:37.000Z
2021-03-26T19:59:03.000Z
portfolios/trader/__init__.py
ahwkuepper/portfolio
4ab6eebbb36c6064d58df62dbe931ead3b297be4
[ "BSD-3-Clause" ]
4
2019-07-06T17:48:46.000Z
2020-05-11T01:40:18.000Z
portfolios/trader/__init__.py
ahwkuepper/portfolio
4ab6eebbb36c6064d58df62dbe931ead3b297be4
[ "BSD-3-Clause" ]
2
2019-02-28T08:02:47.000Z
2019-07-09T04:23:23.000Z
__all__ = ["orders"]
10.5
20
0.619048
2
21
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.5
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
33cab9736c2b33f9dc7ebf54dc2179461c98e762
1,263
py
Python
testtool.py
andreasscherbaum/pg_commitfest_testtool
4e40ef441401faddc34861a92f41a9ca60c7560c
[ "BSD-3-Clause" ]
1
2017-10-26T13:52:53.000Z
2017-10-26T13:52:53.000Z
testtool.py
andreasscherbaum/pg_commitfest_testtool
4e40ef441401faddc34861a92f41a9ca60c7560c
[ "BSD-3-Clause" ]
null
null
null
testtool.py
andreasscherbaum/pg_commitfest_testtool
4e40ef441401faddc34861a92f41a9ca60c7560c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # test tool for PostgreSQL Commitfest website # # written by: Andreas Scherbaum <ads@pgug.de> # import re import os import sys import logging import tempfile import atexit import shutil import time import subprocess from subprocess import Popen import socket import sqlite3 import datetime from ...
16.402597
71
0.699129
165
1,263
5.278788
0.642424
0.063146
0.043628
0
0
0
0
0
0
0
0
0.000949
0.165479
1,263
76
72
16.618421
0.825427
0.43943
0
0
0
0
0.042763
0
0
0
0
0.013158
0
1
0.038462
false
0.038462
0.615385
0
0.653846
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
33f9bc9ef4a0562402b71b8f52d5b6955d65ca99
264
py
Python
tests/utils.py
mihhail-m/avaandmed-py
c64b07db989b9aff4cfa7f4e18efc0c47ae5e219
[ "MIT" ]
null
null
null
tests/utils.py
mihhail-m/avaandmed-py
c64b07db989b9aff4cfa7f4e18efc0c47ae5e219
[ "MIT" ]
5
2022-03-17T15:00:23.000Z
2022-03-26T08:33:19.000Z
tests/utils.py
mihhail-m/avaandmed-py
c64b07db989b9aff4cfa7f4e18efc0c47ae5e219
[ "MIT" ]
null
null
null
import json from pathlib import Path def load_json(path: Path): data = None with open(path.absolute(), encoding='utf-8') as f: data = json.load(f) return data def format_mock_url(url: str, mock_value: str): return f'{url}/{mock_value}'
18.857143
54
0.659091
42
264
4.02381
0.547619
0.106509
0
0
0
0
0
0
0
0
0
0.004831
0.215909
264
13
55
20.307692
0.811594
0
0
0
0
0
0.087121
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
d5155bb3abd235bf78598d767115ae4c2571c009
55
py
Python
pytorchltr/__init__.py
rjagerman/pytorchltr
625416e1e7d21fb2bbc485914704fc2e55274556
[ "MIT" ]
37
2020-05-24T13:40:52.000Z
2022-03-17T09:00:52.000Z
pytorchltr/__init__.py
SuperXiang/pytorchltr
625416e1e7d21fb2bbc485914704fc2e55274556
[ "MIT" ]
22
2020-05-25T11:35:38.000Z
2021-03-20T04:08:07.000Z
pytorchltr/__init__.py
SuperXiang/pytorchltr
625416e1e7d21fb2bbc485914704fc2e55274556
[ "MIT" ]
4
2020-10-16T13:14:16.000Z
2022-01-31T17:18:20.000Z
r""" .. include::../README.md :start-line: 1 """
7.857143
24
0.472727
7
55
3.714286
1
0
0
0
0
0
0
0
0
0
0
0.023256
0.218182
55
6
25
9.166667
0.581395
0.781818
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1d14d1a8f4768aa5af1d7409da82dc30b96fd135
367
py
Python
test_memory.py
dbstein/python_examples
664142b5f8e5f58c04f1d588bc6659221dc6b0a9
[ "Apache-2.0" ]
null
null
null
test_memory.py
dbstein/python_examples
664142b5f8e5f58c04f1d588bc6659221dc6b0a9
[ "Apache-2.0" ]
null
null
null
test_memory.py
dbstein/python_examples
664142b5f8e5f58c04f1d588bc6659221dc6b0a9
[ "Apache-2.0" ]
null
null
null
import numpy as np from numexpr_kernel import numexpr_kernel from numba_kernel import numba_kernel N = 10000 x = np.random.rand(N) y = np.random.rand(N) z = np.random.rand(N) tau = np.random.rand(N) r1 = numexpr_kernel(x, y, z, tau) r1 = numexpr_kernel(x, y, z, tau) r2 = np.zeros(N, dtype=float) numba_kernel(x, y, z,...
22.9375
41
0.700272
74
367
3.364865
0.283784
0.208835
0.192771
0.208835
0.337349
0.337349
0.329317
0.160643
0
0
0
0.032258
0.155313
367
15
42
24.466667
0.770968
0
0
0.307692
0
0
0
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
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
1d1ad6315c73b6924e164f03e7e42156df8826eb
1,224
py
Python
cogs/WelcomeCog.py
tandemdude/DevilDonkey
be2c561f73c42aa2d5016e186bef2538658475d5
[ "MIT" ]
1
2021-08-22T17:34:41.000Z
2021-08-22T17:34:41.000Z
cogs/WelcomeCog.py
tandemdude/DevilDonkey
be2c561f73c42aa2d5016e186bef2538658475d5
[ "MIT" ]
null
null
null
cogs/WelcomeCog.py
tandemdude/DevilDonkey
be2c561f73c42aa2d5016e186bef2538658475d5
[ "MIT" ]
null
null
null
# User welcome extension coded by github u/tandemdude # https://github.com/tandemdude import discord import json from discord.ext import commands class Welcome(commands.Cog): def __init__(self, bot): self.bot = bot @commands.Cog.listener() async def on_member_join(self, member): with open('config.json') as ...
29.142857
97
0.747549
188
1,224
4.654255
0.356383
0.16
0.109714
0.054857
0.706286
0.706286
0.706286
0.626286
0.626286
0.626286
0
0.00566
0.133987
1,224
41
98
29.853659
0.818868
0.066176
0
0.5
0
0
0.136842
0.036842
0
0
0.014035
0
0
1
0.071429
false
0
0.107143
0
0.214286
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
1d2f8198cf092ac9dcd093d637fd09e17f523d59
65
py
Python
projects/microphysics/scripts/config.py
jacnugent/fv3net
84958651bdd17784fdab98f87ad0d65414c03368
[ "MIT" ]
5
2021-03-20T22:42:40.000Z
2021-06-30T18:39:36.000Z
projects/microphysics/scripts/config.py
jacnugent/fv3net
84958651bdd17784fdab98f87ad0d65414c03368
[ "MIT" ]
195
2021-09-16T05:47:18.000Z
2022-03-31T22:03:15.000Z
projects/microphysics/scripts/config.py
ai2cm/fv3net
e62038aee0a97d6207e66baabd8938467838cf51
[ "MIT" ]
1
2021-06-16T22:04:24.000Z
2021-06-16T22:04:24.000Z
BUCKET = "vcm-ml-experiments" PROJECT = "microphysics-emulation"
21.666667
34
0.769231
7
65
7.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.092308
65
2
35
32.5
0.847458
0
0
0
0
0
0.615385
0.338462
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
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d590653c6d0bc80cf945214103ea57aa9992bdd
1,087
py
Python
bots/rand/rand.py
markmelnic/IS-Project
85a4418c1ec9da4bd4fd105c20f4ca5c50d99ff5
[ "MIT" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
bots/rand/rand.py
markmelnic/IS-Project
85a4418c1ec9da4bd4fd105c20f4ca5c50d99ff5
[ "MIT" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
bots/rand/rand.py
markmelnic/IS-Project
85a4418c1ec9da4bd4fd105c20f4ca5c50d99ff5
[ "MIT" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
""" RandomBot -- A simple strategy: enumerates all legal moves, and picks one uniformly at random. """ # Import the API objects from api import State import random class Bot: def __init__(self): pass def get_move(self, state): # type: (State) -> tuple[int, int] """ Function ...
31.057143
93
0.645814
156
1,087
4.467949
0.583333
0.022956
0.037303
0
0
0
0
0
0
0
0
0
0.296228
1,087
35
94
31.057143
0.911111
0.701932
0
0
0
0
0
0
0
0
0
0.028571
0
1
0.25
false
0.125
0.25
0
0.75
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
1
0
1
0
0
0
0
0
3
1d5e37d663df33d8a715b4a60c72cd71296f8689
29
py
Python
validation/__init__.py
pauloubuntu/ocr-processing-service
3a8e755e6ec62336499280e4a48ffbd0d41df3cf
[ "MIT" ]
22
2015-06-10T22:40:11.000Z
2018-08-12T04:26:57.000Z
validation/__init__.py
pauloubuntu/ocr-processing-service
3a8e755e6ec62336499280e4a48ffbd0d41df3cf
[ "MIT" ]
6
2015-07-31T17:52:49.000Z
2017-03-06T11:36:00.000Z
validation/__init__.py
nfscan/ocr-processing-service
3a8e755e6ec62336499280e4a48ffbd0d41df3cf
[ "MIT" ]
20
2015-06-10T12:47:10.000Z
2020-03-24T20:23:14.000Z
__author__ = 'paulo.rodenas'
14.5
28
0.758621
3
29
6
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.692308
0
0
0
0
0
0.448276
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
1d8b6f8e19293ba21c2228c7a6bbaaebe7835fb6
425
py
Python
libs/yowsup/yowsup/yowsup/layers/protocol_receipts/protocolentities/test_receipt_outgoing.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
22
2017-07-14T20:01:17.000Z
2022-03-08T14:22:39.000Z
libs/yowsup/yowsup/yowsup/layers/protocol_receipts/protocolentities/test_receipt_outgoing.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
6
2017-07-14T21:03:50.000Z
2021-06-10T19:08:32.000Z
libs/yowsup/yowsup/yowsup/layers/protocol_receipts/protocolentities/test_receipt_outgoing.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
13
2017-07-14T20:13:14.000Z
2020-11-12T08:06:05.000Z
from yowsup.layers.protocol_receipts.protocolentities import OutgoingReceiptProtocolEntity from yowsup.structs.protocolentity import ProtocolEntityTest import unittest class OutgoingReceiptProtocolEntityTest(ProtocolEntityTest, unittest.TestCase): def setUp(self): self.ProtocolEntity = OutgoingReceiptProto...
53.125
95
0.828235
34
425
10.323529
0.676471
0.05698
0
0
0
0
0
0
0
0
0
0.007853
0.101176
425
8
95
53.125
0.910995
0
0
0
0
0
0.030516
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
1
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
1d8eb891210e75a2298ded03715a2b3415109050
230
py
Python
gameplay/urls.py
Urosh91/TicTacToe
40d6c763993b525327d2c3cd3f132dc8822c85fe
[ "MIT" ]
null
null
null
gameplay/urls.py
Urosh91/TicTacToe
40d6c763993b525327d2c3cd3f132dc8822c85fe
[ "MIT" ]
null
null
null
gameplay/urls.py
Urosh91/TicTacToe
40d6c763993b525327d2c3cd3f132dc8822c85fe
[ "MIT" ]
null
null
null
from django.urls import path from .views import game_detail, make_move urlpatterns = [ path(r'detail/<int:id>/', game_detail, name="gameplay_detail"), path(r'make_move/<int:id>', make_move, name="gameplay_make_move") ]
23
69
0.721739
35
230
4.514286
0.457143
0.202532
0
0
0
0
0
0
0
0
0
0
0.130435
230
9
70
25.555556
0.79
0
0
0
0
0
0.291304
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
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
1
0
0
0
0
3
1da32fba530eac4eeca4097a02c12b5c6d943941
464
py
Python
back-end/src/handler/common/image.py
gfxcc/san11-platform
1d085d818bc265f5ffa7e8a7279c3b686deed98c
[ "MIT" ]
2
2021-12-23T06:18:35.000Z
2021-12-23T06:18:39.000Z
back-end/src/handler/common/image.py
gfxcc/san11-platform-back-end
74f60d201e21396c5c8601ddc404077ebd97871f
[ "MIT" ]
9
2021-03-10T01:54:16.000Z
2022-03-27T21:38:34.000Z
back-end/src/handler/common/image.py
gfxcc/san11-platform-back-end
74f60d201e21396c5c8601ddc404077ebd97871f
[ "MIT" ]
null
null
null
from __future__ import annotations import logging import os import os.path from ..util import gcs logger = logging.getLogger(os.path.basename(__file__)) class Image: def __init__(self, url) -> None: self.url = url def __str__(self) -> str: return self.url def delete(self): gcs...
17.846154
54
0.650862
63
464
4.507937
0.47619
0.098592
0
0
0
0
0
0
0
0
0
0
0.24569
464
25
55
18.56
0.811429
0
0
0
0
0
0.036638
0
0
0
0
0
0
1
0.235294
false
0
0.294118
0.117647
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
d5220e82bf5048293d79285d2100fa6124ce5c82
695
py
Python
Arrays and Strings/LongestSubstringWithoutRepeating.py
dileeppandey/hello-interview
78f6cf4e2da4106fd07f4bd86247026396075c69
[ "MIT" ]
null
null
null
Arrays and Strings/LongestSubstringWithoutRepeating.py
dileeppandey/hello-interview
78f6cf4e2da4106fd07f4bd86247026396075c69
[ "MIT" ]
null
null
null
Arrays and Strings/LongestSubstringWithoutRepeating.py
dileeppandey/hello-interview
78f6cf4e2da4106fd07f4bd86247026396075c69
[ "MIT" ]
1
2020-02-12T16:57:46.000Z
2020-02-12T16:57:46.000Z
""" https://leetcode.com/problems/longest-substring-without-repeating-characters/ Given a string, find the length of the longest substring without repeating characters. """ class Solution: def lengthOfLongestSubstring(self, s): longest = 0 longest_substr = "" for ch in s: if...
27.8
86
0.630216
77
695
5.571429
0.467532
0.272727
0.2331
0.242424
0.317016
0.121212
0
0
0
0
0
0.003968
0.27482
695
24
87
28.958333
0.847222
0.235971
0
0
0
0
0.017274
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.214286
0.071429
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
d52452bbbdfe7f2a5739d5992e91cfe848ffbc23
154
py
Python
toal/annotators/AbstractAnnotator.py
Bhaskers-Blu-Org1/text-oriented-active-learning
facfb40673a59e43391b7bdb508e612dff1988d9
[ "MIT" ]
4
2020-10-23T14:42:30.000Z
2021-06-10T13:29:04.000Z
toal/annotators/AbstractAnnotator.py
Bhaskers-Blu-Org1/text-oriented-active-learning
facfb40673a59e43391b7bdb508e612dff1988d9
[ "MIT" ]
null
null
null
toal/annotators/AbstractAnnotator.py
Bhaskers-Blu-Org1/text-oriented-active-learning
facfb40673a59e43391b7bdb508e612dff1988d9
[ "MIT" ]
1
2020-07-30T10:35:09.000Z
2020-07-30T10:35:09.000Z
import abc class AbstractAnnotator(abc.ABC): @abc.abstractmethod def annotate(self, unlab_index, unlabeled): raise NotImplementedError()
22
47
0.733766
16
154
7
0.8125
0.107143
0
0
0
0
0
0
0
0
0
0
0.181818
154
7
48
22
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
d535e635e6b66ba70c20fb56aebb09ef9c95a99d
2,435
py
Python
tests/engine/training/test_fingerprinting.py
fintzd/rasa
6359be5509c7d87cd29c2ab5149bc45e843fea85
[ "Apache-2.0" ]
9,701
2019-04-16T15:46:27.000Z
2022-03-31T11:52:18.000Z
tests/engine/training/test_fingerprinting.py
fintzd/rasa
6359be5509c7d87cd29c2ab5149bc45e843fea85
[ "Apache-2.0" ]
6,420
2019-04-16T15:58:22.000Z
2022-03-31T17:54:35.000Z
tests/engine/training/test_fingerprinting.py
fintzd/rasa
6359be5509c7d87cd29c2ab5149bc45e843fea85
[ "Apache-2.0" ]
3,063
2019-04-16T15:23:52.000Z
2022-03-31T00:01:12.000Z
import inspect from unittest.mock import Mock from _pytest.monkeypatch import MonkeyPatch from rasa.core.policies.ted_policy import TEDPolicy from rasa.engine.training import fingerprinting from rasa.nlu.classifiers.diet_classifier import DIETClassifier from rasa.nlu.selectors.response_selector import ResponseSelector...
30.822785
88
0.725667
240
2,435
7.05
0.254167
0.135934
0.200946
0.218676
0.656028
0.631797
0.618794
0.618794
0.576241
0.505319
0
0.009945
0.174127
2,435
78
89
31.217949
0.831427
0
0
0.508475
0
0
0.037372
0
0
0
0
0
0.101695
1
0.084746
false
0
0.135593
0
0.220339
0.457627
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
0
0
0
0
1
0
3
d54a0002af3d3a00d396f68eb323f46a1f109f28
357
py
Python
backend/saas_framework/sharing/views.py
snarayanank2/django-workspaces
46ef92a4caa95eee617a24ead284e533422afca0
[ "MIT" ]
1
2021-01-27T17:51:58.000Z
2021-01-27T17:51:58.000Z
backend/saas_framework/sharing/views.py
snarayanank2/django-workspaces
46ef92a4caa95eee617a24ead284e533422afca0
[ "MIT" ]
6
2021-03-30T13:51:35.000Z
2022-03-02T09:24:07.000Z
backend/saas_framework/sharing/views.py
snarayanank2/django-workspaces
46ef92a4caa95eee617a24ead284e533422afca0
[ "MIT" ]
1
2022-03-18T08:43:17.000Z
2022-03-18T08:43:17.000Z
import logging from rest_framework import viewsets from saas_framework.sharing.models import Sharing from saas_framework.sharing.serializers import SharingSerializer logger = logging.getLogger(__name__) class SharingViewSet(viewsets.ModelViewSet): queryset = Sharing.objects.all() serializer_class = SharingSe...
27.461538
64
0.820728
39
357
7.282051
0.615385
0.056338
0.119718
0.169014
0
0
0
0
0
0
0
0
0.120448
357
12
65
29.75
0.904459
0
0
0
0
0
0.028011
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.888889
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
d564cb51b33bc55213dfe9dbf9c99c0386c1608f
402
py
Python
ch05/first.n.squares.manual.method.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch05/first.n.squares.manual.method.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch05/first.n.squares.manual.method.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
# first.n.squares.manual.method.py def get_squares_gen(n): for x in range(n): yield x ** 2 squares = get_squares_gen(3) print(squares.__next__()) # prints: 0 print(squares.__next__()) # prints: 1 print(squares.__next__()) # prints: 4 # the following raises StopIteration, the generator is exhausted, # a...
28.714286
65
0.723881
59
402
4.59322
0.610169
0.177122
0.236162
0.243542
0
0
0
0
0
0
0
0.014793
0.159204
402
13
66
30.923077
0.786982
0.455224
0
0.5
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.5
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
0
0
0
0
1
0
3
d56a6b6cc928e92831ff43c629863b6b344a0193
614
py
Python
examples/bintree.py
jdrprod/Pym-s
e68dfb840bd36fe60cda02de3b96762e9138071a
[ "MIT" ]
3
2019-08-16T20:54:09.000Z
2020-04-26T02:43:57.000Z
examples/bintree.py
jdrprod/Pym-s
e68dfb840bd36fe60cda02de3b96762e9138071a
[ "MIT" ]
null
null
null
examples/bintree.py
jdrprod/Pym-s
e68dfb840bd36fe60cda02de3b96762e9138071a
[ "MIT" ]
null
null
null
class binary_tree: def __init__(self): pass class Node(binary_tree): __field_0 : int __field_1 : binary_tree __field_2 : binary_tree def __init__(self, arg_0 : int , arg_1 : binary_tree , arg_2 : binary_tree ): self.__field_0 = arg_0 self.__field_1 = arg_1 self.__fi...
24.56
81
0.636808
91
614
3.516484
0.186813
0.225
0.125
0.10625
0.578125
0.275
0.1625
0
0
0
0
0.045767
0.288274
614
24
82
25.583333
0.686499
0
0
0.380952
0
0
0
0
0
0
0
0
0
1
0.238095
false
0.047619
0
0
0.571429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d5964f0e3f92c5ca6a4083ce024d1eef5ffe0c51
350
py
Python
elements/light.py
partha-ghosh/pyeffects
b941e9b09c9889c01b103d758707d36c3520de2a
[ "MIT" ]
null
null
null
elements/light.py
partha-ghosh/pyeffects
b941e9b09c9889c01b103d758707d36c3520de2a
[ "MIT" ]
null
null
null
elements/light.py
partha-ghosh/pyeffects
b941e9b09c9889c01b103d758707d36c3520de2a
[ "MIT" ]
null
null
null
import numpy as np class Light: _position = np.array([960, 540, 300.0, 1]) _color = np.array([255, 255, 255]) def set_position(position): Light._position = position def set_color(color): Light._color = color def get_color(): return Light._color def get_position(): ...
18.421053
46
0.617143
46
350
4.478261
0.413043
0.18932
0.106796
0
0
0
0
0
0
0
0
0.079051
0.277143
350
18
47
19.444444
0.735178
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
633fea310c7ede3fcdb48e65d6529aca3feaa371
300
py
Python
WhatsAppManifest/automator/android/__init__.py
riquedev/WhatsAppManifest
bcbbd48f6f9152024a54172886876d3a725a3a62
[ "MIT" ]
15
2020-03-11T17:31:12.000Z
2021-11-19T03:26:09.000Z
WhatsAppManifest/automator/android/__init__.py
riquedev/WhatsAppManifest
bcbbd48f6f9152024a54172886876d3a725a3a62
[ "MIT" ]
5
2021-03-31T19:43:15.000Z
2022-03-12T00:18:38.000Z
WhatsAppManifest/automator/android/__init__.py
riquedev/WhatsAppManifest
bcbbd48f6f9152024a54172886876d3a725a3a62
[ "MIT" ]
4
2020-03-11T01:52:57.000Z
2021-03-16T04:14:33.000Z
""" Module responsible for all automation related to the device """ __author__ = 'Henrique da Silva Santos' __copyright__ = 'Copyright 2020, WhatsAppManifest' from WhatsAppManifest.automator.android.phone import AndroidPhone from WhatsAppManifest.automator.android.contacts import AndroidContacts
27.272727
71
0.826667
32
300
7.5
0.78125
0.166667
0.241667
0.3
0
0
0
0
0
0
0
0.014981
0.11
300
10
72
30
0.883895
0.196667
0
0
0
0
0.240343
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
1
0
0
0
0
3
6343d7c7cb482c3822a30210560f4a05a0ff2ffb
1,087
py
Python
stubs.min/System/Windows/Interop_parts/WindowInteropHelper.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/WindowInteropHelper.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/Interop_parts/WindowInteropHelper.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class WindowInteropHelper(object): """ Assists interoperation between Windows Presentation Foundation (WPF) and Win32 code. WindowInteropHelper(window: Window) """ def EnsureHandle(self): """ EnsureHandle(self: WindowInteropHelper) -> IntPtr Creates the HWND of the window if the HWND has ...
30.194444
151
0.710212
132
1,087
5.80303
0.44697
0.078329
0.113577
0.125326
0.148825
0.148825
0.148825
0.148825
0.148825
0.148825
0.00184
0.002265
0.187672
1,087
35
152
31.057143
0.862967
0.307268
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0
0
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
0
1
0
0
3
6355c736188798e18f8ebe25d3c958a69c9cea68
54,947
py
Python
main.py
openmindednewby/Tool-for-creating-lip-recognition-datasets
d8bd97cfa112e8e2fb1f4cca20a7093493e3ed9d
[ "MIT" ]
4
2020-07-22T16:10:55.000Z
2021-11-25T08:32:34.000Z
main.py
openmindednewby/Tool-for-creating-lip-recognition-datasets
d8bd97cfa112e8e2fb1f4cca20a7093493e3ed9d
[ "MIT" ]
null
null
null
main.py
openmindednewby/Tool-for-creating-lip-recognition-datasets
d8bd97cfa112e8e2fb1f4cca20a7093493e3ed9d
[ "MIT" ]
2
2020-12-30T22:07:54.000Z
2021-02-02T01:12:13.000Z
''' Every type you encounter ##EDIT_ME## you will need to adjust these settings ''' import pandas as pd import numpy as np import module_youtube_extract import module_convert_audio_to_wav import module_process_subtitles import module_save_variables import module_video_processing import module_sample_name import module_...
70.80799
1,331
0.834804
8,425
54,947
4.922137
0.078338
0.043261
0.05093
0.048615
0.782633
0.738576
0.711592
0.692469
0.637223
0.586944
0
0.010831
0.102717
54,947
775
1,332
70.899355
0.830274
0.257266
0
0.046693
0
0
0.07537
0.053583
0
0
0
0
0
1
0
false
0.007782
0.035019
0
0.035019
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
636d48cb9b81c8aa18e1903f64ee3f997f6ae04e
155
py
Python
agendamentos/apps.py
afnmachado/univesp_pi_1
e6f2b545faaf53d14d17f751d2fb32e6618885b7
[ "MIT" ]
null
null
null
agendamentos/apps.py
afnmachado/univesp_pi_1
e6f2b545faaf53d14d17f751d2fb32e6618885b7
[ "MIT" ]
null
null
null
agendamentos/apps.py
afnmachado/univesp_pi_1
e6f2b545faaf53d14d17f751d2fb32e6618885b7
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AgendamentoConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'agendamentos'
22.142857
56
0.774194
17
155
6.941176
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.141935
155
6
57
25.833333
0.887218
0
0
0
0
0
0.264516
0.187097
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
636f4efb035fdaa64cb9b8922b6256a38b910e41
9,570
py
Python
data/fech_data.py
wangjiehui11235/panther
cf1ca2f0c7107c5cdacf2f7ff4002d43427d9b07
[ "Apache-2.0" ]
3
2020-01-23T22:23:08.000Z
2020-10-12T20:02:16.000Z
data/fech_data.py
wangjiehui11235/panther
cf1ca2f0c7107c5cdacf2f7ff4002d43427d9b07
[ "Apache-2.0" ]
1
2019-10-28T05:53:08.000Z
2019-10-28T05:53:08.000Z
data/fech_data.py
wangjiehui11235/panther
cf1ca2f0c7107c5cdacf2f7ff4002d43427d9b07
[ "Apache-2.0" ]
9
2019-08-21T07:48:32.000Z
2020-04-04T09:17:54.000Z
# -*- coding: utf-8 -*- import pdb, six, importlib import pandas as pd from PyFin.api import makeSchedule, BizDayConventions from sqlalchemy import create_engine, select, and_, or_ from utilities.singleton import Singleton import sys sys.path.append('..') import config # 连接句柄 @six.add_metaclass(Singleton) class SQLE...
42.914798
116
0.646186
1,161
9,570
4.999139
0.11714
0.068229
0.081496
0.101999
0.734493
0.722777
0.690386
0.665403
0.658511
0.640765
0
0.005676
0.245246
9,570
222
117
43.108108
0.797868
0.002717
0
0.45614
0
0
0.039409
0.010481
0
0
0
0
0
1
0.19883
false
0
0.105263
0.05848
0.51462
0.005848
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
0
0
0
0
0
1
0
0
3
636fae94296d077704f838d5bc8a253de68b535f
549
py
Python
models/collaborator.py
phil-lopreiato/frc-notebook-server
35e79dbcca45f0257a138ca2834b0b6e57b814f1
[ "MIT" ]
null
null
null
models/collaborator.py
phil-lopreiato/frc-notebook-server
35e79dbcca45f0257a138ca2834b0b6e57b814f1
[ "MIT" ]
null
null
null
models/collaborator.py
phil-lopreiato/frc-notebook-server
35e79dbcca45f0257a138ca2834b0b6e57b814f1
[ "MIT" ]
null
null
null
from google.appengine.ext import ndb class Collaborator(ndb.Model): """ Represents collab relationship at events Notifications will only be sent if both the sender and receiver have shared with each other """ srcUserId = ndb.StringProperty(required=True) dstUserId = ndb.StringProperty(req...
30.5
64
0.744991
66
549
6.151515
0.712121
0.125616
0.184729
0.214286
0
0
0
0
0
0
0
0
0.174863
549
17
65
32.294118
0.896247
0.240437
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
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
0
0
0
1
0
0
3
639a14e502ea586296e65639c8a98f05735475db
272
py
Python
app/views.py
we-race-here/wrh-brac
6dcd6bb23c86f98896127c89b24e6dc30af9648a
[ "MIT" ]
null
null
null
app/views.py
we-race-here/wrh-brac
6dcd6bb23c86f98896127c89b24e6dc30af9648a
[ "MIT" ]
9
2022-01-13T13:11:03.000Z
2022-01-17T19:12:17.000Z
app/views.py
we-race-here/wrh-brac
6dcd6bb23c86f98896127c89b24e6dc30af9648a
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. from django.views.generic import TemplateView from . import models, serializers class HomeView(TemplateView): template_name = 'Data.html' class FrontView(TemplateView): template_name = 'index.html'
20.923077
45
0.775735
33
272
6.333333
0.636364
0.095694
0.229665
0
0
0
0
0
0
0
0
0
0.147059
272
12
46
22.666667
0.900862
0.084559
0
0
0
0
0.077236
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
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
63bef9d21b68c3b40a658cb21bf53511e46c9e39
987
py
Python
network.py
wildarch/aiai
765fb67b42359f8fa0b530d5baf13714de069e90
[ "MIT" ]
1
2020-12-23T12:47:41.000Z
2020-12-23T12:47:41.000Z
network.py
wildarch/aiai
765fb67b42359f8fa0b530d5baf13714de069e90
[ "MIT" ]
null
null
null
network.py
wildarch/aiai
765fb67b42359f8fa0b530d5baf13714de069e90
[ "MIT" ]
null
null
null
import numpy as np import numpy.random as rand from functools import reduce class Network: def __init__(self, layer_sizes): # layer_sizes: list of numbers representing number of neurons per layer # Create a numpy array of biases for each layer except the (first) input layer self.biases =...
28.2
109
0.663627
159
987
4.031447
0.45912
0.078003
0.051482
0.074883
0
0
0
0
0
0
0
0.014589
0.236069
987
34
110
29.029412
0.835544
0.367781
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.230769
0.230769
0.846154
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
892b69c07a92d99e6dd2a8d72d712a862b76cd1f
442
py
Python
tests/unit/test_utility_item.py
luiscape/hdxscraper-worldpop
a94ea98d62645a0f2f508f227a642e7168e7281a
[ "MIT" ]
null
null
null
tests/unit/test_utility_item.py
luiscape/hdxscraper-worldpop
a94ea98d62645a0f2f508f227a642e7168e7281a
[ "MIT" ]
2
2016-03-08T15:36:27.000Z
2016-03-08T15:36:52.000Z
tests/unit/test_utility_item.py
luiscape/hdxscraper-worldpop
a94ea98d62645a0f2f508f227a642e7168e7281a
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Unit tests for the item() utility function. ''' import unittest from collector.utilities.item import item class TestUtilityItem(unittest.TestCase): ''' Tests for the item() utility function. ''' def test_item_returns_correct_type(self): ''' Tests that the...
21.047619
66
0.678733
56
442
5.285714
0.589286
0.070946
0.141892
0.222973
0.202703
0.202703
0
0
0
0
0
0.00277
0.183258
442
20
67
22.1
0.817175
0.41629
0
0
0
0
0.027027
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
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
89333b9df818e24672d6ad9bcfb169b6126774e6
2,081
py
Python
jcpdstools/view/mainwidget.py
SHDShim/JCPDSTools
4a4c1bd22a3f71c3285b5877d5d22b2702b7550c
[ "Apache-2.0" ]
3
2020-08-06T09:26:00.000Z
2021-08-10T14:13:58.000Z
jcpdstools/view/mainwidget.py
SHDShim/JCPDSTools
4a4c1bd22a3f71c3285b5877d5d22b2702b7550c
[ "Apache-2.0" ]
null
null
null
jcpdstools/view/mainwidget.py
SHDShim/JCPDSTools
4a4c1bd22a3f71c3285b5877d5d22b2702b7550c
[ "Apache-2.0" ]
null
null
null
import os from PyQt5 import QtWidgets from .qtd import Ui_MainWindow from version import __version__ from utils import SpinBoxFixStyle class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): """ Main window """ def __init__(self, parent=None): # initialization of the superclass super(...
42.469388
81
0.739068
188
2,081
7.946809
0.351064
0.227577
0.180723
0.267738
0.056225
0
0
0
0
0
0
0.003503
0.176838
2,081
48
82
43.354167
0.868651
0.054781
0
0
0
0
0.018994
0
0
0
0
0
0
1
0.081081
false
0
0.135135
0
0.243243
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
893500b28f3f57e96f65fa9b86818c48a291c5c0
1,164
py
Python
tianshou/env/worker/dummy.py
Leeqh666/tianshou
f71db624bee67b6170caaa06b0d3f68901b87985
[ "MIT" ]
null
null
null
tianshou/env/worker/dummy.py
Leeqh666/tianshou
f71db624bee67b6170caaa06b0d3f68901b87985
[ "MIT" ]
null
null
null
tianshou/env/worker/dummy.py
Leeqh666/tianshou
f71db624bee67b6170caaa06b0d3f68901b87985
[ "MIT" ]
null
null
null
import gym import numpy as np from typing import List, Callable, Optional, Any from tianshou.env.worker import EnvWorker class DummyEnvWorker(EnvWorker): """Dummy worker used in sequential vector environments.""" def __init__(self, env_fn: Callable[[], gym.Env]) -> None: super().__init__(env_fn) ...
29.1
73
0.631443
147
1,164
4.877551
0.394558
0.097629
0.054393
0.04463
0
0
0
0
0
0
0
0
0.243127
1,164
39
74
29.846154
0.813848
0.084192
0
0
0
0
0.035849
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.192308
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
89390457453d455098d6d865b97a3debbac7c065
43
py
Python
sugaroid/version.py
blackxspade/sugaroid
64e2031c1b432e6647b15f59120879c7e1b9f8f8
[ "MIT" ]
null
null
null
sugaroid/version.py
blackxspade/sugaroid
64e2031c1b432e6647b15f59120879c7e1b9f8f8
[ "MIT" ]
null
null
null
sugaroid/version.py
blackxspade/sugaroid
64e2031c1b432e6647b15f59120879c7e1b9f8f8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 VERSION = "v0.22.0"
14.333333
22
0.651163
8
43
3.5
1
0
0
0
0
0
0
0
0
0
0
0.131579
0.116279
43
2
23
21.5
0.605263
0.488372
0
0
0
0
0.333333
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
893d5a4482f292937557682d8715ef74cab055df
563
py
Python
Python/easy/e395.py
tlgs/dailyprogrammer
6e7d3352616fa54a8e9caf8564a9cfb951eb0af9
[ "Unlicense" ]
4
2017-10-18T02:17:02.000Z
2022-02-02T01:19:02.000Z
Python/easy/e395.py
tlseabra/dailyprogrammer
6e7d3352616fa54a8e9caf8564a9cfb951eb0af9
[ "Unlicense" ]
4
2016-01-24T20:30:02.000Z
2017-01-18T16:01:23.000Z
Python/easy/e395.py
tlgs/dailyprogrammer
6e7d3352616fa54a8e9caf8564a9cfb951eb0af9
[ "Unlicense" ]
null
null
null
# 22/06/2021 import itertools def nonogramrow(seq): return [sum(g) for k, g in itertools.groupby(seq) if k] assert nonogramrow([]) == [] assert nonogramrow([0, 0, 0, 0, 0]) == [] assert nonogramrow([1, 1, 1, 1, 1]) == [5] assert nonogramrow([0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1]) == [5, 4] assert nonogramrow([1, 1, ...
22.52
72
0.488455
111
563
2.477477
0.207207
0.181818
0.185455
0.16
0.407273
0.298182
0.083636
0.083636
0.054545
0.054545
0
0.206311
0.268206
563
24
73
23.458333
0.461165
0.017762
0
0.421053
0
0
0
0
0
0
0
0
0.368421
1
0.052632
false
0
0.052632
0.052632
0.157895
0
0
0
0
null
0
1
0
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
8956a32ea669342323a0da4e15ade20f0c7f1b66
91
py
Python
src/coreapis/apps.py
salemzii/ChopFast
95ea88387ecfdb56bd643970b69425b1a1c6f388
[ "MIT" ]
null
null
null
src/coreapis/apps.py
salemzii/ChopFast
95ea88387ecfdb56bd643970b69425b1a1c6f388
[ "MIT" ]
null
null
null
src/coreapis/apps.py
salemzii/ChopFast
95ea88387ecfdb56bd643970b69425b1a1c6f388
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CoreapisConfig(AppConfig): name = 'coreapis'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
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
895976c032c7db9f729336aff5e0279c9a266299
274
py
Python
project/opendata/parse.py
FelippeJC/besa
083e62457c9c9beccc869beb89675720be0d248a
[ "MIT" ]
null
null
null
project/opendata/parse.py
FelippeJC/besa
083e62457c9c9beccc869beb89675720be0d248a
[ "MIT" ]
2
2021-05-10T16:40:12.000Z
2021-09-05T09:26:07.000Z
project/opendata/parse.py
FelippeJC/besa
083e62457c9c9beccc869beb89675720be0d248a
[ "MIT" ]
null
null
null
from .request import datastore_search def get_data_from_datastore(expression): """Returns a list of records found in a datastore search""" response = datastore_search(expression) result = response.get("result", dict()) return result.get("records", dict())
30.444444
63
0.729927
35
274
5.571429
0.571429
0.230769
0
0
0
0
0
0
0
0
0
0
0.160584
274
8
64
34.25
0.847826
0.193431
0
0
0
0
0.060465
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
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
1
0
0
3
89933c1df7105a66426ac059f6d21de37d3ae93b
291,404
py
Python
tests/examples/minlplib/robot200.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/robot200.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/robot200.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# NLP written by GAMS Convert at 04/21/18 13:54:04 # # Equation counts # Total E G L N X C B # 1603 1603 0 0 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
53.537387
102
0.688542
52,867
291,404
3.79526
0.081128
0.099221
0.154343
0.22049
0.757381
0.677857
0.591774
0.50007
0.461195
0.380664
0
0.304562
0.087566
291,404
5,442
103
53.547225
0.45006
0.002327
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.000262
0
0.000262
0
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
89bed3c6f4358ea5beffd07b449a6c39b7b53e4d
392
py
Python
test_calculations.py
joshmgrant/pybay-pytest-the-awesome-parts-code
4b9fccb8b561e5745c2498fb4360c40a5944694c
[ "Unlicense" ]
null
null
null
test_calculations.py
joshmgrant/pybay-pytest-the-awesome-parts-code
4b9fccb8b561e5745c2498fb4360c40a5944694c
[ "Unlicense" ]
null
null
null
test_calculations.py
joshmgrant/pybay-pytest-the-awesome-parts-code
4b9fccb8b561e5745c2498fb4360c40a5944694c
[ "Unlicense" ]
null
null
null
from calculations import TemperatureConverter def testfreezing_fahrenheit(): converter = TemperatureConverter() actual = converter.to_celsius(32.0) expected = 0.0 assert abs(expected - actual) < 0.01 def test_freezing_celsius(): converter = TemperatureConverter() actual = converter.to_fahr...
20.631579
45
0.714286
44
392
6.25
0.431818
0.210909
0.254545
0.32
0.530909
0.196364
0.196364
0
0
0
0
0.047619
0.196429
392
18
46
21.777778
0.825397
0
0
0.363636
0
0
0
0
0
0
0
0
0.181818
1
0.181818
false
0
0.090909
0
0.272727
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
982874d77b210ce496dff9011612aad7e92e965a
215
py
Python
vnpy/pricing/crrCython/setup.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
5
2019-01-17T12:14:14.000Z
2021-05-30T10:24:42.000Z
vnpy/pricing/crrCython/setup.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
1
2018-06-12T10:08:24.000Z
2018-06-12T10:08:24.000Z
vnpy/pricing/crrCython/setup.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
5
2019-03-26T03:17:45.000Z
2019-11-05T08:08:18.000Z
# encoding: UTF-8 from distutils.core import setup from Cython.Build import cythonize import numpy setup( name = 'crrCython', ext_modules = cythonize("crrCython.pyx"), include_dirs = [numpy.get_include()] )
17.916667
43
0.739535
28
215
5.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0.005464
0.148837
215
11
44
19.545455
0.846995
0.069767
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
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
984978327bec13adb800652d36ac141bd0b2ae02
249
py
Python
mask_detection/api/serializers.py
vinaykudari/MaskDetectionAPI
ab0c974614984b34cbb98d4d3ea247d8a9d70a14
[ "MIT" ]
1
2022-03-15T10:11:04.000Z
2022-03-15T10:11:04.000Z
mask_detection/api/serializers.py
vinaykudari/MaskDetectionAPI
ab0c974614984b34cbb98d4d3ea247d8a9d70a14
[ "MIT" ]
5
2021-04-08T21:32:19.000Z
2022-03-12T00:43:06.000Z
mask_detection/api/serializers.py
vinaykudari/mask-detection-api
ab0c974614984b34cbb98d4d3ea247d8a9d70a14
[ "MIT" ]
1
2021-03-08T07:57:17.000Z
2021-03-08T07:57:17.000Z
import PIL from rest_framework import serializers from rest_framework.exceptions import ParseError from .models import Image class ImageSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Image fields = ('pk', 'image', )
20.75
62
0.795181
28
249
7
0.607143
0.081633
0.173469
0
0
0
0
0
0
0
0
0
0.136546
249
11
63
22.636364
0.911628
0
0
0
0
0
0.028112
0
0
0
0
0
0
1
0
false
0
0.5
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
0
1
0
1
0
0
3
985927c5dcddc08c61effceeb19e8c46ce9d7c79
1,648
py
Python
tests/test_order.py
mikedh/lobby
d8449bd2a0dbeafc7d7689b37e9d3ca65eed89e4
[ "MIT" ]
1
2020-12-09T01:16:01.000Z
2020-12-09T01:16:01.000Z
tests/test_order.py
ncantrell/lobby
d8449bd2a0dbeafc7d7689b37e9d3ca65eed89e4
[ "MIT" ]
null
null
null
tests/test_order.py
ncantrell/lobby
d8449bd2a0dbeafc7d7689b37e9d3ca65eed89e4
[ "MIT" ]
1
2020-10-24T23:53:58.000Z
2020-10-24T23:53:58.000Z
import lobby def test_book(): # Create a LOB object lob = lobby.OrderBook() ########### Limit Orders ############# # Create some limit orders someOrders = [{'type': 'limit', 'side': 'ask', 'qty': 5, 'price': 101, 'tid': 1...
28.912281
61
0.283981
119
1,648
3.84874
0.344538
0.157205
0.227074
0.139738
0.550218
0.497817
0.497817
0.334061
0.334061
0
0
0.071429
0.558252
1,648
56
62
29.428571
0.557692
0.046117
0
0.75
0
0
0.145078
0
0
0
0
0
0
1
0.020833
false
0
0.020833
0
0.041667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
985e9fbe858937265cb958daa577a1fdbc91ad59
1,193
py
Python
driloader/config/config_base.py
lucasmello/Driloader
09790187eee7550e9fc93eb3479124a63d225e85
[ "MIT" ]
4
2017-07-16T20:48:45.000Z
2017-10-05T21:45:24.000Z
driloader/config/config_base.py
lucasmello/Driloader
09790187eee7550e9fc93eb3479124a63d225e85
[ "MIT" ]
16
2017-05-31T17:08:43.000Z
2021-04-19T17:34:31.000Z
driloader/config/config_base.py
lucasmello/Driloader
09790187eee7550e9fc93eb3479124a63d225e85
[ "MIT" ]
null
null
null
""" Responsible to return the abstract browser configs. """ from abc import ABC, abstractmethod class BrowserConfigBase(ABC): """ Holds abstract methods to be implemented in Browser Config classes. """ @abstractmethod def base_url(self): """ Return base_url. """ ra...
21.690909
72
0.606035
110
1,193
6.390909
0.427273
0.145092
0.27027
0.291607
0.187767
0
0
0
0
0
0
0
0.312657
1,193
54
73
22.092593
0.857317
0.302598
0
0.6
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.05
0
0.4
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
98a6da5934125aa84cc4de8ab3349dd673edbfc9
530
py
Python
leap/leap_test.py
shozi91/xpython
f3eccb61910f9950a98c5524efcfd8784fbc4289
[ "MIT" ]
null
null
null
leap/leap_test.py
shozi91/xpython
f3eccb61910f9950a98c5524efcfd8784fbc4289
[ "MIT" ]
null
null
null
leap/leap_test.py
shozi91/xpython
f3eccb61910f9950a98c5524efcfd8784fbc4289
[ "MIT" ]
1
2020-06-10T23:33:20.000Z
2020-06-10T23:33:20.000Z
import unittest from year import is_leap_year class YearTest(unittest.TestCase): def test_leap_year(self): self.assertTrue(is_leap_year(1996)) def test_non_leap_year(self): self.assertFalse(is_leap_year(1997)) def test_non_leap_even_year(self): self.assertFalse(is_leap_year(1998...
22.083333
44
0.713208
74
530
4.675676
0.351351
0.184971
0.17341
0.182081
0.436416
0.436416
0.190751
0
0
0
0
0.046512
0.188679
530
23
45
23.043478
0.75814
0
0
0
0
0
0.015094
0
0
0
0
0
0.333333
1
0.333333
false
0
0.133333
0
0.533333
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
0
1
0
0
3
7f265c229148e280301571ddc10324f031f42de0
17,311
py
Python
tests/apitests/python/test_tag_immutability.py
tedgxt/harbor
039733b200cc44ba23829499eb6cc71c63d3b9e6
[ "Apache-2.0" ]
1
2019-06-19T14:07:38.000Z
2019-06-19T14:07:38.000Z
tests/apitests/python/test_tag_immutability.py
tedgxt/harbor
039733b200cc44ba23829499eb6cc71c63d3b9e6
[ "Apache-2.0" ]
null
null
null
tests/apitests/python/test_tag_immutability.py
tedgxt/harbor
039733b200cc44ba23829499eb6cc71c63d3b9e6
[ "Apache-2.0" ]
1
2019-07-11T02:36:30.000Z
2019-07-11T02:36:30.000Z
from __future__ import absolute_import import unittest import sys from testutils import ADMIN_CLIENT from testutils import harbor_server from library.project import Project from library.user import User from library.repository import Repository from library.repository import push_image_to_project from li...
57.511628
249
0.667841
2,431
17,311
4.51378
0.071164
0.064522
0.044655
0.025973
0.786203
0.728515
0.695981
0.677299
0.646587
0.623348
0
0.017347
0.224077
17,311
300
250
57.703333
0.799583
0.234302
0
0.302158
0
0
0.112885
0.027553
0
0
0
0
0.071942
1
0.071942
false
0.093525
0.093525
0
0.179856
0.079137
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
0
0
1
0
0
0
0
0
3
7f2882efd53bcebd87c22f2c0fd81888ec5db7e6
734
py
Python
Python/Basic Data Types/Lists.py
justchilll/HackerRank
948e5783007b0918b25bcef452a12c4dddb36fa6
[ "MIT" ]
1
2021-12-28T15:45:25.000Z
2021-12-28T15:45:25.000Z
Python/Basic Data Types/Lists.py
justchilll/HackerRank
948e5783007b0918b25bcef452a12c4dddb36fa6
[ "MIT" ]
null
null
null
Python/Basic Data Types/Lists.py
justchilll/HackerRank
948e5783007b0918b25bcef452a12c4dddb36fa6
[ "MIT" ]
null
null
null
if __name__ == '__main__': N = int(input()) main_list=[] for iterate in range(N): entered_string=input().split() if entered_string[0] == 'insert': main_list.insert(int(entered_string[1]),int(entered_string[2])) elif entered_string[0] == 'print': print(main_lis...
36.7
75
0.569482
89
734
4.382022
0.280899
0.4
0.251282
0.276923
0.179487
0.179487
0.179487
0.179487
0
0
0
0.020913
0.283379
734
19
76
38.631579
0.720532
0
0
0
0
0
0.061308
0
0
0
0
0
0
1
0
false
0
0
0
0
0.105263
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
7f303b0c11d6702e4f41fb8d7ecc0a87c19ce301
713
py
Python
app/views/info/info_routes.py
tjdaley/publicdataws
1aa4a98cf47fae10cc0f59a8d01168df806b4919
[ "MIT" ]
null
null
null
app/views/info/info_routes.py
tjdaley/publicdataws
1aa4a98cf47fae10cc0f59a8d01168df806b4919
[ "MIT" ]
null
null
null
app/views/info/info_routes.py
tjdaley/publicdataws
1aa4a98cf47fae10cc0f59a8d01168df806b4919
[ "MIT" ]
null
null
null
""" info_routes.py - Handle the routes for basic information pages. This module provides the views for the following routes: /about /privacy /terms_and_conditions Copyright (c) 2019 by Thomas J. Daley. All Rights Reserved. """ from flask import Blueprint, render_template info_routes = Blueprint("info_routes", __na...
23
77
0.751753
94
713
5.457447
0.468085
0.116959
0.140351
0.074074
0
0
0
0
0
0
0
0.006359
0.117812
713
30
78
23.766667
0.809221
0.309958
0
0
0
0
0.231405
0.095041
0
0
0
0
0
1
0.272727
false
0
0.090909
0.272727
0.636364
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7f4010676a7aac9aa896fa49d6f12bbf2ad6307d
21
py
Python
src/models/items/constants.py
MDRCS/deals-catcher
0c2e344e402917cc284fbeb4d83c2829a08595aa
[ "MIT" ]
null
null
null
src/models/items/constants.py
MDRCS/deals-catcher
0c2e344e402917cc284fbeb4d83c2829a08595aa
[ "MIT" ]
null
null
null
src/models/items/constants.py
MDRCS/deals-catcher
0c2e344e402917cc284fbeb4d83c2829a08595aa
[ "MIT" ]
null
null
null
Collection = "items"
10.5
20
0.714286
2
21
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.833333
0
0
0
0
0
0.238095
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
7f57d7df7fd0834188bfe8a6c66e64ecd0ee8e3e
565
py
Python
examples/example_interactive_prefix/main.py
David-Lor/Python-DotEnv-Settings-Handler
ca234914a93f94f59a8a37e65ff9010ffc9c4e99
[ "Apache-2.0" ]
6
2019-06-30T14:49:28.000Z
2020-03-10T19:56:30.000Z
examples/example_interactive_prefix/main.py
David-Lor/Python-DotEnv-Settings-Handler
ca234914a93f94f59a8a37e65ff9010ffc9c4e99
[ "Apache-2.0" ]
null
null
null
examples/example_interactive_prefix/main.py
David-Lor/Python-DotEnv-Settings-Handler
ca234914a93f94f59a8a37e65ff9010ffc9c4e99
[ "Apache-2.0" ]
null
null
null
"""This example read the settings and print them out, so you can check how they get loaded. """ # noinspection PyUnresolvedReferences,PyPackageRequirements from settings import my_settings as settings print("Redis Host:", settings.redis_host) print("Redis Port:", settings.redis_port) print("Redis Port / 2:", settings...
40.357143
91
0.753982
85
565
4.917647
0.411765
0.086124
0.066986
0.062201
0.157895
0.157895
0.157895
0.157895
0.157895
0.157895
0
0.008147
0.130973
565
13
92
43.461538
0.843177
0.352212
0
0
0
0
0.229692
0
0
0
0
0
0
1
0
true
0.125
0.125
0
0.125
0.875
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
7f74c0fc275d974a627baa79ccbe3262645f2513
2,195
py
Python
components/studio/projects/migrations/0015_auto_20210301_1015.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
25
2020-05-08T22:24:54.000Z
2022-03-11T18:16:58.000Z
components/studio/projects/migrations/0015_auto_20210301_1015.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
75
2020-05-08T22:15:59.000Z
2021-11-22T10:00:04.000Z
components/studio/projects/migrations/0015_auto_20210301_1015.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
12
2020-11-04T13:09:46.000Z
2022-03-14T16:22:40.000Z
# Generated by Django 3.1.6 on 2021-03-01 10:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('projects', '0014_environment_appenv'), ] operations = [ migrations.RemoveField( model_name='fla...
30.486111
115
0.541686
213
2,195
5.474178
0.253521
0.092624
0.154374
0.19554
0.755575
0.747856
0.64494
0.5
0.385935
0.288165
0
0.025068
0.327563
2,195
71
116
30.915493
0.764905
0.020501
0
0.615385
1
0
0.105214
0.010708
0
0
0
0
0
1
0
false
0
0.030769
0
0.076923
0
0
0
0
null
0
0
1
0
1
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
7f76ceea26c08de27da1840f0d593d7e2ff3c37f
298
py
Python
app/models/db.py
cdlaimin/fastapi
4acf1a1da4a1eedd81a3bdf6256661c2464928b9
[ "BSD-3-Clause" ]
null
null
null
app/models/db.py
cdlaimin/fastapi
4acf1a1da4a1eedd81a3bdf6256661c2464928b9
[ "BSD-3-Clause" ]
null
null
null
app/models/db.py
cdlaimin/fastapi
4acf1a1da4a1eedd81a3bdf6256661c2464928b9
[ "BSD-3-Clause" ]
null
null
null
from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession from sqlalchemy.orm import sessionmaker from app.core.config import settings engine = create_async_engine(settings.ASYNC_SQLALCHEMY_DATABASE_URI) SessionLocal = sessionmaker(engine, class_=AsyncSession, expire_on_commit=False)
37.25
80
0.865772
38
298
6.526316
0.605263
0.112903
0.137097
0
0
0
0
0
0
0
0
0
0.077181
298
7
81
42.571429
0.901818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
0
0
1
0
1
0
0
3
7f774ce1cb63f287b074535083076da2eb2886d4
37
py
Python
src/globals.py
22PoojaGaur/COMINE-Plusplus-Algorithm-for-Finding-Correlated-Patterns-from-Transactions
3b554ab337765f8c02126c585dd025d71c539f73
[ "MIT" ]
null
null
null
src/globals.py
22PoojaGaur/COMINE-Plusplus-Algorithm-for-Finding-Correlated-Patterns-from-Transactions
3b554ab337765f8c02126c585dd025d71c539f73
[ "MIT" ]
6
2020-10-03T19:47:08.000Z
2021-04-23T10:55:19.000Z
src/globals.py
22PoojaGaur/COMINE-Plusplus-Algorithm-for-Finding-Correlated-Patterns-from-Transactions
3b554ab337765f8c02126c585dd025d71c539f73
[ "MIT" ]
null
null
null
MIN_SUPPORT = 2 MIN_ALL_CONF = 0.05
9.25
19
0.72973
8
37
3
0.875
0
0
0
0
0
0
0
0
0
0
0.133333
0.189189
37
3
20
12.333333
0.666667
0
0
0
0
0
0
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
7f8dc67d585101b5b8e1bb738d00fbeb7fa08007
452
py
Python
Capitulo_02/exercise2_6.py
thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python
841aa855a7450ad3d0ba65393ba0b6debcd6a770
[ "MIT" ]
null
null
null
Capitulo_02/exercise2_6.py
thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python
841aa855a7450ad3d0ba65393ba0b6debcd6a770
[ "MIT" ]
null
null
null
Capitulo_02/exercise2_6.py
thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python
841aa855a7450ad3d0ba65393ba0b6debcd6a770
[ "MIT" ]
null
null
null
""" 2.6 – Citação famosa 2: Repita o Exercício 2.5, porém, desta vez, armazene o nome da pessoa famosa em uma variável chamada famous_person. Em seguida, componha sua mensagem e armazene-a em uma nova variável chamada message. Exiba sua mensagem. """ famous_person = "René Descartes" message = "As paixões são todas boa...
56.5
242
0.761062
77
452
4.441558
0.714286
0.105263
0
0
0
0
0
0
0
0
0
0.013228
0.163717
452
8
243
56.5
0.888889
0.535398
0
0
0
0.333333
0.773399
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f92bdbd76e88952ccd41f7b4bb7059cb29661bf
360
py
Python
ravel/utils/data.py
eykd/ravel
bcd4a748c74acd39f09f4eab6a8cb65660e857b5
[ "MIT" ]
1
2020-05-16T12:27:44.000Z
2020-05-16T12:27:44.000Z
ravel/utils/data.py
eykd/ravel
bcd4a748c74acd39f09f4eab6a8cb65660e857b5
[ "MIT" ]
null
null
null
ravel/utils/data.py
eykd/ravel
bcd4a748c74acd39f09f4eab6a8cb65660e857b5
[ "MIT" ]
null
null
null
def merge_dicts(*dicts): """ Given any number of dicts, shallow copy and merge into a new dict, precedence goes to key value pairs in latter dicts. """ result = {} for d in dicts: result.update(d) return result def evaluate_term(term, **kwargs): return term.evaluate(**kwargs)...
22.5
73
0.65
51
360
4.54902
0.647059
0.094828
0
0
0
0
0
0
0
0
0
0
0.25
360
15
74
24
0.859259
0.327778
0
0
0
0
0.036364
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
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
7f9b2596a347b694b0723898dcd1d3a1c8ef87bd
380
py
Python
architectures/utils.py
eddardd/torchDA
f53e3a8d5add454a7a2601fb4642da5c89608018
[ "MIT" ]
null
null
null
architectures/utils.py
eddardd/torchDA
f53e3a8d5add454a7a2601fb4642da5c89608018
[ "MIT" ]
null
null
null
architectures/utils.py
eddardd/torchDA
f53e3a8d5add454a7a2601fb4642da5c89608018
[ "MIT" ]
null
null
null
import torch class GradReverse(torch.autograd.Function): @staticmethod def forward(ctx, x): return x.view_as(x) @staticmethod def backward(ctx, grad_output): return - grad_output class LambdaLayer(torch.nn.Module): def __init__(self, fn): super().__init__() self....
19
43
0.626316
48
380
4.729167
0.5
0.079295
0.088106
0
0
0
0
0
0
0
0
0
0.263158
380
20
44
19
0.810714
0
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.214286
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7fa0b2e0b6ffafed2c4103aacf903f5f57d207fd
108
py
Python
core/urls.py
pouya007RN/Voice-Changer
829e5a9ed6332b692d3f9f73b36c2d773f44182b
[ "MIT" ]
null
null
null
core/urls.py
pouya007RN/Voice-Changer
829e5a9ed6332b692d3f9f73b36c2d773f44182b
[ "MIT" ]
null
null
null
core/urls.py
pouya007RN/Voice-Changer
829e5a9ed6332b692d3f9f73b36c2d773f44182b
[ "MIT" ]
null
null
null
from .views import index from django.urls import path urlpatterns = [ path('', index, name='index'), ]
15.428571
34
0.675926
14
108
5.214286
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.185185
108
7
35
15.428571
0.829545
0
0
0
0
0
0.045872
0
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
7fa380f39d2046691cd5b2cd72080ca55bc6fd09
295
py
Python
attic/operator/dispatch.py
matteoshen/example-code
b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3
[ "MIT" ]
5,651
2015-01-06T21:58:46.000Z
2022-03-31T13:39:07.000Z
attic/operator/dispatch.py
matteoshen/example-code
b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3
[ "MIT" ]
42
2016-12-11T19:17:11.000Z
2021-11-23T19:41:16.000Z
attic/operator/dispatch.py
matteoshen/example-code
b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3
[ "MIT" ]
2,394
2015-01-18T10:57:38.000Z
2022-03-31T11:41:12.000Z
""" Experiments with infix operator dispatch >>> kadd = KnowsAdd() >>> kadd + 1 (<KnowsAdd object>, 1) >>> kadd * 1 """ class KnowsAdd: def __add__(self, other): return self, other def __repr__(self): return '<{} object>'.format(type(self).__name__)
16.388889
56
0.572881
32
295
4.90625
0.59375
0.063694
0
0
0
0
0
0
0
0
0
0.013953
0.271186
295
17
57
17.352941
0.716279
0.433898
0
0
0
0
0.070064
0
0
0
0
0
0
1
0.4
false
0
0
0.4
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
7fb5da94eb1a0567d0a8b0b1f7117ea8c8244199
77
py
Python
p001.py
scottwillmoore/project-euler
e8b24a72d88fc30e8ab701e2f56622c363600ea4
[ "MIT" ]
1
2018-07-09T09:19:58.000Z
2018-07-09T09:19:58.000Z
p001.py
scottwillmoore/project-euler
e8b24a72d88fc30e8ab701e2f56622c363600ea4
[ "MIT" ]
null
null
null
p001.py
scottwillmoore/project-euler
e8b24a72d88fc30e8ab701e2f56622c363600ea4
[ "MIT" ]
null
null
null
c = lambda n: n % 3 == 0 or n % 5 == 0 print(sum(filter(c, range(0, 1000))))
25.666667
38
0.532468
17
77
2.411765
0.705882
0
0
0
0
0
0
0
0
0
0
0.152542
0.233766
77
2
39
38.5
0.542373
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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