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
745fd82ce62ab2730c797bebd1dec7307747441a
2,612
py
Python
leviathan/__init__.py
scottywz/leviathan-player
31e19efd0e88959455371dd605981d98bddd388b
[ "Apache-2.0" ]
null
null
null
leviathan/__init__.py
scottywz/leviathan-player
31e19efd0e88959455371dd605981d98bddd388b
[ "Apache-2.0" ]
null
null
null
leviathan/__init__.py
scottywz/leviathan-player
31e19efd0e88959455371dd605981d98bddd388b
[ "Apache-2.0" ]
null
null
null
# Leviathan Music Manager # A command-line utility to manage your music collection. # # Copyright (C) 2010-2011, 2020 S. Zeid # https://code.s.zeid.me/leviathan # # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
45.824561
80
0.765697
409
2,612
4.867971
0.444988
0.044199
0.026118
0.038172
0.103466
0.04219
0
0
0
0
0
0.007907
0.176876
2,612
56
81
46.642857
0.91814
0.929939
0
0
0
0
0.165414
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
7464f1b7a4e383c5cf1c59e3f31706e1bfe39944
1,858
py
Python
scenario-generator.py
mdenesfe/scenario-generator
1ab85092669d8d75a361520640285735d0284bc7
[ "MIT" ]
null
null
null
scenario-generator.py
mdenesfe/scenario-generator
1ab85092669d8d75a361520640285735d0284bc7
[ "MIT" ]
null
null
null
scenario-generator.py
mdenesfe/scenario-generator
1ab85092669d8d75a361520640285735d0284bc7
[ "MIT" ]
null
null
null
basrol = input("Başrolün ismi: ") kardes = input("Başrolün Ağabeyi: ") anne = input("Başrolün Annesi: ") baba = input("Başrolün Babası: ") sevgili1 = input("Basrolun Sevdiği: ") arkadas = input("Başrolün Yakın Arkadaşı: ") mekan = input("Nerede: ") isyeri = input("Nerede Çalışıyorlar: ") print ("--------...
71.461538
213
0.700753
219
1,858
5.945205
0.570776
0.049923
0.019969
0
0
0
0
0
0
0
0
0.004316
0.127018
1,858
25
214
74.32
0.798397
0
0
0.090909
0
0
0.691762
0.045827
0
0
0
0
0
1
0
false
0
0
0
0
0.636364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
74697367474506ce045f60ccd43ed3d1a6431709
1,218
py
Python
database/buyer.py
mithilesh1024/Callback-Warrior_ShoppingMart
33aaaaee720c0d8c7e3f337c5cab0e4a438a8742
[ "MIT" ]
null
null
null
database/buyer.py
mithilesh1024/Callback-Warrior_ShoppingMart
33aaaaee720c0d8c7e3f337c5cab0e4a438a8742
[ "MIT" ]
null
null
null
database/buyer.py
mithilesh1024/Callback-Warrior_ShoppingMart
33aaaaee720c0d8c7e3f337c5cab0e4a438a8742
[ "MIT" ]
3
2020-11-19T11:05:48.000Z
2020-11-21T16:06:55.000Z
from flask_sqlalchemy import SQLAlchemy class Seller(db.Model): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(120), unique=True, nullable=False) email = db.Column(db.String(120), unique=True, nullable=False) password = db.Column(db.String(60), nullable=False) address = db...
38.0625
75
0.679803
164
1,218
4.981707
0.243902
0.117503
0.146879
0.156671
0.400245
0.330477
0.261934
0.261934
0.261934
0.210526
0
0.02834
0.188834
1,218
31
76
39.290323
0.798583
0
0
0.230769
0
0
0.009031
0
0
0
0
0
0
1
0.076923
false
0.115385
0.038462
0
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
7470ca62a35741134194bea5b06bd86ec8e473b6
1,248
py
Python
ymidi/containers.py
Owen-Cochell/yapmidi
50a3a1800375a3f390eb40628387fb3d2a520b8e
[ "MIT" ]
null
null
null
ymidi/containers.py
Owen-Cochell/yapmidi
50a3a1800375a3f390eb40628387fb3d2a520b8e
[ "MIT" ]
null
null
null
ymidi/containers.py
Owen-Cochell/yapmidi
50a3a1800375a3f390eb40628387fb3d2a520b8e
[ "MIT" ]
null
null
null
""" Components that house MIDI events and other misc. data, """ from dataclasses import dataclass class TrackInfo(dataclass): """ An object that contains info about a specific track. The data in this object is used for keeping track of track statistics. We allow for these attributes to be manua...
24
74
0.668269
177
1,248
4.666667
0.514124
0.048426
0.029056
0
0
0
0
0
0
0
0
0
0.275641
1,248
51
75
24.470588
0.913717
0.697917
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.222222
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
7475ef869a204c884139e57953853f7580e07de3
373
py
Python
deepRec1/dataloader4mlleatestWithTs.py
meannoharm/movie_recommend
aa1b82c82d3e66db62e50568414c5b4a1cfa92b6
[ "MIT" ]
null
null
null
deepRec1/dataloader4mlleatestWithTs.py
meannoharm/movie_recommend
aa1b82c82d3e66db62e50568414c5b4a1cfa92b6
[ "MIT" ]
null
null
null
deepRec1/dataloader4mlleatestWithTs.py
meannoharm/movie_recommend
aa1b82c82d3e66db62e50568414c5b4a1cfa92b6
[ "MIT" ]
null
null
null
from utils import osUtils as ou import random from tqdm import tqdm from data_set import filepaths as fp import pandas as pd def readRecData(path,test_ratio = 0.1): df = pd.read_csv(path,sep='\t',header=None) a = df.sort_values(by=[0,3],axis=0) a.to_csv('a.csv') print(a) return if __name__ == '__m...
24.866667
47
0.707775
66
373
3.757576
0.681818
0
0
0
0
0
0
0
0
0
0
0.016234
0.174263
373
15
48
24.866667
0.788961
0
0
0
0
0
0.040107
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.538462
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
747932e9a643cbc1f76b22228d6a2b69edf0bc39
118
py
Python
anyfix_globals.py
alexander-liao/anyfix
d72e53d9382eb1a85dc2ff5ebc6a80094c5e9f57
[ "Unlicense" ]
4
2019-12-01T11:05:00.000Z
2020-12-22T14:33:52.000Z
anyfix_globals.py
hyper-neutrino/anyfix
d72e53d9382eb1a85dc2ff5ebc6a80094c5e9f57
[ "Unlicense" ]
null
null
null
anyfix_globals.py
hyper-neutrino/anyfix
d72e53d9382eb1a85dc2ff5ebc6a80094c5e9f57
[ "Unlicense" ]
1
2017-06-19T18:34:06.000Z
2017-06-19T18:34:06.000Z
values = { 'r': 0.000000000001 } typers = { 'r': float } def setGlobal(key, value): values[key] = value
10.727273
26
0.559322
14
118
4.714286
0.714286
0.242424
0
0
0
0
0
0
0
0
0
0.151163
0.271186
118
10
27
11.8
0.616279
0
0
0
0
0
0.016949
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74992e791f0bfb3da96a37fdd4a8ed363d8aa216
1,976
py
Python
gfxlcd/demos/ssd.py
bkosciow/gfxlcd
953d013abb9b695c2226b348093cc64391a01f6c
[ "MIT" ]
12
2018-01-31T18:43:23.000Z
2021-10-06T10:23:05.000Z
gfxlcd/demos/ssd.py
bkosciow/gfxlcd
953d013abb9b695c2226b348093cc64391a01f6c
[ "MIT" ]
4
2018-04-25T15:15:16.000Z
2021-03-21T09:21:50.000Z
gfxlcd/demos/ssd.py
bkosciow/gfxlcd
953d013abb9b695c2226b348093cc64391a01f6c
[ "MIT" ]
4
2018-03-15T09:12:09.000Z
2021-03-19T20:07:33.000Z
import random import sys sys.path.append("../../") from gfxlcd.driver.ssd1306.spi import SPI from gfxlcd.driver.ssd1306.ssd1306 import SSD1306 def hole(x, y): o.draw_pixel(x+1, y) o.draw_pixel(x+2, y) o.draw_pixel(x+3, y) o.draw_pixel(x+1, y + 4) o.draw_pixel(x+2, y + 4) o.draw_pixel(x+3, y + ...
21.247312
55
0.612348
426
1,976
2.701878
0.197183
0.247611
0.430061
0.114683
0.56907
0.261512
0.146829
0.122502
0.122502
0.122502
0
0.174312
0.172571
1,976
92
56
21.478261
0.529664
0.583502
0
0
0
0
0.007843
0
0
0
0
0
0
1
0.034483
false
0
0.137931
0
0.172414
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
776b585e85359cdc8f805318534efb9b4298e5fa
480
py
Python
core/apps/accounts/urls.py
dansackett/django-project-template
12264a8300442afda9cb207d7db24e55149d6355
[ "MIT" ]
4
2017-02-08T19:15:48.000Z
2019-08-19T01:53:18.000Z
core/apps/accounts/urls.py
dansackett/django-project-template
12264a8300442afda9cb207d7db24e55149d6355
[ "MIT" ]
3
2017-01-24T15:05:55.000Z
2019-11-01T17:26:07.000Z
core/apps/accounts/urls.py
dansackett/django-project-template
12264a8300442afda9cb207d7db24e55149d6355
[ "MIT" ]
6
2017-01-23T23:09:05.000Z
2019-11-18T10:45:27.000Z
from django.conf.urls import url from accounts import views as account_views urlpatterns = [ url(r'users/$', account_views.users_list, name='users-list'), url(r'users/new/$', account_views.user_create, name='user-create'), url(r'user/(?P<pk>\d+)/$', account_views.user_single, name='user-single'), url(...
40
85
0.68125
76
480
4.157895
0.315789
0.227848
0.202532
0.085443
0.113924
0.113924
0
0
0
0
0
0
0.10625
480
11
86
43.636364
0.736597
0
0
0
0
0
0.283333
0.1
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77746bbadb5cbe2a734fb9a9f8421987eac86fea
807
py
Python
patterndetector/detector/engulfing_candle_detector.py
WynnD/PatternDetector
dc25e15b101a066f96a62898a7cb4ec6535d4eb5
[ "MIT" ]
1
2020-12-08T06:56:33.000Z
2020-12-08T06:56:33.000Z
patterndetector/detector/engulfing_candle_detector.py
ajmal017/PatternDetector
f71ae4c38481bd88956a8ef2ef162a1b7e617808
[ "MIT" ]
4
2020-08-03T16:29:31.000Z
2021-02-24T22:51:33.000Z
patterndetector/detector/engulfing_candle_detector.py
ajmal017/PatternDetector
f71ae4c38481bd88956a8ef2ef162a1b7e617808
[ "MIT" ]
1
2020-12-08T06:56:25.000Z
2020-12-08T06:56:25.000Z
from .detector import Detector from patterndetector.data import Data class EngulfingCandleDetector(Detector): def __init__(self, data: Data): super().__init__(data) @property def name(self): return 'Engulfing Candle' def isPattern(self, ticker): openPrice = self.data.getOp...
44.833333
237
0.732342
83
807
7.024096
0.349398
0.068611
0.106346
0.12693
0.281304
0
0
0
0
0
0
0.021341
0.187113
807
17
238
47.470588
0.867378
0
0
0
0
0
0.019827
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
777d64d8f54b28b97381150b318ea3b3a8373ffa
94
py
Python
stepik/programming_on_python/3_2_6_my_solve.py
anklav24/Python-Education
49ebcfabda1376390ee71e1fe321a51e33831f9e
[ "Apache-2.0" ]
null
null
null
stepik/programming_on_python/3_2_6_my_solve.py
anklav24/Python-Education
49ebcfabda1376390ee71e1fe321a51e33831f9e
[ "Apache-2.0" ]
null
null
null
stepik/programming_on_python/3_2_6_my_solve.py
anklav24/Python-Education
49ebcfabda1376390ee71e1fe321a51e33831f9e
[ "Apache-2.0" ]
null
null
null
string = input().lower().split() for word in set(string): print(word, string.count(word))
23.5
35
0.670213
14
94
4.5
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.138298
94
3
36
31.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
777f9aa04f81ef4641223c242df10f646f2bc740
559
py
Python
week2/2.03 for/step03 multiplication table.py
project-cemetery/stepik-programming-on-python
3ca4e6a74b9ca5deb50336737fe2e6d74722a95f
[ "MIT" ]
7
2020-08-03T22:10:29.000Z
2022-02-23T16:08:44.000Z
week2/2.03 for/step03 multiplication table.py
Joni2701/stepik-programming-on-python
3ca4e6a74b9ca5deb50336737fe2e6d74722a95f
[ "MIT" ]
null
null
null
week2/2.03 for/step03 multiplication table.py
Joni2701/stepik-programming-on-python
3ca4e6a74b9ca5deb50336737fe2e6d74722a95f
[ "MIT" ]
9
2020-05-19T16:42:39.000Z
2022-02-24T22:41:21.000Z
def print_multiplication_table(vertical_interval, horizontal_interval): print('\t', end='') for i in range(horizontal_interval[0], horizontal_interval[1] + 1): print(i, end='\t') print() for i in range(vertical_interval[0], vertical_interval[1] + 1): print(i, end='\t') for j in ...
32.882353
75
0.633274
75
559
4.56
0.253333
0.263158
0.087719
0.131579
0.467836
0.467836
0.374269
0.304094
0.304094
0.304094
0
0.02439
0.193202
559
16
76
34.9375
0.733925
0
0
0.333333
0
0
0.014311
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0.666667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
778043d5864b69a00bdc1a821a0324321bcfd44b
599
py
Python
groups/templatetags/group_tags.py
AgentGeek/MangAdventure
48d8e21355e5dc8122a6833d092190d79fef1674
[ "MIT" ]
2
2018-09-24T03:46:55.000Z
2018-10-12T16:20:25.000Z
groups/templatetags/group_tags.py
AgentGeek/MangAdventure
48d8e21355e5dc8122a6833d092190d79fef1674
[ "MIT" ]
6
2018-10-08T15:59:40.000Z
2019-02-02T16:35:33.000Z
groups/templatetags/group_tags.py
AgentGeek/MangAdventure
48d8e21355e5dc8122a6833d092190d79fef1674
[ "MIT" ]
null
null
null
"""Template tags of the groups app.""" from __future__ import annotations from typing import TYPE_CHECKING from django.template.defaultfilters import register if TYPE_CHECKING: # pragma: no cover from groups.models import Group, Member @register.filter def group_roles(member: Member, group: Group) -> str: ...
22.185185
53
0.704508
82
599
4.987805
0.487805
0.02445
0
0
0
0
0
0
0
0
0
0
0.193656
599
26
54
23.038462
0.846791
0.378965
0
0
0
0
0.041298
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
779ddf463b66eb24f675d17d27c6919930f89723
188
py
Python
menu/context_processors.py
douglasPinheiro/nirvaris-menu
3f2d09adbcda1ee5145966bcb2c9b40d9d934f49
[ "MIT" ]
null
null
null
menu/context_processors.py
douglasPinheiro/nirvaris-menu
3f2d09adbcda1ee5145966bcb2c9b40d9d934f49
[ "MIT" ]
null
null
null
menu/context_processors.py
douglasPinheiro/nirvaris-menu
3f2d09adbcda1ee5145966bcb2c9b40d9d934f49
[ "MIT" ]
null
null
null
def globals(request): #import pdb #pdb.set_trace() data = {} if 'menu_item' in request.session: data['menu_item'] = request.session['menu_item'] return data
17.090909
56
0.611702
24
188
4.625
0.583333
0.216216
0
0
0
0
0
0
0
0
0
0
0.255319
188
10
57
18.8
0.792857
0.132979
0
0
0
0
0.16875
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
779fc28c39695eb6df6d6b4def228165b9c64ed4
367
py
Python
altimeter/qj/api/v1/api.py
elliotsegler/altimeter
c3924524938b4bae86b1acda2a4fc3f79ac523ff
[ "MIT" ]
48
2019-11-06T03:20:53.000Z
2022-02-22T21:10:45.000Z
altimeter/qj/api/v1/api.py
elliotsegler/altimeter
c3924524938b4bae86b1acda2a4fc3f79ac523ff
[ "MIT" ]
27
2020-01-07T23:48:30.000Z
2022-02-26T00:24:04.000Z
altimeter/qj/api/v1/api.py
elliotsegler/altimeter
c3924524938b4bae86b1acda2a4fc3f79ac523ff
[ "MIT" ]
21
2019-12-20T03:06:35.000Z
2021-12-15T23:26:00.000Z
"""V1 API router""" from fastapi import APIRouter from altimeter.qj.api.v1.endpoints.jobs import JOBS_ROUTER from altimeter.qj.api.v1.endpoints.result_sets import RESULT_SETS_ROUTER V1_ROUTER = APIRouter() V1_ROUTER.include_router(JOBS_ROUTER, prefix="/jobs", tags=["jobs"]) V1_ROUTER.include_router(RESULT_SETS_ROUTER...
36.7
89
0.80109
55
367
5.090909
0.290909
0.178571
0.107143
0.128571
0.207143
0.207143
0
0
0
0
0
0.017595
0.070845
367
9
90
40.777778
0.803519
0.035422
0
0
0
0
0.091954
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
77ac851550267c373f184de9966d3e44cba6878f
1,595
py
Python
tests/parlaclarin/parse_test.py
welfare-state-analytics/pyriksprot
a7dab9246c3d9bb1cf19543208bc72fbacb9e909
[ "MIT" ]
null
null
null
tests/parlaclarin/parse_test.py
welfare-state-analytics/pyriksprot
a7dab9246c3d9bb1cf19543208bc72fbacb9e909
[ "MIT" ]
19
2021-09-21T16:24:14.000Z
2022-03-31T10:06:50.000Z
tests/parlaclarin/parse_test.py
welfare-state-analytics/pyriksprot
a7dab9246c3d9bb1cf19543208bc72fbacb9e909
[ "MIT" ]
null
null
null
import os import pytest from pyriksprot import interface from pyriksprot.corpus import parlaclarin from ..utility import RIKSPROT_PARLACLARIN_FAKE_FOLDER, RIKSPROT_PARLACLARIN_FOLDER jj = os.path.join def test_to_protocol_in_depth_validation_of_correct_parlaclarin_xml(): protocol: interface.Protocol = parlac...
27.033898
94
0.732915
195
1,595
5.8
0.317949
0.111406
0.075155
0.076923
0.420866
0.344828
0.344828
0.344828
0.344828
0.263484
0
0.029367
0.167398
1,595
58
95
27.5
0.822289
0.023197
0
0.324324
0
0
0.09582
0
0
0
0
0.017241
0.405405
1
0.081081
false
0
0.135135
0
0.216216
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
1
0
0
0
0
0
0
0
0
0
2
77bc9d18897f9e2e8b8b8586dfd4784401b0f690
196
py
Python
cleanup_instances.py
MISP/dockerized_training_environment
de458b5ef62164da67e23985c768c01dc2ebcd58
[ "MIT" ]
7
2020-11-18T21:47:55.000Z
2022-03-09T20:46:56.000Z
cleanup_instances.py
MISP/dokerized_training_environment
835019c742247e302855e9e4d1192ee5d81616c8
[ "MIT" ]
null
null
null
cleanup_instances.py
MISP/dokerized_training_environment
835019c742247e302855e9e4d1192ee5d81616c8
[ "MIT" ]
2
2021-07-04T22:59:05.000Z
2021-07-19T12:22:17.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from misp_instances import MISPInstances if __name__ == '__main__': instances = MISPInstances() instances.cleanup_all_blacklisted_event()
19.6
45
0.719388
22
196
5.863636
0.863636
0
0
0
0
0
0
0
0
0
0
0.012048
0.153061
196
9
46
21.777778
0.76506
0.219388
0
0
0
0
0.05298
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77bd451236783e0b666c7ee928e48672d43fb99d
980
py
Python
venv/lib/python3.5/site-packages/coalib/bears/meta.py
prashant0598/CoffeeApp
4fa006aebf06e12ed34766450ddcfa548ee63307
[ "MIT" ]
null
null
null
venv/lib/python3.5/site-packages/coalib/bears/meta.py
prashant0598/CoffeeApp
4fa006aebf06e12ed34766450ddcfa548ee63307
[ "MIT" ]
null
null
null
venv/lib/python3.5/site-packages/coalib/bears/meta.py
prashant0598/CoffeeApp
4fa006aebf06e12ed34766450ddcfa548ee63307
[ "MIT" ]
null
null
null
from collections import defaultdict from coalib.bearlib.aspects.collections import aspectlist class bearclass(type): """ Metaclass for :class:`coalib.bears.Bear.Bear` and therefore all bear classes. Pushing bears into the future... ;) """ # by default a bear class has no aspects aspects...
32.666667
78
0.638776
114
980
5.350877
0.491228
0.078689
0.131148
0.177049
0.255738
0.255738
0
0
0
0
0
0
0.247959
980
29
79
33.793103
0.82768
0.276531
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
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
0
0
0
0
0
1
0
0
2
77bf2a587348db96cf1ee2fcdb711f47d1f4b9d7
12,875
py
Python
object_detector_app/utils/worker_utils.py
edrickwong/w3p
5537d15310ed1f77f06c3ecff4a9e17dd1f81657
[ "Unlicense" ]
null
null
null
object_detector_app/utils/worker_utils.py
edrickwong/w3p
5537d15310ed1f77f06c3ecff4a9e17dd1f81657
[ "Unlicense" ]
null
null
null
object_detector_app/utils/worker_utils.py
edrickwong/w3p
5537d15310ed1f77f06c3ecff4a9e17dd1f81657
[ "Unlicense" ]
null
null
null
import cv2 import multiprocessing import socket import tensorflow as tf import time from defaults import * from multiprocessing import Queue, Pool, Process from object_detector_utils import ObjectDetector from utils.app_utils import WebcamVideoStream from reference_objects_utils import ReferenceObjectsHelper # logger...
38.204748
126
0.623068
1,669
12,875
4.587777
0.217496
0.014627
0.016456
0.018806
0.44874
0.385268
0.336685
0.28967
0.28967
0.280266
0
0.007007
0.30167
12,875
336
127
38.318452
0.844622
0.24334
0
0.322404
0
0
0.066913
0
0
0
0
0.014881
0
0
null
null
0
0.054645
null
null
0.071038
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
77c2220b2033ba3b299257e30d6fd82619ee794b
718
py
Python
babysploit/wpseku/lib/printer.py
kevinsegal/BabySploit
66bafc25e04e7512e8b87b161bd3b7201bb57b63
[ "MIT" ]
null
null
null
babysploit/wpseku/lib/printer.py
kevinsegal/BabySploit
66bafc25e04e7512e8b87b161bd3b7201bb57b63
[ "MIT" ]
null
null
null
babysploit/wpseku/lib/printer.py
kevinsegal/BabySploit
66bafc25e04e7512e8b87b161bd3b7201bb57b63
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # WPSeku - Wordpress Security Scanner # by Momo Outaadi (m4ll0k) from lib.colors import * def decode(string): return string.encode('utf-8') def plus(string): print("{}[ + ]{} {}{}{}".format( GREEN%1,RESET,GREEN%0,string,RESET)) def test(string): print("{}[ * ]...
20.514286
45
0.601671
97
718
4.453608
0.42268
0.152778
0.196759
0.138889
0
0
0
0
0
0
0
0.025641
0.130919
718
34
46
21.117647
0.666667
0.14624
0
0
0
0
0.149671
0
0
0
0
0
0
1
0.35
false
0
0.05
0.05
0.45
0.3
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
1
0
0
0
0
0
0
0
2
77ccdee8931416244bf1a7a303a5dbd891ef4733
2,908
py
Python
db/models.py
hnzlmnn/dora
1c7375491af03d3ea8557e68b18afc6f916f65d7
[ "BSD-3-Clause" ]
6
2020-03-10T14:57:42.000Z
2021-05-19T19:14:54.000Z
db/models.py
hnzlmnn/dora
1c7375491af03d3ea8557e68b18afc6f916f65d7
[ "BSD-3-Clause" ]
null
null
null
db/models.py
hnzlmnn/dora
1c7375491af03d3ea8557e68b18afc6f916f65d7
[ "BSD-3-Clause" ]
3
2020-03-08T16:02:11.000Z
2020-07-24T10:56:01.000Z
import base64 import binascii from typing import Union from peewee import DatabaseProxy, Model, CharField, BooleanField, DateTimeField, IntegerField, ForeignKeyField, \ CompositeKey, DoesNotExist from db.fields import BytesField database_proxy = DatabaseProxy() class BaseModel(Model): class Meta: d...
28.792079
139
0.615543
330
2,908
5.345455
0.251515
0.056122
0.061224
0.022109
0.287415
0.252268
0.132653
0.095238
0.046485
0
0
0.013121
0.266162
2,908
101
140
28.792079
0.813496
0.043329
0
0.363636
0
0.012987
0.101079
0.009353
0
0
0
0
0
1
0.12987
false
0
0.064935
0.103896
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
77e25ecf9a07d3984e7795af3734f3f79900a595
440
py
Python
objmodel/step00_get_set_field/objmodel.py
suensky/500lines-rewrite
3b8ec12e4abc777e504dfd5ad77cabce3851a23c
[ "CC-BY-3.0" ]
80
2020-06-04T01:34:30.000Z
2022-03-21T08:10:01.000Z
objmodel/step00_get_set_field/objmodel.py
suensky/500lines-rewrite
3b8ec12e4abc777e504dfd5ad77cabce3851a23c
[ "CC-BY-3.0" ]
5
2021-02-09T01:02:09.000Z
2021-03-29T02:11:06.000Z
objmodel/step00_get_set_field/objmodel.py
suensky/500lines-rewrite
3b8ec12e4abc777e504dfd5ad77cabce3851a23c
[ "CC-BY-3.0" ]
11
2020-11-06T01:11:11.000Z
2022-03-06T07:19:58.000Z
class Class: def __init__(self, name: str): self.name = name class Instance: def __init__(self, cls: Class): self.cls = cls self._fields = {} def get_attr(self, name: str): if name not in self._fields: raise AttributeError(f"'{self.cls.name}' has no attribute {...
24.444444
78
0.595455
59
440
4.20339
0.389831
0.129032
0.133065
0.120968
0
0
0
0
0
0
0
0
0.286364
440
17
79
25.882353
0.789809
0
0
0
0
0
0.093182
0
0
0
0
0
0
1
0.307692
false
0
0
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
77f299aaccb2e293e2955e642aaac7da3760011a
104
py
Python
08.Iterators_and_generators/Lab/squares.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
08.Iterators_and_generators/Lab/squares.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
08.Iterators_and_generators/Lab/squares.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
def squares(n): i = 1 while i <= n: yield i * i i += 1 print(list(squares(5)))
13
23
0.442308
17
104
2.705882
0.588235
0.086957
0
0
0
0
0
0
0
0
0
0.048387
0.403846
104
8
23
13
0.693548
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77f3fb005629d43f754ea92f3d980821c34780fe
55,236
py
Python
kravatte/kravatte.py
inmcm/kravatte
21a6da899fe2707ff6128a89f83e3aeecf2ea68a
[ "MIT" ]
13
2018-04-16T19:56:50.000Z
2022-02-07T16:21:43.000Z
kravatte/kravatte.py
inmcm/kravatte
21a6da899fe2707ff6128a89f83e3aeecf2ea68a
[ "MIT" ]
2
2018-04-27T12:51:19.000Z
2018-11-25T16:55:49.000Z
kravatte/kravatte.py
inmcm/kravatte
21a6da899fe2707ff6128a89f83e3aeecf2ea68a
[ "MIT" ]
2
2018-08-20T06:40:08.000Z
2019-11-12T23:16:47.000Z
""" Kravatte Achouffe Cipher Suite: Encryption, Decryption, and Authentication Tools based on the Farfalle modes Copyright 2018 Michael Calvin McCoy see LICENSE file """ from multiprocessing import Pool from math import floor, ceil, log2 from typing import Tuple from os import cpu_count from ctypes import memset import...
43.254503
172
0.634695
7,158
55,236
4.737077
0.074742
0.020054
0.016869
0.009909
0.744131
0.715672
0.688923
0.671552
0.662115
0.65026
0
0.021258
0.278677
55,236
1,276
173
43.288401
0.829079
0.358027
0
0.559259
0
0
0.004884
0
0
0
0.003781
0
0.001852
1
0.085185
false
0
0.018519
0
0.194444
0.011111
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
77f4e418af722622970c7ce018e3cf661f1435fb
933
py
Python
radar/models/user.py
J4LP/radar
c54feac19dc0181223c74d780179095bbe53142a
[ "Unlicense", "MIT" ]
null
null
null
radar/models/user.py
J4LP/radar
c54feac19dc0181223c74d780179095bbe53142a
[ "Unlicense", "MIT" ]
null
null
null
radar/models/user.py
J4LP/radar
c54feac19dc0181223c74d780179095bbe53142a
[ "Unlicense", "MIT" ]
null
null
null
import arrow from sqlalchemy_utils import IPAddressType, ArrowType from radar.models import db class User(db.Model): id = db.Column(db.Integer, primary_key=True) user_id = db.Column(db.String, unique=True) main_character = db.Column(db.String) main_character_id = db.Column(db.Integer) alliance_nam...
29.15625
72
0.699893
127
933
5.007874
0.440945
0.100629
0.09434
0.100629
0.122642
0
0
0
0
0
0
0.007947
0.190782
933
31
73
30.096774
0.834437
0
0
0
0
0
0.040729
0
0
0
0
0
0
1
0.166667
false
0
0.125
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
77f931744d12e59cfee289a9376b2a8d113bac9f
840
py
Python
ancfindersite/admin.py
kevko/ancfinder
1368604e9a17f70e2d3981b6c4258d6455555844
[ "CC0-1.0" ]
null
null
null
ancfindersite/admin.py
kevko/ancfinder
1368604e9a17f70e2d3981b6c4258d6455555844
[ "CC0-1.0" ]
null
null
null
ancfindersite/admin.py
kevko/ancfinder
1368604e9a17f70e2d3981b6c4258d6455555844
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 from django.contrib import admin from ancfindersite.models import * @admin.register(CommissionerInfo) class CommissionerInfoAdmin(admin.ModelAdmin): list_display = ['id', 'latest', 'created', 'author', 'anc', 'smd', 'field_name', 'field_value', 'linkage'] raw_id_fields = ['author'] re...
31.111111
110
0.665476
107
840
5.121495
0.579439
0.087591
0.082117
0.054745
0
0
0
0
0
0
0
0.001471
0.190476
840
26
111
32.307692
0.804412
0.115476
0
0
0
0
0.154054
0
0
0
0
0
0
1
0.105263
false
0.052632
0.105263
0.052632
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
ae01727cfecda3887bfcd03981090dc1fcddea42
66
py
Python
for in.py
MrAnonymous5635/CSCircles
010ac82942c88da357e214ea5462ec378f3667b8
[ "MIT" ]
17
2018-09-19T09:44:33.000Z
2022-01-17T15:17:11.000Z
for in.py
MrAnonymous5635/CSCircles
010ac82942c88da357e214ea5462ec378f3667b8
[ "MIT" ]
2
2020-02-24T15:28:33.000Z
2021-11-16T00:04:52.000Z
for in.py
MrAnonymous5635/CSCircles
010ac82942c88da357e214ea5462ec378f3667b8
[ "MIT" ]
8
2020-02-20T00:02:06.000Z
2022-01-06T17:25:51.000Z
def prod(L): p = 1 for i in L: p *= i return p
11
15
0.393939
13
66
2
0.692308
0.153846
0
0
0
0
0
0
0
0
0
0.030303
0.5
66
5
16
13.2
0.757576
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ae02de2b9a04ab2ec51a173473001761384a9382
781
py
Python
flask_web/config/default.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
flask_web/config/default.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
flask_web/config/default.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
# coding: utf-8 import os class Config(object): RESULT_ERROR = 0 RESULT_SUCCESS = 1 MONGODB_SETTINGS = {'ALIAS': 'default', 'DB': 'facepp', 'host': 'localhost', 'username': 'admin', 'password': ''} """Bas...
24.40625
88
0.50064
83
781
4.578313
0.819277
0.047368
0
0
0
0
0
0
0
0
0
0.057769
0.357234
781
31
89
25.193548
0.699203
0.117798
0
0
0
0.055556
0.221548
0.104704
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
7ac3c07bce8003bb3e2b3c3cce602636e606ad54
460
py
Python
sample_pointcloud.py
jiameng1010/pointNet
17d230f46f64136baba2c3d6cb7f05ab4bbb9f31
[ "MIT" ]
null
null
null
sample_pointcloud.py
jiameng1010/pointNet
17d230f46f64136baba2c3d6cb7f05ab4bbb9f31
[ "MIT" ]
null
null
null
sample_pointcloud.py
jiameng1010/pointNet
17d230f46f64136baba2c3d6cb7f05ab4bbb9f31
[ "MIT" ]
1
2019-02-03T12:19:36.000Z
2019-02-03T12:19:36.000Z
from pyntcloud import PyntCloud import pyembree import numpy as np import trimesh from trimesh import sample, ray, triangles from trimesh.ray.ray_pyembree import RayMeshIntersector import pandas as pd cloud = PyntCloud.from_file("/home/mjia/Documents/ShapeCompletion/test.ply") sample = cloud.get_sample(name='mesh_ran...
28.75
81
0.806522
67
460
5.432836
0.567164
0.082418
0
0
0
0
0
0
0
0
0
0.023923
0.091304
460
16
82
28.75
0.84689
0
0
0
0
0
0.223427
0.180043
0
0
0
0
0
1
0
false
0
0.583333
0
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
0
0
0
1
0
1
0
0
2
7acb3839960d46daa774c78e73cb0aeba944f283
288
py
Python
ddtruss/__init__.py
deeepeshthakur/ddtruss
86aa945d577c6efe752099eee579386762942289
[ "MIT" ]
1
2020-01-27T12:03:47.000Z
2020-01-27T12:03:47.000Z
ddtruss/__init__.py
deeepeshthakur/ddtruss
86aa945d577c6efe752099eee579386762942289
[ "MIT" ]
null
null
null
ddtruss/__init__.py
deeepeshthakur/ddtruss
86aa945d577c6efe752099eee579386762942289
[ "MIT" ]
null
null
null
from .__about__ import __author__, __email__, __license__, __status__, __version__ from .solver import DataDrivenSolver from .truss import Truss __all__ = [ "__author__", "__email__", "__license__", "__version__", "__status__", "Truss", "DataDrivenSolver", ]
20.571429
82
0.697917
24
288
6.375
0.5
0.143791
0.235294
0
0
0
0
0
0
0
0
0
0.194444
288
13
83
22.153846
0.659483
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7ae50d93020389130f7a04ed4c7ed892b8c42fdf
1,743
py
Python
tests/test_basics.py
viki-org/logstash-docker
71d316dfa1792075ffe82398f45561cf25741609
[ "Apache-2.0" ]
305
2016-10-04T04:17:04.000Z
2021-11-16T13:53:05.000Z
tests/test_basics.py
viki-org/logstash-docker
71d316dfa1792075ffe82398f45561cf25741609
[ "Apache-2.0" ]
105
2016-10-10T15:52:39.000Z
2019-06-26T13:39:36.000Z
tests/test_basics.py
viki-org/logstash-docker
71d316dfa1792075ffe82398f45561cf25741609
[ "Apache-2.0" ]
133
2016-11-03T18:01:43.000Z
2022-02-02T12:16:55.000Z
from .fixtures import logstash from .constants import logstash_version_string def test_logstash_is_the_correct_version(logstash): assert logstash_version_string in logstash.stdout_of('logstash --version') def test_the_default_user_is_logstash(logstash): assert logstash.stdout_of('whoami') == 'logstash' de...
34.176471
90
0.780838
253
1,743
5.011858
0.339921
0.060726
0.156151
0.132492
0.34858
0.255521
0.141956
0
0
0
0
0.016067
0.107286
1,743
50
91
34.86
0.798843
0.04934
0
0
0
0
0.201813
0.020544
0
0
0
0
0.444444
1
0.407407
false
0
0.074074
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
7afcba4478178056c3c4b8f0dd94cece84b8040b
1,334
py
Python
tests/application/models.py
YoungAspirations/QA-Projects
9f24886977d566548f5629371407187d8017f209
[ "MIT" ]
null
null
null
tests/application/models.py
YoungAspirations/QA-Projects
9f24886977d566548f5629371407187d8017f209
[ "MIT" ]
null
null
null
tests/application/models.py
YoungAspirations/QA-Projects
9f24886977d566548f5629371407187d8017f209
[ "MIT" ]
null
null
null
from application import db class Users(db.Model): id = db.Column(db.Integer, primary_key=True) First_name = db.Column(db.String(30), nullable = False) Last_name = db.Column(db.String(50), nullable = False) User_name = db.Column(db.String(30), nullable = False) Password = db.Column(db.String(30), nu...
47.642857
92
0.688906
192
1,334
4.729167
0.213542
0.167401
0.209251
0.211454
0.75
0.677313
0.613436
0.209251
0.132159
0.132159
0
0.02139
0.158921
1,334
28
93
47.642857
0.787879
0
0
0.12
0
0
0.036704
0
0
0
0
0
0
1
0
false
0.04
0.04
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
0
0
0
2
7afd81f0836abf10236a169a7a3b6acc4dd1d0a8
689
py
Python
ICS4U/ICS4U-2017-2018-Code/examples/inheritance/Python-based/Vehicle.py
mrseidel-classes/archives
b3e04fd4338e3b3796ad2c681a10fbca69e1dae2
[ "MIT" ]
5
2018-05-06T21:29:00.000Z
2022-02-02T12:02:07.000Z
ICS4U/ICS4U-2017-2018-Code/examples/inheritance/Python-based/Vehicle.py
mrseidel-classes/archives
b3e04fd4338e3b3796ad2c681a10fbca69e1dae2
[ "MIT" ]
null
null
null
ICS4U/ICS4U-2017-2018-Code/examples/inheritance/Python-based/Vehicle.py
mrseidel-classes/archives
b3e04fd4338e3b3796ad2c681a10fbca69e1dae2
[ "MIT" ]
null
null
null
class Vehicle: ''' Documentation needed here ''' def __init__(self, numberOfTires, colorOfVehicle): ''' Documentation needed here ''' self.numberOfTires = numberOfTires self.colorOfVehicle = colorOfVehicle def start(self): ''' This function starts the vehicle ''' print("I started!") def dr...
19.685714
59
0.658926
81
689
5.506173
0.481481
0.089686
0.103139
0.071749
0
0
0
0
0
0
0
0
0.235123
689
35
60
19.685714
0.8463
0.489115
0
0
0
0
0.101983
0
0
0
0
0
0
1
0.416667
false
0
0
0.083333
0.583333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bb091e39ee9f343a16bc795582b949c70dabc617
2,469
py
Python
src/retrocookie/pr/events.py
iamamutt/retrocookie
4cc4da83c5fc3751377730c06fcef746a06fe60a
[ "MIT" ]
15
2020-06-21T14:35:42.000Z
2022-03-30T15:48:55.000Z
src/retrocookie/pr/events.py
iamamutt/retrocookie
4cc4da83c5fc3751377730c06fcef746a06fe60a
[ "MIT" ]
223
2020-05-22T14:35:05.000Z
2022-03-28T00:19:23.000Z
src/retrocookie/pr/events.py
iamamutt/retrocookie
4cc4da83c5fc3751377730c06fcef746a06fe60a
[ "MIT" ]
4
2020-11-19T12:55:01.000Z
2022-03-15T14:24:25.000Z
"""Events and contexts for the message bus.""" from dataclasses import dataclass from typing import List from retrocookie import git from retrocookie.pr.base import bus from retrocookie.pr.protocols import github @dataclass class GitNotFound(bus.Event): """Cannot find an installation of git.""" @dataclass clas...
19.289063
66
0.713244
294
2,469
5.959184
0.309524
0.119863
0.050228
0.073059
0.320205
0.268836
0.244863
0.211758
0.15468
0.15468
0
0
0.18874
2,469
127
67
19.440945
0.874688
0.253139
0
0.492537
0
0
0
0
0
0
0
0
0
1
0
true
0
0.074627
0
0.776119
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
bb0e3a4a424cab3d6b9961d60125be743eac980d
277
py
Python
backend/src/incidents/migrations/0014_merge_20190918_1515.py
pavan168/IncidentManagement
7fbf111922a735d4cbe75969159858d6605a1e0b
[ "MIT" ]
17
2019-01-16T13:10:25.000Z
2021-02-07T02:04:11.000Z
backend/src/incidents/migrations/0014_merge_20190918_1515.py
pavan168/IncidentManagement
7fbf111922a735d4cbe75969159858d6605a1e0b
[ "MIT" ]
360
2019-02-13T15:24:44.000Z
2022-02-26T17:42:33.000Z
backend/src/incidents/migrations/0014_merge_20190918_1515.py
mohamednizar/request-management
a88a2ce35a7a1a98630ffd14c1a31a5173b662c8
[ "MIT" ]
46
2019-01-16T13:10:25.000Z
2021-06-23T02:44:18.000Z
# Generated by Django 2.2.1 on 2019-09-18 15:15 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('incidents', '0013_auto_20190918_1415'), ('incidents', '0011_auto_20190918_1356'), ] operations = [ ]
18.466667
49
0.65343
33
277
5.30303
0.757576
0.137143
0
0
0
0
0
0
0
0
0
0.219626
0.227437
277
14
50
19.785714
0.598131
0.162455
0
0
1
0
0.278261
0.2
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb2444f0f11fe36608e740690e190ab225f4ca44
1,633
py
Python
models/strategy.py
CBarreiro96/PRICE-INSPECTOR
d77984f8c11817af21cbdaa56a610a359c6d8061
[ "MIT" ]
1
2021-03-21T10:49:46.000Z
2021-03-21T10:49:46.000Z
models/strategy.py
CBarreiro96/PRICE-INSPECTOR
d77984f8c11817af21cbdaa56a610a359c6d8061
[ "MIT" ]
1
2021-03-13T23:29:29.000Z
2021-03-13T23:29:29.000Z
models/strategy.py
CBarreiro96/PRICE-INSPECTOR
d77984f8c11817af21cbdaa56a610a359c6d8061
[ "MIT" ]
3
2021-03-30T12:56:05.000Z
2021-06-21T23:20:25.000Z
#!/usr/bin/python """class Strategy""" import models from models.base_model import BaseModel, Base from sqlalchemy import Column, String, Float, ForeignKey from sqlalchemy.orm import relationship class Strategy(BaseModel, Base): """Representation of a Strategy""" __tablename__ = 'strategies' name = Colum...
39.829268
66
0.691366
213
1,633
5.051643
0.262911
0.184015
0.252788
0.167286
0.547398
0.522305
0.284387
0
0
0
0
0.032453
0.18861
1,633
40
67
40.825
0.779623
0.049602
0
0
0
0
0.035156
0
0
0
0
0
0
1
0.03125
false
0
0.125
0
0.90625
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb314ff4d3d72fdc85dd64dff7ae3856c4338bdd
165
py
Python
Python/011. Built-ins/04. Athlete Sort.py
subhadeep-123/HackerRank
4596915097e58d9fd7a8bfad3194ac35f0c25177
[ "MIT" ]
2
2020-07-20T19:47:54.000Z
2021-04-19T21:14:59.000Z
Python/011. Built-ins/04. Athlete Sort.py
subhadeep-123/HackerRank
4596915097e58d9fd7a8bfad3194ac35f0c25177
[ "MIT" ]
null
null
null
Python/011. Built-ins/04. Athlete Sort.py
subhadeep-123/HackerRank
4596915097e58d9fd7a8bfad3194ac35f0c25177
[ "MIT" ]
null
null
null
n, m = map(int, input().split()) array = [input() for _ in range(n)] k = int(input()) for row in sorted(array, key=lambda row: int(row.split()[k])): print(row)
23.571429
62
0.606061
29
165
3.413793
0.551724
0.161616
0
0
0
0
0
0
0
0
0
0
0.169697
165
6
63
27.5
0.722628
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb37e66022cf5b3dfa7d812f2c6b4a7dea737948
169
py
Python
strings.py
Abhiforcs/mypythonworkspace
ac5014160fc9b29d1a8d835441e6360f470fae59
[ "MIT" ]
1
2020-05-12T20:19:53.000Z
2020-05-12T20:19:53.000Z
strings.py
Abhiforcs/mypythonworkspace
ac5014160fc9b29d1a8d835441e6360f470fae59
[ "MIT" ]
null
null
null
strings.py
Abhiforcs/mypythonworkspace
ac5014160fc9b29d1a8d835441e6360f470fae59
[ "MIT" ]
null
null
null
def count(char,word): total=0 for any in word: if any in char: total = total + 1 return total result = count('a','banana') print(result)
18.777778
29
0.568047
25
169
3.84
0.64
0.104167
0
0
0
0
0
0
0
0
0
0.017391
0.319527
169
8
30
21.125
0.817391
0
0
0
0
0
0.04142
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb3ca45e0783016717a57abf87ea77f115739f69
14,523
py
Python
test/testRational.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
1
2021-05-26T19:22:17.000Z
2021-05-26T19:22:17.000Z
test/testRational.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
null
null
null
test/testRational.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
null
null
null
import unittest from nzmath.rational import * import nzmath.finitefield as finitefield from nzmath.plugins import FLOATTYPE as Float # Rational, Integer, theIntegerRing, theRationalField class RationalTest (unittest.TestCase): def testInit(self): self.assertEqual("2/1", str(Rational(2))) self.asse...
38.218421
91
0.641534
1,753
14,523
5.308614
0.111238
0.149903
0.046207
0.021062
0.573931
0.446486
0.35332
0.287234
0.268644
0.221148
0
0.08932
0.212146
14,523
379
92
38.319261
0.723999
0.029333
0
0.204698
0
0
0.006605
0
0
0
0
0
0.630872
1
0.208054
false
0
0.013423
0
0.241611
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
bb4365a01dbad1b2b19030bedd47cf890a7de254
1,014
py
Python
analysis/NumpyFunctionLoop.py
clearyb1/COVIDDataViz
e3001afafaf67d2447181268d8ca796c27a6df13
[ "MIT" ]
null
null
null
analysis/NumpyFunctionLoop.py
clearyb1/COVIDDataViz
e3001afafaf67d2447181268d8ca796c27a6df13
[ "MIT" ]
null
null
null
analysis/NumpyFunctionLoop.py
clearyb1/COVIDDataViz
e3001afafaf67d2447181268d8ca796c27a6df13
[ "MIT" ]
null
null
null
import numpy as np #create array of weekly vaccination numbers from https://opendata-geohive.hub.arcgis.com/datasets/0101ed10351e42968535bb002f94c8c6_0.csv?outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D a= np.array([3946, 43856, 52659, 49703, 51381, 56267, 32176, 86434, 88578, 88294, 91298, 64535, 133195, ...
12.518519
194
0.710059
143
1,014
5.027972
0.762238
0.029207
0.022253
0.075104
0
0
0
0
0
0
0
0.399297
0.157791
1,014
80
195
12.675
0.442623
0.312623
0
0
0
0
0.076923
0
0
0
0
0
0
1
0.015873
false
0
0.015873
0
0.031746
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bb44631e394af313f273110dc22a3affea46815e
1,136
py
Python
mExports.py
SkyLined/mProductVersionAndLicense
89bfe34add2eb3d5866f4ead43ef3b650841cd8d
[ "CC-BY-4.0" ]
3
2018-03-28T12:05:13.000Z
2021-01-30T07:26:52.000Z
mExports.py
SkyLined/mProductDetails
c5aed22b409f01ea509deb00d0a2440ae7afdacf
[ "CC-BY-4.0" ]
null
null
null
mExports.py
SkyLined/mProductDetails
c5aed22b409f01ea509deb00d0a2440ae7afdacf
[ "CC-BY-4.0" ]
null
null
null
from .cLicenseServer import cLicenseServer; from .cProductDetails import cProductDetails; from .faoGetLicensesFromFile import faoGetLicensesFromFile; from .faoGetLicensesFromRegistry import faoGetLicensesFromRegistry; from .faoGetProductDetailsForAllLoadedModules import faoGetProductDetailsForAllLoadedModules; from .fo...
45.44
99
0.876761
56
1,136
17.714286
0.25
0
0
0
0
0
0
0
0
0
0
0.005687
0.071303
1,136
25
100
45.44
0.934597
0
0
0
0
0
0.257696
0.220756
0
0
0
0
0
1
0
false
0
0.458333
0
0.458333
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
bb53be5d9535e67e41679bc0cccd687e1f49ef89
8,349
py
Python
3rdPartyLibraries/FuXi-master/test/SPARQL/test.py
mpetyx/pyrif
2f7ba863030d7337bb39ad502d1e09e26ac950d2
[ "MIT" ]
null
null
null
3rdPartyLibraries/FuXi-master/test/SPARQL/test.py
mpetyx/pyrif
2f7ba863030d7337bb39ad502d1e09e26ac950d2
[ "MIT" ]
null
null
null
3rdPartyLibraries/FuXi-master/test/SPARQL/test.py
mpetyx/pyrif
2f7ba863030d7337bb39ad502d1e09e26ac950d2
[ "MIT" ]
null
null
null
# """ # FuXi Harness for W3C SPARQL1.1 Entailment Evaluation Tests # """ # import unittest # from pprint import pprint # from urllib2 import urlopen # from FuXi.Rete.RuleStore import SetupRuleStore # from FuXi.Horn.HornRules import HornFromN3 # from FuXi.Rete.Proof import ImmutableDict # from FuXi.SPARQL.BackwardChain...
38.474654
102
0.543538
838
8,349
5.369928
0.318616
0.010889
0.014
0.018667
0.160667
0.144444
0.087111
0.087111
0.040889
0.040889
0
0.012031
0.323033
8,349
216
103
38.652778
0.784147
0.948856
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
246d97b601c5bd5a2c4ed52accec7c24dfdc27f3
1,265
py
Python
3er Elemento/insertar_multiples_registros.py
Antonio985/SeminarioDeProgramacion
a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465
[ "Unlicense" ]
null
null
null
3er Elemento/insertar_multiples_registros.py
Antonio985/SeminarioDeProgramacion
a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465
[ "Unlicense" ]
null
null
null
3er Elemento/insertar_multiples_registros.py
Antonio985/SeminarioDeProgramacion
a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465
[ "Unlicense" ]
null
null
null
# Realizar la importacion del modulo postgres sql import psycopg2 # Realizar conexion a base de datos conexion = psycopg2.connect(user='postgres', password='admin', host='127.0.0.1', port='5432', database='t...
34.189189
68
0.651383
150
1,265
5.473333
0.626667
0.030451
0.026797
0
0
0
0
0
0
0
0
0.01433
0.227668
1,265
36
69
35.138889
0.825998
0.334387
0
0
0
0
0.373045
0.105897
0
0
0
0.027778
0
1
0
false
0.052632
0.052632
0
0.052632
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
0
0
0
2
246e0a5f8b17a9b0843c7beecad945fa0daad6a6
307
py
Python
03.Complete Python Developer - Zero to Mastery - AN/05.Advanced Python Decorators/decorators3.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
3
2020-06-01T04:17:18.000Z
2020-12-18T03:05:55.000Z
03.Complete Python Developer - Zero to Mastery - AN/05.Advanced Python Decorators/decorators3.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
1
2020-04-25T08:01:59.000Z
2020-04-25T08:01:59.000Z
03.Complete Python Developer - Zero to Mastery - AN/05.Advanced Python Decorators/decorators3.py
ptyadana/python-dojo
98c7234b84f0afea99a091c7198342d66bbdff5b
[ "MIT" ]
7
2020-04-26T10:02:36.000Z
2021-06-08T05:12:46.000Z
#Decorator Pattern def my_decorator(func): def wrap_func(*args, **kwargs): print("**********") func(*args, **kwargs) print("**********") return wrap_func @my_decorator def hello(greeting,emoji, withLove="your love"): print(greeting,emoji, withLove) hello('yo yo', '<3')
23.615385
48
0.589577
36
307
4.916667
0.5
0.124294
0.158192
0.214689
0
0
0
0
0
0
0
0.004049
0.19544
307
13
49
23.615385
0.712551
0.055375
0
0.2
0
0
0.124138
0
0
0
0
0
0
1
0.3
false
0
0
0
0.4
0.3
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
0
0
0
2
247082659fc75104497197168be41753057b14d3
88
py
Python
tester.py
sritzow/sritzow.github.io
10eb5d30ed425020154dbc9aeaecf2bfbe911b87
[ "MIT" ]
null
null
null
tester.py
sritzow/sritzow.github.io
10eb5d30ed425020154dbc9aeaecf2bfbe911b87
[ "MIT" ]
null
null
null
tester.py
sritzow/sritzow.github.io
10eb5d30ed425020154dbc9aeaecf2bfbe911b87
[ "MIT" ]
null
null
null
import pymongo conn = pymongo.MongoClient() db = conn.tweets db.tweets.dropDatabase()
12.571429
28
0.761364
11
88
6.090909
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.125
88
6
29
14.666667
0.87013
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
247312d285b054cd39227aef99a3e1dffd566287
522
py
Python
src/simfoni/apps/revenue/models/revenue_group.py
django-stars/simfoni-test
eaca4adc8177505e7c53e708456fd0dbb6be0b71
[ "MIT" ]
null
null
null
src/simfoni/apps/revenue/models/revenue_group.py
django-stars/simfoni-test
eaca4adc8177505e7c53e708456fd0dbb6be0b71
[ "MIT" ]
null
null
null
src/simfoni/apps/revenue/models/revenue_group.py
django-stars/simfoni-test
eaca4adc8177505e7c53e708456fd0dbb6be0b71
[ "MIT" ]
4
2018-04-26T17:43:24.000Z
2018-05-10T14:11:09.000Z
from django.core.validators import MinValueValidator from django.db import models from django.utils.translation import ugettext_lazy as _ from core.models import AbstractBaseModel class RevenueGroup(AbstractBaseModel): name = models.CharField(_('Name'), max_length=255, unique=True) revenue_from = models.Deci...
43.5
117
0.791188
64
522
6.265625
0.5
0.074813
0.054863
0.089776
0.264339
0.264339
0.264339
0.264339
0.264339
0
0
0.023404
0.099617
522
11
118
47.454545
0.829787
0
0
0
0
0
0.019157
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2475dede311738c11a698f61d9c18ddd93bd1b1b
1,972
py
Python
hgw_frontend/hgw_frontend/__init__.py
crs4/health-gateway
e18d945b593fa5efcebe7ee33f7e8991bbe1803d
[ "MIT" ]
5
2018-05-16T22:58:01.000Z
2020-01-14T11:12:17.000Z
hgw_frontend/hgw_frontend/__init__.py
PhilanthroLab/health-gateway
e18d945b593fa5efcebe7ee33f7e8991bbe1803d
[ "MIT" ]
10
2018-04-13T15:56:49.000Z
2019-12-05T08:57:47.000Z
hgw_frontend/hgw_frontend/__init__.py
PhilanthroLab/health-gateway
e18d945b593fa5efcebe7ee33f7e8991bbe1803d
[ "MIT" ]
6
2019-10-02T08:39:12.000Z
2020-06-23T00:18:03.000Z
# Copyright (c) 2017-2018 CRS4 # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation the rights to use, # copy, modify, merge, publish, distribut...
48.097561
104
0.766227
262
1,972
5.599237
0.484733
0.059986
0.017723
0
0
0
0
0
0
0
0
0.005412
0.156694
1,972
40
105
49.3
0.876729
0.531947
0
0
0
0
0.717439
0.408389
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
248c70fc15f6f7e34634c4bd3b90f8b9c838674d
889
py
Python
src/models/user.py
solnsumei/fastapi-template
a25a81f24ebe198ea2a49657da83b534260afdc7
[ "MIT" ]
3
2021-04-19T06:46:48.000Z
2021-09-16T15:00:05.000Z
src/models/user.py
solnsumei/fastapi-template
a25a81f24ebe198ea2a49657da83b534260afdc7
[ "MIT" ]
null
null
null
src/models/user.py
solnsumei/fastapi-template
a25a81f24ebe198ea2a49657da83b534260afdc7
[ "MIT" ]
null
null
null
from passlib.context import CryptContext from src.models.base.basemodel import ModelWithStatus, fields pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") class User(ModelWithStatus): email = fields.CharField(max_length=50, unique=True) password = fields.CharField(max_length=250) is_admin =...
25.4
81
0.713161
103
889
6.029126
0.563107
0.048309
0.057971
0.077295
0.086957
0
0
0
0
0
0
0.006897
0.184477
889
34
82
26.147059
0.849655
0
0
0.095238
0
0
0.044118
0
0
0
0
0
0
1
0.095238
false
0.333333
0.095238
0.095238
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
1
0
0
1
0
0
2
249033ea477e66aafa5d9a09c2840e1dbce46b7f
224
py
Python
gbe/views/view_summer_act_view.py
bethlakshmi/gbe-divio-djangocms-python2.7
6e9b2c894162524bbbaaf73dcbe927988707231d
[ "Apache-2.0" ]
1
2021-03-14T11:56:47.000Z
2021-03-14T11:56:47.000Z
gbe/views/view_summer_act_view.py
bethlakshmi/gbe-divio-djangocms-python2.7
6e9b2c894162524bbbaaf73dcbe927988707231d
[ "Apache-2.0" ]
180
2019-09-15T19:52:46.000Z
2021-11-06T23:48:01.000Z
gbe/views/view_summer_act_view.py
bethlakshmi/gbe-divio-djangocms-python2.7
6e9b2c894162524bbbaaf73dcbe927988707231d
[ "Apache-2.0" ]
null
null
null
from gbe.forms import ( SummerActForm, ) from gbe.views import ViewActView class ViewSummerActView(ViewActView): object_form_type = SummerActForm bid_prefix = "The Summer Act" edit_name = "summeract_edit"
18.666667
37
0.745536
26
224
6.230769
0.769231
0.08642
0
0
0
0
0
0
0
0
0
0
0.1875
224
11
38
20.363636
0.89011
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
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
0
0
0
0
0
1
0
0
2
24908e5bcbccbb113c46014441ec08a078260d01
101
py
Python
001146StepikPyBegin/Stepik001146PyBeginсh07p03st11С07__20200421.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001146StepikPyBegin/Stepik001146PyBeginсh07p03st11С07__20200421.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001146StepikPyBegin/Stepik001146PyBeginсh07p03st11С07__20200421.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
n = int(input()) sum1 = 0 for i in range(1, n + 1): if n % i == 0: sum1 += i print(sum1)
14.428571
25
0.465347
20
101
2.35
0.6
0
0
0
0
0
0
0
0
0
0
0.106061
0.346535
101
6
26
16.833333
0.606061
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
249527376fc3fc9354ce420e6f4ee3bce7d7d193
777
py
Python
main.py
luizcartolano2/reinforcement-learning-dqn-cart-pole
caca97554273afbd213c9e40c9ff2d68342c34e8
[ "MIT" ]
null
null
null
main.py
luizcartolano2/reinforcement-learning-dqn-cart-pole
caca97554273afbd213c9e40c9ff2d68342c34e8
[ "MIT" ]
null
null
null
main.py
luizcartolano2/reinforcement-learning-dqn-cart-pole
caca97554273afbd213c9e40c9ff2d68342c34e8
[ "MIT" ]
null
null
null
import os # first we need to download the libs try: os.system('pip3 install -r requirements.txt') except: print("Check your Python3 and Pip installations.") # import libs import gym import math import random import numpy as np import matplotlib import matplotlib.pyplot as plt # from collections import namedtuple fr...
20.447368
69
0.772201
123
777
4.845528
0.593496
0.073826
0.043624
0
0
0
0
0
0
0
0
0.004573
0.155727
777
37
70
21
0.903963
0.169884
0
0
0
0
0.152038
0
0
0
0
0
0
1
0
false
0
0.625
0
0.625
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
249852694970ead7821411859a291e0c0fde0a31
173
py
Python
src/typeDefs/wbes/schDataRow.py
nagasudhirpulla/wr_rtm_dem_corr_dashboard
d2b9bdd5c76fcec01537af36f86e1c06524a2169
[ "MIT" ]
null
null
null
src/typeDefs/wbes/schDataRow.py
nagasudhirpulla/wr_rtm_dem_corr_dashboard
d2b9bdd5c76fcec01537af36f86e1c06524a2169
[ "MIT" ]
null
null
null
src/typeDefs/wbes/schDataRow.py
nagasudhirpulla/wr_rtm_dem_corr_dashboard
d2b9bdd5c76fcec01537af36f86e1c06524a2169
[ "MIT" ]
null
null
null
import datetime as dt from typing import TypedDict class ISchDataRow(TypedDict): utilName: str schDate: dt.datetime block: int schType: str val: float
15.727273
29
0.705202
22
173
5.545455
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.242775
173
10
30
17.3
0.931298
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
249d4d9ba8d9ee7a62b73cf1f1164631e3a4f0ef
614
py
Python
migrations/versions/0c2841d4cfcd_.py
perna/podigger
5aa1a507ec6d5d96b41cb43eceb820ebd8f21fa1
[ "MIT" ]
5
2016-08-02T22:37:57.000Z
2020-12-02T12:38:59.000Z
migrations/versions/0c2841d4cfcd_.py
perna/podigger
5aa1a507ec6d5d96b41cb43eceb820ebd8f21fa1
[ "MIT" ]
null
null
null
migrations/versions/0c2841d4cfcd_.py
perna/podigger
5aa1a507ec6d5d96b41cb43eceb820ebd8f21fa1
[ "MIT" ]
1
2016-07-07T02:15:54.000Z
2016-07-07T02:15:54.000Z
"""empty message Revision ID: 0c2841d4cfcd Revises: 34d97cbc759e Create Date: 2016-07-28 20:19:00.866339 """ # revision identifiers, used by Alembic. revision = '0c2841d4cfcd' down_revision = '34d97cbc759e' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
22.740741
86
0.69544
76
614
5.578947
0.605263
0.063679
0.099057
0.108491
0.207547
0.207547
0.207547
0.207547
0
0
0
0.096078
0.169381
614
26
87
23.615385
0.735294
0.473941
0
0
0
0
0.165517
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
249efaee0334887980eabc7717092860ef177340
236
py
Python
Round 1/5.functionvariables/finishedLesson.py
beetlesoup/udemy-python-scripting-a-car
ae41491161821a8f4e63fc86c368a71bb3d6cc15
[ "Unlicense" ]
null
null
null
Round 1/5.functionvariables/finishedLesson.py
beetlesoup/udemy-python-scripting-a-car
ae41491161821a8f4e63fc86c368a71bb3d6cc15
[ "Unlicense" ]
null
null
null
Round 1/5.functionvariables/finishedLesson.py
beetlesoup/udemy-python-scripting-a-car
ae41491161821a8f4e63fc86c368a71bb3d6cc15
[ "Unlicense" ]
null
null
null
def MoveManyStepsForward(numberOfSteps): for everySingleNumberInTheRange in range(numberOfSteps): env.step(0) async def main(): MoveManyStepsForward(50) await sleep() MoveManyStepsForward(150)
29.5
61
0.682203
20
236
8.05
0.8
0
0
0
0
0
0
0
0
0
0
0.03352
0.241525
236
8
62
29.5
0.865922
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24a412413e36803f77e81c6d8b52524ead3e34b3
142
py
Python
app/models/Base.py
krisnantobi/flask-python
d0da39d7c7f6e6d3b35def6e61c658ef279811e9
[ "MIT" ]
null
null
null
app/models/Base.py
krisnantobi/flask-python
d0da39d7c7f6e6d3b35def6e61c658ef279811e9
[ "MIT" ]
null
null
null
app/models/Base.py
krisnantobi/flask-python
d0da39d7c7f6e6d3b35def6e61c658ef279811e9
[ "MIT" ]
null
null
null
from mongoengine.document import Document class Base(Document): meta = { 'allow_inheritance': True, 'abstract': True }
23.666667
41
0.640845
14
142
6.428571
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.260563
142
6
42
23.666667
0.857143
0
0
0
0
0
0.174825
0
0
0
0
0
0
1
0
false
0
0.166667
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
0
0
0
0
0
2
24a55eced86573e218221a3b3467c66df61d5a29
461
py
Python
django_workflow_system/api/tests/factories/workflows/workflow_image.py
eikonomega/django-workflow-system
dc0e8807263266713d3d7fa46e240e8d72db28d1
[ "MIT" ]
2
2022-01-28T12:35:42.000Z
2022-03-23T16:06:05.000Z
django_workflow_system/api/tests/factories/workflows/workflow_image.py
eikonomega/django-workflow-system
dc0e8807263266713d3d7fa46e240e8d72db28d1
[ "MIT" ]
10
2021-04-27T20:26:32.000Z
2021-07-21T15:34:31.000Z
django_workflow_system/api/tests/factories/workflows/workflow_image.py
eikonomega/django-workflow-system
dc0e8807263266713d3d7fa46e240e8d72db28d1
[ "MIT" ]
1
2021-11-13T14:30:34.000Z
2021-11-13T14:30:34.000Z
import django_workflow_system.models as models from factory.django import DjangoModelFactory class WorkflowImageTypeFactory(DjangoModelFactory): class Meta: model = models.WorkflowImageType django_get_or_create = ["type"] class WorkflowImageFactory(DjangoModelFactory): class Meta: mo...
25.611111
62
0.752711
42
461
7.97619
0.52381
0.20597
0.161194
0.191045
0.226866
0
0
0
0
0
0
0
0.171367
461
17
63
27.117647
0.876963
0
0
0.181818
0
0
0.123644
0.052061
0
0
0
0
0
1
0
false
0
0.181818
0
0.545455
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
0
0
0
2
24a61d233f3e2d9fe257f8cc2aa8bb5e7883863c
4,095
py
Python
scratch/check_bins.py
AdriJD/cmb_sst_ksw
635f0627a3c8a36c743cdf8955e3671352ab6d90
[ "MIT" ]
null
null
null
scratch/check_bins.py
AdriJD/cmb_sst_ksw
635f0627a3c8a36c743cdf8955e3671352ab6d90
[ "MIT" ]
null
null
null
scratch/check_bins.py
AdriJD/cmb_sst_ksw
635f0627a3c8a36c743cdf8955e3671352ab6d90
[ "MIT" ]
null
null
null
''' Test binning ''' import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt import sys import os import numpy as np from scipy.special import spherical_jn sys.path.insert(0,'./../') from sst import Fisher opj = os.path.join def bin_test(parity, bins=None, lmin=2, lmax=23): ''' Init bins, run...
37.227273
90
0.406349
431
4,095
3.784223
0.278422
0.036787
0.044145
0.04905
0.20233
0.20233
0.188841
0.101778
0.063765
0.063765
0
0.050824
0.481074
4,095
109
91
37.568807
0.716706
0.042002
0
0.216867
0
0
0.111371
0.018215
0
0
0
0
0.13253
0
null
null
0.108434
0.084337
null
null
0.168675
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
24b1f9ec5f919bdb1ef1f683673501508c9b17c1
553
py
Python
benchmarks/query_benchmarks/query_dates/benchmark.py
deepakdinesh1123/actions
859455c8582f6e3fc4d65b7266163f4276d04127
[ "MIT" ]
null
null
null
benchmarks/query_benchmarks/query_dates/benchmark.py
deepakdinesh1123/actions
859455c8582f6e3fc4d65b7266163f4276d04127
[ "MIT" ]
null
null
null
benchmarks/query_benchmarks/query_dates/benchmark.py
deepakdinesh1123/actions
859455c8582f6e3fc4d65b7266163f4276d04127
[ "MIT" ]
null
null
null
from ...utils import bench_setup from .models import Book class QueryDates: def setup(self): bench_setup(migrate=True) def time_query_dates(self): list(Book.objects.dates("created_date", "year", "ASC")) list(Book.objects.dates("created_date", "year", "DESC")) list(Book.objects...
34.5625
65
0.641953
71
553
4.859155
0.352113
0.13913
0.26087
0.347826
0.657971
0.657971
0.657971
0
0
0
0
0
0.180832
553
15
66
36.866667
0.761589
0
0
0
0
0
0.211573
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.416667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24b94c38a11e9ef06d09ee6865284e5b1344c0b6
549
py
Python
rldb/db/repo__openai_baselines_cbd21ef/algo__acer/entries.py
seungjaeryanlee/sotarl
8c471c4666d6210c68f3cb468e439a2b168c785d
[ "MIT" ]
45
2019-05-13T17:39:33.000Z
2022-03-07T23:44:13.000Z
rldb/db/repo__openai_baselines_cbd21ef/algo__acer/entries.py
seungjaeryanlee/sotarl
8c471c4666d6210c68f3cb468e439a2b168c785d
[ "MIT" ]
2
2019-03-29T01:41:59.000Z
2019-07-02T02:48:31.000Z
rldb/db/repo__openai_baselines_cbd21ef/algo__acer/entries.py
seungjaeryanlee/sotarl
8c471c4666d6210c68f3cb468e439a2b168c785d
[ "MIT" ]
2
2020-04-07T20:57:30.000Z
2020-07-08T12:55:15.000Z
entries = [ { 'env-title': 'atari-enduro', 'score': 0.0, }, { 'env-title': 'atari-space-invaders', 'score': 656.91, }, { 'env-title': 'atari-qbert', 'score': 6433.38, }, { 'env-title': 'atari-seaquest', 'score': 1065.98, }, ...
17.709677
44
0.397086
52
549
4.192308
0.519231
0.256881
0.417431
0
0
0
0
0
0
0
0
0.095522
0.3898
549
30
45
18.3
0.555224
0
0
0
0
0
0.355191
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24d41ebe163f7fd9334bbc86f8d90c7387ddcfee
447
py
Python
setup.py
mathieumast/cellspatialite
f429e3958b5583b4a8c448fd07a61ab29aa7cb65
[ "MIT" ]
null
null
null
setup.py
mathieumast/cellspatialite
f429e3958b5583b4a8c448fd07a61ab29aa7cb65
[ "MIT" ]
null
null
null
setup.py
mathieumast/cellspatialite
f429e3958b5583b4a8c448fd07a61ab29aa7cb65
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='cellspatialite', version='1.0.0', packages=['cellspatialite', 'cellspatialite.test'], author='Mathieu', description='cellspatialite', install_requires= ['pysqlite', 'pandas', 'docopt'], license='MIT', entry_...
23.526316
66
0.63311
40
447
6.975
0.775
0.301075
0
0
0
0
0
0
0
0
0
0.008547
0.214765
447
19
67
23.526316
0.786325
0.044743
0
0
0
0
0.379391
0.079625
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
24da0999df55443bb1d82163487afe3007901943
485
py
Python
Chapter23.ModuleCodingBasics/use_module2.py
mindnhand/Learning-Python-5th
3dc1b28d6e048d512bf851de6c7f6445edfe7b84
[ "MIT" ]
null
null
null
Chapter23.ModuleCodingBasics/use_module2.py
mindnhand/Learning-Python-5th
3dc1b28d6e048d512bf851de6c7f6445edfe7b84
[ "MIT" ]
null
null
null
Chapter23.ModuleCodingBasics/use_module2.py
mindnhand/Learning-Python-5th
3dc1b28d6e048d512bf851de6c7f6445edfe7b84
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #encoding=utf-8 #------------------------------------------------------ # Usage: python3 use_module2.py # Description: module basic #------------------------------------------------------ import module2 print(module2.sys) print(module2.name) print(module2.klass) print('The dict of module2 ...
21.086957
69
0.562887
57
485
4.526316
0.578947
0.139535
0.093023
0.108527
0.162791
0
0
0
0
0
0
0.027523
0.101031
485
22
70
22.045455
0.56422
0.410309
0
0
0
0
0.235714
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0.875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
24e402299b9f6f621706cdbd330f1ca54378a165
196
py
Python
src/directory_model.py
cmtools/fastapi-cli
d926317d5032b970187f77ff76bdc4ba4780a4d7
[ "MIT" ]
null
null
null
src/directory_model.py
cmtools/fastapi-cli
d926317d5032b970187f77ff76bdc4ba4780a4d7
[ "MIT" ]
null
null
null
src/directory_model.py
cmtools/fastapi-cli
d926317d5032b970187f77ff76bdc4ba4780a4d7
[ "MIT" ]
null
null
null
import typing as t from file_model import File class Dir: path: str files: t.List[File] = [] def __init__(self, path, files=[]): self.path = path self.files = files
16.333333
39
0.602041
28
196
4.035714
0.571429
0.141593
0
0
0
0
0
0
0
0
0
0
0.290816
196
11
40
17.818182
0.81295
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
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
0
0
0
0
0
1
0
0
2
24e5758008f608aff796ffcbe193129bea1fb776
373
py
Python
common/models.py
AsfanUlla/pi-backend
ee1fed18bff9881e341c1022584f9323d2a7561d
[ "Apache-2.0" ]
null
null
null
common/models.py
AsfanUlla/pi-backend
ee1fed18bff9881e341c1022584f9323d2a7561d
[ "Apache-2.0" ]
null
null
null
common/models.py
AsfanUlla/pi-backend
ee1fed18bff9881e341c1022584f9323d2a7561d
[ "Apache-2.0" ]
null
null
null
from pydantic import BaseModel, Field, EmailStr from typing import Optional, List, Dict, Any class SchemalessResponse(BaseModel): data: Dict = {} status_code: int = 200 message: Optional[str] = "Request Processed" class EmailSchema(BaseModel): sub: str email_to: List[EmailStr] body: Dict[str...
23.3125
48
0.707775
46
373
5.652174
0.673913
0
0
0
0
0
0
0
0
0
0
0.01
0.19571
373
15
49
24.866667
0.856667
0
0
0
0
0
0.093834
0
0
0
0
0
0
1
0
true
0
0.181818
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
0
0
1
0
0
2
24f79fbbf13f5128ab64a47960256c2400746ede
1,662
py
Python
test/test_mod_import.py
kpagacz/NMDownloader
670652949b538319ee945071e030119e630ec6a1
[ "MIT" ]
null
null
null
test/test_mod_import.py
kpagacz/NMDownloader
670652949b538319ee945071e030119e630ec6a1
[ "MIT" ]
20
2019-03-16T14:42:54.000Z
2019-04-10T19:40:41.000Z
test/test_mod_import.py
kpagacz/NMDownloader
670652949b538319ee945071e030119e630ec6a1
[ "MIT" ]
null
null
null
import unittest import utils.mod_import as mod_import import codecov class ModListImporterTestCase(unittest.TestCase): def setUp(self): self.importer = mod_import.ModListImporter() self.csv_header = "modids,names\n" self.csv_values = ["1,abc\n" "2,def\n"] ...
36.933333
91
0.587244
178
1,662
5.365169
0.337079
0.087958
0.094241
0.099476
0.468063
0.393717
0.342408
0.265969
0.265969
0.265969
0
0.016711
0.315884
1,662
44
92
37.772727
0.822339
0
0
0.257143
0
0
0.203492
0.039133
0
0
0
0
0.2
0
null
null
0
0.514286
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
702548bde2333d9384784f1f3e19f50c90d86bf5
598
py
Python
src/web/modules/dataservice/control.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
2
2017-04-30T07:29:23.000Z
2017-04-30T07:36:27.000Z
src/web/modules/dataservice/control.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
null
null
null
src/web/modules/dataservice/control.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
null
null
null
def get(p): if not p['operation']: from .controllers import default return default.get(p) elif p["operation"] == "json": from .controllers import json return json.get(p) elif p["operation"] == "create": from .controllers import create return create.get(p) ...
20.62069
40
0.591973
71
598
4.985915
0.28169
0.067797
0.29661
0.101695
0.20339
0
0
0
0
0
0
0
0.29097
598
28
41
21.357143
0.834906
0
0
0
0
0
0.140704
0
0
0
0
0
0
1
0.105263
false
0
0.263158
0.052632
0.736842
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
702d62784e667462f72d3df18eda609962caca05
2,065
py
Python
loans/urls.py
FAenX/micro-finance
27bfd3f716365ecac22d0139f8f5bcda974498e3
[ "MIT" ]
null
null
null
loans/urls.py
FAenX/micro-finance
27bfd3f716365ecac22d0139f8f5bcda974498e3
[ "MIT" ]
5
2021-06-08T23:59:29.000Z
2022-03-12T00:58:17.000Z
loans/urls.py
FAenX/micro-finance
27bfd3f716365ecac22d0139f8f5bcda974498e3
[ "MIT" ]
null
null
null
from django.conf.urls import url from loans.views import * urlpatterns = [ # Client Loans (apply, view, list) url(r'^client/(?P<client_id>\d+)/loan/apply/$', ClientLoanApplicationView.as_view(), name='clientloanapplication'), url(r'^client/(?P<client_id>\d+)/loans/list/$', ClientLoansListView.as_view(), na...
71.206897
163
0.7046
262
2,065
5.423664
0.209924
0.03589
0.098522
0.054187
0.328642
0.298381
0.273047
0.246305
0.203378
0.171006
0
0
0.079903
2,065
28
164
73.75
0.747895
0.076513
0
0
0
0.277778
0.531825
0.499211
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
702f40b28d19c269453798fcbb0e966ac84fe386
492
py
Python
zinnia/views/channels.py
zapier/django-blog-zinnia
2631cbe05fa7b95aecd172fe34b7081ca4beda47
[ "BSD-3-Clause" ]
null
null
null
zinnia/views/channels.py
zapier/django-blog-zinnia
2631cbe05fa7b95aecd172fe34b7081ca4beda47
[ "BSD-3-Clause" ]
1
2021-09-08T12:32:28.000Z
2021-09-08T12:32:28.000Z
zinnia/views/channels.py
isabella232/django-blog-zinnia
2631cbe05fa7b95aecd172fe34b7081ca4beda47
[ "BSD-3-Clause" ]
1
2021-09-08T10:28:36.000Z
2021-09-08T10:28:36.000Z
"""Views for Zinnia channels""" from django.views.generic.list import ListView from zinnia.models.entry import Entry from zinnia.settings import PAGINATION class EntryChannel(ListView): """View for displaying a custom selection of entries based on a search pattern, useful for SEO/SMO pages""" query = '' ...
28.941176
63
0.727642
66
492
5.378788
0.681818
0.056338
0
0
0
0
0
0
0
0
0
0
0.189024
492
16
64
30.75
0.889724
0.359756
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7079d592d3692099180dbebc7dd4c79d080683a6
67,931
py
Python
pysnmp-with-texts/CISCO-IMAGE-UPGRADE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CISCO-IMAGE-UPGRADE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CISCO-IMAGE-UPGRADE-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 CISCO-IMAGE-UPGRADE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-IMAGE-UPGRADE-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:01:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
222.72459
4,682
0.794453
8,056
67,931
6.698858
0.096698
0.032465
0.056814
0.044472
0.478283
0.370178
0.327799
0.29867
0.274099
0.264908
0
0.033822
0.102957
67,931
304
4,683
223.457237
0.851781
0.005005
0
0.068966
0
0.186207
0.548371
0.122429
0
0
0
0
0
1
0
false
0
0.034483
0
0.048276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7084db86248022329a93791876ae956973fe9671
842
py
Python
src/schedulers/capacity_coefficient_scheduler.py
jp172/covid19-hospital-scheduler
0931ac7b91f3e7fdbad741c5fc92577278dfc823
[ "MIT" ]
5
2020-03-22T22:46:15.000Z
2020-03-25T14:16:49.000Z
src/schedulers/capacity_coefficient_scheduler.py
jp172/covid19-hospital-scheduler
0931ac7b91f3e7fdbad741c5fc92577278dfc823
[ "MIT" ]
null
null
null
src/schedulers/capacity_coefficient_scheduler.py
jp172/covid19-hospital-scheduler
0931ac7b91f3e7fdbad741c5fc92577278dfc823
[ "MIT" ]
1
2020-03-22T20:44:01.000Z
2020-03-22T20:44:01.000Z
from .utils import get_feasible_hospitals from ..objects.proposal import RankedProposal class CapacityScheduler: def assign_request(self, instance, request): hospitals = instance.get_hospitals_in_area(request.person.position) # get feasible hospitals checks for vehicle range and free beds ...
36.608696
101
0.709026
93
842
6.236559
0.516129
0.234483
0.103448
0.037931
0.103448
0.103448
0
0
0
0
0
0.001534
0.225653
842
22
102
38.272727
0.888037
0.133017
0
0
0
0
0
0
0
0
0
0.045455
0
1
0.071429
false
0
0.142857
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
70855b3dc786603fc81ca670fb90be336edaa6a8
643
py
Python
picha/forms.py
amon-wanyonyi/gallery-app
89b1e9f68cdb112e732f902e4d2bd5d89f2eb5d7
[ "MIT" ]
null
null
null
picha/forms.py
amon-wanyonyi/gallery-app
89b1e9f68cdb112e732f902e4d2bd5d89f2eb5d7
[ "MIT" ]
null
null
null
picha/forms.py
amon-wanyonyi/gallery-app
89b1e9f68cdb112e732f902e4d2bd5d89f2eb5d7
[ "MIT" ]
null
null
null
from django import forms from django.forms import ModelForm from .models import Category,Image, Location class ImageForm(forms.ModelForm): class Meta: model = Image fields = '__all__' CATEGORIES =( ("1", "Cars"), ("2", "Food"), ("3", "Travel"), ("4", "Animals"), ("5", "N...
26.791667
71
0.645412
71
643
5.760563
0.549296
0.146699
0.161369
0.190709
0
0
0
0
0
0
0
0.011765
0.206843
643
24
71
26.791667
0.790196
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.52381
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
70aa44c4f89295464ac761beec4c73fc72588ede
796
py
Python
rockiot/app/migrations/0039_auto_20211015_1658.py
isocserbia/rockiot
fc0c52cca4ca862ba570d6b2c64b8d30f8989f05
[ "Apache-2.0" ]
2
2022-01-23T11:03:37.000Z
2022-02-26T10:54:10.000Z
rockiot/app/migrations/0039_auto_20211015_1658.py
isocserbia/rockiot
fc0c52cca4ca862ba570d6b2c64b8d30f8989f05
[ "Apache-2.0" ]
null
null
null
rockiot/app/migrations/0039_auto_20211015_1658.py
isocserbia/rockiot
fc0c52cca4ca862ba570d6b2c64b8d30f8989f05
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-15 16:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0038_auto_20211012_1634'), ] operations = [ migrations.RenameField( model_name='device', old_name='erase_wifi_credent...
25.677419
49
0.579146
80
796
5.425
0.525
0.082949
0.119816
0.138249
0.373272
0.373272
0.373272
0.373272
0.373272
0.373272
0
0.057196
0.319095
796
31
50
25.677419
0.743542
0.056533
0
0.72
1
0
0.24
0.097333
0
0
0
0
0
1
0
false
0
0.04
0
0.16
0
0
0
0
null
0
0
0
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
2
560871495a84c94431f674d70f54871a629205e0
215
py
Python
Practice/Beginner/Number Mirror/PYTHON/number-mirror.py
avantikat/codechef-1
11e678a05ad339e799bb876606297dff979e9e03
[ "MIT" ]
2
2021-01-19T05:48:45.000Z
2021-01-20T11:58:39.000Z
Practice/Beginner/Number Mirror/PYTHON/number-mirror.py
avantikat/codechef-1
11e678a05ad339e799bb876606297dff979e9e03
[ "MIT" ]
null
null
null
Practice/Beginner/Number Mirror/PYTHON/number-mirror.py
avantikat/codechef-1
11e678a05ad339e799bb876606297dff979e9e03
[ "MIT" ]
3
2021-01-21T06:58:27.000Z
2021-02-09T13:20:29.000Z
""" AUTHOR - Atharva Deshpande GITHUB - https://github.com/AtharvaD11 QUESTION LINK - https://www.codechef.com/problems/START01 """ ********************************** n = int(input()) print(n)
17.916667
63
0.525581
21
215
5.380952
0.809524
0
0
0
0
0
0
0
0
0
0
0.022857
0.186047
215
11
64
19.545455
0.622857
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
561949f52308487819299b30d31e6d89b37b7253
407
py
Python
test/git_copy_test.py
rec/gitz
cbb07f99dd002c85b5ca95896b33d03150bf9282
[ "MIT" ]
24
2019-07-26T03:57:16.000Z
2021-11-22T22:39:13.000Z
test/git_copy_test.py
rec/gitz
cbb07f99dd002c85b5ca95896b33d03150bf9282
[ "MIT" ]
212
2019-06-13T13:44:26.000Z
2020-06-02T17:59:51.000Z
test/git_copy_test.py
rec/gitz
cbb07f99dd002c85b5ca95896b33d03150bf9282
[ "MIT" ]
2
2019-08-09T13:55:38.000Z
2019-09-07T11:17:59.000Z
from gitz.git import GIT from gitz.git import functions from gitz.git import repo import unittest class GitCopyTest(unittest.TestCase): @repo.test def test_simple(self): repo.make_commit('1') GIT.new('one') GIT.copy('two', '-v') expected = {'origin': ['master', 'one', 'two'], '...
27.133333
79
0.643735
51
407
5.078431
0.568627
0.092664
0.127413
0.196911
0
0
0
0
0
0
0
0.003086
0.203931
407
14
80
29.071429
0.796296
0
0
0
0
0
0.100737
0
0
0
0
0
0.083333
1
0.083333
false
0
0.333333
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
0
0
0
1
0
0
0
0
2
561b49e04cb1faae723f199cd2bb350c8e9b89bf
1,970
py
Python
ndnt/paths.py
Masynchin/ndnt
091c121d452b58bf099db2b4e19b96c3380a984d
[ "MIT" ]
1
2022-01-29T15:39:46.000Z
2022-01-29T15:39:46.000Z
ndnt/paths.py
Masynchin/ndnt
091c121d452b58bf099db2b4e19b96c3380a984d
[ "MIT" ]
1
2022-03-31T22:44:20.000Z
2022-03-31T22:44:20.000Z
ndnt/paths.py
Masynchin/ndnt
091c121d452b58bf099db2b4e19b96c3380a984d
[ "MIT" ]
null
null
null
"""Paths interface and its implementations.""" from pathlib import Path from typing import Iterable from pathspec import PathSpec from pathspec.patterns import GitWildMatchPattern from ndnt.extension import Extension class Paths(Iterable[Path]): """Paths inteface. `Paths` behaves like `Iterable[Path]`. ...
25.921053
102
0.649746
223
1,970
5.573991
0.358744
0.045052
0.04827
0.045857
0.134352
0.081255
0.056315
0
0
0
0
0.020202
0.246193
1,970
75
103
26.266667
0.816835
0.243655
0
0.147059
0
0
0.002853
0
0
0
0
0
0
1
0.205882
false
0
0.147059
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
564124cab865da25819f725850fcd01e601316a7
1,551
py
Python
src/core_backend/service/plugin.py
jhchen3121/wechat_shop
c9d9ad009df1e5bb0eb23ca8d830dd5c15df5328
[ "Apache-2.0" ]
null
null
null
src/core_backend/service/plugin.py
jhchen3121/wechat_shop
c9d9ad009df1e5bb0eb23ca8d830dd5c15df5328
[ "Apache-2.0" ]
5
2021-01-28T21:18:27.000Z
2022-03-25T19:10:01.000Z
src/core_backend/service/plugin.py
jhchen3121/wechat_shop
c9d9ad009df1e5bb0eb23ca8d830dd5c15df5328
[ "Apache-2.0" ]
null
null
null
#-*- coding:utf-8 -*- import sys, traceback from core_backend import context from core_backend.libs.exception import Error import logging #logger = Log.getDebugLogger() #logger.setLevel(logging.INFO) logger = logging.getLogger(__name__) class plugin(object): def __init__(self, handler, session): self.han...
27.696429
70
0.646035
188
1,551
5.058511
0.287234
0.080967
0.046267
0.063091
0.279706
0.227129
0.227129
0.227129
0.227129
0.227129
0
0.000865
0.254674
1,551
55
71
28.2
0.821799
0.088975
0
0.263158
0
0
0.00071
0
0
0
0
0
0
1
0.210526
false
0.052632
0.210526
0.026316
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
564972393480d24b55b21815eb789d50277da209
1,630
py
Python
tfx/orchestration/portable/input_resolution/exceptions.py
ajmarcus/tfx
28ac2be5ace31ca733f6292495f8be83484a1730
[ "Apache-2.0" ]
null
null
null
tfx/orchestration/portable/input_resolution/exceptions.py
ajmarcus/tfx
28ac2be5ace31ca733f6292495f8be83484a1730
[ "Apache-2.0" ]
null
null
null
tfx/orchestration/portable/input_resolution/exceptions.py
ajmarcus/tfx
28ac2be5ace31ca733f6292495f8be83484a1730
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Google LLC. 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 required by applicable law or a...
38.809524
80
0.784663
227
1,630
5.625551
0.572687
0.09397
0.02036
0.025059
0.046985
0
0
0
0
0
0
0.005827
0.157669
1,630
41
81
39.756098
0.924253
0.878528
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5658ab7b24fbbc0c083f951f0b6a2a80579889fa
295
py
Python
aula8/aula08.py
matheusluz071098/Curso-de-Python
633bcfd3b444327d969e3e6fd6ad37cef910e048
[ "MIT" ]
null
null
null
aula8/aula08.py
matheusluz071098/Curso-de-Python
633bcfd3b444327d969e3e6fd6ad37cef910e048
[ "MIT" ]
null
null
null
aula8/aula08.py
matheusluz071098/Curso-de-Python
633bcfd3b444327d969e3e6fd6ad37cef910e048
[ "MIT" ]
null
null
null
# aula 8 # tuplas numeros = [1,4,6] usuario = {'nome:''user','passwd',:123456} pessoa = ('matheus','luz',0,45,5,numeros) print(numeros) print(usuario) print(pessoa) numeros[1] = 5 usuario ['passwd'] = 456123 lista_pessoa = [] lista_pessoa.append(pessoa) #pessoa[4][1] =6 print(pessoa)[4][1])
16.388889
42
0.664407
45
295
4.311111
0.488889
0.082474
0.082474
0
0
0
0
0
0
0
0
0.103448
0.115254
295
18
43
16.388889
0.639847
0
0
0
0
0
0.117424
0
0
0
0
0
0
0
null
null
0.181818
0
null
null
0.363636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
56721a21d88665f27b61aff6cca650492e5300f3
691
py
Python
S4/S4 Library/simulation/objects/lighting/lighting_object_interactions.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/objects/lighting/lighting_object_interactions.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/objects/lighting/lighting_object_interactions.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
from objects.lighting.lighting_interactions import SwitchLightImmediateInteraction from objects.object_state_utils import ObjectStateHelper import sims4 logger = sims4.log.Logger('LightingAndObjectState', default_owner='mkartika') class SwitchLightAndStateImmediateInteraction(SwitchLightImmediateInteraction): INST...
57.583333
224
0.778582
75
691
6.986667
0.653333
0.041985
0.064886
0
0
0
0
0
0
0
0
0.003425
0.154848
691
11
225
62.818182
0.893836
0
0
0
0
0.111111
0.254703
0.031838
0
0
0
0
0
1
0.111111
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5679b51f6118b18e3e4e239059714dfed0909e87
196
py
Python
contacts/urls.py
melodyPereira05/PropertyDekho
9cc860cd9645de4c21efbb755dd2312ffea684b0
[ "MIT" ]
null
null
null
contacts/urls.py
melodyPereira05/PropertyDekho
9cc860cd9645de4c21efbb755dd2312ffea684b0
[ "MIT" ]
null
null
null
contacts/urls.py
melodyPereira05/PropertyDekho
9cc860cd9645de4c21efbb755dd2312ffea684b0
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('<int:sproperty_id>/',views.contact,name="contact"), path('',views.contact_submit,name="contact-submit"), ]
19.6
61
0.673469
24
196
5.416667
0.541667
0.184615
0
0
0
0
0
0
0
0
0
0
0.163265
196
10
62
19.6
0.792683
0
0
0
0
0
0.203046
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5683f938e7eeefc9e75b94fdc3d8a1fc14161acb
1,124
py
Python
ManualTest/eventCheckAndActionTest.py
terapotan/NewBreakingBlocks
72927942d4a5088eae2191ce1d46562599f05cc8
[ "MIT" ]
null
null
null
ManualTest/eventCheckAndActionTest.py
terapotan/NewBreakingBlocks
72927942d4a5088eae2191ce1d46562599f05cc8
[ "MIT" ]
null
null
null
ManualTest/eventCheckAndActionTest.py
terapotan/NewBreakingBlocks
72927942d4a5088eae2191ce1d46562599f05cc8
[ "MIT" ]
null
null
null
import unittest class mainTest(unittest.TestCase): def test_checkCollectEventCheckListContent(self): self.assertEqual(input('EventOccurCheckClassesInAFrame:dummyEventCheck1,dummyEventCheck2,dummyEventCheck3,と表示されているか(y/n)'),'y') def test_checkCollectEventQueueListContent(self): self.assertEqual...
53.52381
135
0.790925
95
1,124
9.210526
0.421053
0.048
0.130286
0.164571
0.204571
0.181714
0.16
0.16
0.16
0
0
0.010827
0.096085
1,124
21
136
53.52381
0.850394
0.032028
0
0
0
0
0.397424
0.384545
0
0
0
0
0.375
1
0.375
false
0
0.0625
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
0
0
0
0
0
0
2
56887c191046d293831578b1ba492a974431002a
1,276
py
Python
apps/gsekit/admin.py
iSecloud/bk-process-config-manager
f44c01b7a28dd9328cce6e6066eae42d5365070d
[ "MIT" ]
8
2021-07-08T06:53:57.000Z
2022-03-14T04:05:27.000Z
apps/gsekit/admin.py
iSecloud/bk-process-config-manager
f44c01b7a28dd9328cce6e6066eae42d5365070d
[ "MIT" ]
107
2021-07-22T02:20:07.000Z
2022-03-14T08:37:23.000Z
apps/gsekit/admin.py
iSecloud/bk-process-config-manager
f44c01b7a28dd9328cce6e6066eae42d5365070d
[ "MIT" ]
12
2021-07-09T08:59:01.000Z
2022-03-08T13:40:41.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸 (Blueking) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may...
39.875
115
0.776646
194
1,276
4.984536
0.505155
0.062048
0.086867
0.058945
0.134436
0.088935
0.088935
0.088935
0
0
0
0.010195
0.154389
1,276
31
116
41.16129
0.886006
0.547806
0
0.470588
0
0
0.12522
0
0
0
0
0
0
1
0
false
0.117647
0.470588
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
568fbabab11c92333a7f2b9aac0fe6461e379248
449
py
Python
Intensivo-Python/Cap-7/Exer-Cap-7.10.py
RodrigoTAbreu/Python-3
9bf0578c1ed52283c8d8516a9052557bde038947
[ "MIT" ]
null
null
null
Intensivo-Python/Cap-7/Exer-Cap-7.10.py
RodrigoTAbreu/Python-3
9bf0578c1ed52283c8d8516a9052557bde038947
[ "MIT" ]
null
null
null
Intensivo-Python/Cap-7/Exer-Cap-7.10.py
RodrigoTAbreu/Python-3
9bf0578c1ed52283c8d8516a9052557bde038947
[ "MIT" ]
null
null
null
local = {} incluir = True while incluir: nome = input('qual seu nome? :') local_escolhido = input('Qual local de suas próximas férias? :') local[nome] = local_escolhido repetir = input('Gostaria de incluir outro na enquete?(Yes/No):') if repetir == 'no': incluir = False print('Resultados d...
29.933333
72
0.665924
59
449
5
0.559322
0.122034
0.244068
0
0
0
0
0
0
0
0
0
0.202673
449
14
73
32.071429
0.824022
0
0
0
0
0
0.336303
0
0
0
0
0
0
1
0
false
0.083333
0
0
0
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
569169ad848535e2faa15e35b1462c29898e6bd8
168
py
Python
examples/loopyfunction.py
j00st/larry
9ab8b28a4870b78fa91d2989971e7334e8433cbf
[ "MIT" ]
null
null
null
examples/loopyfunction.py
j00st/larry
9ab8b28a4870b78fa91d2989971e7334e8433cbf
[ "MIT" ]
null
null
null
examples/loopyfunction.py
j00st/larry
9ab8b28a4870b78fa91d2989971e7334e8433cbf
[ "MIT" ]
null
null
null
def sommig(n): result = 0 while(n>=1): result += n n-=1 return result print(sommig(3)) print(sommig(8)) print(sommig(17)) print(sommig(33))
15.272727
19
0.565476
26
168
3.653846
0.5
0.463158
0
0
0
0
0
0
0
0
0
0.072581
0.261905
168
11
20
15.272727
0.693548
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5697cd974f29d6e18eee5667af6ba721d9b34b38
159
py
Python
CursoemVideo/ex006.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
CursoemVideo/ex006.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
CursoemVideo/ex006.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
numero = int(input('Número: ')) dobro = numero*2 triplo = numero*3 raiz = numero**(1/2) print(f'Dobro: {dobro}, Triplo: {triplo}, Raiz quadrada: {raiz:.2f}')
22.714286
69
0.647799
24
159
4.291667
0.583333
0
0
0
0
0
0
0
0
0
0
0.036232
0.132075
159
6
70
26.5
0.710145
0
0
0
0
0
0.421384
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
569a457d8dd99941191d9661b2fbcf1d45459de3
4,509
py
Python
river/optim/base.py
online-ml/creme
60872844e6052b5ef20e4075aea30f9031377136
[ "BSD-3-Clause" ]
1,105
2019-01-24T15:15:30.000Z
2020-11-10T18:27:00.000Z
river/optim/base.py
online-ml/creme
60872844e6052b5ef20e4075aea30f9031377136
[ "BSD-3-Clause" ]
328
2019-01-25T13:48:43.000Z
2020-11-11T11:41:44.000Z
river/optim/base.py
online-ml/creme
60872844e6052b5ef20e4075aea30f9031377136
[ "BSD-3-Clause" ]
150
2019-01-29T19:05:21.000Z
2020-11-11T11:50:14.000Z
import abc import numbers from typing import Union import numpy as np from river import base, optim, utils VectorLike = Union[utils.VectorDict, np.ndarray] __all__ = ["Initializer", "Scheduler", "Optimizer", "Loss"] class Initializer(base.Base, abc.ABC): """An initializer is used to set initial weights in a ...
23.731579
128
0.569528
521
4,509
4.74856
0.309021
0.032336
0.04042
0.016977
0.169361
0.137025
0.11439
0.11439
0.094179
0.094179
0
0.001956
0.319583
4,509
189
129
23.857143
0.804433
0.413839
0
0.333333
0
0
0.073278
0.057157
0
0
0
0
0
1
0.259259
false
0.018519
0.092593
0.074074
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
569f8079d548bf4d08ebe4449569ea28cde1fcb4
5,434
py
Python
haros_plugin_pbt_gen/selectors.py
git-afsantos/haros-plugin-pbt
388c990117f357fa2079be48918fd3486c895597
[ "MIT" ]
null
null
null
haros_plugin_pbt_gen/selectors.py
git-afsantos/haros-plugin-pbt
388c990117f357fa2079be48918fd3486c895597
[ "MIT" ]
6
2019-10-23T08:13:32.000Z
2020-02-11T18:58:26.000Z
haros_plugin_pbt_gen/selectors.py
git-afsantos/haros-plugin-pbt
388c990117f357fa2079be48918fd3486c895597
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # SPDX-License-Identifier: MIT # Copyright © 2019 André Santos ############################################################################### # Imports ############################################################################### from builtins import map from builtins import object from bu...
29.058824
79
0.552079
577
5,434
4.882149
0.183709
0.108626
0.050763
0.038339
0.207313
0.126021
0.065673
0
0
0
0
0.004788
0.269783
5,434
186
80
29.215054
0.704889
0.02742
0
0.278195
0
0
0.019571
0
0
0
0
0
0.015038
1
0.203008
false
0
0.022556
0.12782
0.503759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3b23404ad012614ddf55740308271ae89117500e
1,835
py
Python
positionEncoding.py
GehartM/german-text-watermarking
f9765702225e0cfdce868eec816ed6e6fd4ffc63
[ "MIT" ]
1
2021-04-08T11:23:46.000Z
2021-04-08T11:23:46.000Z
positionEncoding.py
GehartM/german-text-watermarking
f9765702225e0cfdce868eec816ed6e6fd4ffc63
[ "MIT" ]
null
null
null
positionEncoding.py
GehartM/german-text-watermarking
f9765702225e0cfdce868eec816ed6e6fd4ffc63
[ "MIT" ]
null
null
null
from treeNode import TreeNode from collections import defaultdict from treeNodeTravelThrewTreeNodes import TravelThrewTreeNodes # In positionEncoding wird die Zugehörigkeit der Ecodierung zu ihrem Wert festgelegt. # Dieser Wert entspricht der Position des Buchstabens der nächsten Zeile. positionEncoding = defa...
32.767857
86
0.595095
170
1,835
6.423529
0.817647
0.032967
0
0
0
0
0
0
0
0
0
0.323691
0.208719
1,835
55
87
33.363636
0.428375
0.173297
0
0
0
0
0.322802
0
0
0
0
0
0
1
0.02381
false
0
0.071429
0
0.119048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b275a2ff20e3730ac6fbbf5f863ef39cb1f2363
1,227
py
Python
revenue/utils/date_utils.py
osnory/BE-Challenge
bd8a3bcfc72624e99a228612a75f092371c1fb29
[ "MIT" ]
null
null
null
revenue/utils/date_utils.py
osnory/BE-Challenge
bd8a3bcfc72624e99a228612a75f092371c1fb29
[ "MIT" ]
null
null
null
revenue/utils/date_utils.py
osnory/BE-Challenge
bd8a3bcfc72624e99a228612a75f092371c1fb29
[ "MIT" ]
null
null
null
import datetime from datetime import datetime as dt API_DATE_FORMAT = "%d/%m/%Y" CSV_DATE_FORMAT = "%d/%m/%y %H:%M" def from_api_string(date: str): """ :param date: in format as comes from api, such as 03/06/2020 :return: datetime object. """ return dt.strptime(date, API_DATE_FORMAT) def from...
22.722222
86
0.640587
190
1,227
4.026316
0.289474
0.091503
0.05098
0.039216
0.290196
0.20915
0.20915
0.20915
0.20915
0.141176
0
0.026652
0.235534
1,227
53
87
23.150943
0.788913
0.431133
0
0
0
0
0.051813
0
0
0
0
0
0
1
0.357143
false
0
0.142857
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3b302bae18a10ec14b7a8b3b8cfb72b6ca62106b
771
py
Python
argentum-api/api/tests/data/configs.py
devium/argentum
2bbb0f663fe9be78d106b1afa409b094da449519
[ "MIT" ]
1
2019-10-07T09:47:08.000Z
2019-10-07T09:47:08.000Z
argentum-api/api/tests/data/configs.py
devium/argentum
2bbb0f663fe9be78d106b1afa409b094da449519
[ "MIT" ]
null
null
null
argentum-api/api/tests/data/configs.py
devium/argentum
2bbb0f663fe9be78d106b1afa409b094da449519
[ "MIT" ]
null
null
null
from api.models.config import Config from api.tests.utils.test_objects import TestObjects class TestConfigs(TestObjects): MODEL = Config POSTPAID_LIMIT: MODEL POSTPAID_LIMIT_PATCHED: MODEL @classmethod def init(cls): # These models are created in the initial Django signal, not from this...
32.125
118
0.714656
104
771
5.163462
0.451923
0.242086
0.119181
0.070764
0
0
0
0
0
0
0
0.027157
0.188067
771
23
119
33.521739
0.830671
0.140078
0
0.133333
0
0
0.057489
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.533333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3b35b0560293592911b399dcbbc67e0ebbbf2568
3,505
py
Python
FatherSon/HelloWorld2_source_code/Listing_23-11.py
axetang/AxePython
3b517fa3123ce2e939680ad1ae14f7e602d446a6
[ "Apache-2.0" ]
1
2019-01-04T05:47:50.000Z
2019-01-04T05:47:50.000Z
FatherSon/HelloWorld2_source_code/Listing_23-11.py
axetang/AxePython
3b517fa3123ce2e939680ad1ae14f7e602d446a6
[ "Apache-2.0" ]
null
null
null
FatherSon/HelloWorld2_source_code/Listing_23-11.py
axetang/AxePython
3b517fa3123ce2e939680ad1ae14f7e602d446a6
[ "Apache-2.0" ]
null
null
null
# Listing_23-11.py # Copyright Warren & Csrter Sande, 2013 # Released under MIT license http://www.opensource.org/licenses/mit-license.php # Version $version ---------------------------- # Crazy Eights - the main loop with scoring added # Note that this is not a complete program. It needs to be put togethe...
52.313433
131
0.417404
356
3,505
3.983146
0.308989
0.039492
0.036671
0.039492
0.362482
0.330042
0.294781
0.273625
0.273625
0.273625
0
0.010204
0.524679
3,505
66
132
53.106061
0.840936
0.292725
0
0.5
0
0
0.134034
0
0
0
0
0
0
0
null
null
0
0
null
null
0.26
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
3b3bc432d990ad451477e385dce0ed17ba1791fc
3,103
py
Python
urls.py
audaciouscode/PassiveDataKit-Django
ed1e00c436801b9f49a3e0e6657c2adb6b2ba3d4
[ "Apache-2.0" ]
5
2016-01-26T19:19:44.000Z
2018-12-12T18:04:04.000Z
urls.py
audacious-software/PassiveDataKit-Django
da91a375c075ceec938f2c9bb6b011f9f019b024
[ "Apache-2.0" ]
6
2020-02-17T20:16:28.000Z
2021-12-13T21:51:20.000Z
urls.py
audacious-software/PassiveDataKit-Django
da91a375c075ceec938f2c9bb6b011f9f019b024
[ "Apache-2.0" ]
4
2020-01-29T15:36:58.000Z
2021-06-01T18:55:26.000Z
# pylint: disable=line-too-long from django.conf.urls import url from django.contrib.auth.views import LogoutView from django.conf import settings from .views import pdk_add_data_point, pdk_add_data_bundle, pdk_app_config, pdk_issues, \ pdk_issues_json, pdk_fetch_metadata_json urlpatterns = [ ...
55.410714
134
0.716081
425
3,103
4.898824
0.157647
0.040346
0.172911
0.181556
0.255524
0.191643
0.073007
0.034582
0
0
0
0
0.145021
3,103
55
135
56.418182
0.784772
0.009346
0
0.195652
0
0
0.259766
0.135742
0
0
0
0
0
1
0
false
0.065217
0.152174
0
0.152174
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
3b48b6b797f56fc6a1d2416f53d86ebe58909abf
974
py
Python
aboutme/migrations/0001_initial.py
tharindubasnnayaka/MyWebApp
b9f9adae5df01f495a459eeee1083288ba568be9
[ "MIT" ]
2
2018-06-22T22:31:55.000Z
2018-10-09T17:14:35.000Z
aboutme/migrations/0001_initial.py
tharindubasnnayaka/MyWebApp
b9f9adae5df01f495a459eeee1083288ba568be9
[ "MIT" ]
7
2018-10-04T18:56:33.000Z
2020-10-11T18:03:22.000Z
aboutme/migrations/0001_initial.py
tharindubasnnayaka/MyWebApp
b9f9adae5df01f495a459eeee1083288ba568be9
[ "MIT" ]
17
2018-10-04T19:09:44.000Z
2022-03-17T10:27:28.000Z
# Generated by Django 2.1a1 on 2018-07-30 18:50 import aboutme.models from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Me', fields=[ ('id', ...
32.466667
116
0.572895
98
974
5.581633
0.602041
0.137112
0.164534
0.219378
0.14808
0
0
0
0
0
0
0.043103
0.285421
974
29
117
33.586207
0.742816
0.046201
0
0
1
0
0.061489
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b5052d4ea1e103c62f23657a9f8a91d6cc99d36
6,756
py
Python
src/dbn_samples.py
jamesrobertlloyd/kmc-research
291c39a3766c2d06c561044173b582cb251eb85e
[ "MIT" ]
9
2016-01-17T13:14:11.000Z
2020-09-21T20:19:34.000Z
src/dbn_samples.py
jamesrobertlloyd/kmc-research
291c39a3766c2d06c561044173b582cb251eb85e
[ "MIT" ]
null
null
null
src/dbn_samples.py
jamesrobertlloyd/kmc-research
291c39a3766c2d06c561044173b582cb251eb85e
[ "MIT" ]
5
2015-09-08T14:56:00.000Z
2019-09-10T19:33:07.000Z
""" Generate and save samples from a dbn trained on mnist Created Decemeber 2013 @authors: James Robert Lloyd (jrl44@cam.ac.uk) """ import numpy as np import matplotlib.pyplot as plt import itertools import os.path import cloud from deep_learning.rbm_label import train_rbm from deep_learning.logistic_sgd import l...
42.490566
121
0.600503
921
6,756
4.14658
0.222584
0.031422
0.062844
0.034564
0.391987
0.317099
0.260539
0.197172
0.168369
0.139303
0
0.022671
0.288336
6,756
159
122
42.490566
0.771631
0.062167
0
0.136752
1
0
0.054675
0.010514
0
0
0
0.006289
0
0
null
null
0.017094
0.059829
null
null
0.08547
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
3b60ef8e91e7392daee62726820909fae0e9778a
2,345
py
Python
erica/api/v2/endpoints/tax.py
digitalservice4germany/erica
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
[ "MIT" ]
3
2022-01-31T15:17:17.000Z
2022-03-01T16:15:47.000Z
erica/api/v2/endpoints/tax.py
digitalservice4germany/erica
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
[ "MIT" ]
59
2022-01-31T14:04:20.000Z
2022-03-31T20:08:47.000Z
erica/api/v2/endpoints/tax.py
digitalservice4germany/erica
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
[ "MIT" ]
1
2022-03-10T09:24:28.000Z
2022-03-10T09:24:28.000Z
from uuid import UUID from fastapi import status, APIRouter from starlette.requests import Request from starlette.responses import FileResponse, RedirectResponse from erica.api.v2.responses.model import response_model_get_tax_number_validity_from_queue, response_model_post_to_queue from erica.application.JobService.job...
49.893617
132
0.816205
316
2,345
5.721519
0.265823
0.09458
0.084624
0.059735
0.298119
0.149336
0.07854
0.04646
0
0
0
0.00628
0.117271
2,345
46
133
50.978261
0.86715
0.027719
0
0
0
0
0.070975
0.053496
0
0
0
0
0
1
0.037037
false
0
0.37037
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3b753f30cfeb206f88b5f9dc2a6515035a15ef8b
7,956
py
Python
implementations/warris2018/pyPaSWAS/Core/Formatters.py
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
24
2015-09-03T13:36:10.000Z
2021-11-18T15:09:53.000Z
pyPaSWAS/Core/Formatters.py
Aaron1993/pyPaSWAS
0f1edceba2a002ef30a803cc5c5fe45587ffd2aa
[ "MIT" ]
6
2015-02-25T16:07:19.000Z
2020-02-28T08:19:25.000Z
pyPaSWAS/Core/Formatters.py
Aaron1993/pyPaSWAS
0f1edceba2a002ef30a803cc5c5fe45587ffd2aa
[ "MIT" ]
9
2017-10-31T09:55:06.000Z
2021-12-03T02:47:56.000Z
'''This module contains the output formatters for pyPaSWAS''' class DefaultFormatter(object): '''This is the default formatter for pyPasWas. All available formatters inherit from this formatter. The results are parsed into a temporary file, which can be used by the main program for permanen...
40.8
125
0.618778
1,009
7,956
4.718533
0.152626
0.05251
0.044108
0.026465
0.741021
0.724008
0.693342
0.634741
0.624239
0.624239
0
0.003109
0.272247
7,956
194
126
41.010309
0.819171
0.295626
0
0.607843
0
0
0.092264
0.010124
0
0
0
0
0
1
0.166667
false
0
0
0
0.22549
0.117647
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3b867a71bab84e93ec2ed8b6bc8821e5088771cc
23,656
py
Python
anno2070/list_of_buildings.py
Aprillion/aprillion.github.io
9327d2324954e941f50c5171cbcc5bb1b69fc039
[ "MIT" ]
null
null
null
anno2070/list_of_buildings.py
Aprillion/aprillion.github.io
9327d2324954e941f50c5171cbcc5bb1b69fc039
[ "MIT" ]
null
null
null
anno2070/list_of_buildings.py
Aprillion/aprillion.github.io
9327d2324954e941f50c5171cbcc5bb1b69fc039
[ "MIT" ]
null
null
null
''' Created on 13.12.2011 @author: peter.hozak@gmail.com ''' from __future__ import division import json, re #, sys from xml.etree import ElementTree as ET __version__ = "0.3" # global settings # txt files must be changed encoding from UCS-2 to ANSI :(( xml files are ok ) folder = "C:\\Users\\Peter\\Documents\\ANNO...
55.661176
307
0.534283
2,408
23,656
5.184801
0.19103
0.028835
0.028114
0.021306
0.30004
0.229876
0.177733
0.147297
0.123268
0.074489
0
0.014587
0.33928
23,656
425
308
55.661176
0.784197
0.032592
0
0.224932
0
0.00271
0.390555
0.122555
0
0
0
0
0
0
null
null
0.100271
0.00813
null
null
0.00271
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
3b8ea57cf350f46a0b5175e07f66d2bedeb67fa8
8,795
py
Python
environments/transfer_env/reacher_env.py
WilsonWangTHU/neural_graph_evolution
9142b7f1c32c476aa44c83da38d3f0bacc276d73
[ "MIT" ]
33
2019-06-06T13:59:51.000Z
2022-03-07T10:36:42.000Z
environments/transfer_env/reacher_env.py
WilsonWangTHU/neural_graph_evolution
9142b7f1c32c476aa44c83da38d3f0bacc276d73
[ "MIT" ]
8
2019-07-09T16:58:28.000Z
2022-02-10T00:27:39.000Z
environments/transfer_env/reacher_env.py
WilsonWangTHU/neural_graph_evolution
9142b7f1c32c476aa44c83da38d3f0bacc276d73
[ "MIT" ]
12
2019-06-07T10:43:12.000Z
2022-03-09T13:47:01.000Z
#!/usr/bin/env python2 # ----------------------------------------------------------------------------- # @brief: # The reacher task # @author: # Tingwu (Wilson) Wang, July 22nd, 2017 # ----------------------------------------------------------------------------- import pdb import numpy as np from gym i...
24.430556
79
0.621717
1,080
8,795
4.686111
0.186111
0.102746
0.071725
0.110848
0.571429
0.515906
0.424422
0.411579
0.411579
0.123098
0
0.021478
0.253553
8,795
359
80
24.498607
0.749429
0.144741
0
0.255814
0
0
0.010705
0
0
0
0
0
0
1
0.232558
false
0
0.040698
0.005814
0.505814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3b90e01f97c9f9b164bb39ffe2d1651f169409d3
647
py
Python
test/test_constraints.py
maffettone/constrained_sampler
7674116d330ce3a56e44511797929127b4374a85
[ "MIT" ]
null
null
null
test/test_constraints.py
maffettone/constrained_sampler
7674116d330ce3a56e44511797929127b4374a85
[ "MIT" ]
null
null
null
test/test_constraints.py
maffettone/constrained_sampler
7674116d330ce3a56e44511797929127b4374a85
[ "MIT" ]
null
null
null
import unittest import os from constrained_sampler.constraints import Constraint class ConstraintTestCase(unittest.TestCase): def setUp(self): self.constraint = Constraint(os.path.join(os.path.dirname(__file__), '../examples/mixture.txt')) def test_example(self): self.assertListEqual([0., 0.]...
28.130435
104
0.704791
78
647
5.602564
0.461538
0.19222
0.116705
0.10984
0
0
0
0
0
0
0
0.009174
0.157651
647
22
105
29.409091
0.792661
0
0
0
0
0
0.047913
0.035549
0
0
0
0
0.266667
1
0.266667
false
0
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3b91a60fc28a44b7333d8840574bee24164ae81f
318
py
Python
doc/week1/w1d3/fasta.py
VinceSD/mebioda
79021e7e0313ed7b2a116a4f2c1099eac9d5ed63
[ "MIT" ]
null
null
null
doc/week1/w1d3/fasta.py
VinceSD/mebioda
79021e7e0313ed7b2a116a4f2c1099eac9d5ed63
[ "MIT" ]
null
null
null
doc/week1/w1d3/fasta.py
VinceSD/mebioda
79021e7e0313ed7b2a116a4f2c1099eac9d5ed63
[ "MIT" ]
2
2019-12-09T12:05:59.000Z
2019-12-09T12:09:57.000Z
from Bio import SeqIO # sudo pip install biopython with open("Danaus.fas", "rU") as handle: # Example: retain COI for record in SeqIO.parse(handle, "fasta"): fields = record.description.split('|') if fields[2] == 'COI-5P': print '>' + record.description print record.seq
31.8
50
0.610063
40
318
4.85
0.775
0.175258
0
0
0
0
0
0
0
0
0
0.008511
0.261006
318
9
51
35.333333
0.817021
0.144654
0
0
0
0
0.092937
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
3ba1265751c6c07d0afae1857dc2c19c788c3648
209
py
Python
Easy/Delete_Columns_to_Make_Sorted/Delete_Columns_to_Make_Sorted.py
nitin3685/LeetCode_Solutions
ab920e96cd27e0b2c3c895ce20853edceef0cce8
[ "MIT" ]
null
null
null
Easy/Delete_Columns_to_Make_Sorted/Delete_Columns_to_Make_Sorted.py
nitin3685/LeetCode_Solutions
ab920e96cd27e0b2c3c895ce20853edceef0cce8
[ "MIT" ]
null
null
null
Easy/Delete_Columns_to_Make_Sorted/Delete_Columns_to_Make_Sorted.py
nitin3685/LeetCode_Solutions
ab920e96cd27e0b2c3c895ce20853edceef0cce8
[ "MIT" ]
null
null
null
class Solution: def minDeletionSize(self, A: List[str]) -> int: res = 0 for col_str in zip(*A): if list(col_str) != sorted(col_str): res += 1 return res
26.125
51
0.502392
28
209
3.642857
0.678571
0.176471
0
0
0
0
0
0
0
0
0
0.015504
0.382775
209
7
52
29.857143
0.775194
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e67d515242da662f008461e6ce926c1409d9c17
123
py
Python
demo_broadcast.py
Monster880/pytorch_py
9c5ac5974f48edb5ea3d897a1100a63d488c61d9
[ "MIT" ]
null
null
null
demo_broadcast.py
Monster880/pytorch_py
9c5ac5974f48edb5ea3d897a1100a63d488c61d9
[ "MIT" ]
null
null
null
demo_broadcast.py
Monster880/pytorch_py
9c5ac5974f48edb5ea3d897a1100a63d488c61d9
[ "MIT" ]
null
null
null
import torch a = torch.rand(2,4,1,3) b = torch.rand(4,2,3) c = a + b # 2*4*2*3 print(a) print(b) print(c) print(c.shape)
10.25
23
0.601626
31
123
2.387097
0.387097
0.243243
0.081081
0
0
0
0
0
0
0
0
0.107843
0.170732
123
11
24
11.181818
0.617647
0.056911
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2