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
3d4f4e1a387238d7b4f549edc3f2b67a707cc34d
635
py
Python
exasol_data_science_utils_python/preprocessing/sql/schema/schema_name.py
exasol/data-science-utils-python
44f4019b30f4945e14a8ee19c1a4f6bed68692d9
[ "MIT" ]
null
null
null
exasol_data_science_utils_python/preprocessing/sql/schema/schema_name.py
exasol/data-science-utils-python
44f4019b30f4945e14a8ee19c1a4f6bed68692d9
[ "MIT" ]
27
2021-06-04T15:45:21.000Z
2022-02-14T12:16:34.000Z
exasol_data_science_utils_python/preprocessing/sql/schema/schema_name.py
exasol/data-science-utils-python
44f4019b30f4945e14a8ee19c1a4f6bed68692d9
[ "MIT" ]
null
null
null
from typeguard import typechecked from exasol_data_science_utils_python.preprocessing.sql.schema.identifier import ExasolIdentifier from exasol_data_science_utils_python.utils.repr_generation_for_object import generate_repr_for_object class SchemaName(ExasolIdentifier): @typechecked def __init__(self, schema...
30.238095
102
0.749606
77
635
5.701299
0.454545
0.061503
0.063781
0.095672
0.145786
0.145786
0
0
0
0
0
0
0.179528
635
20
103
31.75
0.84261
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.214286
0.214286
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3d57527c27d305bc9bbefac505d77c1f418f95ca
2,883
py
Python
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/EnergyAnalysisDetailModelOptions.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/EnergyAnalysisDetailModelOptions.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Autodesk/Revit/DB/Analysis_parts/EnergyAnalysisDetailModelOptions.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class EnergyAnalysisDetailModelOptions(object,IDisposable): """ Options that govern the calculations for the generation of the energy analysis detail model. EnergyAnalysisDetailModelOptions() """ def Dispose(self): """ Dispose(self: EnergyAnalysisDetailModelOptions) """ pass def ReleaseUnmanage...
27.721154
215
0.741242
296
2,883
6.993243
0.293919
0.086957
0.052174
0.069565
0.246377
0.246377
0.246377
0.246377
0.246377
0.246377
0
0
0.154006
2,883
103
216
27.990291
0.848708
0.214707
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.315789
false
0.315789
0
0
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
3d60ff192c7219fdcc31632658fcf63aa0c8704e
89
py
Python
python/79.word-search.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/79.word-search.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/79.word-search.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
class Solution: def exist(self, board: List[List[str]], word: str) -> bool:
22.25
63
0.58427
12
89
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.258427
89
3
64
29.666667
0.787879
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e9e6d94ab842c52fdb40f0c276f03fa34b9dff05
595
py
Python
api/api/models/survey_result.py
arunrapolu4491/representation-grant-app
e9e70cb095be68211539a533708023c8842cded4
[ "Apache-2.0" ]
4
2020-04-06T23:42:41.000Z
2022-03-20T18:32:59.000Z
api/api/models/survey_result.py
arunrapolu4491/representation-grant-app
e9e70cb095be68211539a533708023c8842cded4
[ "Apache-2.0" ]
86
2020-03-11T01:33:07.000Z
2022-03-31T21:45:04.000Z
api/api/models/survey_result.py
arunrapolu4491/representation-grant-app
e9e70cb095be68211539a533708023c8842cded4
[ "Apache-2.0" ]
10
2020-01-22T17:28:35.000Z
2021-07-29T20:42:22.000Z
from django.db import models class SurveyResult(models.Model): create_timestamp = models.DateTimeField(auto_now_add=True, blank=True, null=True) update_timestamp = models.DateTimeField(auto_now=True, blank=True, null=True) completed_timestamp = models.DateTimeField(auto_now=True, blank=True, null=True) ...
37.1875
85
0.74958
76
595
5.697368
0.486842
0.103926
0.193995
0.221709
0.512702
0.258661
0.258661
0.258661
0.258661
0.258661
0
0.011719
0.139496
595
15
86
39.666667
0.833984
0
0
0
0
0
0.030252
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.818182
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e9ef5c1ee243ed64ce35307bcb6b5ce545612639
702
py
Python
dsvfile/Models/PowerSystem/PowerNetwork.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
2
2021-03-01T19:57:20.000Z
2021-08-02T20:54:48.000Z
dsvfile/Models/PowerSystem/PowerNetwork.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
dsvfile/Models/PowerSystem/PowerNetwork.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
from . import Model, Int32Field, ModelField, ArrayField from .PowerNetworkNode import PowerNetworkNode class PowerNetwork(Model): version = Int32Field() id = Int32Field() numNodes = Int32Field() numConsumers = Int32Field() numGenerators = Int32Field() numAccumulators = Int32Field() numExch...
39
77
0.757835
58
702
9.086207
0.396552
0.104364
0.197343
0.235294
0
0
0
0
0
0
0
0.040134
0.148148
702
17
78
41.294118
0.841137
0
0
0
0
0
0.086895
0
0
0
0
0
0
1
0
false
0
0.133333
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1803934c9fe32d26c1f1613306081145e75d26af
19,760
py
Python
tests/test_validator.py
TangoMan75/pyvalidator
277743353bc03b660c420228d355d59f10f944b6
[ "MIT" ]
null
null
null
tests/test_validator.py
TangoMan75/pyvalidator
277743353bc03b660c420228d355d59f10f944b6
[ "MIT" ]
null
null
null
tests/test_validator.py
TangoMan75/pyvalidator
277743353bc03b660c420228d355d59f10f944b6
[ "MIT" ]
null
null
null
#!/bin/python3 # -*- coding: utf-8 -*- """ This file is part of the TangoMan PyValidator package. (c) "Matthias Morin" <mat@tangoman.io> This source file is subject to the MIT license that is bundled with this source code in the file LICENSE. """ import collections.abc from unittest import TestCase from pyvali...
48.312958
96
0.651872
2,107
19,760
5.895112
0.068818
0.160132
0.164238
0.238145
0.828919
0.703728
0.617825
0.53635
0.459464
0.290798
0
0.001145
0.248482
19,760
408
97
48.431373
0.835286
0.04752
0
0.326816
0
0
0.050881
0
0
0
0
0
0.284916
1
0.03352
false
0.002793
0.011173
0
0.050279
0
0
0
0
null
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1808740ce9cc15bfa5e574c55720583f44fef138
165
py
Python
calendar_aoc.py
Panurus/aoc_2021
528676e5ae6cc818e78c55c625a3d8d74e92bb4c
[ "MIT" ]
null
null
null
calendar_aoc.py
Panurus/aoc_2021
528676e5ae6cc818e78c55c625a3d8d74e92bb4c
[ "MIT" ]
null
null
null
calendar_aoc.py
Panurus/aoc_2021
528676e5ae6cc818e78c55c625a3d8d74e92bb4c
[ "MIT" ]
null
null
null
import day1, day2, day3, day4, day5, day6 if __name__ == "__main__": day1.main() day2.main() day3.main() day4.main() day5.main() day6.main()
18.333333
41
0.581818
22
165
4
0.454545
0
0
0
0
0
0
0
0
0
0
0.096774
0.248485
165
9
42
18.333333
0.612903
0
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1820418523ac40300014a648740b99f3512f6016
274
py
Python
social/managers.py
zhongmei57485/SwiperPro
b00dde5af05f158d7cd2c649e8a07a2c19623b69
[ "Apache-2.0" ]
null
null
null
social/managers.py
zhongmei57485/SwiperPro
b00dde5af05f158d7cd2c649e8a07a2c19623b69
[ "Apache-2.0" ]
9
2019-12-04T23:48:54.000Z
2021-06-10T18:31:57.000Z
social/managers.py
zhongmei57485/SwiperPro
b00dde5af05f158d7cd2c649e8a07a2c19623b69
[ "Apache-2.0" ]
null
null
null
from django.db import models class FriendManager(models.Manager): """ Friend模型,自定义管理器 """ def make_friends(self,uid1,uid2): uid1, uid2 = (uid1, uid2) if uid1 < uid2 else (uid2, uid1) return self.objects.get_or_create(uid1=uid1, uid2=uid2)
22.833333
66
0.656934
37
274
4.783784
0.621622
0.225989
0.135593
0.180791
0
0
0
0
0
0
0
0.065728
0.222628
274
12
67
22.833333
0.765258
0.054745
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
182272fa7c9d40f9d895f6f6eeb1b30757963454
386
py
Python
sleepyscripts/border.py
anthonybench/Envi
eb1191699c38d149bea5ea0b4fbff763aa5f1379
[ "MIT" ]
null
null
null
sleepyscripts/border.py
anthonybench/Envi
eb1191699c38d149bea5ea0b4fbff763aa5f1379
[ "MIT" ]
null
null
null
sleepyscripts/border.py
anthonybench/Envi
eb1191699c38d149bea5ea0b4fbff763aa5f1379
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys s=10 m=20 l=50 if len(sys.argv) < 2: print("="*l) elif sys.argv[1] == 's': print("="*s) elif sys.argv[1] == 'm': print("="*m) elif sys.argv[1] == 'l': print("="*l) elif sys.argv[1] == 'ss': print("="*s + "\n") elif sys.argv[1] == 'ms': print("="*m + "\n") elif sys.argv[1...
14.846154
25
0.494819
70
386
2.728571
0.371429
0.256545
0.34555
0.376963
0.324607
0.188482
0
0
0
0
0
0.047468
0.181347
386
26
26
14.846154
0.556962
0.054404
0
0.142857
0
0
0.063014
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.380952
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
182a1d194185689131677ad7bd60a5f9bdca7e2d
15,044
py
Python
tests/functional/gtcs/test_conversion_error_from_string.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2022-02-05T11:37:13.000Z
2022-02-05T11:37:13.000Z
tests/functional/gtcs/test_conversion_error_from_string.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-09-03T11:47:00.000Z
2021-09-03T12:42:10.000Z
tests/functional/gtcs/test_conversion_error_from_string.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-06-30T14:14:16.000Z
2021-06-30T14:14:16.000Z
#coding:utf-8 # # id: functional.gtcs.conversion_error_from_string # title: GTCS/tests/CF_ISQL_31. Script issues conversion error from string "" # decription: # ::: NB ::: # ### Name of original test has no any relation with actual task of this test: ### # ...
34.268793
108
0.500133
1,795
15,044
3.987187
0.106407
0.073774
0.064552
0.067067
0.73215
0.659075
0.648037
0.63141
0.623026
0.623026
0
0.08357
0.439245
15,044
438
109
34.347032
0.764817
0.059559
0
0.721739
0
0.011594
0.964584
0.058649
0
0
0
0
0.002899
1
0.002899
false
0
0.005797
0
0.008696
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
182e7493a035970910f969c8ce752e0a6c45f6f5
1,833
py
Python
src/the_tale/the_tale/game/places/migrations/0005_auto_20160319_1713.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
85
2017-11-21T12:22:02.000Z
2022-03-27T23:07:17.000Z
src/the_tale/the_tale/game/places/migrations/0005_auto_20160319_1713.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
545
2017-11-04T14:15:04.000Z
2022-03-27T14:19:27.000Z
src/the_tale/the_tale/game/places/migrations/0005_auto_20160319_1713.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
45
2017-11-11T12:36:30.000Z
2022-02-25T06:10:44.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-03-19 17:13 from django.db import migrations, models import rels.django class Migration(migrations.Migration): dependencies = [ ('places', '0004_add_none_specialilization'), ] operations = [ migrations.AlterModelOptions( ...
24.44
62
0.497545
144
1,833
6.208333
0.375
0.14094
0.203579
0.261745
0.5
0.5
0.194631
0
0
0
0
0.019486
0.38407
1,833
74
63
24.77027
0.772365
0.035461
0
0.575758
1
0
0.114448
0.016997
0
0
0
0
0
1
0
false
0
0.030303
0
0.075758
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
18433cd9edf760cde27b11ec5743e2d543b0acdf
9,895
py
Python
website/members/migrations/0001_initial.py
eduzen/asoc_members
4466a714a6f3980227a2340f81cda795f51d4d61
[ "MIT" ]
9
2019-03-24T21:56:52.000Z
2022-03-14T04:21:48.000Z
website/members/migrations/0001_initial.py
eduzen/asoc_members
4466a714a6f3980227a2340f81cda795f51d4d61
[ "MIT" ]
111
2018-04-30T03:26:58.000Z
2021-12-01T13:06:24.000Z
website/members/migrations/0001_initial.py
eduzen/asoc_members
4466a714a6f3980227a2340f81cda795f51d4d61
[ "MIT" ]
23
2018-09-06T21:39:56.000Z
2022-03-25T15:08:52.000Z
# Generated by Django 2.0.4 on 2018-04-30 00:33 import django.core.validators from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
55.589888
199
0.589692
934
9,895
6.068522
0.162741
0.046577
0.040226
0.071983
0.774171
0.763761
0.716831
0.637085
0.629499
0.598095
0
0.013765
0.265791
9,895
177
200
55.903955
0.766414
0.004548
0
0.594118
1
0
0.14937
0.007007
0
0
0
0
0
1
0
false
0
0.023529
0
0.047059
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1848d71a8e2caafacc33750e4b9c4a9231a328a4
149
py
Python
Python/pyramid_pattern_alternate_numbers.py
Chanchal2125/Hacktoberfest2021_PatternMaking
c962f1e93f45a97351fbffc49ed1fc526741d772
[ "MIT" ]
1
2021-10-09T11:48:21.000Z
2021-10-09T11:48:21.000Z
Python/pyramid_pattern_alternate_numbers.py
Chanchal2125/Hacktoberfest2021_PatternMaking
c962f1e93f45a97351fbffc49ed1fc526741d772
[ "MIT" ]
null
null
null
Python/pyramid_pattern_alternate_numbers.py
Chanchal2125/Hacktoberfest2021_PatternMaking
c962f1e93f45a97351fbffc49ed1fc526741d772
[ "MIT" ]
null
null
null
n = int(input()) i = 1 while(i < n): j = 1 while(j <= i): print((i*2-1), end=" ") j = j+1 i = i + 1 print()
14.9
32
0.328859
25
149
1.96
0.4
0.081633
0
0
0
0
0
0
0
0
0
0.074074
0.456376
149
9
33
16.555556
0.530864
0
0
0
0
0
0.007143
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1859058503754ac4f7714fe1818f9491893789b6
400
py
Python
video/management/commands/loadvideos.py
chandojo/climbbeta
17b393535413d035d6cf831cab700c5fd2dc703c
[ "MIT" ]
1
2019-01-25T03:57:54.000Z
2019-01-25T03:57:54.000Z
video/management/commands/loadvideos.py
chandojo/climbbeta
17b393535413d035d6cf831cab700c5fd2dc703c
[ "MIT" ]
39
2019-03-29T17:13:06.000Z
2022-02-10T08:26:46.000Z
video/management/commands/loadvideos.py
chandojo/climbbeta
17b393535413d035d6cf831cab700c5fd2dc703c
[ "MIT" ]
1
2019-12-10T18:19:59.000Z
2019-12-10T18:19:59.000Z
from django.core import management from django.core.management.base import BaseCommand, CommandError from django.core.management.commands import loaddata from datetime import date class Command(BaseCommand): help = "Uploads video fixtures to database" def handle(self, *args, **options): today = str(da...
33.333333
67
0.745
49
400
6.061224
0.612245
0.10101
0.141414
0.161616
0
0
0
0
0
0
0
0
0.16
400
11
68
36.363636
0.883929
0
0
0
0
0
0.1175
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.888889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
185dd226dc4f81404f239f815af6e20db9f04e0c
866
py
Python
estimate_nft.py
pettitpeon/doe-nft-contract
0b1da9323df4c2a045d7979f7fe6f38db5d5406b
[ "MIT" ]
null
null
null
estimate_nft.py
pettitpeon/doe-nft-contract
0b1da9323df4c2a045d7979f7fe6f38db5d5406b
[ "MIT" ]
null
null
null
estimate_nft.py
pettitpeon/doe-nft-contract
0b1da9323df4c2a045d7979f7fe6f38db5d5406b
[ "MIT" ]
null
null
null
from web3 import Web3 import contracts.slp_doe_staking_contract as slp_doe_staking_contract import contracts.slp_eth_doe_contract as slp_eth_doe_contract import contracts.doe_doe_staking_contract as doe_doe_staking_contract import contracts.doe_nft_staking_contract as doe_nft_staking_contract import contracts.nft_contr...
37.652174
69
0.750577
115
866
5.252174
0.286957
0.149007
0.190397
0.149007
0.109272
0
0
0
0
0
0
0.01118
0.070439
866
22
70
39.363636
0.73913
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.066667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
186d8a5c78de629178eeaad2ac9db2296421165c
2,487
py
Python
tests/TestComplex_ptbf.py
Axonny/Protobuf
709e7d77f94e7482021c17fc18c441a1f2af5a1e
[ "MIT" ]
null
null
null
tests/TestComplex_ptbf.py
Axonny/Protobuf
709e7d77f94e7482021c17fc18c441a1f2af5a1e
[ "MIT" ]
null
null
null
tests/TestComplex_ptbf.py
Axonny/Protobuf
709e7d77f94e7482021c17fc18c441a1f2af5a1e
[ "MIT" ]
null
null
null
from protobuf.protobuf_types import Message from protobuf.protobuf_types import Int32Serializer from protobuf.protobuf_types import SignedInt32Serializer from protobuf.protobuf_types import DoubleSerializer from protobuf.protobuf_types import StringSerializer from protobuf.protobuf_types import Int64Serializer from pro...
25.377551
83
0.583032
355
2,487
3.811268
0.135211
0.044346
0.103474
0.14782
0.183296
0
0
0
0
0
0
0.022287
0.314435
2,487
97
84
25.639175
0.771261
0
0
0
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0.12
0.133333
0.546667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
186e392cab1f680ac6ac37c636b050c2d3923dbe
120
py
Python
fixture/base_fixture.py
daryakoryakina/python_training
6988d1aa76e743130e3a2922538a9fcfbc2b4664
[ "Apache-2.0" ]
null
null
null
fixture/base_fixture.py
daryakoryakina/python_training
6988d1aa76e743130e3a2922538a9fcfbc2b4664
[ "Apache-2.0" ]
null
null
null
fixture/base_fixture.py
daryakoryakina/python_training
6988d1aa76e743130e3a2922538a9fcfbc2b4664
[ "Apache-2.0" ]
null
null
null
from selenium.webdriver.common.by import By class BaseHelper: def __init__(self, app): self.app = app
10.909091
43
0.666667
16
120
4.75
0.75
0.184211
0
0
0
0
0
0
0
0
0
0
0.25
120
10
44
12
0.844444
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1879a605e2a9fdc18abfb0de0fabe7e8852fd704
1,364
py
Python
src/lib/test_environment/external_test_environment_parameter.py
SimonDudanski/integration-test-docker-environment
3ea81172248f770596d81ff378772677ab5656ea
[ "MIT" ]
4
2020-06-25T20:47:31.000Z
2021-09-10T15:22:51.000Z
src/lib/test_environment/external_test_environment_parameter.py
SimonDudanski/integration-test-docker-environment
3ea81172248f770596d81ff378772677ab5656ea
[ "MIT" ]
113
2020-06-02T08:51:08.000Z
2022-03-31T08:47:41.000Z
src/lib/test_environment/external_test_environment_parameter.py
SimonDudanski/integration-test-docker-environment
3ea81172248f770596d81ff378772677ab5656ea
[ "MIT" ]
2
2020-05-19T10:57:47.000Z
2020-06-22T13:32:20.000Z
import luigi from luigi import Config from luigi.parameter import ParameterVisibility class ExternalDatabaseXMLRPCParameter(Config): external_exasol_xmlrpc_host = luigi.OptionalParameter() external_exasol_xmlrpc_port = luigi.IntParameter(443) external_exasol_xmlrpc_user = luigi.OptionalParameter() ex...
47.034483
108
0.703812
107
1,364
8.64486
0.28972
0.166486
0.108108
0.194595
0.498378
0.262703
0.262703
0.262703
0
0
0
0.010711
0.247067
1,364
28
109
48.714286
0.889971
0
0
0.142857
0
0
0
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.809524
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
1
0
0
3
43eb3edf359536c3bb0ab62597b0860b333a0f7f
5,773
py
Python
nsz/ParseArguments.py
KWottrich/nsz
d0f97022f46078f6d5863f7bcdf9ec3fb317e83e
[ "MIT" ]
null
null
null
nsz/ParseArguments.py
KWottrich/nsz
d0f97022f46078f6d5863f7bcdf9ec3fb317e83e
[ "MIT" ]
null
null
null
nsz/ParseArguments.py
KWottrich/nsz
d0f97022f46078f6d5863f7bcdf9ec3fb317e83e
[ "MIT" ]
null
null
null
from argparse import ArgumentParser class ParseArguments: @staticmethod def parse(): parser = ArgumentParser() parser.add_argument('file',nargs='*') parser.add_argument('-C', action="store_true", help='Compress NSP/XCI') parser.add_argument('-D', action="store_true", help='Decompress NSZ/XCZ/NCZ') parser.a...
148.025641
838
0.756452
864
5,773
4.990741
0.378472
0.060529
0.114332
0.056122
0.205937
0.165353
0.092301
0.042208
0
0
0
0.007667
0.118829
5,773
38
839
151.921053
0.839984
0
0
0
0
0.333333
0.68907
0.052139
0
0
0
0
0
1
0.027778
false
0.027778
0.055556
0
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43f407d0e3d4029807e02d1d7438b60d0a37c8c9
648
py
Python
blog/templatetags/blog_tags.py
guokepo/myblog2
19cac164628685dced1ce667b7307490193983b6
[ "MIT" ]
null
null
null
blog/templatetags/blog_tags.py
guokepo/myblog2
19cac164628685dced1ce667b7307490193983b6
[ "MIT" ]
null
null
null
blog/templatetags/blog_tags.py
guokepo/myblog2
19cac164628685dced1ce667b7307490193983b6
[ "MIT" ]
null
null
null
from ..models import Post,Category,Tag from django import template from django.db.models.aggregates import Count register = template.Library() #实例化一个template.Library类,将get_recent_posts装饰为register.simple_tag @register.simple_tag def get_recent_posts(num=5): return Post.objects.all().order_by('-created_time')[:nu...
28.173913
85
0.785494
89
648
5.516854
0.483146
0.07332
0.10387
0.1222
0.224033
0.130346
0
0
0
0
0
0.003384
0.087963
648
23
86
28.173913
0.827411
0.137346
0
0.214286
0
0
0.075269
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.214286
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a104d3bdc9d1bb9f724481bb9b9cae12f55c55cc
3,469
py
Python
zhaquirks/yale/realliving.py
WolfRevo/zha-device-handlers
0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3
[ "Apache-2.0" ]
213
2020-04-16T10:48:31.000Z
2022-03-30T20:48:07.000Z
zhaquirks/yale/realliving.py
WolfRevo/zha-device-handlers
0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3
[ "Apache-2.0" ]
1,088
2020-04-03T13:23:29.000Z
2022-03-31T23:55:03.000Z
zhaquirks/yale/realliving.py
WolfRevo/zha-device-handlers
0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3
[ "Apache-2.0" ]
280
2020-04-24T08:44:27.000Z
2022-03-31T12:58:04.000Z
"""Device handler for Yale Real Living.""" from zigpy.profiles import zha from zigpy.quirks import CustomDevice from zigpy.zcl.clusters.closures import DoorLock from zigpy.zcl.clusters.general import Alarms, Basic, Identify, Ota, PollControl, Time from zhaquirks import DoublingPowerConfigurationCluster from zhaquirks....
32.12037
86
0.521188
308
3,469
5.63961
0.220779
0.165803
0.044905
0.043754
0.70236
0.70236
0.70236
0.665515
0.665515
0.665515
0
0.039637
0.396368
3,469
107
87
32.420561
0.789876
0.114154
0
0.666667
0
0
0.016721
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.137931
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a13338ad3215393efd27213829b7d79ef32f4404
178
py
Python
core/api/urls.py
code-review-doctor/lite-frontend-1
cb3b885bb389ea33ef003c916bea7b03a36d86bb
[ "MIT" ]
1
2021-10-16T16:36:58.000Z
2021-10-16T16:36:58.000Z
core/api/urls.py
code-review-doctor/lite-frontend-1
cb3b885bb389ea33ef003c916bea7b03a36d86bb
[ "MIT" ]
45
2020-08-11T14:37:46.000Z
2022-03-29T17:03:02.000Z
core/api/urls.py
code-review-doctor/lite-frontend-1
cb3b885bb389ea33ef003c916bea7b03a36d86bb
[ "MIT" ]
3
2021-02-01T06:26:19.000Z
2022-02-21T23:02:46.000Z
from django.urls import path from . import queues app_name = "api" urlpatterns = [ path("teams/<uuid:pk>/queues/", queues.TeamQueuesList.as_view(), name="team-queues"), ]
17.8
89
0.696629
24
178
5.083333
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.140449
178
9
90
19.777778
0.797386
0
0
0
0
0
0.207865
0.129213
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a14a818e00f4f3d4b2e7ec5907533ba3e985862d
19
py
Python
src/Selenium2Library/version.py
piaoransk/selenium2libForMyself
b6bb880c3aa8ab6e5ddaffdb574aab6150ae3604
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Selenium2Library/version.py
piaoransk/selenium2libForMyself
b6bb880c3aa8ab6e5ddaffdb574aab6150ae3604
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Selenium2Library/version.py
piaoransk/selenium2libForMyself
b6bb880c3aa8ab6e5ddaffdb574aab6150ae3604
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
VERSION = '1.8.xu'
9.5
18
0.578947
4
19
2.75
1
0
0
0
0
0
0
0
0
0
0
0.125
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.315789
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a14a90482424e9b3ea73e8c184df9e17339a424f
15,369
py
Python
src/spaceone/inventory/connector/aws_redshift_connector/schema/data.py
spaceone-dev/plugin-aws-cloud-service-inven-collector
aa252a41940e0941d4b0f7be7fc05d152da654dd
[ "Apache-2.0" ]
4
2020-06-22T01:48:07.000Z
2020-08-24T00:51:09.000Z
src/spaceone/inventory/connector/aws_redshift_connector/schema/data.py
spaceone-dev/plugin-aws-cloudservices
d685cf91edfbc2e570964fb95e5d4c1676f566f8
[ "Apache-2.0" ]
1
2022-02-10T04:38:11.000Z
2022-02-10T04:38:11.000Z
src/spaceone/inventory/connector/aws_redshift_connector/schema/data.py
spaceone-dev/plugin-aws-cloudservices
d685cf91edfbc2e570964fb95e5d4c1676f566f8
[ "Apache-2.0" ]
6
2020-06-22T09:19:40.000Z
2020-09-17T06:35:37.000Z
from schematics import Model from spaceone.inventory.libs.schema.resource import CloudWatchModel, CloudWatchDimensionModel from schematics.types import ModelType, StringType, IntType, DateTimeType, ListType, BooleanType, \ FloatType class Tags(Model): key = StringType(deserialize_from="Key") value = Strin...
53.926316
149
0.79771
1,364
15,369
8.639296
0.223607
0.210031
0.186694
0.03683
0.396555
0.326375
0.216565
0.150458
0.071707
0.059487
0
0.000074
0.117119
15,369
284
150
54.116197
0.868376
0
0
0.313636
0
0.004545
0.199294
0.082412
0
0
0
0
0
1
0.009091
false
0.004545
0.013636
0.009091
0.931818
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
1
0
0
3
a1642fe5a9d21e048e92ffd84c031fb4f8f08f43
265
py
Python
src/handlers/helix.py
lamas1901/telegram__pdf-bot
995bd3a41edba744efc07a99296ff109427ed310
[ "MIT" ]
null
null
null
src/handlers/helix.py
lamas1901/telegram__pdf-bot
995bd3a41edba744efc07a99296ff109427ed310
[ "MIT" ]
null
null
null
src/handlers/helix.py
lamas1901/telegram__pdf-bot
995bd3a41edba744efc07a99296ff109427ed310
[ "MIT" ]
null
null
null
from .keyboards import certificate_keyboard from aiogram.types import Message async def helix(message: Message) -> None: with open('previews/helix_preview.pdf', 'rb') as file: await message.answer_document(file, reply_markup=certificate_keyboard('helix'))
29.444444
83
0.781132
35
265
5.771429
0.714286
0.188119
0
0
0
0
0
0
0
0
0
0
0.116981
265
8
84
33.125
0.863248
0
0
0
0
0
0.124528
0.098113
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a168726dab7bf91bc09d6e9e808f287009fdbe34
179
py
Python
Python/IterTools/Medium/Compress the String/groupby.py
navjindervirdee/hackerrank
d0d0f77f770e4b092440a15f2740f63b65deb60b
[ "MIT" ]
2
2017-10-12T13:28:42.000Z
2020-07-28T11:25:05.000Z
Python/IterTools/Medium/Compress the String/groupby.py
navjindervirdee/hackerrank
d0d0f77f770e4b092440a15f2740f63b65deb60b
[ "MIT" ]
null
null
null
Python/IterTools/Medium/Compress the String/groupby.py
navjindervirdee/hackerrank
d0d0f77f770e4b092440a15f2740f63b65deb60b
[ "MIT" ]
5
2018-02-05T21:53:18.000Z
2021-10-03T06:27:45.000Z
from itertools import groupby string = str(input()) values = groupby(string) for key,group in values: print('(' + str(len(list(group))) + ', ' + str(key) + ') ',end = '')
29.833333
72
0.597765
23
179
4.652174
0.695652
0.242991
0
0
0
0
0
0
0
0
0
0
0.195531
179
6
73
29.833333
0.743056
0
0
0
0
0
0.027778
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1952b2ab69913f713d2a1d9ea34b021ccd0dd5c
496
py
Python
VolNodes/Nodes/SleepNode.py
n1ckfg/volumetricpipeline
374fc479817132030ef6e001e38d603847832a01
[ "MIT" ]
null
null
null
VolNodes/Nodes/SleepNode.py
n1ckfg/volumetricpipeline
374fc479817132030ef6e001e38d603847832a01
[ "MIT" ]
null
null
null
VolNodes/Nodes/SleepNode.py
n1ckfg/volumetricpipeline
374fc479817132030ef6e001e38d603847832a01
[ "MIT" ]
null
null
null
from Nodes.TemplateNode import TemplateNode import ryvencore_qt as rc import time class SleepNode(TemplateNode): "A Debugging node that will do nothing for 10 seconds" title = 'Sleep' init_inputs = [ rc.NodeInputBP() ] color = '#af3ecf' def __init__(self, params): super().__init...
26.105263
58
0.657258
59
496
5.355932
0.694915
0.113924
0
0
0
0
0
0
0
0
0
0.016173
0.252016
496
19
59
26.105263
0.83558
0.104839
0
0
0
0
0.128773
0
0
0
0
0
0
1
0.222222
false
0.055556
0.166667
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
a1a160a4ff352f43a74a0868c0a6170a3f52836b
40
py
Python
constant.py
mjj2000/SublimeUnitTestFileToggler
8eb8efd643d2bb6af9a5b21b25968d05934fd8ea
[ "MIT" ]
2
2016-12-09T08:31:59.000Z
2017-01-16T12:46:10.000Z
constant.py
mjj2000/SublimeUnitTestFileToggler
8eb8efd643d2bb6af9a5b21b25968d05934fd8ea
[ "MIT" ]
null
null
null
constant.py
mjj2000/SublimeUnitTestFileToggler
8eb8efd643d2bb6af9a5b21b25968d05934fd8ea
[ "MIT" ]
null
null
null
DEFAULT_TEST_FILE_NAME_SUFFIX = '.spec'
20
39
0.825
6
40
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.075
40
1
40
40
0.783784
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1b7572727756ba0c7ba2acb378e24f9e6bda4c9
237
py
Python
flexipy/api.py
JakubJecminek/flexipy
f6ac1cd6cb5028c56e1d747be87afdcd4eabbdae
[ "BSD-3-Clause" ]
3
2016-03-30T16:11:09.000Z
2017-12-05T12:11:54.000Z
flexipy/api.py
JakubJecminek/flexipy
f6ac1cd6cb5028c56e1d747be87afdcd4eabbdae
[ "BSD-3-Clause" ]
2
2017-02-16T15:19:55.000Z
2021-02-18T16:21:31.000Z
flexipy/api.py
JakubJecminek/flexipy
f6ac1cd6cb5028c56e1d747be87afdcd4eabbdae
[ "BSD-3-Clause" ]
3
2017-07-10T22:38:53.000Z
2021-01-28T16:29:53.000Z
# -*- coding: utf-8 -*- """ This module implements the flexipy API. :copyright: (c) 2012 by Jakub Ječmínek. :license: BSD, see LICENSE for more details. """ from adresar import Adresar from faktura import Faktura from bank import Banka
21.545455
44
0.729958
34
237
5.088235
0.794118
0
0
0
0
0
0
0
0
0
0
0.025253
0.164557
237
11
45
21.545455
0.848485
0.624473
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
a1c03cc58e300d518c61886f08766195f9b53676
216
py
Python
imp_flask/tasks/rowapplymods.py
thijsmie/imp_flask
2cad9f628c54572c02a5f893ef9c0cb1149b18ea
[ "MIT" ]
1
2019-06-13T07:28:02.000Z
2019-06-13T07:28:02.000Z
imp_flask/tasks/rowapplymods.py
k-automation/imp_flask
2cad9f628c54572c02a5f893ef9c0cb1149b18ea
[ "MIT" ]
4
2016-12-06T11:25:36.000Z
2021-04-29T07:43:14.000Z
imp_flask/tasks/rowapplymods.py
k-automation/imp_flask
2cad9f628c54572c02a5f893ef9c0cb1149b18ea
[ "MIT" ]
2
2017-09-06T14:26:04.000Z
2018-02-03T18:55:36.000Z
def rowapplymods(transactionrow): value = transactionrow.prevalue for mod in transactionrow.includes_mods: value = mod.apply(transactionrow.amount, value)[0] transactionrow.value = value
27
59
0.712963
22
216
6.954545
0.590909
0.248366
0
0
0
0
0
0
0
0
0
0.005848
0.208333
216
7
60
30.857143
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1cae34cad8bbc044f60429d1deb63279fc1ee1f
272
py
Python
tests/detectable_api/v0_0_2/__init__.py
ccharlesgb/fastapi-versioned
5488cda86665de5cb2d0cfce7ff5660e90c6358f
[ "MIT" ]
null
null
null
tests/detectable_api/v0_0_2/__init__.py
ccharlesgb/fastapi-versioned
5488cda86665de5cb2d0cfce7ff5660e90c6358f
[ "MIT" ]
null
null
null
tests/detectable_api/v0_0_2/__init__.py
ccharlesgb/fastapi-versioned
5488cda86665de5cb2d0cfce7ff5660e90c6358f
[ "MIT" ]
null
null
null
from fastapi.requests import Request from semantic_version import Version from fastapi_versioned import VersionRouter version = VersionRouter(Version("0.0.2")) @version.router.get("/test2") def route(request: Request): return {"version": str(request.app.version)}
22.666667
48
0.775735
35
272
5.971429
0.542857
0.105263
0
0
0
0
0
0
0
0
0
0.016529
0.110294
272
11
49
24.727273
0.847107
0
0
0
0
0
0.066176
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
a1d0f0e8152ce639b96c4b485d9c232287132417
3,001
py
Python
onirim/card/_base.py
cwahbong/onirim-py
d1110c4280d54e3b8b2d1dcef31ee433f32cb7e3
[ "MIT" ]
null
null
null
onirim/card/_base.py
cwahbong/onirim-py
d1110c4280d54e3b8b2d1dcef31ee433f32cb7e3
[ "MIT" ]
null
null
null
onirim/card/_base.py
cwahbong/onirim-py
d1110c4280d54e3b8b2d1dcef31ee433f32cb7e3
[ "MIT" ]
null
null
null
""" Inner module for enumerations and base types. """ import logging from onirim import util LOGGER = logging.getLogger(__name__) class Color(util.AutoNumberEnum): """ Enumerated colors of cards. Attributes: red blue green yellow """ red = () blue = () ...
23.263566
87
0.58114
375
3,001
4.44
0.298667
0.07027
0.031231
0.032432
0.221021
0.125526
0.102703
0.05045
0.05045
0.05045
0
0.003405
0.314895
3,001
128
88
23.445313
0.80642
0.27091
0
0.192982
0
0
0.075153
0
0
0
0
0
0
1
0.280702
false
0
0.035088
0.105263
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a1d300f34c732b7b2dd3171e610863735e7905a2
381
py
Python
api/uwkgm/database/drivers/data/mongo/triples/add.py
ichise-laboratory/uwkgm
6505fa5d524336b30505804a3d241143cb1fa4bf
[ "BSD-3-Clause" ]
null
null
null
api/uwkgm/database/drivers/data/mongo/triples/add.py
ichise-laboratory/uwkgm
6505fa5d524336b30505804a3d241143cb1fa4bf
[ "BSD-3-Clause" ]
6
2020-11-25T10:49:45.000Z
2021-09-22T18:50:03.000Z
api/uwkgm/database/drivers/data/mongo/triples/add.py
ichise-laboratory/uwkgm
6505fa5d524336b30505804a3d241143cb1fa4bf
[ "BSD-3-Clause" ]
1
2020-12-24T02:15:42.000Z
2020-12-24T02:15:42.000Z
"""MongoDB driver: Add triples to the triple modifier database The UWKGM project :copyright: (c) 2020 Ichise Laboratory at NII & AIST :author: Rungsiman Nararatwong """ from database.drivers.data.mongo import mongo def single(document: dict) -> str: """Adds a document containing an add-triple modifier""" r...
25.4
65
0.748031
52
381
5.442308
0.788462
0.09894
0
0
0
0
0
0
0
0
0
0.012308
0.146982
381
14
66
27.214286
0.858462
0.55643
0
0
0
0
0.044586
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
b806c5a25846dc229d73d030fdf2f791672bc49a
47
py
Python
server/manipulator/default_settings.py
aditya-mitra/featherify
9ccd7935c7984a6eeeae219786c10f3446d11f83
[ "MIT" ]
null
null
null
server/manipulator/default_settings.py
aditya-mitra/featherify
9ccd7935c7984a6eeeae219786c10f3446d11f83
[ "MIT" ]
null
null
null
server/manipulator/default_settings.py
aditya-mitra/featherify
9ccd7935c7984a6eeeae219786c10f3446d11f83
[ "MIT" ]
null
null
null
CONFIGURATION = "css" WIDTH = 30 HEIGHT = 30
7.833333
21
0.659574
6
47
5.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0.111111
0.234043
47
5
22
9.4
0.75
0
0
0
0
0
0.06383
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b81365cba153387849a7525d7cbfe340b28594e4
1,446
py
Python
HyperSphere/feature_map/modules/reduce_threshold.py
tomrunia/HyperSphere
4c3ff808970452840e300761f15cfa3aee5a0bbe
[ "BSD-2-Clause-FreeBSD" ]
1
2020-11-01T17:15:44.000Z
2020-11-01T17:15:44.000Z
HyperSphere/feature_map/modules/reduce_threshold.py
tomrunia/HyperSphere
4c3ff808970452840e300761f15cfa3aee5a0bbe
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
HyperSphere/feature_map/modules/reduce_threshold.py
tomrunia/HyperSphere
4c3ff808970452840e300761f15cfa3aee5a0bbe
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import scipy.stats as stats import sampyl as smp import torch from torch.nn.parameter import Parameter from HyperSphere.GP.modules.gp_modules import GPModule from HyperSphere.feature_map.functions import reduce_threshold from HyperSphere.feature_map.functionals import sigmoid_numpy, sigmoid_inv_numpy class ReduceThr...
31.434783
115
0.70816
201
1,446
4.865672
0.308458
0.102249
0.100205
0.164622
0.217791
0.190184
0.122699
0.122699
0.122699
0.122699
0
0.01281
0.19018
1,446
45
116
32.133333
0.822374
0
0
0
0
0
0
0
0
0
0
0
0
1
0.28125
false
0
0.21875
0.125
0.71875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
62a999bdef638a22597b73a418414e014b8d750e
75
py
Python
ml_prepare/_tfds/__init__.py
SamuelMarks/ml_prepare
7547c78ce500702c7f3d8142d430b4c591dc255a
[ "Apache-2.0", "MIT" ]
null
null
null
ml_prepare/_tfds/__init__.py
SamuelMarks/ml_prepare
7547c78ce500702c7f3d8142d430b4c591dc255a
[ "Apache-2.0", "MIT" ]
null
null
null
ml_prepare/_tfds/__init__.py
SamuelMarks/ml_prepare
7547c78ce500702c7f3d8142d430b4c591dc255a
[ "Apache-2.0", "MIT" ]
null
null
null
from .base import BaseImageLabelFolder __all__ = ["BaseImageLabelFolder"]
18.75
38
0.813333
6
75
9.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.106667
75
3
39
25
0.850746
0
0
0
0
0
0.266667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
62ba9b7d79041173170e8d9faf6325e88c6a67e7
295
py
Python
tests/utils_testing.py
awesome-archive/urh
c8c3aabc9d637ca660d8c72c3d8372055e0f3ec7
[ "Apache-2.0" ]
1
2017-06-21T02:37:16.000Z
2017-06-21T02:37:16.000Z
tests/utils_testing.py
dspmandavid/urh
30643c1a68634b1c97eb9989485a4e96a3b038ae
[ "Apache-2.0" ]
null
null
null
tests/utils_testing.py
dspmandavid/urh
30643c1a68634b1c97eb9989485a4e96a3b038ae
[ "Apache-2.0" ]
null
null
null
import os from PyQt5.QtWidgets import QApplication import sys app = QApplication(sys.argv) f = os.readlink(__file__) if os.path.islink(__file__) else __file__ path = os.path.realpath(os.path.join(f, "..")) def get_path_for_data_file(filename): return os.path.join(path, "data", filename)
24.583333
67
0.752542
46
295
4.478261
0.521739
0.116505
0.097087
0
0
0
0
0
0
0
0
0.003846
0.118644
295
12
68
24.583333
0.788462
0
0
0
0
0
0.02027
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
62bebe8a63fc00ff648a094be918a0aa3b81e935
259
py
Python
reverseSentence.py
VivekWesley/DS_and_Algo_Python
991a3f738e34c00c0480e0780989d46038fba47c
[ "MIT" ]
null
null
null
reverseSentence.py
VivekWesley/DS_and_Algo_Python
991a3f738e34c00c0480e0780989d46038fba47c
[ "MIT" ]
null
null
null
reverseSentence.py
VivekWesley/DS_and_Algo_Python
991a3f738e34c00c0480e0780989d46038fba47c
[ "MIT" ]
null
null
null
# reverse given string # Sample output: # string this reverse def reverse_sentence(sentence): words = sentence.split(" ") reverse = ' '.join(reversed(words)) return reverse sentence = "reverse this string" print (reverse_sentence(sentence))
17.266667
39
0.706564
29
259
6.241379
0.482759
0.248619
0.254144
0
0
0
0
0
0
0
0
0
0.185328
259
15
40
17.266667
0.85782
0.216216
0
0
0
0
0.105
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.166667
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
62c554ed5c0a1867dbdeee7c29c5e6ebd9b11fd3
1,431
py
Python
python/plugins/processing/tests/TestData.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
python/plugins/processing/tests/TestData.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
python/plugins/processing/tests/TestData.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
# -*- coding: utf-8 -*- """ *************************************************************************** TestData.py --------------------- Date : March 2013 Copyright : (C) 2013 by Victor Olaya Email : volayaf at gmail dot com *******************************...
33.27907
75
0.467505
129
1,431
5.023256
0.604651
0.055556
0.061728
0.074074
0.212963
0.083333
0
0
0
0
0
0.044248
0.289308
1,431
42
76
34.071429
0.59292
0.667365
0
0
0
0
0.282655
0.130621
0
0
0
0
0
1
0.25
false
0
0.083333
0.25
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
62cb66402feef395045b24bb89066ab3de09e25f
7,357
py
Python
app/engine/item_components/usable_components.py
ViolaBuddy/EscapeFromPlegia
5228b42e8525b445854d742dccf85ca65b320d70
[ "MIT" ]
null
null
null
app/engine/item_components/usable_components.py
ViolaBuddy/EscapeFromPlegia
5228b42e8525b445854d742dccf85ca65b320d70
[ "MIT" ]
null
null
null
app/engine/item_components/usable_components.py
ViolaBuddy/EscapeFromPlegia
5228b42e8525b445854d742dccf85ca65b320d70
[ "MIT" ]
null
null
null
from app.data.item_components import ItemComponent from app.data.components import Type from app.engine import action class Uses(ItemComponent): nid = 'uses' desc = "Number of uses of item" tag = 'uses' expose = Type.Int value = 1 def init(self, item): item.data['uses']...
32.84375
86
0.613293
976
7,357
4.533811
0.139344
0.075932
0.067797
0.047006
0.750282
0.720904
0.661017
0.614689
0.56678
0.536045
0
0.004074
0.266005
7,357
223
87
32.991031
0.81537
0.029768
0
0.521739
0
0
0.119103
0
0
0
0
0
0
1
0.236025
false
0.006211
0.024845
0.093168
0.720497
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1a1b5763046690a755bb00c0f60bed15c26b769e
1,039
py
Python
p2/core/migrations/0018_auto_20190515_0951.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/core/migrations/0018_auto_20190515_0951.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/core/migrations/0018_auto_20190515_0951.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-15 09:51 import django.contrib.postgres.fields.jsonb from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('p2_core', '0017_auto_20190503_1755'), ] operations = [ migrations.AlterField( model_name='bl...
29.685714
91
0.603465
107
1,039
5.785047
0.401869
0.105008
0.169628
0.218094
0.670436
0.61874
0.61874
0.61874
0.61874
0.61874
0
0.042553
0.276227
1,039
34
92
30.558824
0.780585
0.043311
0
0.571429
1
0
0.072581
0.023185
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a2116fb04f3c46be6f9f198c0ebc75d200f43c2
280
py
Python
tests/unit_tests.py
VamshiKrishnaUM/flask-social
08bebaa90b004088142141fb3f6c06af107d814c
[ "MIT" ]
173
2015-01-07T19:31:57.000Z
2022-02-01T18:01:15.000Z
tests/unit_tests.py
VamshiKrishnaUM/flask-social
08bebaa90b004088142141fb3f6c06af107d814c
[ "MIT" ]
19
2015-02-17T19:29:36.000Z
2018-06-05T21:55:26.000Z
tests/unit_tests.py
VamshiKrishnaUM/flask-social
08bebaa90b004088142141fb3f6c06af107d814c
[ "MIT" ]
99
2015-01-02T06:40:17.000Z
2021-05-26T10:03:37.000Z
from unittest import TestCase from flask_social.core import _SocialState class FlaskSocialUnitTests(TestCase): def test_social_state_raises_attribute_error(self): state = _SocialState(providers={}) self.assertRaises(AttributeError, lambda: state.something)
28
66
0.785714
30
280
7.066667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.146429
280
9
67
31.111111
0.887029
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1a2648d43bfe9da70d8134bd60f2d026f42a47c5
761
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/EGL/NV/post_sub_buffer.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/EGL/NV/post_sub_buffer.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/EGL/NV/post_sub_buffer.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.EGL import _types as _cs # End users want this... from OpenGL.raw.EGL._types import * from OpenGL.raw.EGL import _errors from OpenGL.constant import Constant as _C imp...
42.277778
118
0.795007
119
761
4.714286
0.478992
0.089127
0.092692
0.085562
0.338681
0.153298
0
0
0
0
0
0.004425
0.109067
761
17
119
44.764706
0.823009
0.131406
0
0
1
0
0.119309
0.119309
0
0
0.009419
0
0
1
0.153846
false
0.076923
0.461538
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
1a2d288648b64347a9029b3ffb9c3cc739f863de
321
py
Python
mdm_inventory/products/graphql/query.py
TeamWalls/mdm-backend-django
4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d
[ "MIT" ]
null
null
null
mdm_inventory/products/graphql/query.py
TeamWalls/mdm-backend-django
4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d
[ "MIT" ]
null
null
null
mdm_inventory/products/graphql/query.py
TeamWalls/mdm-backend-django
4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d
[ "MIT" ]
null
null
null
import graphene #models from mdm_inventory.products.models import Product #types from mdm_inventory.products.graphql.types import ProductType class QueryProduct(graphene.ObjectType): products = graphene.List(ProductType) def resolve_products(root, info): return Product.objects.filter(is_active=True)...
22.928571
60
0.794393
39
321
6.435897
0.641026
0.055777
0.12749
0.191235
0
0
0
0
0
0
0
0
0.130841
321
13
61
24.692308
0.899642
0.034268
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
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
1
1
0
0
0
3
a7e61ed25750841569d4835ed5d5aa9a20818435
127
py
Python
django_otp/fields/__init__.py
brucedockeray-projects/django-good-otp
7328ff84c4f31947bc92a529edbfad613730a671
[ "MIT" ]
19
2018-09-04T12:16:16.000Z
2021-11-04T18:07:37.000Z
django_otp/fields/__init__.py
brucedockeray-projects/django-good-otp
7328ff84c4f31947bc92a529edbfad613730a671
[ "MIT" ]
40
2016-12-31T05:01:11.000Z
2022-01-29T02:51:52.000Z
django_otp/fields/__init__.py
brucedockeray-projects/django-good-otp
7328ff84c4f31947bc92a529edbfad613730a671
[ "MIT" ]
5
2019-04-04T21:38:31.000Z
2021-03-09T05:33:45.000Z
#!/usr/bin/env python # coding=utf-8 """Django OTP fields.""" from .otp_gen import OTPGenField __all__ = ("OTPGenField", )
12.7
32
0.677165
17
127
4.764706
0.882353
0
0
0
0
0
0
0
0
0
0
0.009259
0.149606
127
9
33
14.111111
0.740741
0.409449
0
0
0
0
0.161765
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c515bb2ac1c1a4f7273f3655985d6a9d1fe0d45d
979
py
Python
data_facility_admin/migrations/0036_auto_20190619_1759.py
NYU-CI/dfadmin
071f38c62aea8ef8bf4ae82dbd672694e719b9bf
[ "CC0-1.0" ]
1
2021-04-08T05:22:35.000Z
2021-04-08T05:22:35.000Z
data_facility_admin/migrations/0036_auto_20190619_1759.py
NYU-CI/dfadmin
071f38c62aea8ef8bf4ae82dbd672694e719b9bf
[ "CC0-1.0" ]
8
2019-08-05T18:16:07.000Z
2019-10-29T18:42:53.000Z
data_facility_admin/migrations/0036_auto_20190619_1759.py
NYU-CI/dfadmin
071f38c62aea8ef8bf4ae82dbd672694e719b9bf
[ "CC0-1.0" ]
2
2019-09-11T15:24:32.000Z
2020-01-08T20:34:05.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.21 on 2019-06-19 21:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('data_facility_admin', '0035_auto_20190515_0920'), ] operations = [ migrati...
27.194444
62
0.581205
95
979
5.842105
0.473684
0.12973
0.165766
0.194595
0.634234
0.634234
0.524324
0.524324
0.524324
0.425225
0
0.049708
0.301328
979
35
63
27.971429
0.761696
0.07048
0
0.714286
1
0
0.116869
0.025358
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c51e24fa1b6c1e0a26426f3543d4b6c41f2d824e
144
py
Python
pythonProject1/2.py
viniTWL/Python-Projects
1c4d2417efd896623263287b1d2391f7c551674c
[ "MIT" ]
1
2021-10-17T13:00:19.000Z
2021-10-17T13:00:19.000Z
pythonProject1/2.py
viniTWL/Python-Projects
1c4d2417efd896623263287b1d2391f7c551674c
[ "MIT" ]
null
null
null
pythonProject1/2.py
viniTWL/Python-Projects
1c4d2417efd896623263287b1d2391f7c551674c
[ "MIT" ]
null
null
null
n = (int(input('Digite um número:'))) print('O seu dobro é {}, o seu triplo é {}, e sua raiz quadrada é {:.1f}.'.format(n*2, n*3, n**(1/2)))
28.8
102
0.5625
29
144
2.793103
0.724138
0.098765
0
0
0
0
0
0
0
0
0
0.042373
0.180556
144
4
103
36
0.644068
0
0
0
0
0
0.591549
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c53179980d45fbf474d4d38d76a20a7e71119e8f
20,308
py
Python
test/conftest.py
cvisionai/tator-py
89d5ed3bfc3e824bdf73b6c0fc43180e09dc3782
[ "MIT" ]
2
2020-06-11T02:17:43.000Z
2021-01-27T14:41:07.000Z
test/conftest.py
cvisionai/tator-py
89d5ed3bfc3e824bdf73b6c0fc43180e09dc3782
[ "MIT" ]
39
2020-06-08T15:12:47.000Z
2022-03-31T20:05:17.000Z
test/conftest.py
cvisionai/tator-py
89d5ed3bfc3e824bdf73b6c0fc43180e09dc3782
[ "MIT" ]
1
2020-06-13T00:09:10.000Z
2020-06-13T00:09:10.000Z
import datetime import os import shutil import time import tarfile import yaml from uuid import uuid1 import pytest import requests def pytest_addoption(parser): parser.addoption('--host', help='Tator host', default='https://adamant.duckdns.org') parser.addoption('--token', help='API token', default='') p...
34.478778
112
0.650926
2,542
20,308
4.980724
0.0893
0.036016
0.079536
0.053313
0.789353
0.75081
0.721744
0.688176
0.6708
0.668352
0
0.006188
0.236114
20,308
588
113
34.537415
0.809966
0.01886
0
0.659176
0
0
0.147876
0.01533
0
0
0
0
0.003745
1
0.058052
false
0
0.061798
0.001873
0.121723
0.020599
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c53349a360226e0998719b19857cacefa52a61bb
444
py
Python
src/step1.py
mrboran/mnist_digit_classifier
f44260f68fcc8447f8687e18ddade6ee6aed7e8e
[ "MIT" ]
null
null
null
src/step1.py
mrboran/mnist_digit_classifier
f44260f68fcc8447f8687e18ddade6ee6aed7e8e
[ "MIT" ]
null
null
null
src/step1.py
mrboran/mnist_digit_classifier
f44260f68fcc8447f8687e18ddade6ee6aed7e8e
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import keras from keras.models import Sequential from keras.datasets import mnist from keras.layers import Dense from keras.optimizers import Adam from keras.utils.np_utils import to_categorical import random np.random.seed(0) #import 6000 images from mnist data set ...
22.2
56
0.804054
76
444
4.565789
0.447368
0.129683
0
0
0
0
0
0
0
0
0
0.015345
0.119369
444
19
57
23.368421
0.872123
0.085586
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.642857
0
0.642857
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
c54ac09678041d25e009085127b18e1c151f7847
1,162
py
Python
km/decorators.py
SDTakeuchi/kiitePRJCT
ca9712ec435971a916e206b760b88a10e7ccbb28
[ "MIT" ]
1
2021-07-29T02:28:05.000Z
2021-07-29T02:28:05.000Z
km/decorators.py
SDTakeuchi/kiitePRJCT
ca9712ec435971a916e206b760b88a10e7ccbb28
[ "MIT" ]
null
null
null
km/decorators.py
SDTakeuchi/kiitePRJCT
ca9712ec435971a916e206b760b88a10e7ccbb28
[ "MIT" ]
null
null
null
#restricting access to certain pages depending on the user's status--------------------- from django.http import HttpResponse from django.shortcuts import redirect def unauthenticated_user(view_func): def wrapper_func(request, *arg, **kwargs): if request.user.is_authenticated: return redirect...
30.578947
88
0.6179
129
1,162
5.426357
0.379845
0.068571
0.12
0.171429
0.325714
0.325714
0.282857
0.282857
0.114286
0
0
0.001183
0.272806
1,162
38
89
30.578947
0.827219
0.074871
0
0.5
0
0
0.04186
0.025116
0
0
0
0
0
1
0.25
false
0
0.071429
0
0.678571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c5607b7d4c355ff699cdf2895e32163cd35dbb84
228
py
Python
01 Fundamental/Session 03/homework/ex2-2.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
01 Fundamental/Session 03/homework/ex2-2.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
01 Fundamental/Session 03/homework/ex2-2.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
sheep_size = [5,7,300,90,24,50,75] print("Hello, my name is Duy Anh and these are my sheep sizes") print(sheep_size) biggest_sheep = max(sheep_size) print() print("Now my biggest sheep has size",biggest_sheep,"let's shear it")
28.5
69
0.741228
44
228
3.727273
0.636364
0.164634
0.195122
0
0
0
0
0
0
0
0
0.065327
0.127193
228
7
70
32.571429
0.758794
0
0
0
0
0
0.425439
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c56c75791cb8f369ae318a24ceb8f28c183ce656
540
py
Python
plugins/penguin/Penguin.py
Aberdeener/slippers
14a2fa507b7898ec062f791bd2c24af67178d45e
[ "MIT" ]
null
null
null
plugins/penguin/Penguin.py
Aberdeener/slippers
14a2fa507b7898ec062f791bd2c24af67178d45e
[ "MIT" ]
null
null
null
plugins/penguin/Penguin.py
Aberdeener/slippers
14a2fa507b7898ec062f791bd2c24af67178d45e
[ "MIT" ]
1
2021-10-31T20:09:05.000Z
2021-10-31T20:09:05.000Z
from world.dataHandler.pluginManager.Plugin import Plugin class Penguin(Plugin): """ A plugin that enables essential player features. """ def __init__(self, users, rooms, packet): super(Penguin, self).__init__(users, rooms, packet) def heartbeat(self, data, user): user.send(["h", ...
24.545455
59
0.598148
69
540
4.521739
0.492754
0.102564
0.153846
0.205128
0.294872
0.230769
0
0
0
0
0
0.009662
0.233333
540
21
60
25.714286
0.743961
0.088889
0
0
0
0
0.031513
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c57188341cbca15c52683b1808d1c9e6fb472c00
666
py
Python
crawler_mongo.py
9527A/practice
03a20a8e4a3554b18d9809d32f51712e1adf0f02
[ "MIT" ]
null
null
null
crawler_mongo.py
9527A/practice
03a20a8e4a3554b18d9809d32f51712e1adf0f02
[ "MIT" ]
null
null
null
crawler_mongo.py
9527A/practice
03a20a8e4a3554b18d9809d32f51712e1adf0f02
[ "MIT" ]
null
null
null
import pymongo def data_seve(mydict): myclient = pymongo.MongoClient("mongodb://localhost:27017/") mydb = myclient["cralwer"] mycol = mydb["data"] for m in mydict: if m in mycol.find(): pass else: x = mycol.insert_one(m) def data_get(): ...
19.588235
65
0.56006
72
666
5.125
0.388889
0.121951
0.211382
0.268293
0.642276
0.642276
0.642276
0.642276
0.642276
0.642276
0
0.032258
0.301802
666
33
66
20.181818
0.76129
0
0
0.428571
0
0
0.175911
0.123613
0
0
0
0
0
1
0.142857
false
0.047619
0.047619
0
0.238095
0
0
0
0
null
0
1
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
3
c575e7ce6af1c25c8265bcf17ee6efccc95db94e
1,816
py
Python
python-burp-crypto/2-external/library.py
parsiya/Parsia-Code
e75bd9f7f295e6d8e584de67f90dd02cb75ae915
[ "MIT" ]
21
2018-09-10T03:09:17.000Z
2022-02-07T09:20:03.000Z
python-burp-crypto/2-external/library.py
parsiya/Parsia-Code
e75bd9f7f295e6d8e584de67f90dd02cb75ae915
[ "MIT" ]
1
2019-11-10T21:17:23.000Z
2020-01-19T04:36:19.000Z
python-burp-crypto/2-external/library.py
parsiya/Parsia-Code
e75bd9f7f295e6d8e584de67f90dd02cb75ae915
[ "MIT" ]
8
2019-10-11T23:29:58.000Z
2021-05-26T12:11:43.000Z
# 2-external/library.py from subprocess import Popen, PIPE import sys # getInfo processes the request/response and returns info def getInfo(content, isRequest, helpers): if isRequest: return helpers.analyzeRequest(content) else: return helpers.analyzeResponse(content) # getBody re...
36.32
91
0.730176
226
1,816
5.867257
0.371681
0.037707
0.086727
0.067873
0.208145
0.085973
0.085973
0.085973
0
0
0
0.014228
0.187225
1,816
49
92
37.061224
0.884146
0.351322
0
0.066667
0
0
0.033989
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.133333
0.633333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3d772633bfb1ee390692f8f41b74efdaf2c64e45
2,069
py
Python
core/parser.py
Weenkus/on_power_efficient_virtual_network_function_placement_algorithm
09621bd083ff13afdfb76a6629478cb16e6c8a9c
[ "MIT" ]
1
2019-12-09T17:52:05.000Z
2019-12-09T17:52:05.000Z
core/parser.py
Weenkus/on_power_efficient_virtual_network_function_placement_algorithm
09621bd083ff13afdfb76a6629478cb16e6c8a9c
[ "MIT" ]
null
null
null
core/parser.py
Weenkus/on_power_efficient_virtual_network_function_placement_algorithm
09621bd083ff13afdfb76a6629478cb16e6c8a9c
[ "MIT" ]
null
null
null
from numpy import loadtxt from io import StringIO class Parser(object): integer_variables = ('numServers', 'numVms', 'numRes', 'numNodes', 'numServiceChains') list_variables = ('lat', 'P_max', 'P_min', 'P') matrix_variables = ('req', 'av', 'al', 'sc') list_vector_variables = ('Edges', 'VmDemands') ...
29.985507
90
0.61914
246
2,069
4.865854
0.321138
0.083542
0.06015
0.030075
0.135338
0.135338
0.068505
0.068505
0.068505
0.068505
0
0.005096
0.241179
2,069
68
91
30.426471
0.757325
0
0
0.040816
0
0
0.073949
0
0
0
0
0
0.020408
1
0.22449
false
0
0.040816
0.102041
0.530612
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3d7f48c7aff1d1ff08deea25441aea8e26d42920
433
py
Python
turtlesim/launch/multisim.launch.py
zhangrelay/ros2_tutorials
907ba6d9f2d9c7a9c9c364dbec217f1465696884
[ "Apache-2.0" ]
1
2020-03-17T18:19:55.000Z
2020-03-17T18:19:55.000Z
turtlesim/launch/multisim.launch.py
zhangrelay/ros2_tutorials
907ba6d9f2d9c7a9c9c364dbec217f1465696884
[ "Apache-2.0" ]
null
null
null
turtlesim/launch/multisim.launch.py
zhangrelay/ros2_tutorials
907ba6d9f2d9c7a9c9c364dbec217f1465696884
[ "Apache-2.0" ]
1
2020-07-11T08:59:03.000Z
2020-07-11T08:59:03.000Z
from launch import LaunchDescription import launch_ros.actions def generate_launch_description(): return LaunchDescription([ launch_ros.actions.Node( node_namespace= "turtlesim1", package='turtlesim', node_executable='turtlesim_node', output='screen'), launch_ros.actions.Node( ...
39.363636
114
0.722864
44
433
6.863636
0.431818
0.172185
0.15894
0.13245
0.582781
0.582781
0.364238
0.364238
0
0
0
0.00554
0.166282
433
10
115
43.3
0.831025
0
0
0.222222
1
0
0.180139
0
0
0
0
0
0
1
0.111111
true
0
0.222222
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
1
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
3d8fe83a0f849ba840d54f6c4cd27b7b61ecbbb3
370
py
Python
vcfexplorer/frontend/views.py
UMCUGenetics/vcf-explorer
18b46b1f61181ce5cbd2a8065d272dd37081da8f
[ "MIT" ]
5
2018-04-27T09:02:25.000Z
2020-12-17T13:15:08.000Z
vcfexplorer/frontend/views.py
CuppenResearch/vcf-explorer
18b46b1f61181ce5cbd2a8065d272dd37081da8f
[ "MIT" ]
2
2015-05-26T11:57:52.000Z
2016-05-25T08:43:40.000Z
vcfexplorer/frontend/views.py
UMCUGenetics/vcf-explorer
18b46b1f61181ce5cbd2a8065d272dd37081da8f
[ "MIT" ]
null
null
null
""" vcfexplorer.frontend.views VCF Explorer frontend views """ from flask import send_file from . import bp @bp.route('/', defaults={'path': ''}) @bp.route('<path:path>') ## For now redirect everything, probably should use hardcoded paths to generate valid 404, especialy for api calls. def index(path): ...
24.666667
140
0.713514
50
370
5.24
0.7
0.099237
0
0
0
0
0
0
0
0
0
0.009585
0.154054
370
14
141
26.428571
0.827476
0.456757
0
0
0
0
0.244565
0.157609
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
3da2d72f2510a7de7a95a84f1cbc2b0c41fe5744
124
py
Python
tensorflow/graphdef.py
habichta/redisAI_tutorial
414cc1491439ffd79fae880f2f63aa7f9de69ccb
[ "Apache-2.0" ]
1
2020-07-11T12:00:40.000Z
2020-07-11T12:00:40.000Z
tensorflow/graphdef.py
habichta/redisAI_tutorial
414cc1491439ffd79fae880f2f63aa7f9de69ccb
[ "Apache-2.0" ]
null
null
null
tensorflow/graphdef.py
habichta/redisAI_tutorial
414cc1491439ffd79fae880f2f63aa7f9de69ccb
[ "Apache-2.0" ]
null
null
null
import tensorflow.compat.v1 as tf gf = tf.GraphDef() gf.ParseFromString(open('reference_model/saved_model.pb','rb').read())
31
70
0.766129
19
124
4.894737
0.842105
0
0
0
0
0
0
0
0
0
0
0.008621
0.064516
124
3
71
41.333333
0.793103
0
0
0
0
0
0.258065
0.241935
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3dad7c30bb36e24261659593f34c1d2aa59deeb4
297
py
Python
wolverine-dns/wolverine-dns-server/manager.py
lihanhui/wolverine
73e5e2d0b20e75e7e79fac0ff6d48c6724dee8f8
[ "MIT" ]
1
2021-01-29T09:24:11.000Z
2021-01-29T09:24:11.000Z
wolverine-dns/wolverine-dns-server/manager.py
lihanhui/wolverine
73e5e2d0b20e75e7e79fac0ff6d48c6724dee8f8
[ "MIT" ]
null
null
null
wolverine-dns/wolverine-dns-server/manager.py
lihanhui/wolverine
73e5e2d0b20e75e7e79fac0ff6d48c6724dee8f8
[ "MIT" ]
null
null
null
import cache import record class Manager(): def __init__(self): self.cache = cache.Cache() self.cache.start() def getRecord(self, hostname): return self.cache.getRecord(hostname) def getRecords(self, service): return self.cache.getRecords(servicename)
22.846154
49
0.670034
34
297
5.735294
0.441176
0.184615
0.153846
0
0
0
0
0
0
0
0
0
0.225589
297
12
50
24.75
0.847826
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3dbd5ae73f95358aa7b143e3051dd09db7718e52
1,697
py
Python
tests/mocks/mock_view_transaction.py
ALonelyTower/BudgetApp
e040f763a5e621c4e997c7d051078ba960ba58ff
[ "MIT" ]
null
null
null
tests/mocks/mock_view_transaction.py
ALonelyTower/BudgetApp
e040f763a5e621c4e997c7d051078ba960ba58ff
[ "MIT" ]
null
null
null
tests/mocks/mock_view_transaction.py
ALonelyTower/BudgetApp
e040f763a5e621c4e997c7d051078ba960ba58ff
[ "MIT" ]
null
null
null
from views.view_transaction import TransactionView class MockTransactionView(TransactionView): def __init__(self, title): super().__init__(title=title) @property def date_year_textctrl(self): return self._date_year_textctrl.GetValue() @date_year_textctrl.setter def date_year_text...
27.370968
55
0.730112
197
1,697
5.873096
0.162437
0.134831
0.096802
0.133103
0.414866
0.06223
0
0
0
0
0
0
0.192693
1,697
61
56
27.819672
0.844526
0
0
0.155556
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.022222
0.177778
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
1
0
0
0
1
1
0
0
3
3dc86255d8ac94a891213a46f6e4fbe5aaac52eb
205
py
Python
hard-gists/4131398/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/4131398/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/4131398/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
from IPython.core.display import Image as image from PIL import Image def save_and_display(arr, fname): pilimg = Image.fromarray(arr) pilimg.save(fname) return image(filename=fname, width=600)
29.285714
47
0.756098
31
205
4.935484
0.612903
0.143791
0
0
0
0
0
0
0
0
0
0.017341
0.156098
205
7
48
29.285714
0.867052
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3de4eab50eb81abf525866021351b44ec677a171
138
py
Python
smarttm/storage_backends.py
mseemab/smarttm
4fbc4f2ae57b8555709fafce41528e7d8137ab82
[ "MIT" ]
1
2019-11-25T16:03:58.000Z
2019-11-25T16:03:58.000Z
smarttm/storage_backends.py
mseemab/smarttm
4fbc4f2ae57b8555709fafce41528e7d8137ab82
[ "MIT" ]
32
2019-12-08T13:53:49.000Z
2022-03-12T00:05:23.000Z
smarttm/storage_backends.py
mseemab/smarttm
4fbc4f2ae57b8555709fafce41528e7d8137ab82
[ "MIT" ]
null
null
null
from storages.backends.s3boto3 import S3Boto3Storage class MediaStorage(S3Boto3Storage): location = 'media' file_overwrite = False
34.5
52
0.797101
14
138
7.785714
0.928571
0
0
0
0
0
0
0
0
0
0
0.05042
0.137681
138
4
53
34.5
0.865546
0
0
0
0
0
0.035971
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9a801b22c00119d6054b604b80d4a693c320c467
549
py
Python
Udemy/Secao4/aula106.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
1
2020-05-07T20:21:15.000Z
2020-05-07T20:21:15.000Z
Udemy/Secao4/aula106.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
null
null
null
Udemy/Secao4/aula106.py
rafaelgama/Curso_Python
908231de9de4a17f5aa829f2671fd88de9261eda
[ "MIT" ]
null
null
null
""" Polimorfismo é o princípio que permite que classes derivadas de uma mesma superclasse tenham métodos iguais (de mesma assinatura) mas comportamentos diferentes. Mesma assinatura = Mesma quantidade e tipo de parâmetros """ from abc import ABC, abstractmethod class A(ABC): @abstractmethod def fala(self, msg...
20.333333
74
0.679417
82
549
4.54878
0.52439
0.0563
0.088472
0.112601
0.112601
0.112601
0.112601
0
0
0
0
0
0.209472
549
27
75
20.333333
0.859447
0.395264
0
0.142857
0
0
0.193846
0
0
0
0
0.037037
0
1
0.214286
false
0.071429
0.071429
0
0.5
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
9a8e266cd5a9e25b35775b7954ec250d08b293ae
286
py
Python
python_backend/server.py
LiushaHe0317/python.recommender_system
368fe427c8f63a6d8e4fdd5fbad71cde8d1d0424
[ "Apache-2.0" ]
null
null
null
python_backend/server.py
LiushaHe0317/python.recommender_system
368fe427c8f63a6d8e4fdd5fbad71cde8d1d0424
[ "Apache-2.0" ]
7
2021-03-10T11:31:43.000Z
2022-03-02T07:48:29.000Z
python_backend/server.py
LiushaHe0317/python.recommender_system
368fe427c8f63a6d8e4fdd5fbad71cde8d1d0424
[ "Apache-2.0" ]
null
null
null
from flask import Flask import json from .recommender import getRecommendedItems app = Flask(__name__) @app.route("/predict/<int:uid>", strict_siashes=False) def predict(uid): return json.dumps(getRecommendedItems(uid), indent=2) if __name__=='__main__': app.run(debug=True)
22
57
0.755245
38
286
5.342105
0.657895
0.108374
0
0
0
0
0
0
0
0
0
0.003968
0.118881
286
13
58
22
0.801587
0
0
0
0
0
0.090592
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
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
1
1
0
0
3
9a956b35e88abc2c82744ab9123ba06cc108e6c3
1,226
py
Python
conduit/util/comparable_interface.py
sleibman/python-conduit
f6002d45c4f25e4418591a72fdac9ac6fb422d80
[ "MIT" ]
1
2015-04-30T20:45:45.000Z
2015-04-30T20:45:45.000Z
conduit/util/comparable_interface.py
sleibman/python-conduit
f6002d45c4f25e4418591a72fdac9ac6fb422d80
[ "MIT" ]
1
2019-04-23T12:54:47.000Z
2019-04-23T13:48:21.000Z
conduit/util/comparable_interface.py
sleibman/python-conduit
f6002d45c4f25e4418591a72fdac9ac6fb422d80
[ "MIT" ]
2
2019-11-22T13:44:14.000Z
2020-11-23T17:34:31.000Z
""" This class is an unmodified copy of one from a blog post written by Lennart Regebro at: http://regebro.wordpress.com/2010/12/13/python-implementing-rich-comparison-the-correct-way/ No license terms were specified in the blog post. It has been included as a minor convenience. If we ever need to purge our code of ex...
33.135135
98
0.659054
176
1,226
4.397727
0.517045
0.031008
0.116279
0.147287
0.337209
0.337209
0.337209
0.337209
0.337209
0.337209
0
0.008556
0.237357
1,226
36
99
34.055556
0.819251
0.375204
0
0
0
0
0
0
0
0
0
0
0
1
0.388889
false
0
0
0.333333
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9ab7edd5418fe233a829f972d4f9de4402a2082c
89
py
Python
icechart/common.py
Surfix/Icechart
1c8c36b74faa2fc10a9a2353e9c204e17921ba39
[ "MIT" ]
3
2021-03-02T03:04:30.000Z
2021-03-11T05:27:08.000Z
icechart/common.py
Surfix/Icechart
1c8c36b74faa2fc10a9a2353e9c204e17921ba39
[ "MIT" ]
1
2021-04-02T07:21:14.000Z
2021-04-02T07:21:14.000Z
icechart/common.py
Surfix/icechart
1c8c36b74faa2fc10a9a2353e9c204e17921ba39
[ "MIT" ]
2
2021-05-31T09:20:21.000Z
2021-07-28T13:59:19.000Z
"""A module with some common functions to be used with ipyleaflet and folium. """
44.5
81
0.685393
13
89
4.692308
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.235955
89
2
82
44.5
0.897059
0
0
null
0
null
0
0
null
0
0
0
null
0
null
null
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
9abbec3c4f55b1df6cbb0b93fe64dbd0839eac49
423
py
Python
Mundo1/Desafio26.py
David-M-Dias/Exercicios-do-curso-de-Python
14f818243f231738e9d47d452f778fb3bace93c0
[ "MIT" ]
1
2021-01-20T13:32:58.000Z
2021-01-20T13:32:58.000Z
Mundo1/Desafio26.py
David-M-Dias/Exercicios-do-curso-de-Python
14f818243f231738e9d47d452f778fb3bace93c0
[ "MIT" ]
null
null
null
Mundo1/Desafio26.py
David-M-Dias/Exercicios-do-curso-de-Python
14f818243f231738e9d47d452f778fb3bace93c0
[ "MIT" ]
null
null
null
frase = str(input("Digite uma frase: ")).lower().strip() print("A quantidade de letras A na frase é {}.".format(frase.count("a"))) print("A primeira letra a aparece na posição de número {}.".format(frase.find("a")+1))#para procurar a primeira posicao da letra a dentro da frase print("A ultima letra a aparece na posição...
84.6
146
0.718676
73
423
4.164384
0.438356
0.078947
0.085526
0.098684
0.269737
0.269737
0.269737
0.269737
0.269737
0
0
0.005435
0.130024
423
4
147
105.75
0.820652
0.276596
0
0
0
0
0.526316
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9ac4d1ea4f1de6dfcfa90fa131b2a746e310ae3f
971
py
Python
pydsalg/datastruct/hashset.py
lopezpdvn/pydsalg
31bab8577ff026b8400b57b845496d89bffad376
[ "MIT" ]
null
null
null
pydsalg/datastruct/hashset.py
lopezpdvn/pydsalg
31bab8577ff026b8400b57b845496d89bffad376
[ "MIT" ]
null
null
null
pydsalg/datastruct/hashset.py
lopezpdvn/pydsalg
31bab8577ff026b8400b57b845496d89bffad376
[ "MIT" ]
null
null
null
class HashSetString: _ARR_DEFAULT_LENGTH = 211 def __init__(self, arr_len=_ARR_DEFAULT_LENGTH): self._arr = [None,] * arr_len self._count = 0 def _hash_str_00(self, value): hashv = 0 for c in value: hashv = (hashv * 27 + ord(c)) % len(self._arr) return ha...
24.897436
58
0.563337
124
971
4.056452
0.306452
0.125249
0.095427
0.071571
0.214712
0.214712
0.119284
0
0
0
0
0.020155
0.335736
971
38
59
25.552632
0.75969
0
0
0.064516
0
0
0
0
0
0
0
0
0
1
0.258065
false
0
0
0.129032
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b10163da7970c5225e6973e5bba1a74373454a5a
71
py
Python
T26-08/program.py
tiagomendes7/SSof-Project1920
9b026763a492683ab982aa769f2a381ed02930aa
[ "MIT" ]
2
2019-11-20T19:26:07.000Z
2019-11-22T00:42:23.000Z
T26-08/program.py
tiagomendes7/SSof-Project1920
9b026763a492683ab982aa769f2a381ed02930aa
[ "MIT" ]
2
2019-11-28T05:21:24.000Z
2019-11-28T05:21:58.000Z
T26-08/program.py
tiagomendes7/SSof-Project1920
9b026763a492683ab982aa769f2a381ed02930aa
[ "MIT" ]
25
2019-11-27T01:40:56.000Z
2019-12-04T23:38:59.000Z
a = source() b = k if(a == w): b = c elif(a==y): b = d sink(b)
8.875
12
0.394366
16
71
1.75
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.352113
71
7
13
10.142857
0.608696
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b1093630027dc5e5313ccbf3cf479cd9f636e8b5
1,483
py
Python
test_python_toolbox/test_math_tools/test_convert_to_base_in_tuple.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
119
2015-02-05T17:59:47.000Z
2022-02-21T22:43:40.000Z
test_python_toolbox/test_math_tools/test_convert_to_base_in_tuple.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
4
2019-04-24T14:01:14.000Z
2020-05-21T12:03:29.000Z
test_python_toolbox/test_math_tools/test_convert_to_base_in_tuple.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
14
2015-03-30T06:30:42.000Z
2021-12-24T23:45:11.000Z
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. '''Testing module for `python_toolbox.math_tools.convert_to_base_in_tuple`.''' import sys from python_toolbox.math_tools import convert_to_base_in_tuple from python_toolbox import cute_testing def test(): assert convert_to_b...
35.309524
78
0.656777
236
1,483
3.775424
0.228814
0.181818
0.262626
0.30303
0.670034
0.611672
0.239057
0.225589
0.225589
0.225589
0
0.13051
0.219825
1,483
41
79
36.170732
0.639585
0.105192
0
0.107143
0
0
0
0
0
0
0
0
0.285714
1
0.107143
true
0
0.107143
0
0.214286
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b111ba8e9af8cd3aff11f9925744f46abc479aa3
38
py
Python
src/memscrimper_parser/consts.py
deeso/memscrimper-parser
6eb0b84a977b19ba16ae9216bde0544f38202bb1
[ "BSD-2-Clause" ]
1
2019-12-13T13:07:55.000Z
2019-12-13T13:07:55.000Z
src/memscrimper_parser/consts.py
deeso/memscrimper-parser
6eb0b84a977b19ba16ae9216bde0544f38202bb1
[ "BSD-2-Clause" ]
null
null
null
src/memscrimper_parser/consts.py
deeso/memscrimper-parser
6eb0b84a977b19ba16ae9216bde0544f38202bb1
[ "BSD-2-Clause" ]
null
null
null
QWORD = 8 DWORD = 4 WORD = 2 BYTE = 1
7.6
9
0.578947
8
38
2.75
1
0
0
0
0
0
0
0
0
0
0
0.153846
0.315789
38
4
10
9.5
0.692308
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b12f8ddcde9a10f1de21b13a8128d3ca7fee2739
794
py
Python
gonzo/connectors/twitter/models.py
paulcwatts/1hph
407337955121c3f59b4621acb392e6c23b57ae8e
[ "BSD-3-Clause" ]
1
2016-10-03T05:29:12.000Z
2016-10-03T05:29:12.000Z
gonzo/connectors/twitter/models.py
paulcwatts/1hph
407337955121c3f59b4621acb392e6c23b57ae8e
[ "BSD-3-Clause" ]
null
null
null
gonzo/connectors/twitter/models.py
paulcwatts/1hph
407337955121c3f59b4621acb392e6c23b57ae8e
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class TwitterProfile(models.Model): user = models.OneToOneField(User, primary_key=True) # Twitter authentication profile = models.URLField() screen_name = models.CharField(max_length=128) oauth_token = models.CharField(max_len...
37.809524
63
0.761965
102
794
5.72549
0.519608
0.068493
0.214041
0.256849
0.35274
0.260274
0
0
0
0
0
0.013413
0.154912
794
20
64
39.7
0.85693
0.100756
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0.066667
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b152a52df3d5769f160f257ed56313cf3cae47cc
72,926
py
Python
pysnmp_mibs/FDDI-SMT73-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2017-04-21T13:48:08.000Z
2022-01-06T19:42:52.000Z
pysnmp_mibs/FDDI-SMT73-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
1
2020-05-05T16:42:25.000Z
2020-05-05T16:42:25.000Z
pysnmp_mibs/FDDI-SMT73-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2020-02-08T20:28:49.000Z
2021-09-14T13:36:46.000Z
# # PySNMP MIB module FDDI-SMT73-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/FDDI-SMT73-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:12:32 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52) # ...
260.45
5,869
0.654664
8,727
72,926
5.463962
0.09568
0.009731
0.009752
0.013527
0.525837
0.481335
0.408691
0.381176
0.36031
0.35471
0
0.059695
0.240353
72,926
279
5,870
261.383513
0.801058
0.004169
0
0.007491
0
0.322097
0.502045
0.007891
0
0
0
0
0
1
0
false
0.029963
0.022472
0
0.067416
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b16332db9cbb7c287c4f4814173308bd2c9efea5
284
py
Python
scripts/factory-install/tests/installed/conftest.py
jraygauthier/nixos_secure_factory
67adb93b153902226301d4a68e7b6e3a0af660c2
[ "Apache-2.0" ]
1
2021-04-17T10:13:42.000Z
2021-04-17T10:13:42.000Z
scripts/factory-install/tests/installed/conftest.py
jraygauthier/nixos_secure_factory
67adb93b153902226301d4a68e7b6e3a0af660c2
[ "Apache-2.0" ]
4
2019-10-21T17:40:17.000Z
2021-11-11T13:46:20.000Z
scripts/factory-install/tests/installed/conftest.py
jraygauthier/nixos_secure_factory
67adb93b153902226301d4a68e7b6e3a0af660c2
[ "Apache-2.0" ]
2
2019-10-10T18:32:01.000Z
2021-08-24T16:02:09.000Z
# import os # import pytest def pytest_runtest_setup(item): pass """ if "1" != os.environ.get("PKG_NSF_FACTORY_INSTALL_IN_ENV"): pytest.skip( "Should be run only from build environement. " "See `PKG_NSF_FACTORY_INSTALL_IN_ENV`.") """
21.846154
63
0.616197
37
284
4.405405
0.72973
0.07362
0.159509
0.245399
0.306748
0.306748
0
0
0
0
0
0.004808
0.267606
284
12
64
23.666667
0.778846
0.080986
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
b18697741b7b1eb90750aedf693bb22ba0da549c
244
py
Python
todo_app/urls.py
ptyadana/django-WEB-simple-todo
52b06042748293e0ddaa614f319be267533ad820
[ "MIT" ]
null
null
null
todo_app/urls.py
ptyadana/django-WEB-simple-todo
52b06042748293e0ddaa614f319be267533ad820
[ "MIT" ]
4
2021-04-08T19:50:31.000Z
2021-09-22T18:47:16.000Z
todo_app/urls.py
ptyadana/django-WEB-simple-todo
52b06042748293e0ddaa614f319be267533ad820
[ "MIT" ]
null
null
null
from django.urls import path from todo_app import views urlpatterns = [ path('',views.home,name='home'), path('home',views.home,name='home'), path('add',views.add_task,name='addtask'), path('home/<id>',views.home,name='home') ]
27.111111
46
0.663934
36
244
4.444444
0.416667
0.16875
0.24375
0.31875
0.2625
0
0
0
0
0
0
0
0.131148
244
9
47
27.111111
0.754717
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b190e64d4516263d14713277133281b8dc9ed011
63
py
Python
AtCoder/BeginnerContest134/myans/e.py
scnsh/CompetitiveProgramming
3f08b4719ffe9511cba6d1ba7909f1899def702b
[ "MIT" ]
1
2019-08-04T23:40:18.000Z
2019-08-04T23:40:18.000Z
AtCoder/BeginnerContest134/myans/e.py
scnsh/CompetitiveProgramming
3f08b4719ffe9511cba6d1ba7909f1899def702b
[ "MIT" ]
null
null
null
AtCoder/BeginnerContest134/myans/e.py
scnsh/CompetitiveProgramming
3f08b4719ffe9511cba6d1ba7909f1899def702b
[ "MIT" ]
null
null
null
N = int(input()) A = [0]*N for i in N: A[i] = int(input())
12.6
23
0.460317
14
63
2.071429
0.571429
0.551724
0
0
0
0
0
0
0
0
0
0.021739
0.269841
63
4
24
15.75
0.608696
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b192339ac0bcf9a5d0b02f5a77fa3a70963bf6cd
230
py
Python
tests/testapp/urls.py
hotwire-django/django-turbo-allauth
ce45ae042d7a5e8915aae35fd812d886b584c9ff
[ "MIT" ]
6
2021-01-04T16:27:51.000Z
2022-03-04T02:50:14.000Z
src/turbo_allauth/tests/testapp/urls.py
danjac/django-turbo-allauth
dde7b5a9aede029198f7feef41fad1160ddf9aed
[ "MIT" ]
1
2021-01-25T20:35:40.000Z
2021-02-02T19:40:44.000Z
tests/testapp/urls.py
hotwire-django/django-turbo-allauth
ce45ae042d7a5e8915aae35fd812d886b584c9ff
[ "MIT" ]
null
null
null
# Django from django.urls import include, path from django.views.generic import TemplateView urlpatterns = [ path("/", TemplateView.as_view(template_name="index.html")), path("account/", include("turbo_allauth.urls")), ]
25.555556
64
0.730435
28
230
5.892857
0.678571
0.121212
0
0
0
0
0
0
0
0
0
0
0.121739
230
8
65
28.75
0.816832
0.026087
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b19f329f2eec3926605b62d5aedee61360912ac1
278
py
Python
httpie_lambda.py
IlyaSukhanov/httpie-lambda
5b4c04f4b4a64253279ef7505d78f5818f9048f7
[ "MIT" ]
8
2021-09-30T18:40:39.000Z
2022-02-04T04:14:37.000Z
httpie_lambda.py
IlyaSukhanov/httpie-lambda
5b4c04f4b4a64253279ef7505d78f5818f9048f7
[ "MIT" ]
null
null
null
httpie_lambda.py
IlyaSukhanov/httpie-lambda
5b4c04f4b4a64253279ef7505d78f5818f9048f7
[ "MIT" ]
null
null
null
from httpie.plugins import TransportPlugin from lambda_requests import DEFAULT_SCHEME, LambdaAdapter class LambdaTransportPlugin(TransportPlugin): name = "AWS Lambda invoke transport" prefix = DEFAULT_SCHEME def get_adapter(self): return LambdaAdapter()
23.166667
57
0.776978
29
278
7.310345
0.758621
0.122642
0
0
0
0
0
0
0
0
0
0
0.172662
278
11
58
25.272727
0.921739
0
0
0
0
0
0.097122
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
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
1
1
0
0
3
b1a3b6ffb81a2f108c175c6718d941815bd9cea8
1,367
py
Python
devind_helpers/files/utils.py
devind-team/devind-django-helpers
5c64d46a12802bbe0b70e44aa9d19bf975511b6e
[ "MIT" ]
null
null
null
devind_helpers/files/utils.py
devind-team/devind-django-helpers
5c64d46a12802bbe0b70e44aa9d19bf975511b6e
[ "MIT" ]
4
2022-02-18T09:24:05.000Z
2022-03-31T16:46:29.000Z
devind_helpers/files/utils.py
devind-team/devind-django-helpers
5c64d46a12802bbe0b70e44aa9d19bf975511b6e
[ "MIT" ]
null
null
null
"""Модуль со вспомогательными функциями.""" import pathlib from os import path, walk from typing import cast from django.conf import settings from django.db.models import FileField __all__ = ('get_upload_to', 'get_existing_paths',) def get_upload_to(file_field: FileField) -> str: """Получение значения upload_t...
26.803922
116
0.687637
175
1,367
5.091429
0.422857
0.080808
0.037037
0.057239
0.109989
0.065095
0
0
0
0
0
0
0.208486
1,367
50
117
27.34
0.823475
0.24872
0
0.083333
0
0
0.032653
0
0
0
0
0
0
1
0.208333
false
0
0.208333
0.125
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
490df48895d25bb5714dc98e161fa1aef0a939cb
992
py
Python
tests/tests.py
sethlivingston/django-amptags
c1af033a2d6607466b67fd16b2d2f87b7a7fc50f
[ "0BSD" ]
null
null
null
tests/tests.py
sethlivingston/django-amptags
c1af033a2d6607466b67fd16b2d2f87b7a7fc50f
[ "0BSD" ]
3
2020-02-12T01:14:48.000Z
2021-06-10T20:36:30.000Z
tests/tests.py
sethlivingston/django-amptags
c1af033a2d6607466b67fd16b2d2f87b7a7fc50f
[ "0BSD" ]
null
null
null
from django.template import Template, Context from django.test import TestCase class IncludeStaticTestCase(TestCase): """ Test the {% include_static %} template tag. """ def setUp(self): pass def test_resulting_file_includes_static_file(self): # Arrange template = Template("abc {...
28.342857
117
0.660282
114
992
5.578947
0.403509
0.062893
0.050314
0.062893
0.650943
0.562893
0.562893
0.562893
0.562893
0.562893
0
0
0.230847
992
34
118
29.176471
0.833552
0.146169
0
0.153846
0
0
0.296029
0.074609
0
0
0
0.029412
0.153846
1
0.230769
false
0.076923
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
490dfe66aa9da414281c514d47d1e20ee338cc08
3,369
py
Python
biliob_spider/items.py
qjhqqqqq/biliob-spider
aa47addacaf0e9ea15f004765de2f0c38a6b27ec
[ "MIT" ]
9
2020-06-18T15:36:45.000Z
2021-12-10T02:27:41.000Z
biliob_spider/items.py
qjhqqqqq/biliob-spider
aa47addacaf0e9ea15f004765de2f0c38a6b27ec
[ "MIT" ]
null
null
null
biliob_spider/items.py
qjhqqqqq/biliob-spider
aa47addacaf0e9ea15f004765de2f0c38a6b27ec
[ "MIT" ]
28
2020-09-25T10:36:55.000Z
2022-01-22T02:33:01.000Z
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy from mail import mailer class SiteItem(scrapy.Item): region_count = scrapy.Field() all_count = scrapy.Field() web_online = scrapy.Field() ...
25.141791
52
0.646186
401
3,369
5.316708
0.216958
0.500469
0.078799
0.04925
0.717636
0.649625
0.61773
0.61773
0.570356
0.570356
0
0.000381
0.220837
3,369
133
53
25.330827
0.81181
0.041555
0
0.731481
0
0
0
0
0
0
0
0
0
1
0
false
0
0.018519
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
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
1
0
0
3
4910f5e2fda66f9cb3108f5d15a83dd5df0f170b
377
py
Python
HE_RE/controllers/controller_connection.py
karniv0re-cyber/HiddenEyeReborn
68920836179011f53523e3656d07eade73b8b834
[ "Unlicense" ]
2
2020-12-16T08:38:24.000Z
2021-03-15T06:10:06.000Z
HE_RE/controllers/controller_connection.py
karniv0re-cyber/HiddenEyeReborn
68920836179011f53523e3656d07eade73b8b834
[ "Unlicense" ]
null
null
null
HE_RE/controllers/controller_connection.py
karniv0re-cyber/HiddenEyeReborn
68920836179011f53523e3656d07eade73b8b834
[ "Unlicense" ]
2
2020-11-22T12:45:44.000Z
2021-03-15T06:10:07.000Z
from HE_RE.models.model_connection import ConnectionModel import urllib.request class ConnectionController: def __init__(self, host, model=ConnectionModel()): self._model = model self._host = host if not None else self._model.host def verify_connection(self): return True if urllib.req...
31.416667
89
0.734748
49
377
5.428571
0.571429
0.090226
0
0
0
0
0
0
0
0
0
0.009709
0.180371
377
11
90
34.272727
0.851133
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
492deb95983b6f3881d1fea740b3f3ea57a57b60
2,624
py
Python
src/emuvim/api/osm/pre_configured_osm.py
RafaelSche/vim-emu
6503ba9fcbe13ca73c94d318157a1ba78ef26b5b
[ "Apache-2.0" ]
34
2016-09-05T06:11:12.000Z
2021-12-24T08:45:24.000Z
src/emuvim/api/osm/pre_configured_osm.py
RafaelSche/vim-emu
6503ba9fcbe13ca73c94d318157a1ba78ef26b5b
[ "Apache-2.0" ]
89
2016-07-19T14:14:27.000Z
2020-01-09T07:19:45.000Z
src/emuvim/api/osm/pre_configured_osm.py
RafaelSche/vim-emu
6503ba9fcbe13ca73c94d318157a1ba78ef26b5b
[ "Apache-2.0" ]
32
2016-07-19T14:58:06.000Z
2020-05-05T13:30:01.000Z
#!/usr/bin/env python2 # Copyright (c) 2019 Erik Schilling # ALL RIGHTS RESERVED. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
32.8
103
0.672256
378
2,624
4.486772
0.375661
0.070755
0.061321
0.053066
0.133255
0.133255
0.108491
0
0
0
0
0.011622
0.213034
2,624
79
104
33.21519
0.809685
0.237424
0
0
0
0
0.027708
0
0
0
0
0
0
1
0.282609
false
0
0.086957
0.173913
0.586957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
493dc59641a0a0f274685bae420fb2990bafd1fa
2,503
py
Python
deepself/models/model_managers/base_model_manager.py
Tomoya-K-0504/deepSELF
0e5a7d0169b3e9edcb5c8d9802140a84ce5cb69a
[ "MIT" ]
1
2021-08-17T09:56:47.000Z
2021-08-17T09:56:47.000Z
deepself/models/model_managers/base_model_manager.py
JIangjiang1108/deepSELF
0e5a7d0169b3e9edcb5c8d9802140a84ce5cb69a
[ "MIT" ]
null
null
null
deepself/models/model_managers/base_model_manager.py
JIangjiang1108/deepSELF
0e5a7d0169b3e9edcb5c8d9802140a84ce5cb69a
[ "MIT" ]
1
2021-08-17T09:56:41.000Z
2021-08-17T09:56:41.000Z
import logging from abc import ABCMeta, abstractmethod logger = logging.getLogger(__name__) import numpy as np from deepself.models.loss import set_criterion from dataclasses import dataclass, field from deepself.models.loss import LossConfig from typing import List, Any from omegaconf import MISSING from deepself...
30.901235
108
0.688374
317
2,503
5.299685
0.44164
0.033333
0.028571
0.038095
0.058333
0
0
0
0
0
0
0.002576
0.224531
2,503
80
109
31.2875
0.862957
0.15861
0
0.140351
0
0
0.082179
0.0344
0
0
0
0.0125
0
1
0.122807
false
0.070175
0.157895
0
0.596491
0.052632
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
1
0
0
3
4953c7ce1da0dd21e42b954f78cffcc6678f12b4
453
py
Python
nonbonded/tests/library/utilities/test_molecules.py
SimonBoothroyd/nonbonded
3efbb7d943d936b47248975f9ad0d8a006ea8684
[ "MIT" ]
5
2020-05-11T18:25:00.000Z
2022-01-27T10:55:09.000Z
nonbonded/tests/library/utilities/test_molecules.py
SimonBoothroyd/nonbonded
3efbb7d943d936b47248975f9ad0d8a006ea8684
[ "MIT" ]
88
2020-06-02T14:40:05.000Z
2022-03-02T09:20:39.000Z
nonbonded/tests/library/utilities/test_molecules.py
SimonBoothroyd/nonbonded
3efbb7d943d936b47248975f9ad0d8a006ea8684
[ "MIT" ]
null
null
null
from nonbonded.library.utilities.molecules import ( smiles_to_url_string, url_string_to_smiles, ) def test_smiles_to_url_string(): """A simple test that a smiles pattern with a forbidden url character is correctly encoded.""" assert smiles_to_url_string("N#N") == "N%23N" def test_url_string_to_s...
28.3125
73
0.724062
71
453
4.338028
0.394366
0.175325
0.107143
0.165584
0.103896
0
0
0
0
0
0
0.010667
0.172185
453
15
74
30.2
0.810667
0.335541
0
0
0
0
0.055944
0
0
0
0
0
0.25
1
0.25
true
0
0.125
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
4954bdd8f0f9c2c7478c0bce2893917ad3840042
81
py
Python
Src/StdLib/Lib/test/crashers/compiler_recursion.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
2,557
2016-07-19T22:20:45.000Z
2022-01-25T10:53:35.000Z
build/cmd/win32/Python27/Lib/test/crashers/compiler_recursion.py
IamBaoMouMou/AliOS-Things
195a9160b871b3d78de6f8cf6c2ab09a71977527
[ "Apache-2.0" ]
1,360
2016-07-20T02:06:42.000Z
2021-07-27T12:46:40.000Z
build/cmd/win32/Python27/Lib/test/crashers/compiler_recursion.py
IamBaoMouMou/AliOS-Things
195a9160b871b3d78de6f8cf6c2ab09a71977527
[ "Apache-2.0" ]
607
2016-07-20T03:34:04.000Z
2022-01-05T14:57:09.000Z
""" The compiler (>= 2.5) recurses happily. """ compile('()'*9**5, '?', 'exec')
13.5
39
0.506173
10
81
4.1
0.9
0
0
0
0
0
0
0
0
0
0
0.057971
0.148148
81
5
40
16.2
0.536232
0.481481
0
0
0
0
0.205882
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
495e3870592b41bb8f808a81e4942ce05625afd2
85
py
Python
client_django/makes/apps.py
kaparis/spa101
0c225d0676a13a33950aca5954c02b443237149d
[ "MIT" ]
null
null
null
client_django/makes/apps.py
kaparis/spa101
0c225d0676a13a33950aca5954c02b443237149d
[ "MIT" ]
null
null
null
client_django/makes/apps.py
kaparis/spa101
0c225d0676a13a33950aca5954c02b443237149d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MakesConfig(AppConfig): name = 'makes'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
62057eebe5c5f48d787c17ee3501025ebe975b4f
90
py
Python
text/_elisp/face/font/shape/height.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_elisp/face/font/shape/height.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_elisp/face/font/shape/height.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
from enum import Enum __all__ = [ "FontHeight", ] class FontHeight(Enum): pass
9
23
0.644444
10
90
5.4
0.7
0
0
0
0
0
0
0
0
0
0
0
0.255556
90
9
24
10
0.80597
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
6253ade39a1700889d158f53d9b0fd965ec67be8
34
py
Python
__init__.py
Iamshankhadeep/pyBoost
bcd2f277461e52c8742918057ca27369fee7fd54
[ "MIT" ]
null
null
null
__init__.py
Iamshankhadeep/pyBoost
bcd2f277461e52c8742918057ca27369fee7fd54
[ "MIT" ]
null
null
null
__init__.py
Iamshankhadeep/pyBoost
bcd2f277461e52c8742918057ca27369fee7fd54
[ "MIT" ]
null
null
null
__title__ = 'pyBoost' name="hello"
17
21
0.735294
4
34
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.088235
34
2
22
17
0.677419
0
0
0
0
0
0.342857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6272e1488872dd4ec144c258b8a1c294bc346ebe
174
py
Python
Question 1 - 10/Q2.py
debdutgoswami/python-semester-practical
9abdc9091d825a2425b36437f6f8fe6806ac84f2
[ "MIT" ]
null
null
null
Question 1 - 10/Q2.py
debdutgoswami/python-semester-practical
9abdc9091d825a2425b36437f6f8fe6806ac84f2
[ "MIT" ]
null
null
null
Question 1 - 10/Q2.py
debdutgoswami/python-semester-practical
9abdc9091d825a2425b36437f6f8fe6806ac84f2
[ "MIT" ]
null
null
null
l = [int(i) for i in input().split()] print("largest - ", max(l)) print('smallest - ', min(l)) print('2nd largest - ', sorted(l)[-2]) print('2nd smallest - ', sorted(l)[1])
24.857143
38
0.58046
28
174
3.607143
0.571429
0.118812
0
0
0
0
0
0
0
0
0
0.027027
0.149425
174
7
39
24.857143
0.655405
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
false
0
0
0
0
0.8
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6277734578e9c94f7192887363344b2a839309a1
1,177
py
Python
models.py
lmptfy/homework
7d756e4199aa614b74c63910d5e8b5675e37ce2b
[ "CECILL-B" ]
null
null
null
models.py
lmptfy/homework
7d756e4199aa614b74c63910d5e8b5675e37ce2b
[ "CECILL-B" ]
null
null
null
models.py
lmptfy/homework
7d756e4199aa614b74c63910d5e8b5675e37ce2b
[ "CECILL-B" ]
null
null
null
# Import external dependencies from sqlalchemy import Column, Integer, Float from typing import Optional # Import local dependency from db import Base # Define class class Experience(Base): __tablename__ = "experiences" __table_args__ = {'sqlite_autoincrement': True} # Mandatory fields id = Column(...
33.628571
69
0.700935
142
1,177
5.612676
0.394366
0.179423
0.262233
0.31744
0.254705
0.129235
0
0
0
0
0
0
0.189465
1,177
35
70
33.628571
0.83543
0.57689
0
0
0
0
0.064583
0
0
0
0
0
0
1
0
false
0
0.3
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
627b4d38542eb87cca249e80fdc665dcbbde1334
284
py
Python
ecosystem/models/tier.py
ryanfmandelbaum/ecosystem
ca78ffe6dc4fd5589286d796a90655866a13b02a
[ "Apache-2.0" ]
null
null
null
ecosystem/models/tier.py
ryanfmandelbaum/ecosystem
ca78ffe6dc4fd5589286d796a90655866a13b02a
[ "Apache-2.0" ]
null
null
null
ecosystem/models/tier.py
ryanfmandelbaum/ecosystem
ca78ffe6dc4fd5589286d796a90655866a13b02a
[ "Apache-2.0" ]
null
null
null
"""Tier of ecosystem membership.""" # pylint: disable=too-few-public-methods class Tier: """Tiers of ecosystem membership.""" MAIN: str = "MAIN" MEMBER: str = "MEMBER" CANDIDATE: str = "CANDIDATE" COMMUNITY: str = "COMMUNITY" PROTOTYPES: str = "PROTOTYPES"
21.846154
40
0.644366
31
284
5.903226
0.580645
0.120219
0.229508
0
0
0
0
0
0
0
0
0
0.211268
284
12
41
23.666667
0.816964
0.352113
0
0
0
0
0.219653
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
655b42cade171558f16522b2eb3bd97781d27abe
3,170
py
Python
pysnmp/ELTEX-IP-OSPF-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ELTEX-IP-OSPF-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ELTEX-IP-OSPF-IF-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 ELTEX-IP-OSPF-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ELTEX-IP-OSPF-IF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:45:50 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
105.666667
477
0.769716
346
3,170
7.052023
0.33815
0.084836
0.007377
0.009836
0.379098
0.233197
0.206967
0.206967
0.206967
0.206967
0
0.064217
0.081388
3,170
29
478
109.310345
0.773695
0.105363
0
0
0
0
0.232048
0.015564
0
0
0
0
0
1
0
false
0.227273
0.409091
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
6568c51521af4616a5ed9aaaedb889b7e95af209
1,430
py
Python
prefix_list_item.py
jokerxs/pyez_resources
22dc9d341b38fdccdb6832cc46746cc0f48913aa
[ "Apache-2.0" ]
null
null
null
prefix_list_item.py
jokerxs/pyez_resources
22dc9d341b38fdccdb6832cc46746cc0f48913aa
[ "Apache-2.0" ]
null
null
null
prefix_list_item.py
jokerxs/pyez_resources
22dc9d341b38fdccdb6832cc46746cc0f48913aa
[ "Apache-2.0" ]
null
null
null
# 3rd-party modules from lxml.builder import E # local module from jnpr.junos.cfg import Resource from jnpr.junos import jxml as JXML class PrefixListItem(Resource): """ [edit policy-options prefix-list <name> prefix-list-item <item> ] Resource name: str <name> is the prefix-list na...
28.6
78
0.465734
155
1,430
4.129032
0.425806
0.109375
0.065625
0.034375
0
0
0
0
0
0
0
0.000933
0.25035
1,430
49
79
29.183673
0.596082
0.418182
0
0
0
0
0.104278
0
0
0
0
0
0
1
0.277778
false
0
0.166667
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
657553638013785ae327eec969ea634cd704a6f0
304
py
Python
examples/docs_snippets/docs_snippets/deploying/dask_hello_world.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
1
2021-04-27T19:49:59.000Z
2021-04-27T19:49:59.000Z
examples/docs_snippets/docs_snippets/deploying/dask_hello_world.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
7
2022-03-16T06:55:04.000Z
2022-03-18T07:03:25.000Z
examples/docs_snippets/docs_snippets/deploying/dask_hello_world.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
null
null
null
from dagster_dask import dask_executor from dagster import ModeDefinition, default_executors, pipeline, solid @solid def hello_world(_): return "Hello, World!" @pipeline(mode_defs=[ModeDefinition(executor_defs=default_executors + [dask_executor])]) def dask_pipeline(): return hello_world()
21.714286
88
0.786184
37
304
6.162162
0.432432
0.131579
0.140351
0
0
0
0
0
0
0
0
0
0.121711
304
13
89
23.384615
0.853933
0
0
0
0
0
0.042763
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
658550c3abc050dde80f8473853c65e4725d8d43
360
py
Python
LNMarketBot/Data.py
DivyanshuBagga/LNMarketBot
7f3d63651fd8636c83b13675d505a53b62da31d3
[ "MIT" ]
2
2021-07-23T16:26:50.000Z
2022-03-08T18:19:14.000Z
LNMarketBot/Data.py
DivyanshuBagga/LNMarketBot
7f3d63651fd8636c83b13675d505a53b62da31d3
[ "MIT" ]
2
2021-02-07T16:08:16.000Z
2021-02-12T12:40:15.000Z
LNMarketBot/Data.py
DivyanshuBagga/LNMarketBot
7f3d63651fd8636c83b13675d505a53b62da31d3
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod class Data(metaclass=ABCMeta): def __init__(self): pass @abstractmethod def dataGenerator(self): """ Genrtator which yields datetime index dataframe containing open, high, low, and close prices with volume for each new price...
21.176471
66
0.636111
39
360
5.769231
0.871795
0
0
0
0
0
0
0
0
0
0
0
0.302778
360
16
67
22.5
0.896414
0.380556
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
65c00e7e791b0867d451df61e9952f54d731cd11
326
py
Python
quickstart.py
socialbotspy/TwitPy
c0e3499bf1988421a268a924f1779d1c58f7a3c1
[ "MIT" ]
3
2019-08-12T02:15:12.000Z
2020-07-23T15:12:05.000Z
quickstart.py
socialbotspy/TwitPy
c0e3499bf1988421a268a924f1779d1c58f7a3c1
[ "MIT" ]
null
null
null
quickstart.py
socialbotspy/TwitPy
c0e3499bf1988421a268a924f1779d1c58f7a3c1
[ "MIT" ]
null
null
null
from twitpy import TwitPy try: import config except ImportError: raise ImportError("Missing config.py. Did you copy it from config.py.dist?") TwitPy(username=config.USERNAME, password=config.PASSWORD, chrome_path=config.CHROME_PATH) \ .login() \ .follow_from_recom(amount=5) \ .unfollow_users(amount=5) \ ...
27.166667
78
0.748466
45
326
5.311111
0.6
0.066946
0
0
0
0
0
0
0
0
0
0.007067
0.131902
326
12
79
27.166667
0.837456
0
0
0
0
0
0.168196
0
0
0
0
0
0
1
0
true
0.090909
0.363636
0
0.363636
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
1
1
0
0
0
0
3
65c34dd8e68922a408adfc32fa780a41a9fe7cac
94
py
Python
maya/app/renderSetup/views/propertyEditor/overridePropertyEditorStrings.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/app/renderSetup/views/propertyEditor/overridePropertyEditorStrings.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/app/renderSetup/views/propertyEditor/overridePropertyEditorStrings.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
kDragAttributeFromAE = [] kIncompatibleAttribute = [] kInvalidAttribute = [] kLayer = []
9.4
27
0.691489
4
94
16.25
1
0
0
0
0
0
0
0
0
0
0
0
0.180851
94
9
28
10.444444
0.844156
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
65dc9b52b1f2481a5083dca6893099a4499124c6
170
py
Python
tests/context.py
yunleopard/data_py
c98fc075569732bac67a8f60719a39b1e1cc6eeb
[ "Apache-2.0" ]
null
null
null
tests/context.py
yunleopard/data_py
c98fc075569732bac67a8f60719a39b1e1cc6eeb
[ "Apache-2.0" ]
null
null
null
tests/context.py
yunleopard/data_py
c98fc075569732bac67a8f60719a39b1e1cc6eeb
[ "Apache-2.0" ]
null
null
null
''' Created on Nov 12, 2018 @author: yangzh ''' import sys import os sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) import OS_Script
17
82
0.705882
28
170
4.107143
0.642857
0.156522
0
0
0
0
0
0
0
0
0
0.046358
0.111765
170
10
83
17
0.715232
0.235294
0
0
0
0
0.01626
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
65e5ac31b7eac4be4eb4a250085f56a424aff7bc
1,245
py
Python
core/logging/logger.py
droidsec-cn/lobotomy-1
e801a89b98a67722383e2597b388778c536c8cd3
[ "Apache-2.0" ]
4
2018-09-29T08:55:23.000Z
2021-06-01T04:54:49.000Z
core/logging/logger.py
droidsec-cn/lobotomy-1
e801a89b98a67722383e2597b388778c536c8cd3
[ "Apache-2.0" ]
null
null
null
core/logging/logger.py
droidsec-cn/lobotomy-1
e801a89b98a67722383e2597b388778c536c8cd3
[ "Apache-2.0" ]
2
2020-03-22T02:16:46.000Z
2021-05-31T14:04:44.000Z
from blessings import Terminal from datetime import datetime class Logger(object): def __init__(self): self.t = Terminal() def log(self, t, m): """ Log a message to the console. Args: param1: Type of log {info, warn, critical} param2: Log message ...
27.065217
81
0.458635
135
1,245
4.192593
0.288889
0.097173
0.088339
0.111307
0.787986
0.745583
0.745583
0.676678
0.628975
0.628975
0
0.005076
0.367068
1,245
45
82
27.666667
0.713198
0.203213
0
0.428571
0
0
0.072832
0
0
0
0
0
0
1
0.142857
false
0
0.095238
0
0.285714
0.238095
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3