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
efe4b2ce397387108e17286adc7cf0f7de3ca0e4
188
py
Python
python/tests/test_item.py
RaimundoNeto7/GildedRose-Refactoring-Kata
c5fa3352bb0d028b6da8fb596c05c09789d64687
[ "MIT" ]
null
null
null
python/tests/test_item.py
RaimundoNeto7/GildedRose-Refactoring-Kata
c5fa3352bb0d028b6da8fb596c05c09789d64687
[ "MIT" ]
null
null
null
python/tests/test_item.py
RaimundoNeto7/GildedRose-Refactoring-Kata
c5fa3352bb0d028b6da8fb596c05c09789d64687
[ "MIT" ]
null
null
null
from src.item_types import ItemTypes from src.gilded_rose import Item def test_create_item(): item = Item(ItemTypes.AGED_BRIE.value, 0, 0) assert repr(item) == "Aged Brie, 0, 0"
23.5
48
0.723404
31
188
4.225806
0.548387
0.10687
0
0
0
0
0
0
0
0
0
0.025641
0.170213
188
7
49
26.857143
0.814103
0
0
0
0
0
0.079787
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
effedcb5a0ac59747626fe781b4deb5f260823e2
986
py
Python
spotify_tracker/current_track.py
eriktaubeneck/spotifytracker
c0f7f1a418aae9184cb1d2d27835495f261027ce
[ "MIT" ]
null
null
null
spotify_tracker/current_track.py
eriktaubeneck/spotifytracker
c0f7f1a418aae9184cb1d2d27835495f261027ce
[ "MIT" ]
null
null
null
spotify_tracker/current_track.py
eriktaubeneck/spotifytracker
c0f7f1a418aae9184cb1d2d27835495f261027ce
[ "MIT" ]
null
null
null
import subprocess def apple_script_call(apple_script): full_apple_script_call = ['osascript', '-e', apple_script] apple_script_return = subprocess.check_output(full_apple_script_call) return apple_script_return.decode("utf-8") def tell_spotify(command): return apple_script_call('tell application "Sp...
26.648649
80
0.750507
138
986
4.891304
0.297101
0.260741
0.201481
0.056296
0.32
0.242963
0.142222
0.142222
0.142222
0.142222
0
0.002372
0.14503
986
36
81
27.388889
0.798339
0
0
0
0
0
0.143002
0
0
0
0
0
0
1
0.272727
false
0
0.045455
0.090909
0.590909
0.045455
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
1
0
0
0
0
0
0
0
3
4bde845ac8ab43b156b4ebebc2c4329d08b8d97f
193
py
Python
Pratice/CONFLIP.py
parthlathiya/Codechef_Submissions
d404129e4a59c4df10eace61541f48263c32480c
[ "MIT" ]
null
null
null
Pratice/CONFLIP.py
parthlathiya/Codechef_Submissions
d404129e4a59c4df10eace61541f48263c32480c
[ "MIT" ]
null
null
null
Pratice/CONFLIP.py
parthlathiya/Codechef_Submissions
d404129e4a59c4df10eace61541f48263c32480c
[ "MIT" ]
null
null
null
import math T=int(input()) for i in range(T): G=int(input()) for i in range(G): I, N, Q=map(int,input().split()) if I==Q: print(N-math.ceil(N/2)) else: print(math.ceil(N/2))
14.846154
34
0.569948
40
193
2.75
0.475
0.218182
0.2
0.218182
0.345455
0.345455
0
0
0
0
0
0.012987
0.202073
193
13
35
14.846154
0.701299
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4be3d018043a97da541e7c9d5493b351335ec8d3
2,981
py
Python
bgtorch/bgtorch/bg.py
noegroup/neurips2020_snf
9b017bb3681f756d0f2ba0ee7b1a2986c1b07261
[ "BSD-3-Clause" ]
null
null
null
bgtorch/bgtorch/bg.py
noegroup/neurips2020_snf
9b017bb3681f756d0f2ba0ee7b1a2986c1b07261
[ "BSD-3-Clause" ]
null
null
null
bgtorch/bgtorch/bg.py
noegroup/neurips2020_snf
9b017bb3681f756d0f2ba0ee7b1a2986c1b07261
[ "BSD-3-Clause" ]
null
null
null
import torch from .distribution.energy import Energy from .distribution.sampling import Sampler def unnormalized_kl_div(prior, flow, target, n_samples, temperature=None): z = prior.sample(n_samples, temperature=temperature) x, dlogp = flow(z, temperature=temperature) return target.energy(x, temperature=t...
35.488095
109
0.664542
360
2,981
5.336111
0.202778
0.148881
0.059344
0.043727
0.488287
0.341489
0.219677
0.170744
0.067673
0.067673
0
0.001757
0.236498
2,981
84
110
35.488095
0.842267
0.111372
0
0.075472
0
0
0
0
0
0
0
0
0
1
0.226415
false
0
0.056604
0.113208
0.528302
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4bf7d9d6e2d1ff17106af857baf5a4eb146fb160
301
py
Python
player_sounds.py
MatthewRobertDunn/tetrominos
f864f6da44e50e2ee435ad8fabef2679c1e21a8b
[ "MIT" ]
null
null
null
player_sounds.py
MatthewRobertDunn/tetrominos
f864f6da44e50e2ee435ad8fabef2679c1e21a8b
[ "MIT" ]
null
null
null
player_sounds.py
MatthewRobertDunn/tetrominos
f864f6da44e50e2ee435ad8fabef2679c1e21a8b
[ "MIT" ]
null
null
null
import constants import pygame import os class PlayerSounds: def __init__(self): self.freeze_sample = pygame.mixer.Sound(os.path.join(constants.SOUND_DIR, 'freeze.ogg')) def freeze(self): chan = pygame.mixer.find_channel(True) chan.queue(self.freeze_sample)
23.153846
96
0.687708
39
301
5.102564
0.564103
0.100503
0.160804
0
0
0
0
0
0
0
0
0
0.209302
301
12
97
25.083333
0.836134
0
0
0
0
0
0.033223
0
0
0
0
0
0
1
0.222222
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
1
0
0
1
0
1
0
0
3
ef145aea60131f03bdae31b7258c797577d29545
130
py
Python
Crona/models.py
itsdb7/india-covid-19
9d10025f9feef8a70b723ce5f09d7a39e0e3f551
[ "MIT" ]
4
2020-04-22T18:38:53.000Z
2020-06-01T05:16:03.000Z
Crona/models.py
deepakbhamla/india-covid-19
9d10025f9feef8a70b723ce5f09d7a39e0e3f551
[ "MIT" ]
6
2021-03-30T13:11:56.000Z
2022-03-12T00:25:49.000Z
Crona/models.py
deepakbhamla/india-covid-19
9d10025f9feef8a70b723ce5f09d7a39e0e3f551
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Subscribe(models.Model): email=models.CharField(max_length=19)
21.666667
41
0.776923
19
130
5.263158
0.842105
0
0
0
0
0
0
0
0
0
0
0.017699
0.130769
130
5
42
26
0.867257
0.184615
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ef2fbcce9125ce474854acc19457e31ad301bcc9
60
py
Python
work_groups/__init__.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
911
2015-01-03T22:16:06.000Z
2022-03-31T23:56:22.000Z
work_groups/__init__.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
1,342
2015-01-02T16:14:45.000Z
2022-03-28T08:01:20.000Z
work_groups/__init__.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
551
2015-01-04T02:17:31.000Z
2022-03-23T11:59:25.000Z
default_app_config = 'work_groups.apps.WorkGroupsAppConfig'
30
59
0.866667
7
60
7
1
0
0
0
0
0
0
0
0
0
0
0
0.05
60
1
60
60
0.859649
0
0
0
0
0
0.6
0.6
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ef3fb8d8e9ba487b39d6cb4fcc44be4a6f92a595
990
py
Python
ndb/operate/__init__.py
node-db/ndb-py
0309a503ad27a0305234cabb9c4d895d46b874e2
[ "Apache-2.0" ]
1
2015-07-05T16:32:26.000Z
2015-07-05T16:32:26.000Z
ndb/operate/__init__.py
node-db/ndb-py
0309a503ad27a0305234cabb9c4d895d46b874e2
[ "Apache-2.0" ]
null
null
null
ndb/operate/__init__.py
node-db/ndb-py
0309a503ad27a0305234cabb9c4d895d46b874e2
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 import node_locate import node_select import node_update import node_delete import node_insert import node_script import node_clean import node_travel def select(node, path, action=None): return node_select.NodeSelect().select(node, path, action) def update(node, path, value, action=None): re...
26.756757
73
0.756566
140
990
5.207143
0.242857
0.109739
0.106996
0.156379
0.352538
0.21262
0.135802
0
0
0
0
0.001161
0.130303
990
36
74
27.5
0.845528
0.012121
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
ef4de9b9b7c6ac3726bd1270c238aa337e437332
1,144
py
Python
src/sensu_go/clients/resource/namespaced.py
xlab-steampunk/sensu-go-python
8dbd7e554047341bb61327d80da3e41172924831
[ "MIT" ]
1
2021-04-11T16:04:40.000Z
2021-04-11T16:04:40.000Z
src/sensu_go/clients/resource/namespaced.py
xlab-steampunk/sensu-go-python
8dbd7e554047341bb61327d80da3e41172924831
[ "MIT" ]
null
null
null
src/sensu_go/clients/resource/namespaced.py
xlab-steampunk/sensu-go-python
8dbd7e554047341bb61327d80da3e41172924831
[ "MIT" ]
null
null
null
# Copyright (c) 2020 XLAB Steampunk from typing import List, Optional, Type from sensu_go.clients.http.base import HTTPClient from sensu_go.clients.resource.base import ResourceClient from sensu_go.resources.namespaced import NamespacedResource as NsResource class NamespacedClient(ResourceClient): def __init__(...
34.666667
78
0.693182
142
1,144
5.359155
0.302817
0.045992
0.078844
0.094612
0.155059
0.091984
0.091984
0
0
0
0
0.004372
0.200175
1,144
32
79
35.75
0.827322
0.028846
0
0
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.173913
0.130435
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ef54b258984da8a0aab5391331eb6865a2628bab
223
py
Python
py_module.py
cgyqu/python_learning
55c8df4a963c40ace050d3454b72538190cb0517
[ "Apache-2.0" ]
null
null
null
py_module.py
cgyqu/python_learning
55c8df4a963c40ace050d3454b72538190cb0517
[ "Apache-2.0" ]
null
null
null
py_module.py
cgyqu/python_learning
55c8df4a963c40ace050d3454b72538190cb0517
[ "Apache-2.0" ]
null
null
null
import common from common import printerror,printinfo import sys print(sys.path) common.printinfo("this is info") common.printerror("this is error") printinfo("this is info") printerror("this is error") dir(common) dir()
17.153846
39
0.7713
33
223
5.212121
0.393939
0.139535
0.174419
0.22093
0
0
0
0
0
0
0
0
0.112108
223
13
40
17.153846
0.868687
0
0
0
0
0
0.223214
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
0.6
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
32687d679e46aff0337c97dc63f5cdec58ae20f6
6,188
py
Python
jigu/client/terra.py
bongtrop/jigu
448bce8ce693f3f7c530bea0f2f268e22100937a
[ "MIT" ]
14
2020-03-03T06:46:39.000Z
2021-05-01T15:29:35.000Z
jigu/client/terra.py
bongtrop/jigu
448bce8ce693f3f7c530bea0f2f268e22100937a
[ "MIT" ]
9
2020-03-09T06:36:30.000Z
2021-02-15T14:40:48.000Z
jigu/client/terra.py
bongtrop/jigu
448bce8ce693f3f7c530bea0f2f268e22100937a
[ "MIT" ]
5
2020-05-30T22:38:34.000Z
2021-02-11T00:56:20.000Z
from typing import Dict, Optional, Union import jigu from jigu.client.lcd.api import project from jigu.client.lcd.api.modules import ( AuthApi, BankApi, DistributionApi, GovApi, MarketApi, OracleApi, SlashingApi, StakingApi, SupplyApi, TreasuryApi ) from jigu.client.lcd.api.tend...
27.502222
102
0.626212
746
6,188
5.045576
0.254692
0.047821
0.037194
0.022582
0.095643
0.062168
0.041445
0.023379
0.023379
0
0
0.001344
0.278765
6,188
224
103
27.625
0.842035
0.105042
0
0.094937
0
0
0.035493
0.007645
0
0
0
0.004464
0
1
0.202532
false
0
0.088608
0.120253
0.506329
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
32940d779eea6fc565de773f03412348d74c9bbe
255
py
Python
desafios/desafio029.py
carlosdaniel-cyber/my-python-exercises
0d6b2874448e0bc1f8c4a5948b0beae56b95ba6b
[ "MIT" ]
null
null
null
desafios/desafio029.py
carlosdaniel-cyber/my-python-exercises
0d6b2874448e0bc1f8c4a5948b0beae56b95ba6b
[ "MIT" ]
null
null
null
desafios/desafio029.py
carlosdaniel-cyber/my-python-exercises
0d6b2874448e0bc1f8c4a5948b0beae56b95ba6b
[ "MIT" ]
null
null
null
v = float(input('Qual a velocidade atual do carro? ')) if v > 80: print('MULTADO! Você excedeu o limite permitido que é de 80Km/h') print('Você deve pagar uma multa de R${:.2f}'.format((v - 80)*7)) print('Tenha um bom dia! Dirija com segurança!')
42.5
69
0.666667
45
255
3.777778
0.844444
0.035294
0
0
0
0
0
0
0
0
0
0.038462
0.184314
255
5
70
51
0.778846
0
0
0
0
0
0.65098
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
329942fe5d53e9fb42a0461df8d1fdbbac5d666b
179
py
Python
backend/trucks/urls.py
NikogSamonic/Log_app
197fb46b84d102942352d1a30d2a64680b18d943
[ "MIT" ]
11
2020-09-21T18:58:09.000Z
2020-10-21T19:08:50.000Z
backend/trucks/urls.py
NikogSamonic/Log_app
197fb46b84d102942352d1a30d2a64680b18d943
[ "MIT" ]
8
2020-09-22T02:59:26.000Z
2020-10-31T07:28:59.000Z
backend/trucks/urls.py
NikogSamonic/Log_app
197fb46b84d102942352d1a30d2a64680b18d943
[ "MIT" ]
21
2020-09-21T11:46:42.000Z
2020-10-29T22:57:47.000Z
from rest_framework import routers from .api import TruckViewSet router = routers.DefaultRouter() router.register('api/truck', TruckViewSet, 'truck') urlpatterns = router.urls
19.888889
51
0.793296
21
179
6.714286
0.619048
0
0
0
0
0
0
0
0
0
0
0
0.111732
179
8
52
22.375
0.886792
0
0
0
0
0
0.078212
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
32a2fc6476145e0c5ef1f134d54e441bd22d3674
764
py
Python
src/errors/message.py
xrenata/krema
9923988266d1c7c27fe793d642ea34747744d449
[ "MIT" ]
2
2021-08-10T08:24:18.000Z
2022-02-02T14:21:25.000Z
src/errors/message.py
xrenata/krema
9923988266d1c7c27fe793d642ea34747744d449
[ "MIT" ]
null
null
null
src/errors/message.py
xrenata/krema
9923988266d1c7c27fe793d642ea34747744d449
[ "MIT" ]
1
2022-01-01T19:53:39.000Z
2022-01-01T19:53:39.000Z
""" Errors about messages. """ class SendMessageFailed(Exception): """Raises when sending a message is failed.""" pass class CreateReactionFailed(Exception): """Raises when creating the reaction is failed.""" pass class DeleteReactionFailed(Exception): """Raises when deleting the reaction is...
16.608696
56
0.700262
80
764
6.6875
0.35
0.196262
0.248598
0.127103
0.504673
0.216822
0
0
0
0
0
0
0.198953
764
45
57
16.977778
0.874183
0.437173
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
32ad4bcb811c05d03124f68f5f43882350f34698
6,724
py
Python
hw2/hw2_code/q2/logistic.py
ReinaKousaka/CSC311_Fall2020
8ba16154982fe9975431d895e4c3bff537055312
[ "MIT" ]
2
2021-09-26T04:41:58.000Z
2021-11-12T22:01:02.000Z
hw2/hw2_code/q2/logistic.py
ReinaKousaka/CSC311_Fall2020
8ba16154982fe9975431d895e4c3bff537055312
[ "MIT" ]
null
null
null
hw2/hw2_code/q2/logistic.py
ReinaKousaka/CSC311_Fall2020
8ba16154982fe9975431d895e4c3bff537055312
[ "MIT" ]
1
2021-11-12T22:01:10.000Z
2021-11-12T22:01:10.000Z
from utils import sigmoid import numpy as np def logistic_predict(weights, data): """ Compute the probabilities predicted by the logistic classifier. Note: N is the number of examples M is the number of features per example :param weights: A vector of weights with dimension (M + 1) x 1, where...
47.352113
103
0.483195
739
6,724
4.354533
0.194858
0.029832
0.027346
0.032318
0.745183
0.723431
0.713176
0.674953
0.582349
0.548788
0
0.009837
0.289411
6,724
141
104
47.687943
0.663667
0.555324
0
0.3125
0
0
0.026432
0.026432
0
0
0
0.028369
0
1
0.125
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
32b8248c0dc199f21561cfe7f36732d99bd147de
1,175
py
Python
digital-twin/deviceManager/camera/WebSocketSJMPCamera.py
matbmoser/SOTA
18f24179870c36b2528618962a06ea669a8dbd50
[ "CC0-1.0" ]
null
null
null
digital-twin/deviceManager/camera/WebSocketSJMPCamera.py
matbmoser/SOTA
18f24179870c36b2528618962a06ea669a8dbd50
[ "CC0-1.0" ]
null
null
null
digital-twin/deviceManager/camera/WebSocketSJMPCamera.py
matbmoser/SOTA
18f24179870c36b2528618962a06ea669a8dbd50
[ "CC0-1.0" ]
null
null
null
# coding=UTF-8 from operators.op import op from camera.WebSocketCamera import WebSocketCamera class WebSocketSJMPCamera(WebSocketCamera): ''' # Web Socket SJMP Camera inherits from ```WebSocketCamera``` Description :: ---------- Class that contains a Web Socket SJMP Camera information, sta...
28.658537
146
0.700426
144
1,175
5.659722
0.451389
0.080982
0.031902
0.046626
0.07362
0
0
0
0
0
0
0.00107
0.204255
1,175
40
147
29.375
0.870588
0.587234
0
0
0
0
0.137019
0.127404
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
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
1
1
0
0
3
085f3334731f689a1e4092bd6984642e4e132008
638
py
Python
qcloudsdkmonitor/DescribePoincyInfoByInstanceRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkmonitor/DescribePoincyInfoByInstanceRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkmonitor/DescribePoincyInfoByInstanceRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DescribePoincyInfoByInstanceRequest(Request): def __init__(self): super(DescribePoincyInfoByInstanceRequest, self).__init__( 'monitor', 'qcloudcliV1', 'DescribePoincyInfoByInstance', 'monitor.api.qcloud.com') def get...
29
95
0.695925
65
638
6.584615
0.415385
0.091122
0.065421
0.079439
0.121495
0.121495
0
0
0
0
0
0.003831
0.181818
638
21
96
30.380952
0.816092
0.032915
0
0
0
0
0.165854
0.081301
0
0
0
0
0
1
0.384615
false
0
0.076923
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0872887dae1a6077c2fd38af0da1a832900c9272
694
py
Python
setup.py
AlainDaccache/Quantropy
6cfa06ed2b764471382ebf94d40af867f10433bb
[ "MIT" ]
45
2021-01-28T04:12:21.000Z
2022-02-24T13:15:50.000Z
setup.py
AlainDaccache/Quantropy
6cfa06ed2b764471382ebf94d40af867f10433bb
[ "MIT" ]
32
2021-03-02T18:45:16.000Z
2022-03-12T00:53:10.000Z
setup.py
AlainDaccache/Quantropy
6cfa06ed2b764471382ebf94d40af867f10433bb
[ "MIT" ]
10
2020-12-25T15:02:40.000Z
2021-12-30T11:40:15.000Z
""" To release to PyPI: * Delete .egginfo, build, and dist folders * Be at Quantropy level (i.e. .../Quantropy, and not .../Quantropy/matilda) * Upgrade version in setup.cfg (i.e. from 0.0.1 to 0.0.2) * py -m pip install --upgrade build * py -m build * py -m pip install --user --upgrade twine * py -m twine u...
22.387097
121
0.675793
110
694
4.227273
0.554545
0.032258
0.03871
0.083871
0
0
0
0
0
0
0
0.016304
0.204611
694
30
122
23.133333
0.826087
0.926513
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
088cfd50e4649b2923a622e38fd9388e8a144553
581
py
Python
lib/dictasobject.py
creative-workflow/pi-setup
d6d28cb8d34ef71b1e8ac95dd94099bfad08837a
[ "MIT" ]
1
2020-04-25T00:55:45.000Z
2020-04-25T00:55:45.000Z
lib/dictasobject.py
creative-workflow/pi-setup
d6d28cb8d34ef71b1e8ac95dd94099bfad08837a
[ "MIT" ]
4
2015-05-28T23:20:13.000Z
2015-05-28T23:24:01.000Z
lib/dictasobject.py
creative-workflow/pi-setup
d6d28cb8d34ef71b1e8ac95dd94099bfad08837a
[ "MIT" ]
null
null
null
class DictAsObject(dict): def __getattr__(self, name): return self.__getitem__(name) def __getitem__(self, name): value = dict.__getitem__(self, name) if isinstance(value, dict) and not isinstance(value, DictAsObject): value = DictAsObject(value) dict.__setitem__(self, name, value) ret...
29.05
71
0.707401
69
581
5.434783
0.26087
0.149333
0.138667
0.096
0.533333
0.533333
0.533333
0.533333
0.533333
0.533333
0
0
0.187608
581
19
72
30.578947
0.794492
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0
0.133333
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
1
1
0
0
3
08c06a3acfe9da8e1ef45f0c5fd5ec41fd161549
339
py
Python
strings/tests/test_first_unique_character_in_str.py
ahcode0919/python-ds-algorithms
0d617b78c50b6c18da40d9fa101438749bfc82e1
[ "MIT" ]
null
null
null
strings/tests/test_first_unique_character_in_str.py
ahcode0919/python-ds-algorithms
0d617b78c50b6c18da40d9fa101438749bfc82e1
[ "MIT" ]
null
null
null
strings/tests/test_first_unique_character_in_str.py
ahcode0919/python-ds-algorithms
0d617b78c50b6c18da40d9fa101438749bfc82e1
[ "MIT" ]
3
2020-10-07T20:24:45.000Z
2020-12-16T04:53:19.000Z
from strings.first_unique_character_in_str import first_unique_character_in_str def test_first_unique_character(): string = 'abc' assert first_unique_character_in_str(string) == 0 string = 'eee' assert first_unique_character_in_str(string) == -1 string = 'aba' assert first_unique_character_i...
26.076923
79
0.761062
48
339
4.895833
0.354167
0.280851
0.510638
0.468085
0.693617
0.480851
0.480851
0.323404
0
0
0
0.010563
0.162242
339
12
80
28.25
0.816901
0
0
0
0
0
0.026549
0
0
0
0
0
0.375
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
08f7565271d20250e66985309afa6b81109847dc
2,392
py
Python
framework/modelhubapi_tests/mockmodels/contrib_src_si/inference.py
modelhub-ai/modelhub-engine
81e893fb7669ee9912178346efbf828dd8c0410b
[ "MIT" ]
6
2018-10-13T10:11:51.000Z
2022-02-21T08:28:10.000Z
framework/modelhubapi_tests/mockmodels/contrib_src_si/inference.py
modelhub-ai/modelhub-docker
81e893fb7669ee9912178346efbf828dd8c0410b
[ "MIT" ]
34
2018-03-06T16:25:10.000Z
2018-06-26T21:55:13.000Z
framework/modelhubapi_tests/mockmodels/contrib_src_si/inference.py
modelhub-ai/modelhub-engine
81e893fb7669ee9912178346efbf828dd8c0410b
[ "MIT" ]
3
2019-08-15T18:09:32.000Z
2022-02-16T07:55:27.000Z
""" Implementation of several mock models to test the API. Each model has a slightly different behaviour, which should be properly handled by the API. Also most models are not fully valid, e.g. they do not comply to the mock config. This is ok for unit testing, most models are only used for a small set of specific test...
29.530864
80
0.642559
296
2,392
5.10473
0.368243
0.031767
0.047651
0.067505
0.494375
0.494375
0.457313
0.457313
0.457313
0.402383
0
0.01581
0.259615
2,392
80
81
29.9
0.83738
0.278846
0
0.568182
0
0
0.090379
0
0
0
0
0
0
1
0.227273
false
0.090909
0.068182
0.045455
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
3e949501b662c2438a7e264d709a4332e81a220e
872
py
Python
src/antidote/_providers/lazy.py
Finistere/antidote
97751e0e6a1b8bd638a1c33212345c7a84ad97b8
[ "MIT" ]
52
2017-12-17T19:52:37.000Z
2022-03-29T10:24:04.000Z
src/antidote/_providers/lazy.py
Finistere/antidote
97751e0e6a1b8bd638a1c33212345c7a84ad97b8
[ "MIT" ]
32
2018-11-02T08:49:16.000Z
2022-03-25T22:23:30.000Z
src/antidote/_providers/lazy.py
Finistere/antidote
97751e0e6a1b8bd638a1c33212345c7a84ad97b8
[ "MIT" ]
5
2019-05-17T18:26:14.000Z
2021-12-25T23:13:31.000Z
from typing import Hashable from .._compatibility.typing import final from .._internal import API from ..core import Container, DependencyDebug, DependencyValue, StatelessProvider from ..core.exceptions import DebugNotAvailableError @API.private class Lazy: def debug_info(self) -> DependencyDebug: raise ...
29.066667
81
0.730505
86
872
7.360465
0.395349
0.033175
0.037915
0
0
0
0
0
0
0
0
0
0.184633
872
29
82
30.068966
0.890295
0.018349
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0.238095
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3ea8128602c86165ec1539cfa6b15ddcd17e0f8b
255
py
Python
algospot/hammingcode/answer.py
BK-Yoo/everyday-study
a7a52f0ee76053f4d693a1717047eb674d994c2c
[ "MIT" ]
1
2016-10-17T14:57:54.000Z
2016-10-17T14:57:54.000Z
algospot/hammingcode/answer.py
BK-Yoo/everyday-study
a7a52f0ee76053f4d693a1717047eb674d994c2c
[ "MIT" ]
1
2019-04-28T21:42:05.000Z
2019-04-28T21:42:05.000Z
algospot/hammingcode/answer.py
BK-Yoo/algospot
a7a52f0ee76053f4d693a1717047eb674d994c2c
[ "MIT" ]
null
null
null
for _ in range(int(input())): c = [int(n) for n in input()] i_t = (c[3] ^ c[4] ^ c[5] ^ c[6]) << 2 | (c[1] ^ c[2] ^ c[5] ^ c[6]) << 1 | (c[0] ^ c[2] ^ c[4] ^ c[6]) if i_t: c[i_t - 1] ^= 1 print(''.join(map(str, [c[2], c[4], c[5], c[6]])))
42.5
107
0.384314
60
255
1.566667
0.35
0.085106
0.095745
0.12766
0.202128
0.12766
0
0
0
0
0
0.106952
0.266667
255
5
108
51
0.395722
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3ed7ca8aef4c4db1e9c0088257e8865b5000d5d6
124
py
Python
zanshincli/__init__.py
tenchi-security/zanshin-cli
154e0b96ac74219dfddfcc5de4da58b8a55f8bd9
[ "Apache-2.0" ]
1
2022-03-25T11:41:41.000Z
2022-03-25T11:41:41.000Z
zanshincli/__init__.py
tenchi-security/zanshin-cli
154e0b96ac74219dfddfcc5de4da58b8a55f8bd9
[ "Apache-2.0" ]
9
2021-11-29T15:57:07.000Z
2022-03-28T18:48:14.000Z
zanshincli/__init__.py
tenchi-security/zanshin-cli
154e0b96ac74219dfddfcc5de4da58b8a55f8bd9
[ "Apache-2.0" ]
null
null
null
__version__ = "1.0.2" # set up package logger import logging logging.getLogger(__name__).addHandler(logging.NullHandler())
20.666667
61
0.782258
16
124
5.5625
0.875
0
0
0
0
0
0
0
0
0
0
0.026786
0.096774
124
5
62
24.8
0.767857
0.169355
0
0
0
0
0.049505
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
410906ae65b3bcf0944da3f685ae9e608cac69f2
1,285
py
Python
DSLCC-2014/bayesline/corpus.py
alvations/bayesline-DSL
23f7463aef198dbf3dc396e30f0a83df5a1a4b9c
[ "MIT" ]
2
2020-08-16T10:33:12.000Z
2020-10-07T02:23:06.000Z
DSLCC-2014/bayesline/corpus.py
alvations/bayesline-DSL
23f7463aef198dbf3dc396e30f0a83df5a1a4b9c
[ "MIT" ]
null
null
null
DSLCC-2014/bayesline/corpus.py
alvations/bayesline-DSL
23f7463aef198dbf3dc396e30f0a83df5a1a4b9c
[ "MIT" ]
1
2021-06-03T16:53:27.000Z
2021-06-03T16:53:27.000Z
# -*- coding: utf-8 -*- import io, os this_directory = os.path.dirname(os.path.realpath(__file__)) def sents(infile): """ Lazy corpus reader that yields line. """ with io.open(infile, 'r', encoding='utf8') as fin: for line in fin: yield line.strip() class DSLCC: """ Corpus interf...
28.555556
70
0.6
163
1,285
4.625767
0.386503
0.086207
0.079576
0.100796
0.371353
0.371353
0.371353
0.156499
0.156499
0.156499
0
0.002123
0.266926
1,285
45
71
28.555556
0.798301
0.267704
0
0.095238
0
0
0.103292
0.074915
0
0
0
0
0
1
0.333333
false
0
0.047619
0.190476
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f5b151ee0bde3e183c29c87783af95dfc850cf3c
43
py
Python
src/utility/__init__.py
bmordue/nb
9e2e8de8bdd365c905d0c88f4ae13f8f73a74aff
[ "MIT" ]
null
null
null
src/utility/__init__.py
bmordue/nb
9e2e8de8bdd365c905d0c88f4ae13f8f73a74aff
[ "MIT" ]
134
2018-06-13T20:08:04.000Z
2022-03-02T17:18:13.000Z
src/utility/__init__.py
bmordue/nb
9e2e8de8bdd365c905d0c88f4ae13f8f73a74aff
[ "MIT" ]
null
null
null
__all__ = ["nb_logging", "client_factory"]
21.5
42
0.72093
5
43
5
1
0
0
0
0
0
0
0
0
0
0
0
0.093023
43
1
43
43
0.641026
0
0
0
0
0
0.55814
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f5b34290b4c85bc9b00f67114531b19a866faa4b
65
py
Python
Repeticao-For/desafio-046.py
Apache0001/Curso-de-Python
5f3870640fcdd56a26dab39b097a0b06a94fc2ee
[ "MIT" ]
null
null
null
Repeticao-For/desafio-046.py
Apache0001/Curso-de-Python
5f3870640fcdd56a26dab39b097a0b06a94fc2ee
[ "MIT" ]
1
2021-02-19T19:57:09.000Z
2021-02-19T19:57:09.000Z
Repeticao-For/desafio-046.py
Apache0001/Curso-de-Python
5f3870640fcdd56a26dab39b097a0b06a94fc2ee
[ "MIT" ]
null
null
null
for c in range(10, -1, -1): print(c) print('FOGOOOOOS !!!')
13
27
0.538462
11
65
3.181818
0.727273
0
0
0
0
0
0
0
0
0
0
0.078431
0.215385
65
4
28
16.25
0.607843
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f5bb8d4bb7980f535aa1667568e1b8259f6f0f8c
194
py
Python
projectjose/dashboard/core/urls.py
Chaoslecion123/blog_jose
f98b8046275028c0896ef36466a2e981de6468d5
[ "MIT" ]
null
null
null
projectjose/dashboard/core/urls.py
Chaoslecion123/blog_jose
f98b8046275028c0896ef36466a2e981de6468d5
[ "MIT" ]
5
2021-03-19T09:32:01.000Z
2022-01-13T02:00:15.000Z
projectjose/dashboard/core/urls.py
Chaoslecion123/blog_jose
f98b8046275028c0896ef36466a2e981de6468d5
[ "MIT" ]
null
null
null
from django.urls import path from .views import LoginView,LogoutView urlpatterns = [ path('', LoginView.as_view(), name='login'), path('logout/', LogoutView.as_view(), name='logout') ]
24.25
56
0.695876
24
194
5.541667
0.583333
0.090226
0.150376
0
0
0
0
0
0
0
0
0
0.139175
194
7
57
27.714286
0.796407
0
0
0
0
0
0.092784
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f5d3b37bfe937c7728ec4b74eb041ad5e9b8a6a9
254
py
Python
tests/test_utils.py
Tobi-De/qosic-sdk
a9c7a17c3a328883dfd033080175c64fb8c8fd32
[ "MIT" ]
1
2022-03-12T13:12:17.000Z
2022-03-12T13:12:17.000Z
tests/test_utils.py
Tobi-De/qosic-sdk
a9c7a17c3a328883dfd033080175c64fb8c8fd32
[ "MIT" ]
247
2021-05-12T08:52:46.000Z
2022-03-30T15:22:06.000Z
tests/test_utils.py
Tobi-De/qosic-sdk
a9c7a17c3a328883dfd033080175c64fb8c8fd32
[ "MIT" ]
null
null
null
from qosic.models import get_random_string, ALLOWED_STRING_CHARS def test_get_random_string(): random_string = get_random_string() assert isinstance(random_string, str) for char in random_string: assert char in ALLOWED_STRING_CHARS
28.222222
64
0.783465
36
254
5.138889
0.472222
0.389189
0.243243
0
0
0
0
0
0
0
0
0
0.169291
254
8
65
31.75
0.876777
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f5d98d4cb2fb496ca4c02def461365e00fabbfe4
199
py
Python
geventwebsocket/__init__.py
youen/gevent-websocket
708f27eab2027fee62c3a8e8dd15d62a7c163819
[ "BSD-3-Clause" ]
1
2016-01-14T00:36:32.000Z
2016-01-14T00:36:32.000Z
geventwebsocket/__init__.py
youen/gevent-websocket
708f27eab2027fee62c3a8e8dd15d62a7c163819
[ "BSD-3-Clause" ]
null
null
null
geventwebsocket/__init__.py
youen/gevent-websocket
708f27eab2027fee62c3a8e8dd15d62a7c163819
[ "BSD-3-Clause" ]
null
null
null
version_info = (0, 2, 2) __version__ = ".".join(map(str, version_info)) try: from geventwebsocket.websocket import WebSocket except ImportError: import traceback traceback.print_exc()
19.9
51
0.723618
24
199
5.708333
0.708333
0.160584
0
0
0
0
0
0
0
0
0
0.018182
0.170854
199
9
52
22.111111
0.812121
0
0
0
0
0
0.005051
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f5f6de22ed907235f67964c1cbfb6ab3987c5305
47
py
Python
mobao/service.py
fengzhongdege/mobao
e1117ab992d2baac21998423a88ee5efcfcfeaa5
[ "Apache-2.0" ]
null
null
null
mobao/service.py
fengzhongdege/mobao
e1117ab992d2baac21998423a88ee5efcfcfeaa5
[ "Apache-2.0" ]
null
null
null
mobao/service.py
fengzhongdege/mobao
e1117ab992d2baac21998423a88ee5efcfcfeaa5
[ "Apache-2.0" ]
null
null
null
service_name = 'a' service_url = 'localhost/a'
15.666667
27
0.723404
7
47
4.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.12766
47
2
28
23.5
0.780488
0
0
0
0
0
0.255319
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f5fa5b68dd6d690ae5b3e13c84a26aa78f6a2e0d
401
py
Python
lib/systems/ammonia.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
lib/systems/ammonia.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
lib/systems/ammonia.py
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
import pulsar as psr def load_ref_system(): """ Returns ammonia as found in the IQMol fragment library. All credit to https://github.com/nutjunkie/IQmol """ return psr.make_system(""" N -0.0353 -0.0440 0.0285 H 0.2658 0.6496 0.6822 H 0.7774 ...
33.416667
63
0.508728
57
401
3.526316
0.701754
0.029851
0
0
0
0
0
0
0
0
0
0.242915
0.38404
401
11
64
36.454545
0.57085
0.259352
0
0
0
0
0.696751
0
0
0
0
0
0
1
0.125
true
0
0.125
0
0.375
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
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f5fa69d7adf68bfc55dc4d3c2076729e4569e7bb
52
py
Python
scrapy/tests/test_contrib_ibl/__init__.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
null
null
null
scrapy/tests/test_contrib_ibl/__init__.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
10
2020-02-11T23:34:28.000Z
2022-03-11T23:16:12.000Z
scrapy/tests/test_contrib_ibl/__init__.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
3
2018-08-05T14:54:25.000Z
2021-06-07T01:49:59.000Z
import sys path = sys.modules[__name__].__path__[0]
17.333333
40
0.769231
8
52
4
0.75
0
0
0
0
0
0
0
0
0
0
0.021277
0.096154
52
2
41
26
0.659574
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f5fdd396129c2bfcb4092b3a8c9b48b1872d812c
205
py
Python
test/joinMultiples/join.py
xieguigang/graphQL
254fe740a7dd8715962adb8bc3698579822c4c94
[ "MIT" ]
1
2022-03-22T01:59:12.000Z
2022-03-22T01:59:12.000Z
test/joinMultiples/join.py
xieguigang/graphQL
254fe740a7dd8715962adb8bc3698579822c4c94
[ "MIT" ]
null
null
null
test/joinMultiples/join.py
xieguigang/graphQL
254fe740a7dd8715962adb8bc3698579822c4c94
[ "MIT" ]
null
null
null
import graphQL kb = MsgFile::open() for file in list.files("K:\metadb\graphDb", pattern = "*.graph"): kb = Query::join(kb, MsgFile::open(file)) MsgFile::save(kb, file = "K:\metadb/metadb.graph")
22.777778
68
0.64878
30
205
4.433333
0.6
0.135338
0.195489
0
0
0
0
0
0
0
0
0
0.146341
205
8
69
25.625
0.76
0
0
0
0
0
0.22439
0.107317
0
0
0
0
0
0
null
null
0
0.2
null
null
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
eb35bc109cdc83723251c0ff11d559aae8c7ce9e
4,347
py
Python
via_cms/view/private/form/create_form_advice.py
jeanjacquesp/via-cms
12b212f8005e3d667c23ffc4da831e4d3e653999
[ "MIT" ]
null
null
null
via_cms/view/private/form/create_form_advice.py
jeanjacquesp/via-cms
12b212f8005e3d667c23ffc4da831e4d3e653999
[ "MIT" ]
null
null
null
via_cms/view/private/form/create_form_advice.py
jeanjacquesp/via-cms
12b212f8005e3d667c23ffc4da831e4d3e653999
[ "MIT" ]
null
null
null
# Copyright 2020 Pax Syriana Foundation. Licensed under the Apache License, Version 2.0 # from flask_babel import lazy_gettext as _l from flask_wtf import FlaskForm from flask_wtf.file import FileAllowed from flask_wtf.file import FileRequired from wtforms import FileField from wtforms import IntegerField from wtform...
51.141176
137
0.608006
521
4,347
4.948177
0.366603
0.046936
0.04616
0.041893
0.254073
0.213344
0.167572
0.167572
0.167572
0.167572
0
0.021879
0.285024
4,347
84
138
51.75
0.807593
0.042328
0
0.032258
0
0.048387
0.24645
0.021179
0
0
0
0.011905
0
1
0.032258
false
0
0.306452
0
0.548387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
eb386a0bf4f35ff23f3bef881c88e040df26842a
133
py
Python
cjdata/apps.py
sunlightlabs/hall-of-justice
8c2ce47f792e0182c84d13dca808564a6ac376b4
[ "BSD-3-Clause" ]
7
2015-05-08T03:48:54.000Z
2016-02-04T01:01:51.000Z
cjdata/apps.py
themarshallproject/hall-of-justice
8c2ce47f792e0182c84d13dca808564a6ac376b4
[ "BSD-3-Clause" ]
44
2015-03-20T17:16:58.000Z
2016-04-27T20:17:29.000Z
cjdata/apps.py
sunlightlabs/hall-of-justice
8c2ce47f792e0182c84d13dca808564a6ac376b4
[ "BSD-3-Clause" ]
5
2015-06-22T13:49:08.000Z
2016-01-30T23:19:16.000Z
from django.apps import AppConfig class CJDataAppConfig(AppConfig): name = 'cjdata' verbose_name = "Criminal Justice Data"
19
42
0.744361
15
133
6.533333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.180451
133
6
43
22.166667
0.899083
0
0
0
0
0
0.203008
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
eb4051b17ba6474848618a3f1c2b4690d998012e
688
py
Python
respond/responder.py
Julian-Nash/jsonresp
a238267a9e60d56daa42bc768cf29ed323a75e7a
[ "MIT" ]
3
2020-08-27T04:14:47.000Z
2020-09-16T20:07:21.000Z
respond/responder.py
Julian-Nash/jsonresp
a238267a9e60d56daa42bc768cf29ed323a75e7a
[ "MIT" ]
1
2020-09-11T21:02:53.000Z
2020-09-11T21:02:53.000Z
respond/responder.py
Julian-Nash/jsonresp
a238267a9e60d56daa42bc768cf29ed323a75e7a
[ "MIT" ]
1
2020-09-11T20:06:57.000Z
2020-09-11T20:06:57.000Z
from .json_response import JSONResponse from .xml_response import XMLResponse from .text_response import TextResponse class Responder(object): """ Responder class for quick access to JSON, XML and text response classes Example usage: Send a JSON response: Responder.json.ok(["some", "json"...
34.4
110
0.693314
87
688
5.436782
0.436782
0.088795
0.042283
0
0
0
0
0
0
0
0
0.011429
0.236919
688
19
111
36.210526
0.889524
0.56686
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
de5be51eb14be626ce6e542179a6760290abb22d
68
py
Python
src/char_freq.py
shijie-xu/acime
da1fe59c3a340d20060726158f42a37341178f6a
[ "CC-BY-3.0" ]
null
null
null
src/char_freq.py
shijie-xu/acime
da1fe59c3a340d20060726158f42a37341178f6a
[ "CC-BY-3.0" ]
null
null
null
src/char_freq.py
shijie-xu/acime
da1fe59c3a340d20060726158f42a37341178f6a
[ "CC-BY-3.0" ]
null
null
null
# -*- coding:utf-8 -*- import tkinter m = tkinter.Tk() m.mainloop()
13.6
22
0.617647
10
68
4.2
0.8
0
0
0
0
0
0
0
0
0
0
0.017241
0.147059
68
4
23
17
0.706897
0.294118
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
de6678e2e7936decb5c7d0c3b03cd4c9292aaa0e
97
py
Python
drcom.py
719733328/drcom
d94811e755bd4ecabb2371ee2c2be0c9f53ba08b
[ "MIT" ]
1
2017-12-20T03:17:51.000Z
2017-12-20T03:17:51.000Z
drcom.py
719733328/drcom
d94811e755bd4ecabb2371ee2c2be0c9f53ba08b
[ "MIT" ]
null
null
null
drcom.py
719733328/drcom
d94811e755bd4ecabb2371ee2c2be0c9f53ba08b
[ "MIT" ]
null
null
null
import sys def main(): print 'This is a dummy client, please read README.md' sys.exit(0)
19.4
57
0.670103
17
97
3.823529
0.941176
0
0
0
0
0
0
0
0
0
0
0.013333
0.226804
97
5
58
19.4
0.853333
0
0
0
0
0
0.459184
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
de78b86186546c4ef7827deaf5374defb739db37
233
py
Python
accounts/admin.py
simplymarco/Sistema-de-Controle-de-Processos-Titulados
f4e3bc7260611b848096d5fbfb1f72be9d440f1f
[ "MIT" ]
null
null
null
accounts/admin.py
simplymarco/Sistema-de-Controle-de-Processos-Titulados
f4e3bc7260611b848096d5fbfb1f72be9d440f1f
[ "MIT" ]
null
null
null
accounts/admin.py
simplymarco/Sistema-de-Controle-de-Processos-Titulados
f4e3bc7260611b848096d5fbfb1f72be9d440f1f
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Terra) admin.site.register(Interessado) admin.site.register(Processo) admin.site.register(Setor) admin.site.register(Feedback)
21.181818
32
0.806867
32
233
5.875
0.46875
0.239362
0.452128
0
0
0
0
0
0
0
0
0
0.085837
233
10
33
23.3
0.882629
0.111588
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
1
0
0
0
0
0
0
3
de841105121cb0db154d181d5fd899d19e9aa7e8
367
py
Python
src/webapp/admin.py
fatihcirakoglu/swe573project
0ada8e7bc70e7a28b27c4753898fe5250d554464
[ "MIT" ]
null
null
null
src/webapp/admin.py
fatihcirakoglu/swe573project
0ada8e7bc70e7a28b27c4753898fe5250d554464
[ "MIT" ]
4
2022-03-13T15:06:12.000Z
2022-03-15T16:49:15.000Z
src/webapp/admin.py
fatihcirakoglu/swe573project
0ada8e7bc70e7a28b27c4753898fe5250d554464
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Course, FavouriteCourse, Post, FavouritePost, Profile, Comment, TagDict # Register your models here. admin.site.register(Course) admin.site.register(FavouriteCourse) admin.site.register(Post) admin.site.register(FavouritePost) admin.site.register(Profile) admin.site...
33.363636
91
0.825613
47
367
6.446809
0.361702
0.207921
0.392739
0
0
0
0
0
0
0
0
0
0.070845
367
11
92
33.363636
0.888563
0.070845
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
3
de86fd4cbc974025ddf3f5eb2cc7283ae22ff728
305
py
Python
filters/forwarded_message.py
in7erval/Wall-e-2.0
db28255db00a131b8fd297f09910f585f8fe3aca
[ "MIT" ]
null
null
null
filters/forwarded_message.py
in7erval/Wall-e-2.0
db28255db00a131b8fd297f09910f585f8fe3aca
[ "MIT" ]
null
null
null
filters/forwarded_message.py
in7erval/Wall-e-2.0
db28255db00a131b8fd297f09910f585f8fe3aca
[ "MIT" ]
null
null
null
from aiogram import types from aiogram.dispatcher.filters import BoundFilter class IsForwarded(BoundFilter): async def check(self, message: types.Message) -> bool: if message.forward_from_chat: return message.forward_from_chat.type == types.ChatType.CHANNEL return False
30.5
75
0.737705
37
305
5.972973
0.621622
0.099548
0.162896
0.199095
0
0
0
0
0
0
0
0
0.193443
305
9
76
33.888889
0.898374
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
dea78d0567b737443b1d2841cbaf4b82697fe0bc
251
py
Python
tests/test262_test.py
icecream17/PythonEcmascriptInterpreter
1db6e8355888084b5f0df4e7051cf62c1262f1b5
[ "MIT" ]
null
null
null
tests/test262_test.py
icecream17/PythonEcmascriptInterpreter
1db6e8355888084b5f0df4e7051cf62c1262f1b5
[ "MIT" ]
null
null
null
tests/test262_test.py
icecream17/PythonEcmascriptInterpreter
1db6e8355888084b5f0df4e7051cf62c1262f1b5
[ "MIT" ]
null
null
null
""" This uses test262 to test the interpreter """ # pylint: disable=relative-beyond-top-level, protected-access, no-self-use, missing-function-docstring, missing-class-docstring class Test262: def test_one(self): assert True, "This parses!"
27.888889
127
0.741036
34
251
5.441176
0.794118
0
0
0
0
0
0
0
0
0
0
0.02765
0.135458
251
8
128
31.375
0.824885
0.669323
0
0
0
0
0.16
0
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
dedea3e9da189f20b3d9ef114b20052eeb10cacb
1,032
py
Python
a1d05eba1/transformations/__init__.py
dorey/a1d05eba1
eb6f66a946f3c417ab6bf9047ba9715be071967c
[ "0BSD" ]
null
null
null
a1d05eba1/transformations/__init__.py
dorey/a1d05eba1
eb6f66a946f3c417ab6bf9047ba9715be071967c
[ "0BSD" ]
28
2020-06-23T19:00:58.000Z
2021-03-26T22:13:07.000Z
a1d05eba1/transformations/__init__.py
dorey/a1d05eba1
eb6f66a946f3c417ab6bf9047ba9715be071967c
[ "0BSD" ]
null
null
null
from .transformer import Transformer from .transformer_list import TransformerList from .anchors_when_needed import AnchorsFromNameOrRandom from .kobo_rename_kuid_to_anchor import RenameKuidToAnchor from .xlsform_aliases import XlsformRenames from .xlsform_replace_truthy_strings import ReplaceTruthyStrings from .xlsfo...
44.869565
71
0.905039
117
1,032
7.632479
0.461538
0.086226
0.033595
0.047032
0.120941
0.06047
0
0
0
0
0
0.002099
0.07655
1,032
22
72
46.909091
0.934942
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
724cb96af8d1a51058e3e084c6760d5558e99157
339
py
Python
src/wai/annotations/core/util/_extension_to_regex.py
waikato-ufdl/wai-annotations-core
bac3429e9488efb456972c74f9d462f951c4af3d
[ "Apache-2.0" ]
null
null
null
src/wai/annotations/core/util/_extension_to_regex.py
waikato-ufdl/wai-annotations-core
bac3429e9488efb456972c74f9d462f951c4af3d
[ "Apache-2.0" ]
3
2021-06-30T23:42:47.000Z
2022-03-01T03:45:07.000Z
src/wai/annotations/core/util/_extension_to_regex.py
waikato-ufdl/wai-annotations-core
bac3429e9488efb456972c74f9d462f951c4af3d
[ "Apache-2.0" ]
null
null
null
import re def extension_to_regex(extension: str) -> str: """ Converts an extension into a regex which matches filenames with that extension. :param extension: The extension. :return: A pattern object. """ # Escape the extension and format it as a regex return f"(.*){re.es...
24.214286
52
0.643068
43
339
5.023256
0.627907
0.055556
0
0
0
0
0
0
0
0
0
0
0.262537
339
13
53
26.076923
0.864
0.589971
0
0
0
0
0.243243
0.243243
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
a0c7bbf6e352c6c4d3e424e43d15fc8485232e08
388
py
Python
dist/book/codes/129-2.py
EManualResource/book-python-basic
a6f9e985b8765f9e8dbc7a0bea82243545d3fa06
[ "Apache-2.0" ]
null
null
null
dist/book/codes/129-2.py
EManualResource/book-python-basic
a6f9e985b8765f9e8dbc7a0bea82243545d3fa06
[ "Apache-2.0" ]
null
null
null
dist/book/codes/129-2.py
EManualResource/book-python-basic
a6f9e985b8765f9e8dbc7a0bea82243545d3fa06
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #coding:utf-8 import random number = random.randint(1,100) print "请输入一个100以内的自然数:" input_number = raw_input() if number == int(input_number): print "猜对了,这个数是:" print number elif number > int(input_number): print "小了" input_number = raw_input() elif number < int(input_number): ...
16.869565
32
0.677835
55
388
4.618182
0.472727
0.259843
0.165354
0.224409
0.326772
0.228346
0
0
0
0
0
0.025559
0.193299
388
22
33
17.636364
0.785942
0.082474
0
0.2
0
0
0.087571
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.4
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
1
0
0
0
0
0
0
0
0
3
a0d9ca8280598942d7a3f37d97721dc95689df67
134
py
Python
Questoes/Troca em Vetor I.py
gsillva18/URI_Phyton
45cc0388a3b914b2b8131329c48bce7b0f0bfec6
[ "MIT" ]
1
2021-12-14T09:42:08.000Z
2021-12-14T09:42:08.000Z
Questoes/Troca em Vetor I.py
gsillva18/URI_Phyton
45cc0388a3b914b2b8131329c48bce7b0f0bfec6
[ "MIT" ]
null
null
null
Questoes/Troca em Vetor I.py
gsillva18/URI_Phyton
45cc0388a3b914b2b8131329c48bce7b0f0bfec6
[ "MIT" ]
null
null
null
x=[] for i in range(20): val=int(input()) x.append(val) x.reverse() for k in range(20): print("N[{}] = {}".format(k,x[k]))
19.142857
38
0.529851
25
134
2.84
0.6
0.197183
0.253521
0
0
0
0
0
0
0
0
0.037037
0.19403
134
7
38
19.142857
0.62037
0
0
0
0
0
0.074074
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0e38d20e6c3252c589dd58105ce1a5e926f3c0c
59
py
Python
app/grandchallenge/core/__init__.py
Tommos0/grand-challenge.org
187cd857f6a7c9651b7bda8c42c54801f071dd7c
[ "Apache-2.0" ]
1
2021-02-09T10:30:44.000Z
2021-02-09T10:30:44.000Z
app/grandchallenge/core/__init__.py
Tommos0/grand-challenge.org
187cd857f6a7c9651b7bda8c42c54801f071dd7c
[ "Apache-2.0" ]
null
null
null
app/grandchallenge/core/__init__.py
Tommos0/grand-challenge.org
187cd857f6a7c9651b7bda8c42c54801f071dd7c
[ "Apache-2.0" ]
null
null
null
default_app_config = "grandchallenge.core.apps.CoreConfig"
29.5
58
0.847458
7
59
6.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.050847
59
1
59
59
0.857143
0
0
0
0
0
0.59322
0.59322
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0ffb870cae47443b3eda1b21cd54dc82febcabf
1,403
py
Python
app/auth/forms.py
ernestmucheru/BlogIP
99b4a979806e0c710a1fbdf25ee6ae31948ac200
[ "MIT" ]
null
null
null
app/auth/forms.py
ernestmucheru/BlogIP
99b4a979806e0c710a1fbdf25ee6ae31948ac200
[ "MIT" ]
null
null
null
app/auth/forms.py
ernestmucheru/BlogIP
99b4a979806e0c710a1fbdf25ee6ae31948ac200
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileAllowed from flask_login import current_user from wtforms import StringField, PasswordField,BooleanField,SubmitField,TextAreaField from wtforms import validators from wtforms.validators import DataRequired, Required, Email,EqualTo from ..models i...
43.84375
126
0.749822
154
1,403
6.74026
0.383117
0.104046
0.049133
0.040462
0.348748
0.258189
0.184971
0.184971
0.123314
0
0
0
0.143264
1,403
31
127
45.258065
0.863561
0
0
0.08
0
0
0.13766
0
0
0
0
0
0
1
0.08
false
0.16
0.32
0
0.84
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
1
0
0
3
9d172a3ded50a861e10b27b5545e151282d4e136
1,371
py
Python
authors/apps/articles/tests/test_readstats.py
KabohaJeanMark/ah-backend-invictus
a9cf930934e8cbcb4ee370a088df57abe50ee6d6
[ "BSD-3-Clause" ]
7
2021-03-04T09:29:13.000Z
2021-03-17T17:35:42.000Z
authors/apps/articles/tests/test_readstats.py
KabohaJeanMark/ah-backend-invictus
a9cf930934e8cbcb4ee370a088df57abe50ee6d6
[ "BSD-3-Clause" ]
25
2019-04-23T18:51:02.000Z
2021-06-10T21:22:47.000Z
authors/apps/articles/tests/test_readstats.py
KabohaJeanMark/ah-backend-invictus
a9cf930934e8cbcb4ee370a088df57abe50ee6d6
[ "BSD-3-Clause" ]
7
2019-06-29T10:40:38.000Z
2019-09-23T09:05:45.000Z
from django.urls import reverse from rest_framework import status # Local imports from .base import BaseTestCase class UserReadStatsTestCase(BaseTestCase): """ class for testing user read statistics """ def test_gets_user_read_statistics(self): stats_url = reverse('reading_stats') url...
48.964286
95
0.715536
172
1,371
5.44186
0.337209
0.144231
0.221154
0.230769
0.541667
0.527778
0.527778
0.392094
0.185897
0.185897
0
0.024138
0.153902
1,371
27
96
50.777778
0.782759
0.038658
0
0
0
0
0.241167
0.06682
0
0
0
0
0.45
1
0.05
false
0
0.15
0
0.25
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
1
0
0
0
0
0
0
0
0
0
3
9d25576f6b8df032a6940543e7b4e11dd2103c0c
558
py
Python
server/app/storage/pawn.py
firmanmm/tic-tac-royale
83c3bb88cd31a34eeceeac3d42aaa302598f52e9
[ "MIT" ]
null
null
null
server/app/storage/pawn.py
firmanmm/tic-tac-royale
83c3bb88cd31a34eeceeac3d42aaa302598f52e9
[ "MIT" ]
null
null
null
server/app/storage/pawn.py
firmanmm/tic-tac-royale
83c3bb88cd31a34eeceeac3d42aaa302598f52e9
[ "MIT" ]
null
null
null
import typing as typ import server.domain.model.pawn as pawnMod import server.domain.model.location as locMod import server.domain.storage.pawn as pawnStorMod class PawnStorage(pawnStorMod.IPawnStorage): def __init__(self): self.map = typ.Dict[locMod.Location, pawnMod.Pawn]() def getPawn(self, locati...
32.823529
69
0.71147
73
558
5.383562
0.383562
0.071247
0.137405
0.117048
0
0
0
0
0
0
0
0
0.191756
558
17
70
32.823529
0.871397
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.307692
0
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
9d2915c022279c24e320e08d066d0a007f2c3308
383
py
Python
sales_register/adapters/repositories/postgres/models/mappers.py
tamercuba/purchase-system
cfd3e4fecbd96c130f620d11491fa14979c0d996
[ "MIT" ]
null
null
null
sales_register/adapters/repositories/postgres/models/mappers.py
tamercuba/purchase-system
cfd3e4fecbd96c130f620d11491fa14979c0d996
[ "MIT" ]
6
2021-05-15T21:44:19.000Z
2021-05-23T22:20:13.000Z
sales_register/adapters/repositories/postgres/models/mappers.py
tamercuba/sales-register
cfd3e4fecbd96c130f620d11491fa14979c0d996
[ "MIT" ]
null
null
null
from adapters.repositories.postgres.models.sale import SaleModel from adapters.repositories.postgres.models.salesman import SalesmanModel from domain.entities import Sale, Salesman from shared.mapper import IEntityMapper class SaleMapper(IEntityMapper): MODEL = SaleModel ENTITY = Sale class SalesmanMapper(I...
25.533333
72
0.806789
41
383
7.536585
0.487805
0.07767
0.15534
0.20712
0.245955
0
0
0
0
0
0
0
0.138381
383
14
73
27.357143
0.936364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9d30ed64bb39d61b0a4e9d56b797a9d56366195c
453
py
Python
app/models/category.py
aries-zhang/flask-template
369d77f2910f653f46668dd9bda735954b6c145e
[ "MIT" ]
null
null
null
app/models/category.py
aries-zhang/flask-template
369d77f2910f653f46668dd9bda735954b6c145e
[ "MIT" ]
null
null
null
app/models/category.py
aries-zhang/flask-template
369d77f2910f653f46668dd9bda735954b6c145e
[ "MIT" ]
null
null
null
from app import db # NOQA class Category(db.Model): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String) key = db.Column(db.String) description = db.Column(db.String) name_cn = db.Column(db.String) name_en = db.Column(db.String) def __init__(self, name, key, name_cn, ...
26.647059
65
0.640177
70
453
3.957143
0.314286
0.173285
0.216607
0.288809
0.144404
0
0
0
0
0
0
0
0.242826
453
16
66
28.3125
0.80758
0.00883
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.692308
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9d4a0d8b41a591c1fe0f834998f08ff6cfcf9312
1,162
py
Python
data/components/line_colors.py
iminurnamez/Market-Master
08b965d6975e64050ee1e9176ad7883a968244ea
[ "CC0-1.0" ]
null
null
null
data/components/line_colors.py
iminurnamez/Market-Master
08b965d6975e64050ee1e9176ad7883a968244ea
[ "CC0-1.0" ]
null
null
null
data/components/line_colors.py
iminurnamez/Market-Master
08b965d6975e64050ee1e9176ad7883a968244ea
[ "CC0-1.0" ]
null
null
null
LINE_COLORS = [ (255, 127, 127), (255, 127, 182), (102, 51, 73), (214, 127, 255), (85, 51, 102), (161, 127, 255), (63, 51, 102), (127, 146, 255), (51, 58, 102), (127, 201, 255), (51, 80, 1...
27.023256
28
0.290017
125
1,162
2.688
0.336
0.104167
0.047619
0
0
0
0
0
0
0
0
0.599265
0.531842
1,162
42
29
27.666667
0.018382
0
0
0
0
0
0
0
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
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
19b8de5193aec6bd4b373d4157bab92b365553c9
252
py
Python
stickerfinder/helper/tag_mode.py
drbuilderpro/sticker-finder
688656a4b67c1e5057c0d1dc5b21201f0466b7ab
[ "MIT" ]
null
null
null
stickerfinder/helper/tag_mode.py
drbuilderpro/sticker-finder
688656a4b67c1e5057c0d1dc5b21201f0466b7ab
[ "MIT" ]
null
null
null
stickerfinder/helper/tag_mode.py
drbuilderpro/sticker-finder
688656a4b67c1e5057c0d1dc5b21201f0466b7ab
[ "MIT" ]
1
2020-11-06T02:17:14.000Z
2020-11-06T02:17:14.000Z
"""Helper enum for defining possible states of tagging in a chat.""" class TagMode: """Helper enum for defining possible states of tagging in a chat.""" STICKER_SET = 'sticker_set' RANDOM = 'random' SINGLE_STICKER = 'single_sticker'
25.2
72
0.698413
34
252
5.058824
0.5
0.116279
0.151163
0.244186
0.593023
0.593023
0.593023
0.593023
0.593023
0.593023
0
0
0.206349
252
9
73
28
0.86
0.496032
0
0
0
0
0.267241
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
19bba4166b22e14c50596eb836b5f37cb275e010
4,332
py
Python
app/tests/test_js_to_hid.py
13891024810/Nokidapilot
a4bd8c1285c28f4669b293317b08ba488c0ddf5a
[ "MIT" ]
null
null
null
app/tests/test_js_to_hid.py
13891024810/Nokidapilot
a4bd8c1285c28f4669b293317b08ba488c0ddf5a
[ "MIT" ]
null
null
null
app/tests/test_js_to_hid.py
13891024810/Nokidapilot
a4bd8c1285c28f4669b293317b08ba488c0ddf5a
[ "MIT" ]
null
null
null
import unittest from hid.keycodes import azerty from hid.keycodes import modifiers from hid.keycodes import qwerty from js_to_hid import convert from request_parsers import keystroke class ConvertJsToHIDTest(unittest.TestCase): def test_converts_simple_qwerty_keystroke(self): modifier_bitmask, hid_keyco...
47.604396
77
0.534395
391
4,332
5.547315
0.117647
0.161826
0.109728
0.060858
0.786538
0.786538
0.759797
0.666667
0.666667
0.648686
0
0.005452
0.407202
4,332
90
78
48.133333
0.839174
0
0
0.666667
0
0
0.012465
0
0
0
0
0
0.148148
1
0.074074
false
0
0.074074
0
0.160494
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
19e70227f32f3fbd20ef41fcfdfdb864900f2b50
66
py
Python
config.py
Abhidcruez/automated_youtube_channel
6f08a8b61224f29368da3e31bd31e1c411441119
[ "MIT" ]
169
2021-01-13T04:23:42.000Z
2022-03-29T13:47:54.000Z
config.py
shrimantagarain/automated_youtube_channel
c6d74723dc17528121a3c93176df442e6cde541f
[ "MIT" ]
31
2021-04-01T07:06:51.000Z
2022-03-16T20:07:42.000Z
config.py
shrimantagarain/automated_youtube_channel
c6d74723dc17528121a3c93176df442e6cde541f
[ "MIT" ]
108
2021-01-13T13:34:08.000Z
2022-03-24T03:33:07.000Z
IG_USERNAME = "example_username" IG_PASSWORD = "example_password"
33
33
0.818182
8
66
6.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.090909
66
2
34
33
0.833333
0
0
0
0
0
0.477612
0
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
19f35f6f03a0555f6191e5b0c76c46186cc3f5e2
262
py
Python
zygoat/components/frontend/prettier/prettierrc.py
knitHacker/zygoat
dcbd6a6bb8c6e6ef9338ca17b3935946514f3808
[ "MIT" ]
3
2020-10-04T18:18:07.000Z
2022-01-05T22:11:51.000Z
zygoat/components/frontend/prettier/prettierrc.py
knitHacker/zygoat
dcbd6a6bb8c6e6ef9338ca17b3935946514f3808
[ "MIT" ]
53
2020-05-18T19:37:15.000Z
2022-03-09T00:22:16.000Z
zygoat/components/frontend/prettier/prettierrc.py
knitHacker/zygoat
dcbd6a6bb8c6e6ef9338ca17b3935946514f3808
[ "MIT" ]
7
2020-06-04T18:16:17.000Z
2022-03-04T13:42:51.000Z
from zygoat.components import FileComponent from zygoat.constants import Projects from . import resources class PrettierRc(FileComponent): filename = ".prettierrc" resource_pkg = resources base_path = Projects.FRONTEND prettierrc = PrettierRc()
18.714286
43
0.774809
27
262
7.444444
0.592593
0.099502
0
0
0
0
0
0
0
0
0
0
0.164122
262
13
44
20.153846
0.917808
0
0
0
0
0
0.041985
0
0
0
0
0
0
1
0
false
0
0.375
0
0.875
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c2445ca19d50501187bd224c3d04c48c844bcb0f
474
py
Python
lib/layers/global_roi_layer.py
jasonx1011/densecap-tensorflow
a5f9c8d0c88af1a0d8488b41c239a288a3f21904
[ "MIT" ]
70
2017-12-31T11:04:45.000Z
2021-12-01T04:34:34.000Z
lib/layers/global_roi_layer.py
jasonx1011/densecap-tensorflow
a5f9c8d0c88af1a0d8488b41c239a288a3f21904
[ "MIT" ]
43
2018-01-02T02:36:25.000Z
2022-01-02T08:47:40.000Z
lib/layers/global_roi_layer.py
jasonx1011/densecap-tensorflow
a5f9c8d0c88af1a0d8488b41c239a288a3f21904
[ "MIT" ]
31
2017-12-12T09:30:31.000Z
2020-05-25T07:24:20.000Z
# -------------------------------------------------------- # DenseCap-Tensorflow # Written by InnerPeace # This file is adapted from Xinlei's work # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ import print_function impo...
26.333333
65
0.540084
54
474
4.425926
0.648148
0.125523
0.200837
0
0
0
0
0
0
0
0
0.017413
0.151899
474
17
66
27.882353
0.577114
0.459916
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.666667
0
1
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
0
1
0
1
0
0
3
c246be6f5015a03c9751a162a4d7fd86435ce5ef
228
py
Python
task_example/tasks.py
key/huey-example
72a781af04a3489ccb3d5e953e6841d0d83d55df
[ "MIT", "Unlicense" ]
null
null
null
task_example/tasks.py
key/huey-example
72a781af04a3489ccb3d5e953e6841d0d83d55df
[ "MIT", "Unlicense" ]
124
2020-01-14T05:49:10.000Z
2022-02-10T13:52:48.000Z
task_example/tasks.py
key/huey-example
72a781af04a3489ccb3d5e953e6841d0d83d55df
[ "MIT", "Unlicense" ]
null
null
null
from huey import crontab from huey.contrib.djhuey import task, periodic_task # 非同期タスク @task() def async_task(a, b): return a / b # 定期実行タスク。5分に1回実行 @periodic_task(crontab(minute="*/5")) def heartbeat(): print("alive")
16.285714
51
0.70614
33
228
4.787879
0.636364
0.101266
0
0
0
0
0
0
0
0
0
0.015625
0.157895
228
13
52
17.538462
0.807292
0.096491
0
0
0
0
0.039604
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.625
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c24c6a15fe83535a4ae262c06e41a5e9009e9277
598
py
Python
enqueseri.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
null
null
null
enqueseri.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
4
2020-10-04T07:49:30.000Z
2021-10-02T05:24:40.000Z
enqueseri.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
7
2020-10-04T07:46:55.000Z
2021-11-05T14:30:00.000Z
import sys if __name__=='__main__': n=int(input()) a=sys.stdin.readline().split() b=[] for i in a: b.append(int(i)) b.sort() x=0 y=0 su=0 p=0 i=0 while i<2*n-1: #print i,su,x,y if p!=n: if b[i]>0: y+=b[i] else: ...
17.085714
34
0.322742
94
598
1.968085
0.308511
0.054054
0.064865
0.043243
0.118919
0.118919
0
0
0
0
0
0.049296
0.525084
598
34
35
17.588235
0.602113
0.046823
0
0.28125
0
0
0.014085
0
0
0
0
0
0
0
null
null
0
0.03125
null
null
0.03125
0
0
1
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
3
dfb5f10dc3358a11947860bd62808fa68c42de35
16,282
py
Python
tests/test_validations.py
erdem/django-marshmallow
3b9f3cefd70d98e9348f5a69fa61837ca28be7a6
[ "MIT" ]
3
2020-05-05T16:17:34.000Z
2021-05-13T19:05:12.000Z
tests/test_validations.py
erdem/django-marshmallow
3b9f3cefd70d98e9348f5a69fa61837ca28be7a6
[ "MIT" ]
3
2021-09-08T02:12:25.000Z
2022-03-12T00:36:59.000Z
tests/test_validations.py
erdem/django-marshmallow
3b9f3cefd70d98e9348f5a69fa61837ca28be7a6
[ "MIT" ]
null
null
null
import uuid from django_marshmallow import fields from django_marshmallow.schemas import ModelSchema def test_invalid_primary_key_validation_for_foreign_key_fields(db, db_models, fk_related_instance): class TestSchema(ModelSchema): class Meta: model = db_models.AllRelatedFieldsModel ...
27.410774
118
0.576956
1,731
16,282
5.170999
0.088388
0.096526
0.080438
0.112613
0.796336
0.76606
0.735002
0.691319
0.651882
0.630656
0
0.009201
0.312431
16,282
593
119
27.456998
0.790353
0.026655
0
0.502193
0
0.004386
0.22766
0.009473
0
0
0
0
0.155702
1
0.024123
false
0
0.006579
0
0.100877
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dfb7d8b75783b2f6da5ed96b9b4f65952552da60
587
py
Python
Dataset/Leetcode/test/1/126.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/1/126.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/1/126.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, nums: List[int], target: int) -> List[int]: index_list = list(range(len(nums))) sorted_index = sorted(index_list, key=lambda x: nums[x]) left = 0 right = len(sorted_index) - 1 while left <= right: if nums[sorted_index[left]] + nums[...
34.529412
79
0.543441
71
587
4.352113
0.352113
0.320388
0.242718
0.122977
0.291262
0.291262
0.291262
0.291262
0.291262
0
0
0.010178
0.330494
587
16
80
36.6875
0.776081
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
dfc43b4e26f19f5bf711ed47305f6375a0cf5b8b
231
py
Python
src/activation.py
aioz-ai/CRF_VQA
f0797d15f5d883bec058bc1f85c4a703abe5f461
[ "MIT" ]
5
2021-10-18T10:09:06.000Z
2022-03-03T02:13:41.000Z
src/activation.py
aioz-ai/CRF_VQA
f0797d15f5d883bec058bc1f85c4a703abe5f461
[ "MIT" ]
2
2021-10-18T02:47:26.000Z
2021-12-12T07:29:12.000Z
src/activation.py
aioz-ai/CFR_VQA
f0797d15f5d883bec058bc1f85c4a703abe5f461
[ "MIT" ]
null
null
null
import torch import torch.nn as nn """Define new activation for VQA""" class Swish(nn.Module): def __init__(self): super(Swish, self).__init__() def forward(self, x): return torch.mul(x, torch.sigmoid(x))
21
45
0.65368
34
231
4.205882
0.617647
0.153846
0
0
0
0
0
0
0
0
0
0
0.212121
231
11
45
21
0.785714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
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
1
1
0
0
3
dfe7188aa7a6cc74fe4fa0ee2580eb0fccc77634
287
py
Python
katas/kyu_6/unusual_sort.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/kyu_6/unusual_sort.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/kyu_6/unusual_sort.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
from itertools import chain, izip from string import ascii_lowercase as low, ascii_uppercase as up, digits KEYS = {a: i for i, a in enumerate(chain( up, low, chain.from_iterable(izip(xrange(10), digits))))} def unusual_sort(array): return sorted(array, key=lambda a: KEYS[a])
28.7
72
0.728223
47
287
4.361702
0.638298
0.04878
0
0
0
0
0
0
0
0
0
0.008299
0.160279
287
9
73
31.888889
0.842324
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
dfee6966191d333826ec9705c9eda9c5da8603ba
570
py
Python
Mundo 3/exercicio073.py
samudoki/Python-Curso-em-Video
6a0de8a5ef44450355e873302f9b7e3b43da4fad
[ "Apache-2.0" ]
1
2021-05-20T23:22:31.000Z
2021-05-20T23:22:31.000Z
Mundo 3/exercicio073.py
samudoki/Python-Curso-em-Video
6a0de8a5ef44450355e873302f9b7e3b43da4fad
[ "Apache-2.0" ]
null
null
null
Mundo 3/exercicio073.py
samudoki/Python-Curso-em-Video
6a0de8a5ef44450355e873302f9b7e3b43da4fad
[ "Apache-2.0" ]
null
null
null
tabela = ('Flamengo', 'Internacional', 'Atlético Mineiro', 'São Paulo', 'Fluminense', 'Grêmio', 'Palmeiras', 'Santos', 'Athletico-PR', 'Bragantino', 'Ceará SC', 'Corinthians', 'Atlético-GO', 'Bahia', 'Sport Recife', 'Fortaleza', 'Vasco da Gama', 'Goiás', 'Chapecoense', 'Botafogo') ...
57
97
0.657895
68
570
5.529412
0.691176
0.06383
0.055851
0.069149
0.138298
0.138298
0.138298
0
0
0
0
0.004149
0.154386
570
9
98
63.333333
0.773859
0
0
0
0
0
0.698246
0.052632
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5f04486096eab37a77d539c60e528a3b8ad81276
363
py
Python
src/apps/estudiantes/admin.py
ErickAgrazal/django-docker-semestral
5cd80b8d740a5c8e63d978d91d412670a19d48de
[ "BSD-2-Clause" ]
1
2017-12-04T05:09:22.000Z
2017-12-04T05:09:22.000Z
src/apps/estudiantes/admin.py
ErickAgrazal/django-docker-semestral
5cd80b8d740a5c8e63d978d91d412670a19d48de
[ "BSD-2-Clause" ]
null
null
null
src/apps/estudiantes/admin.py
ErickAgrazal/django-docker-semestral
5cd80b8d740a5c8e63d978d91d412670a19d48de
[ "BSD-2-Clause" ]
1
2019-01-29T22:21:49.000Z
2019-01-29T22:21:49.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import Estudiante @admin.register(Estudiante) class EstudianteAdmin(admin.ModelAdmin): list_display = ('nombre', 'apellido', 'genero', 'edad') list_filter = ('edad', 'asignatura') search_fields ...
25.928571
60
0.705234
40
363
6.2
0.675
0.112903
0.16129
0.193548
0
0
0
0
0
0
0
0.003215
0.143251
363
13
61
27.923077
0.794212
0.057851
0
0
0
0
0.182353
0
0
0
0
0
0
1
0
false
0
0.375
0
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5f19be7fa452bd268088be1f2d8314d5a3d262c8
6,239
py
Python
stt/auto_recorder.py
VAOSproject/client
d7ccc7fdfbea794b5066075618464ef9730a0fef
[ "MIT" ]
3
2015-12-12T00:39:53.000Z
2017-08-03T12:08:06.000Z
stt/auto_recorder.py
VAOSproject/client
d7ccc7fdfbea794b5066075618464ef9730a0fef
[ "MIT" ]
null
null
null
stt/auto_recorder.py
VAOSproject/client
d7ccc7fdfbea794b5066075618464ef9730a0fef
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- import pyaudio import wave import audioop from collections import deque import urllib2 import urllib import time import math import glob import os, shutil import stt # Microphone stream config. CHUNK = 1024 # CHUNKS of bytes to read each time from mic FORMAT = pyaudio.p...
34.469613
95
0.583106
756
6,239
4.728836
0.280423
0.027692
0.018462
0.02014
0.684755
0.684755
0.684755
0.684755
0.684755
0.684755
0
0.0157
0.336432
6,239
180
96
34.661111
0.847826
0.201475
0
0.733333
0
0
0.041244
0
0
0
0
0.005556
0
0
null
null
0.008333
0.091667
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5f1e55661131ad574180e7978887480ab35ea88a
5,413
py
Python
mpiece/renderer.py
davidnotplay/mpiece
7c5b4fc2323631b2244cc26cb1df12f562f0827f
[ "BSD-3-Clause" ]
3
2016-07-07T15:43:35.000Z
2017-03-12T23:17:40.000Z
mpiece/renderer.py
davidnotplay/mpiece
7c5b4fc2323631b2244cc26cb1df12f562f0827f
[ "BSD-3-Clause" ]
null
null
null
mpiece/renderer.py
davidnotplay/mpiece
7c5b4fc2323631b2244cc26cb1df12f562f0827f
[ "BSD-3-Clause" ]
null
null
null
""" mpiece.renderer ~~~~~~~~~~~~~~~~~~~~~~~~~ Renderer Classes. :license: BSD, see LICENSE for details. :author: David Casado Martinez <dcasadomartinez@gmail.com> """ class Renderer(object): """ Base renderer class. All renderer classes should be subclasses of this class. This class and their subclass ...
26.79703
88
0.65509
785
5,413
4.402548
0.210191
0.072338
0.063947
0.044271
0.235243
0.123553
0.082755
0.070023
0.050926
0.050926
0
0.001116
0.171993
5,413
201
89
26.930348
0.769969
0.305745
0
0.121212
0
0
0.140561
0.029965
0
0
0
0
0
1
0.30303
false
0
0
0.181818
0.69697
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5f23766f16a684b5c50436bfe2ed0401d4241d62
20,645
py
Python
cogs/fun.py
luciano1337/legion-bot
022d1ef9eb77a26b57929f800dd55770206f8852
[ "MIT" ]
null
null
null
cogs/fun.py
luciano1337/legion-bot
022d1ef9eb77a26b57929f800dd55770206f8852
[ "MIT" ]
null
null
null
cogs/fun.py
luciano1337/legion-bot
022d1ef9eb77a26b57929f800dd55770206f8852
[ "MIT" ]
null
null
null
import random import discord import urllib import secrets import asyncio import aiohttp import re import datetime import time from io import BytesIO from discord.ext import commands from utils import lists, permissions, http, default, argparser players = {} class Fun_Commands(commands.Cog): def __init__(self, bo...
42.743271
150
0.609397
2,859
20,645
4.363764
0.158447
0.04681
0.069253
0.037512
0.746874
0.719702
0.701747
0.675297
0.67209
0.631132
0
0.014458
0.249552
20,645
482
151
42.83195
0.786742
0.009978
0
0.562857
0
0.031429
0.258658
0.045639
0
0
0.003755
0
0
1
0.014286
false
0.002857
0.034286
0
0.137143
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f28f31973934a6b026630b0e0be2b5eee88a9f9
969
py
Python
sense_inventory/Sense.py
scossin/abbreviations
3f7de88cd63ab981597e8dd9f7b76226cda8de47
[ "MIT" ]
null
null
null
sense_inventory/Sense.py
scossin/abbreviations
3f7de88cd63ab981597e8dd9f7b76226cda8de47
[ "MIT" ]
null
null
null
sense_inventory/Sense.py
scossin/abbreviations
3f7de88cd63ab981597e8dd9f7b76226cda8de47
[ "MIT" ]
null
null
null
class Sense: def __init__(self, short: str, ident: int): self.ident = ident self.short = short self.pref_label = '' self.alt_labels = [] def add_pref_label(self, pref_label: str): self.__check_pref_label_not_set(pref_label) self.pref_label = pref_label def a...
32.3
98
0.617131
135
969
4.081481
0.22963
0.277677
0.188748
0.092559
0.522686
0.196007
0.196007
0.196007
0.196007
0.196007
0
0
0.278638
969
29
99
33.413793
0.788269
0
0
0
0
0
0.132095
0
0
0
0
0
0
1
0.25
false
0
0
0.041667
0.333333
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
1
0
0
0
0
0
0
0
3
a02926da3aee162804d307a19eb2c8d295c72309
385
py
Python
game/__init__.py
agarwalrounak/brkout
365a540c9d4cea29b6c0532b3908f6ebd24ce03a
[ "MIT" ]
14
2018-01-17T20:50:44.000Z
2019-01-09T11:20:56.000Z
game/__init__.py
agarwalrounak/brkout
365a540c9d4cea29b6c0532b3908f6ebd24ce03a
[ "MIT" ]
44
2017-12-16T17:45:30.000Z
2019-05-05T10:13:58.000Z
game/__init__.py
agarwalrounak/brkout
365a540c9d4cea29b6c0532b3908f6ebd24ce03a
[ "MIT" ]
28
2017-12-18T08:43:34.000Z
2021-02-18T10:19:55.000Z
from __future__ import absolute_import from . import main # function to set path to current folder (py 2 to 3) def import_modify(): if __name__ == '__main__': if __package__ is None: import sys from os import path sys.path.append(path.abspath(path.join(path.dirname(__fi...
22.647059
82
0.633766
51
385
4.333333
0.54902
0.108597
0
0
0
0
0
0
0
0
0
0.007067
0.264935
385
16
83
24.0625
0.773852
0.12987
0
0
0
0
0.03003
0
0
0
0
0
0
1
0.181818
true
0
0.545455
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
a03735f2becfb4627fcb5cbdeac9bc1ca0a95d9c
966
py
Python
locations/serializers.py
Almazishe/qpsy
50ab35ba678898db2430eb775041eb51924e96e9
[ "MIT" ]
null
null
null
locations/serializers.py
Almazishe/qpsy
50ab35ba678898db2430eb775041eb51924e96e9
[ "MIT" ]
null
null
null
locations/serializers.py
Almazishe/qpsy
50ab35ba678898db2430eb775041eb51924e96e9
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import City, Region, School class RegionDetailSerializer(serializers.ModelSerializer): class Meta: model = Region fields = ( 'code', 'name' ) class CityDetailSerializer(serializers.ModelSerializer): class Met...
19.32
63
0.532091
68
966
7.544118
0.308824
0.253411
0.302144
0.341131
0.538012
0.460039
0.460039
0.460039
0.460039
0
0
0
0.384058
966
49
64
19.714286
0.862185
0
0
0.589744
0
0
0.05176
0
0
0
0
0
0
1
0
false
0
0.051282
0
0.307692
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a039337932c42118b9c82f755fbed83cb8523307
2,075
py
Python
feature/pos.py
worldwise001/stylometry
b5a4cc98fb8dfb6d1600d41bb15c96aeaf4ecb72
[ "MIT" ]
14
2015-02-24T16:14:07.000Z
2022-02-19T21:49:55.000Z
feature/pos.py
worldwise001/stylometry
b5a4cc98fb8dfb6d1600d41bb15c96aeaf4ecb72
[ "MIT" ]
1
2015-02-25T09:45:13.000Z
2015-02-25T09:45:13.000Z
feature/pos.py
worldwise001/stylometry
b5a4cc98fb8dfb6d1600d41bb15c96aeaf4ecb72
[ "MIT" ]
4
2015-11-20T10:47:11.000Z
2021-03-30T13:14:20.000Z
import nltk import pprint def text_to_pos(text): tokens = nltk.word_tokenize(text) tags = nltk.pos_tag(tokens) just_tags = [ tag for (token, tag) in tags ] return ' '.join(just_tags) if __name__ == '__main__': text = '''Newspapers in India are classified into two categories according to the amount and comp...
148.214286
1,826
0.794217
347
2,075
4.70317
0.417867
0.021446
0.036765
0.036765
0.068627
0.068627
0
0
0
0
0
0.00348
0.169157
2,075
13
1,827
159.615385
0.943155
0
0
0
0
0.1
0.877108
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.5
0.2
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a03d14ec406e80b1001a0f8c8c510dc4d323443e
232
py
Python
wechatlogin/db_default.py
CaulyKan/TracWechatLoginPlugin
7bcfd222f83c8cf1200fde03958efa10a768e377
[ "BSD-3-Clause" ]
null
null
null
wechatlogin/db_default.py
CaulyKan/TracWechatLoginPlugin
7bcfd222f83c8cf1200fde03958efa10a768e377
[ "BSD-3-Clause" ]
null
null
null
wechatlogin/db_default.py
CaulyKan/TracWechatLoginPlugin
7bcfd222f83c8cf1200fde03958efa10a768e377
[ "BSD-3-Clause" ]
null
null
null
from trac.db import Table, Column name = 'wechat' version = 1 tables = [ Table(name, key=('openid',))[ Column('openid', type='text'), Column('user', type='text'), Column('passwd', type='text'), ], ]
19.333333
38
0.547414
27
232
4.703704
0.62963
0.188976
0.220472
0
0
0
0
0
0
0
0
0.005714
0.24569
232
11
39
21.090909
0.72
0
0
0
0
0
0.172414
0
0
0
0
0
0
1
0
false
0.1
0.1
0
0.1
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
1
0
0
0
0
0
3
a04c380a7725377a3b33e05d2df2e12b2b09c0d2
149
py
Python
config.py
himanshukorpal/MovieMaker
f9dd402b35fa5b73d50e76c81fb5209a3716a09a
[ "MIT" ]
null
null
null
config.py
himanshukorpal/MovieMaker
f9dd402b35fa5b73d50e76c81fb5209a3716a09a
[ "MIT" ]
null
null
null
config.py
himanshukorpal/MovieMaker
f9dd402b35fa5b73d50e76c81fb5209a3716a09a
[ "MIT" ]
null
null
null
import os class Config(object): SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess' mongo_URI ="mongodb://localhost:27017/"
24.833333
71
0.711409
22
149
4.681818
0.863636
0.174757
0
0
0
0
0
0
0
0
0
0.03876
0.134228
149
5
72
29.8
0.75969
0
0
0
0
0
0.378378
0.175676
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a059550bad390451aaa4dc0d5b9d0e47a62fcb08
774
py
Python
orchestra/contrib/saas/services/moodle.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
68
2015-02-09T10:28:44.000Z
2022-03-12T11:08:36.000Z
orchestra/contrib/saas/services/moodle.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
17
2015-05-01T18:10:03.000Z
2021-03-19T21:52:55.000Z
orchestra/contrib/saas/services/moodle.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
29
2015-03-31T04:51:03.000Z
2022-02-17T02:58:50.000Z
from django import forms from django.utils.translation import ugettext_lazy as _ from orchestra.forms.widgets import SpanWidget from .. import settings from ..forms import SaaSPasswordForm from .options import SoftwareService class MoodleForm(SaaSPasswordForm): admin_username = forms.CharField(label=_("Admin us...
29.769231
79
0.773902
94
774
6.117021
0.478723
0.083478
0.125217
0.069565
0
0
0
0
0
0
0
0
0.151163
774
25
80
30.96
0.87519
0
0
0
0
0
0.091731
0.040052
0
0
0
0
0
1
0
false
0.105263
0.315789
0
0.947368
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
1
0
0
3
a0920b8bafef4149f05bd5227d8e14250fb6d53b
158
py
Python
leehao/learn75.py
pilihaotian/pythonlearning
e84b7766cc9ea8131e9720fb1f06761c9581d0da
[ "Apache-2.0" ]
1
2020-02-26T14:52:17.000Z
2020-02-26T14:52:17.000Z
leehao/learn75.py
pilihaotian/pythonlearning
e84b7766cc9ea8131e9720fb1f06761c9581d0da
[ "Apache-2.0" ]
null
null
null
leehao/learn75.py
pilihaotian/pythonlearning
e84b7766cc9ea8131e9720fb1f06761c9581d0da
[ "Apache-2.0" ]
null
null
null
# 生成器 my_integer(n) 生成1到n的整数 def my_integer(n): i = 1 # 先初始化变量 while i <= n: yield i i += 1 for x in my_integer(5): print(x)
12.153846
28
0.518987
27
158
2.925926
0.592593
0.341772
0.253165
0
0
0
0
0
0
0
0
0.04
0.367089
158
12
29
13.166667
0.75
0.208861
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.142857
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0a2ba71895f43adab1b91e72a304239570c0224
16,627
py
Python
ViT-V-Net/losses.py
junyuchen245/ViT-V-Net_for_3D_Image_Registration_Pytorch
f43bcdeef1d6712dfcaa3b4e18f69474e1eeaf73
[ "MIT" ]
131
2021-04-07T03:30:08.000Z
2022-03-20T04:09:01.000Z
ViT-V-Net/losses.py
junyuchen245/ViT-V-Net_for_3D_Image_Registration
f43bcdeef1d6712dfcaa3b4e18f69474e1eeaf73
[ "MIT" ]
4
2021-04-26T09:09:26.000Z
2022-03-10T05:29:29.000Z
ViT-V-Net/losses.py
junyuchen245/ViT-V-Net_for_3D_Image_Registration
f43bcdeef1d6712dfcaa3b4e18f69474e1eeaf73
[ "MIT" ]
20
2021-04-15T02:19:24.000Z
2022-03-14T10:10:53.000Z
import torch import torch.nn.functional as F from torch.autograd import Variable import numpy as np from math import exp import math def gaussian(window_size, sigma): gauss = torch.Tensor([exp(-(x - window_size // 2) ** 2 / float(2 * sigma ** 2)) for x in range(window_size)]) return gauss / gauss.su...
37.617647
115
0.554099
2,365
16,627
3.649894
0.09556
0.037071
0.046687
0.026645
0.762627
0.750927
0.714319
0.690454
0.656858
0.636701
0
0.038415
0.309557
16,627
441
116
37.702948
0.713502
0.032537
0
0.481605
0
0
0.007221
0
0
0
0
0
0.003344
1
0.083612
false
0
0.020067
0.006689
0.19398
0.003344
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0becacddf1bef7c8ad684f1d3068cb983560ec8
171
py
Python
problem0483.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0483.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0483.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #483 Repeated permutation - Project Euler # https://projecteuler.net/problem=483 # # Code by Kevin Marciniak # ###########################
19
43
0.491228
14
171
6
0.928571
0
0
0
0
0
0
0
0
0
0
0.039474
0.111111
171
8
44
21.375
0.513158
0.590643
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
260bea6cdbcf4809078e42083b9c242dd2057d1e
265
py
Python
server/__init__.py
natowi/pepi
22df696209ac2545d1e8e1cf0c8822725acadb29
[ "Apache-2.0" ]
4
2017-08-30T03:17:34.000Z
2019-09-24T08:57:41.000Z
server/__init__.py
natowi/pepi
22df696209ac2545d1e8e1cf0c8822725acadb29
[ "Apache-2.0" ]
14
2017-09-02T03:53:14.000Z
2022-03-11T23:19:04.000Z
server/__init__.py
natowi/pepi
22df696209ac2545d1e8e1cf0c8822725acadb29
[ "Apache-2.0" ]
3
2019-03-27T18:33:25.000Z
2021-07-17T02:18:19.000Z
from .iptools import IPTools from .base_camera_server import BaseCameraServer from .abstract_camera import AbstractCamera, RGBImage from .stream import MJPGStreamer from .dummy_camera import DummyCamera from .pepi_thrift_loader import pepi_thrift, ImageUnavailable
37.857143
61
0.871698
33
265
6.787879
0.545455
0.107143
0
0
0
0
0
0
0
0
0
0
0.098113
265
6
62
44.166667
0.937238
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2665708d3903d963f1b5218944de402d29058a83
89
py
Python
All_Source_Code/InstallPythonPackages/InstallPythonPackages_11.py
APMonitor/pds
fa9a7ec920802de346dcdf7f5dd92d752142c16f
[ "MIT" ]
11
2021-01-21T09:46:29.000Z
2022-03-16T19:33:10.000Z
All_Source_Code/InstallPythonPackages/InstallPythonPackages_11.py
the-mahapurush/pds
7cb4087dd8e75cb1e9b2a4283966c798175f61f7
[ "MIT" ]
1
2022-03-16T19:47:09.000Z
2022-03-16T20:11:50.000Z
All_Source_Code/InstallPythonPackages/InstallPythonPackages_11.py
the-mahapurush/pds
7cb4087dd8e75cb1e9b2a4283966c798175f61f7
[ "MIT" ]
12
2021-02-08T21:11:11.000Z
2022-03-20T12:42:49.000Z
pip install pandas-profiling[notebook] jupyter nbextension enable --py widgetsnbextension
44.5
50
0.865169
10
89
7.7
1
0
0
0
0
0
0
0
0
0
0
0
0.078652
89
2
50
44.5
0.939024
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
26685bb5fcbdae599a5e3a2aa1f33ae4fe514de4
521
py
Python
app/lib/dynamodb/accounts.py
jchrisfarris/antiope-scorecards
82a1e228f4bd23f756c1dec8c0582fcde98de564
[ "Apache-2.0" ]
1
2020-09-23T21:40:16.000Z
2020-09-23T21:40:16.000Z
app/lib/dynamodb/accounts.py
jchrisfarris/antiope-scorecards
82a1e228f4bd23f756c1dec8c0582fcde98de564
[ "Apache-2.0" ]
null
null
null
app/lib/dynamodb/accounts.py
jchrisfarris/antiope-scorecards
82a1e228f4bd23f756c1dec8c0582fcde98de564
[ "Apache-2.0" ]
3
2020-07-11T19:18:12.000Z
2021-08-14T17:43:06.000Z
from lib.dynamodb.table_base import TableBase class AccountsTable(TableBase): def get_account(self, account_id): return self.get_item( Key={'accountId': account_id} )['Item'] @staticmethod def normalize_account_record(account: dict): """ Updates account record...
26.05
73
0.658349
56
521
5.964286
0.625
0.080838
0
0
0
0
0
0
0
0
0
0
0.257198
521
19
74
27.421053
0.863049
0.266795
0
0
0
0
0.091429
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
267b6d6bae393b3562c8a0c1e69d356f30c168a0
171
py
Python
Export2D/commands/__init__.py
tapnair/Export2D
074a90d52ef1dd69ea3fbbee3a9a28feed2011a8
[ "MIT" ]
2
2021-07-31T05:08:56.000Z
2021-08-17T08:27:56.000Z
Export2D/commands/__init__.py
tapnair/Export2D
074a90d52ef1dd69ea3fbbee3a9a28feed2011a8
[ "MIT" ]
2
2021-03-18T18:33:52.000Z
2021-03-26T10:13:46.000Z
Export2D/commands/__init__.py
tapnair/Export2D
074a90d52ef1dd69ea3fbbee3a9a28feed2011a8
[ "MIT" ]
1
2021-07-31T05:08:57.000Z
2021-07-31T05:08:57.000Z
"""Export2D - Export Fusion 360 model faces as PDF or DXF files""" __version__ = '0.1.0' __author__ = 'Patrick Rainsberry <patrick.rainsberry@autodesk.com>' __all__ = []
28.5
67
0.725146
23
171
4.869565
0.869565
0.303571
0
0
0
0
0
0
0
0
0
0.047619
0.140351
171
5
68
34.2
0.714286
0.350877
0
0
0
0
0.542857
0.314286
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
267e00c336d54cf466d625c25bc2cec3e46536fa
2,568
py
Python
test/bmi/grid_structured_quad.py
franklinzhanggis/model-interoperable-engine
40b724813bec9af16f4ca95e36f8ff16be787315
[ "MIT" ]
1
2016-10-07T07:13:39.000Z
2016-10-07T07:13:39.000Z
test/bmi/grid_structured_quad.py
franklinzhanggis/model-interoperable-engine
40b724813bec9af16f4ca95e36f8ff16be787315
[ "MIT" ]
1
2018-11-21T14:13:07.000Z
2018-11-21T14:13:12.000Z
test/bmi/grid_structured_quad.py
franklinzhanggis/model-interoperable-engine
40b724813bec9af16f4ca95e36f8ff16be787315
[ "MIT" ]
4
2018-11-07T15:09:01.000Z
2021-05-12T09:29:27.000Z
#! /usr/bin/env python """Interface that describes structured quadrilateral grids.""" from .grid import BmiGrid class BmiGridStructuredQuad(BmiGrid): """Methods that describe a structured grid of quadrilaterals. .. figure:: _static/grid_structured_quad.png :scale: 10% :align: center ...
21.4
70
0.49338
283
2,568
4.310954
0.250883
0.078689
0.036885
0.042623
0.65082
0.636885
0.580328
0.580328
0.580328
0.580328
0
0.001272
0.38785
2,568
119
71
21.579832
0.774809
0.645249
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
cd28312d53d0fa13724b7e9f02929013a31ce079
126
py
Python
djangocms_translations/__init__.py
divio/djangocms-translations
9bfde2fed91973160bbe50ccbd6b4e2a2f4ba07f
[ "BSD-3-Clause" ]
3
2019-01-14T13:30:38.000Z
2020-08-10T22:16:06.000Z
djangocms_translations/__init__.py
divio/djangocms-translations
9bfde2fed91973160bbe50ccbd6b4e2a2f4ba07f
[ "BSD-3-Clause" ]
5
2018-12-20T13:56:47.000Z
2021-07-20T07:13:01.000Z
djangocms_translations/__init__.py
divio/djangocms-translations
9bfde2fed91973160bbe50ccbd6b4e2a2f4ba07f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __version__ = '1.4.0' default_app_config = 'djangocms_translations.apps.DjangocmsTranslationsConfig'
25.2
78
0.753968
14
126
6.285714
1
0
0
0
0
0
0
0
0
0
0
0.035088
0.095238
126
4
79
31.5
0.736842
0.166667
0
0
0
0
0.582524
0.533981
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd2f45747349879d17c71261985eacaf2792fcb3
150
py
Python
docs/code_snippets/quick_start/invoke_dag_with_defaults.py
larribas/dagger
1441fed570e535a43fdc23142b0c1a897ad9e992
[ "Apache-2.0" ]
9
2021-09-06T14:22:38.000Z
2022-02-08T07:48:39.000Z
docs/code_snippets/quick_start/invoke_dag_with_defaults.py
larribas/dagger
1441fed570e535a43fdc23142b0c1a897ad9e992
[ "Apache-2.0" ]
36
2021-09-04T06:20:19.000Z
2021-12-26T17:54:59.000Z
docs/code_snippets/quick_start/invoke_dag_with_defaults.py
larribas/dagger
1441fed570e535a43fdc23142b0c1a897ad9e992
[ "Apache-2.0" ]
4
2021-09-06T08:07:19.000Z
2021-10-18T19:13:18.000Z
from dagger.runtime.local import invoke from .build_dag import dag result = invoke(dag, params={"seed": 1}) print(f"The final result was {result}")
21.428571
40
0.74
24
150
4.583333
0.708333
0
0
0
0
0
0
0
0
0
0
0.007692
0.133333
150
6
41
25
0.838462
0
0
0
0
0
0.22
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cd3522fcbc85cc108554193d0d51eb9618d58d0b
2,075
py
Python
continual_rl/experiments/environment_runners/environment_runner_base.py
AGI-Labs/continual_rl
bcf17d879e8a983340be233ff8f740c424d0f303
[ "MIT" ]
19
2021-07-27T05:20:09.000Z
2022-02-27T07:12:05.000Z
continual_rl/experiments/environment_runners/environment_runner_base.py
AGI-Labs/continual_rl
bcf17d879e8a983340be233ff8f740c424d0f303
[ "MIT" ]
2
2021-11-05T07:36:50.000Z
2022-03-11T00:21:50.000Z
continual_rl/experiments/environment_runners/environment_runner_base.py
AGI-Labs/continual_rl
bcf17d879e8a983340be233ff8f740c424d0f303
[ "MIT" ]
3
2021-10-20T06:04:35.000Z
2022-03-06T22:59:36.000Z
from abc import ABC, abstractmethod class EnvironmentRunnerBase(ABC): """ Environment runners handle the collection of data from the environment. They are a separate class because this can be done in several ways. E.g. synchronously, batched, or fully parallel (each episode on a separate process). The...
50.609756
125
0.714699
290
2,075
5.037931
0.465517
0.030801
0.020534
0.030116
0.113621
0.113621
0.113621
0.113621
0.113621
0.113621
0
0
0.24
2,075
40
126
51.875
0.926443
0.790361
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
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
1
0
1
0
0
1
0
0
3
cd3a5450c78a98f26bb201a3f55d2470ac1f85dc
566
py
Python
tests/r/test_final_four_long.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_final_four_long.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_final_four_long.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.final_four_long import final_four_long def test_final_four_long(): """Test module final_four_long.py by downloading final_four_long.csv and t...
23.583333
58
0.775618
84
566
4.845238
0.511905
0.132678
0.191646
0.083538
0
0
0
0
0
0
0
0.021142
0.164311
566
23
59
24.608696
0.839323
0.227915
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.466667
0
0.533333
0.066667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
cd3aef5c8fa1c271cfd311b850e1baee148d2d5b
103
py
Python
ontologyaccess/apps.py
bihealth/sodar-server
0c6a03c274ab34cd8987280fe97dc8989551d4bd
[ "MIT" ]
null
null
null
ontologyaccess/apps.py
bihealth/sodar-server
0c6a03c274ab34cd8987280fe97dc8989551d4bd
[ "MIT" ]
1
2021-05-28T10:59:49.000Z
2021-06-03T12:30:23.000Z
ontologyaccess/apps.py
bihealth/sodar-server
0c6a03c274ab34cd8987280fe97dc8989551d4bd
[ "MIT" ]
null
null
null
from django.apps import AppConfig class OntologyaccessConfig(AppConfig): name = 'ontologyaccess'
17.166667
38
0.786408
10
103
8.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.145631
103
5
39
20.6
0.920455
0
0
0
0
0
0.135922
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cd7f8bab11c65cf4739893b0e4716d94e4e2bd8a
274
py
Python
Sorting/Bubble.py
jatiinyadav/Python
4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4
[ "MIT" ]
null
null
null
Sorting/Bubble.py
jatiinyadav/Python
4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4
[ "MIT" ]
null
null
null
Sorting/Bubble.py
jatiinyadav/Python
4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4
[ "MIT" ]
null
null
null
def sort(nums): for i in range(len(nums)-1, 0, -1): for j in range (i): if nums[j] > nums[j + 1]: temp = nums[j] nums[j] = nums[j + 1] nums[j + 1] = temp nums = [2,6,4,1,8,7] sort(nums) print(nums)
19.571429
39
0.416058
46
274
2.478261
0.413043
0.263158
0.236842
0.263158
0.385965
0
0
0
0
0
0
0.074534
0.412409
274
14
40
19.571429
0.63354
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0.1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd93a7d9ae4d2474558cab465c351bb8b429a1ce
569
py
Python
polygon/rest/models/exchanges.py
Polygon-io/client-python
beddb8cbf9e77effa52c40878ab5aefa5f8bef85
[ "MIT" ]
1
2019-11-19T20:56:27.000Z
2019-11-19T20:56:27.000Z
polygon/rest/models/exchanges.py
Polygon-io/client-python
beddb8cbf9e77effa52c40878ab5aefa5f8bef85
[ "MIT" ]
null
null
null
polygon/rest/models/exchanges.py
Polygon-io/client-python
beddb8cbf9e77effa52c40878ab5aefa5f8bef85
[ "MIT" ]
null
null
null
from typing import Optional from ...modelclass import modelclass @modelclass class Exchange: "Exchange contains data for a condition that Polygon.io uses." acronym: Optional[str] = None asset_class: Optional[str] = None id: Optional[int] = None locale: Optional[str] = None mic: Optional[str] =...
25.863636
66
0.674868
72
569
5.277778
0.472222
0.260526
0.355263
0.094737
0
0
0
0
0
0
0
0
0.224956
569
21
67
27.095238
0.861678
0.105448
0
0
0
0
0.105448
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0.055556
0.833333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
26997b6150cb14b1ef0d7a97e14c22a48bb76c4f
195
py
Python
testing/app/calc.py
dry-python/dependencies
1a8bba41ab42d0b5249b36471f5300d9faba81e7
[ "BSD-2-Clause" ]
175
2018-07-21T13:04:44.000Z
2020-05-27T15:31:06.000Z
tests/helpers/app/calc.py
proofit404/dependencies
204e0cfadca801d64857f24aa4c74e7939ed9af0
[ "BSD-2-Clause" ]
325
2016-05-16T11:16:11.000Z
2022-03-04T00:45:57.000Z
testing/app/calc.py
dry-python/dependencies
1a8bba41ab42d0b5249b36471f5300d9faba81e7
[ "BSD-2-Clause" ]
18
2018-06-17T09:33:16.000Z
2020-05-20T18:12:30.000Z
class Calc: """Simple calculator.""" def __init__(self, a, b): self.a = a self.b = b def do(self): """Perform calculation.""" return self.a + self.b
17.727273
34
0.497436
25
195
3.72
0.52
0.16129
0.129032
0
0
0
0
0
0
0
0
0
0.348718
195
10
35
19.5
0.732283
0.2
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
26d9d2ac4b6d2db821ff3efd8826216a3ff8931a
404
py
Python
docs/build/html/api_ecg-2.py
cadop/seg1d
f5de3949da1fee71110435c5700c4774a03fedb1
[ "MIT" ]
9
2020-05-12T18:15:40.000Z
2021-09-24T13:11:21.000Z
docs/build/html/api_ecg-2.py
cadop/seg1d
f5de3949da1fee71110435c5700c4774a03fedb1
[ "MIT" ]
8
2020-06-29T19:44:36.000Z
2020-08-11T13:38:03.000Z
docs/build/html/api_ecg-2.py
cadop/seg1d
f5de3949da1fee71110435c5700c4774a03fedb1
[ "MIT" ]
4
2020-08-11T10:59:20.000Z
2021-03-29T17:53:04.000Z
# The final segments are shown by calling the property ``t_masked`` which returns the # target data as an ndarray with NaN values for areas not found to be segments. plt.figure(figsize=(15,3)) # doctest: +SKIP plt.plot(s.t_masked.T) # doctest: +SKIP plt.xlabel("time in s") # doctest: +SKIP plt.ylabel("ECG in mV") ...
36.727273
85
0.705446
67
404
4.208955
0.656716
0.234043
0.248227
0
0
0
0
0
0
0
0
0.008876
0.163366
404
10
86
40.4
0.825444
0.621287
0
0
0
0
0.125
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
3
26e63064cced33d86dad2705f6927a5e0103467e
319
py
Python
runfile/test.py
jujinesy/ShirtGeeks
2a583034a645d0a8ee37a5d7d38e85f3c5c6d064
[ "MIT" ]
null
null
null
runfile/test.py
jujinesy/ShirtGeeks
2a583034a645d0a8ee37a5d7d38e85f3c5c6d064
[ "MIT" ]
7
2020-02-12T01:11:13.000Z
2022-03-11T23:26:32.000Z
runfile/test.py
jujinesy/ShirtGeeks
2a583034a645d0a8ee37a5d7d38e85f3c5c6d064
[ "MIT" ]
null
null
null
def application(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return [b"Hello World"] # python3 #return ["Hello World"] # python2 # uwsgi --http :8000 --wsgi-file test.py # uwsgi --http :8000 --home /home/ubuntu/venv --chdir /home/ubuntu/ShirtGeeks/src/ --module conf.wsgi
39.875
101
0.677116
44
319
4.863636
0.727273
0.121495
0.121495
0
0
0
0
0
0
0
0
0.047445
0.141066
319
8
101
39.875
0.733577
0.554859
0
0
0
0
0.277372
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
26e646d8ba393e3dca7ce1386da1b1fb9504c2e3
475
py
Python
tests/history/test_exceptions.py
shishaboy/epymetheus
d8916b20c6b79e86e5aadb39c7c01a582659f03b
[ "BSD-3-Clause" ]
null
null
null
tests/history/test_exceptions.py
shishaboy/epymetheus
d8916b20c6b79e86e5aadb39c7c01a582659f03b
[ "BSD-3-Clause" ]
null
null
null
tests/history/test_exceptions.py
shishaboy/epymetheus
d8916b20c6b79e86e5aadb39c7c01a582659f03b
[ "BSD-3-Clause" ]
null
null
null
import pytest from epymetheus import TradeStrategy, History from epymetheus.exceptions import NotRunError class SampleStragegy(TradeStrategy): """ A sample strategy. """ def __init__(self): pass def logic(self, universe): pass # ------------------------------------------------...
17.592593
82
0.56
38
475
6.868421
0.578947
0.10728
0
0
0
0
0
0
0
0
0
0
0.204211
475
26
83
18.269231
0.690476
0.210526
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0.166667
0.25
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
1
0
1
0
0
1
0
0
3
26ed30d6475ffbe1600c3f57c908a1ea68e57b9d
181
py
Python
Projects/audiobook/pdf-pg-count.py
eshaananand/HACKTOBERFEST_2021
e868968e104639307ae18c7cac842c4a092674fb
[ "MIT" ]
null
null
null
Projects/audiobook/pdf-pg-count.py
eshaananand/HACKTOBERFEST_2021
e868968e104639307ae18c7cac842c4a092674fb
[ "MIT" ]
null
null
null
Projects/audiobook/pdf-pg-count.py
eshaananand/HACKTOBERFEST_2021
e868968e104639307ae18c7cac842c4a092674fb
[ "MIT" ]
1
2021-10-17T06:40:24.000Z
2021-10-17T06:40:24.000Z
import PyPDF2 book = open('d:/Programming/random/audiobook-master/audiobook-master/oop.pdf', 'rb') pdfReader = PyPDF2.PdfFileReader(book) pages = pdfReader.numPages print(pages)
36.2
85
0.773481
23
181
6.086957
0.73913
0.214286
0
0
0
0
0
0
0
0
0
0.012121
0.088398
181
5
86
36.2
0.836364
0
0
0
0
0
0.365169
0.353933
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
26f369b65ce272aa66da3ebfaf9a45c0497245d4
353
py
Python
src/wheelodex/__init__.py
pombredanne/wheelodex
defaa4809d0186a2cb3e77213ad2b0585ac13127
[ "MIT" ]
17
2018-10-18T17:49:28.000Z
2022-03-10T14:57:13.000Z
src/wheelodex/__init__.py
pombredanne/wheelodex
defaa4809d0186a2cb3e77213ad2b0585ac13127
[ "MIT" ]
3
2018-10-17T15:19:04.000Z
2021-12-21T19:45:58.000Z
src/wheelodex/__init__.py
pombredanne/wheelodex
defaa4809d0186a2cb3e77213ad2b0585ac13127
[ "MIT" ]
1
2018-10-30T02:59:48.000Z
2018-10-30T02:59:48.000Z
""" An index of wheels """ try: from importlib.metadata import version except ImportError: from importlib_metadata import version __version__ = version('wheelodex') __author__ = 'John Thorvald Wodder II' __author_email__ = 'wheelodex@varonathe.org' __license__ = 'MIT' __url__ = 'https...
27.153846
57
0.705382
38
353
5.973684
0.736842
0.114537
0.185022
0.237885
0.299559
0
0
0
0
0
0
0
0.1983
353
12
58
29.416667
0.80212
0.050992
0
0
0
0
0.287462
0.070336
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
26f63c7a2ef6c51a7b75859c1638d80eafbf3937
1,435
py
Python
main.py
Bluefire2/Parkrun
9bb901423f0bd50dc888091e3b2db7e35b516b87
[ "MIT" ]
2
2017-11-17T15:38:18.000Z
2017-11-19T20:54:16.000Z
main.py
Bluefire2/Parkrun
9bb901423f0bd50dc888091e3b2db7e35b516b87
[ "MIT" ]
null
null
null
main.py
Bluefire2/Parkrun
9bb901423f0bd50dc888091e3b2db7e35b516b87
[ "MIT" ]
null
null
null
import pandas as pd import json from Parkrun.fetch import fetch_run, fetch_urls_from_courses, fetch_all_course_names, fetch_runs from Parkrun.util import generate_urls from Parkrun.extract import get_running_percentile, process_agecats AMT_COURSES = 10 CSV_FILE_NAME = 'running_data.json' JSON_FILE_NAME = 'running_data...
31.888889
102
0.676655
201
1,435
4.462687
0.328358
0.098105
0.028986
0.044593
0.100334
0
0
0
0
0
0
0.014731
0.195819
1,435
44
103
32.613636
0.762565
0.522648
0
0
1
0
0.081942
0
0
0
0
0
0
0
null
null
0
0.357143
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
26f956e32797d89f54c888605a159b0c7b118161
184
py
Python
naas/__init__.py
lykinsbd/naas
dfa455756506d620a1dfd3c93e2f07c2bb3b5a79
[ "MIT" ]
53
2019-07-27T18:15:22.000Z
2022-01-27T20:45:58.000Z
naas/__init__.py
lykinsbd/naas
dfa455756506d620a1dfd3c93e2f07c2bb3b5a79
[ "MIT" ]
11
2019-07-26T15:59:44.000Z
2020-02-14T15:31:18.000Z
naas/__init__.py
lykinsbd/naas
dfa455756506d620a1dfd3c93e2f07c2bb3b5a79
[ "MIT" ]
6
2019-08-23T14:53:03.000Z
2021-01-25T16:46:30.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ Initialization module for NAAS. Sets version """ __version__ = "0.6.2" __base_response__ = {"app": "naas", "version": __version__}
18.4
59
0.652174
23
184
4.652174
0.826087
0.261682
0
0
0
0
0
0
0
0
0
0.031646
0.141304
184
9
60
20.444444
0.64557
0.478261
0
0
0
0
0.218391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3