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
a1de14ec6277bfec1f83bc1158b25a9e6f73c868
65
py
Python
autoprotocol/version.py
kevin-ss-kim/autoprotocol-python
f55818e31b5c49bc093291f3ecc452f2b061e0a9
[ "BSD-3-Clause" ]
null
null
null
autoprotocol/version.py
kevin-ss-kim/autoprotocol-python
f55818e31b5c49bc093291f3ecc452f2b061e0a9
[ "BSD-3-Clause" ]
null
null
null
autoprotocol/version.py
kevin-ss-kim/autoprotocol-python
f55818e31b5c49bc093291f3ecc452f2b061e0a9
[ "BSD-3-Clause" ]
null
null
null
"""Maintains current version of package""" __version__ = "6.1.2"
21.666667
42
0.707692
9
65
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0.052632
0.123077
65
2
43
32.5
0.684211
0.553846
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a1e2e6423c6af48c84a3959d270e3cdaa9b51fa4
874
py
Python
mdm/utils.py
agnihotri7/dj_mdm
9fc68393d270d361d2a37b726282277b15121658
[ "MIT" ]
null
null
null
mdm/utils.py
agnihotri7/dj_mdm
9fc68393d270d361d2a37b726282277b15121658
[ "MIT" ]
null
null
null
mdm/utils.py
agnihotri7/dj_mdm
9fc68393d270d361d2a37b726282277b15121658
[ "MIT" ]
null
null
null
""" """ import sys import uuid import base64 import fileinput import datetime from django.utils import timezone from django.conf import settings from django.shortcuts import get_object_or_404 from urlparse import urlparse, parse_qs from APNSWrapper import * from mdm.models import MDMDevice, DeviceCommand def replac...
25.705882
71
0.751716
107
874
6.046729
0.53271
0.046368
0.05255
0
0
0
0
0
0
0
0
0.013736
0.167048
874
33
72
26.484848
0.875
0
0
0
0
0
0.00346
0
0
0
0
0
0
1
0.08
false
0
0.44
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a1f747225cd20292d907c35e437ba676e03d1874
511
py
Python
app/core/auth.py
oxfn/owtest
f4eeae225ef67684d96edd5708c44a0fd639d037
[ "Unlicense" ]
null
null
null
app/core/auth.py
oxfn/owtest
f4eeae225ef67684d96edd5708c44a0fd639d037
[ "Unlicense" ]
null
null
null
app/core/auth.py
oxfn/owtest
f4eeae225ef67684d96edd5708c44a0fd639d037
[ "Unlicense" ]
null
null
null
from fastapi import Depends from fastapi.exceptions import HTTPException from fastapi.security import OAuth2PasswordBearer from app.models.users import User, UserRepository get_token = OAuth2PasswordBearer(tokenUrl="/login") async def get_user( token: str = Depends(get_token), users: UserRepository = Depends() ...
28.388889
70
0.749511
61
511
6.213115
0.508197
0.087071
0
0
0
0
0
0
0
0
0
0.011655
0.16047
511
17
71
30.058824
0.871795
0
0
0
0
0
0.040084
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
a1fa4d83464708be7267466fae9107d6a82954d1
32,249
py
Python
modelling/model_seiihurd_matrices.py
lhunlindeion/Mathematical-and-Statistical-Modeling-of-COVID19-in-Brazil
164f19fcf04fe391aa7515fe436c63c6534fa89c
[ "MIT" ]
37
2020-03-28T16:36:56.000Z
2021-11-16T11:34:55.000Z
modelling/model_seiihurd_matrices.py
lhunlindeion/Mathematical-and-Statistical-Modeling-of-COVID19-in-Brazil
164f19fcf04fe391aa7515fe436c63c6534fa89c
[ "MIT" ]
1
2020-05-29T16:39:03.000Z
2020-06-01T19:29:55.000Z
modelling/model_seiihurd_matrices.py
lhunlindeion/Mathematical-and-Statistical-Modeling-of-COVID19-in-Brazil
164f19fcf04fe391aa7515fe436c63c6534fa89c
[ "MIT" ]
9
2020-03-28T00:00:16.000Z
2021-02-19T14:41:47.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue May 19 18:08:01 2020 @author: Felipe A. C. Pereira Implementação do ajuste do modelo SEIIHURD com separação de grupos. Necessita de mais verificações e funções para simplificar o input. Baseado nas classes disponíveis no modelos.py """ import numpy as...
48.936267
152
0.593135
4,564
32,249
4.136284
0.317923
0.00678
0.017216
0.008899
0.118392
0.087721
0.077074
0.06881
0.066268
0.055832
0
0.456549
0.25852
32,249
658
153
49.010638
0.332929
0.054265
0
0.064348
0
0
0.010984
0
0
0
0
0
0
1
0.024348
false
0
0.022609
0
0.067826
0.003478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a1fedb42ea7da198208259c1cf29d8481af7dd8f
3,202
py
Python
exarl/agents/agent_vault/_prioritized_replay.py
schr476/EXARL
7f4596bd8b3d7960aaf52bc677ceac4f37029834
[ "BSD-3-Clause" ]
2
2022-02-03T20:33:17.000Z
2022-02-10T22:43:32.000Z
exarl/agents/agent_vault/_prioritized_replay.py
schr476/EXARL
7f4596bd8b3d7960aaf52bc677ceac4f37029834
[ "BSD-3-Clause" ]
40
2022-01-25T18:03:12.000Z
2022-03-31T21:43:32.000Z
exarl/agents/agent_vault/_prioritized_replay.py
schr476/EXARL
7f4596bd8b3d7960aaf52bc677ceac4f37029834
[ "BSD-3-Clause" ]
1
2022-02-10T14:33:30.000Z
2022-02-10T14:33:30.000Z
import random import numpy as np import tensorflow as tf from collections import deque class PrioritizedReplayBuffer(): """ Class implements Prioritized Experience Replay (PER) """ def __init__(self, maxlen): """ PER constructor Args: maxlen (int): buffer length """ ...
32.673469
119
0.628045
345
3,202
5.704348
0.278261
0.04065
0.033028
0.021341
0
0
0
0
0
0
0
0.007404
0.282948
3,202
97
120
33.010309
0.849739
0.358838
0
0
0
0
0.002319
0
0
0
0
0
0
1
0.205882
false
0
0.294118
0
0.676471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b807feaa7b46fd15709c8ce5d95d9ec7f33de619
446
py
Python
utilities/readProperties.py
harry-100/qa-automation-framework
5fbe03e930820537e53f2d26b1c2b2bd2b222bf5
[ "MIT" ]
null
null
null
utilities/readProperties.py
harry-100/qa-automation-framework
5fbe03e930820537e53f2d26b1c2b2bd2b222bf5
[ "MIT" ]
null
null
null
utilities/readProperties.py
harry-100/qa-automation-framework
5fbe03e930820537e53f2d26b1c2b2bd2b222bf5
[ "MIT" ]
null
null
null
from configparser import RawConfigParser config = RawConfigParser() config.read("configuration/config.ini") class ReadConfig(): @staticmethod def getApplicationURL(): url = (config.get('common info', 'baseURL')) return url @staticmethod def getUserName(): username = (config.get('common info', 'username'))...
20.272727
52
0.7287
46
446
7.065217
0.5
0.138462
0.138462
0.175385
0
0
0
0
0
0
0
0
0.141256
446
21
53
21.238095
0.848564
0
0
0.1875
0
0
0.179372
0.053812
0
0
0
0
0
1
0.1875
false
0.1875
0.0625
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b80bab1732354a9bf5c8b8066aa6d633362ec4a1
181
py
Python
tinyq/__init__.py
mozillazg/tinyq
fd9ecc593931c9b315c4aeb9150389b3e4ae670e
[ "MIT" ]
14
2017-08-02T23:30:16.000Z
2021-05-31T19:58:29.000Z
tinyq/__init__.py
mozillazg/tinyq
fd9ecc593931c9b315c4aeb9150389b3e4ae670e
[ "MIT" ]
null
null
null
tinyq/__init__.py
mozillazg/tinyq
fd9ecc593931c9b315c4aeb9150389b3e4ae670e
[ "MIT" ]
2
2017-03-13T09:36:05.000Z
2017-10-27T14:33:48.000Z
# -*- coding: utf-8 -*- from tinyq.app import Application # noqa __version__ = '0.3.0' __author__ = 'mozillazg' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2017 mozillazg'
22.625
46
0.696133
22
181
5
0.863636
0
0
0
0
0
0
0
0
0
0
0.052288
0.154696
181
7
47
25.857143
0.666667
0.143646
0
0
0
0
0.296053
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b81231fb69c94c906db0d3069a6a4df0633be007
174
py
Python
python/find_country/city.py
lukasjoc/scritps
ebcffef0a3977ab8bb1bebf20383c350bd7baa37
[ "0BSD" ]
1
2020-11-09T19:32:43.000Z
2020-11-09T19:32:43.000Z
python/find_country/city.py
lukasjoc/scritps
ebcffef0a3977ab8bb1bebf20383c350bd7baa37
[ "0BSD" ]
null
null
null
python/find_country/city.py
lukasjoc/scritps
ebcffef0a3977ab8bb1bebf20383c350bd7baa37
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 from geopy.geocoders import Nominatim locator = Nominatim(user_agent="getcity") loc = locator.geocode("Munich") print(loc.latitude, loc.longitude)
17.4
41
0.764368
23
174
5.73913
0.826087
0
0
0
0
0
0
0
0
0
0
0.00641
0.103448
174
9
42
19.333333
0.839744
0.12069
0
0
0
0
0.086093
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b814083d787036eed69c0998c2575b86f722e9ca
3,172
py
Python
src/cocoannot/annotpreferred/models.py
coco-tasks/annotation-tool
ebd2e77ec8aeddedb9f87f457b6d5d8989b602db
[ "MIT" ]
9
2019-04-18T15:35:38.000Z
2021-06-07T08:01:27.000Z
src/cocoannot/annotpreferred/models.py
coco-tasks/annotation-tool
ebd2e77ec8aeddedb9f87f457b6d5d8989b602db
[ "MIT" ]
1
2019-07-16T10:07:09.000Z
2019-07-16T10:07:09.000Z
src/cocoannot/annotpreferred/models.py
coco-tasks/annotation-tool
ebd2e77ec8aeddedb9f87f457b6d5d8989b602db
[ "MIT" ]
3
2020-05-20T12:06:59.000Z
2020-12-12T06:45:26.000Z
from django.contrib.auth.models import User from django.db import models from markdownx.models import MarkdownxField class Category(models.Model): """ Represents a COCO category """ coco_id = models.IntegerField(unique=True, db_index=True) name = models.CharField(max_length=50) supercategory =...
33.041667
108
0.698298
420
3,172
5.095238
0.261905
0.035981
0.056542
0.068692
0.377103
0.290187
0.290187
0.192056
0.192056
0.152336
0
0.004229
0.180013
3,172
95
109
33.389474
0.818531
0.094262
0
0.175439
0
0
0.033619
0
0
0
0
0
0
1
0.122807
false
0
0.052632
0.105263
0.964912
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
629f16a424f010c4c41e887a5a673cd1324c487c
820
py
Python
hadoop/hadoop/node.py
DropletProbe/shellscripts
d070eef24cd6003694d81a3bdc38f2097452c076
[ "MIT" ]
null
null
null
hadoop/hadoop/node.py
DropletProbe/shellscripts
d070eef24cd6003694d81a3bdc38f2097452c076
[ "MIT" ]
null
null
null
hadoop/hadoop/node.py
DropletProbe/shellscripts
d070eef24cd6003694d81a3bdc38f2097452c076
[ "MIT" ]
null
null
null
import re class Node: def __init__(self, id, ip, hostname, type): self.id = id self.ip = ip self.hostname = hostname self.type = type self.validate() def validate(self): self.illegal = False if re.match("^(\d{1,3}\.){3}\d{1,3}$", self.ip): ...
28.275862
132
0.540244
119
820
3.554622
0.378151
0.070922
0.07565
0
0
0
0
0
0
0
0
0.035959
0.287805
820
28
133
29.285714
0.688356
0.1
0
0
0
0.055556
0.126703
0.031335
0
0
0
0
0
1
0.222222
false
0
0.055556
0.111111
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
62ac5880cfcb73a7f5f41808ba14ed348ca4e208
607
py
Python
net_utils.py
mfatihaktas/edge-load-balance
b866ca47ba37a605eeba05658b1d302f6855a23f
[ "MIT" ]
null
null
null
net_utils.py
mfatihaktas/edge-load-balance
b866ca47ba37a605eeba05658b1d302f6855a23f
[ "MIT" ]
null
null
null
net_utils.py
mfatihaktas/edge-load-balance
b866ca47ba37a605eeba05658b1d302f6855a23f
[ "MIT" ]
null
null
null
from debug_utils import * def run(node_l, cmd_l): popens = {} for i, n in enumerate(node_l): popens[n] = n.popen(cmd_l[i]) log(DEBUG, "Started {}".format(n)) def run_masters(m_l): run(m_l, ['./run.sh m {}'.format(i) for i in range(len(m_l))]) log(DEBUG, "done") def run_workers(w_l): run(w_l, ['./run.sh w {}...
24.28
95
0.634267
116
607
3.189655
0.362069
0.108108
0.12973
0.059459
0.216216
0.216216
0.113514
0
0
0
0
0
0.151565
607
24
96
25.291667
0.718447
0.031301
0
0.222222
0
0.055556
0.244027
0
0
0
0
0.041667
0
1
0.277778
false
0
0.055556
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
62b9b66788e4870e77759cfd4f12b782254dda87
102
py
Python
python/src/pdef/version.py
pdef/pdef-python
09c6e6424ad141b40310eeea53c1f8b6e79be560
[ "Apache-2.0" ]
2
2020-03-15T03:22:59.000Z
2020-03-15T04:37:23.000Z
python/src/pdef/version.py
pdef/pdef-python
09c6e6424ad141b40310eeea53c1f8b6e79be560
[ "Apache-2.0" ]
null
null
null
python/src/pdef/version.py
pdef/pdef-python
09c6e6424ad141b40310eeea53c1f8b6e79be560
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 '''Pdef version in a separate module to simplify setup.py.''' __version__ = '1.2.0'
25.5
61
0.696078
17
102
3.941176
0.941176
0
0
0
0
0
0
0
0
0
0
0.045977
0.147059
102
3
62
34
0.724138
0.705882
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
62d38abd8cc901db862694dad66e79677fe1126b
620
py
Python
drift/tests/test_soakit.py
dgnorth/drift
d4f52726dad1e8a1aa25d9295dd898c5514f729f
[ "MIT" ]
6
2016-09-24T13:40:12.000Z
2020-04-15T18:53:47.000Z
drift/tests/test_soakit.py
dgnorth/drift
d4f52726dad1e8a1aa25d9295dd898c5514f729f
[ "MIT" ]
4
2016-11-15T10:40:04.000Z
2020-11-26T09:48:37.000Z
drift/tests/test_soakit.py
dgnorth/drift
d4f52726dad1e8a1aa25d9295dd898c5514f729f
[ "MIT" ]
3
2016-10-31T09:48:02.000Z
2021-05-25T09:22:07.000Z
import unittest import logging from flask import Flask @unittest.skip("needs refactoring") class driftTestCase(unittest.TestCase): def setUp(self): self.app = Flask(__name__) logging.basicConfig(level="ERROR") self.app.testing = True self.test_client = self.app.test_client() ...
18.787879
49
0.624194
71
620
5.225352
0.464789
0.09434
0.059299
0
0
0
0
0
0
0
0
0
0.274194
620
32
50
19.375
0.824444
0.148387
0
0.166667
0
0
0.057361
0
0
0
0
0
0
1
0.222222
false
0.166667
0.166667
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
62d7ffd0472b4eb45907da6224fc3b2b392b8416
238
py
Python
python/7kyu/even_numbers_in_an_array.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
3
2021-06-08T01:57:13.000Z
2021-06-26T10:52:47.000Z
python/7kyu/even_numbers_in_an_array.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
null
null
null
python/7kyu/even_numbers_in_an_array.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
2
2021-06-10T21:20:13.000Z
2021-06-30T10:13:26.000Z
"""Kata url: https://www.codewars.com/kata/5a431c0de1ce0ec33a00000c.""" from typing import List def even_numbers(arr: List[int], n: int) -> List[int]: odds: List[int] = [x for x in arr if not x % 2] return odds[len(odds) - n:]
26.444444
71
0.655462
39
238
3.974359
0.666667
0.135484
0
0
0
0
0
0
0
0
0
0.076531
0.176471
238
8
72
29.75
0.714286
0.273109
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
62e0e93747dae752fc1a23adaf41a5a5edb9094b
1,912
py
Python
pypy/module/oracle/test/test_objectvar.py
kantai/passe-pypy-taint-tracking
b60a3663f8fe89892dc182c8497aab97e2e75d69
[ "MIT" ]
2
2016-07-06T23:30:20.000Z
2017-05-30T15:59:31.000Z
pypy/module/oracle/test/test_objectvar.py
benoitc/pypy
a3e1b12d1d01dc29056b7badc051ffc034297658
[ "MIT" ]
null
null
null
pypy/module/oracle/test/test_objectvar.py
benoitc/pypy
a3e1b12d1d01dc29056b7badc051ffc034297658
[ "MIT" ]
2
2020-07-09T08:14:22.000Z
2021-01-15T18:01:25.000Z
from pypy.module.oracle.test.test_connect import OracleTestBase class AppTestObjectVar(OracleTestBase): def test_fetch_object(self): import datetime cur = self.cnx.cursor() try: cur.execute("drop table pypy_test_objtable") except oracle.DatabaseError: pass ...
37.490196
70
0.579498
192
1,912
5.614583
0.390625
0.096475
0.069573
0.04731
0.159555
0.159555
0.107607
0.107607
0.107607
0.107607
0
0.026418
0.326883
1,912
50
71
38.24
0.811189
0
0
0.354167
0
0
0.41841
0.011506
0
0
0
0
0.166667
0
null
null
0.0625
0.041667
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
62f5cef50adba84125aceb4b7bcd641b085ef856
76,410
py
Python
python/pb/pomerium/pb/users_pb2.py
adriangb/enterprise-client
5d50b457425b0c6d08415b0d986fa9151b792151
[ "Apache-2.0" ]
null
null
null
python/pb/pomerium/pb/users_pb2.py
adriangb/enterprise-client
5d50b457425b0c6d08415b0d986fa9151b792151
[ "Apache-2.0" ]
null
null
null
python/pb/pomerium/pb/users_pb2.py
adriangb/enterprise-client
5d50b457425b0c6d08415b0d986fa9151b792151
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: users.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf ...
42.975253
6,495
0.778471
8,465
76,410
6.681985
0.04808
0.034652
0.05744
0.058236
0.693368
0.615809
0.580415
0.565617
0.555628
0.551049
0
0.028241
0.107918
76,410
1,777
6,496
42.999437
0.801567
0.035912
0
0.677083
1
0.002451
0.203301
0.160883
0
0
0
0
0
1
0
false
0
0.003676
0
0.003676
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1a0b60342365dfb5d7137cd8463e182aeaeff08e
8,063
py
Python
src/oci/database_management/models/sql_tuning_advisor_task_summary_finding_counts.py
ezequielramos/oci-python-sdk
cc4235cf217beaf9feed75760e9ce82610222762
[ "Apache-2.0", "BSD-3-Clause" ]
3
2020-09-10T22:09:45.000Z
2021-12-24T17:00:07.000Z
src/oci/database_management/models/sql_tuning_advisor_task_summary_finding_counts.py
ezequielramos/oci-python-sdk
cc4235cf217beaf9feed75760e9ce82610222762
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/database_management/models/sql_tuning_advisor_task_summary_finding_counts.py
ezequielramos/oci-python-sdk
cc4235cf217beaf9feed75760e9ce82610222762
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
35.676991
245
0.693538
796
8,063
6.834171
0.167085
0.066176
0.253676
0.110294
0.63125
0.526471
0.453676
0.340441
0.304412
0.277206
0
0.002964
0.246806
8,063
225
246
35.835556
0.892804
0.572244
0
0.084507
0
0
0.100743
0.049814
0
0
0
0
0
1
0.225352
false
0
0.028169
0.028169
0.408451
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
1
0
0
0
0
0
0
0
2
1a150533d8cad7a2aba7a53cd1cb833f76eb2499
3,078
py
Python
tests/lib/test_otping.py
reputage/py-didery
2d54a9e39fb01a81d4d6f7814ca7a611a7418a47
[ "Apache-2.0" ]
null
null
null
tests/lib/test_otping.py
reputage/py-didery
2d54a9e39fb01a81d4d6f7814ca7a611a7418a47
[ "Apache-2.0" ]
15
2018-05-24T23:30:21.000Z
2018-05-25T17:39:51.000Z
tests/lib/test_otping.py
reputage/py-didery
2d54a9e39fb01a81d4d6f7814ca7a611a7418a47
[ "Apache-2.0" ]
null
null
null
import pytest try: import simplejson as json except ImportError: import json from ioflo.aio.http import Valet # import didery.routing from diderypy.lib import generating as gen from diderypy.lib import otping as otp vk, sk, did = gen.keyGen() otpData = { "id": did, "blob": "AeYbsHot0pmdWAcgTo5sD8iA...
24.624
118
0.692982
342
3,078
6.225146
0.222222
0.065759
0.105214
0.170972
0.47675
0.418976
0.330672
0.330672
0.330672
0.146548
0
0.028888
0.179012
3,078
124
119
24.822581
0.813613
0.006823
0
0.181818
0
0
0.09689
0.056301
0
0
0
0
0.142857
1
0.233766
false
0
0.090909
0
0.324675
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
1a209ab2fb009b89d259657281d619b4962c46e2
64
py
Python
code/sample_1-2-16.py
KoyanagiHitoshi/AtCoder-Python-Introduction
6d014e333a873f545b4d32d438e57cf428b10b96
[ "MIT" ]
1
2022-03-29T13:50:12.000Z
2022-03-29T13:50:12.000Z
code/sample_1-2-16.py
KoyanagiHitoshi/AtCoder-Python-Introduction
6d014e333a873f545b4d32d438e57cf428b10b96
[ "MIT" ]
null
null
null
code/sample_1-2-16.py
KoyanagiHitoshi/AtCoder-Python-Introduction
6d014e333a873f545b4d32d438e57cf428b10b96
[ "MIT" ]
null
null
null
rows = int(input()) x = [input() for i in range(rows)] print(x)
16
34
0.609375
12
64
3.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0.171875
64
3
35
21.333333
0.735849
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a7e08ada30043433441727fc2f8b4036acae9399
5,023
py
Python
src/GUI/menuTypes.py
Vidhu007/Cloud-Encryption
ec9ccd76a71e98740d937b34a7734f821448fae0
[ "MIT" ]
7
2021-05-10T13:30:51.000Z
2022-03-20T17:49:59.000Z
src/GUI/menuTypes.py
Vidhu007/Cloud-Encryption
ec9ccd76a71e98740d937b34a7734f821448fae0
[ "MIT" ]
null
null
null
src/GUI/menuTypes.py
Vidhu007/Cloud-Encryption
ec9ccd76a71e98740d937b34a7734f821448fae0
[ "MIT" ]
8
2019-04-05T10:40:49.000Z
2022-03-20T06:00:43.000Z
import users import sys import encryption import googleDriveAPI u= users e= encryption g= googleDriveAPI #Function to generate menu for privileged (admin) user def privilegeMenu(): try: while True: #Menu system used to navigate the management console user_In = input("|U - Upload fi...
38.937984
129
0.428827
515
5,023
4.097087
0.229126
0.125118
0.066351
0.045498
0.627488
0.615166
0.603318
0.603318
0.573934
0.52891
0
0
0.476807
5,023
129
130
38.937985
0.802892
0.088991
0
0.772277
1
0.069307
0.197723
0
0
0
0
0
0
1
0.019802
false
0.039604
0.039604
0
0.059406
0.108911
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c503e7668b1bca9c8fa3e9b2fad69b66aea6dd54
660
py
Python
tests/test_path.py
Infinidat/infi.gevent-utils
7aef923fb19c2ea7abfe9f8341d2dfcb7b7eebdd
[ "BSD-3-Clause" ]
null
null
null
tests/test_path.py
Infinidat/infi.gevent-utils
7aef923fb19c2ea7abfe9f8341d2dfcb7b7eebdd
[ "BSD-3-Clause" ]
null
null
null
tests/test_path.py
Infinidat/infi.gevent-utils
7aef923fb19c2ea7abfe9f8341d2dfcb7b7eebdd
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from infi.gevent_utils.os import path import sys import os sys.path.append(os.path.dirname(__file__)) from utils import GreenletCalledValidatorTestCase class PathTestCase(GreenletCalledValidatorTestCase): def test_exists(self): self.switch_validator.assert_called(0)...
33
100
0.771212
88
660
5.443182
0.477273
0.083507
0.158664
0.208768
0.298539
0.23382
0.167015
0.167015
0
0
0
0.007018
0.136364
660
19
101
34.736842
0.833333
0
0
0.2
0
0
0.118182
0.089394
0
0
0
0
0.4
1
0.133333
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c509490417a8c93598f13380d18986bf96b33fd7
200
py
Python
feedbacks/urls.py
mpyatishev/djfeedback
fc1ebf0646d4449371ed80560db7cbb3f7996156
[ "MIT" ]
null
null
null
feedbacks/urls.py
mpyatishev/djfeedback
fc1ebf0646d4449371ed80560db7cbb3f7996156
[ "MIT" ]
null
null
null
feedbacks/urls.py
mpyatishev/djfeedback
fc1ebf0646d4449371ed80560db7cbb3f7996156
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url from . import views urlpatterns = patterns( '', url(r'feedback$', views.FeedbackView.as_view(), name='feedback-post') )
15.384615
73
0.655
25
200
5.2
0.76
0.169231
0
0
0
0
0
0
0
0
0
0.006061
0.175
200
12
74
16.666667
0.781818
0.105
0
0
0
0
0.124294
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c51b5610a93a01c7edaae445a44f41f8aa36b738
626
py
Python
get_proc_users.py
dangtrinhnt/gem
bc53cf19d3541542e4c14c24b5fb186432e91c45
[ "Apache-2.0" ]
null
null
null
get_proc_users.py
dangtrinhnt/gem
bc53cf19d3541542e4c14c24b5fb186432e91c45
[ "Apache-2.0" ]
44
2019-11-18T20:15:35.000Z
2021-07-27T20:26:38.000Z
get_proc_users.py
dangtrinhnt/gem
bc53cf19d3541542e4c14c24b5fb186432e91c45
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python import sys from commons import * def print_proc_users(csv_path, condition_number): csv_dat = get_dict_data_from_csv_file(csv_path) if csv_dat: print "Processing user with condition %s\n" % condition_number for email in csv_dat: num = str_to_num(email['src']) % 10 if num in conditio...
24.076923
64
0.699681
102
626
3.970588
0.470588
0.259259
0.069136
0.083951
0.177778
0.177778
0.177778
0
0
0
0
0.01518
0.158147
626
25
65
25.04
0.753321
0.033546
0
0
0
0
0.110927
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.235294
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c51deae5ca13775e3c2ef4b77c14c0ca5e33d193
1,184
py
Python
01-Lesson-Plans/03-Python-Pandas/1/Activities/12-functions-02/Unsolved/functions-02.py
tatianegercina/FinTech
b40687aa362d78674e223eb15ecf14bc59f90b62
[ "ADSL" ]
1
2021-04-13T07:14:34.000Z
2021-04-13T07:14:34.000Z
01-Lesson-Plans/03-Python-Pandas/1/Activities/12-functions-02/Unsolved/functions-02.py
tatianegercina/FinTech
b40687aa362d78674e223eb15ecf14bc59f90b62
[ "ADSL" ]
2
2021-06-02T03:14:19.000Z
2022-02-11T23:21:24.000Z
01-Lesson-Plans/03-Python-Pandas/1/Activities/12-functions-02/Unsolved/functions-02.py
tatianegercina/FinTech
b40687aa362d78674e223eb15ecf14bc59f90b62
[ "ADSL" ]
1
2021-05-07T13:26:50.000Z
2021-05-07T13:26:50.000Z
# Define a function "warble" that takes in a string as an argument, adds " arglebargle" to the end of it, and returns the result. # Print the result of calling your "warble" function with the argument "hello". # Define a function "wibble" that takes a string as an argument, prints the argument, prepends "wibbly " t...
43.851852
261
0.771115
191
1,184
4.748691
0.26178
0.046307
0.099228
0.036384
0.455347
0.374862
0.30871
0.251378
0.185226
0.101433
0
0.00206
0.179899
1,184
26
262
45.538462
0.932029
0.969595
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
c51e6be205213ab9c3f0f822b11808c56b8e2982
1,003
py
Python
Section 6 - Modular Programming/Green eggs and ham v4.py
gitjot/python-for-lccs
a8a4ae8847abbc33361f80183c06d57b20523382
[ "CC0-1.0" ]
10
2020-02-14T14:28:15.000Z
2022-02-02T18:44:11.000Z
Section 6 - Modular Programming/Green eggs and ham v4.py
gitjot/python-for-lccs
a8a4ae8847abbc33361f80183c06d57b20523382
[ "CC0-1.0" ]
null
null
null
Section 6 - Modular Programming/Green eggs and ham v4.py
gitjot/python-for-lccs
a8a4ae8847abbc33361f80183c06d57b20523382
[ "CC0-1.0" ]
8
2020-03-25T09:27:42.000Z
2021-11-03T15:24:38.000Z
# Event: LCCS Python Fundamental Skills Workshop # Date: Dec 2018 # Author: Joe English, PDST # eMail: computerscience@pdst.ie # Purpose: To find (and fix) two syntax errors # A program to display Green Eggs and Ham (v4) def showChorus(): print() print("I do not like green eggs and ham.") print...
30.393939
75
0.658026
155
1,003
4.258065
0.445161
0.090909
0.09697
0.133333
0.309091
0.286364
0.139394
0.139394
0
0
0
0.017173
0.245264
1,003
32
76
31.34375
0.85469
0.347956
0
0.25
0
0
0.49183
0
0
0
0
0
0
1
0.15
true
0
0
0
0.15
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
c51f3d08b27846ef7d07616f6d207a8d88638159
1,316
py
Python
flask_youku/__init__.py
xiaoyh121/program
6826f024cce7a4250a1dab8dba145c1f0d713286
[ "Apache-2.0" ]
176
2016-12-11T03:24:41.000Z
2021-12-10T11:44:37.000Z
flask_youku/__init__.py
xiaoyh121/program
6826f024cce7a4250a1dab8dba145c1f0d713286
[ "Apache-2.0" ]
4
2018-02-07T03:31:13.000Z
2021-12-25T13:03:49.000Z
flask_youku/__init__.py
xiaoyh121/program
6826f024cce7a4250a1dab8dba145c1f0d713286
[ "Apache-2.0" ]
76
2016-11-13T08:57:38.000Z
2021-12-25T12:02:05.000Z
from flask import Blueprint, Markup from flask import render_template class Youku(object): """Flask-Youku extents.""" def __init__(self, app=None, **kwargs): """Init Flask-Youku's instance via app object""" if app: self.init_app(app) def init_app(self, app): """Init F...
24.830189
59
0.609422
159
1,316
4.880503
0.301887
0.051546
0.03866
0.03866
0.090206
0.090206
0.090206
0.090206
0
0
0
0
0.271277
1,316
52
60
25.307692
0.809176
0.224924
0
0
0
0
0.035569
0
0
0
0
0
0
1
0.241379
false
0
0.068966
0.034483
0.517241
0.172414
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c523effb8f36813f8d45730c0dbdd83679d7448e
16,256
py
Python
pyvmodule/expr.py
tanhongze/pyvmodule
b88cd35e57893024071306d238ce601341ce3bb4
[ "MIT" ]
null
null
null
pyvmodule/expr.py
tanhongze/pyvmodule
b88cd35e57893024071306d238ce601341ce3bb4
[ "MIT" ]
null
null
null
pyvmodule/expr.py
tanhongze/pyvmodule
b88cd35e57893024071306d238ce601341ce3bb4
[ "MIT" ]
1
2020-01-20T07:25:40.000Z
2020-01-20T07:25:40.000Z
#-- coding:utf-8 from .ast import ASTNode from .compute.value import expr_value_calc_funcs,expr_value_prop_funcs from .compute.width import expr_width_calc_funcs,expr_width_fix_funcs from .compute.width import expr_match_width,expr_calc_width from .tools.utility import count_one import warnings __all__ = ['Mux',...
40.237624
123
0.62906
2,152
16,256
4.508829
0.109201
0.033907
0.032979
0.039163
0.36463
0.324539
0.282284
0.250953
0.187262
0.163661
0
0.007474
0.251046
16,256
403
124
40.337469
0.789487
0.000923
0
0.278607
0
0
0.036497
0
0
0
0
0
0.002488
1
0.278607
false
0
0.014925
0.149254
0.383085
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
c538cf5b43e938d74b89e921d97d1ef0493292ec
317
py
Python
solutions/binarysearch.io/hard/collecting-coins/main.py
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
4
2020-11-07T14:38:02.000Z
2022-01-03T19:02:36.000Z
solutions/binarysearch.io/hard/collecting-coins/main.py
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
1
2019-04-17T06:55:14.000Z
2019-04-17T06:55:14.000Z
solutions/binarysearch.io/hard/collecting-coins/main.py
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
null
null
null
class Solution: 2 def solve(self, matrix): 3 from functools import lru_cache 4 @lru_cache(None) 5 def dp(i, j): 6 if i < 0 or j < 0: 7 return 0 8 return max(dp(i - 1, j), dp(i, j - 1)) + matrix[i][j] 9 return dp(len(matrix) - 1, len(matrix[0]) - 1)
31.7
66
0.498423
56
317
2.785714
0.535714
0.057692
0.051282
0
0
0
0
0
0
0
0
0.08
0.369085
317
9
67
35.222222
0.7
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
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
1
0
0
0
0
0
0
0
0
2
c53d83148b42eaa02961efd8a515c82ec643034c
813
py
Python
examples/dialogs.py
tgolsson/appJar
5e2f8bff44e927e7c2bae17fccddc6dbf79952f0
[ "Apache-2.0" ]
666
2016-11-14T18:17:40.000Z
2022-03-29T03:53:22.000Z
examples/dialogs.py
tgolsson/appJar
5e2f8bff44e927e7c2bae17fccddc6dbf79952f0
[ "Apache-2.0" ]
598
2016-10-20T21:04:09.000Z
2022-03-15T22:44:49.000Z
examples/dialogs.py
tgolsson/appJar
5e2f8bff44e927e7c2bae17fccddc6dbf79952f0
[ "Apache-2.0" ]
95
2017-01-19T12:23:58.000Z
2022-03-06T18:16:21.000Z
from appJar import gui def press(btn): if btn == "info": app.infoBox("Title Here", "Message here...") if btn == "error": app.errorBox("Title Here", "Message here...") if btn == "warning": app.warningBox("Title Here", "Message here...") if btn == "yesno": app.yesNoBox("Title Here", "Message here...") ...
45.166667
74
0.607626
107
813
4.616822
0.299065
0.091093
0.291498
0.364372
0.404858
0.404858
0
0
0
0
0
0
0.158672
813
17
75
47.823529
0.722222
0
0
0
0
0
0.389914
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c54a392610a02b36eccf6f7a462a2e02a2aa190a
1,681
py
Python
src/ggrc_risks/models/risk.py
Killswitchz/ggrc-core
2460df94daf66727af248ad821462692917c97a9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ggrc_risks/models/risk.py
Killswitchz/ggrc-core
2460df94daf66727af248ad821462692917c97a9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ggrc_risks/models/risk.py
Killswitchz/ggrc-core
2460df94daf66727af248ad821462692917c97a9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2017 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> from sqlalchemy.ext.declarative import declared_attr from ggrc import db from ggrc.access_control.roleable import Roleable from ggrc.fulltext.mixin import Indexed from ggrc.models.associationproxy import as...
33.62
78
0.732302
191
1,681
6.303665
0.528796
0.07309
0.093023
0.033223
0
0
0
0
0
0
0
0.004298
0.169542
1,681
49
79
34.306122
0.858166
0.104105
0
0
0
0
0.117255
0
0
0
0
0
0
1
0.027027
false
0
0.324324
0.027027
0.540541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c5508e61b45a9bd59041d4ba0c8bea652aa09b89
2,033
py
Python
cfnbootstrap/construction_errors.py
roberthutto/aws-cfn-bootstrap
801a16802a931fa4dae0eba4898fe1ccdb304924
[ "Apache-2.0" ]
null
null
null
cfnbootstrap/construction_errors.py
roberthutto/aws-cfn-bootstrap
801a16802a931fa4dae0eba4898fe1ccdb304924
[ "Apache-2.0" ]
null
null
null
cfnbootstrap/construction_errors.py
roberthutto/aws-cfn-bootstrap
801a16802a931fa4dae0eba4898fe1ccdb304924
[ "Apache-2.0" ]
3
2017-02-10T13:14:38.000Z
2018-09-20T01:04:20.000Z
#============================================================================== # Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the ...
28.236111
79
0.619774
237
2,033
5.181435
0.481013
0.074104
0.035831
0.045603
0.232899
0.232899
0.232899
0.232899
0.232899
0.232899
0
0.005092
0.22725
2,033
71
80
28.633803
0.776575
0.559764
0
0.576923
0
0
0.02396
0
0
0
0
0
0
1
0.307692
false
0.038462
0
0.115385
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
0
0
0
2
c5610fccc549a5c9d69f6c3b166e598fbe0653b9
6,172
py
Python
mangabee_parsers.py
ta-dachi/mangaget
4ef39df0a6cceb2817d3bd0ad4d8290b8f576341
[ "MIT" ]
null
null
null
mangabee_parsers.py
ta-dachi/mangaget
4ef39df0a6cceb2817d3bd0ad4d8290b8f576341
[ "MIT" ]
null
null
null
mangabee_parsers.py
ta-dachi/mangaget
4ef39df0a6cceb2817d3bd0ad4d8290b8f576341
[ "MIT" ]
null
null
null
from html.parser import HTMLParser class mangabeeSearchParser(HTMLParser): def __init__(self): HTMLParser.__init__(self) self.inLink = False self.lastTag = None self.lastClass = None self.urls = [] # Where we store our results def handle_starttag(self, tag, attr...
35.883721
124
0.545366
694
6,172
4.720461
0.132565
0.111111
0.047009
0.057998
0.758852
0.703297
0.620574
0.562882
0.486264
0.486264
0
0
0.33733
6,172
171
125
36.093567
0.800978
0.10499
0
0.705479
0
0
0.072466
0
0
0
0
0
0
1
0.109589
false
0.020548
0.006849
0
0.143836
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c565a1b2f5a20a17f2045f38225c4233abda30b9
456
py
Python
tests/web/backend_pytest.py
brumar/eel-for-transcrypt
28cf5e0aa55a3c885b63d79d1ffae1370be644d2
[ "MIT" ]
1
2019-12-31T13:53:05.000Z
2019-12-31T13:53:05.000Z
tests/web/backend_pytest.py
brumar/eel-for-transcrypt
28cf5e0aa55a3c885b63d79d1ffae1370be644d2
[ "MIT" ]
1
2021-11-15T17:48:03.000Z
2021-11-15T17:48:03.000Z
tests/web/backend_pytest.py
brumar/eel-for-transcrypt
28cf5e0aa55a3c885b63d79d1ffae1370be644d2
[ "MIT" ]
null
null
null
import eel_for_transcrypt as eel from web.common import InventoryItem @eel.expose def i_return_the_same(anything): return anything @eel.expose def a_generator(mn, mx): yield from range(mn, mx) @eel.expose @eel.apply_factories(inputfactory=InventoryItem) def return_a_dataclass(datac: InventoryItem): ...
16.888889
48
0.756579
62
456
5.419355
0.532258
0.107143
0.107143
0
0
0
0
0
0
0
0
0
0.162281
456
26
49
17.538462
0.879581
0
0
0.235294
0
0
0
0
0
0
0
0
0.058824
1
0.235294
false
0
0.117647
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c574d6290b0c40bcbc5696cd5ebb36152641b976
215
py
Python
func_one.py
FoxProklya/Step-Python
67514509655e552fc5adcc7963b971ef6f0bb46a
[ "MIT" ]
null
null
null
func_one.py
FoxProklya/Step-Python
67514509655e552fc5adcc7963b971ef6f0bb46a
[ "MIT" ]
null
null
null
func_one.py
FoxProklya/Step-Python
67514509655e552fc5adcc7963b971ef6f0bb46a
[ "MIT" ]
null
null
null
def f(x): if x <= -2: f = 1 - (x + 2)**2 return f if -2 < x <= 2: f = -(x/2) return f if 2 < x: f = (x - 2)**2 + 1 return f x = int(input()) print(f(x))
14.333333
26
0.316279
38
215
1.789474
0.263158
0.147059
0.088235
0.294118
0.352941
0.352941
0
0
0
0
0
0.1
0.488372
215
14
27
15.357143
0.518182
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
0.083333
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3d71bcc45f53747aca6197878307201d4f4b2564
506
py
Python
tags/models.py
yuyuyuhaoshi/Blog-BE
a485d5159076d619d4fd6019fe9b96ac04020d4d
[ "Apache-2.0" ]
null
null
null
tags/models.py
yuyuyuhaoshi/Blog-BE
a485d5159076d619d4fd6019fe9b96ac04020d4d
[ "Apache-2.0" ]
null
null
null
tags/models.py
yuyuyuhaoshi/Blog-BE
a485d5159076d619d4fd6019fe9b96ac04020d4d
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.utils.timezone import now from django.contrib.auth.models import User from utils.base_model import SoftDeletionModel class Tag(SoftDeletionModel): name = models.CharField('标题名', max_length=100, unique=True, blank=False, null=False) created_time = models.DateTimeField(...
26.631579
88
0.717391
65
506
5.415385
0.630769
0.085227
0
0
0
0
0
0
0
0
0
0.007335
0.1917
506
18
89
28.111111
0.853301
0
0
0
0
0
0.025692
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0.076923
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
0
0
0
1
0
1
0
0
2
3d7ca16d1d0cb0fd5ce512de12142e0f598017a2
572
py
Python
app/models/link.py
aries-zhang/flask-template
369d77f2910f653f46668dd9bda735954b6c145e
[ "MIT" ]
null
null
null
app/models/link.py
aries-zhang/flask-template
369d77f2910f653f46668dd9bda735954b6c145e
[ "MIT" ]
null
null
null
app/models/link.py
aries-zhang/flask-template
369d77f2910f653f46668dd9bda735954b6c145e
[ "MIT" ]
null
null
null
import time # NOQA from app import db class Link(db.Model): id = db.Column(db.Integer, primary_key=True) title = db.Column(db.String) url = db.Column(db.String) description = db.Column(db.String) type = db.Column(db.Integer) enabled = db.Column(db.Boolean) createtime = db.Column(db.DateTi...
27.238095
63
0.63986
76
572
4.75
0.355263
0.155125
0.193906
0.132964
0
0
0
0
0
0
0
0
0.246504
572
20
64
28.6
0.837587
0.006993
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.647059
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3d8734a866fbee3cba78ae6db665c5cbc41ba2ea
440
py
Python
assessment/seeders/base_seeder.py
kenware/Assessment
69f5e3fbf18dfa2c59eaf3b083ebdba7ca66c9b7
[ "MIT" ]
null
null
null
assessment/seeders/base_seeder.py
kenware/Assessment
69f5e3fbf18dfa2c59eaf3b083ebdba7ca66c9b7
[ "MIT" ]
3
2020-02-11T23:31:01.000Z
2021-06-10T21:04:34.000Z
assessment/seeders/base_seeder.py
kenware/Assessment
69f5e3fbf18dfa2c59eaf3b083ebdba7ca66c9b7
[ "MIT" ]
null
null
null
from .seed_assessment_type import seed_assessment from .seed_question import seed_question from .seed_answer import seed_answer from .seed_user import seed_user from .seed_score import seed_score from .seed_assessment_name import seed_assessment_name class Seeder(object): def seed_all(self): seed_assess...
24.444444
54
0.752273
59
440
5.220339
0.271186
0.155844
0.175325
0
0
0
0
0
0
0
0
0
0.193182
440
17
55
25.882353
0.867606
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3d89564a5d0fa853d134b34b86a84b5003e24ceb
328
py
Python
contek_tusk/metric_data.py
contek-io/contek-tusk
74dc73388367adb958848819b29fe24316c4f6f4
[ "MIT" ]
null
null
null
contek_tusk/metric_data.py
contek-io/contek-tusk
74dc73388367adb958848819b29fe24316c4f6f4
[ "MIT" ]
null
null
null
contek_tusk/metric_data.py
contek-io/contek-tusk
74dc73388367adb958848819b29fe24316c4f6f4
[ "MIT" ]
null
null
null
from pandas import DataFrame from contek_tusk.table import Table class MetricData: def __init__(self, table: Table, df: DataFrame) -> None: self._table = table self._df = df def get_table(self) -> Table: return self._table def get_data_frame(self) -> DataFrame: return s...
19.294118
60
0.655488
43
328
4.72093
0.418605
0.17734
0.137931
0
0
0
0
0
0
0
0
0
0.262195
328
16
61
20.5
0.838843
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3d92ede6e5d24bbbfeb9c757cc08cd7affa9cd34
268
py
Python
src/pyons/setup.py
larioandr/thesis-models
ecbc8c01aaeaa69034d6fe1d8577ab655968ea5f
[ "MIT" ]
1
2021-01-17T15:49:03.000Z
2021-01-17T15:49:03.000Z
src/pyons/setup.py
larioandr/thesis-models
ecbc8c01aaeaa69034d6fe1d8577ab655968ea5f
[ "MIT" ]
null
null
null
src/pyons/setup.py
larioandr/thesis-models
ecbc8c01aaeaa69034d6fe1d8577ab655968ea5f
[ "MIT" ]
1
2021-03-07T15:31:06.000Z
2021-03-07T15:31:06.000Z
from setuptools import setup setup( name='pyons', version='1.0', author="Andrey Larionov", author_email="larioandr@gmail.com", license="MIT", py_modules=['pyons'], install_requires=[ ], tests_requires=[ 'pytest', ], )
15.764706
39
0.589552
28
268
5.5
0.857143
0
0
0
0
0
0
0
0
0
0
0.01
0.253731
268
16
40
16.75
0.76
0
0
0.142857
0
0
0.208955
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3d95e63a148b7fb62965e71316967e479358de64
2,262
py
Python
html2markdown.py
DeusFigendi/fefebot
935338c7b082502f25f97ae4874b4e896a04972e
[ "MIT" ]
4
2016-09-19T03:54:31.000Z
2021-03-27T23:06:34.000Z
html2markdown.py
DeusFigendi/fefebot
935338c7b082502f25f97ae4874b4e896a04972e
[ "MIT" ]
1
2017-08-01T15:04:57.000Z
2017-08-08T22:02:46.000Z
html2markdown.py
DeusFigendi/fefebot
935338c7b082502f25f97ae4874b4e896a04972e
[ "MIT" ]
6
2015-08-24T09:37:41.000Z
2018-12-26T19:40:42.000Z
#! /usr/bin/env python3.2 import re def _subpre(text): list=re.split('(<pre>|</pre>)',text) for i in range(len(list)): # begin of pre if i%4==1: list[i]='\n\n ' # in pre elif i%4==2: list[i]=re.sub('<p>|<br>|\n\n', '\n\n ',list[i]) # end of pre elif i%4==3: list[i]=...
29
183
0.517683
380
2,262
3.018421
0.157895
0.200523
0.12816
0.183086
0.593723
0.593723
0.559721
0.559721
0.559721
0.484743
0
0.010096
0.167993
2,262
77
184
29.376623
0.599362
0.07206
0
0.516667
0
0
0.175598
0.03445
0
0
0
0
0
1
0.116667
false
0
0.016667
0.016667
0.25
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3db26a9a64ef3907fd6d3bfdd43c6b7c844f6a0f
303
py
Python
mood_sense/serializers.py
D-Denysenko/health-app
18d1e9c492fb00694e1987a6cdaa2197ff4efa11
[ "MIT" ]
null
null
null
mood_sense/serializers.py
D-Denysenko/health-app
18d1e9c492fb00694e1987a6cdaa2197ff4efa11
[ "MIT" ]
9
2021-03-19T08:05:00.000Z
2022-03-12T00:15:53.000Z
mood_sense/serializers.py
D-Denysenko/health-app
18d1e9c492fb00694e1987a6cdaa2197ff4efa11
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Mood class MoodSerializer(serializers.ModelSerializer): class Meta: model = Mood fields = ['profile', 'characteristic', 'latitude', 'longitude', 'image', 'location'] read_only_fields = ['latitude', 'longitude']
23.307692
92
0.686469
29
303
7.068966
0.724138
0.165854
0
0
0
0
0
0
0
0
0
0
0.19802
303
12
93
25.25
0.843621
0
0
0
0
0
0.225166
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3dbaf6caeb51e514bda230b2abe9f5f3e8537dce
974
py
Python
tests/test_address_book.py
kibernick/pycontacts
9ec7653cdea582b242a6d5f314b4d0c4bb92dd39
[ "MIT" ]
null
null
null
tests/test_address_book.py
kibernick/pycontacts
9ec7653cdea582b242a6d5f314b4d0c4bb92dd39
[ "MIT" ]
null
null
null
tests/test_address_book.py
kibernick/pycontacts
9ec7653cdea582b242a6d5f314b4d0c4bb92dd39
[ "MIT" ]
null
null
null
from pycontacts import AddressBook from pycontacts.models import Person from pycontacts.managers import ( EmailAddressManager, GroupManager, PhoneNumberManager, PersonManager, StreetAddressManager, ) def test_create_book(): book = AddressBook() assert book._store is not None assert isi...
29.515152
74
0.776181
110
974
6.663636
0.318182
0.174625
0.15689
0.184175
0.068213
0
0
0
0
0
0
0
0.157084
974
32
75
30.4375
0.892814
0
0
0.076923
0
0
0
0
0
0
0
0
0.423077
1
0.115385
false
0
0.115385
0
0.230769
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
1
0
0
0
0
0
0
0
0
0
2
3dc696f09fb0ebe8bc4f7011c19473f98ca4f506
335
py
Python
tango_with_django_project/rango/admin.py
DADDYKIKI/tango_with_django_project
da2bbb0b7fd2d587c9af4c7ac14068678b2c38cf
[ "MIT" ]
null
null
null
tango_with_django_project/rango/admin.py
DADDYKIKI/tango_with_django_project
da2bbb0b7fd2d587c9af4c7ac14068678b2c38cf
[ "MIT" ]
null
null
null
tango_with_django_project/rango/admin.py
DADDYKIKI/tango_with_django_project
da2bbb0b7fd2d587c9af4c7ac14068678b2c38cf
[ "MIT" ]
null
null
null
from django.contrib import admin from rango.models import Category, Page admin.site.register(Page) admin.site.register(Category) class CategoryAdmin(admin.ModelAdmin): prepopulated_fields = {'slug':('name',)} class PageAdmin(admin.ModelAdmin): list_display = ('title', 'cate...
22.333333
45
0.668657
36
335
6.166667
0.638889
0.081081
0.117117
0.189189
0
0
0
0
0
0
0
0
0.208955
335
14
46
23.928571
0.837736
0
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3dcde3d12d8ff748623472b864c1c6d69f5873ea
1,462
py
Python
plugins/playbook/deploy_cluster/decapod_plugin_playbook_deploy_cluster/monitor_secret.py
angry-tony/ceph-lcm-decapod
535944d3ee384c3a7c4af82f74041b0a7792433f
[ "Apache-2.0" ]
41
2016-11-03T16:40:17.000Z
2019-05-23T08:39:17.000Z
plugins/playbook/deploy_cluster/decapod_plugin_playbook_deploy_cluster/monitor_secret.py
Mirantis/ceph-lcm
fad9bad0b94f2ef608362953583b10a54a841d24
[ "Apache-2.0" ]
30
2016-10-14T10:54:46.000Z
2017-10-20T15:58:01.000Z
plugins/playbook/deploy_cluster/decapod_plugin_playbook_deploy_cluster/monitor_secret.py
angry-tony/ceph-lcm-decapod
535944d3ee384c3a7c4af82f74041b0a7792433f
[ "Apache-2.0" ]
28
2016-09-17T01:17:36.000Z
2019-07-05T03:32:54.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2016 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
25.649123
69
0.685363
203
1,462
4.91133
0.541872
0.060181
0.026078
0.032096
0
0
0
0
0
0
0
0.018166
0.209302
1,462
56
70
26.107143
0.844291
0.426813
0
0.148148
0
0
0.02934
0
0
0
0
0
0
1
0.185185
false
0
0.185185
0.111111
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
3de9f24b49937335e24db781a7e382e77643515c
568
py
Python
zip_files.py
VladimirsHisamutdinovs/Advanced_Python_Operations
509c219f70adcbe9b3dedd71bff819494bab9c83
[ "Apache-2.0" ]
null
null
null
zip_files.py
VladimirsHisamutdinovs/Advanced_Python_Operations
509c219f70adcbe9b3dedd71bff819494bab9c83
[ "Apache-2.0" ]
null
null
null
zip_files.py
VladimirsHisamutdinovs/Advanced_Python_Operations
509c219f70adcbe9b3dedd71bff819494bab9c83
[ "Apache-2.0" ]
null
null
null
import zipfile zip_file = zipfile.ZipFile("zip_archive.zip", "w") zip_file.write("textfile_for_zip_01") zip_file.write("textfile_for_zip_02") zip_file.write("textfile_for_zip_03") # print(zipfile.is_zipfile("zip_archive.zip")) # zip_file = zipfile.ZipFile("zip_archive.zip") # print(zip_file.namelist()) ...
24.695652
53
0.748239
88
568
4.409091
0.261364
0.216495
0.216495
0.154639
0.505155
0.505155
0.175258
0
0
0
0
0.023576
0.103873
568
23
54
24.695652
0.738703
0.466549
0
0
0
0
0.335766
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3deeb28e7a4a40609c5fe55751360abc1b88afba
1,603
py
Python
komposisjon/komposisjon/rektangler_kvadrater.py
knutsenfiksdal/Oving_8
4e5d3a358cfb9127509a86a61c9499f22da9eabc
[ "MIT" ]
null
null
null
komposisjon/komposisjon/rektangler_kvadrater.py
knutsenfiksdal/Oving_8
4e5d3a358cfb9127509a86a61c9499f22da9eabc
[ "MIT" ]
null
null
null
komposisjon/komposisjon/rektangler_kvadrater.py
knutsenfiksdal/Oving_8
4e5d3a358cfb9127509a86a61c9499f22da9eabc
[ "MIT" ]
null
null
null
class Rektangel: def __init__(self, start_x, start_y, bredde, hoyde): self.start_x = start_x self.start_y = start_y self.hoyde = hoyde self.bredde = bredde def areal(self): return self.bredde*self.hoyde # Endrer høyde og bredde på en slik måte at areal forblir det s...
26.278689
75
0.646288
201
1,603
4.965174
0.233831
0.112224
0.04008
0.04509
0.284569
0.178357
0.046092
0
0
0
0
0.009144
0.249532
1,603
60
76
26.716667
0.820449
0.068621
0
0.26087
0
0
0.065101
0
0
0
0
0
0
1
0.217391
false
0
0
0.108696
0.369565
0.173913
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3df076848f2032b90ec31c8b5ee8c64134fd5e5c
1,579
py
Python
lunch/admin.py
KrzysztofSakowski/lunch-crawler
6a93d6cfad634fb98f89bc22d68547801865c9ae
[ "Apache-2.0" ]
1
2020-02-17T13:40:08.000Z
2020-02-17T13:40:08.000Z
lunch/admin.py
KrzysztofSakowski/lunch-crawler
6a93d6cfad634fb98f89bc22d68547801865c9ae
[ "Apache-2.0" ]
4
2020-02-11T23:06:14.000Z
2021-06-10T18:07:30.000Z
lunch/admin.py
KrzysztofSakowski/lunch-crawler
6a93d6cfad634fb98f89bc22d68547801865c9ae
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import MenuFacebook, MenuEmail, UserProfile, Occupation, FacebookRestaurant, EmailRestaurant class MenuBaseAdmin(admin.ModelAdmin): list_display = ('id', 'format_date', 'is_lunch', 'message') list_filter = ('created_date', 'is_lunch') list_editable = ('is_lun...
29.240741
105
0.723243
177
1,579
6.322034
0.389831
0.048257
0.091153
0.069705
0.075067
0
0
0
0
0
0
0
0.155161
1,579
53
106
29.792453
0.838831
0
0
0
0
0
0.098797
0
0
0
0
0
0
1
0.147059
false
0
0.058824
0.117647
0.794118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
3df45b763adea0ed603bc91664b6febfe07b4afe
1,920
py
Python
src/yafowil/tests/__init__.py
2silver/yafowil
b9776503f98f145f7aaaa4f61b73e238c92c534c
[ "BSD-3-Clause" ]
8
2015-12-15T21:14:00.000Z
2019-11-11T22:13:18.000Z
src/yafowil/tests/__init__.py
2silver/yafowil
b9776503f98f145f7aaaa4f61b73e238c92c534c
[ "BSD-3-Clause" ]
21
2015-11-21T10:12:12.000Z
2021-06-03T06:51:53.000Z
src/yafowil/tests/__init__.py
2silver/yafowil
b9776503f98f145f7aaaa4f61b73e238c92c534c
[ "BSD-3-Clause" ]
5
2016-11-23T13:41:52.000Z
2020-06-08T18:21:00.000Z
from __future__ import print_function from node.tests import NodeTestCase from yafowil.base import factory from yafowil.compat import IS_PY2 import lxml.etree as etree import sys import unittest import yafowil.common import yafowil.compound import yafowil.persistence import yafowil.table if not IS_PY2: from impor...
25.945946
64
0.752083
240
1,920
5.854167
0.275
0.086121
0.102491
0.140925
0.403559
0
0
0
0
0
0
0.00187
0.164583
1,920
73
65
26.30137
0.874065
0
0
0
0
0
0.006771
0
0
0
0
0
0
1
0.092593
false
0
0.407407
0
0.555556
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9a7cfcbc63f3c97c82737bfbbfa13e26624618e7
214
py
Python
src/librhc/cost/__init__.py
arnavthareja/mushr_pixelart_mpc
db6ee6cae9b4cb1d3b213fed06690074372c824b
[ "BSD-3-Clause" ]
5
2019-08-30T08:20:27.000Z
2021-08-01T17:16:16.000Z
src/librhc/cost/__init__.py
arnavthareja/mushr_pixelart_mpc
db6ee6cae9b4cb1d3b213fed06690074372c824b
[ "BSD-3-Clause" ]
1
2020-09-09T13:38:08.000Z
2020-12-15T12:20:26.000Z
src/librhc/cost/__init__.py
arnavthareja/mushr_pixelart_mpc
db6ee6cae9b4cb1d3b213fed06690074372c824b
[ "BSD-3-Clause" ]
4
2019-09-14T21:26:09.000Z
2021-08-27T23:01:41.000Z
# Copyright (c) 2019, The Personal Robotics Lab, The MuSHR Team, The Contributors of MuSHR # License: BSD 3-Clause. See LICENSE.md file in root directory. from .waypoints import Waypoints __all__ = ["Waypoints"]
30.571429
90
0.757009
31
214
5.096774
0.806452
0
0
0
0
0
0
0
0
0
0
0.027778
0.158879
214
6
91
35.666667
0.85
0.700935
0
0
0
0
0.147541
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
9a9f85fc451de9881426ccefc8e13f03669bb8d6
491
py
Python
cosmogrb/utils/fits_file.py
wematthias/cosmogrb
09852eb4e6e7315bbede507e19a2d57f1b927c3f
[ "BSD-2-Clause" ]
3
2020-03-08T18:20:32.000Z
2022-03-10T17:27:26.000Z
cosmogrb/utils/fits_file.py
wematthias/cosmogrb
09852eb4e6e7315bbede507e19a2d57f1b927c3f
[ "BSD-2-Clause" ]
11
2020-03-04T17:21:15.000Z
2020-06-09T12:20:00.000Z
cosmogrb/utils/fits_file.py
wematthias/cosmogrb
09852eb4e6e7315bbede507e19a2d57f1b927c3f
[ "BSD-2-Clause" ]
5
2020-03-18T18:05:05.000Z
2022-03-21T16:06:38.000Z
from responsum.utils.fits_file import FITSFile, FITSExtension as FE import pkg_resources class FITSExtension(FE): # I use __new__ instead of __init__ because I need to use the classmethod .from_columns instead of the # constructor of fits.BinTableHDU def __init__(self, data_tuple, header_tuple): ...
32.733333
106
0.757637
65
491
5.338462
0.615385
0.069164
0.086455
0.115274
0.15562
0
0
0
0
0
0
0
0.164969
491
14
107
35.071429
0.846341
0.268839
0
0
0
0
0.058989
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9aa920f4f30751f1feef1f340c733399005558c4
1,235
py
Python
venv/lib/python3.9/site-packages/py2app/recipes/PIL/prescript.py
dequeb/asmbattle
27e8b209de5787836e288a2f2f9b7644ce07563e
[ "MIT" ]
193
2020-01-15T09:34:20.000Z
2022-03-18T19:14:16.000Z
venv/lib/python3.9/site-packages/py2app/recipes/PIL/prescript.py
dequeb/asmbattle
27e8b209de5787836e288a2f2f9b7644ce07563e
[ "MIT" ]
185
2020-01-15T08:38:27.000Z
2022-03-27T17:29:29.000Z
venv/lib/python3.9/site-packages/py2app/recipes/PIL/prescript.py
dequeb/asmbattle
27e8b209de5787836e288a2f2f9b7644ce07563e
[ "MIT" ]
23
2020-01-24T14:47:18.000Z
2022-02-22T17:19:47.000Z
def _recipes_pil_prescript(plugins): try: import Image have_PIL = False except ImportError: from PIL import Image have_PIL = True import sys def init(): if Image._initialized >= 2: return if have_PIL: try: impor...
26.276596
80
0.460729
110
1,235
5.018182
0.427273
0.050725
0.054348
0.065217
0
0
0
0
0
0
0
0.004608
0.472874
1,235
46
81
26.847826
0.843318
0.072065
0
0.352941
0
0
0.033246
0
0
0
0
0
0
1
0.058824
false
0.058824
0.323529
0
0.441176
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
9acbf669f84ad525253b32c114c4e395b93adc19
3,488
py
Python
open-hackathon-tempUI/src/hackathon/config-sample.py
SpAiNiOr/LABOSS
32ad341821e9f30fecfa338b5669f574d32dd0fa
[ "Apache-2.0" ]
null
null
null
open-hackathon-tempUI/src/hackathon/config-sample.py
SpAiNiOr/LABOSS
32ad341821e9f30fecfa338b5669f574d32dd0fa
[ "Apache-2.0" ]
null
null
null
open-hackathon-tempUI/src/hackathon/config-sample.py
SpAiNiOr/LABOSS
32ad341821e9f30fecfa338b5669f574d32dd0fa
[ "Apache-2.0" ]
null
null
null
# "javascript" section for javascript. see @app.route('/config.js') in app/views.py # oauth constants HOSTNAME = "http://hackathon.chinacloudapp.cn" # host name of the UI site QQ_OAUTH_STATE = "openhackathon" # todo state should be constant. Actually it should be unguessable to prevent CSFA HACkATHON_API_ENDPOINT = ...
48.444444
294
0.648222
346
3,488
6.300578
0.315029
0.055505
0.038532
0.044037
0.261468
0.078899
0.048624
0
0
0
0
0.114754
0.213016
3,488
71
295
49.126761
0.679417
0.0582
0
0.1875
0
0.078125
0.64144
0.137321
0
0
0
0.014085
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
9ad97cd25d6ffe7ca83c1fced680d4dc39e56290
1,642
py
Python
api/serializers.py
mariomtzjr/podemos_test
5efaf02a19aa8c4849e3ad0108546e95af524126
[ "MIT" ]
null
null
null
api/serializers.py
mariomtzjr/podemos_test
5efaf02a19aa8c4849e3ad0108546e95af524126
[ "MIT" ]
null
null
null
api/serializers.py
mariomtzjr/podemos_test
5efaf02a19aa8c4849e3ad0108546e95af524126
[ "MIT" ]
null
null
null
from rest_framework import serializers from apps.calendarioPago.models import CalendarioPago from apps.cliente.models import Cliente from apps.cuenta.models import Cuenta from apps.grupo.models import Grupo from apps.miembro.models import Miembro from apps.transaccion.models import Transaccion # Serializers define t...
26.483871
84
0.694275
163
1,642
6.932515
0.269939
0.184071
0.099115
0.185841
0.293805
0.058407
0.058407
0
0
0
0
0
0.200974
1,642
61
85
26.918033
0.86128
0.025579
0
0.341463
0
0
0.098874
0
0
0
0
0
0
1
0
false
0
0.170732
0
0.609756
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
9ae66ae64bed27a4c419e21d360710c58e9c3114
1,589
py
Python
turbinia/workers/fsstat.py
dfjxs/turbinia
23a97d9d826cbcc51e6b5dfd50d85251506bf242
[ "Apache-2.0" ]
1
2021-05-31T19:44:50.000Z
2021-05-31T19:44:50.000Z
turbinia/workers/fsstat.py
dfjxs/turbinia
23a97d9d826cbcc51e6b5dfd50d85251506bf242
[ "Apache-2.0" ]
null
null
null
turbinia/workers/fsstat.py
dfjxs/turbinia
23a97d9d826cbcc51e6b5dfd50d85251506bf242
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2021 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
33.104167
79
0.733166
213
1,589
5.394366
0.568075
0.052219
0.022628
0.02785
0
0
0
0
0
0
0
0.007686
0.181246
1,589
48
80
33.104167
0.87548
0.514789
0
0
0
0
0.062241
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9aedf1a23d553278d5b929adc837502da68eda10
356
py
Python
mayan/apps/mimetype/apps.py
eshbeata/open-paperless
6b9ed1f21908116ad2795b3785b2dbd66713d66e
[ "Apache-2.0" ]
2,743
2017-12-18T07:12:30.000Z
2022-03-27T17:21:25.000Z
mayan/apps/mimetype/apps.py
eshbeata/open-paperless
6b9ed1f21908116ad2795b3785b2dbd66713d66e
[ "Apache-2.0" ]
15
2017-12-18T14:58:07.000Z
2021-03-01T20:05:05.000Z
mayan/apps/mimetype/apps.py
eshbeata/open-paperless
6b9ed1f21908116ad2795b3785b2dbd66713d66e
[ "Apache-2.0" ]
257
2017-12-18T03:12:58.000Z
2022-03-25T08:59:10.000Z
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from common import MayanAppConfig from .licenses import * # NOQA class MIMETypesApp(MayanAppConfig): name = 'mimetype' verbose_name = _('MIME types') def ready(self, *args, **kwargs): super(MIMETyp...
22.25
56
0.727528
41
356
6.097561
0.682927
0.08
0
0
0
0
0
0
0
0
0
0
0.176966
356
15
57
23.733333
0.853242
0.011236
0
0
0
0
0.051429
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9aefb8bc9120b71f8727047442cac13c02b21950
388
py
Python
test/level.py
Matt-London/command-line-tutorial
5b6afeedb4075de114e8c91756ecf3a03645fde7
[ "MIT" ]
1
2020-07-11T06:29:25.000Z
2020-07-11T06:29:25.000Z
test/level.py
Matt-London/Command-Line-Tutorial
5b6afeedb4075de114e8c91756ecf3a03645fde7
[ "MIT" ]
15
2020-07-10T20:01:51.000Z
2020-08-10T05:23:47.000Z
test/level.py
Matt-London/command-line-tutorial
5b6afeedb4075de114e8c91756ecf3a03645fde7
[ "MIT" ]
null
null
null
from packages.levels.Level import Level import packages.levels.levels as Levels import packages.resources.functions as function import packages.resources.variables as var from packages.filesystem.Directory import Directory from packages.filesystem.File import File var.bash_history = ("Check") test = Level("Instruct",...
27.714286
51
0.796392
52
388
5.923077
0.403846
0.116883
0.149351
0
0
0
0
0
0
0
0
0
0.095361
388
14
52
27.714286
0.877493
0
0
0
0
0
0.056555
0
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9af36b234d70f262e1618ab3933e4d7b9aedd9f4
2,760
py
Python
scraper/models.py
mrcnc/assessor-scraper
b502ebb157048d20294ca44ab0d30e3a44d86c08
[ "MIT" ]
null
null
null
scraper/models.py
mrcnc/assessor-scraper
b502ebb157048d20294ca44ab0d30e3a44d86c08
[ "MIT" ]
null
null
null
scraper/models.py
mrcnc/assessor-scraper
b502ebb157048d20294ca44ab0d30e3a44d86c08
[ "MIT" ]
1
2019-02-14T04:01:40.000Z
2019-02-14T04:01:40.000Z
# -*- coding: utf-8 -*- import os import logging from sqlalchemy import create_engine, Column, Integer, String, ForeignKey from sqlalchemy.engine.url import URL from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from scraper import settings Base = declarative_base() def...
29.677419
73
0.721014
317
2,760
6.041009
0.334385
0.256919
0.062141
0.034465
0.148825
0.096606
0.096606
0.077285
0.077285
0.077285
0
0.000445
0.186232
2,760
92
74
30
0.852182
0.020652
0
0.069444
0
0
0.061407
0
0
0
0
0
0
1
0.027778
false
0
0.097222
0
0.888889
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
9afbc58c35485195590c0111ab875fa7190d1ec1
621
py
Python
kesko_webapp/models.py
kounelisagis/kesko-food-waste-hackathon
6b66806aeaf4fc72ea96e47f152cd4bbd8b5a43d
[ "MIT" ]
1
2019-12-29T16:16:54.000Z
2019-12-29T16:16:54.000Z
kesko_webapp/models.py
kounelisagis/kesko-food-waste-hackathon
6b66806aeaf4fc72ea96e47f152cd4bbd8b5a43d
[ "MIT" ]
14
2019-11-16T18:27:51.000Z
2022-02-26T20:17:01.000Z
kesko_webapp/models.py
kounelisagis/kesko-food-waste-hackathon
6b66806aeaf4fc72ea96e47f152cd4bbd8b5a43d
[ "MIT" ]
8
2019-11-15T20:27:32.000Z
2020-08-26T16:21:48.000Z
from django.conf import settings from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): pass class Article(models.Model): """ Models available articles """ name = models.CharField(max_length=200) serial_id = models.CharField(max_length=200)...
23.884615
80
0.727858
73
621
6.09589
0.479452
0.067416
0.076404
0.107865
0.121348
0
0
0
0
0
0
0.011673
0.172303
621
25
81
24.84
0.854086
0.078905
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.076923
0.230769
0
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
b103796b9eb62b2e02e96ca3c1828f5ebc3886b8
3,137
py
Python
example/06-modules/modules.py
iten-engineering/python
97a79973c7727cd881974462db99a99d612b55f9
[ "MIT" ]
null
null
null
example/06-modules/modules.py
iten-engineering/python
97a79973c7727cd881974462db99a99d612b55f9
[ "MIT" ]
null
null
null
example/06-modules/modules.py
iten-engineering/python
97a79973c7727cd881974462db99a99d612b55f9
[ "MIT" ]
null
null
null
# ============================================================================= # Python examples - modules # ============================================================================= # ----------------------------------------------------------------------------- # Module # ----------------------------------------...
34.855556
115
0.476889
302
3,137
4.864238
0.5
0.01838
0.014976
0.029952
0
0
0
0
0
0
0
0.002956
0.137392
3,137
89
116
35.247191
0.539911
0.907555
0
0
0
0
0.143498
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.714286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
b10a7ba9df13f93730fafc42256936a0555a720d
7,034
py
Python
autoelective/util.py
apomeloYM/PKUAutoElective
21b4ab000919f68080e7a942ddff4ca070cf41e7
[ "MIT" ]
null
null
null
autoelective/util.py
apomeloYM/PKUAutoElective
21b4ab000919f68080e7a942ddff4ca070cf41e7
[ "MIT" ]
null
null
null
autoelective/util.py
apomeloYM/PKUAutoElective
21b4ab000919f68080e7a942ddff4ca070cf41e7
[ "MIT" ]
2
2020-02-07T04:02:14.000Z
2020-02-16T23:34:16.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # filename: util.py import os import csv from copy import deepcopy import hashlib from functools import wraps from collections import OrderedDict from ._compat import json, JSONDecodeError from .exceptions import NoInstanceError, ImmutableTypeError, ReadonlyPropertyError ...
27.802372
111
0.633068
819
7,034
4.929182
0.263736
0.032202
0.037156
0.03567
0.208571
0.150855
0.128561
0.114689
0.081001
0.081001
0
0.008985
0.240546
7,034
252
112
27.912698
0.746724
0.186807
0
0.209459
0
0
0.05153
0
0
0
0
0
0
1
0.263514
false
0
0.054054
0.047297
0.554054
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b112b2802063ecfa7ce3db6c16ab4326c7eda2fb
1,746
py
Python
nsm.py
svepe/neural-stack
c48e6b94f00e77cedd9d692bdc2a6715bb007db5
[ "MIT" ]
null
null
null
nsm.py
svepe/neural-stack
c48e6b94f00e77cedd9d692bdc2a6715bb007db5
[ "MIT" ]
1
2017-07-26T07:18:42.000Z
2017-07-26T07:18:42.000Z
nsm.py
svepe/neural-stack
c48e6b94f00e77cedd9d692bdc2a6715bb007db5
[ "MIT" ]
null
null
null
import numpy as np import chainer.functions as F from chainer import Variable def neural_stack(V, s, d, u, v): # strengths s_new = d for t in reversed(xrange(s.shape[1])): x = s[:, t].reshape(-1, 1) - u s_new = F.concat((s_new, F.maximum(Variable(np.zeros_like(x.data)), x))) u = F....
29.59322
80
0.613402
326
1,746
3.150307
0.168712
0.185005
0.177215
0.222006
0.694255
0.665044
0.550146
0.534567
0.454722
0.358325
0
0.026912
0.191294
1,746
58
81
30.103448
0.700425
0.013173
0
0.190476
0
0
0
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
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
1
0
0
0
0
0
0
0
0
2
b11a302f53a38192c5dd68e4767ae96d3e146ef3
301
py
Python
run.py
Prakash2403/ultron
7d1067eb98ef52f6a88299534ea204e7ae45d7a7
[ "MIT" ]
13
2017-08-15T15:50:13.000Z
2019-06-03T10:24:50.000Z
run.py
Prakash2403/ultron
7d1067eb98ef52f6a88299534ea204e7ae45d7a7
[ "MIT" ]
3
2017-08-29T16:35:04.000Z
2021-06-01T23:49:16.000Z
run.py
Prakash2403/ultron
7d1067eb98ef52f6a88299534ea204e7ae45d7a7
[ "MIT" ]
4
2017-08-16T09:33:59.000Z
2019-06-05T07:25:30.000Z
#! /usr/bin/python3 from default_settings import default_settings from ultron_cli import UltronCLI if __name__ == '__main__': default_settings() try: UltronCLI().cmdloop() except KeyboardInterrupt: print("\nInterrupted by user.") print("Goodbye") exit(0)
23.153846
45
0.664452
32
301
5.875
0.75
0.239362
0
0
0
0
0
0
0
0
0
0.008658
0.232558
301
12
46
25.083333
0.805195
0.063123
0
0
0
0
0.131673
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b11f6265d46fdca364a4dd3bf4dcf5a12d2f410f
2,871
py
Python
praetorian_ssh_proxy/hanlers/menu_handler.py
Praetorian-Defence/praetorian-ssh-proxy
068141bf0cee9fcf10434fab2dc5c16cfdd35f5a
[ "MIT" ]
null
null
null
praetorian_ssh_proxy/hanlers/menu_handler.py
Praetorian-Defence/praetorian-ssh-proxy
068141bf0cee9fcf10434fab2dc5c16cfdd35f5a
[ "MIT" ]
null
null
null
praetorian_ssh_proxy/hanlers/menu_handler.py
Praetorian-Defence/praetorian-ssh-proxy
068141bf0cee9fcf10434fab2dc5c16cfdd35f5a
[ "MIT" ]
null
null
null
import sys class MenuHandler(object): def __init__(self, client, client_channel, remote_checker): self._client = client self._client_channel = client_channel self._buffer = '' self._remote_checker = remote_checker @staticmethod def create_from_channel(client, client_channe...
45.571429
122
0.492163
293
2,871
4.542662
0.249147
0.157776
0.21713
0.236664
0.534936
0.381668
0.362885
0.290008
0.257701
0.223892
0
0.011381
0.326715
2,871
62
123
46.306452
0.677186
0.010101
0
0.291667
0
0
0.174419
0.088443
0
0
0
0
0
1
0.0625
false
0
0.020833
0.020833
0.145833
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b123989fc301ccc896657660002120b9f5336e64
6,451
py
Python
xenavalkyrie/xena_object.py
xenadevel/PyXenaValkyrie
9bb1d0b058c45dc94a778fd674a679b53f03a34c
[ "Apache-2.0" ]
4
2018-07-13T08:09:38.000Z
2022-02-09T01:36:13.000Z
xenavalkyrie/xena_object.py
xenadevel/PyXenaValkyrie
9bb1d0b058c45dc94a778fd674a679b53f03a34c
[ "Apache-2.0" ]
1
2019-07-31T04:56:43.000Z
2019-08-01T07:11:21.000Z
xenavalkyrie/xena_object.py
xenadevel/PyXenaValkyrie
9bb1d0b058c45dc94a778fd674a679b53f03a34c
[ "Apache-2.0" ]
3
2019-05-30T23:47:02.000Z
2022-02-04T12:32:14.000Z
""" Base classes and utilities for all Xena Manager (Xena) objects. :author: yoram@ignissoft.com """ import time import re import logging from collections import OrderedDict from trafficgenerator.tgn_utils import TgnError from trafficgenerator.tgn_object import TgnObject, TgnObjectsDict logger = logging.getLogger(_...
32.746193
115
0.611843
737
6,451
5.189959
0.225237
0.03451
0.04183
0.037647
0.345882
0.30902
0.277647
0.156863
0.135425
0.058039
0
0.002942
0.262285
6,451
196
116
32.913265
0.800798
0.181987
0
0.245098
0
0
0.085222
0.004411
0
0
0
0
0
1
0.235294
false
0.009804
0.058824
0.068627
0.539216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b12c849d2ef4e720802c1f093c8c0678dd35a0b0
1,061
py
Python
app/models/news_article_test.py
engineer237/News-application
66d7e8d70c5c023292dea4f5b87bd11ab5fb102e
[ "MIT" ]
null
null
null
app/models/news_article_test.py
engineer237/News-application
66d7e8d70c5c023292dea4f5b87bd11ab5fb102e
[ "MIT" ]
null
null
null
app/models/news_article_test.py
engineer237/News-application
66d7e8d70c5c023292dea4f5b87bd11ab5fb102e
[ "MIT" ]
null
null
null
import unittest # module for testing from models import news_article class TestNewsArticles(unittest.TestCase): ''' TestNewsArticles for testing class news_articles ''' def setUp(self): ''' Set up method to run before each test cases. ''' # id, title ,poster, url_link, d...
48.227273
227
0.697455
149
1,061
4.885906
0.765101
0.04533
0.049451
0
0
0
0
0
0
0
0
0.043373
0.217719
1,061
22
228
48.227273
0.83012
0.168709
0
0
0
0.230769
0.638197
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b12e9ab06bf81720fa6f6bbe4f8fd67e00e19bb0
977
py
Python
tests/test_utility.py
ericbdaniels/pygeostat
94d9cba9265945268f08302f86ce5ba1848fd601
[ "MIT" ]
null
null
null
tests/test_utility.py
ericbdaniels/pygeostat
94d9cba9265945268f08302f86ce5ba1848fd601
[ "MIT" ]
null
null
null
tests/test_utility.py
ericbdaniels/pygeostat
94d9cba9265945268f08302f86ce5ba1848fd601
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function __author__ = 'pygeostat development team' __date__ = '2020-01-04' __version__ = '1.0.0' import os, sys try: import pygeostat as gs except ImportError: sys.path.append(os.path.abspath(os.path.join(os....
22.204545
86
0.684749
125
977
5.024
0.624
0.028662
0.05414
0.06051
0
0
0
0
0
0
0
0.015345
0.199591
977
44
87
22.204545
0.787724
0.184237
0
0.095238
0
0
0.097625
0
0
0
0
0
0.047619
1
0.095238
false
0
0.380952
0
0.52381
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b14a3e4e999395aab5aac5de3e1df984c03e66f4
690
py
Python
casepro/translation.py
praekelt/helpdesk
69a7242679c30d2f7cb30a433809e738b9756a3c
[ "BSD-3-Clause" ]
5
2015-07-21T15:58:31.000Z
2019-09-14T22:34:00.000Z
casepro/translation.py
praekelt/helpdesk
69a7242679c30d2f7cb30a433809e738b9756a3c
[ "BSD-3-Clause" ]
197
2015-03-24T15:26:04.000Z
2017-11-28T19:24:37.000Z
casepro/translation.py
praekelt/helpdesk
69a7242679c30d2f7cb30a433809e738b9756a3c
[ "BSD-3-Clause" ]
10
2015-03-24T12:26:36.000Z
2017-02-21T13:08:57.000Z
from __future__ import unicode_literals from django.utils.translation import ugettext as _ from django.utils.translation import get_language as _get_language from modeltranslation.translator import translator, TranslationOptions from modeltranslation import utils from nsms.text.models import Text class TextTranslati...
27.6
70
0.815942
85
690
6.435294
0.517647
0.140768
0.054845
0.095064
0.117002
0
0
0
0
0
0
0
0.131884
690
24
71
28.75
0.913189
0.172464
0
0
0
0
0.066901
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b14c88c3a21671daaf4ca901cbbd386b9d8bf26a
703
py
Python
pytools/mpiwrap.py
nchristensen/pytools
82da2e0aad6863763f1950318bcb933662020135
[ "MIT" ]
52
2015-06-23T10:30:24.000Z
2021-07-28T20:50:31.000Z
pytools/mpiwrap.py
nchristensen/pytools
82da2e0aad6863763f1950318bcb933662020135
[ "MIT" ]
72
2015-10-22T18:57:08.000Z
2022-03-01T00:04:45.000Z
pytools/mpiwrap.py
nchristensen/pytools
82da2e0aad6863763f1950318bcb933662020135
[ "MIT" ]
27
2015-09-14T07:24:04.000Z
2021-12-17T14:31:33.000Z
"""See pytools.prefork for this module's reason for being.""" import mpi4py.rc # pylint:disable=import-error mpi4py.rc.initialize = False from mpi4py.MPI import * # noqa pylint:disable=wildcard-import,wrong-import-position import pytools.prefork # pylint:disable=wrong-import-position pytools.prefork.enable_prefor...
33.47619
85
0.762447
88
703
6.068182
0.5
0.146067
0.127341
0.146067
0.191011
0
0
0
0
0
0
0.004926
0.133713
703
20
86
35.15
0.871921
0.428165
0
0
0
0
0.125641
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b14d75f54839eba4678025c29ab6853f284addcb
1,571
py
Python
make/requirements.py
Fizzadar/Kanmail
3915b1056949b50410478d1519b9276d64ef4f5d
[ "OpenSSL" ]
12
2019-02-10T21:18:53.000Z
2020-02-17T07:40:48.000Z
make/requirements.py
Fizzadar/Kanmail
3915b1056949b50410478d1519b9276d64ef4f5d
[ "OpenSSL" ]
71
2017-11-17T07:13:02.000Z
2020-04-03T15:25:43.000Z
make/requirements.py
Fizzadar/Kanmail
3915b1056949b50410478d1519b9276d64ef4f5d
[ "OpenSSL" ]
1
2020-02-15T03:16:13.000Z
2020-02-15T03:16:13.000Z
from distutils.spawn import find_executable from os import path import click from .settings import ( BASE_DEVELOPMENT_REQUIREMENTS_FILENAME, BASE_REQUIREMENTS_FILENAME, DEVELOPMENT_REQUIREMENTS_FILENAME, REQUIREMENTS_FILENAME, ) from .util import print_and_run def _ensure_pip_tools_installed(): ...
21.819444
93
0.695099
179
1,571
5.75419
0.301676
0.23301
0.180583
0.08932
0.284466
0.130097
0.130097
0.130097
0.130097
0.130097
0
0
0.189052
1,571
71
94
22.126761
0.808477
0
0
0.28
0
0
0.237428
0.118396
0
0
0
0
0
1
0.1
false
0.02
0.1
0
0.2
0.1
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b14f875123a59ce6fa0837c5ecb49e829cede9cf
1,135
py
Python
integration/python/src/helper/hosts.py
ArpitShukla007/planetmint
4b1e215e0059e26c0cee6778c638306021b47bdd
[ "Apache-2.0" ]
3
2022-01-19T13:39:52.000Z
2022-01-28T05:57:08.000Z
integration/python/src/helper/hosts.py
ArpitShukla007/planetmint
4b1e215e0059e26c0cee6778c638306021b47bdd
[ "Apache-2.0" ]
67
2022-01-13T22:42:17.000Z
2022-03-31T14:18:26.000Z
integration/python/src/helper/hosts.py
ArpitShukla007/planetmint
4b1e215e0059e26c0cee6778c638306021b47bdd
[ "Apache-2.0" ]
7
2022-01-13T16:20:54.000Z
2022-02-07T11:42:05.000Z
# Copyright © 2020 Interplanetary Database Association e.V., # Planetmint and IPDB software contributors. # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 from typing import List from planetmint_driver import Planetmint class Hosts: hostnames = [] connections...
30.675676
102
0.667841
148
1,135
5.006757
0.439189
0.026991
0.021592
0.02969
0
0
0
0
0
0
0
0.015891
0.223789
1,135
36
103
31.527778
0.824064
0.171806
0
0
0
0
0.027807
0
0
0
0
0
0.090909
1
0.272727
false
0
0.090909
0.090909
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b15405b5c4a9b35dd5bdc84b62d31229a91e7265
17,228
py
Python
example_snippets.py
kimberscott/ffmpeg-stimuli-generation
54bce134a3236d9e7d2fefe4538378d76f2db798
[ "MIT" ]
null
null
null
example_snippets.py
kimberscott/ffmpeg-stimuli-generation
54bce134a3236d9e7d2fefe4538378d76f2db798
[ "MIT" ]
null
null
null
example_snippets.py
kimberscott/ffmpeg-stimuli-generation
54bce134a3236d9e7d2fefe4538378d76f2db798
[ "MIT" ]
1
2020-08-14T17:15:29.000Z
2020-08-14T17:15:29.000Z
""" Examples of using the functions in videotools.py to generate videos. This file will not run as-is - it is just intended to provide reference commands you might copy and edit. """ import os from videotools import * this_path = os.path.dirname(os.path.abspath(__file__)) input_path = os.path.join(this_path, "example...
40.252336
187
0.390585
1,351
17,228
4.911917
0.250925
0.034358
0.042194
0.048975
0.336347
0.287221
0.210368
0.190024
0.172845
0.142104
0
0.022442
0.500813
17,228
428
188
40.252336
0.749186
0.06977
0
0.401084
1
0.00813
0.076811
0.013132
0
0
0
0.002336
0
1
0.00813
false
0
0.00542
0
0.01626
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b155f55e9f976d163537ef6daaa4dfc7e72b3594
2,004
py
Python
logbook/auth.py
nicola-zanardi/personal-logbook
d44989825ec82437ffd50572c23ef7c2ddf00e30
[ "Unlicense" ]
null
null
null
logbook/auth.py
nicola-zanardi/personal-logbook
d44989825ec82437ffd50572c23ef7c2ddf00e30
[ "Unlicense" ]
7
2019-08-28T18:22:40.000Z
2020-01-15T09:10:13.000Z
logbook/auth.py
nicola-zen/personal-logbook
d44989825ec82437ffd50572c23ef7c2ddf00e30
[ "Unlicense" ]
null
null
null
from flask import Blueprint, flash, redirect, render_template, request, url_for from werkzeug.security import check_password_hash, generate_password_hash from flask_login import login_required, login_user, logout_user from logbook.models import User, db from peewee import fn auth = Blueprint("auth", __name__) ...
30.363636
94
0.686627
264
2,004
5.060606
0.310606
0.026946
0.052395
0.07485
0.284431
0.221557
0.127246
0.127246
0.065868
0.065868
0
0.001861
0.195609
2,004
65
95
30.830769
0.826923
0.101297
0
0.139535
1
0
0.152425
0.027714
0
0
0
0
0
1
0.116279
false
0.116279
0.116279
0.046512
0.395349
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b15a35bd4f1abd5ba27c131e3166d2cc71012e7c
748
py
Python
Medium/valid-ip-addresses.py
SaumyaRai2010/algoexpert-data-structures-algorithms
bcafd8d7798661bf86c2d6234221d764c68fc19f
[ "MIT" ]
152
2021-07-15T02:56:17.000Z
2022-03-31T08:59:52.000Z
Medium/valid-ip-addresses.py
deepakgarg08/algoexpert-data-structures-algorithms
2264802bce971e842c616b1eaf9238639d73915f
[ "MIT" ]
2
2021-07-18T22:01:28.000Z
2022-02-17T03:55:04.000Z
Medium/valid-ip-addresses.py
deepakgarg08/algoexpert-data-structures-algorithms
2264802bce971e842c616b1eaf9238639d73915f
[ "MIT" ]
74
2021-07-16T11:55:30.000Z
2022-03-31T14:48:06.000Z
# VALID IP ADDRESSES # O(1) time and space def validIPAddresses(string): # Write your code here. validIPAddresses = [] if len(string) < 4: return [] for i in range(3): if not isValidPart(string[:i+1]): continue for j in range(i+1, i+4): if not isValidPart(string[i+1:j+1]): continue for k ...
24.933333
95
0.620321
121
748
3.834711
0.305785
0.18319
0.172414
0.142241
0.211207
0.103448
0
0
0
0
0
0.047619
0.213904
748
30
96
24.933333
0.741497
0.080214
0
0.136364
0
0
0.005848
0
0
0
0
0.033333
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
b1667d176dd7399e7e7f6c6217ae79f8d38f3cee
638
py
Python
passive_capture/reporter/admin.py
Sillson/passive_capture_py
167d08865400571c9eed60c0040cf67d27fa11b4
[ "MIT" ]
null
null
null
passive_capture/reporter/admin.py
Sillson/passive_capture_py
167d08865400571c9eed60c0040cf67d27fa11b4
[ "MIT" ]
null
null
null
passive_capture/reporter/admin.py
Sillson/passive_capture_py
167d08865400571c9eed60c0040cf67d27fa11b4
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.gis import admin as geo_model_admin from leaflet.admin import LeafletGeoAdmin from .models import Forecasts, Dam, Species # Forecast Model class ForecastsAdmin(admin.ModelAdmin): list_display = ('dam', 'species', 'forecast_range') admin.site.register(Forecasts, F...
26.583333
55
0.782132
77
638
6.38961
0.428571
0.067073
0.103659
0.105691
0
0
0
0
0
0
0
0
0.112853
638
23
56
27.73913
0.869258
0.10815
0
0
0
0
0.102837
0
0
0
0
0
0
1
0
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
0
0
0
1
0
1
0
0
2
b16a393bb50e48e50f448e75e1aa34a864d369d1
226
py
Python
5_Pham_Ngo_Tien_Dung/3.1.py
lpython2006e/exercies
84343eae57d86708a7984aa02f77183a4688a508
[ "MIT" ]
null
null
null
5_Pham_Ngo_Tien_Dung/3.1.py
lpython2006e/exercies
84343eae57d86708a7984aa02f77183a4688a508
[ "MIT" ]
null
null
null
5_Pham_Ngo_Tien_Dung/3.1.py
lpython2006e/exercies
84343eae57d86708a7984aa02f77183a4688a508
[ "MIT" ]
8
2020-07-10T14:13:54.000Z
2020-08-03T08:17:50.000Z
"""Write a program that allow user enter a file name (path) then content, allow user to save it""" filename = input("Please input filename") f= open(filename,"w+") content = input("Please input content") f.write(content)
37.666667
99
0.712389
35
226
4.6
0.6
0.111801
0.198758
0
0
0
0
0
0
0
0
0
0.159292
226
6
100
37.666667
0.847368
0.40708
0
0
0
0
0.346774
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
0
0
2
b16cd2c50420d1e6d132def2948468675ae9b60d
720
py
Python
tests/test_DataAugmenterExternally.py
AlexKay28/zarnitsa
c7e93423dcc1f000849f8c1e1f685e8a91b90f9c
[ "Apache-2.0" ]
8
2021-07-19T18:25:03.000Z
2021-10-05T15:25:20.000Z
tests/test_DataAugmenterExternally.py
AlexKay28/zarnitsa
c7e93423dcc1f000849f8c1e1f685e8a91b90f9c
[ "Apache-2.0" ]
22
2021-07-26T19:13:32.000Z
2021-10-09T18:56:07.000Z
tests/test_DataAugmenterExternally.py
AlexKay28/zarnitsa
c7e93423dcc1f000849f8c1e1f685e8a91b90f9c
[ "Apache-2.0" ]
1
2021-08-10T12:24:00.000Z
2021-08-10T12:24:00.000Z
import os import sys import pytest import numpy as np import pandas as pd from scipy.stats import ks_2samp sys.path.append("zarnitsa/") from zarnitsa.stats import DataAugmenterExternally N_TO_CHECK = 500 SIG = 0.5 @pytest.fixture def dae(): return DataAugmenterExternally() @pytest.fixture def normal_data()...
20
84
0.730556
107
720
4.719626
0.485981
0.09901
0.047525
0.047525
0
0
0
0
0
0
0
0.026756
0.169444
720
35
85
20.571429
0.817726
0.054167
0
0.095238
0
0
0.049624
0
0
0
0
0
0.047619
1
0.142857
false
0
0.333333
0.095238
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b172a5ff4bd5c2830f5d2332f4e30cc2a061bc37
306
py
Python
run2.py
akuz/deep-gen-mnist
13d4d350a0dc9dc7f0111c839fb7158654f048c4
[ "MIT" ]
null
null
null
run2.py
akuz/deep-gen-mnist
13d4d350a0dc9dc7f0111c839fb7158654f048c4
[ "MIT" ]
null
null
null
run2.py
akuz/deep-gen-mnist
13d4d350a0dc9dc7f0111c839fb7158654f048c4
[ "MIT" ]
null
null
null
import numpy as np import tensorflow as tf import model if __name__ == "__main__": print("Making level configs...") level_configs = model.default_level_configs() print("Making filter variables...") filters = model.make_filters(tf.get_default_graph(), level_configs) print("Done")
19.125
71
0.70915
39
306
5.179487
0.564103
0.237624
0.168317
0
0
0
0
0
0
0
0
0
0.176471
306
15
72
20.4
0.801587
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
b183550bc53fd30c394fa716585596aa04c10f32
99
py
Python
tests/__init__.py
Fokko/example-library-python
b20b69c6dae93c32cd3d2c86a644abbf6b85199b
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
Fokko/example-library-python
b20b69c6dae93c32cd3d2c86a644abbf6b85199b
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
Fokko/example-library-python
b20b69c6dae93c32cd3d2c86a644abbf6b85199b
[ "Apache-2.0" ]
null
null
null
import sys, os path = os.path.dirname(__file__) if path not in sys.path: sys.path.append(path)
19.8
32
0.717172
18
99
3.722222
0.555556
0.179104
0
0
0
0
0
0
0
0
0
0
0.161616
99
4
33
24.75
0.807229
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b18dfbe911fad785c5c6176e1eec4c5f85de7b49
938
py
Python
rabbitai/tasks/celery_app.py
psbsgic/rabbitai
769e120ba605d56ac076f810a549c38dac410c8e
[ "Apache-2.0" ]
null
null
null
rabbitai/tasks/celery_app.py
psbsgic/rabbitai
769e120ba605d56ac076f810a549c38dac410c8e
[ "Apache-2.0" ]
null
null
null
rabbitai/tasks/celery_app.py
psbsgic/rabbitai
769e120ba605d56ac076f810a549c38dac410c8e
[ "Apache-2.0" ]
1
2021-07-09T16:29:50.000Z
2021-07-09T16:29:50.000Z
""" This is the main entrypoint used by Celery workers. As such, it needs to call create_app() in order to initialize things properly """ from typing import Any from celery.signals import worker_process_init # Rabbitai framework imports from rabbitai import create_app from rabbitai.extensions import celery_app, db #...
32.344828
87
0.765458
141
938
4.971631
0.595745
0.051355
0.048502
0
0
0
0
0
0
0
0
0.002519
0.153518
938
28
88
33.5
0.880353
0.553305
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
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
0
0
0
1
0
1
0
0
2
b18f8ac4ca91a60fabe49e7603be45706caf3334
52
py
Python
chatbot/component/__init__.py
zgj0607/ChatBot
3c6126754b9d037a04bd80d13874e2ae16b2c421
[ "Apache-2.0" ]
null
null
null
chatbot/component/__init__.py
zgj0607/ChatBot
3c6126754b9d037a04bd80d13874e2ae16b2c421
[ "Apache-2.0" ]
null
null
null
chatbot/component/__init__.py
zgj0607/ChatBot
3c6126754b9d037a04bd80d13874e2ae16b2c421
[ "Apache-2.0" ]
null
null
null
__all__ = ( 'readonly_admin', 'singleton' )
10.4
21
0.576923
4
52
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.269231
52
4
22
13
0.657895
0
0
0
0
0
0.442308
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b1a2e9e876bf7788f4968b9eb3b29a91a90c21c3
9,585
py
Python
umich_daily.py
mpars0ns/scansio-sonar-es
ea7b1928277317b97c84443812da01af99ef0feb
[ "BSD-3-Clause" ]
36
2015-10-14T21:17:16.000Z
2022-01-21T16:34:24.000Z
umich_daily.py
mpars0ns/scansio-sonar-es
ea7b1928277317b97c84443812da01af99ef0feb
[ "BSD-3-Clause" ]
5
2015-10-19T13:47:55.000Z
2017-06-21T07:12:41.000Z
umich_daily.py
mpars0ns/scansio-sonar-es
ea7b1928277317b97c84443812da01af99ef0feb
[ "BSD-3-Clause" ]
8
2016-04-28T09:34:20.000Z
2022-01-21T16:34:23.000Z
import argparse import sys from multiprocessing import cpu_count, Process, Queue import json import logging from datetime import datetime from elasticsearch import Elasticsearch from elasticsearch.helpers import bulk, scan import hashlib from helpers.certparser import process_cert from helpers.hostparser import procc...
45.212264
119
0.605842
1,202
9,585
4.682196
0.242928
0.017591
0.023987
0.033582
0.298152
0.22779
0.219261
0.219261
0.205757
0.190476
0
0.010377
0.286176
9,585
211
120
45.42654
0.812189
0.103495
0
0.191781
0
0.006849
0.195601
0.034878
0
0
0
0
0
0
null
null
0.068493
0.10274
null
null
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
b1a435a669f2409d097f7f74a5d9ca3c12d7e85f
1,944
py
Python
isaactest/tests/recieve_verify_emails.py
jsharkey13/isaac-selenium-testing
fc57ec57179cf7d9f0bb5ef46d759792b2af3bc8
[ "MIT" ]
null
null
null
isaactest/tests/recieve_verify_emails.py
jsharkey13/isaac-selenium-testing
fc57ec57179cf7d9f0bb5ef46d759792b2af3bc8
[ "MIT" ]
1
2016-01-15T11:28:06.000Z
2016-01-25T17:09:18.000Z
isaactest/tests/recieve_verify_emails.py
jsharkey13/isaac-selenium-testing
fc57ec57179cf7d9f0bb5ef46d759792b2af3bc8
[ "MIT" ]
1
2019-05-14T16:53:49.000Z
2019-05-14T16:53:49.000Z
from ..utils.log import log, INFO, ERROR, PASS from ..utils.i_selenium import assert_tab, image_div from ..tests import TestWithDependency __all__ = ["recieve_verify_emails"] ##### # Test : Recieve Verification Emails ##### @TestWithDependency("RECIEVE_VERIFY_EMAILS", ["REQ_VERIFY_EMAILS"]) def recieve_verify_emails...
44.181818
149
0.718107
224
1,944
5.955357
0.361607
0.215892
0.107946
0.130435
0.118441
0.052474
0
0
0
0
0
0.001926
0.19856
1,944
43
150
45.209302
0.8543
0.117284
0
0
0
0
0.251347
0.060443
0
0
0
0
0.137931
1
0.034483
false
0.068966
0.103448
0
0.206897
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b1a911035784142a39959873000505c8b7d79b40
2,455
py
Python
openshift/helper/openshift.py
flaper87/openshift-restclient-python
13d5d86ca89035b9f596032e7a34f3cc33bf8f18
[ "Apache-2.0" ]
null
null
null
openshift/helper/openshift.py
flaper87/openshift-restclient-python
13d5d86ca89035b9f596032e7a34f3cc33bf8f18
[ "Apache-2.0" ]
null
null
null
openshift/helper/openshift.py
flaper87/openshift-restclient-python
13d5d86ca89035b9f596032e7a34f3cc33bf8f18
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import json from kubernetes.client import models as k8s_models from kubernetes.client import apis as k8s_apis from kubernetes.client.rest import ApiException from urllib3.exceptions import MaxRetryError from . import VERSION_RX from .. import config from...
35.071429
127
0.712424
296
2,455
5.706081
0.324324
0.035524
0.035524
0.030787
0.170515
0.136175
0.023683
0
0
0
0
0.004132
0.211405
2,455
69
128
35.57971
0.868285
0.052546
0
0.173077
0
0
0.00906
0
0
0
0
0.014493
0
1
0.115385
false
0
0.25
0.019231
0.557692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
490c3a09e90ac7741bc5df730d26dac2764368fc
40,373
py
Python
TrainingExtensions/tensorflow/src/python/aimet_tensorflow/utils/op/fusedbatchnorm.py
quic-ykota/aimet
c897bd4c360e3a0fb7a329c6bb98b569f66bace1
[ "BSD-3-Clause" ]
945
2020-04-30T02:23:55.000Z
2022-03-31T08:44:32.000Z
TrainingExtensions/tensorflow/src/python/aimet_tensorflow/utils/op/fusedbatchnorm.py
seaun163/aimet
de94e5522e0c9250fb422d064b77ef9ecc70f239
[ "BSD-3-Clause" ]
563
2020-05-01T03:07:22.000Z
2022-03-30T05:35:58.000Z
TrainingExtensions/tensorflow/src/python/aimet_tensorflow/utils/op/fusedbatchnorm.py
seaun163/aimet
de94e5522e0c9250fb422d064b77ef9ecc70f239
[ "BSD-3-Clause" ]
186
2020-04-30T00:55:26.000Z
2022-03-30T09:54:51.000Z
# /usr/bin/env python3.5 # -*- mode: python -*- # ============================================================================= # @@-COPYRIGHT-START-@@ # # Copyright (c) 2019-2020, Qualcomm Innovation Center, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modifica...
43.552319
118
0.626112
5,458
40,373
4.377794
0.065958
0.045032
0.012053
0.021344
0.792124
0.749435
0.709258
0.668662
0.620281
0.583243
0
0.010818
0.292497
40,373
926
119
43.599352
0.82569
0.28851
0
0.573585
0
0
0.071916
0.000922
0
0
0
0
0.216981
1
0.066038
false
0
0.011321
0
0.171698
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4917259ce7d453d0c463913b457ccefb5c69c0f6
2,772
py
Python
src/TamaTou.py
hirmiura/starsector-mod-Font_Replacement_for_Orbitron
ad7b5e3f4d8afd1a2aa97a420a2ec9a3aaf9b3d7
[ "MIT" ]
1
2022-01-17T02:58:46.000Z
2022-01-17T02:58:46.000Z
src/TamaTou.py
hirmiura/starsector-mod-Font_Replacement_for_Orbitron
ad7b5e3f4d8afd1a2aa97a420a2ec9a3aaf9b3d7
[ "MIT" ]
null
null
null
src/TamaTou.py
hirmiura/starsector-mod-Font_Replacement_for_Orbitron
ad7b5e3f4d8afd1a2aa97a420a2ec9a3aaf9b3d7
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT # Copyright 2022 hirmiura (https://github.com/hirmiura) # # TamaTouを生成するスクリプト # # 使い方 # 1. fontforgeでコンソールを出す(fontforge-console.bat) # 2. ディレクトリ移動 # 3. ffpython TamaTou.py # 4. 待つ # # Orbitron → オービトロン → オーブ → 玉 → Tamaやな! # Noto → No Toufu → 豆腐だらけだし → Touやな! # →→ TamaTou # import font...
30.461538
114
0.636724
349
2,772
5.083095
0.292264
0.32469
0.213078
0.027058
0.086809
0
0
0
0
0
0
0.103464
0.198052
2,772
90
115
30.8
0.690508
0.135281
0
0.075758
0
0.015152
0.137626
0.018519
0
0
0.075758
0
0
1
0
false
0
0.015152
0
0.015152
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
0
0
0
0
0
0
0
0
2
4918381c344c6f579cf53ea1bf560dc12227d2bf
2,623
py
Python
bambu/bambu.py
westurner/pandasrdf
c194b1eb9928488bc19b82d3cab409158cd413a3
[ "BSD-3-Clause" ]
2
2016-07-01T10:48:04.000Z
2017-01-24T16:53:44.000Z
bambu/bambu.py
westurner/pandasrdf
c194b1eb9928488bc19b82d3cab409158cd413a3
[ "BSD-3-Clause" ]
1
2016-06-20T10:54:53.000Z
2017-02-07T05:47:38.000Z
bambu/bambu.py
westurner/pandasrdf
c194b1eb9928488bc19b82d3cab409158cd413a3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function """ bambu ------ pandas RDF functionality Installation -------------- :: # pip install pandas pip install rdflib """ import sys import pandas as pd import rdflib def bambu(): """ mainfunc """ pass def to...
18.602837
63
0.552421
301
2,623
4.700997
0.332226
0.021201
0.101767
0.089046
0.371025
0.371025
0.332862
0.313781
0.277739
0.277739
0
0.00554
0.311857
2,623
140
64
18.735714
0.778393
0.309569
0
0.145833
0
0
0.068919
0
0
0
0
0.042857
0.020833
1
0.208333
false
0.041667
0.166667
0
0.416667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
4924d0f3858273f23eb72e262ac3af691158f5e6
835
py
Python
invenio_app_ils/ill/loaders/jsonschemas/borrowing_request.py
equadon/invenio-app-ils
42ba282968d0aa28fb1bfc71d0709685165aaec4
[ "MIT" ]
null
null
null
invenio_app_ils/ill/loaders/jsonschemas/borrowing_request.py
equadon/invenio-app-ils
42ba282968d0aa28fb1bfc71d0709685165aaec4
[ "MIT" ]
null
null
null
invenio_app_ils/ill/loaders/jsonschemas/borrowing_request.py
equadon/invenio-app-ils
42ba282968d0aa28fb1bfc71d0709685165aaec4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2019-2020 CERN. # # invenio-app-ils is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """BorrowingRequest schema for marshmallow loader.""" from invenio_records_rest.schemas import RecordMetadat...
29.821429
76
0.718563
103
835
5.776699
0.650485
0.090756
0.114286
0.141176
0.129412
0
0
0
0
0
0
0.017544
0.180838
835
27
77
30.925926
0.852339
0.415569
0
0
0
0
0
0
0
0
0
0.037037
0
1
0
false
0
0.181818
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
493827951fe9c01069f538a18ee56a8c22b8b962
1,355
py
Python
screenpy/questions/body_of_the_last_response.py
perrygoy/screenpy
862c0d7e5ff9f1265e520ab383c04ddbd4d060eb
[ "MIT" ]
39
2019-03-22T15:18:23.000Z
2022-02-23T17:32:03.000Z
screenpy/questions/body_of_the_last_response.py
perrygoy/screenpy
862c0d7e5ff9f1265e520ab383c04ddbd4d060eb
[ "MIT" ]
63
2019-07-17T06:25:19.000Z
2022-01-13T07:03:53.000Z
screenpy/questions/body_of_the_last_response.py
bandophahita/screenpy
db0f3ef91a891b9d095016d83fa4b589620808ce
[ "MIT" ]
15
2019-07-09T11:02:56.000Z
2021-12-24T07:43:56.000Z
""" Investigate the body of the last API response received by the Actor. """ from json.decoder import JSONDecodeError from typing import Union from screenpy import Actor from screenpy.abilities import MakeAPIRequests from screenpy.exceptions import UnableToAnswer from screenpy.pacing import beat class BodyOfTheLast...
30.111111
88
0.667159
160
1,355
5.60625
0.4
0.071349
0.050167
0.06689
0.296544
0.296544
0.100334
0.100334
0.100334
0.100334
0
0.002927
0.243542
1,355
44
89
30.795455
0.872195
0.35941
0
0
0
0
0.170398
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4941a07b8598fcd71acf4d8decca54a679038504
1,257
py
Python
urlbrevity/test_urlconf.py
kezabelle/django-urlbrevity
a8b779587986c60c4e0597aead908d954480f0f9
[ "BSD-2-Clause-FreeBSD" ]
4
2015-02-13T16:20:41.000Z
2020-07-02T18:45:50.000Z
urlbrevity/test_urlconf.py
kezabelle/django-urlbrevity
a8b779587986c60c4e0597aead908d954480f0f9
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
urlbrevity/test_urlconf.py
kezabelle/django-urlbrevity
a8b779587986c60c4e0597aead908d954480f0f9
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -*- coding: utf-8 -*- from pytest import raises from django.contrib import admin from django.core.urlresolvers import reverse from django.core.urlresolvers import resolve from django.core.urlresolvers import NoReverseMatch from django.core.urlresolvers import Resolver404 from django.http import HttpResponse import ur...
28.568182
73
0.703262
152
1,257
5.723684
0.414474
0.091954
0.064368
0.11954
0.23908
0.091954
0
0
0
0
0
0.008637
0.171042
1,257
43
74
29.232558
0.826296
0.030231
0
0
0
0
0.121711
0.020559
0
0
0
0
0.0625
1
0.15625
false
0
0.34375
0.03125
0.53125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49503dbeb658d944f139ed75ff92cfc671b7acd3
86
py
Python
day5.py
GuiltyD/Python_code
db03c491824b66d842a7b4ff8aa45644233526a6
[ "MIT" ]
null
null
null
day5.py
GuiltyD/Python_code
db03c491824b66d842a7b4ff8aa45644233526a6
[ "MIT" ]
null
null
null
day5.py
GuiltyD/Python_code
db03c491824b66d842a7b4ff8aa45644233526a6
[ "MIT" ]
null
null
null
f = open('./day4.py') for chunk in iter(lambda :f.read(10),''): print(chunk)
17.2
41
0.55814
14
86
3.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0.044118
0.209302
86
4
42
21.5
0.661765
0
0
0
0
0
0.105882
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4958f00172a7990bcba76c17970e13446ea6dcfc
8,498
py
Python
backend/src/contaxy/operations/deployment.py
ml-tooling/contaxy
3317a866c2ef641667a2d318885c8b0f5096b56a
[ "MIT" ]
3
2021-10-17T23:25:05.000Z
2022-02-03T21:40:59.000Z
backend/src/contaxy/operations/deployment.py
ml-tooling/contaxy
3317a866c2ef641667a2d318885c8b0f5096b56a
[ "MIT" ]
14
2021-11-09T15:24:29.000Z
2022-03-11T13:26:04.000Z
backend/src/contaxy/operations/deployment.py
ml-tooling/contaxy
3317a866c2ef641667a2d318885c8b0f5096b56a
[ "MIT" ]
3
2022-01-27T08:31:57.000Z
2022-02-11T13:38:00.000Z
from abc import ABC, abstractmethod from datetime import datetime from typing import Any, List, Literal, Optional from contaxy.schema import Job, JobInput, ResourceAction, Service, ServiceInput from contaxy.schema.deployment import DeploymentType # TODO: update_service functionality class ServiceOperations(ABC): ...
29.922535
166
0.619087
967
8,498
5.317477
0.163392
0.048619
0.072345
0.062233
0.527227
0.449242
0.399455
0.314275
0.286659
0.253209
0
0
0.307249
8,498
283
167
30.028269
0.87345
0.485879
0
0.721429
0
0
0
0
0
0
0
0.003534
0
1
0.142857
false
0.15
0.035714
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
4960c8757588886d5cee0b290cbf124fc76beb18
552
py
Python
config/ConfigSices.py
atosborges00/sereno_bot
06bedb02847eff050adeadb6bcc5440bcd2283c3
[ "FSFAP" ]
null
null
null
config/ConfigSices.py
atosborges00/sereno_bot
06bedb02847eff050adeadb6bcc5440bcd2283c3
[ "FSFAP" ]
null
null
null
config/ConfigSices.py
atosborges00/sereno_bot
06bedb02847eff050adeadb6bcc5440bcd2283c3
[ "FSFAP" ]
null
null
null
from os import path from config.ConfigPaths import ConfigPaths class ConfigSices: """ Sices platform useful URLs """ LOGIN_URL = 'https://monitoramento.sicessolar.com.br/login' ANALYTICS_PAGE = 'https://monitoramento.sicessolar.com.br/analytics?und={code}' """ Sices platform default directories...
26.285714
83
0.697464
61
552
6.163934
0.590164
0.103723
0.087766
0.164894
0.175532
0
0
0
0
0
0
0
0.182971
552
20
84
27.6
0.833703
0.047101
0
0
0
0
0.368421
0.059497
0
0
0
0
0
1
0
false
0
0.222222
0
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
496d668dab143daad188848fbd26c751e580633a
357
py
Python
contentcuration/contentcuration/migrations/0059_merge.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
1
2019-03-30T18:14:25.000Z
2019-03-30T18:14:25.000Z
contentcuration/contentcuration/migrations/0059_merge.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-05-06T17:19:30.000Z
2019-03-15T01:51:24.000Z
contentcuration/contentcuration/migrations/0059_merge.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-10-18T22:49:08.000Z
2019-09-17T11:20:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-03-29 19:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('contentcuration', '0058_auto_20170223_1636'), ('contentcuration', '0057_assessmentitem_delete...
21
59
0.680672
40
357
5.825
0.85
0
0
0
0
0
0
0
0
0
0
0.126316
0.201681
357
16
60
22.3125
0.691228
0.187675
0
0
1
0
0.278746
0.174216
0
0
0
0
0
1
0
false
0
0.222222
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4974d677e63b39744893c4f6fa71c6ce00ac7913
2,240
py
Python
ckanext/scheming/logic.py
vrk-kpa/ckanext-scheming
b82e20e04acdc4a71163675f843ac9be74f29d41
[ "MIT" ]
null
null
null
ckanext/scheming/logic.py
vrk-kpa/ckanext-scheming
b82e20e04acdc4a71163675f843ac9be74f29d41
[ "MIT" ]
null
null
null
ckanext/scheming/logic.py
vrk-kpa/ckanext-scheming
b82e20e04acdc4a71163675f843ac9be74f29d41
[ "MIT" ]
1
2021-12-15T12:50:40.000Z
2021-12-15T12:50:40.000Z
from ckantoolkit import get_or_bust, side_effect_free, ObjectNotFound from ckanext.scheming.helpers import ( scheming_dataset_schemas, scheming_get_dataset_schema, scheming_group_schemas, scheming_get_group_schema, scheming_organization_schemas, scheming_get_organization_schema, ) @side_effect_free d...
28
78
0.729018
297
2,240
5.222222
0.161616
0.061896
0.063185
0.065764
0.740812
0.740812
0.727273
0.63185
0.63185
0.448098
0
0
0.195982
2,240
79
79
28.35443
0.861188
0.275446
0
0.538462
0
0
0.023873
0
0
0
0
0
0
1
0.153846
false
0
0.051282
0
0.358974
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4980cf418b1fec3383b451b2c9e98a8148676569
1,671
py
Python
fitbenchmarking/parsing/base_parser.py
arm61/fitbenchmarking
c745c684e3ca4895a666eb863426746d8f06636c
[ "BSD-3-Clause" ]
null
null
null
fitbenchmarking/parsing/base_parser.py
arm61/fitbenchmarking
c745c684e3ca4895a666eb863426746d8f06636c
[ "BSD-3-Clause" ]
null
null
null
fitbenchmarking/parsing/base_parser.py
arm61/fitbenchmarking
c745c684e3ca4895a666eb863426746d8f06636c
[ "BSD-3-Clause" ]
null
null
null
""" Implements the base Parser as a Context Manager. """ from abc import ABCMeta, abstractmethod class Parser: """ Base abstract class for a parser. Further parsers should inherit from this and override the abstract parse() method. """ __metaclass__ = ABCMeta def __init__(self, filename)...
26.109375
78
0.581089
182
1,671
5.197802
0.412088
0.029598
0.031712
0.053911
0.201903
0.201903
0.201903
0.136364
0
0
0
0
0.351287
1,671
63
79
26.52381
0.872694
0.51167
0
0
0
0
0.001745
0
0
0
0
0
0
1
0.222222
false
0.055556
0.055556
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
498ebed60829fc81050f096acf226151f138af86
525
py
Python
oTree/consent/__init__.py
jleutgeb/privilege
2a4f15c98d94d9f1dbf1c4685c5e96d018d58abc
[ "MIT" ]
null
null
null
oTree/consent/__init__.py
jleutgeb/privilege
2a4f15c98d94d9f1dbf1c4685c5e96d018d58abc
[ "MIT" ]
11
2021-05-06T09:45:30.000Z
2022-03-01T17:48:35.000Z
oTree/consent/__init__.py
jleutgeb/privilege
2a4f15c98d94d9f1dbf1c4685c5e96d018d58abc
[ "MIT" ]
null
null
null
from otree.api import * c = Currency doc = """ Simple Consent App Players may only continue after clicking the consent button. """ class Constants(BaseConstants): name_in_url = 'consent' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): p...
14.583333
61
0.693333
63
525
5.650794
0.746032
0.050562
0
0
0
0
0
0
0
0
0
0.002387
0.201905
525
35
62
15
0.847255
0.009524
0
0.1
0
0
0.200772
0
0
0
0
0
0
1
0
false
0.1
0.05
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
4994b9856023b95cccc4144927c2909950d9bad5
383
gyp
Python
binding.gyp
mceSystems/node-windows-pac-resolver
a1eaaa6b74d4e82218e6d975582aab121e12da6f
[ "MIT" ]
1
2021-11-14T01:26:45.000Z
2021-11-14T01:26:45.000Z
binding.gyp
mceSystems/node-windows-pac-resolver
a1eaaa6b74d4e82218e6d975582aab121e12da6f
[ "MIT" ]
1
2021-08-31T21:38:42.000Z
2021-08-31T21:38:42.000Z
binding.gyp
mceSystems/node-windows-pac-resolver
a1eaaa6b74d4e82218e6d975582aab121e12da6f
[ "MIT" ]
1
2021-11-14T01:26:12.000Z
2021-11-14T01:26:12.000Z
{ "targets": [ { "target_name": "binding", "sources": [ "native\\winhttpBindings.cpp" ], "include_dirs": [ "<!@(node -p \"require('node-addon-api').include\")" ], "libraries": [ "WinHTTP.lib", "-DelayLoad:node.exe" ], "msbuild_settings": { "ClCompile"...
16.652174
68
0.48564
28
383
6.535714
0.892857
0
0
0
0
0
0
0
0
0
0
0
0.302872
383
22
69
17.409091
0.685393
0
0
0.136364
0
0
0.496084
0.070496
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
499a41cfbffd9bf9473869aaf693707dd595ba03
6,671
py
Python
tests/test_formDef.py
swhume/odmlib
597f71c60f4c6bd8639c92e9fc0ae71b8a5416a7
[ "MIT" ]
9
2021-09-15T12:26:30.000Z
2022-03-30T10:14:14.000Z
tests/test_formDef.py
swhume/odmlib
597f71c60f4c6bd8639c92e9fc0ae71b8a5416a7
[ "MIT" ]
1
2021-09-28T09:05:01.000Z
2021-09-28T09:05:01.000Z
tests/test_formDef.py
swhume/odmlib
597f71c60f4c6bd8639c92e9fc0ae71b8a5416a7
[ "MIT" ]
1
2021-09-29T04:50:23.000Z
2021-09-29T04:50:23.000Z
from unittest import TestCase import json import odmlib.odm_1_3_2.model as ODM class TestFormDef(TestCase): def setUp(self) -> None: attrs = self.set_formdef_attributes() self.formdef = ODM.FormDef(**attrs) def test_add_description(self): tt1 = ODM.TranslatedText(_content="this is the...
57.017094
122
0.665867
806
6,671
5.42804
0.124069
0.045257
0.0816
0.106057
0.778286
0.708343
0.703771
0.658286
0.6144
0.589486
0
0.007526
0.183331
6,671
116
123
57.508621
0.795521
0.020387
0
0.424242
0
0
0.17269
0
0
0
0
0
0.191919
1
0.111111
false
0
0.030303
0.010101
0.171717
0.010101
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
499d165572daf46e08305c7a946da82bbf43582f
767
py
Python
broadcasts/managers.py
foolwealth/django-site-broadcasts
f870fbf96cde7ea29fc8179e71ab738d2192628f
[ "MIT" ]
5
2016-08-08T07:31:53.000Z
2020-01-21T00:10:22.000Z
broadcasts/managers.py
foolwealth/django-site-broadcasts
f870fbf96cde7ea29fc8179e71ab738d2192628f
[ "MIT" ]
2
2015-05-22T00:47:14.000Z
2018-08-15T19:07:21.000Z
broadcasts/managers.py
bennylope/django-site-broadcasts
0c7556462e7aa09a48ccce4ca8d0b4827a2ce190
[ "MIT" ]
2
2015-05-21T23:23:16.000Z
2018-08-15T17:03:51.000Z
from django.db import models from django.db.models import Q from django.utils import timezone class BroadcastManager(models.Manager): """ Manager class to show only active broadcast messages """ def active(self): """Return only active messages""" return super(BroadcastManager, self).f...
29.5
73
0.65189
95
767
5.157895
0.463158
0.061224
0.04898
0
0
0
0
0
0
0
0
0.001709
0.237288
767
25
74
30.68
0.835897
0.208605
0
0
0
0
0.013889
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b8d180754d7fc90d954cb1d916a92cd2b5b1aea1
589
py
Python
dribdat/decorators.py
gonzalocasas/dribdat
f8c326c96e851be199eb9f61daed6c8780e3bc27
[ "MIT" ]
21
2015-10-25T23:22:04.000Z
2019-04-01T06:42:54.000Z
dribdat/decorators.py
gonzalocasas/dribdat
f8c326c96e851be199eb9f61daed6c8780e3bc27
[ "MIT" ]
108
2020-02-11T10:07:53.000Z
2021-06-19T20:30:03.000Z
dribdat/decorators.py
OpendataCH/dribdat
90d95a12c782dea7d284a4c454a06481e67c1e37
[ "MIT" ]
12
2016-09-02T03:12:28.000Z
2021-06-02T07:58:48.000Z
# -*- coding: utf-8 -*- from functools import wraps from flask import abort, jsonify from flask_login import current_user def admin_required(f): @wraps(f) def decorated_function(*args, **kwargs): if not current_user.active or not current_user.is_admin: abort(403) return f(*args, *...
25.608696
64
0.657046
78
589
4.820513
0.435897
0.117021
0.111702
0.053191
0.409574
0.308511
0
0
0
0
0
0.008869
0.234295
589
22
65
26.772727
0.824834
0.035654
0
0.235294
0
0
0.031802
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2