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
320f12ab86bda006032ebb1d2d905632503cf322
3,360
py
Python
cs15211/MajorityElement.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/MajorityElement.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/MajorityElement.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/majority-element/' # https://github.com/kamyu104/LeetCode/blob/master/Python/majority-element.py # Time: O(n) # Space: O(1) # # Description: Leetcode # 169. Majority Element # # Given an array of size n, find the majority element. # The majority element is the element that a...
24.347826
96
0.507738
404
3,360
4.190594
0.311881
0.07088
0.056113
0.064973
0.236858
0.227407
0.181335
0.118724
0.062611
0.062611
0
0.038372
0.363988
3,360
137
97
24.525547
0.753861
0.160417
0
0.257143
0
0
0.769313
0.06867
0
0
0
0
0.009524
0
null
null
0
0.009524
null
null
0.019048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
321e85edacc121735ab053bcc8ba4d291a252957
2,505
py
Python
IRIS_data_download/IRIS_download_support/obspy/io/y/tests/test_core.py
earthinversion/Fnet_IRIS_data_automated_download
09a6e0c992662feac95744935e038d1c68539fa1
[ "MIT" ]
2
2020-03-05T01:03:01.000Z
2020-12-17T05:04:07.000Z
IRIS_data_download/IRIS_download_support/obspy/io/y/tests/test_core.py
earthinversion/Fnet_IRIS_data_automated_download
09a6e0c992662feac95744935e038d1c68539fa1
[ "MIT" ]
4
2021-03-31T19:25:55.000Z
2021-12-13T20:32:46.000Z
IRIS_data_download/IRIS_download_support/obspy/io/y/tests/test_core.py
earthinversion/Fnet_IRIS_data_automated_download
09a6e0c992662feac95744935e038d1c68539fa1
[ "MIT" ]
2
2020-09-08T19:33:40.000Z
2021-04-05T09:47:50.000Z
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from future.builtins import * # NOQA import os import unittest import warnings from obspy.io.y.core import _is_y, _read_y class CoreTestCase(unittest.TestCase): """ Nanometri...
33.4
78
0.621557
314
2,505
4.767516
0.347134
0.200401
0.11356
0.146961
0.467602
0.350033
0.232465
0.180361
0.144289
0.144289
0
0.035088
0.249102
2,505
74
79
33.851351
0.760766
0.088623
0
0.204082
0
0
0.075592
0.041894
0
0
0
0
0.428571
1
0.102041
false
0
0.122449
0.020408
0.265306
0.020408
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
1
0
0
0
0
0
0
0
0
0
2
321f7027c4b3e142783807c61cd763b71e69de66
456
py
Python
nick_derobertis_site/software_page/config/page.py
nickderobertis/nick-derobertis-site
386061dc258921eed41f2d3965ef69e02adde7ba
[ "MIT" ]
1
2022-03-31T10:55:40.000Z
2022-03-31T10:55:40.000Z
nick_derobertis_site/software_page/config/page.py
nickderobertis/nick-derobertis-site
386061dc258921eed41f2d3965ef69e02adde7ba
[ "MIT" ]
8
2020-08-28T11:44:37.000Z
2020-08-31T09:19:19.000Z
nick_derobertis_site/software_page/config/page.py
nickderobertis/nick-derobertis-site
386061dc258921eed41f2d3965ef69e02adde7ba
[ "MIT" ]
null
null
null
from nick_derobertis_site.software_page.config.banner import SOFTWARE_BANNER_MODEL from nick_derobertis_site.software_page.config.card import SOFTWARE_CARD_MODELS from nick_derobertis_site.software_page.software_page_model import SoftwarePageModel SOFTWARE_PAGE_MODEL = SoftwarePageModel( page_title="Nick DeRoberti...
45.6
84
0.859649
60
456
6.1
0.3
0.196721
0.147541
0.180328
0.311475
0.311475
0.218579
0
0
0
0
0
0.085526
456
10
85
45.6
0.877698
0
0
0
0
0
0.098468
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
2
5c5e444508c1d5dbd6e723bb097fe9dacfc02998
1,434
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/TransactionStatus.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/TransactionStatus.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/TransactionStatus.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class TransactionStatus(Enum, IComparable, IFormattable, IConvertible): """ An enumerated type listing the possible statuses associated with a Transaction,TransactionGroup,or SubTransaction, or the result of a particular method call on one of those objects. enum TransactionStatus,values: Committe...
27.056604
221
0.600418
164
1,434
4.670732
0.432927
0.104439
0.109661
0.117493
0.168407
0.168407
0.168407
0.14752
0.14752
0.14752
0
0.006757
0.277545
1,434
52
222
27.576923
0.732625
0.446304
0
0.344828
0
0
0
0
0
0
0
0
0
1
0.344828
false
0.344828
0
0
0.655172
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
0
0
0
2
5c7477f36dcee6cdfe5a742028ac33aba04df8c0
255
py
Python
scripts/env/script/python_console.py
ZhuoZhuoCrayon/djangocli
c5b40c46922b70d066141c65c60bf19c809f3197
[ "MIT" ]
5
2021-03-08T02:39:02.000Z
2021-09-10T03:40:29.000Z
scripts/env/script/python_console.py
ZhuoZhuoCrayon/djangocli
c5b40c46922b70d066141c65c60bf19c809f3197
[ "MIT" ]
80
2021-03-05T15:17:37.000Z
2021-11-15T01:46:59.000Z
scripts/env/script/python_console.py
ZhuoZhuoCrayon/djangocli
c5b40c46922b70d066141c65c60bf19c809f3197
[ "MIT" ]
1
2021-09-10T03:49:40.000Z
2021-09-10T03:49:40.000Z
# -*- coding: utf-8 -*- import sys import dotenv # 打印系统信息 print("Python %s on %s" % (sys.version, sys.platform)) sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS]) # 导入环境变量 dotenv.load_dotenv(dotenv_path=PROJECT_ROOT + "scripts/deploy/local/environ.sh")
19.615385
80
0.733333
38
255
4.736842
0.736842
0
0
0
0
0
0
0
0
0
0
0.004405
0.109804
255
12
81
21.25
0.788546
0.137255
0
0
0
0
0.212963
0.143519
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0.2
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
0
0
0
2
5c7feab221c96db63d98f5d88bb5ba774ac8981e
3,414
py
Python
amshared/pipe.py
avidclam/amshared
fc605639409f3ea2b0efb2c0b45ad03969115bb6
[ "MIT" ]
null
null
null
amshared/pipe.py
avidclam/amshared
fc605639409f3ea2b0efb2c0b45ad03969115bb6
[ "MIT" ]
null
null
null
amshared/pipe.py
avidclam/amshared
fc605639409f3ea2b0efb2c0b45ad03969115bb6
[ "MIT" ]
null
null
null
""" Pipe is a quick-and-dirty implementation of sequential functions invocation. Functions should be designed the way that a result returned by preceding function (pipe argument) could be used as the first argument to the next function, and so on. """ def run(*args, initial=None): """Creates and runs the pipe c...
23.708333
80
0.641183
469
3,414
4.663113
0.245203
0.065844
0.051212
0.032007
0.510745
0.465935
0.444902
0.393233
0.365798
0.342936
0
0
0.287639
3,414
143
81
23.874126
0.89926
0.710018
0
0.482759
0
0
0
0
0
0
0
0
0
1
0.344828
false
0
0
0
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5c8d6b05589431afdb44c561968ad8afd76daf0c
3,365
py
Python
lib/JumpScale/baselib/vcs/vcsfactory.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
1
2015-10-26T10:38:13.000Z
2015-10-26T10:38:13.000Z
lib/JumpScale/baselib/vcs/vcsfactory.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
lib/JumpScale/baselib/vcs/vcsfactory.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
from JumpScale import j BASEURLS = {'github': 'github.com', 'bitbucket': 'bitbucket.org'} class VCSConfig(object): def __init__(self, provider, account): self._account = account self._provider = provider self._ini = j.config.getInifile(provider) def _getConfig(self, key, p...
30.044643
98
0.58841
375
3,365
5.2
0.264
0.012308
0.012308
0.008205
0.244615
0.233846
0.194872
0.194872
0.158974
0.158974
0
0
0.290342
3,365
111
99
30.315315
0.816583
0.031798
0
0.341176
0
0
0.056294
0
0
0
0
0
0
1
0.235294
false
0.117647
0.035294
0.023529
0.388235
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
0
0
0
2
5c9442c10bb96001521c2caf5ee91fdcca995f9d
35,725
py
Python
pysnmp-with-texts/SNMP553S-MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/SNMP553S-MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/SNMP553S-MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module SNMP553S-MGMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SNMP553S-MGMT-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:08:38 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
169.312796
3,925
0.789475
4,356
35,725
6.474747
0.129706
0.048504
0.084882
0.011346
0.45139
0.33942
0.2745
0.244469
0.222805
0.213303
0
0.090445
0.10063
35,725
210
3,926
170.119048
0.787364
0.009181
0
0
0
0.128079
0.365632
0.010851
0
0
0
0
0
1
0
false
0.004926
0.039409
0
0.039409
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5ca5b710e576de9630f78f2e41bbd7b1030e61bd
327
py
Python
tests/test_tweet.py
dashtagger/sentiment_analysis_covid
b1e948ad83d573b2fa82be778ed04f989f062de5
[ "MIT" ]
null
null
null
tests/test_tweet.py
dashtagger/sentiment_analysis_covid
b1e948ad83d573b2fa82be778ed04f989f062de5
[ "MIT" ]
null
null
null
tests/test_tweet.py
dashtagger/sentiment_analysis_covid
b1e948ad83d573b2fa82be778ed04f989f062de5
[ "MIT" ]
null
null
null
import os import pytest from src.modules.tweet_module import Twitter_api class TestTweet: def test_tokens(self): with pytest.raises(ValueError) as e: api = Twitter_api() err_msg = 'Provide the correct tokens and keys' assert e.match(err_msg), 'All credentials are given and acc...
25.153846
73
0.69419
46
327
4.804348
0.76087
0.090498
0
0
0
0
0
0
0
0
0
0
0.238532
327
12
74
27.25
0.88755
0
0
0
0
0
0.223242
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5cabf0aecc3c712f0928ee78a802672a8b445c83
657
py
Python
src/gameslib/app.py
inigoini/GamesLib
c2476c1872acc610a559707cccab2d2eac3f15cd
[ "MIT" ]
null
null
null
src/gameslib/app.py
inigoini/GamesLib
c2476c1872acc610a559707cccab2d2eac3f15cd
[ "MIT" ]
null
null
null
src/gameslib/app.py
inigoini/GamesLib
c2476c1872acc610a559707cccab2d2eac3f15cd
[ "MIT" ]
null
null
null
import pygame, gameslib class App(): def __init__(self, size: gameslib.Size = (600, 300), title: str = 'GamesLib'): self._screen = pygame.display.set_mode(size) self._scene = None pygame.display.set_caption(title) @property def screen(self) -> pygame.Surface: return self._screen @property...
19.909091
80
0.663623
89
657
4.719101
0.348315
0.171429
0.07619
0.061905
0.138095
0.138095
0.138095
0.138095
0
0
0
0.011628
0.214612
657
32
81
20.53125
0.802326
0
0
0.227273
0
0
0.0128
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0.136364
0.454545
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
0
0
0
2
5cb446a4e4e2baeadec21e9cc78c16dd22923e50
2,905
py
Python
utest/controller/test_rename_keywords.py
hoteltianya/RIDE
dcdccfec631517743d24c8e31fc6687fd29338a0
[ "ECL-2.0", "Apache-2.0" ]
1
2020-04-11T12:55:29.000Z
2020-04-11T12:55:29.000Z
utest/controller/test_rename_keywords.py
hoteltianya/RIDE
dcdccfec631517743d24c8e31fc6687fd29338a0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
utest/controller/test_rename_keywords.py
hoteltianya/RIDE
dcdccfec631517743d24c8e31fc6687fd29338a0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import unittest from robotide.controller.commands import * from nose.tools import assert_true, assert_false, assert_equals from base_command_test import TestCaseCommandTest class TestRenameKeywords(TestCaseCommandTest): def test_test_is_gerkin_kw(self): observer = NullObserver() myobject = Renam...
47.622951
103
0.692255
383
2,905
4.916449
0.125326
0.110462
0.096654
0.05948
0.787573
0.762613
0.655337
0.599044
0.573022
0.443972
0
0.000873
0.21136
2,905
60
104
48.416667
0.821039
0.032014
0
0.326923
0
0
0.204343
0
0
0
0
0
0.519231
1
0.038462
false
0
0.076923
0
0.134615
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
5cc027e9ce7d216791c0e4db8b4a2c118390640d
1,086
py
Python
apis/invoice-generator/utlis/utlis.py
sats268842/billie-invoice
f10a365acd4c12369466dd5c03a813bcf997c87b
[ "Apache-2.0" ]
null
null
null
apis/invoice-generator/utlis/utlis.py
sats268842/billie-invoice
f10a365acd4c12369466dd5c03a813bcf997c87b
[ "Apache-2.0" ]
null
null
null
apis/invoice-generator/utlis/utlis.py
sats268842/billie-invoice
f10a365acd4c12369466dd5c03a813bcf997c87b
[ "Apache-2.0" ]
null
null
null
# import os # from typing import List # # import aiofiles # from fastapi import UploadFile # from datetime import datetime # import shutil # # from app.model.emails import EmailRequest # # from app.utils.mail_utils import send_mail # def get_datetime(): # # return a current datetime string # return datetime.n...
31.028571
66
0.656538
148
1,086
4.614865
0.459459
0.058565
0.040996
0
0
0
0
0
0
0
0
0
0.235727
1,086
34
67
31.941176
0.822892
0.934622
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5cce94b475009bd0fb2fec116696fc64c40388d6
121
py
Python
Pacote Download/Python/OlaMundo.py
DiegoGomesFerreira/Python
bcc33f8c1c77078e8be49333c008d74c59fe0221
[ "MIT" ]
null
null
null
Pacote Download/Python/OlaMundo.py
DiegoGomesFerreira/Python
bcc33f8c1c77078e8be49333c008d74c59fe0221
[ "MIT" ]
null
null
null
Pacote Download/Python/OlaMundo.py
DiegoGomesFerreira/Python
bcc33f8c1c77078e8be49333c008d74c59fe0221
[ "MIT" ]
1
2022-03-28T17:38:52.000Z
2022-03-28T17:38:52.000Z
from tkinter import * janela = Tk() botao = Button(janela, text="Click") botao.grid(row=0, column=0) janela.mainloop()
15.125
36
0.702479
18
121
4.722222
0.777778
0
0
0
0
0
0
0
0
0
0
0.019048
0.132231
121
8
37
15.125
0.790476
0
0
0
0
0
0.040984
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
2
5cda1b0a013daae06c8aa16db5b80089deaa912f
626
py
Python
src/digi_edit/routes.py
simple-digital-edition/digital-edition-editor
89c409a20bc947f576176061f9aa96de0efe4123
[ "MIT" ]
null
null
null
src/digi_edit/routes.py
simple-digital-edition/digital-edition-editor
89c409a20bc947f576176061f9aa96de0efe4123
[ "MIT" ]
8
2021-12-17T16:35:07.000Z
2022-03-03T10:57:13.000Z
src/digi_edit/routes.py
modern-digital-edition/digital-edition-editor
fdf477ff015ceffc691d541110387ee18ee561bc
[ "MIT" ]
null
null
null
def includeme(config): config.add_static_view('static', 'static', cache_max_age=3600) config.add_route('root', '/') config.add_route('ui', '/ui*path') config.add_route('webhooks.github', '/webhooks/github', request_method='POST') config.add_route('webhooks.gitlab', '/webhooks/gitlab', request_metho...
36.823529
82
0.682109
83
626
4.951807
0.337349
0.218978
0.306569
0.145985
0.150852
0.150852
0
0
0
0
0
0.007246
0.118211
626
16
83
39.125
0.737319
0
0
0
0
0
0.354633
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5ce7f8d38fe3fa47eb76e2373cb55bdd2e43f061
4,257
py
Python
learn_python/hexlet/data_abstraction/lessons/rectangle.py
PavliukKonstantin/learn-python
3319f60dea252927deadad8a02d24617dbdc6f37
[ "MIT" ]
null
null
null
learn_python/hexlet/data_abstraction/lessons/rectangle.py
PavliukKonstantin/learn-python
3319f60dea252927deadad8a02d24617dbdc6f37
[ "MIT" ]
null
null
null
learn_python/hexlet/data_abstraction/lessons/rectangle.py
PavliukKonstantin/learn-python
3319f60dea252927deadad8a02d24617dbdc6f37
[ "MIT" ]
null
null
null
# Реализуйте абстракцию (набор функций) для работы с прямоугольниками, # стороны которого всегда параллельны осям. Прямоугольник может # располагаться в любом месте координатной плоскости. # # При такой постановке, достаточно знать только три параметра для однозначного # задания прямоугольника на плоскости: координаты ...
24.75
78
0.651633
512
4,257
5.082031
0.3125
0.075327
0.044965
0.06764
0.274404
0.223674
0.181399
0.169869
0.139892
0.139892
0
0.018321
0.230679
4,257
171
79
24.894737
0.774962
0.446324
0
0.101449
0
0
0.021053
0
0
0
0
0
0.072464
1
0.202899
false
0
0
0.144928
0.434783
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
0
0
0
2
7a267bf982c64e072a8e94dbfc7827cb9a57a32f
87
py
Python
intro-python/section4_answer.py
DanielMichelson/AusOpenRadar2019
e340ceca7dee9f064a5146876234fda04802e696
[ "BSD-2-Clause" ]
12
2019-11-03T10:17:32.000Z
2022-03-10T09:44:10.000Z
intro-python/section4_answer.py
DanielMichelson/AusOpenRadar2019
e340ceca7dee9f064a5146876234fda04802e696
[ "BSD-2-Clause" ]
2
2019-11-07T02:41:23.000Z
2019-11-11T01:04:47.000Z
intro-python/section4_answer.py
DanielMichelson/AusOpenRadar2019
e340ceca7dee9f064a5146876234fda04802e696
[ "BSD-2-Clause" ]
8
2019-09-17T00:28:46.000Z
2021-06-27T19:38:28.000Z
X = np.arange(-100, 100, 0.1) Y = 2*X + 1 plt.plot(X,Y) plt.xlabel('X') plt.ylabel('Y')
17.4
29
0.574713
21
87
2.380952
0.571429
0
0
0
0
0
0
0
0
0
0
0.133333
0.137931
87
5
30
17.4
0.533333
0
0
0
0
0
0.022727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a2b807cb521dd6964689b0a0c90c6958262c724
70,390
py
Python
pysnmp-with-texts/A3COM-HUAWEI-SYS-MAN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/A3COM-HUAWEI-SYS-MAN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/A3COM-HUAWEI-SYS-MAN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module A3COM-HUAWEI-SYS-MAN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-SYS-MAN-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:07:12 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7....
189.730458
5,380
0.76427
9,176
70,390
5.862576
0.083152
0.047068
0.082368
0.009146
0.503244
0.376448
0.342504
0.320587
0.306571
0.277795
0
0.065673
0.11199
70,390
370
5,381
190.243243
0.794951
0.004859
0
0.024931
0
0.157895
0.447251
0.054998
0
0
0
0
0
1
0
false
0
0.022161
0
0.022161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a2e304b9a1e71032f824334c3a9e4c7ae95323f
3,748
py
Python
pineapple/pineapple_core/core/flows.py
societe-generale/Pineapple
2aad2fbd0d7e231608d1d02bce45a28cd22f82a8
[ "MIT" ]
null
null
null
pineapple/pineapple_core/core/flows.py
societe-generale/Pineapple
2aad2fbd0d7e231608d1d02bce45a28cd22f82a8
[ "MIT" ]
null
null
null
pineapple/pineapple_core/core/flows.py
societe-generale/Pineapple
2aad2fbd0d7e231608d1d02bce45a28cd22f82a8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """This module contains everything that is related to flows. This module contains one class : Flow. """ from typing import Any, Dict from pineapple_core.utils.serialization import make_value_serializable class Flow: """Class that represents a flow Attributes ========== name:...
27.15942
87
0.567236
458
3,748
4.5
0.290393
0.050946
0.034935
0.026201
0.112567
0.112567
0.080543
0.080543
0.050461
0.050461
0
0.002012
0.33698
3,748
137
88
27.357664
0.827364
0.445571
0
0
0
0
0.059952
0.029377
0
0
0
0
0
1
0.288889
false
0
0.044444
0.044444
0.511111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7a335c589184f653a55c2e135b27fd8fe0eb98ba
2,783
py
Python
elliptic_moab/Mesh/Selector.py
padmec-reservoir/elliptic_moab
a3b15f29a621c35a8279fd163326a0895aa67f30
[ "MIT" ]
null
null
null
elliptic_moab/Mesh/Selector.py
padmec-reservoir/elliptic_moab
a3b15f29a621c35a8279fd163326a0895aa67f30
[ "MIT" ]
null
null
null
elliptic_moab/Mesh/Selector.py
padmec-reservoir/elliptic_moab
a3b15f29a621c35a8279fd163326a0895aa67f30
[ "MIT" ]
null
null
null
from typing import Type from elliptic.Kernel.Context import ContextDelegate from elliptic_meshql.Selector import SelectorImplementationBase class LoopDelegate(ContextDelegate): loop_name = '' def __init__(self, context, unique_id): super().__init__(context, unique_id) self.loop_var_prefix ...
36.618421
105
0.657923
321
2,783
5.361371
0.199377
0.115049
0.070308
0.108658
0.525276
0.285299
0.250436
0.191749
0.096456
0
0
0.000469
0.234639
2,783
75
106
37.106667
0.807512
0
0
0.14
0
0
0.173913
0.024434
0
0
0
0
0
1
0.22
false
0.02
0.06
0.1
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7a59ef54c76376084770c691cbba94348cea232b
244
py
Python
Core/CoreException.py
gengyuming/Foresee
78b61c276a4e859e996c9ec39040f2145d16b49b
[ "Apache-2.0" ]
null
null
null
Core/CoreException.py
gengyuming/Foresee
78b61c276a4e859e996c9ec39040f2145d16b49b
[ "Apache-2.0" ]
null
null
null
Core/CoreException.py
gengyuming/Foresee
78b61c276a4e859e996c9ec39040f2145d16b49b
[ "Apache-2.0" ]
null
null
null
from Core.Logger import log class MethodException(Exception): def __init__(self, method): self.method = method log('Request method error, not support {} method, please choose ["GET", "POST","PUT","DELETE"]'.format(method))
34.857143
119
0.680328
30
244
5.4
0.766667
0.123457
0
0
0
0
0
0
0
0
0
0
0.180328
244
7
119
34.857143
0.81
0
0
0
0
0.2
0.363265
0.089796
0
0
0
0
0
1
0.2
false
0
0.2
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
0
0
1
0
0
2
7a7c1628ddb94ea8345017d325bb02a7c5bda430
237
py
Python
board.py
MennovDijk/bilge_bot
65920e063d9201d495047073c8de50e45f7d0823
[ "MIT" ]
5
2019-05-09T11:23:42.000Z
2022-02-06T02:39:33.000Z
board.py
MennovDijk/bilge_bot
65920e063d9201d495047073c8de50e45f7d0823
[ "MIT" ]
3
2020-04-27T17:25:35.000Z
2021-01-23T22:13:02.000Z
board.py
MennovDijk/bilge_bot
65920e063d9201d495047073c8de50e45f7d0823
[ "MIT" ]
null
null
null
class Board(): def __init__(self, score=None, move=None, board=None): self.score = score self.move = move self.board = board self.previous = None def __repr__(self): return str(self.move)
23.7
58
0.586498
30
237
4.366667
0.4
0.137405
0
0
0
0
0
0
0
0
0
0
0.303797
237
10
59
23.7
0.793939
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
7a8001c534cd737e89955f0347ad32c0a03dee61
2,610
py
Python
finliveapp/migrations/0020_auto_20211110_1019.py
FinLiveRI/FinLiveApp
c5634c1da2a4081119890df7674c1f170f106e7f
[ "MIT" ]
null
null
null
finliveapp/migrations/0020_auto_20211110_1019.py
FinLiveRI/FinLiveApp
c5634c1da2a4081119890df7674c1f170f106e7f
[ "MIT" ]
null
null
null
finliveapp/migrations/0020_auto_20211110_1019.py
FinLiveRI/FinLiveApp
c5634c1da2a4081119890df7674c1f170f106e7f
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-11-10 10:19 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('finliveapp', '0019_remove_organization_apikey'), ] operations = [ migrations.RenameField( model...
31.071429
120
0.557854
230
2,610
6.213043
0.304348
0.088174
0.160952
0.188943
0.587124
0.53254
0.445766
0.445766
0.445766
0.445766
0
0.012493
0.325287
2,610
83
121
31.445783
0.798978
0.017241
0
0.61039
1
0
0.120172
0.012095
0
0
0
0
0
1
0
false
0
0.025974
0
0.064935
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a81537d6715e748ac6f076189e71e95d4899578
918
py
Python
src/unpacking.py
marvey11/python-playground
1a978a8b4e593f3497c48a921037b7bcf7af0762
[ "MIT" ]
null
null
null
src/unpacking.py
marvey11/python-playground
1a978a8b4e593f3497c48a921037b7bcf7af0762
[ "MIT" ]
null
null
null
src/unpacking.py
marvey11/python-playground
1a978a8b4e593f3497c48a921037b7bcf7af0762
[ "MIT" ]
null
null
null
""" Fun with unpacking stuff. """ from typing import Any, Tuple def print_integers(val01: int, val02: int) -> None: """ Prints some message for the integers. """ print(f"--> print_integers() -- VAL 1 = {val01}, VAL 2 = {val02}") def print_tuples(tup: tuple[Any, ...]) -> None: """ Prints some message fo...
27
70
0.61329
132
918
4.143939
0.318182
0.160878
0.117002
0.080439
0.288848
0.288848
0.190128
0.190128
0.190128
0.190128
0
0.104698
0.188453
918
33
71
27.818182
0.62953
0.349673
0
0
0
0
0.15993
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.357143
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
2
7aa756bb5b3c685c48a483ea6ad71265f7bd863f
6,090
py
Python
tools/hacking.py
bopopescu/deb-openstack-nova
d80d110fa1a7d781a2ed23138b037bcc3db7a441
[ "Apache-2.0" ]
1
2015-07-15T08:51:16.000Z
2015-07-15T08:51:16.000Z
tools/hacking.py
eneabio/nova
535e8b9c3c5354187ff6cba1bacdc52b949eff8c
[ "Apache-2.0" ]
null
null
null
tools/hacking.py
eneabio/nova
535e8b9c3c5354187ff6cba1bacdc52b949eff8c
[ "Apache-2.0" ]
2
2019-06-12T00:52:15.000Z
2020-07-24T10:35:29.000Z
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2012, Cloudscaling # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # ...
31.071429
79
0.612972
767
6,090
4.756193
0.325945
0.063322
0.034539
0.027412
0.114857
0.090461
0.035088
0.035088
0.035088
0.035088
0
0.022079
0.286043
6,090
195
80
31.230769
0.816927
0.330213
0
0.091954
0
0
0.125358
0.007037
0
0
0
0.015385
0.022989
1
0.091954
false
0
0.275862
0
0.505747
0.011494
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
8f931f9651c47e4b3678e1660beb74247dbc04c6
25,483
py
Python
pysnmp/FD-SYSTEM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/FD-SYSTEM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/FD-SYSTEM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module FD-SYSTEM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/FD-SYSTEM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:59:07 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
124.307317
3,032
0.727269
3,130
25,483
5.920447
0.08754
0.022233
0.015703
0.020722
0.429982
0.37332
0.274513
0.253899
0.23431
0.230533
0
0.085971
0.092572
25,483
204
3,033
124.916667
0.715404
0.012557
0
0.035714
0
0
0.168323
0.003419
0
0
0
0
0
1
0
false
0.035714
0.035714
0
0.035714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8fa326c4091b838484b5abb3f52cd9234df636d6
2,872
py
Python
emonitor/modules/messages/__init__.py
Durburz/eMonitor
56f3b1fe39b9da3a12b49bdd60d0cfca51c23351
[ "BSD-3-Clause" ]
21
2015-03-04T11:36:47.000Z
2021-04-20T07:51:53.000Z
emonitor/modules/messages/__init__.py
Durburz/eMonitor
56f3b1fe39b9da3a12b49bdd60d0cfca51c23351
[ "BSD-3-Clause" ]
79
2015-01-04T21:35:49.000Z
2020-03-05T07:22:10.000Z
emonitor/modules/messages/__init__.py
Durburz/eMonitor
56f3b1fe39b9da3a12b49bdd60d0cfca51c23351
[ "BSD-3-Clause" ]
27
2015-03-04T11:36:48.000Z
2021-09-20T08:15:17.000Z
from flask import send_from_directory from sqlalchemy.exc import ProgrammingError from emonitor.utils import Module from emonitor.extensions import babel from emonitor.modules.messages.messages import Messages from emonitor.modules.messages.message_weather import WeatherWidget from emonitor.modules.messages.message_bas...
38.293333
183
0.680014
314
2,872
6.133758
0.353503
0.056075
0.060748
0.070093
0.120457
0
0
0
0
0
0
0.005642
0.197772
2,872
74
184
38.810811
0.830295
0.074164
0
0
0
0
0.175492
0.066566
0
0
0
0
0
1
0.176471
false
0.019608
0.176471
0.117647
0.54902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
8fa564508aacb9915e56555874467fa0ba4e8257
330
py
Python
DESAFIO-010.py
Lukones/Evolution-Projetos-Python
d979f3702f0e22ab5256b19fd957dba587c44f85
[ "MIT" ]
null
null
null
DESAFIO-010.py
Lukones/Evolution-Projetos-Python
d979f3702f0e22ab5256b19fd957dba587c44f85
[ "MIT" ]
null
null
null
DESAFIO-010.py
Lukones/Evolution-Projetos-Python
d979f3702f0e22ab5256b19fd957dba587c44f85
[ "MIT" ]
null
null
null
# Um programa que vai dar um aumento para um determinado funcionário, sendo necessário informar o # preço e a porcetagem # x = float(input('Veja o aumento do seu funcionário!\nDigite o salário dele: R$')) y = float(input('Digite agora a porcetagem: ')) p = x+(x*(y/100)) print(f'O salário do seu funcionário vai para: R...
47.142857
97
0.718182
57
330
4.157895
0.614035
0.092827
0.135021
0
0
0
0
0
0
0
0
0.014388
0.157576
330
7
98
47.142857
0.83813
0.351515
0
0
0
0
0.647619
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8facb2ec26a85b2474131d61a99ac332f5257a9c
1,552
py
Python
discordbot/utils/constants.py
juup1ter/gulag
857c5a1581732f509b85ddb05fb89d989d05ce2a
[ "MIT" ]
null
null
null
discordbot/utils/constants.py
juup1ter/gulag
857c5a1581732f509b85ddb05fb89d989d05ce2a
[ "MIT" ]
null
null
null
discordbot/utils/constants.py
juup1ter/gulag
857c5a1581732f509b85ddb05fb89d989d05ce2a
[ "MIT" ]
null
null
null
from app.constants.gamemodes import GameMode mode_2_str = { 0: "standard", 1: "taiko", 2: "catch", 3: "mania" } mods2str = { "vn": "vanilla", "rx": "relax", "ap": "autopilot" } mode2gulag = { "0.vn": 0, "1.vn": 1, "2.vn": 2, "3.vn": 3, "0.rx": 4, "1.rx": 5, "2.r...
20.693333
54
0.565722
174
1,552
4.971264
0.522989
0.046243
0.078613
0
0
0
0
0
0
0
0
0.233108
0.237113
1,552
75
55
20.693333
0.497466
0
0
0
0
0
0.359948
0.203477
0
0
0.030908
0
0
1
0
false
0
0.014493
0
0.115942
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8fb95897fc6132f54c3634fa070e9779aa537d0c
990
py
Python
tests/test_logger.py
dpa-newslab/livebridge
2f1a05277419f6e9a77b36b4980d86eed778f9d2
[ "Apache-2.0" ]
3
2016-11-08T22:23:59.000Z
2017-03-08T09:19:14.000Z
tests/test_logger.py
dpa-newslab/livebridge
2f1a05277419f6e9a77b36b4980d86eed778f9d2
[ "Apache-2.0" ]
6
2017-01-09T15:56:50.000Z
2018-06-05T10:19:30.000Z
tests/test_logger.py
dpa-newslab/livebridge
2f1a05277419f6e9a77b36b4980d86eed778f9d2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2017 dpa-infocom GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
34.137931
74
0.733333
133
990
5.451128
0.654135
0.082759
0.035862
0.044138
0
0
0
0
0
0
0
0.012392
0.184848
990
28
75
35.357143
0.885998
0.579798
0
0
0
0
0.0225
0
0
0
0
0
0.2
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8fbb68c568c6e4e77d42ecc94d8fb2c6c29e37eb
2,598
py
Python
tests/test_directory_check_empty.py
pradyunsg/release-helper
3c338d920d8803db13ca25fdef85c753b9612261
[ "MIT" ]
1
2022-02-23T19:23:10.000Z
2022-02-23T19:23:10.000Z
tests/test_directory_check_empty.py
pradyunsg/release-helper
3c338d920d8803db13ca25fdef85c753b9612261
[ "MIT" ]
null
null
null
tests/test_directory_check_empty.py
pradyunsg/release-helper
3c338d920d8803db13ca25fdef85c753b9612261
[ "MIT" ]
null
null
null
from pathlib import Path from release_helper.commands.directory_check_empty import cmd def test_with_does_not_exist(runner): result = runner.invoke(cmd, ["folder"]) assert result.exit_code == 0 assert result.stdout == "" assert result.stderr == "" def test_with_file(runner): Path("file").write...
27.347368
83
0.658968
367
2,598
4.504087
0.147139
0.174229
0.053237
0.101633
0.715668
0.715668
0.684211
0.684211
0.658197
0.569873
0
0.011158
0.172055
2,598
94
84
27.638298
0.757322
0
0
0.596774
0
0
0.202463
0.009623
0
0
0
0
0.419355
1
0.129032
false
0
0.032258
0
0.16129
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
8fc514e61a20a24fe65d84d51d7ce87fb6c435d2
919
py
Python
statistics_tickets/admin.py
Wellheor1/l2
d980210921c545c68fe9d5522bb693d567995024
[ "MIT" ]
10
2018-03-14T06:17:06.000Z
2022-03-10T05:33:34.000Z
statistics_tickets/admin.py
Wellheor1/l2
d980210921c545c68fe9d5522bb693d567995024
[ "MIT" ]
512
2018-09-10T07:37:34.000Z
2022-03-30T02:23:43.000Z
statistics_tickets/admin.py
D00dleman/l2
0870144537ee340cd8db053a608d731e186f02fb
[ "MIT" ]
24
2018-07-31T05:52:12.000Z
2022-02-08T00:39:41.000Z
from django.contrib import admin from statistics_tickets.models import ResultOfTreatment, VisitPurpose, StatisticsTicket, Outcomes, ExcludePurposes, ConditionsCare, Place class StatisticsTicketAdmin(admin.ModelAdmin): list_display = ('card', 'date', 'invalid_ticket', 'purpose__title', 'result__title', 'first_tim...
35.346154
156
0.773667
100
919
6.96
0.45
0.090517
0.170977
0.08046
0.106322
0.106322
0
0
0
0
0
0
0.115343
919
25
157
36.76
0.856089
0
0
0
0
0
0.119695
0.025027
0
0
0
0
0
1
0.117647
false
0
0.117647
0.117647
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
8fc6fe26d0fb3306b6bcffa7399868bdf1e85079
600
py
Python
ads/views.py
NubMaster68/houseSale
171b9f3e331e9a652992365db1223c40944978da
[ "MIT" ]
null
null
null
ads/views.py
NubMaster68/houseSale
171b9f3e331e9a652992365db1223c40944978da
[ "MIT" ]
null
null
null
ads/views.py
NubMaster68/houseSale
171b9f3e331e9a652992365db1223c40944978da
[ "MIT" ]
null
null
null
# from django.shortcuts import render from django.http import HttpResponse from django.views.generic import ListView from django.views.generic import DetailView from django.shortcuts import render from .models import Ad # def index(request): # return HttpResponse("Hello, world. You're at the polls index.") class ...
31.578947
76
0.755
83
600
5.385542
0.566265
0.111857
0.085011
0.111857
0.281879
0.1566
0
0
0
0
0
0
0.17
600
19
77
31.578947
0.89759
0.348333
0
0.166667
0
0
0.085492
0
0
0
0
0
0
1
0
false
0
0.416667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8fd2361042e743045e38a14500beab675486954c
8,929
py
Python
ggpy/cruft/autocode/GdlCleaner.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
1
2015-01-26T19:07:45.000Z
2015-01-26T19:07:45.000Z
ggpy/cruft/autocode/GdlCleaner.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
ggpy/cruft/autocode/GdlCleaner.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ generated source for module GdlCleaner """ # package: org.ggp.base.util.gdl.transforms import java.util.ArrayList import java.util.List import org.ggp.base.util.gdl.grammar.Gdl import org.ggp.base.util.gdl.grammar.GdlConstant import org.ggp.base.util.gdl.grammar.GdlDistinct import org.ggp...
40.586364
112
0.624482
935
8,929
5.917647
0.255615
0.016266
0.02711
0.037954
0.266582
0.191397
0.154527
0.078619
0.059281
0.032894
0
0.005201
0.289394
8,929
219
113
40.77169
0.866824
0.178631
0
0.351351
1
0
0.020889
0
0
0
0
0.004566
0
0
null
null
0.006757
0.108108
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
8fe2df93b4941d4d43bd78c6bab5216309c20c5c
1,196
py
Python
apps/pageresources/models.py
aspic2/rendermaps
517905c5f970bbb8bba87e9599be874fc0fd250d
[ "MIT" ]
null
null
null
apps/pageresources/models.py
aspic2/rendermaps
517905c5f970bbb8bba87e9599be874fc0fd250d
[ "MIT" ]
24
2018-02-21T22:51:24.000Z
2022-03-11T23:12:25.000Z
apps/pageresources/models.py
aspic2/jobs-by-neighborhood
517905c5f970bbb8bba87e9599be874fc0fd250d
[ "MIT" ]
null
null
null
# # -*- coding: utf-8 -*- # from __future__ import unicode_literals # # from django.contrib.postgres.fields import JSONField # from django.contrib.auth.models import User # from .pagelists.components import COMPONENT_CHOICES # from .pagelists.content import CONTENT_CHOICES # from ..languages.models import LANGUAGE_CODE...
47.84
104
0.77592
144
1,196
6.194444
0.402778
0.067265
0.080717
0.107623
0.29148
0.2287
0.121076
0.121076
0.121076
0.121076
0
0.006667
0.122074
1,196
24
105
49.833333
0.842857
0.957358
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8fe9940e44ce2241934d04f7ba6f7f4cf5081967
182
py
Python
examples/a.py
alehander42/dynamo
cfaf08de4dd8d8fbb94a3514098dbf5a7ae638fe
[ "MIT" ]
3
2017-12-17T19:42:46.000Z
2019-04-14T20:26:59.000Z
examples/a.py
alehander42/dynamo
cfaf08de4dd8d8fbb94a3514098dbf5a7ae638fe
[ "MIT" ]
null
null
null
examples/a.py
alehander42/dynamo
cfaf08de4dd8d8fbb94a3514098dbf5a7ae638fe
[ "MIT" ]
null
null
null
from typing import Dict class Z: a: int def __init__(self, a: int): self.a = a def z(b: str) -> Dict[str, Z]: print(f'{z}') return {b: Z(2)} print(z(''))
13
31
0.510989
32
182
2.78125
0.53125
0.089888
0
0
0
0
0
0
0
0
0
0.007813
0.296703
182
13
32
14
0.6875
0
0
0
0
0
0.016484
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.666667
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8fe9d5b16c7dbd3f606d8cb090fc50be32d7f3c4
219
py
Python
lab4/hello-openfaas/handler.py
JasonShin/openfaas-for-fun
e5f0debd7efa5af492f71c2fbc47c0e74ea3254e
[ "MIT" ]
1
2019-10-27T16:00:47.000Z
2019-10-27T16:00:47.000Z
lab4/hello-openfaas/handler.py
JasonShin/openfaas-for-fun
e5f0debd7efa5af492f71c2fbc47c0e74ea3254e
[ "MIT" ]
4
2018-08-24T12:31:55.000Z
2018-08-24T12:57:52.000Z
lab4/hello-openfaas/handler.py
JasonShin/openfaas-for-fun
e5f0debd7efa5af492f71c2fbc47c0e74ea3254e
[ "MIT" ]
1
2020-09-02T08:49:01.000Z
2020-09-02T08:49:01.000Z
import os import sys import json def handle(req): http_query = os.getenv("Http_Query") sys.stderr.write("This should be an error message.\n") return json.dumps({ "Hello": "OpenFaaS", 'test': http_query })
21.9
66
0.684932
33
219
4.454545
0.727273
0.183673
0
0
0
0
0
0
0
0
0
0
0.173516
219
9
67
24.333333
0.812155
0
0
0
0
0
0.278539
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
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
0
0
0
2
8fedfcce6c5ef82d8b9d1d4d5e9b552833de3e9b
203
py
Python
msgbot/fb_bot/parser/portal_const.py
mshvern/fbportalbot
6674056a7aaa5bc793612684979c6f57e4d0059c
[ "Apache-2.0" ]
null
null
null
msgbot/fb_bot/parser/portal_const.py
mshvern/fbportalbot
6674056a7aaa5bc793612684979c6f57e4d0059c
[ "Apache-2.0" ]
null
null
null
msgbot/fb_bot/parser/portal_const.py
mshvern/fbportalbot
6674056a7aaa5bc793612684979c6f57e4d0059c
[ "Apache-2.0" ]
1
2019-09-06T13:38:20.000Z
2019-09-06T13:38:20.000Z
main_url = "http://www.portalcinema.com.ua/" info_url = 'products/index/getinfo' poster_url = 'uploads/products/main/' access_token = '' verify_token = '' webhook_url = '' allowed_host = '' test_id = ''
22.555556
44
0.704433
27
203
5
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.118227
203
8
45
25.375
0.75419
0
0
0
0
0
0.369458
0.216749
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8ffa6607a3b81463f5f6885cf5cd8b7fca56aaf9
489
py
Python
oarepo_taxonomies/config.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
null
null
null
oarepo_taxonomies/config.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
9
2020-08-24T08:49:15.000Z
2021-08-05T16:45:23.000Z
oarepo_taxonomies/config.py
sulfadimetoxin/oarepo-taxonomies
b8385173614aa711a5e316c8fc24ac065b48aa3d
[ "MIT" ]
1
2020-08-20T18:39:43.000Z
2020-08-20T18:39:43.000Z
from flask_taxonomies.constants import INCLUDE_DATA, INCLUDE_ANCESTORS, INCLUDE_URL, INCLUDE_SELF, \ INCLUDE_ANCESTOR_LIST, INCLUDE_ANCESTOR_TAG, INCLUDE_PARENT, INCLUDE_LEVEL FLASK_TAXONOMIES_REPRESENTATION = { "taxonomy": { 'include': [INCLUDE_DATA, INCLUDE_ANCESTORS, INCLUDE_URL, INCLUDE_SELF, ...
37.615385
100
0.705521
50
489
6.44
0.42
0.186335
0.111801
0.167702
0.68323
0.68323
0.68323
0.68323
0.68323
0.68323
0
0
0.202454
489
12
101
40.75
0.825641
0
0
0
0
0
0.071575
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
890e9894c6720002f79090ec3f6c0b3e8a97d456
3,053
py
Python
tests/core/inst/jump/inst_jal.py
cornell-brg/lizard
7f9a78a913e64b5cfdee3a26223539ad225bd6da
[ "BSD-3-Clause" ]
50
2019-05-22T08:43:15.000Z
2022-03-21T23:58:50.000Z
tests/core/inst/jump/inst_jal.py
cornell-brg/lizard
7f9a78a913e64b5cfdee3a26223539ad225bd6da
[ "BSD-3-Clause" ]
1
2019-07-27T18:51:52.000Z
2019-08-02T01:20:22.000Z
tests/core/inst/jump/inst_jal.py
cornell-brg/lizard
7f9a78a913e64b5cfdee3a26223539ad225bd6da
[ "BSD-3-Clause" ]
11
2019-12-26T06:00:48.000Z
2022-03-27T02:29:35.000Z
#========================================================================= # jal #========================================================================= import random from pymtl import * from tests.context import lizard from tests.core.inst_utils import * #--------------------------------------------------------...
22.123188
74
0.480511
376
3,053
3.800532
0.223404
0.071379
0.06718
0.053884
0.671798
0.663401
0.624913
0.560532
0.560532
0.560532
0
0.118389
0.324926
3,053
137
75
22.284672
0.574964
0.183426
0
0.673684
0
0
0.865888
0
0
0
0.057994
0
0
1
0.052632
true
0
0.042105
0.052632
0.147368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
891149c09a494b51da684081827ffe7afa2014f5
1,531
py
Python
tests/test_canvas.py
0xF4D3C0D3/ray-tracer-challenge-with-python
4140f2d534b3af5d70a9aa12dbc411a5bae7b918
[ "MIT" ]
null
null
null
tests/test_canvas.py
0xF4D3C0D3/ray-tracer-challenge-with-python
4140f2d534b3af5d70a9aa12dbc411a5bae7b918
[ "MIT" ]
3
2020-03-24T18:01:09.000Z
2021-02-02T22:19:35.000Z
tests/test_canvas.py
0xF4D3C0D3/ray-tracer-challenge-with-python
4140f2d534b3af5d70a9aa12dbc411a5bae7b918
[ "MIT" ]
1
2020-08-07T22:49:48.000Z
2020-08-07T22:49:48.000Z
import numpy as np from src.canvas import Canvas from src.grid import Color def test_create_canvas(): c = Canvas(10, 20) assert c.rows == 10 assert c.cols == 20 assert np.all(c == Color(0, 0, 0)) def test_writing_pixel_to_canvas(): c = Canvas(10, 20) red = Color(1, 0, 0) c[2, 3] = red ...
24.693548
79
0.573481
313
1,531
2.667732
0.182109
0.105389
0.125749
0.143713
0.435928
0.349701
0.313772
0.313772
0.270659
0.270659
0
0.285064
0.282822
1,531
61
80
25.098361
0.47541
0
0
0.25
0
0
0.234487
0
0
0
0
0
0.181818
1
0.136364
false
0
0.068182
0
0.204545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8916b84699c1edcb6e4ab2a662ea82184162ff53
1,148
py
Python
proyectofinal/quiz/models.py
Syferk/trabajofinal
54f778fc8b6e21a845702b43524b88c98badd52d
[ "MIT" ]
1
2021-09-05T22:34:26.000Z
2021-09-05T22:34:26.000Z
proyectofinal/quiz/models.py
Syferk/trabajofinal
54f778fc8b6e21a845702b43524b88c98badd52d
[ "MIT" ]
null
null
null
proyectofinal/quiz/models.py
Syferk/trabajofinal
54f778fc8b6e21a845702b43524b88c98badd52d
[ "MIT" ]
3
2021-09-05T23:30:15.000Z
2021-09-07T02:25:26.000Z
from django.db import models from user.models import Users class Category(models.Model): category_name = models.CharField(max_length=50) question_available = models.PositiveIntegerField(default=0) question_number = models.PositiveIntegerField() def __str__(self): return self.category_name class Qu...
39.586207
97
0.762195
137
1,148
6.240876
0.357664
0.122807
0.147368
0.196491
0.263158
0.105263
0.105263
0
0
0
0
0.034551
0.117596
1,148
28
98
41
0.809477
0
0
0
0
0
0.048823
0
0
0
0
0
0
1
0.041667
false
0
0.083333
0.041667
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
891932991aa3c2e3cf18663abf2e256d53e75925
3,106
py
Python
dsatools/generator/_marple_sequence.py
diarmaidocualain/dsatools
50b9259e2846b5fdd3dc52206967b0ee8d0144de
[ "MIT" ]
31
2020-09-14T16:12:01.000Z
2022-03-30T01:44:18.000Z
generator/_marple_sequence.py
Jimmy-INL/dsatools
5c811838bb3fb8ae00195d5f68e451bd23b3448c
[ "MIT" ]
4
2021-09-24T17:47:42.000Z
2022-03-04T08:06:43.000Z
generator/_marple_sequence.py
Jimmy-INL/dsatools
5c811838bb3fb8ae00195d5f68e451bd23b3448c
[ "MIT" ]
11
2020-12-06T08:18:56.000Z
2022-03-20T13:28:22.000Z
import numpy as np def marple_sequence(): ''' Specific signal-like sequence, proposed by Marple S.L. Returns -------- * signal: 1d ndarray (64 samples). Example -------- import dsatools.generator from dsatools.generator import callbacks import dsa...
31.06
53
0.606246
359
3,106
5.236769
0.56546
0.027128
0
0
0
0
0
0
0
0
0
0.575372
0.265293
3,106
100
54
31.06
0.248028
0.227302
0
0
0
0
0
0
0
0
0
0
0
1
0.014706
false
0
0.014706
0
0.044118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
64ec1fd31776137216ede3cc1ef1e18c0071a86e
167
py
Python
django_dicom/views/utils.py
ZviBaratz/django-dicom
fc5d5443ebcab9af9705a2e81c58662789a34c62
[ "Apache-2.0" ]
8
2018-12-25T11:00:31.000Z
2022-02-03T12:05:56.000Z
django_dicom/views/utils.py
ZviBaratz/django-dicom
fc5d5443ebcab9af9705a2e81c58662789a34c62
[ "Apache-2.0" ]
11
2019-01-03T11:30:42.000Z
2021-05-12T06:53:20.000Z
django_dicom/views/utils.py
ZviBaratz/django-dicom
fc5d5443ebcab9af9705a2e81c58662789a34c62
[ "Apache-2.0" ]
4
2019-06-23T18:09:07.000Z
2019-08-30T15:43:18.000Z
""" Utilities for the :mod:`~django_dicom.views` module. """ CONTENT_DISPOSITION = "attachment; filename={name}.zip" ZIP_CONTENT_TYPE = "application/x-zip-compressed"
27.833333
55
0.754491
21
167
5.809524
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.083832
167
5
56
33.4
0.797386
0.311377
0
0
0
0
0.551402
0.261682
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
64ed7fa0bd919eed84109ce8a4e03eedc4ba591b
467
py
Python
tests/py/test_event.py
phlax/playground
ca661f7adcc2c3502f63e630c96e87e31aa9309a
[ "Apache-2.0" ]
8
2020-11-23T21:08:32.000Z
2021-12-18T10:37:25.000Z
tests/py/test_event.py
phlax/playground
ca661f7adcc2c3502f63e630c96e87e31aa9309a
[ "Apache-2.0" ]
273
2020-11-23T19:27:06.000Z
2020-12-21T17:34:49.000Z
tests/py/test_event.py
phlax/playground
ca661f7adcc2c3502f63e630c96e87e31aa9309a
[ "Apache-2.0" ]
2
2020-11-24T09:49:29.000Z
2020-12-30T10:39:10.000Z
from playground.control import attribs, event class DummyAttribs(attribs.ValidatingAttribs): def __init__(self): pass def test_event(): _kwargs = dict() _event = event.PlaygroundEvent(_kwargs) assert _event._kwargs is _kwargs assert _event._attribs is None dummy_attribs = DummyAtt...
22.238095
58
0.736617
53
467
6.056604
0.396226
0.137072
0.158879
0.193146
0.280374
0.280374
0.280374
0.280374
0.280374
0
0
0
0.197002
467
20
59
23.35
0.856
0
0
0.153846
0
0
0
0
0
0
0
0
0.307692
1
0.153846
false
0.076923
0.076923
0
0.307692
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
1
0
0
0
0
0
2
64f589c595e6fd6aa5cda5244976e2e886627844
2,080
py
Python
py_wake/tests/test_utils/test_xarray_utils.py
aemoser/PyWake
889a2c10882195af21339e9bcf2ede0db9b58319
[ "MIT" ]
30
2019-03-18T14:10:27.000Z
2022-03-13T17:39:04.000Z
py_wake/tests/test_utils/test_xarray_utils.py
aemoser/PyWake
889a2c10882195af21339e9bcf2ede0db9b58319
[ "MIT" ]
1
2020-11-12T06:13:00.000Z
2020-11-12T06:43:26.000Z
py_wake/tests/test_utils/test_xarray_utils.py
aemoser/PyWake
889a2c10882195af21339e9bcf2ede0db9b58319
[ "MIT" ]
20
2019-01-11T14:45:13.000Z
2021-12-13T19:55:29.000Z
from py_wake.examples.data.hornsrev1 import Hornsrev1Site import numpy as np import pytest import pandas as pd @pytest.mark.parametrize(['ti', 'dims'], [ (0.1, ()), (np.full((2), 0.1), ('i',)), (np.full((2, 360), 0.1), ('i', 'wd')), (np.full((2, 360, 23), 0.1), ('i', 'wd', 'ws')), (np.full((360), ...
29.714286
76
0.538462
348
2,080
3.146552
0.172414
0.023744
0.032877
0.047489
0.751598
0.720548
0.69863
0.69863
0.69863
0.69863
0
0.125076
0.212019
2,080
69
77
30.144928
0.543014
0
0
0.576271
0
0
0.039904
0
0
0
0
0
0.033898
1
0.067797
false
0
0.067797
0
0.135593
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8f26c80988f27d122c2a8050884079763f1d447d
309
py
Python
49. matplotlib 6 - Plotting from a csv file.py
JatinR05/Python-3-basics-series
e4b3d8056e2074602c9ed0cd201676484dd0d179
[ "MIT" ]
41
2015-05-12T12:49:35.000Z
2021-07-13T11:07:09.000Z
49. matplotlib 6 - Plotting from a csv file.py
JatinR05/Python-3-basics-series
e4b3d8056e2074602c9ed0cd201676484dd0d179
[ "MIT" ]
null
null
null
49. matplotlib 6 - Plotting from a csv file.py
JatinR05/Python-3-basics-series
e4b3d8056e2074602c9ed0cd201676484dd0d179
[ "MIT" ]
37
2016-10-13T04:02:09.000Z
2021-12-16T18:28:27.000Z
from matplotlib import pyplot as plt from matplotlib import style #### import numpy as np style.use('ggplot') x,y = np.loadtxt('exampleFile.csv', unpack=True, delimiter = ',') plt.plot(x,y) plt.title('Epic Info') plt.ylabel('Y axis') plt.xlabel('X axis') plt.show()
13.434783
36
0.61165
44
309
4.295455
0.613636
0.148148
0.21164
0
0
0
0
0
0
0
0
0
0.239482
309
22
37
14.045455
0.804255
0
0
0
0
0
0.140984
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8f2d5a928f67b43b78d0330c6a21750fcb1cff1d
129
py
Python
webpagecrawl.py
solodom/crawler
fcaf8570b85452194bac18a49f5a61d88ca16a60
[ "MIT" ]
null
null
null
webpagecrawl.py
solodom/crawler
fcaf8570b85452194bac18a49f5a61d88ca16a60
[ "MIT" ]
null
null
null
webpagecrawl.py
solodom/crawler
fcaf8570b85452194bac18a49f5a61d88ca16a60
[ "MIT" ]
null
null
null
from urllib import request url=input('URL:') file_name=input('Filename:') page_file=request.urlretrieve(url,filename=file_name)
21.5
53
0.79845
19
129
5.263158
0.578947
0.16
0
0
0
0
0
0
0
0
0
0
0.062016
129
6
53
21.5
0.826446
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
2
8f42142e2fce9843103335bc343e1cb5be87d4ce
350
py
Python
pypdfkit/__init__.py
BogdanGrebenuk/pypdfkit
da92782e1cfa3338e096f4a32e48b28a9730c29f
[ "MIT" ]
11
2019-06-12T13:29:10.000Z
2019-12-19T12:20:41.000Z
pypdfkit/__init__.py
BogdanGrebenuk/pypdfkit
da92782e1cfa3338e096f4a32e48b28a9730c29f
[ "MIT" ]
null
null
null
pypdfkit/__init__.py
BogdanGrebenuk/pypdfkit
da92782e1cfa3338e096f4a32e48b28a9730c29f
[ "MIT" ]
1
2020-02-05T17:48:46.000Z
2020-02-05T17:48:46.000Z
from .abc_pdf import * from .datamanager import * from .entities import * from .pyobj2html import * from .pypdfkit import * from .templatemanager import * __all__ = ( abc_pdf.__all__ + datamanager.__all__ + entities.__all__ + pyobj2html.__all__ + pypdfkit.__all__ + templatemanager.__all__ +...
19.444444
30
0.694286
36
350
5.916667
0.305556
0.234742
0
0
0
0
0
0
0
0
0
0.00722
0.208571
350
18
31
19.444444
0.761733
0
0
0
0
0
0.034188
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8f5b5e7cd66b9e8ad42fd7854dfddea7ba008c1d
1,097
py
Python
gicowa/impl/output.py
AurelienLourot/github-commit-watcher
ca4ea1ee8ebaefdf270e4d16735d563f23cf4833
[ "Unlicense" ]
22
2015-07-05T09:12:41.000Z
2022-01-12T00:09:38.000Z
gicowa/impl/output.py
AurelienLourot/github-commit-watcher
ca4ea1ee8ebaefdf270e4d16735d563f23cf4833
[ "Unlicense" ]
3
2015-10-17T15:26:08.000Z
2016-04-27T06:00:40.000Z
gicowa/impl/output.py
AurelienLourot/github-commit-watcher
ca4ea1ee8ebaefdf270e4d16735d563f23cf4833
[ "Unlicense" ]
4
2015-10-15T21:03:47.000Z
2020-09-09T21:54:30.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- class Output: def __init__(self, print_function): """ @param print_function: Dependency. Inject a function implementing the same interface as print(). """ self.__print_function = print_function self...
30.472222
96
0.587967
140
1,097
4.457143
0.485714
0.105769
0.096154
0.086538
0.139423
0.139423
0
0
0
0
0
0.018301
0.302644
1,097
35
97
31.342857
0.797386
0.351869
0
0
0
0
0.023184
0
0
0
0
0
0
1
0.352941
false
0
0
0.176471
0.647059
0.176471
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
0
0
0
2
8f5d18b826b9c188006c34d7c3b409c3f3d1575a
288
py
Python
Platzi_Python2022/Platzi_/for.py
Kennethguerra3/Python_Ejercicio_2022
cf1297cf1e1585eba699e32c02993818c3d9ecbf
[ "MIT" ]
9
2021-08-28T01:16:31.000Z
2022-02-23T15:07:48.000Z
Platzi_Python2022/Platzi_/for.py
Kennethguerra3/Python_Ejercicio_2022
cf1297cf1e1585eba699e32c02993818c3d9ecbf
[ "MIT" ]
null
null
null
Platzi_Python2022/Platzi_/for.py
Kennethguerra3/Python_Ejercicio_2022
cf1297cf1e1585eba699e32c02993818c3d9ecbf
[ "MIT" ]
3
2021-07-21T20:03:16.000Z
2021-07-23T15:04:19.000Z
# print(1) # print(2) # print(3) # print(4) # print(5) # contador = 1 # print(contador) # while contador < 1000: # contador += 1 # print(contador) # a = list(range(1000)) # print(a) # for contador in range(1, 1001): # print(contador) for i in range(10): print(11 * i)
13.714286
33
0.583333
43
288
3.906977
0.418605
0.107143
0.166667
0.261905
0
0
0
0
0
0
0
0.109091
0.236111
288
20
34
14.4
0.654545
0.753472
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
8f6a4ac0f3616dd43ef5ba0483ceab37ae337f14
2,489
py
Python
DataCrawl/crawler/lib/browser.py
Haiduongcable/BigData-Computing
917210a6254b5e656a98af9056a0c975d2dfef26
[ "Apache-2.0" ]
null
null
null
DataCrawl/crawler/lib/browser.py
Haiduongcable/BigData-Computing
917210a6254b5e656a98af9056a0c975d2dfef26
[ "Apache-2.0" ]
null
null
null
DataCrawl/crawler/lib/browser.py
Haiduongcable/BigData-Computing
917210a6254b5e656a98af9056a0c975d2dfef26
[ "Apache-2.0" ]
null
null
null
import sys import os from pathlib import Path import json import pickle from selenium import webdriver from selenium.webdriver.chrome.options import Options import selenium.webdriver.support.ui as ui class Browser: def __init__(self): chrome_options = Options() chrome_options.add_argument(...
34.569444
157
0.655283
326
2,489
4.788344
0.263804
0.070468
0.043562
0.048687
0.454196
0.454196
0.415759
0.240231
0.240231
0.064062
0
0.006266
0.230615
2,489
72
158
34.569444
0.808877
0.017678
0
0.148148
0
0
0.067512
0.052373
0
0
0
0.013889
0
1
0.240741
false
0
0.148148
0.018519
0.462963
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
0
0
0
0
2
8f72fbd93f21f83f4ef3662e0b27d9a6cf567288
735
py
Python
lognotif/alertmgmt/migrations/0009_newassignment.py
subhamoykarmakar224/Django-LiveLogNotifier
15f36048f3eb8d43d9b58b04c660bcb7fa005451
[ "MIT" ]
null
null
null
lognotif/alertmgmt/migrations/0009_newassignment.py
subhamoykarmakar224/Django-LiveLogNotifier
15f36048f3eb8d43d9b58b04c660bcb7fa005451
[ "MIT" ]
null
null
null
lognotif/alertmgmt/migrations/0009_newassignment.py
subhamoykarmakar224/Django-LiveLogNotifier
15f36048f3eb8d43d9b58b04c660bcb7fa005451
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-05-06 12:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('alertmgmt', '0008_logfilterfields_log_src_url'), ] operations = [ migrations.CreateModel( name='NewAssignment', fie...
30.625
114
0.591837
73
735
5.808219
0.69863
0.106132
0.127358
0.169811
0.127358
0
0
0
0
0
0
0.056497
0.277551
735
23
115
31.956522
0.741996
0.062585
0
0
1
0
0.142649
0.046579
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
56bc4761d12edf3388b485bea197b4fd8ed7b433
4,390
py
Python
tf2onnx/tflite_handlers/tfl_nn.py
BobLiu20/tensorflow-onnx
bec7c1fd610c27d7cb22271c9fdf45d9f4ecee44
[ "Apache-2.0" ]
1
2021-04-30T15:26:06.000Z
2021-04-30T15:26:06.000Z
tf2onnx/tflite_handlers/tfl_nn.py
BobLiu20/tensorflow-onnx
bec7c1fd610c27d7cb22271c9fdf45d9f4ecee44
[ "Apache-2.0" ]
null
null
null
tf2onnx/tflite_handlers/tfl_nn.py
BobLiu20/tensorflow-onnx
bec7c1fd610c27d7cb22271c9fdf45d9f4ecee44
[ "Apache-2.0" ]
1
2021-05-22T02:24:21.000Z
2021-05-22T02:24:21.000Z
# SPDX-License-Identifier: Apache-2.0 """ tfl_nn """ from tf2onnx.handler import tfl_op from tf2onnx.tflite_handlers.tfl_math import separate_fused_activation_function # pylint: disable=unused-argument,missing-docstring,unused-variable,pointless-string-statement,invalid-name @tfl_op(["TFL_TRANSPOSE_CONV"], tf_op...
39.54955
117
0.682916
629
4,390
4.426073
0.18124
0.04023
0.055316
0.070402
0.716236
0.696121
0.696121
0.696121
0.683908
0.664152
0
0.012882
0.18656
4,390
110
118
39.909091
0.766732
0.073804
0
0.701149
0
0
0.191957
0.032568
0
0
0
0
0
1
0.091954
false
0.022989
0.022989
0
0.206897
0
0
0
0
null
0
0
0
0
0
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
2
56c2cfe7d870ad1404c84801425ee3e0576bff7d
99
py
Python
Exercise6.py
alxsklv/homework
dd629a9b6bb5e6d79ad84de6f69f26c80d50bb22
[ "MIT" ]
null
null
null
Exercise6.py
alxsklv/homework
dd629a9b6bb5e6d79ad84de6f69f26c80d50bb22
[ "MIT" ]
null
null
null
Exercise6.py
alxsklv/homework
dd629a9b6bb5e6d79ad84de6f69f26c80d50bb22
[ "MIT" ]
null
null
null
a = int(input('enter side: \n')) b = '* ' i = 0 while i < a: print(b) b += '* ' i += 1
12.375
32
0.383838
17
99
2.235294
0.705882
0.105263
0
0
0
0
0
0
0
0
0
0.031746
0.363636
99
8
33
12.375
0.571429
0
0
0
0
0
0.18
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
0
0
2
56c443957d86bdbc9785b7c592e15dd086bbef8a
527
py
Python
Chapter__8/Examples/running_time_measuring/main.py
nil1729/python__noob
d82d951dc511eafa9f4315e1fdfdc749f484abf1
[ "MIT" ]
null
null
null
Chapter__8/Examples/running_time_measuring/main.py
nil1729/python__noob
d82d951dc511eafa9f4315e1fdfdc749f484abf1
[ "MIT" ]
null
null
null
Chapter__8/Examples/running_time_measuring/main.py
nil1729/python__noob
d82d951dc511eafa9f4315e1fdfdc749f484abf1
[ "MIT" ]
null
null
null
class my_timer(object): def __init__(self, original_function): self.original_function = original_function def __call__(self, *args, **kwargs): import time t1 = time.time() result = self.original_function(*args, **kwargs) t2 = time.time() print(f"{self.or...
25.095238
85
0.586338
66
527
4.363636
0.469697
0.277778
0.277778
0
0
0
0
0
0
0
0
0.03504
0.296015
527
20
86
26.35
0.74124
0
0
0
0
0
0.130178
0.069034
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.352941
0.117647
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
56d2471cad9e5b70a2a31907d09626de3051974a
183
py
Python
__init__.py
jobscry/vz-blog
de968541a0412d5ce8f09c1ba638261a9f9151f1
[ "MIT" ]
3
2016-01-29T09:31:15.000Z
2016-05-08T19:33:23.000Z
__init__.py
jobscry/vz-blog
de968541a0412d5ce8f09c1ba638261a9f9151f1
[ "MIT" ]
null
null
null
__init__.py
jobscry/vz-blog
de968541a0412d5ce8f09c1ba638261a9f9151f1
[ "MIT" ]
null
null
null
# -*- mode: python; coding: utf-8; -*- VERSION = (1, 3, 3) __version__ = '.'.join(map(str, VERSION)) __author__ = 'Joe Vasquez' __email__ = 'joe.vasquez@gmail.com' __license__ = 'MIT'
30.5
41
0.650273
24
183
4.291667
0.791667
0.194175
0
0
0
0
0
0
0
0
0
0.025316
0.136612
183
6
42
30.5
0.626582
0.196721
0
0
0
0
0.246575
0.143836
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
56d64070737123e2a1fe8ad2cdb328ef5f1d6afc
77
py
Python
CodeUp/1152_10보다작은수.py
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
2
2020-12-30T03:35:51.000Z
2021-02-28T20:39:09.000Z
CodeUp/1152_10보다작은수.py
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
1
2020-12-08T08:48:40.000Z
2021-04-09T04:58:57.000Z
CodeUp/1152_10보다작은수.py
woorimlee/Algorithm-Repository
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
null
null
null
a = int(input()) if a < 10 : print("small") else : print("big")
11
18
0.467532
11
77
3.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0.038462
0.324675
77
6
19
12.833333
0.653846
0
0
0
0
0
0.103896
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
0
0
2
56e43e574c097624d7cc4d755ce6b382a96ac7b6
219
py
Python
app01.py
YA-androidapp/Book-FlaskApp-03-AddStaicFilesAndTemplates
2ccbda0b0707a240c3824f5d31457c293f8aa95b
[ "Apache-2.0" ]
null
null
null
app01.py
YA-androidapp/Book-FlaskApp-03-AddStaicFilesAndTemplates
2ccbda0b0707a240c3824f5d31457c293f8aa95b
[ "Apache-2.0" ]
null
null
null
app01.py
YA-androidapp/Book-FlaskApp-03-AddStaicFilesAndTemplates
2ccbda0b0707a240c3824f5d31457c293f8aa95b
[ "Apache-2.0" ]
null
null
null
from flask import Flask, redirect, url_for from markupsafe import escape app = Flask(__name__) @app.route('/') def index(): print(url_for('static', filename='icon.png')) return app.send_static_file('icon.png')
24.333333
49
0.721461
32
219
4.6875
0.65625
0.08
0
0
0
0
0
0
0
0
0
0
0.13242
219
9
50
24.333333
0.789474
0
0
0
0
0
0.104545
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.142857
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
0
0
1
0
0
2
56efd06e8d45906c55ba8332a46d55aa2ff8358b
698
py
Python
test/fix_name.py
xhuang98/Dtect
929d01945fd2768032dbb84d8ba1f62069132172
[ "MIT" ]
1
2021-12-25T01:43:43.000Z
2021-12-25T01:43:43.000Z
test/fix_name.py
xhuang98/Dtect
929d01945fd2768032dbb84d8ba1f62069132172
[ "MIT" ]
null
null
null
test/fix_name.py
xhuang98/Dtect
929d01945fd2768032dbb84d8ba1f62069132172
[ "MIT" ]
1
2021-09-02T15:30:04.000Z
2021-09-02T15:30:04.000Z
import os import json if __name__ == '__main__': f = open('coverage/codeclimate.json', 'r') summary = json.load(f) f.close() for i in range(len(summary['source_files'])): if summary['source_files'][i]['name'][0] == '/': path = summary['source_files'][i]['name'].replace('//', '/') ...
33.238095
72
0.524355
83
698
4.240964
0.445783
0.147727
0.204545
0.161932
0.355114
0
0
0
0
0
0
0.002062
0.305158
698
20
73
34.9
0.723711
0
0
0
0
0
0.184814
0.071633
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
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
0
0
0
2
56fa36196b16c7d3153b31b44fd82e66ce67cc2c
86
py
Python
tap_rockgympro/consts.py
cinchio/tap-rockgympro
aaf55111e40a74708639363cea6198f5e70eeeaf
[ "Apache-2.0" ]
1
2021-09-07T09:29:42.000Z
2021-09-07T09:29:42.000Z
tap_rockgympro/consts.py
cinchio/tap-rockgympro
aaf55111e40a74708639363cea6198f5e70eeeaf
[ "Apache-2.0" ]
null
null
null
tap_rockgympro/consts.py
cinchio/tap-rockgympro
aaf55111e40a74708639363cea6198f5e70eeeaf
[ "Apache-2.0" ]
null
null
null
ORDERED_STREAM_NAMES = ['facilities', 'customers', 'bookings', 'checkins', 'invoices']
86
86
0.732558
8
86
7.625
1
0
0
0
0
0
0
0
0
0
0
0
0.069767
86
1
86
86
0.7625
0
0
0
0
0
0.494253
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
710eaa9bc41c92a8622f37f457e57ace8494ee57
25,385
py
Python
eran/ELINA/python_interface/elina_coeff.py
pauls658/ReluDiff-ICSE2020-Artifact
212854fe04f482183c239e5dfec70106a9a83df8
[ "Apache-2.0" ]
7
2020-01-27T21:25:49.000Z
2022-01-07T04:37:37.000Z
eran/ELINA/python_interface/elina_coeff.py
yqtianust/ReluDiff-ICSE2020-Artifact
149f6efe4799602db749faa576980c36921a07c7
[ "Apache-2.0" ]
1
2022-01-25T17:41:54.000Z
2022-01-26T02:27:51.000Z
eran/ELINA/python_interface/elina_coeff.py
yqtianust/ReluDiff-ICSE2020-Artifact
149f6efe4799602db749faa576980c36921a07c7
[ "Apache-2.0" ]
3
2020-03-14T17:12:17.000Z
2022-03-16T09:50:46.000Z
# # # This source file is part of ELINA (ETH LIbrary for Numerical Analysis). # ELINA is Copyright © 2019 Department of Computer Science, ETH Zurich # This software is distributed under GNU Lesser General Public License Version 3.0. # For more information, see the ELINA project website at: # http://elina.ethz.ch #...
29.144661
111
0.658105
3,108
25,385
5.08269
0.078507
0.129138
0.086409
0.074445
0.796164
0.708616
0.604545
0.509401
0.433943
0.365702
0
0.002174
0.238842
25,385
870
112
29.178161
0.81534
0.343274
0
0.296429
0
0
0.272679
0.03504
0
0
0
0
0
1
0.103571
false
0.103571
0.003571
0
0.139286
0.225
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
711002166da834a891f4c7b037ed34b457c09408
936
py
Python
utils/gatekeeper.py
whiletrace/dwellinglybackend
e766b3d612b4c92fd337b82498ab8ef68bd95e1f
[ "MIT" ]
15
2020-07-09T20:51:09.000Z
2021-11-28T21:59:02.000Z
utils/gatekeeper.py
codeforpdx/dwellinglybackend
92fee6d19a68ae00750927b8700eaa7195b57668
[ "MIT" ]
148
2020-03-28T22:10:30.000Z
2021-12-19T09:22:59.000Z
utils/gatekeeper.py
whiletrace/dwellinglybackend
e766b3d612b4c92fd337b82498ab8ef68bd95e1f
[ "MIT" ]
30
2020-03-12T02:31:27.000Z
2021-07-29T02:40:36.000Z
from flask import current_app, request from functools import wraps from typing import Set def allowed_params(params: Set[str]): def decorator(endpoint): @wraps(endpoint) def verify_fields(*args, **kwargs): if not (request.json.keys() <= params): return invalid_field_err...
27.529412
88
0.66453
114
936
5.219298
0.412281
0.080672
0.060504
0.087395
0
0
0
0
0
0
0
0.004213
0.239316
936
33
89
28.363636
0.831461
0
0
0
0
0
0.137821
0
0
0
0
0
0
1
0.25
false
0
0.125
0.041667
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
0
1
0
0
2
71165b6a3988566ca2a96415e483f35d734b5e5c
2,081
py
Python
src/gbkfit/params/params.py
bek0s/gbkf
2ef56e8554fdf7ee8136141bc16d59bd34efa6c8
[ "BSD-3-Clause" ]
6
2016-06-26T16:52:25.000Z
2022-03-22T06:37:13.000Z
src/gbkfit/params/params.py
bek0s/gbkf
2ef56e8554fdf7ee8136141bc16d59bd34efa6c8
[ "BSD-3-Clause" ]
4
2016-07-30T08:11:20.000Z
2021-02-12T08:33:42.000Z
src/gbkfit/params/params.py
bek0s/gbkf
2ef56e8554fdf7ee8136141bc16d59bd34efa6c8
[ "BSD-3-Clause" ]
2
2015-05-18T03:21:56.000Z
2015-09-21T06:16:18.000Z
import copy import numbers from gbkfit.params.interpreter import ( Interpreter, load_exprs_file, dump_exprs_file) from gbkfit.params.utils import parse_param_values_strict from gbkfit.utils import parseutils def load_params_info_common(cls, info): desc = parseutils.make_basic_desc(cls, 'params') ...
29.309859
80
0.710716
262
2,081
5.312977
0.229008
0.064655
0.045977
0.056034
0.073276
0.073276
0
0
0
0
0
0
0.19606
2,081
70
81
29.728571
0.832038
0
0
0
0
0
0.039904
0.013462
0
0
0
0
0
1
0.215686
false
0
0.098039
0.137255
0.529412
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
0
0
0
2
711ba77d02afa51aa92c2a5601172430744cd942
467
py
Python
tardis/apps/equipment/urls.py
keithschulze/mytardis
8ed3562574ce990d42bfe96133185a82c31c27d4
[ "Apache-2.0" ]
null
null
null
tardis/apps/equipment/urls.py
keithschulze/mytardis
8ed3562574ce990d42bfe96133185a82c31c27d4
[ "Apache-2.0" ]
null
null
null
tardis/apps/equipment/urls.py
keithschulze/mytardis
8ed3562574ce990d42bfe96133185a82c31c27d4
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import patterns urlpatterns = patterns('', (r'^$', 'tardis.apps.equipment.views.index'), (r'^search/$', 'tardis.apps.equipment.views.search'), (r'^(?P<object_id>\d+)/$', 'tardis.apps.equipment.views.view_...
42.454545
76
0.441113
43
467
4.697674
0.488372
0.19802
0.376238
0.475248
0.277228
0
0
0
0
0
0
0
0.385439
467
10
77
46.7
0.703833
0
0
0
0
0
0.411135
0.38758
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
0
0
0
2
71290ff28eeef27fa1289d7f582ff081fb7a83c1
2,645
py
Python
Client/Classes/slide.py
crew/dds-client
5d530f053955df07b75410807816241a10b567d3
[ "MIT" ]
null
null
null
Client/Classes/slide.py
crew/dds-client
5d530f053955df07b75410807816241a10b567d3
[ "MIT" ]
null
null
null
Client/Classes/slide.py
crew/dds-client
5d530f053955df07b75410807816241a10b567d3
[ "MIT" ]
null
null
null
import json # TODO: Make symlinks between the Server and Client slide, message, and ConfigParser classes class Slide(): """ Class for Slide Show Slide Objects @ivar url: The Slide's URL @type url: String @ivar duration: The Duration to show the slide (in seconds) @type duration: Integer @i...
32.654321
97
0.582987
323
2,645
4.69969
0.303406
0.063241
0.047431
0.01581
0.300395
0.300395
0.300395
0.206851
0.135705
0.080369
0
0.003254
0.302836
2,645
80
98
33.0625
0.819957
0.056711
0
0
0
0
0.136488
0
0
0
0
0.025
0
0
null
null
0
0.04
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
712f74ba0feddfa2cbc236392371cf7d36c0e8d3
306
py
Python
ex035.py
danilodelucio/Exercicios_Curso_em_Video
d59e1b4efaf27dd0fc828a608201613c69ac333d
[ "MIT" ]
null
null
null
ex035.py
danilodelucio/Exercicios_Curso_em_Video
d59e1b4efaf27dd0fc828a608201613c69ac333d
[ "MIT" ]
null
null
null
ex035.py
danilodelucio/Exercicios_Curso_em_Video
d59e1b4efaf27dd0fc828a608201613c69ac333d
[ "MIT" ]
null
null
null
r1 = float(input('Primeiro seguimento: ')) r2 = float(input('Segundo seguimento: ')) r3 = float(input('Terceiro seguimento: ')) if r1 < r2 + r3 and r2 < r1 + r3 and r3 < r1 + r2: print('Os segmentos acima PODEM FORMAR UM TRIÂNGULO!') else: print('Os segmentos acima NÃO PODEM FORMAR UM TRIÂGULO!')
38.25
61
0.676471
45
306
4.6
0.488889
0.144928
0.154589
0.202899
0
0
0
0
0
0
0
0.048193
0.186275
306
7
62
43.714286
0.783133
0
0
0
0
0
0.506536
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
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
0
0
0
0
0
2
713212e94fcb5070eba40619572546d9533d74ef
406
py
Python
marvelmind_nav/launch/marvel_base_launch.py
aminballoon/ros_marvelmind_package
ca42a11d8c4205f0b15027eb32495b8abeddab52
[ "BSD-2-Clause" ]
null
null
null
marvelmind_nav/launch/marvel_base_launch.py
aminballoon/ros_marvelmind_package
ca42a11d8c4205f0b15027eb32495b8abeddab52
[ "BSD-2-Clause" ]
null
null
null
marvelmind_nav/launch/marvel_base_launch.py
aminballoon/ros_marvelmind_package
ca42a11d8c4205f0b15027eb32495b8abeddab52
[ "BSD-2-Clause" ]
null
null
null
from launch import LaunchDescription from launch_ros.actions import LifecycleNode # from launch_ros.actions import Node import sys def generate_launch_description(): return LaunchDescription([ LifecycleNode(package='marvelmind_nav', node_executable='marvelmind_nav', node_name='lc_marv...
31.230769
81
0.726601
47
406
6.085106
0.574468
0.104895
0.090909
0.13986
0.181818
0
0
0
0
0
0
0.00597
0.174877
406
13
82
31.230769
0.847761
0.086207
0
0
1
0
0.151351
0
0
0
0
0
0
1
0.2
false
0
0.3
0.1
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
7134af531e2e0820e6645888186d7ca8871d70c0
537
py
Python
api/test/checkalive_api.py
kizunai/flask-server
79f1484e776c74f23ef22836c5a0970ef66ecdfb
[ "Apache-2.0" ]
null
null
null
api/test/checkalive_api.py
kizunai/flask-server
79f1484e776c74f23ef22836c5a0970ef66ecdfb
[ "Apache-2.0" ]
null
null
null
api/test/checkalive_api.py
kizunai/flask-server
79f1484e776c74f23ef22836c5a0970ef66ecdfb
[ "Apache-2.0" ]
null
null
null
import flask from flask_restful import Resource from utils import decoraters from logic.test.checkalive_logic import CheckaliveLogic class CheckaliveApi(Resource): """CheckaliveApi /api/checkalive """ def __init__(self): self.log_id = 1 #todo 暂时用1代替 @decoraters.response_format def ge...
22.375
55
0.648045
61
537
5.508197
0.491803
0.133929
0.080357
0
0
0
0
0
0
0
0
0.010178
0.268156
537
23
56
23.347826
0.844784
0.09311
0
0
0
0
0
0
0
0
0
0.043478
0
1
0.142857
false
0
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
85423a2d8bf70f44a96088e677ba0a04dd9e70d8
111
py
Python
common/code/snippets/py/arr_of_chunks.py
nevesnunes/env
7a5e3816334337e04a87e1a2e4dc322215901744
[ "MIT" ]
4
2020-04-07T14:45:02.000Z
2021-12-28T22:43:16.000Z
common/code/snippets/py/arr_of_chunks.py
nevesnunes/env
7a5e3816334337e04a87e1a2e4dc322215901744
[ "MIT" ]
null
null
null
common/code/snippets/py/arr_of_chunks.py
nevesnunes/env
7a5e3816334337e04a87e1a2e4dc322215901744
[ "MIT" ]
2
2020-04-08T03:12:06.000Z
2021-03-04T20:33:03.000Z
#!/usr/bin/env python3 n = 2 l = "foo" chunks = [l[i - n : i] for i in range(n, len(l) + n, n)] print(chunks)
15.857143
56
0.54955
24
111
2.541667
0.625
0
0
0
0
0
0
0
0
0
0
0.023256
0.225225
111
6
57
18.5
0.686047
0.189189
0
0
0
0
0.033708
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
0
0
2
8550e0f799111032598a25724ac9a6b93b3a7b17
16,987
py
Python
pysnmp/S5-ETH-MULTISEG-TOPOLOGY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/S5-ETH-MULTISEG-TOPOLOGY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/S5-ETH-MULTISEG-TOPOLOGY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module S5-ETH-MULTISEG-TOPOLOGY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/S5-ETH-MULTISEG-TOPOLOGY-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:51:22 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python vers...
131.682171
2,404
0.761288
1,944
16,987
6.651235
0.109568
0.009435
0.013225
0.017633
0.482135
0.430394
0.399691
0.399691
0.399459
0.367131
0
0.093746
0.081297
16,987
128
2,405
132.710938
0.734781
0.020604
0
0
0
0
0.138381
0.031273
0
0
0
0
0
1
0
false
0.008264
0.07438
0
0.07438
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
855d1e26962f49014c24b4afe8ac214bdf01d675
3,251
py
Python
tests/test_technique.py
jansel/opentuner
070c5cef6d933eb760a2f9cd5cd08c95f27aee75
[ "MIT" ]
278
2015-01-11T16:07:19.000Z
2022-03-29T13:08:41.000Z
tests/test_technique.py
jansel/opentuner
070c5cef6d933eb760a2f9cd5cd08c95f27aee75
[ "MIT" ]
101
2015-01-07T20:47:02.000Z
2022-02-15T05:28:04.000Z
tests/test_technique.py
jansel/opentuner
070c5cef6d933eb760a2f9cd5cd08c95f27aee75
[ "MIT" ]
82
2015-02-18T01:14:48.000Z
2022-01-17T18:19:25.000Z
import unittest from builtins import next from unittest import mock from opentuner.search import manipulator from opentuner.search.composableevolutionarytechniques import ComposableEvolutionaryTechnique def faked_random(nums): f = fake_random(nums) def inner(*args, **kwargs): return next(f) ret...
38.702381
114
0.621347
318
3,251
6.116352
0.311321
0.049357
0.03856
0.034961
0.262211
0.246272
0.200514
0.144987
0.091517
0.042159
0
0.014774
0.271301
3,251
83
115
39.168675
0.806247
0.034143
0
0.103448
0
0
0.095952
0.018808
0
0
0
0.012048
0.086207
1
0.206897
false
0
0.086207
0.034483
0.413793
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
0
0
0
0
2
8570469a4159ec85e5ca9d14672a27c122fa4b13
355
py
Python
pystratis/api/global_requestmodels/sendtransactionrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
8
2021-06-30T20:44:22.000Z
2021-12-07T14:42:22.000Z
pystratis/api/global_requestmodels/sendtransactionrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
2
2021-07-01T11:50:18.000Z
2022-01-25T18:39:49.000Z
pystratis/api/global_requestmodels/sendtransactionrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
4
2021-07-01T04:36:42.000Z
2021-09-17T10:54:19.000Z
from pydantic import Field from pystratis.api import Model from pystratis.core.types import hexstr # noinspection PyUnresolvedReferences class SendTransactionRequest(Model): """A request model for multiple api endpoints. Args: transaction_hex (hexstr): The hexified transaction. """ transactio...
25.357143
59
0.752113
40
355
6.625
0.625
0.098113
0.150943
0
0
0
0
0
0
0
0
0
0.174648
355
13
60
27.307692
0.904437
0.402817
0
0
0
0
0.015544
0
0
0
0
0
0
1
0
true
0
0.6
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
8572d905f6530b7f5ae05752a4502d7789e2350b
362
py
Python
PWN/2019StarCTF/babyshell/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
13
2018-11-28T07:40:04.000Z
2022-02-05T15:14:27.000Z
PWN/2019StarCTF/babyshell/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
null
null
null
PWN/2019StarCTF/babyshell/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
3
2019-12-18T16:43:10.000Z
2021-09-10T05:45:07.000Z
from pwn import * context.arch = 'amd64' #io = process("./shellcode") io = remote('34.92.37.22', 10002) #gdb.attach(io,'handle SIGALRM nostop noprint\nb *0x4008cb\nc') io.recvuntil(":\n") io.sendline('\x00\x6a\x3b\xeb\x10\x48\x31\xc0\x5f\x48\x31\xf6\x48\x31\xd2\x48\x83\xc0\x3b\x0f\x05'+'\xe8\xeb\xff\xff\xff\x2f\x62\x...
32.909091
154
0.701657
67
362
3.791045
0.746269
0.070866
0
0
0
0
0
0
0
0
0
0.192308
0.066298
362
10
155
36.2
0.559172
0.245856
0
0
0
0.333333
0.571956
0.501845
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
85851779a1b382f22dd9a4248dacef833de10d4f
2,914
py
Python
gcp_runner/ai_platform_constants.py
vlasenkoalexey/gcp_runner
6570483f3a803b1d440b2e5aa56cd1d2151ef3ba
[ "Apache-2.0" ]
1
2020-04-26T21:01:24.000Z
2020-04-26T21:01:24.000Z
gcp_runner/ai_platform_constants.py
vlasenkoalexey/gcp_runner
6570483f3a803b1d440b2e5aa56cd1d2151ef3ba
[ "Apache-2.0" ]
1
2022-02-26T06:56:49.000Z
2022-02-26T06:56:49.000Z
gcp_runner/ai_platform_constants.py
vlasenkoalexey/gcp_runner
6570483f3a803b1d440b2e5aa56cd1d2151ef3ba
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: ai_platform_constants.ipynb (unless otherwise specified). __all__ = ['AcceleratorType', 'ScaleTier', 'MachineType', 'DistributionStrategyType'] # Cell from enum import Enum # https://cloud.google.com/sdk/gcloud/reference/ai-platform/jobs/submit/training#--master-accelerato...
37.358974
102
0.688401
379
2,914
5.097625
0.353562
0.065217
0.05176
0.029503
0.351967
0.073499
0.073499
0.073499
0.073499
0.073499
0
0.053265
0.201098
2,914
77
103
37.844156
0.776632
0.17639
0
0
1
0
0.35142
0.139959
0
0
0
0
0
1
0.021739
false
0
0.021739
0.021739
0.978261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
858ac88a4f9f2ee0d5dd8e950c9db71bd4cde1de
354
py
Python
hospital/urls.py
noRubidium/VampirePty
69d9d42c0c5eddc3b363270287e468064d8b3d6c
[ "MIT" ]
null
null
null
hospital/urls.py
noRubidium/VampirePty
69d9d42c0c5eddc3b363270287e468064d8b3d6c
[ "MIT" ]
null
null
null
hospital/urls.py
noRubidium/VampirePty
69d9d42c0c5eddc3b363270287e468064d8b3d6c
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^page/(\d+)/$', views.page, name='index'), url(r'^(\d+)/$', views.detail, name='index'), url(r'^(\d+)/bloods/$', views.blood_detail, name='index'), url(r'^(\d+)/donors/$', views...
32.181818
63
0.570621
49
354
4.081633
0.367347
0.1
0.24
0.26
0.27
0.2
0
0
0
0
0
0
0.163842
354
10
64
35.4
0.675676
0
0
0
0
0
0.226744
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
0
0
0
2
859ae9fb69a4a815ff51f428cb5a6fb889df4a0b
1,987
py
Python
build/lib/pyggi/line/engine.py
s-marta/pyggi-bloa
aefe15eda32e713dc8402c9b8d4bcb7cb05b31c8
[ "MIT" ]
null
null
null
build/lib/pyggi/line/engine.py
s-marta/pyggi-bloa
aefe15eda32e713dc8402c9b8d4bcb7cb05b31c8
[ "MIT" ]
null
null
null
build/lib/pyggi/line/engine.py
s-marta/pyggi-bloa
aefe15eda32e713dc8402c9b8d4bcb7cb05b31c8
[ "MIT" ]
1
2021-03-12T14:37:06.000Z
2021-03-12T14:37:06.000Z
from . import AbstractLineEngine class LineEngine(AbstractLineEngine): @classmethod def get_contents(cls, file_path): with open(file_path, 'r') as target_file: return list(map(str.rstrip, target_file.readlines())) @classmethod def get_modification_points(cls, contents_of_file): ...
35.482143
89
0.613488
271
1,987
4.210332
0.214022
0.029798
0.199825
0.210342
0.614373
0.537248
0.509202
0.509202
0.509202
0.509202
0
0.002791
0.278812
1,987
55
90
36.127273
0.79344
0.025667
0
0.479167
0
0
0.008277
0
0
0
0
0
0
1
0.145833
false
0
0.020833
0.0625
0.333333
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
0
0
0
2
85a75d4ad7786057bb8752bdfb76d74144bb1724
243
wsgi
Python
index.wsgi
liuzheng712/cbox
b27fdf01fbb76b10115600f465b99f8fd7f1ba3e
[ "MIT" ]
1
2016-01-17T14:53:48.000Z
2016-01-17T14:53:48.000Z
index.wsgi
liuzheng712/cbox
b27fdf01fbb76b10115600f465b99f8fd7f1ba3e
[ "MIT" ]
null
null
null
index.wsgi
liuzheng712/cbox
b27fdf01fbb76b10115600f465b99f8fd7f1ba3e
[ "MIT" ]
null
null
null
import sae def app(environ, start_response): status = '200 OK' response_headers = [('Content-type', 'text/plain')] start_response(status, response_headers) return [str(start_response)] application = sae.create_wsgi_app(app)
22.090909
55
0.716049
31
243
5.387097
0.645161
0.233533
0.227545
0
0
0
0
0
0
0
0
0.014706
0.160494
243
10
56
24.3
0.803922
0
0
0
0
0
0.115702
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a438f7b1e62d5a56791de43c94110f074a9264c7
7,752
py
Python
python/fate_arch/federation/transfer_variable/_generated_enhance_variable.py
hubert-he/FATE
6758e150bd7ca7d6f788f9a7a8c8aea7e6500363
[ "Apache-2.0" ]
3,787
2019-08-30T04:55:10.000Z
2022-03-31T23:30:07.000Z
python/fate_arch/federation/transfer_variable/_generated_enhance_variable.py
hubert-he/FATE
6758e150bd7ca7d6f788f9a7a8c8aea7e6500363
[ "Apache-2.0" ]
1,439
2019-08-29T16:35:52.000Z
2022-03-31T11:55:31.000Z
python/fate_arch/federation/transfer_variable/_generated_enhance_variable.py
hubert-he/FATE
6758e150bd7ca7d6f788f9a7a8c8aea7e6500363
[ "Apache-2.0" ]
1,179
2019-08-29T16:18:32.000Z
2022-03-31T12:55:38.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2019 The FATE Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/lic...
34.14978
86
0.665506
922
7,752
5.321041
0.165944
0.044843
0.057073
0.066042
0.622095
0.622095
0.622095
0.620465
0.614554
0.50428
0
0.005735
0.190273
7,752
226
87
34.300885
0.775848
0.132353
0
0.515385
0
0
0.085714
0
0
0
0
0
0.046154
1
0.253846
false
0
0.038462
0
0.584615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a444a1ff0dbf9455487419d420d61e3a7955901b
340
py
Python
models/paste.py
iryaniv/pastebin-crawler
d15fd6781c6209c4620d96df985ec760ef3321ca
[ "MIT" ]
null
null
null
models/paste.py
iryaniv/pastebin-crawler
d15fd6781c6209c4620d96df985ec760ef3321ca
[ "MIT" ]
null
null
null
models/paste.py
iryaniv/pastebin-crawler
d15fd6781c6209c4620d96df985ec760ef3321ca
[ "MIT" ]
null
null
null
class Paste: def __init__(self, paste_id, name, user, date, content): self.id = paste_id self.name = name self.user = user self.date = date self.content = content def __str__(self): return "{} - {} - by {} at {} \n {}".format(self.id, self.name, self.user, self....
28.333333
107
0.564706
45
340
4.044444
0.355556
0.076923
0.10989
0
0
0
0
0
0
0
0
0
0.291176
340
11
108
30.909091
0.755187
0
0
0
0
0
0.079646
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
a4594629138b32b8247f47802290c69c6e81c198
349
py
Python
fileshare/__init__.py
sqz269/fileshare-flask
33459a10ea3abfda52867628d849231365b32b95
[ "MIT" ]
4
2018-12-26T02:14:29.000Z
2019-12-05T05:37:07.000Z
fileshare/__init__.py
sqz269/ftp-flask
33459a10ea3abfda52867628d849231365b32b95
[ "MIT" ]
6
2018-12-26T03:37:43.000Z
2020-07-02T22:10:30.000Z
fileshare/__init__.py
sqz269/ftp-flask
33459a10ea3abfda52867628d849231365b32b95
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) from fileshare.site.views import site from fileshare.api.views import api from fileshare.api_admin.views import api_admin from fileshare.site_admin.views import site_admin app.register_blueprint(site) app.register_blueprint(api) app.register_blueprint(site_admin) app.r...
21.8125
49
0.842407
53
349
5.283019
0.226415
0.185714
0.285714
0.142857
0.207143
0
0
0
0
0
0
0
0.091691
349
15
50
23.266667
0.883281
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.4
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
0
0
0
2
a4782d0bc5bb18270fcd908cc440367a270780e4
958
py
Python
poptions/BlackScholes.py
Talha-Tariq/poptions
4bc54b7c31ec57a3b1094aafdd103c7d0a711519
[ "MIT" ]
27
2021-12-06T21:56:56.000Z
2022-03-13T20:44:30.000Z
poptions/BlackScholes.py
Talha-Tariq/poptions
4bc54b7c31ec57a3b1094aafdd103c7d0a711519
[ "MIT" ]
null
null
null
poptions/BlackScholes.py
Talha-Tariq/poptions
4bc54b7c31ec57a3b1094aafdd103c7d0a711519
[ "MIT" ]
7
2021-12-06T23:13:31.000Z
2021-12-18T04:00:58.000Z
from numba import jit from math import log, sqrt, exp, erf def blackScholesPut(s, k, rr, tt, sd): if tt == 0 and (s / k > 1): p = 0 elif tt == 0 and (s / k < 1): p = k - s elif tt == 0 and (s / k == 1): p = 0 else: d1 = (log(s / k) + (rr + (1 / 2) * sd ** 2) * tt) / (sd...
28.176471
109
0.387265
178
958
2.08427
0.162921
0.059299
0.097035
0.113208
0.700809
0.700809
0.700809
0.698113
0.617251
0.539084
0
0.096552
0.394572
958
33
110
29.030303
0.543103
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.074074
false
0
0.074074
0
0.222222
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
0
0
0
0
0
0
0
0
2
a47dfd8a85fa11294eeba0802fd320de772c838c
569
py
Python
django_select2_chained/__init__.py
djkartsa/django-select2-chained
63a57065a92d2934bda345ca2301151c799a0971
[ "MIT" ]
null
null
null
django_select2_chained/__init__.py
djkartsa/django-select2-chained
63a57065a92d2934bda345ca2301151c799a0971
[ "MIT" ]
2
2016-02-11T14:53:54.000Z
2016-04-09T04:06:26.000Z
django_select2_chained/__init__.py
djkartsa/django-select2-chained
63a57065a92d2934bda345ca2301151c799a0971
[ "MIT" ]
null
null
null
""" Chainable fields for Django-Select2_. .. _Django-Select2: https://github.com/applegrew/django-select2 Widgets ------- **Available widgets:** - :py:class:`.ChainedAutoSelect2Widget`, - :py:class:`.PrepopulatedSelect2Widget` Fields ------ **Available fields and mixins:** - :py:class:`.ChainedAutoModelSelect2Fi...
18.354839
63
0.743409
49
569
8.428571
0.612245
0.101695
0
0
0
0
0
0
0
0
0
0.021195
0.087873
569
30
64
18.966667
0.774566
0.848858
0
0
0
0
0.038961
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
a48a6e2b13af24cc7dc9ac36c9c5a8fbfb6e3bef
654
py
Python
LitterFilter/Event.py
mattdbartlett/LitterFilter
c03759a9cf7628774bdb73249fb3e64aea50d700
[ "MIT" ]
null
null
null
LitterFilter/Event.py
mattdbartlett/LitterFilter
c03759a9cf7628774bdb73249fb3e64aea50d700
[ "MIT" ]
null
null
null
LitterFilter/Event.py
mattdbartlett/LitterFilter
c03759a9cf7628774bdb73249fb3e64aea50d700
[ "MIT" ]
null
null
null
class EventGenerator(object): """ Evaluate event sources when run is called """ def __init__(self, stateMachine): self.__stateMachine = stateMachine self.__sources = list() def AddEventSource(self, eventSource): self.__sources.append(eventSource) def Run(self): ...
22.551724
57
0.625382
66
654
5.893939
0.424242
0.113111
0.056555
0
0
0
0
0
0
0
0
0.002151
0.288991
654
28
58
23.357143
0.834409
0.107034
0
0.125
0
0
0
0
0
0
0
0
0
1
0.3125
false
0.125
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
a492098555deaaa16a0fac0a4f18848c23573c77
1,133
py
Python
vspace_utils/templatetags/next_previous.py
visualspace/django-vspace-utils
9bf86354f8dbcf8ee8c308345836f824e2cd7a63
[ "BSD-3-Clause" ]
null
null
null
vspace_utils/templatetags/next_previous.py
visualspace/django-vspace-utils
9bf86354f8dbcf8ee8c308345836f824e2cd7a63
[ "BSD-3-Clause" ]
null
null
null
vspace_utils/templatetags/next_previous.py
visualspace/django-vspace-utils
9bf86354f8dbcf8ee8c308345836f824e2cd7a63
[ "BSD-3-Clause" ]
null
null
null
""" Efficient and generic get next/previous tags for the Django template language, using Alex Gaynor's excellent templatetag_sugar library. The library can be found at: http://pypi.python.org/pypi/django-templatetag-sugar Usage: {% load next_previous %} ... {% get_next in <queryset> after <object> as <ne...
29.815789
100
0.724625
148
1,133
5.432432
0.412162
0.052239
0.033582
0.063433
0.333333
0.333333
0.171642
0.171642
0.171642
0.171642
0
0.007179
0.139453
1,133
37
101
30.621622
0.817436
0.39541
0
0.153846
0
0
0.028065
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a49290cc7424f360317d50f2b068b197194ebd8a
251
py
Python
tests/fixtures.py
Apkawa/django-modeltranslation-rosetta
568354ceee201f891e1f9f6d1f5987dbdfa8f84a
[ "MIT" ]
null
null
null
tests/fixtures.py
Apkawa/django-modeltranslation-rosetta
568354ceee201f891e1f9f6d1f5987dbdfa8f84a
[ "MIT" ]
14
2020-01-06T16:18:37.000Z
2022-01-20T19:40:56.000Z
tests/fixtures.py
Apkawa/django-modeltranslation-rosetta
568354ceee201f891e1f9f6d1f5987dbdfa8f84a
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import unicode_literals import factory class ArticleFactory(factory.django.DjangoModelFactory): class Meta: model = 'tests.Article' title = factory.Faker('sentence') body = factory.Faker('text')
19.307692
56
0.717131
28
251
6.25
0.785714
0.137143
0
0
0
0
0
0
0
0
0
0.004878
0.183267
251
12
57
20.916667
0.84878
0.051793
0
0
0
0
0.105932
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f11540df96f4088719e10fce2174e7adbb4cfb75
423
py
Python
hippynn/graphs/nodes/__init__.py
tautomer/hippynn
df4504a5ea4680cfc61f490984dcddeac7ed99ee
[ "BSD-3-Clause" ]
21
2021-11-17T00:56:35.000Z
2022-03-22T05:57:11.000Z
hippynn/graphs/nodes/__init__.py
tautomer/hippynn
df4504a5ea4680cfc61f490984dcddeac7ed99ee
[ "BSD-3-Clause" ]
4
2021-12-17T16:16:53.000Z
2022-03-16T23:50:38.000Z
hippynn/graphs/nodes/__init__.py
tautomer/hippynn
df4504a5ea4680cfc61f490984dcddeac7ed99ee
[ "BSD-3-Clause" ]
6
2021-11-30T21:09:31.000Z
2022-03-18T07:07:32.000Z
""" Definitions of nodes for graph computation. """ import warnings from ... import settings if settings.DEBUG_NODE_CREATION: warnings.warn("Printing automatic node creation info! Output will be verbose.") def _debprint(*args, **kwargs): if settings.DEBUG_NODE_CREATION: print("AutoNode:", *args, **k...
21.15
83
0.704492
51
423
5.745098
0.72549
0.122867
0.102389
0.129693
0.1843
0
0
0
0
0
0
0
0.186761
423
19
84
22.263158
0.851744
0.101655
0
0.2
0
0
0.19086
0
0
0
0
0
0
1
0.1
true
0.1
0.3
0
0.4
0.2
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
0
0
2
f12d14efa8b178a7fd6e3c412a22307369c3675c
2,076
py
Python
src/config/config.py
mirzak/mender-python-client
383bd5d130fb67d3f38aa4a4442b0bd74ec29cca
[ "Apache-2.0" ]
null
null
null
src/config/config.py
mirzak/mender-python-client
383bd5d130fb67d3f38aa4a4442b0bd74ec29cca
[ "Apache-2.0" ]
null
null
null
src/config/config.py
mirzak/mender-python-client
383bd5d130fb67d3f38aa4a4442b0bd74ec29cca
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Northern.tech AS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
31.938462
84
0.664258
284
2,076
4.753521
0.440141
0.051852
0.017778
0.031111
0.12
0.054815
0
0
0
0
0
0.005125
0.248073
2,076
64
85
32.4375
0.859705
0.405588
0
0.263158
0
0
0.137417
0.042219
0
0
0
0.015625
0
1
0.052632
false
0.052632
0.052632
0
0.236842
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
1
0
0
0
0
0
2
f12dec8fdb6f941c195c95911262bfc88aa141b4
491
py
Python
kozmic/projects/__init__.py
artofhuman/kozmic-ci
930c06e0ad6d5a1fe16b81c036a1d676004eeb37
[ "BSD-3-Clause" ]
1
2021-06-05T18:36:13.000Z
2021-06-05T18:36:13.000Z
kozmic/projects/__init__.py
artofhuman/kozmic-ci
930c06e0ad6d5a1fe16b81c036a1d676004eeb37
[ "BSD-3-Clause" ]
null
null
null
kozmic/projects/__init__.py
artofhuman/kozmic-ci
930c06e0ad6d5a1fe16b81c036a1d676004eeb37
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 """ kozmic.projects ~~~~~~~~~~~~~~~ .. attribute:: bp :class:`flask.Blueprint` that provides all the means for managing and viewing projects. """ from flask import Blueprint from flask.ext.login import login_required bp = Blueprint('projects', __name__) @bp.before_request @login_required d...
15.34375
73
0.694501
62
491
5.33871
0.612903
0.054381
0
0
0
0
0
0
0
0
0
0.002481
0.179226
491
31
74
15.83871
0.818859
0.393075
0
0
0
0
0.027682
0
0
0
0
0
0
1
0.25
false
0.083333
0.25
0
0.5
0.166667
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
0
0
0
2
f13af8576792323da6a71722fc4b7ac0926a65e0
588
py
Python
purchase_order/views.py
Um9i/ERPv
f4bf8d801ad8f800107c92625123c1e59b439c40
[ "MIT" ]
8
2019-04-13T14:08:55.000Z
2022-03-06T10:53:44.000Z
purchase_order/views.py
Um9i/ERPv
f4bf8d801ad8f800107c92625123c1e59b439c40
[ "MIT" ]
16
2019-03-31T20:22:21.000Z
2022-01-15T11:43:57.000Z
purchase_order/views.py
Um9i/ERPv
f4bf8d801ad8f800107c92625123c1e59b439c40
[ "MIT" ]
null
null
null
from .models import PurchaseOrder, PurchaseOrderLine from .serializers import PurchaseOrderSerializer, PurchaseOrderLineSerializer from rest_framework import viewsets, permissions class PurchaseOrderViewSet(viewsets.ModelViewSet): queryset = PurchaseOrder.objects.all() serializer_class = PurchaseOrderSerializ...
36.75
77
0.833333
46
588
10.543478
0.5
0.082474
0.115464
0.103093
0
0
0
0
0
0
0
0
0.110544
588
15
78
39.2
0.927342
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f13c81c52509028ac8d8c36865997afd83cbf32b
367
py
Python
src/final_exam/q_survey/histogram_main.py
acc-cosc-1336/cosc-1336-spring-2018-jjmareck
7abfd79cb9a63192c965f828a185ccd981820bae
[ "MIT" ]
null
null
null
src/final_exam/q_survey/histogram_main.py
acc-cosc-1336/cosc-1336-spring-2018-jjmareck
7abfd79cb9a63192c965f828a185ccd981820bae
[ "MIT" ]
null
null
null
src/final_exam/q_survey/histogram_main.py
acc-cosc-1336/cosc-1336-spring-2018-jjmareck
7abfd79cb9a63192c965f828a185ccd981820bae
[ "MIT" ]
null
null
null
from histogram import display_histogram def main(): infile = open('survey.dat', 'r') line1 = infile.readline().split() line2 = infile.readline().split() line3 = infile.readline().split() infile.close() display_histogram(line1) print('') display_histogram(line2) prin...
19.315789
40
0.615804
38
367
5.842105
0.473684
0.288288
0.256757
0
0
0
0
0
0
0
0
0.021583
0.242507
367
18
41
20.388889
0.776978
0
0
0.153846
0
0
0.031519
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
0.153846
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f15d8051b598f82bae1097c948afd6ba6185c62e
69
py
Python
test_settings.py
praekelt/django-richcomments
e1b2e123bf46135fd2bdf8fa810e4995e641db72
[ "BSD-3-Clause" ]
2
2015-01-22T19:16:06.000Z
2015-04-28T19:12:45.000Z
test_settings.py
praekelt/django-richcomments
e1b2e123bf46135fd2bdf8fa810e4995e641db72
[ "BSD-3-Clause" ]
null
null
null
test_settings.py
praekelt/django-richcomments
e1b2e123bf46135fd2bdf8fa810e4995e641db72
[ "BSD-3-Clause" ]
null
null
null
DATABASE_ENGINE = 'sqlite3' INSTALLED_APPS = [ 'richcomments' ]
11.5
27
0.695652
6
69
7.666667
1
0
0
0
0
0
0
0
0
0
0
0.017857
0.188406
69
5
28
13.8
0.803571
0
0
0
0
0
0.275362
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f168e53e39bdfc41294178fc34531c937c9a2329
250
py
Python
code2/day13/demo03.py
picktsh/python
0f758dcdf9eee3580d8f6e2241ef557b6320ef54
[ "MIT" ]
1
2019-12-31T16:44:06.000Z
2019-12-31T16:44:06.000Z
code2/day13/demo03.py
picktsh/python
0f758dcdf9eee3580d8f6e2241ef557b6320ef54
[ "MIT" ]
null
null
null
code2/day13/demo03.py
picktsh/python
0f758dcdf9eee3580d8f6e2241ef557b6320ef54
[ "MIT" ]
1
2022-01-13T10:32:22.000Z
2022-01-13T10:32:22.000Z
# 如何在items.py里定义这些数据 import scrapy # 导入scrapy class DoubanItem(scrapy.Item): # 定义一个类DoubanItem,它继承自scrapy.Item title = scrapy.Field() # 定义书名的数据属性 publish = scrapy.Field() # 定义出版信息的数据属性 score = scrapy.Field() # 定义评分的数据属性
17.857143
37
0.68
24
250
7.083333
0.708333
0.194118
0
0
0
0
0
0
0
0
0
0
0.22
250
13
38
19.230769
0.871795
0.364
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
f177e6a7009b15c338ed0becd47586ed6aaec891
3,927
py
Python
tournament/tournament.py
ross-schlie/exercism-Python-track
4db690d11377377fc6f5cef6422da497272bbb31
[ "MIT" ]
null
null
null
tournament/tournament.py
ross-schlie/exercism-Python-track
4db690d11377377fc6f5cef6422da497272bbb31
[ "MIT" ]
null
null
null
tournament/tournament.py
ross-schlie/exercism-Python-track
4db690d11377377fc6f5cef6422da497272bbb31
[ "MIT" ]
null
null
null
"""exercism tournament module.""" class Team: def __init__(self, name): """A Team in a football tournament. Keeps track of a teams matches, wins, draws, losses and points. Parameters ---------- arg1 : string Name of the Team. """ self.name = n...
26.18
73
0.531958
464
3,927
4.390086
0.25
0.054001
0.051546
0.065292
0.215022
0.190476
0.16593
0.150221
0
0
0
0.013209
0.344538
3,927
149
74
26.355705
0.778166
0.276292
0
0.088608
0
0
0.064916
0.01651
0
0
0
0
0
1
0.21519
false
0
0
0.101266
0.379747
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
0
0
0
2
f182fcd36ab8f4942153a6e6391bae9fda5d3a4a
241
py
Python
core/test.py
tianyaqu/guess-your-song
3655ca2091b49c5934235c3fd8dd4442eed200d6
[ "MIT" ]
15
2015-08-01T01:57:14.000Z
2021-10-30T10:09:19.000Z
core/test.py
tianyaqu/guess-your-song
3655ca2091b49c5934235c3fd8dd4442eed200d6
[ "MIT" ]
null
null
null
core/test.py
tianyaqu/guess-your-song
3655ca2091b49c5934235c3fd8dd4442eed200d6
[ "MIT" ]
6
2016-04-10T14:49:15.000Z
2020-03-09T04:15:41.000Z
from melody_feature import * if __name__ == '__main__': file = 'alphaville-forever_young.mid' for k,note in note_from_midi_test(file): print k name = 'forever_youngy' + str(k)+'.txt' vector_to_file(note,name)
30.125
47
0.655602
34
241
4.176471
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.228216
241
8
48
30.125
0.763441
0
0
0
0
0
0.223141
0.115702
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
2
f1902cfe2ebb699e8ddbec6e13ef11d2cb8b9555
9,563
py
Python
pysnmp/ZYXEL-CLUSTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ZYXEL-CLUSTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ZYXEL-CLUSTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ZYXEL-CLUSTER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZYXEL-CLUSTER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:43:09 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
122.602564
1,687
0.768901
1,059
9,563
6.941454
0.144476
0.010339
0.013468
0.017957
0.367025
0.339954
0.278466
0.249218
0.204326
0.204326
0
0.082206
0.087943
9,563
77
1,688
124.194805
0.760605
0.034299
0
0
0
0
0.113917
0.013657
0
0
0
0
0
1
0
false
0.042857
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74ac7e93339846ec0bad689ce1665d3b13a2fec4
97
py
Python
config.py
interactionlab/android-notification-drawers
30c40282f57c3c57b5d906997426b23147b87277
[ "MIT" ]
2
2020-09-11T15:39:39.000Z
2020-10-19T16:14:27.000Z
config.py
interactionlab/android-notification-drawers
30c40282f57c3c57b5d906997426b23147b87277
[ "MIT" ]
null
null
null
config.py
interactionlab/android-notification-drawers
30c40282f57c3c57b5d906997426b23147b87277
[ "MIT" ]
null
null
null
NUM_CORES = 8 PATH_VALID_DEVICES = '/path/to/valid.pkl.gz' PATH_DEVICES_DIR = '/path/to/devices/'
32.333333
44
0.752577
17
97
4
0.588235
0.176471
0
0
0
0
0
0
0
0
0
0.011236
0.082474
97
3
45
32.333333
0.752809
0
0
0
0
0
0.387755
0.214286
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74b16a53c0b40e421151135394463431087aac11
600
py
Python
groupy/exc.py
zorkian/groupy
c5d112a936e246cba1af14738a7201dfd1257069
[ "Apache-2.0" ]
null
null
null
groupy/exc.py
zorkian/groupy
c5d112a936e246cba1af14738a7201dfd1257069
[ "Apache-2.0" ]
null
null
null
groupy/exc.py
zorkian/groupy
c5d112a936e246cba1af14738a7201dfd1257069
[ "Apache-2.0" ]
null
null
null
class Error(Exception): pass class BackendError(Error): def __init__(self, message, server): self.message = message self.server = server def __str__(self): return "({}:{}) - {}" % ( self.server.hostname, self.server.port, self.message ) class BackendConnectio...
15.789474
64
0.67
54
600
7.296296
0.37037
0.137056
0.213198
0
0
0
0
0
0
0
0
0
0.233333
600
37
65
16.216216
0.856522
0
0
0.318182
0
0
0.02
0
0
0
0
0
0
1
0.090909
false
0.318182
0
0.045455
0.5
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
1
0
0
0
0
0
2
74c605ad56148f8243d56a13d2c1c91bf87be5fb
1,126
py
Python
GoPiGo_J/src/server/daemons/server2.py
theplatypus/GoPiGo_Java
85544c93146d898bf08f0898350a9ef80da6754f
[ "Unlicense", "MIT" ]
1
2016-01-22T20:35:24.000Z
2016-01-22T20:35:24.000Z
GoPiGo_J/src/server/daemons/server2.py
theplatypus/GoPiGo_Java
85544c93146d898bf08f0898350a9ef80da6754f
[ "Unlicense", "MIT" ]
null
null
null
GoPiGo_J/src/server/daemons/server2.py
theplatypus/GoPiGo_Java
85544c93146d898bf08f0898350a9ef80da6754f
[ "Unlicense", "MIT" ]
null
null
null
#!/usr/bin/env python # This is a basic example for a socket server for the GoPiGo. # This allows the client to connects can be used to respond to the commands and run the GoPiGo # the socket server is running on Port 5005 on localhost # Send a single byte command to the server from the client: # # fwd #Move forwar...
31.277778
94
0.753996
189
1,126
4.42328
0.470899
0.038278
0.033493
0.035885
0.188995
0.141148
0.090909
0
0
0
0
0.013216
0.193606
1,126
35
95
32.171429
0.907489
0.853464
0
0
0
0
0.170732
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
74cf57d813aedb4d1919443807aec8fd07bf82ec
6,247
py
Python
utils/validation.py
gykovacs/ideal_binning_mv
536ed9f897e5470568b2a2768eb4a119c7df1fff
[ "MIT" ]
null
null
null
utils/validation.py
gykovacs/ideal_binning_mv
536ed9f897e5470568b2a2768eb4a119c7df1fff
[ "MIT" ]
null
null
null
utils/validation.py
gykovacs/ideal_binning_mv
536ed9f897e5470568b2a2768eb4a119c7df1fff
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jul 9 19:49:52 2020 @author: gykovacs """ import numpy as np # dimensionality n_d = 8 # bins n_bins = 3 def generate_template(): return np.round(np.random.rand(n_d)*10, decimals=0) def generate_eqw_binning(t): t_diff= (np.max(t) - np.min(t...
19.045732
122
0.60317
1,371
6,247
2.585704
0.07221
0.101551
0.057546
0.053597
0.649083
0.569535
0.515092
0.454443
0.423977
0.385049
0
0.025935
0.191452
6,247
327
123
19.103976
0.675906
0.038418
0
0.340782
1
0
0.001014
0
0
0
0
0
0
0
null
null
0
0.005587
null
null
0.022346
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
1
0
0
0
0
0
0
0
0
2
74e37ad87a05efcc33dc8d935bf247558d91a19e
434
py
Python
django_project/stocks/models.py
justinekang/Athena_Stocks
024826b7cf1bac78c570824b884a3310e5a8120e
[ "MIT" ]
1
2021-09-18T19:49:46.000Z
2021-09-18T19:49:46.000Z
django_project/stocks/models.py
webclinic017/Athena_Stocks
548a7ee40e41542b436753ff79f9a46c48312234
[ "MIT" ]
23
2021-07-06T22:27:47.000Z
2021-08-13T21:34:55.000Z
django_project/stocks/models.py
webclinic017/Athena_Stocks
548a7ee40e41542b436753ff79f9a46c48312234
[ "MIT" ]
11
2021-07-11T05:04:22.000Z
2021-09-18T19:49:43.000Z
from django.db import models from django.utils import timezone from django.contrib.auth.models import User # Create your models here. #inspired by https://docs.djangoproject.com/en/3.2/topics/db/models/ class Fav_Stocks(models.Model): user = models.CharField(max_length=100) stocks = models.TextField() date...
36.166667
68
0.774194
62
434
5.354839
0.677419
0.090361
0
0
0
0
0
0
0
0
0
0.013089
0.119816
434
11
69
39.454545
0.856021
0.209677
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2