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
d99e8a9a95f28da6c2d4d1ee42e95a270ab08977
421
py
Python
coding_intereview/1475. Final Prices With a Special Discount in a Shop.py
Jahidul007/Python-Bootcamp
3c870587465ff66c2c1871c8d3c4eea72463abda
[ "MIT" ]
2
2020-12-07T16:07:07.000Z
2020-12-07T16:08:53.000Z
coding_intereview/1475. Final Prices With a Special Discount in a Shop.py
purusharthmalik/Python-Bootcamp
2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1
[ "MIT" ]
null
null
null
coding_intereview/1475. Final Prices With a Special Discount in a Shop.py
purusharthmalik/Python-Bootcamp
2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1
[ "MIT" ]
1
2020-10-03T16:38:02.000Z
2020-10-03T16:38:02.000Z
class Solution: def finalPrices(self, prices: List[int]) -> List[int]: res = [] for i in range(len(prices)): for j in range(i+1,len(prices)): if prices[j]<=prices[i]: res.append(prices[i]-prices[j]) break if j==len(p...
35.083333
58
0.460808
52
421
3.730769
0.384615
0.139175
0.231959
0.164948
0.226804
0
0
0
0
0
0
0.011858
0.39905
421
12
59
35.083333
0.754941
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d9a714b3484177f5fee5427d98c53a86bf48daf3
134
py
Python
tests/__init__.py
eloo/sensor.sbahn_munich
05e05a845178ab529dc4c80e924035fe1d072b55
[ "MIT" ]
null
null
null
tests/__init__.py
eloo/sensor.sbahn_munich
05e05a845178ab529dc4c80e924035fe1d072b55
[ "MIT" ]
null
null
null
tests/__init__.py
eloo/sensor.sbahn_munich
05e05a845178ab529dc4c80e924035fe1d072b55
[ "MIT" ]
null
null
null
"""Tests for the sbahn_munich integration""" line_dict = { "name": "S3", "color": "#333333", "text_color": "#444444", }
14.888889
44
0.567164
15
134
4.866667
0.933333
0
0
0
0
0
0
0
0
0
0
0.12381
0.216418
134
8
45
16.75
0.571429
0.283582
0
0
0
0
0.388889
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
d9c310055166d8d1507c05ad91c6bc47af7f5743
32,544
py
Python
dungeoncog/enemy_skills_pb2.py
muffin-rice/pad-cogs
820ecf08f9569a3d7cf3264d0eb9567264b42edf
[ "MIT" ]
3
2021-04-16T23:47:59.000Z
2021-09-10T06:00:18.000Z
dungeoncog/enemy_skills_pb2.py
muffin-rice/pad-cogs
820ecf08f9569a3d7cf3264d0eb9567264b42edf
[ "MIT" ]
708
2020-10-31T08:02:40.000Z
2022-03-31T09:39:25.000Z
dungeoncog/enemy_skills_pb2.py
muffin-rice/pad-cogs
820ecf08f9569a3d7cf3264d0eb9567264b42edf
[ "MIT" ]
20
2020-11-01T23:11:29.000Z
2022-02-07T07:04:15.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: enemy_skills.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.pr...
51.169811
2,854
0.703386
3,756
32,544
5.743344
0.078541
0.050065
0.0916
0.077601
0.731087
0.659651
0.637725
0.615474
0.599759
0.599759
0
0.03926
0.191495
32,544
635
2,855
51.250394
0.780594
0.02111
0
0.68386
1
0.004992
0.146451
0.10647
0
0
0
0
0
1
0
false
0.003328
0.006656
0
0.006656
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
d9c4481e6f2e6c4d81a9ed81d21838df61cf431f
26,272
py
Python
tests/keras/layers/wrappers_test.py
kalyc/keras-apache-mxnet
5497ebd50a45ccc446b8944ebbe11fb7721a5533
[ "MIT" ]
300
2018-04-04T05:01:21.000Z
2022-02-25T18:56:04.000Z
tests/keras/layers/wrappers_test.py
kalyc/keras-apache-mxnet
5497ebd50a45ccc446b8944ebbe11fb7721a5533
[ "MIT" ]
163
2018-04-03T17:41:22.000Z
2021-09-03T16:44:04.000Z
tests/keras/layers/wrappers_test.py
kalyc/keras-apache-mxnet
5497ebd50a45ccc446b8944ebbe11fb7721a5533
[ "MIT" ]
72
2018-04-21T06:42:30.000Z
2021-12-26T06:02:42.000Z
import pytest import numpy as np import copy from numpy.testing import assert_allclose from keras.utils import CustomObjectScope from keras.layers import wrappers, Input, Layer from keras.layers import RNN from keras import layers from keras.models import Sequential, Model, model_from_json from keras import backend as ...
40.418462
95
0.629225
3,476
26,272
4.577675
0.086594
0.017597
0.021996
0.027149
0.794558
0.760872
0.714178
0.637192
0.602061
0.562909
0
0.023567
0.242502
26,272
649
96
40.48074
0.775991
0.052223
0
0.58365
0
0
0.044619
0
0
0
0
0
0.110266
1
0.045627
false
0.001901
0.020913
0
0.077947
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
d9e48585d735333916bf5e8b10a68c72e4541093
248,866
py
Python
pysnmp-with-texts/XXX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/XXX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/XXX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module XXX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XXX-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:44:42 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)...
141.884835
10,350
0.750826
35,253
248,866
5.18007
0.032933
0.019035
0.128912
0.013427
0.785557
0.679399
0.599393
0.548658
0.529563
0.47282
0
0.093998
0.084889
248,866
1,753
10,351
141.965773
0.707851
0.001238
0
0
0
0.014327
0.195744
0.018616
0
0
0.000322
0
0
1
0
false
0.001146
0.003438
0
0.003438
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d9e78859b4482aaef1db18210493138799d91b2f
1,969
py
Python
MIDI Remote Scripts/Push2/mode_collector.py
aarkwright/ableton_devices
fe5df3bbd64ccbc136bba722ba1e131a02969798
[ "MIT" ]
null
null
null
MIDI Remote Scripts/Push2/mode_collector.py
aarkwright/ableton_devices
fe5df3bbd64ccbc136bba722ba1e131a02969798
[ "MIT" ]
null
null
null
MIDI Remote Scripts/Push2/mode_collector.py
aarkwright/ableton_devices
fe5df3bbd64ccbc136bba722ba1e131a02969798
[ "MIT" ]
null
null
null
# uncompyle6 version 3.3.5 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] # Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py # Compiled at: 2018-11-30 15:48:11 from __fut...
37.865385
124
0.742509
278
1,969
4.827338
0.298561
0.059613
0.052161
0.056632
0.42623
0.271237
0.201192
0.153502
0.153502
0.153502
0
0.031882
0.171661
1,969
52
125
37.865385
0.790926
0.151854
0
0.216216
0
0
0.031231
0
0
0
0
0
0
1
0.243243
false
0
0.054054
0.108108
0.432432
0.027027
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
d9e7a46d631c672aae25d04f18b75876427b787e
817
py
Python
src/topicModel.py
daidaotong/SingleView
db3249ca5afba97f750495cccbc185de88bf2287
[ "MIT" ]
null
null
null
src/topicModel.py
daidaotong/SingleView
db3249ca5afba97f750495cccbc185de88bf2287
[ "MIT" ]
null
null
null
src/topicModel.py
daidaotong/SingleView
db3249ca5afba97f750495cccbc185de88bf2287
[ "MIT" ]
null
null
null
from gensim import corpora, models, similarities, matutils,utils from gensim.models import KeyedVectors import numpy as np #Word2vec Experiment testString = ['PAST_MEDICAL_HISTORY','PAST_SURGICAL_HISTORY','PHYSICAL_EXAMINATION'] ''' word_vectors = KeyedVectors.load_word2vec_format('~/Downloads/GoogleNews-vectors-negat...
35.521739
111
0.71481
106
817
5.349057
0.528302
0.116402
0.112875
0.10582
0.185185
0.185185
0
0
0
0
0
0.023591
0.066095
817
22
112
37.136364
0.719528
0.051408
0
0
0
0
0.226766
0.078067
0
0
0
0
0
0
null
null
0
0.428571
null
null
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
d9eb0ee449a6b916e969b15c42a07550484f36ad
959
py
Python
djangocms_baseplugins/spacer/cms_plugins.py
benzkji/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
2
2019-04-14T01:31:22.000Z
2020-03-05T13:06:57.000Z
djangocms_baseplugins/spacer/cms_plugins.py
benzkji/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
32
2017-04-04T09:28:06.000Z
2021-08-18T16:23:02.000Z
djangocms_baseplugins/spacer/cms_plugins.py
bnzk/djangocms-baseplugins
7f041a030ed93dcdec70e4ca777b841846b8f2f2
[ "MIT" ]
null
null
null
# coding: utf-8 from cms.plugin_base import CMSPluginBase from cms.plugin_pool import plugin_pool from django import forms from django.utils.translation import ugettext_lazy as _ from djangocms_baseplugins.baseplugin import defaults from djangocms_baseplugins.baseplugin.cms_plugins import BasePluginMixin from djangocm...
29.96875
100
0.788321
112
959
6.526786
0.419643
0.109439
0.098495
0.139535
0
0
0
0
0
0
0
0.001233
0.154327
959
31
101
30.935484
0.900123
0.027112
0
0.090909
0
0
0.041935
0.035484
0
0
0
0
0
1
0
false
0
0.409091
0
0.818182
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
d9f9595b5ef66170be57096ea8261b3da13883ac
132
py
Python
functional_tests.py
gustavomazevedo/tbackup-client
eb2fdf75eff7abf17c9bce12920de793ba760f61
[ "MIT" ]
null
null
null
functional_tests.py
gustavomazevedo/tbackup-client
eb2fdf75eff7abf17c9bce12920de793ba760f61
[ "MIT" ]
null
null
null
functional_tests.py
gustavomazevedo/tbackup-client
eb2fdf75eff7abf17c9bce12920de793ba760f61
[ "MIT" ]
null
null
null
from selenium import webdriver browser = webdriver.Firefox() browser.get('http://localhost:8000') assert 'Django' in browser.title
22
36
0.780303
17
132
6.058824
0.823529
0
0
0
0
0
0
0
0
0
0
0.033613
0.098485
132
6
37
22
0.831933
0
0
0
0
0
0.203008
0
0
0
0
0
0.25
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
d9ff0e5cd63921d7a1a7f3f682d268671ab38688
834
py
Python
main.py
Yash-s-Code-Camp/Python-Day-4
887c4e172905b2b0dea493a3c9c1f61e403556fc
[ "MIT" ]
null
null
null
main.py
Yash-s-Code-Camp/Python-Day-4
887c4e172905b2b0dea493a3c9c1f61e403556fc
[ "MIT" ]
null
null
null
main.py
Yash-s-Code-Camp/Python-Day-4
887c4e172905b2b0dea493a3c9c1f61e403556fc
[ "MIT" ]
null
null
null
# def mul(a): # return lambda b:b*a # singler = mul(1) # addition = lambda b:b*1 # doubler = mul(2) # addition = lambda b:b*2 # tripler = mul(3) # addition = lambda b:b*3 # print(doubler(7)) # 7*2 = 14 # print(tripler(7)) # 7*3 = 21 # print(singler(7)) # 7*1 = 7 class Student: def __init__(self, fna...
17.020408
47
0.603118
128
834
3.804688
0.34375
0.057495
0.065708
0.098563
0
0
0
0
0
0
0
0.089368
0.221823
834
48
48
17.375
0.661017
0.423261
0
0
0
0
0.111597
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
0.111111
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
8a0ab3edf5559c9bdaa844115d82ed95f2b065a1
63,787
py
Python
nova/virt/driver.py
larsbutler/nova
fb190f30a911658d8b0c4deaf43cbb8c9e35b672
[ "Apache-2.0" ]
null
null
null
nova/virt/driver.py
larsbutler/nova
fb190f30a911658d8b0c4deaf43cbb8c9e35b672
[ "Apache-2.0" ]
null
null
null
nova/virt/driver.py
larsbutler/nova
fb190f30a911658d8b0c4deaf43cbb8c9e35b672
[ "Apache-2.0" ]
null
null
null
# Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
39.205286
79
0.651246
7,669
63,787
5.313079
0.132351
0.024027
0.055662
0.033795
0.427109
0.378712
0.345727
0.32305
0.299686
0.266971
0
0.00194
0.289024
63,787
1,626
80
39.229397
0.896518
0.61986
0
0.355932
0
0
0.035461
0.007206
0
0
0
0.011685
0
1
0.338983
false
0.039548
0.031073
0.00565
0.446328
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
8a13fa0bd9273ba0ef6fc5a2231a5c8269835d8e
280
py
Python
nanoepiseg/main_list_chunks.py
snajder-r/nanoepiseg
2fe36a82e5b899330da5db6559eb45fe12cad37c
[ "MIT" ]
null
null
null
nanoepiseg/main_list_chunks.py
snajder-r/nanoepiseg
2fe36a82e5b899330da5db6559eb45fe12cad37c
[ "MIT" ]
null
null
null
nanoepiseg/main_list_chunks.py
snajder-r/nanoepiseg
2fe36a82e5b899330da5db6559eb45fe12cad37c
[ "MIT" ]
null
null
null
from pathlib import Path from meth5.meth5 import MetH5File def main(m5file:Path, chunk_size:int, quiet:bool): with MetH5File(m5file, "r", chunk_size=chunk_size) as f: for chrom in f.get_chromosomes(): print(f"{chrom}: {f[chrom].get_number_of_chunks()}")
31.111111
64
0.696429
43
280
4.372093
0.627907
0.143617
0
0
0
0
0
0
0
0
0
0.026087
0.178571
280
8
65
35
0.791304
0
0
0
0
0
0.153571
0.117857
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0.166667
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
8a1ac6639a0c1cc52dd72036d5f1b225c44d7b2f
4,363
py
Python
vectors2.py
shivam13verma/judge-embeddings
9b861319a1240529d25c15799952e32dde2e894e
[ "MIT" ]
null
null
null
vectors2.py
shivam13verma/judge-embeddings
9b861319a1240529d25c15799952e32dde2e894e
[ "MIT" ]
null
null
null
vectors2.py
shivam13verma/judge-embeddings
9b861319a1240529d25c15799952e32dde2e894e
[ "MIT" ]
null
null
null
import locale import glob import os import os.path import requests import tarfile import sys import re import gensim from gensim.models.doc2vec import TaggedDocument from collections import namedtuple from gensim.models import Doc2Vec import gensim.models.doc2vec from collections import OrderedDict import multiproces...
31.388489
121
0.651845
630
4,363
4.406349
0.34127
0.043228
0.017291
0.012968
0.189481
0.091859
0.060159
0.060159
0.060159
0.025216
0
0.027606
0.18634
4,363
138
122
31.615942
0.754366
0.794637
0
0
0
0
0.039744
0
0
0
0
0
0
0
null
null
0
0.607143
null
null
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
8a1ff54283494d2484e0c67f1c0d0ff7dcc46387
1,165
py
Python
met/metadataparser/models/entity_type.py
z1digitalstudio/met
7840e7520bb4c3cb0328d5988468eefe6639f950
[ "BSD-2-Clause" ]
11
2016-06-30T13:20:39.000Z
2021-01-14T20:53:15.000Z
met/metadataparser/models/entity_type.py
z1digitalstudio/met
7840e7520bb4c3cb0328d5988468eefe6639f950
[ "BSD-2-Clause" ]
50
2016-02-03T14:49:06.000Z
2022-02-24T01:35:50.000Z
met/metadataparser/models/entity_type.py
z1digitalstudio/met
7840e7520bb4c3cb0328d5988468eefe6639f950
[ "BSD-2-Clause" ]
9
2016-04-22T19:24:36.000Z
2022-01-11T10:30:54.000Z
################################################################# # MET v2 Metadate Explorer Tool # # This Software is Open Source. See License: https://github.com/TERENA/met/blob/master/LICENSE.md # Copyright (c) 2012, TERENA All rights reserved. # # This Software is based on MET v1 developed for TERENA by Yaco Sistem...
38.833333
97
0.614592
146
1,165
4.808219
0.636986
0.029915
0.039886
0.05698
0.176638
0.176638
0.176638
0.176638
0.176638
0.176638
0
0.011543
0.181974
1,165
29
98
40.172414
0.725079
0.449785
0
0
0
0
0.031381
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.777778
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
8a20b188a03474ef2ca2b4263906e89597ed6c86
6,029
py
Python
src/economy/migrations/0027_zettlebalance_zettlereceipt.py
bornhack/bornhack-website
40ed0875f5129a4c8ae1887e33e7dedb4981dadc
[ "BSD-3-Clause" ]
7
2017-04-14T15:28:29.000Z
2021-09-10T09:45:38.000Z
src/economy/migrations/0027_zettlebalance_zettlereceipt.py
bornhack/bornhack-website
40ed0875f5129a4c8ae1887e33e7dedb4981dadc
[ "BSD-3-Clause" ]
799
2016-04-28T09:31:50.000Z
2022-03-29T09:05:02.000Z
src/economy/migrations/0027_zettlebalance_zettlereceipt.py
bornhack/bornhack-website
40ed0875f5129a4c8ae1887e33e7dedb4981dadc
[ "BSD-3-Clause" ]
35
2016-04-28T09:23:53.000Z
2021-05-02T12:36:01.000Z
# Generated by Django 3.2.7 on 2021-09-13 03:52 import uuid from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("economy", "0026_alter_clearhaussettlement_options"), ] operations = [ migrations.CreateModel( name="ZettleBalance",...
35.674556
137
0.379499
423
6,029
5.262411
0.304965
0.061096
0.074124
0.083558
0.510332
0.434412
0.434412
0.404762
0.34681
0.306379
0
0.020727
0.543871
6,029
168
138
35.886905
0.788727
0.007464
0
0.590062
1
0.006211
0.203611
0.006352
0
0
0
0
0
1
0
false
0
0.012422
0
0.031056
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
8a2e82e1a97d54e2d6df29004c910ab7dc7dda4f
344
py
Python
src/ros_comm/rosmsg/setup.py
jungleni/ros_code_reading
499e98c0b0d309da78060b19b55c420c22110d65
[ "Apache-2.0" ]
742
2017-07-05T02:49:36.000Z
2022-03-30T12:55:43.000Z
src/ros_comm/rosmsg/setup.py
jungleni/ros_code_reading
499e98c0b0d309da78060b19b55c420c22110d65
[ "Apache-2.0" ]
73
2017-07-06T12:50:51.000Z
2022-03-07T08:07:07.000Z
src/ros_comm/rosmsg/setup.py
jungleni/ros_code_reading
499e98c0b0d309da78060b19b55c420c22110d65
[ "Apache-2.0" ]
425
2017-07-04T22:03:29.000Z
2022-03-29T06:59:06.000Z
#!/usr/bin/env python from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup d = generate_distutils_setup( packages=['rosmsg'], package_dir={'': 'src'}, scripts=['scripts/rosmsg', 'scripts/rosmsg-proto', 'scripts/rossrv'], requires=['genmsg', 'rosbag', 'roslib', ...
24.571429
73
0.700581
42
344
5.571429
0.619048
0.145299
0.188034
0
0
0
0
0
0
0
0
0
0.127907
344
13
74
26.461538
0.78
0.05814
0
0
1
0
0.250774
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8a30c3ee79ce2efcb14fdc2c9e26c3ab71e499c1
671
py
Python
tests/test_i18n.py
vthriller/flask-kajiki
eadaa0aa45d23507066758b9e74091bddbc943c4
[ "BSD-3-Clause" ]
null
null
null
tests/test_i18n.py
vthriller/flask-kajiki
eadaa0aa45d23507066758b9e74091bddbc943c4
[ "BSD-3-Clause" ]
null
null
null
tests/test_i18n.py
vthriller/flask-kajiki
eadaa0aa45d23507066758b9e74091bddbc943c4
[ "BSD-3-Clause" ]
null
null
null
from kajiki import i18n from flask import request from flask_kajiki import render_template # N. B. settting i18n.gettext would affect tests from all modules, # so we test for request path that only functions from this module could set def gettext(s): if request.path == '/test_i18n': return s.upper() r...
27.958333
76
0.704918
94
671
4.925532
0.617021
0.051836
0.051836
0
0
0
0
0
0
0
0
0.022642
0.210134
671
23
77
29.173913
0.850943
0.342772
0
0
0
0
0.096998
0
0
0
0
0.043478
0.076923
1
0.153846
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
8a3cab0b0c29dee41665f61e10da5e23f85da48c
670
py
Python
paneldata_dash/backend/schemas/johnson_scanner_data.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
paneldata_dash/backend/schemas/johnson_scanner_data.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
paneldata_dash/backend/schemas/johnson_scanner_data.py
clarencejlee/jdp
d3d31db0138ff06f2f5ec592d85317941af4f280
[ "MIT" ]
null
null
null
from ma import ma from models.johnson_scanner_data import JohnsonScannerDataModel from schemas.brand import BrandSchema from schemas.category import CategorySchema from schemas.facts_in_data import FactsInDataSchema from schemas.market import MarketSchema from schemas.period import PeriodSchema class JohnsonScannerDa...
27.916667
63
0.770149
74
670
6.891892
0.459459
0.107843
0
0
0
0
0
0
0
0
0
0
0.167164
670
23
64
29.130435
0.913978
0.026866
0
0
0
0
0.003091
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.875
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
8a43f4805ca2bfbefacf005fd91befea7f1c3e71
492
py
Python
gen-cfg.py
magetron/secure-flow-prototype
c683939620fec889f882ea095d2b27e3e4bb98fe
[ "Apache-2.0" ]
null
null
null
gen-cfg.py
magetron/secure-flow-prototype
c683939620fec889f882ea095d2b27e3e4bb98fe
[ "Apache-2.0" ]
null
null
null
gen-cfg.py
magetron/secure-flow-prototype
c683939620fec889f882ea095d2b27e3e4bb98fe
[ "Apache-2.0" ]
null
null
null
from staticfg import CFGBuilder userCfg = CFGBuilder().build_from_file('user.py', './auction/user.py') bidCfg = CFGBuilder().build_from_file('bid.py', './auction/bid.py') auctionCfg = CFGBuilder().build_from_file('auction.py','./auction/auction.py') #auctionEventCfg = CFGBuilder().build_from_file('auction_event.py','...
41
96
0.760163
62
492
5.822581
0.274194
0.166205
0.210526
0.254848
0.166205
0
0
0
0
0
0
0
0.054878
492
11
97
44.727273
0.776344
0.310976
0
0
0
0
0.290801
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
8a5ab5ed3f3ad80694d11c3e4b2aca3d095ca892
2,400
py
Python
python/ray/rllib/ddpg2/ddpg_evaluator.py
songqing/ray
166000b089ee15d44635ebca00f12320f51ce587
[ "Apache-2.0" ]
1
2018-06-25T08:00:51.000Z
2018-06-25T08:00:51.000Z
python/ray/rllib/ddpg2/ddpg_evaluator.py
songqing/ray
166000b089ee15d44635ebca00f12320f51ce587
[ "Apache-2.0" ]
1
2018-01-26T05:11:04.000Z
2018-01-26T05:11:04.000Z
python/ray/rllib/ddpg2/ddpg_evaluator.py
songqing/ray
166000b089ee15d44635ebca00f12320f51ce587
[ "Apache-2.0" ]
1
2020-10-16T08:42:32.000Z
2020-10-16T08:42:32.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import ray from ray.rllib.ddpg2.models import DDPGModel from ray.rllib.models.catalog import ModelCatalog from ray.rllib.optimizers import PolicyEvaluator from ray.rllib.utils.filter import ...
31.578947
77
0.675417
279
2,400
5.62724
0.365591
0.040127
0.04586
0.032484
0
0
0
0
0
0
0
0.001628
0.232083
2,400
75
78
32
0.850244
0.17875
0
0
0
0
0.024008
0
0
0
0
0
0
1
0.214286
false
0
0.261905
0
0.595238
0.02381
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
8a6044d55abd530531d11b4f87fb12061cb65199
370
py
Python
app/logic/httpcommon/Page.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
10
2017-01-13T06:28:04.000Z
2020-11-18T13:00:26.000Z
app/logic/httpcommon/Page.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
null
null
null
app/logic/httpcommon/Page.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
2
2018-03-29T14:10:53.000Z
2019-11-20T08:21:57.000Z
""" Page object file """ class Page(): """ Page object, it contains information about the pare we are refering, index, items per page, etc. """ page_index = 0 items_per_page = 0 def __init__(self, items_per_page, page_index): """ Creates the page """ self.page_index = int(page_index) ...
28.461538
108
0.648649
53
370
4.226415
0.433962
0.178571
0.267857
0.142857
0
0
0
0
0
0
0
0.007117
0.240541
370
12
109
30.833333
0.790036
0.356757
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
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
8a60852354e6415290eaf2e5371028a21ee46376
1,004
py
Python
models/AI-Model-Zoo/VAI-1.3-Model-Zoo-Code/PyTorch/pt_personreid-res18_market1501_176_80_1.1G_1.3/code/core/data_manager.py
guochunhe/Vitis-AI
e86b6efae11f8703ee647e4a99004dc980b84989
[ "Apache-2.0" ]
1
2020-12-18T14:49:19.000Z
2020-12-18T14:49:19.000Z
models/AI-Model-Zoo/VAI-1.3-Model-Zoo-Code/PyTorch/pt_personreid-res50_market1501_256_128_5.4G_1.3/code/core/data_manager.py
guochunhe/Vitis-AI
e86b6efae11f8703ee647e4a99004dc980b84989
[ "Apache-2.0" ]
null
null
null
models/AI-Model-Zoo/VAI-1.3-Model-Zoo-Code/PyTorch/pt_personreid-res50_market1501_256_128_5.4G_1.3/code/core/data_manager.py
guochunhe/Vitis-AI
e86b6efae11f8703ee647e4a99004dc980b84989
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Xilinx 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 or agreed to in writing, ...
27.888889
74
0.737052
144
1,004
5.027778
0.645833
0.082873
0.035912
0.044199
0
0
0
0
0
0
0
0.029126
0.179283
1,004
35
75
28.685714
0.849515
0.545817
0
0
0
0
0.067873
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0.071429
0.642857
0.071429
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
8a62e622419e3b5175ed6a324e076188b956be4c
2,313
py
Python
azure-devops/azext_devops/vstsCompressed/service_hooks/v4_0/models/__init__.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
azure-devops/azext_devops/vstsCompressed/service_hooks/v4_0/models/__init__.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
37
2020-04-27T07:45:19.000Z
2021-04-05T07:27:15.000Z
azure-devops/azext_devops/vstsCompressed/service_hooks/v4_0/models/__init__.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
33.042857
94
0.685257
187
2,313
8.454545
0.368984
0.183428
0.293485
0
0
0
0
0
0
0
0
0
0.137051
2,313
69
95
33.521739
0.792084
0.233031
0
0
0
0
0.255379
0.047565
0
0
0
0
0
1
0
false
0
0.483333
0
0.483333
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
1
0
0
0
0
2
8a643abfeb244244f7979e846782a5b379e9f35e
935
py
Python
pizdyuk/pzd_logging.py
DeathAdder1999/Pizdyuk
3fd7c71508c79b36e3cc801d78cd1a87eee5aa0b
[ "Apache-2.0" ]
1
2021-05-06T20:23:08.000Z
2021-05-06T20:23:08.000Z
pizdyuk/pzd_logging.py
aufdnb/Pizdyuk
75096ffa54df831eb05360d7b39f49000d466f80
[ "Apache-2.0" ]
null
null
null
pizdyuk/pzd_logging.py
aufdnb/Pizdyuk
75096ffa54df831eb05360d7b39f49000d466f80
[ "Apache-2.0" ]
null
null
null
import datetime as date from pzd_utils import datetime_to_str class PizdyukLogger: __logger = None def __init__(self): global __logger if self.__logger: raise RuntimeError("Logger instance already exists") @staticmethod def get_logger(): global __logger ...
25.27027
66
0.632086
108
935
5.074074
0.37037
0.054745
0.175182
0.164234
0
0
0
0
0
0
0
0.00438
0.26738
935
37
67
25.27027
0.79562
0
0
0.076923
0
0
0.070513
0
0
0
0
0
0
1
0.269231
false
0
0.076923
0
0.461538
0.038462
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
8a65b0ad04c9a2a75abc3c11ac9fc679788fe298
4,318
py
Python
app/api/v1/views/auth_views.py
emdeechege/Questionaire-API
1dd05dc25f96ea8ecdce82fe28449ea684991251
[ "MIT" ]
null
null
null
app/api/v1/views/auth_views.py
emdeechege/Questionaire-API
1dd05dc25f96ea8ecdce82fe28449ea684991251
[ "MIT" ]
20
2019-01-08T19:16:45.000Z
2019-08-22T10:21:43.000Z
app/api/v1/views/auth_views.py
emdeechege/Questioner-API
1dd05dc25f96ea8ecdce82fe28449ea684991251
[ "MIT" ]
1
2019-01-11T10:13:42.000Z
2019-01-11T10:13:42.000Z
from flask import jsonify, Blueprint, request, json, make_response from werkzeug.security import generate_password_hash, check_password_hash from datetime import datetime from ..utils.validators import Validation from ..models.auth_models import Users v1_auth_blueprint = Blueprint('auth', __name__, url_prefix='/api/v...
28.596026
90
0.568782
445
4,318
5.395506
0.2
0.097459
0.099958
0.14369
0.453978
0.371095
0.284465
0.187422
0.125781
0.125781
0
0.039275
0.310097
4,318
150
91
28.786667
0.7667
0.016443
0
0.484375
1
0
0.174262
0
0
0
0
0
0
1
0.015625
false
0.09375
0.039063
0
0.195313
0.03125
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
8a69d4b012c5607f3bca22996d7b21d1f2aed261
2,049
py
Python
demos/netmiko_textfsm.py
ryanaa08/NPA
45173efa60713858bb8b1d884fe12c50fe69920c
[ "BSD-Source-Code" ]
4
2019-01-15T16:15:26.000Z
2021-12-05T16:03:15.000Z
demos/netmiko_textfsm.py
krishnakadiyala/NPAcourse
74f097107839d990b44adcee69d4f949696a332c
[ "BSD-Source-Code" ]
null
null
null
demos/netmiko_textfsm.py
krishnakadiyala/NPAcourse
74f097107839d990b44adcee69d4f949696a332c
[ "BSD-Source-Code" ]
2
2019-07-04T16:38:19.000Z
2020-01-31T15:38:27.000Z
# make sure templates are present and netmiko knows about them # git clone https://github.com/networktocode/ntc-templates # export NET_TEXTFSM=/home/ntc/ntc-templates/templates/ # see https://github.com/networktocode/ntc-templates/tree/master/templates # for list of templates from netmiko import ConnectHandler import...
35.947368
420
0.660322
307
2,049
4.257329
0.387622
0.022953
0.036725
0.03443
0.309105
0.232594
0.145371
0.091813
0.091813
0.052028
0
0.032468
0.173255
2,049
56
421
36.589286
0.739079
0.499756
0
0.290323
0
0
0.068249
0
0
0
0
0
0
0
null
null
0.032258
0.064516
null
null
0.451613
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
8a746baf4af656a91220d07018cb78e6eb2e1b1f
119
py
Python
xortool/__init__.py
runapp/xortool
9dac27387e7883775936a31e67598eaba182e053
[ "MIT" ]
14
2017-06-14T06:10:07.000Z
2019-02-22T03:21:15.000Z
Cryptography/tools/xortool-master/xortool/__init__.py
rookie-12/My-Gray-Hacker-Resources
e9b10ac7b0e557a9e624a5a6e761f9af4488d777
[ "MIT" ]
1
2021-04-30T21:19:32.000Z
2021-04-30T21:19:32.000Z
Cryptography/tools/xortool-master/xortool/__init__.py
rookie-12/My-Gray-Hacker-Resources
e9b10ac7b0e557a9e624a5a6e761f9af4488d777
[ "MIT" ]
7
2015-10-01T09:47:05.000Z
2022-01-21T14:25:37.000Z
#!/usr/bin/env python #-*- coding:utf-8 -*- __all__ = ["args", "colors", "libcolors", "routine"] __version__ = "0.96"
19.833333
52
0.605042
15
119
4.266667
1
0
0
0
0
0
0
0
0
0
0
0.038462
0.12605
119
5
53
23.8
0.576923
0.336134
0
0
0
0
0.38961
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
8a86ee599744eb8c45294e523b8309fa29706768
261
py
Python
python/EXERCICIO 96 - FUNCAO QUE CALCULA A AREA.py
debor4h/exerciciosPython
a18d88c6e98bc49005bfcb8badeb712007c16d69
[ "MIT" ]
1
2022-03-15T02:25:17.000Z
2022-03-15T02:25:17.000Z
python/EXERCICIO 96 - FUNCAO QUE CALCULA A AREA.py
debor4h/exerciciosPython
a18d88c6e98bc49005bfcb8badeb712007c16d69
[ "MIT" ]
null
null
null
python/EXERCICIO 96 - FUNCAO QUE CALCULA A AREA.py
debor4h/exerciciosPython
a18d88c6e98bc49005bfcb8badeb712007c16d69
[ "MIT" ]
null
null
null
def area(msg):#declaracao da funcao com o parametro msg print(msg)#aqui msg e a area print('Controle de Terrenos') print('-' * 20) l = float(input('Largura (m): ')) c = float(input('Comprimento (m): ')) area(f'A área do seu terreno {l}X{c} é de {l*c}m².')
26.1
55
0.64751
48
261
3.520833
0.666667
0.118343
0
0
0
0
0
0
0
0
0
0.013761
0.164751
261
9
56
29
0.761468
0.218391
0
0
0
0.142857
0.465347
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
8a8789db154d951e04619fad043530fa0eb6fd39
935
py
Python
amazon/model_api/migrations/0005_remove_order_datetimecreated_alter_order__id_and_more.py
gabrielkarras/SOEN341
da7241abd894bda4d5f7465b3de70e51afacf3f5
[ "MIT" ]
3
2022-01-16T19:12:37.000Z
2022-01-25T18:50:15.000Z
amazon/model_api/migrations/0005_remove_order_datetimecreated_alter_order__id_and_more.py
gabrielkarras/SOEN341
da7241abd894bda4d5f7465b3de70e51afacf3f5
[ "MIT" ]
83
2022-01-16T18:57:50.000Z
2022-03-30T00:44:35.000Z
amazon/model_api/migrations/0005_remove_order_datetimecreated_alter_order__id_and_more.py
gabrielkarras/SOEN341
da7241abd894bda4d5f7465b3de70e51afacf3f5
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-04-07 01:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('model_api', '0004_remove_order_created_remove_order_id_and_more'), ] operations = [ migrations.RemoveField( model_name='order', ...
28.333333
86
0.594652
93
935
5.784946
0.526882
0.066915
0.139405
0.16171
0.416357
0.416357
0.416357
0.416357
0.416357
0.416357
0
0.031818
0.294118
935
32
87
29.21875
0.783333
0.048128
0
0.576923
1
0
0.138514
0.056306
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8a9030707f61608d50658393cbb2098e6e4bfbb7
300
py
Python
stubs/_pytest/_code.py
questioneer-ltd/scrut
8cb914c9c35eee0d9e17a6051683c970db2649b5
[ "MIT" ]
null
null
null
stubs/_pytest/_code.py
questioneer-ltd/scrut
8cb914c9c35eee0d9e17a6051683c970db2649b5
[ "MIT" ]
null
null
null
stubs/_pytest/_code.py
questioneer-ltd/scrut
8cb914c9c35eee0d9e17a6051683c970db2649b5
[ "MIT" ]
null
null
null
"""Type stubs for _pytest._code.""" # This class actually has more functions than are specified here. # We don't use these features, so I don't think its worth including # them in our type stub. We can always change it later. class ExceptionInfo: @property def value(self) -> Exception: ...
33.333333
67
0.72
47
300
4.553191
0.893617
0.037383
0
0
0
0
0
0
0
0
0
0
0.19
300
8
68
37.5
0.880658
0.713333
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
8a9705a2e78a0cfbf1bbd48dd0bfdf9b979f2917
3,751
py
Python
emission/clients/choice/choice.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
null
null
null
emission/clients/choice/choice.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
1
2017-08-31T19:54:16.000Z
2017-08-31T19:54:16.000Z
emission/clients/choice/choice.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
null
null
null
# Standard imports import logging import math import json from uuid import UUID from datetime import datetime, timedelta import time # Our imports from emission.core.get_database import get_trip_db, get_section_db import emission.analysis.result.carbon as carbon import emission.core.common as common import emission.ne...
39.484211
103
0.724607
467
3,751
5.766595
0.374732
0.026736
0.037876
0.020052
0.016339
0
0
0
0
0
0
0.00723
0.18875
3,751
94
104
39.904255
0.877752
0.216476
0
0.058824
0
0
0.087923
0.020185
0
0
0
0.010638
0
0
null
null
0
0.294118
null
null
0.014706
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
8a98a3e8f4fe8ffe2c483dbdada681b7ff1782e2
490
py
Python
stubs/micropython-esp32-1_12/urequests.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
38
2020-10-18T21:59:44.000Z
2022-03-17T03:03:28.000Z
stubs/micropython-esp32-1_12/urequests.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
176
2020-10-18T14:31:03.000Z
2022-03-30T23:22:39.000Z
stubs/micropython-esp32-1_12/urequests.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
6
2020-12-28T21:11:12.000Z
2022-02-06T04:07:50.000Z
""" Module: 'urequests' on esp32 1.12.0 """ # MCU: (sysname='esp32', nodename='esp32', release='1.12.0', version='v1.12 on 2019-12-20', machine='ESP32 module (spiram) with ESP32') # Stubber: 1.3.2 class Response: '' def close(): pass content = None def json(): pass text = None def...
12.564103
135
0.563265
68
490
4.058824
0.558824
0.152174
0.028986
0
0
0
0
0
0
0
0
0.090395
0.277551
490
38
136
12.894737
0.689266
0.377551
0
0.391304
0
0
0
0
0
0
0
0
0
1
0.391304
false
0.391304
0
0
0.521739
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
8aa779160503c74402f97032140e39891a948a62
1,279
py
Python
tests/test_toggle.py
ConnectionMaster/robotpy-wpilib-utilities
b62e563c7df113e9e513a36b9039f47f34157be1
[ "BSD-3-Clause" ]
14
2015-10-20T02:56:17.000Z
2020-03-17T04:44:12.000Z
tests/test_toggle.py
robotpy/robotpy-wpilib-utilities
80f753a1d315d234d6ecdd79be544ec01ca091ae
[ "BSD-3-Clause" ]
107
2015-01-26T23:47:10.000Z
2022-03-16T13:57:36.000Z
tests/test_toggle.py
ConnectionMaster/robotpy-wpilib-utilities
b62e563c7df113e9e513a36b9039f47f34157be1
[ "BSD-3-Clause" ]
21
2016-01-01T01:44:40.000Z
2022-03-15T18:00:35.000Z
from robotpy_ext.control.toggle import Toggle from robotpy_ext.misc.precise_delay import NotifierDelay class FakeJoystick: def __init__(self): self._pressed = [False] * 2 def getRawButton(self, num): return self._pressed[num] def press(self, num): self._pressed[num] = True d...
23.685185
56
0.689601
152
1,279
5.710526
0.263158
0.228111
0.131336
0.101382
0.510369
0.271889
0.12212
0.12212
0
0
0
0.021084
0.221267
1,279
53
57
24.132075
0.850402
0.018765
0
0.534884
0
0
0
0
0
0
0
0.018868
0.302326
1
0.139535
false
0
0.046512
0.023256
0.232558
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
8aaee662db93c29bfc4e01c664b5f8c132a76382
1,331
py
Python
setup.py
richardARPANET/persistent-celery-beat-scheduler
d2cbdd12394eec282ccb97ac5ff894353c2e4ffd
[ "Apache-2.0" ]
4
2018-04-04T13:03:08.000Z
2018-04-16T18:50:45.000Z
setup.py
richardARPANET/persistent-celery-beat-scheduler
d2cbdd12394eec282ccb97ac5ff894353c2e4ffd
[ "Apache-2.0" ]
null
null
null
setup.py
richardARPANET/persistent-celery-beat-scheduler
d2cbdd12394eec282ccb97ac5ff894353c2e4ffd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -* import os from setuptools import find_packages, setup # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) with open('requirements.txt') as f: install_requires = f.read().splitlines() setup( name...
31.690476
90
0.643877
157
1,331
5.363057
0.598726
0.157957
0.207838
0.185273
0.064133
0
0
0
0
0
0
0.016083
0.20586
1,331
41
91
32.463415
0.780511
0.060105
0
0
0
0
0.46234
0.025641
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
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
8ab47b215dd213a094ad1c94dce6a5f882e00bd7
695
py
Python
examples/tellurium-files/linearChain.py
ShaikAsifullah/distributed-tellurium
007e9b3842b614edd34908c001119c6da1d41897
[ "Apache-2.0" ]
1
2019-06-19T04:40:33.000Z
2019-06-19T04:40:33.000Z
examples/tellurium-files/linearChain.py
ShaikAsifullah/distributed-tellurium
007e9b3842b614edd34908c001119c6da1d41897
[ "Apache-2.0" ]
null
null
null
examples/tellurium-files/linearChain.py
ShaikAsifullah/distributed-tellurium
007e9b3842b614edd34908c001119c6da1d41897
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Linear chain of reactions. """ from __future__ import print_function, division import tellurium as te model = ''' model feedback() // Reactions: J0: $X0 -> S1; (VM1 * (X0 - S1/Keq1))/(1 + X0 + S1 + S4^h); J1: S1 -> S2; (10 * S1 - 2 * S2) / (1 + S1 + S2); J2: S2 -> S3; (10 * S2...
24.821429
64
0.515108
112
695
3.151786
0.455357
0.033994
0
0
0
0
0
0
0
0
0
0.167323
0.269065
695
27
65
25.740741
0.527559
0.070504
0
0
0
0.263158
0.738245
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8ac1dd9d7bf008d9dc5cac34b41e0856589877ec
358
py
Python
load/__init__.py
andrewp-as-is/load.py
6ad643d82379a63f9c79d0dd994101ff0b490183
[ "Unlicense" ]
null
null
null
load/__init__.py
andrewp-as-is/load.py
6ad643d82379a63f9c79d0dd994101ff0b490183
[ "Unlicense" ]
null
null
null
load/__init__.py
andrewp-as-is/load.py
6ad643d82379a63f9c79d0dd994101ff0b490183
[ "Unlicense" ]
null
null
null
__all__ = ["load"] import imp import importlib def load(name, path): """Load and initialize a module implemented as a Python source file and return its module object""" if hasattr(importlib, "machinery"): loader = importlib.machinery.SourceFileLoader(name, path) return loader.load_module() ...
25.571429
103
0.709497
46
358
5.391304
0.543478
0.096774
0
0
0
0
0
0
0
0
0
0
0.195531
358
13
104
27.538462
0.861111
0.259777
0
0
0
0
0.050193
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.875
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
8ac9d8732422cf52f01f2fd448863e8bbd5e7b4d
2,879
py
Python
sovrin/test/did/helper.py
sovrin-foundation/old-sovrin
d4e705054b7252c62fea00114060035c6eb314a4
[ "Apache-2.0" ]
3
2017-07-19T14:26:31.000Z
2020-05-16T16:09:37.000Z
sovrin/test/did/helper.py
sovrin-foundation/old-sovrin
d4e705054b7252c62fea00114060035c6eb314a4
[ "Apache-2.0" ]
null
null
null
sovrin/test/did/helper.py
sovrin-foundation/old-sovrin
d4e705054b7252c62fea00114060035c6eb314a4
[ "Apache-2.0" ]
3
2017-10-28T08:19:00.000Z
2021-06-06T10:48:55.000Z
import base58 from plenum.common.signer_did import DidSigner from plenum.common.verifier import DidVerifier from plenum.common.eventually import eventually from plenum.test.helper import assertEquality from sovrin.common.identity import Identity MsgForSigning = {'sender': 'Mario', 'msg': 'Lorem ipsum'} def signMsg(...
35.109756
79
0.733241
338
2,879
6.242604
0.328402
0.018957
0.022749
0.024171
0.24218
0.200474
0.132227
0.132227
0.094313
0.094313
0
0.028157
0.185828
2,879
81
80
35.54321
0.872014
0.189302
0
0.081633
0
0
0.010757
0
0
0
0
0.012346
0.183673
1
0.22449
false
0
0.122449
0.020408
0.428571
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
8ad221c93a5fce8d825d0b6b80fc2f401b373d9b
7,627
py
Python
gn/gn_to_bp.py
despairblue/esy-skia
1c81aac298602f8e872c1079db92868199b6394f
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
gn/gn_to_bp.py
despairblue/esy-skia
1c81aac298602f8e872c1079db92868199b6394f
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
gn/gn_to_bp.py
despairblue/esy-skia
1c81aac298602f8e872c1079db92868199b6394f
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
#!/usr/bin/env python # # Copyright 2016 Google Inc. # # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Generate Android.bp for Skia from GN configuration. import json import os import pprint import string import subprocess import tempfile import gn_to_bp_utils ...
25.006557
78
0.556051
871
7,627
4.65442
0.3031
0.010853
0.0148
0.02442
0.197089
0.089048
0.01776
0
0
0
0
0.011762
0.308903
7,627
304
79
25.088816
0.757352
0.09663
0
0.284519
1
0
0.613415
0.047432
0
0
0
0
0
1
0.008368
false
0
0.029289
0.004184
0.046025
0.008368
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
76d272f048a94a1ab146a49618ff07c96686a509
3,364
py
Python
medi/inference/utils.py
yuan-xy/medi
ffa416b73eb2fbffbae7a27b6eccc267b061ed0f
[ "MIT" ]
3
2020-05-27T08:42:26.000Z
2021-12-04T08:54:08.000Z
medi/inference/utils.py
yuan-xy/medi
ffa416b73eb2fbffbae7a27b6eccc267b061ed0f
[ "MIT" ]
null
null
null
medi/inference/utils.py
yuan-xy/medi
ffa416b73eb2fbffbae7a27b6eccc267b061ed0f
[ "MIT" ]
null
null
null
""" A universal module with functions / classes without dependencies. """ import sys import contextlib import functools import re import os from medi._compatibility import reraise _sep = os.path.sep if os.path.altsep is not None: _sep += os.path.altsep _path_re = re.compile(r'(?:\.[^{0}]+|[{0}]__init__\.py)$'.fo...
29
82
0.671819
431
3,364
5.134571
0.470998
0.015816
0.02892
0.024401
0.054225
0.054225
0
0
0
0
0
0.003107
0.234542
3,364
115
83
29.252174
0.856311
0.465517
0
0.125
0
0
0.019347
0.019347
0
0
0
0
0
1
0.25
false
0.017857
0.107143
0.071429
0.589286
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
76d6a858fdb2f760a40ddaceed8b3a0b06e85a87
14,566
py
Python
layouts/layout_simulation_procedure.py
KEHUIYAO/coral-sampling-tool
731cc22fbf5e4045e894b894547ad52c270e3fb1
[ "MIT" ]
5
2022-03-29T04:41:22.000Z
2022-03-29T12:17:35.000Z
layouts/layout_simulation_procedure.py
KEHUIYAO/coral-sampling-tool
731cc22fbf5e4045e894b894547ad52c270e3fb1
[ "MIT" ]
null
null
null
layouts/layout_simulation_procedure.py
KEHUIYAO/coral-sampling-tool
731cc22fbf5e4045e894b894547ad52c270e3fb1
[ "MIT" ]
null
null
null
import dash_core_components as dcc import dash_html_components as html import dash_bootstrap_components as dbc def generate_simulation_procedure(): return html.Div([ # instruction button to notify the user how to use the simulation tool dcc.Markdown(children='''There are three panels on the right:...
49.376271
1,301
0.506316
1,535
14,566
4.662541
0.183713
0.032276
0.041498
0.054492
0.33324
0.288948
0.251642
0.208048
0.164594
0.11094
0
0.017056
0.392215
14,566
295
1,302
49.376271
0.79137
0.106755
0
0.23445
1
0.028708
0.365263
0.045256
0
0
0
0
0
1
0.014354
false
0
0.014354
0.004785
0.043062
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
76de86f0d428be6f17b7c61c98178730bcc214cf
4,173
py
Python
backend-project/small_eod/autocomplete/tests/test_views.py
merito/small_eod
ab19b82f374cd7c4b21d8f9412657dbe7f7f03e2
[ "MIT" ]
64
2019-12-30T11:24:03.000Z
2021-06-24T01:04:56.000Z
backend-project/small_eod/autocomplete/tests/test_views.py
merito/small_eod
ab19b82f374cd7c4b21d8f9412657dbe7f7f03e2
[ "MIT" ]
465
2018-06-13T21:43:43.000Z
2022-01-04T23:33:56.000Z
backend-project/small_eod/autocomplete/tests/test_views.py
merito/small_eod
ab19b82f374cd7c4b21d8f9412657dbe7f7f03e2
[ "MIT" ]
72
2018-12-02T19:47:03.000Z
2022-01-04T22:54:49.000Z
from test_plus.test import TestCase from ...administrative_units.factories import AdministrativeUnitFactory from ...cases.factories import CaseFactory from ...channels.factories import ChannelFactory from ...events.factories import EventFactory from ...features.factories import FeatureFactory, FeatureOptionFactory fro...
32.1
88
0.749101
404
4,173
7.636139
0.183168
0.05705
0.135494
0.185413
0.554295
0.367585
0.321556
0.321556
0.321556
0.321556
0
0.000283
0.151929
4,173
129
89
32.348837
0.871433
0
0
0.505263
0
0
0.075725
0.03307
0
0
0
0
0.231579
1
0.115789
false
0
0.126316
0
0.6
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
76f3d0ad2bb9ab5227cf466b13a6b3829002cac1
800
py
Python
src/tests/stream.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
35
2017-11-27T22:24:46.000Z
2022-01-16T23:50:01.000Z
src/tests/stream.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
null
null
null
src/tests/stream.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
2
2018-02-20T06:06:12.000Z
2021-10-16T18:30:15.000Z
from io import StringIO from unittest import TestCase from dropSQL.parser.streams import * class StreamTestCase(TestCase): def test(self): s = '12' cs = Characters(StringIO(s)) ch = cs.peek().ok() self.assertEqual(ch, '1') ch = cs.peek().ok() self.assertEqual(ch,...
20
37
0.51125
100
800
4.09
0.3
0.220049
0.166259
0.185819
0.584352
0.579462
0.466993
0.466993
0.466993
0.466993
0
0.016791
0.33
800
39
38
20.512821
0.746269
0
0
0.535714
0
0
0.01
0
0
0
0
0
0.392857
1
0.035714
false
0
0.107143
0
0.178571
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
0a00e63d1006dbef16f6c53de45b2f52bfe52dea
7,268
py
Python
model/resnet.py
DrMMZ/RetinaNet
0b8491076f2ad344e101f724a2f5b8305adb2d52
[ "MIT" ]
7
2021-07-07T02:59:58.000Z
2021-12-09T04:48:49.000Z
model/resnet.py
DrMMZ/ResFPN
3acd6c629419a9f66da5386f3fd3deb9e8c929ff
[ "MIT" ]
3
2021-11-25T07:21:03.000Z
2022-01-17T18:56:29.000Z
model/resnet.py
DrMMZ/RetinaNet
0b8491076f2ad344e101f724a2f5b8305adb2d52
[ "MIT" ]
2
2021-12-09T01:48:36.000Z
2022-01-08T15:54:58.000Z
""" Residual Networks (ResNet) """ # adapted from # https://github.com/fchollet/deep-learning-models/blob/master/resnet50.py import tensorflow as tf def identity_block( input_tensor, filters, stage, block, train_bn=False ): """ Builds an identity shortcut...
35.802956
81
0.624381
1,028
7,268
4.284047
0.156615
0.0604
0.0797
0.073115
0.755223
0.736603
0.694596
0.684832
0.631244
0.623978
0
0.04479
0.247386
7,268
202
82
35.980198
0.760329
0.346863
0
0.557895
0
0
0.045057
0
0
0
0
0
0.010526
1
0.031579
false
0
0.010526
0
0.073684
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a0a44a50d18d71919437c3d704deabe9ca4ee0b
2,099
py
Python
utilities/classify_ensemble.py
Hazel1994/Paraphrase-detection-on-Quora-and-MSRP
bd464d0d16c57d5f95d91b78add6d9720128826a
[ "MIT" ]
2
2019-09-09T05:12:16.000Z
2019-11-25T06:02:13.000Z
utilities/classify_ensemble.py
Hazel1994/Paraphrase-detection-on-Quora-and-MSRP
bd464d0d16c57d5f95d91b78add6d9720128826a
[ "MIT" ]
null
null
null
utilities/classify_ensemble.py
Hazel1994/Paraphrase-detection-on-Quora-and-MSRP
bd464d0d16c57d5f95d91b78add6d9720128826a
[ "MIT" ]
1
2019-09-22T14:51:38.000Z
2019-09-22T14:51:38.000Z
from sklearn.metrics import f1_score,accuracy_score import numpy as np from utilities.tools import load_model import pandas as pd def predict_MSRP_test_data(n_models,nb_words,nlp_f,test_data_1,test_data_2,test_labels): models=[] n_h_features=nlp_f.shape[1] print('loading the models...') for i in range...
31.80303
88
0.685088
342
2,099
3.947368
0.248538
0.118519
0.066667
0.053333
0.768889
0.73037
0.653333
0.611852
0.611852
0.611852
0
0.024971
0.179609
2,099
66
89
31.80303
0.759001
0.021915
0
0.571429
0
0
0.125244
0.010234
0
0
0
0
0
1
0.040816
false
0
0.081633
0
0.122449
0.183673
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a2b055f1a31031a96cc1310b503a9a15b43be19
4,176
py
Python
aqui_carattino/blog/migrations/0002_auto_20200424_1452.py
aquilesC/aquicarattino
b6d873aea6e3ec9d1b802ea13952746e4fcc22b6
[ "MIT" ]
null
null
null
aqui_carattino/blog/migrations/0002_auto_20200424_1452.py
aquilesC/aquicarattino
b6d873aea6e3ec9d1b802ea13952746e4fcc22b6
[ "MIT" ]
2
2020-05-08T04:30:26.000Z
2021-06-17T20:19:02.000Z
aqui_carattino/blog/migrations/0002_auto_20200424_1452.py
aquilesC/aquicarattino
b6d873aea6e3ec9d1b802ea13952746e4fcc22b6
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-24 12:52 from django.db import migrations, models import django.db.models.deletion import modelcluster.contrib.taggit import modelcluster.fields import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): depend...
68.459016
1,357
0.670498
474
4,176
5.793249
0.320675
0.076111
0.105244
0.04807
0.386016
0.276402
0.264749
0.249818
0.21413
0.17917
0
0.011932
0.177203
4,176
60
1,358
69.6
0.787253
0.010776
0
0.351852
1
0
0.215064
0.028821
0.037037
0
0
0
0
1
0
false
0
0.12963
0
0.185185
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
0a31df6f647d431831f887f61ef014c34b1a74e5
1,436
py
Python
code_tmpl/views.py
lovebirdegg/nnms-server
9fd4563ccca9f29add375d346cdd1c2dd636c512
[ "MIT" ]
null
null
null
code_tmpl/views.py
lovebirdegg/nnms-server
9fd4563ccca9f29add375d346cdd1c2dd636c512
[ "MIT" ]
null
null
null
code_tmpl/views.py
lovebirdegg/nnms-server
9fd4563ccca9f29add375d346cdd1c2dd636c512
[ "MIT" ]
null
null
null
# @Time : {time} # @Author : code_generator from rest_framework.viewsets import ModelViewSet from rest_framework.generics import ListAPIView from rest_framework.filters import SearchFilter, OrderingFilter from rest_framework.response import Response from rest_framework.decorators import api_view,authentication_cla...
39.888889
95
0.83078
163
1,436
7.07362
0.392638
0.062446
0.103209
0.062446
0.039896
0
0
0
0
0
0
0
0.107242
1,436
36
96
39.888889
0.899376
0.029944
0
0
0
0
0.001438
0
0
0
0
0
0
0
null
null
0
0.62963
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
0a34f204369f984c96ff6e5a370ca5dd3ef2cd5a
128
py
Python
tibanna/_version.py
freezecoder/tibanna
89b02e95d04b9c630a9786f4d1eb8157c40098e0
[ "MIT" ]
null
null
null
tibanna/_version.py
freezecoder/tibanna
89b02e95d04b9c630a9786f4d1eb8157c40098e0
[ "MIT" ]
null
null
null
tibanna/_version.py
freezecoder/tibanna
89b02e95d04b9c630a9786f4d1eb8157c40098e0
[ "MIT" ]
null
null
null
"""Version information.""" # The following line *must* be the last in the module, exactly as formatted: __version__ = "0.16.1"
25.6
76
0.710938
19
128
4.578947
0.842105
0
0
0
0
0
0
0
0
0
0
0.037037
0.15625
128
4
77
32
0.768519
0.75
0
0
0
0
0.230769
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
0a3e0181aa1152f21b25e174598bc71d6679ab76
986
py
Python
config.py
conradsuuna/uac-computer-competency
40f8b165e5432ca22ab97838f424e26650a3d300
[ "MIT" ]
null
null
null
config.py
conradsuuna/uac-computer-competency
40f8b165e5432ca22ab97838f424e26650a3d300
[ "MIT" ]
null
null
null
config.py
conradsuuna/uac-computer-competency
40f8b165e5432ca22ab97838f424e26650a3d300
[ "MIT" ]
null
null
null
from os import environ import psycopg2 from datetime import timedelta from dotenv import load_dotenv load_dotenv() class Config(object): """ app configuration class """ TESTING = False CSRF_ENABLED = True SECRET_KEY = environ.get('SECRET_KEY') USER = environ.get('DB_USER') PASSWORD = environ.g...
27.388889
80
0.720081
121
986
5.628099
0.471074
0.088106
0.070485
0.0558
0.082232
0.082232
0
0
0
0
0
0.004981
0.185598
986
35
81
28.171429
0.843088
0.116633
0
0.08
0
0
0.128355
0.054842
0
0
0
0
0
1
0
false
0.08
0.16
0
0.96
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
0a47a03d932bb0b243e96234078c92e60fb74516
891
py
Python
seamo/support/seamo_exceptions.py
amandalynne/Seattle-Mobility-Index
f21d2fa6913ce9474aedc298e9e4a6e7c9390e64
[ "MIT" ]
3
2018-08-20T18:34:03.000Z
2018-10-02T23:41:52.000Z
seamo/support/seamo_exceptions.py
amandalynne/Seattle-Mobility-Index
f21d2fa6913ce9474aedc298e9e4a6e7c9390e64
[ "MIT" ]
null
null
null
seamo/support/seamo_exceptions.py
amandalynne/Seattle-Mobility-Index
f21d2fa6913ce9474aedc298e9e4a6e7c9390e64
[ "MIT" ]
1
2018-10-02T23:42:24.000Z
2018-10-02T23:42:24.000Z
""" Class for all excpetions used in following scripts - geocoder.py - geocoder_input.py """ class OverlappingGeographyError(Exception): def __init__(self, message): self.message = message # msg: geodataframe has overlapping polygons representing geographic features # please how shapefiles are pro...
27
81
0.740741
89
891
7.179775
0.382022
0.172144
0.086072
0.140845
0.676056
0.676056
0.676056
0.676056
0.463224
0.463224
0
0
0.188552
891
33
82
27
0.883817
0.349046
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
0a49a5caf98b95481017eff59d5dcd3666b0a6ef
1,318
py
Python
ddtrace/contrib/vertica/__init__.py
lightstep/dd-trace-py
9108cbf54ff31f803eac735507ae6d2a87b9b45f
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-03-07T01:12:29.000Z
2021-04-21T00:53:19.000Z
ddtrace/contrib/vertica/__init__.py
lightstep/dd-trace-py
9108cbf54ff31f803eac735507ae6d2a87b9b45f
[ "Apache-2.0", "BSD-3-Clause" ]
4
2019-11-22T20:58:01.000Z
2020-08-17T21:16:13.000Z
ddtrace/contrib/vertica/__init__.py
lightstep/dd-trace-py
9108cbf54ff31f803eac735507ae6d2a87b9b45f
[ "Apache-2.0", "BSD-3-Clause" ]
3
2020-03-18T16:29:20.000Z
2020-07-20T16:05:10.000Z
""" The Vertica integration will trace queries made using the vertica-python library. Vertica will be automatically instrumented with ``patch_all``, or when using the ``ls-trace-run`` command. Vertica is instrumented on import. To instrument Vertica manually use the ``patch`` function. Note the ordering of the follow...
25.346154
78
0.741275
173
1,318
5.526012
0.421965
0.08159
0.0659
0.043933
0.140167
0.073222
0
0
0
0
0
0
0.180577
1,318
51
79
25.843137
0.885185
0.800455
0
0
0
0
0.054902
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
0a5476d41706f1feaac0aa6254b09258ce332025
1,700
py
Python
lib/rdflib-3.1.0/test/test_trix_serialize.py
suzuken/xbrlparser
d9309081b8d21113ebb7a0983c677bee971af0a1
[ "MIT" ]
3
2015-01-12T16:16:50.000Z
2020-03-20T03:22:36.000Z
lib/rdflib-3.1.0/test/test_trix_serialize.py
suzuken/xbrlparser
d9309081b8d21113ebb7a0983c677bee971af0a1
[ "MIT" ]
null
null
null
lib/rdflib-3.1.0/test/test_trix_serialize.py
suzuken/xbrlparser
d9309081b8d21113ebb7a0983c677bee971af0a1
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from rdflib.graph import ConjunctiveGraph from rdflib.term import URIRef, Literal from rdflib.graph import Graph class TestTrixSerialize(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def testSerialize(self): s1 = URIRef...
26.984127
72
0.597059
236
1,700
4.262712
0.427966
0.047714
0.011928
0.04175
0.117296
0.101392
0.053678
0.053678
0.053678
0
0
0.029009
0.27
1,700
62
73
27.419355
0.781628
0.160588
0
0.051282
0
0
0.068966
0
0
0
0
0.016129
0.025641
1
0.076923
false
0.051282
0.128205
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
0a5717bafa0ff0998fa59136b620ff9a8093ee50
11,521
py
Python
tests/test_mr_uplift.py
Ibotta/mr_uplift
e1facd39a87683dfdeaf7b08336e0ce781ff87cf
[ "Apache-2.0" ]
48
2020-04-22T16:57:55.000Z
2022-02-02T00:21:13.000Z
tests/test_mr_uplift.py
Ibotta/mr_uplift
e1facd39a87683dfdeaf7b08336e0ce781ff87cf
[ "Apache-2.0" ]
6
2020-05-01T18:15:22.000Z
2022-02-21T07:26:18.000Z
tests/test_mr_uplift.py
Ibotta/mr_uplift
e1facd39a87683dfdeaf7b08336e0ce781ff87cf
[ "Apache-2.0" ]
4
2020-04-25T08:41:34.000Z
2022-01-08T11:21:23.000Z
import numpy as np import pytest from mr_uplift.dataset.data_simulation import get_no_noise_data, get_simple_uplift_data, get_observational_uplift_data_1 from mr_uplift.mr_uplift import MRUplift, get_t_data from mr_uplift.keras_model_functionality import prepare_data_optimized_loss import sys import pandas as pd clas...
42.356618
174
0.63432
1,699
11,521
3.964685
0.090642
0.040083
0.02405
0.026722
0.790974
0.74139
0.683492
0.665083
0.662411
0.627969
0
0.0394
0.23557
11,521
271
175
42.512915
0.725446
0
0
0.524064
0
0
0.012846
0.00868
0
0
0
0
0.181818
1
0.058824
false
0
0.037433
0
0.101604
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a66d37f0e15138eb333c83b7140c80ba5e24e15
284
py
Python
loops/for/for3.py
camipozas/python-exercises
c8c02d2b9ff77f21592c99038e10434aba08dbc7
[ "MIT" ]
null
null
null
loops/for/for3.py
camipozas/python-exercises
c8c02d2b9ff77f21592c99038e10434aba08dbc7
[ "MIT" ]
null
null
null
loops/for/for3.py
camipozas/python-exercises
c8c02d2b9ff77f21592c99038e10434aba08dbc7
[ "MIT" ]
null
null
null
# Escribir un programa que muestre la sumatoria de todos los múltiplos de 7 encontrados entre el 0 y el 100. # Summing all the multiples of 7 from 0 to 100. total = 0 for i in range(101): if i % 7 == 0: total = total+i print("Sumatoria de los múltiplos de 7:", total)
28.4
110
0.679577
52
284
3.711538
0.634615
0.11399
0.145078
0.15544
0
0
0
0
0
0
0
0.079812
0.25
284
9
111
31.555556
0.826291
0.535211
0
0
0
0
0.251969
0
0
0
0
0.111111
0
1
0
false
0
0
0
0
0.2
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
1
0
0
0
0
0
0
0
0
0
0
2
6a54175f824a3a8a92a61c38d426dd45948b4848
364
py
Python
Use.py
Codingprivacy/Multiple-Rename
486289e8158487dad058cd8f781ac27bc9a5fc02
[ "MIT" ]
2
2018-04-01T06:16:33.000Z
2018-05-04T18:57:50.000Z
Use.py
codingprivacy/Multiple-Rename
486289e8158487dad058cd8f781ac27bc9a5fc02
[ "MIT" ]
null
null
null
Use.py
codingprivacy/Multiple-Rename
486289e8158487dad058cd8f781ac27bc9a5fc02
[ "MIT" ]
null
null
null
import multiple multiple.rename("C:/Users/Username/Desktop",'new_name',33,'.exe') """this above lines renames all the files of the folder Desktop to 'new_name' and count starts from 33 to further (we can also provide 1 to start it from 1) and extension is given '.exe' hence the files will be renamed like : 1. new_n...
28
81
0.739011
66
364
4.015152
0.69697
0.05283
0
0
0
0
0
0
0
0
0
0.039474
0.164835
364
13
82
28
0.832237
0
0
0
0
0
0.435294
0.294118
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
6a5edc2a9e4d4da78b37be28e1fdb8023841826f
2,215
py
Python
Sec_10_expr_lambdas_fun_integradas/f_generators.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
Sec_10_expr_lambdas_fun_integradas/f_generators.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
Sec_10_expr_lambdas_fun_integradas/f_generators.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
"""" Generator Expression Em aulas anteriores foi abordado: - List Comprehension; - Dictionary Comprehension; - Set Comprehension. Não foi abordado: - Tuple Comprehension ... porque elas se chamam Generators nomes = ['Carlos', 'Camila', 'Carla', 'Cristiana', 'Cristina', 'Vanessa'] print(any8[nomes[0...
24.340659
92
0.719187
321
2,215
4.943925
0.323988
0.05293
0.018904
0.022054
0.388784
0.388784
0.361689
0.308759
0.274102
0.101449
0
0.037217
0.16298
2,215
90
93
24.611111
0.81877
0.950339
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
6a68e42c5242acff02618aac8ab6c6c44bb61d29
1,312
py
Python
polyaxon/event_manager/event_manager.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/event_manager/event_manager.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/event_manager/event_manager.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
from hestia.manager_interface import ManagerInterface from event_manager import event_actions class EventManager(ManagerInterface): def _get_state_data(self, event): # pylint:disable=arguments-differ return event.event_type, event def subscribe(self, event): # pylint:disable=arguments-differ ...
31.238095
90
0.634909
154
1,312
5.24026
0.363636
0.100372
0.109046
0.138786
0.47088
0.463445
0.371747
0.287485
0.287485
0.158612
0
0
0.278963
1,312
41
91
32
0.853066
0.29878
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0.117647
0.176471
0.823529
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
6a750b59d5869e7c84ae1fcca0d133a7dbf28cce
9,165
py
Python
eval/scripts/human/html_gen.py
chateval/chatevalv2
7ba96d81842db00427a6d6351d5cea76a8766450
[ "Apache-2.0" ]
5
2018-06-11T19:47:23.000Z
2020-03-04T01:29:15.000Z
eval/scripts/human/html_gen.py
chateval/app
7ba96d81842db00427a6d6351d5cea76a8766450
[ "Apache-2.0" ]
12
2018-07-11T18:50:13.000Z
2022-02-10T10:45:58.000Z
eval/scripts/human/html_gen.py
chateval/app
7ba96d81842db00427a6d6351d5cea76a8766450
[ "Apache-2.0" ]
1
2018-06-29T14:52:16.000Z
2018-06-29T14:52:16.000Z
"""Stores all the helper functions that generate html""" import random def generate_2choice_html(example): '''Makes html for ranking form for the specified row index. Returns the HTML for a table of radio buttons used for ranking, as well as a count of the total number of radio buttons. ''' # Check f...
33.448905
295
0.59509
1,186
9,165
4.55312
0.279089
0.033704
0.026667
0.013333
0.359444
0.342407
0.311296
0.311296
0.311296
0.279074
0
0.012111
0.243208
9,165
274
296
33.448905
0.766436
0.072995
0
0.369565
1
0.1
0.773469
0.101561
0
0
0
0
0
1
0.021739
false
0
0.004348
0.008696
0.052174
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a75a5070f34939725c30b7941b46fda26295424
1,582
py
Python
python3_module_template/subproject/myexample.py
sdpython/python_project_template
e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57
[ "MIT" ]
null
null
null
python3_module_template/subproject/myexample.py
sdpython/python_project_template
e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57
[ "MIT" ]
null
null
null
python3_module_template/subproject/myexample.py
sdpython/python_project_template
e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @file @brief This the documentation of this module (myexampleb). """ class myclass: """ This is the documentation for this class. **example with a sphinx directives** It works everywhere in the documentation. .. exref:: :title: an example of use Ju...
18.611765
58
0.54488
199
1,582
4.301508
0.482412
0.056075
0.038551
0.042056
0.088785
0
0
0
0
0
0
0.006897
0.358407
1,582
84
59
18.833333
0.836453
0.755373
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
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
0
1
0
0
2
6a7ab579c54d59a8d5d95bf8ca299d1a0ccc36a3
10,384
py
Python
sdks/python/apache_beam/runners/portability/expansion_service_test.py
stephenoken/beam
4797f310b6671de6fd703502520f4b012b655c82
[ "Apache-2.0" ]
3
2020-08-28T17:47:26.000Z
2021-08-17T06:38:58.000Z
sdks/python/apache_beam/runners/portability/expansion_service_test.py
stephenoken/beam
4797f310b6671de6fd703502520f4b012b655c82
[ "Apache-2.0" ]
5
2020-11-13T19:06:10.000Z
2021-11-10T19:56:12.000Z
sdks/python/apache_beam/runners/portability/expansion_service_test.py
stephenoken/beam
4797f310b6671de6fd703502520f4b012b655c82
[ "Apache-2.0" ]
1
2018-09-30T05:34:06.000Z
2018-09-30T05:34:06.000Z
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
32.654088
92
0.74557
1,276
10,384
5.831505
0.212382
0.064507
0.058057
0.049993
0.470098
0.355463
0.336917
0.315011
0.291762
0.256283
0
0.00399
0.155335
10,384
317
93
32.757098
0.844374
0.090716
0
0.318584
0
0
0.074727
0.041715
0
0
0
0
0
1
0.19469
false
0
0.079646
0.150442
0.504425
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
6a7c3c233cce04ab709c5ec217d50c3347a2a2a8
2,429
py
Python
calc/history/calculations.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
calc/history/calculations.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
calc/history/calculations.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
"""Calculation history Class""" from calc.calculations.addition import Addition from calc.calculations.subtraction import Subtraction from calc.calculations.multiplication import Multiplication from calc.calculations.division import Division class Calculations: """Calculations class manages the history of calculati...
40.483333
86
0.712227
259
2,429
6.53668
0.200772
0.09746
0.05316
0.059067
0.385115
0.29179
0.200827
0.153574
0.153574
0.153574
0
0.001042
0.209963
2,429
60
87
40.483333
0.881188
0.258954
0
0.347826
0
0
0.03337
0
0
0
0
0
0
1
0.23913
false
0
0.086957
0
0.608696
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
6a863c2235ddfde035ee8193728b86e170dd1480
1,471
py
Python
costcalculator/forms.py
connor-c/Trip-Gas-Cost-Calculator
6101093ffd48b6cb6c4f847b8c1f40351617750b
[ "MIT" ]
null
null
null
costcalculator/forms.py
connor-c/Trip-Gas-Cost-Calculator
6101093ffd48b6cb6c4f847b8c1f40351617750b
[ "MIT" ]
8
2020-02-11T23:59:35.000Z
2022-02-10T07:16:43.000Z
costcalculator/forms.py
connor-c/Trip-Gas-Cost-Calculator
6101093ffd48b6cb6c4f847b8c1f40351617750b
[ "MIT" ]
null
null
null
from django import forms from django.core.validators import MinValueValidator, MinLengthValidator class OriginForm(forms.Form): origin_address = forms.CharField(validators=[MinLengthValidator(1)], widget=forms.TextInput(attrs={'class': 'form-control', 'id': 'inlineFormInputGroup', 'placeholder': '123 Tech St, Sili...
70.047619
220
0.747791
164
1,471
6.682927
0.329268
0.04927
0.109489
0.136861
0.684307
0.684307
0.684307
0.684307
0.684307
0.684307
0
0.02819
0.083617
1,471
20
221
73.55
0.784866
0
0
0
0
0
0.281441
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
6a8bca56c22e3267d252604b1793381dda94c58e
626
py
Python
src/picome/hukeyboard.py
guibohnert91/picome
9b91c28f7e83a2b730cafbda1a97205672f3e676
[ "MIT" ]
null
null
null
src/picome/hukeyboard.py
guibohnert91/picome
9b91c28f7e83a2b730cafbda1a97205672f3e676
[ "MIT" ]
null
null
null
src/picome/hukeyboard.py
guibohnert91/picome
9b91c28f7e83a2b730cafbda1a97205672f3e676
[ "MIT" ]
null
null
null
from adafruit_hid.keyboard import Keyboard from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS from adafruit_hid.keycode import Keycode import usb_hid import time class HumanKeyboard(object): def __init__(self): self.keyboard = Keyboard(usb_hid.devices) self.keyboardLayout = KeyboardLayou...
28.454545
73
0.702875
75
626
5.72
0.52
0.111888
0.104895
0.107226
0
0
0
0
0
0
0
0.004098
0.220447
626
22
74
28.454545
0.875
0.174121
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6a90540c04aa6d7b6d0419ad6f3c05ff1c4aa797
377
py
Python
scripts/field/Curbrock_Summon1.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/field/Curbrock_Summon1.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/field/Curbrock_Summon1.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Curbrock Summon 2 CURBROCK2 = 9400930 # MOD ID CURBROCKS_ESCAPE_ROUTE_VER2 = 600050040 # MAP ID CURBROCKS_ESCAPE_ROUTE_VER3 = 600050050 # MAP ID 2 sm.spawnMob(CURBROCK2, 190, -208, False) sm.createClock(1800) sm.addEvent(sm.invokeAfterDelay(1800000, "warp", CURBROCKS_ESCAPE_ROUTE_VER3, 0)) sm.waitForMobDeath(CURBRO...
31.416667
81
0.806366
53
377
5.509434
0.54717
0.205479
0.273973
0.150685
0
0
0
0
0
0
0
0.152493
0.095491
377
12
82
31.416667
0.703812
0.106101
0
0
0
0
0.012012
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a9096da46f0e3f90b72b1a819bf62ce11ddc6bd
786
py
Python
trainloops/listeners/cluster_killswitch.py
Gerryflap/master_thesis
5dc16e21b23837fee8a4532679bb5cb961af0b7c
[ "MIT" ]
null
null
null
trainloops/listeners/cluster_killswitch.py
Gerryflap/master_thesis
5dc16e21b23837fee8a4532679bb5cb961af0b7c
[ "MIT" ]
null
null
null
trainloops/listeners/cluster_killswitch.py
Gerryflap/master_thesis
5dc16e21b23837fee8a4532679bb5cb961af0b7c
[ "MIT" ]
null
null
null
""" Cancelling jobs on the University cluster forces programs to instantly quit, which sometimes crashes cluster nodes. As a remedy, this killswitch listener will stop the experiment in a nicer way to prevent this from happening. The experiment will be stopped if a file named "stop" is encountered i...
32.75
113
0.704835
106
786
5.122642
0.603774
0.071823
0
0
0
0
0
0
0
0
0
0
0.229008
786
23
114
34.173913
0.89604
0.507634
0
0
0
0
0.011142
0
0
0
0
0
0
1
0.272727
false
0.090909
0.181818
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
1
0
1
0
0
0
0
0
2
6a975a412e5d4fce44f6c3c23326742e66d78cbe
1,272
py
Python
authserver/mailauth/migrations/0011_mnserviceuser.py
yopiti/authserver
0a1f7f5a83d03963d1ecfb5199be8e05d3068dfd
[ "MIT" ]
8
2017-07-04T10:07:32.000Z
2022-01-02T10:31:43.000Z
authserver/mailauth/migrations/0011_mnserviceuser.py
yopiti/authserver
0a1f7f5a83d03963d1ecfb5199be8e05d3068dfd
[ "MIT" ]
14
2020-02-11T21:42:38.000Z
2022-03-28T16:00:55.000Z
authserver/mailauth/migrations/0011_mnserviceuser.py
yopiti/authserver
0a1f7f5a83d03963d1ecfb5199be8e05d3068dfd
[ "MIT" ]
1
2020-03-01T10:39:28.000Z
2020-03-01T10:39:28.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-03-13 00:16 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import mailauth.models import uuid class Migration(migrations.Migration): dependencies = [ ...
36.342857
118
0.633648
133
1,272
5.894737
0.556391
0.070153
0.035714
0.056122
0
0
0
0
0
0
0
0.032124
0.241352
1,272
34
119
37.411765
0.780311
0.054245
0
0
1
0
0.125833
0.019167
0
0
0
0
0
1
0
false
0.074074
0.222222
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
6aa73c2ad6102f4cce8d4e90a98090c3f6fe5363
342
py
Python
src/tools/types/obj.py
loongson-zn/build
d4bedebfa046b763c316e31c98b48ed2779741b9
[ "BSL-1.0" ]
215
2015-01-10T17:16:34.000Z
2022-02-23T15:22:08.000Z
src/tools/types/obj.py
loongson-zn/build
d4bedebfa046b763c316e31c98b48ed2779741b9
[ "BSL-1.0" ]
594
2015-01-22T16:17:55.000Z
2022-02-26T22:11:01.000Z
src/tools/types/obj.py
loongson-zn/build
d4bedebfa046b763c316e31c98b48ed2779741b9
[ "BSL-1.0" ]
302
2015-02-03T01:20:29.000Z
2022-02-12T07:01:28.000Z
# Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE.txt or copy at https://www.bfgroup.xyz/b2/LICENSE.txt) from b2.build import type def register (): type.register_type ('OBJ', ['obj'], None, ['NT', 'CYGWIN']) type.register_type ('OBJ'...
28.5
69
0.692982
49
342
4.795918
0.734694
0.153191
0.13617
0.161702
0
0
0
0
0
0
0
0.027586
0.152047
342
11
70
31.090909
0.782759
0.511696
0
0
0
0
0.110429
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
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
1
0
0
0
0
0
0
2
6aad34cdb7b95e79e68448f602b65f3d09cae50a
1,106
py
Python
test/smptest.py
myrtam/CANNR
b966a873ec60264b0fd42b81edadb5495237d7ea
[ "Apache-2.0" ]
null
null
null
test/smptest.py
myrtam/CANNR
b966a873ec60264b0fd42b81edadb5495237d7ea
[ "Apache-2.0" ]
null
null
null
test/smptest.py
myrtam/CANNR
b966a873ec60264b0fd42b81edadb5495237d7ea
[ "Apache-2.0" ]
1
2021-05-14T08:37:37.000Z
2021-05-14T08:37:37.000Z
""" Test harness for smp.py """ import sys import os sys.path.append('/Users/ptendick/open-source-workspace/cannr Image/source/cannr/lib') os.environ['PATH'] = '/Library/Frameworks/Python.framework/Versions/3.7/bin:' + os.environ['PATH'] import cannr import smp # Test openProcess by opening a Flask process def test_o...
32.529412
108
0.705244
133
1,106
5.842105
0.43609
0.083655
0.109395
0.148005
0.468468
0.254826
0.254826
0.254826
0.136422
0
0
0.01594
0.149186
1,106
33
109
33.515152
0.809777
0.117541
0
0.210526
0
0.105263
0.505176
0.39441
0
0
0
0
0
1
0.157895
false
0
0.210526
0.105263
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
6ab44cf57a381d44d95045fd0ee5b06ba9aa8eed
2,257
py
Python
tracker/view/error.py
cmm1107/arch-security-tracker
7d5f7d69f2b02c056c3888a9b70132c29432a468
[ "MIT" ]
null
null
null
tracker/view/error.py
cmm1107/arch-security-tracker
7d5f7d69f2b02c056c3888a9b70132c29432a468
[ "MIT" ]
null
null
null
tracker/view/error.py
cmm1107/arch-security-tracker
7d5f7d69f2b02c056c3888a9b70132c29432a468
[ "MIT" ]
null
null
null
from binascii import hexlify from functools import wraps from logging import error from os import urandom from random import randint from flask import make_response from flask import render_template from werkzeug.exceptions import BadRequest from werkzeug.exceptions import Forbidden from werkzeug.exceptions import Gon...
29.311688
116
0.717767
293
2,257
5.419795
0.296928
0.048489
0.083123
0.105793
0.085013
0.085013
0
0
0
0
0
0.012917
0.176783
2,257
76
117
29.697368
0.841765
0
0
0
0
0
0.078423
0
0
0
0
0
0
1
0.178571
false
0
0.285714
0.107143
0.660714
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
6ab4b36734b64370a49309c3224c455e6990233d
59,130
gyp
Python
base/base.gyp
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2018-01-27T22:40:53.000Z
2018-01-27T22:40:53.000Z
base/base.gyp
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2016-01-29T00:54:49.000Z
2016-01-29T00:54:49.000Z
base/base.gyp
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'includes': [ '../build/win_precompile.gypi', 'base.gypi', ], 'targets': [ { 'tar...
34.278261
96
0.532589
5,706
59,130
5.189975
0.13074
0.079692
0.014655
0.015499
0.505504
0.35159
0.271561
0.21608
0.189741
0.151415
0
0.007295
0.327668
59,130
1,724
97
34.298144
0.737618
0.074142
0
0.494788
0
0
0.557471
0.406606
0
0
0
0.00058
0
1
0
true
0
0.001226
0
0.001226
0.002452
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
6ad42755c1900a89dea96e604b75bea9a5c3b32c
9,507
py
Python
router.example.py
unyo/uhpackage
07d0263c586e5daa0012c3ff82754be381850911
[ "BSD-3-Clause" ]
null
null
null
router.example.py
unyo/uhpackage
07d0263c586e5daa0012c3ff82754be381850911
[ "BSD-3-Clause" ]
null
null
null
router.example.py
unyo/uhpackage
07d0263c586e5daa0012c3ff82754be381850911
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # routers are dictionaries of URL routing parameters. # # For each request, the effective router is: # the built-in default base router (shown below), # updated by the BASE router in routes.py routers, # updated by the app-specific router in routes.py routers (if an...
42.632287
164
0.679289
1,293
9,507
4.91802
0.235112
0.04246
0.042931
0.062746
0.261834
0.224092
0.182419
0.161032
0.11983
0.086806
0
0.008371
0.195856
9,507
222
165
42.824324
0.823414
0.91196
0
0.142857
0
0
0.037406
0
0
0
0
0
0
1
0.071429
false
0.071429
0.071429
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
6ae0b2e5802c9a882bad8e33b9afb8e9564c00ff
4,558
py
Python
tests/model/test_guest.py
bcurnow/rfid-security-svc
d3806cb74d3d0cc2623ea425230dc8781ba4d8b4
[ "Apache-2.0" ]
null
null
null
tests/model/test_guest.py
bcurnow/rfid-security-svc
d3806cb74d3d0cc2623ea425230dc8781ba4d8b4
[ "Apache-2.0" ]
null
null
null
tests/model/test_guest.py
bcurnow/rfid-security-svc
d3806cb74d3d0cc2623ea425230dc8781ba4d8b4
[ "Apache-2.0" ]
null
null
null
import pytest from unittest.mock import patch import rfidsecuritysvc.model.guest as model from rfidsecuritysvc.model.color import Color from rfidsecuritysvc.model.guest import Guest from rfidsecuritysvc.model.sound import Sound from rfidsecuritysvc.exception import SoundNotFoundError def test_Guest(assert_model, def...
33.762963
136
0.740895
627
4,558
5.145136
0.089314
0.130192
0.147241
0.158091
0.791383
0.738686
0.706138
0.640422
0.563546
0.49349
0
0.011114
0.131417
4,558
134
137
34.014925
0.803738
0
0
0.435644
0
0
0.17047
0.130979
0
0
0.012286
0
0.29703
1
0.158416
false
0
0.069307
0.019802
0.247525
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
6ae692e1d71ed7665097647321e9c90f2d578c91
206
py
Python
test_data/parse/unexpected/symbol_table/inheritance_from_non_class/meta_model.py
aas-core-works/aas-core-csharp-codegen
731f706e2d12bf80722ac55d920fcf5402fb26ef
[ "MIT" ]
null
null
null
test_data/parse/unexpected/symbol_table/inheritance_from_non_class/meta_model.py
aas-core-works/aas-core-csharp-codegen
731f706e2d12bf80722ac55d920fcf5402fb26ef
[ "MIT" ]
2
2021-11-17T22:11:59.000Z
2021-11-18T15:17:40.000Z
test_data/parse/unexpected/symbol_table/inheritance_from_non_class/meta_model.py
aas-core-works/aas-core-csharp-codegen
731f706e2d12bf80722ac55d920fcf5402fb26ef
[ "MIT" ]
null
null
null
class Some_enum(Enum): some_literal = "some_literal" class Something(Some_enum): pass class Reference: pass __book_url__ = "dummy" __book_version__ = "dummy" associate_ref_with(Reference)
12.875
33
0.737864
26
206
5.230769
0.538462
0.117647
0
0
0
0
0
0
0
0
0
0
0.174757
206
15
34
13.733333
0.8
0
0
0.222222
0
0
0.106796
0
0
0
0
0
0
1
0
false
0.222222
0
0
0.444444
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
1
0
0
0
0
0
2
0a819052de1a3c3f8fa2090ece2179f25885147a
767
py
Python
pype/celery.py
h2020-westlife-eu/VRE
a85d5370767939b1971415be48a551ae6b1edc5d
[ "MIT" ]
1
2016-06-28T13:13:27.000Z
2016-06-28T13:13:27.000Z
pype/celery.py
h2020-westlife-eu/VRE
a85d5370767939b1971415be48a551ae6b1edc5d
[ "MIT" ]
12
2016-06-28T11:19:46.000Z
2017-05-05T14:24:14.000Z
pype/celery.py
h2020-westlife-eu/VRE
a85d5370767939b1971415be48a551ae6b1edc5d
[ "MIT" ]
null
null
null
# coding: utf-8 # Copyright Luna Technology 2015 # Matthieu Riviere <mriviere@luna-technology.com> from __future__ import absolute_import import os from celery import Celery # Set the default Django settings module for the 'celery' program os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pype.settings') from djan...
23.96875
65
0.783572
104
767
5.634615
0.548077
0.047782
0.068259
0
0
0
0
0
0
0
0
0.00885
0.116037
767
31
66
24.741935
0.855457
0.20339
0
0
0
0
0.120462
0.036304
0
0
0
0
0
1
0.117647
false
0
0.411765
0
0.529412
0.058824
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
0a86cf6fa8f86673090e299d74c945f26f918502
909
py
Python
backend/app/app/db/session.py
zhkuo24/full-stack-fastapi-demo
25b0d4e5c7fe303b751974748b687e98d4454f48
[ "MIT" ]
7
2021-01-06T15:44:58.000Z
2022-02-12T05:07:10.000Z
backend/app/app/db/session.py
zhkuo24/full-stack-fastapi-demo
25b0d4e5c7fe303b751974748b687e98d4454f48
[ "MIT" ]
null
null
null
backend/app/app/db/session.py
zhkuo24/full-stack-fastapi-demo
25b0d4e5c7fe303b751974748b687e98d4454f48
[ "MIT" ]
2
2022-03-09T23:20:06.000Z
2022-03-11T02:48:08.000Z
# -*- coding: utf-8 -*- # @File : session.py # @Author : zhkuo # @Time : 2021/1/3 9:12 下午 # @Desc : from sqlalchemy import create_engine # from sqlalchemy.orm import scoped_session from sqlalchemy.orm import sessionmaker from app.core.config import settings """ 参考: https://www.osgeo.cn/sqlalchemy/orm/session_...
28.40625
99
0.766777
122
909
5.606557
0.639344
0.076023
0.049708
0.067251
0.149123
0.149123
0.149123
0
0
0
0
0.034611
0.110011
909
31
100
29.322581
0.810878
0.306931
0
0
0
0
0.055375
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0a9de0f402594abfa8300f717bad17c1f1a23420
856
py
Python
formidable/forms/boundfield.py
jayvdb/django-formidable
df8bcd0c882990d72d302be47aeb4fb11915b1fa
[ "MIT" ]
null
null
null
formidable/forms/boundfield.py
jayvdb/django-formidable
df8bcd0c882990d72d302be47aeb4fb11915b1fa
[ "MIT" ]
null
null
null
formidable/forms/boundfield.py
jayvdb/django-formidable
df8bcd0c882990d72d302be47aeb4fb11915b1fa
[ "MIT" ]
null
null
null
from django.forms import forms class FormatBoundField(forms.BoundField): """ The format field skips the rendering with the label attribute in the form level (i.e => form.as_p() doesn't have to generate any label for format field). This boundfield has this main goal. """ def __init__(self,...
23.777778
76
0.671729
109
856
5.192661
0.522936
0.042403
0.127208
0.14841
0.212014
0.151943
0.151943
0
0
0
0
0
0.246495
856
35
77
24.457143
0.877519
0.378505
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.214286
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
0ab1197213ef76c98f29e3e63d45d1418b5c01ea
583
py
Python
app/configs/development_settings.py
DIS-SIN/FlaskShell
5f6d0cfeac8bea0b274d16a497e3a20cd00b155a
[ "CC0-1.0" ]
null
null
null
app/configs/development_settings.py
DIS-SIN/FlaskShell
5f6d0cfeac8bea0b274d16a497e3a20cd00b155a
[ "CC0-1.0" ]
null
null
null
app/configs/development_settings.py
DIS-SIN/FlaskShell
5f6d0cfeac8bea0b274d16a497e3a20cd00b155a
[ "CC0-1.0" ]
null
null
null
######################################################## FLASK SETTINGS ############################################################## #Variable used to securly sign cookies ##THIS IS SET IN DEV ENVIRONMENT FOR CONVENIENCE BUT SHOULD BE SET AS AN ENVIRONMENT VARIABLE IN PROD SECRET_KEY = "dev" ########################...
58.3
134
0.476844
56
583
4.928571
0.660714
0.057971
0.07971
0.094203
0.26087
0.26087
0.26087
0.26087
0
0
0
0.009542
0.101201
583
9
135
64.777778
0.517176
0.466552
0
0
0
0
0.453333
0.413333
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0abb04a5bd64547bc5fd647c86d2afb7977fd604
55
py
Python
src/data_setup/__init__.py
data-stories/chart-experiment
f4d7c86c32edca8bcb474cce5f6312138acf5cc9
[ "MIT" ]
null
null
null
src/data_setup/__init__.py
data-stories/chart-experiment
f4d7c86c32edca8bcb474cce5f6312138acf5cc9
[ "MIT" ]
1
2021-08-07T07:39:17.000Z
2021-08-07T07:39:17.000Z
src/data_setup/__init__.py
data-stories/chart-experiment
f4d7c86c32edca8bcb474cce5f6312138acf5cc9
[ "MIT" ]
1
2021-08-06T16:27:00.000Z
2021-08-06T16:27:00.000Z
__all__ = ["data_setup", "chart_params", "base_params"]
55
55
0.727273
7
55
4.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.072727
55
1
55
55
0.647059
0
0
0
0
0
0.589286
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
0abb3c732259b19c9e708a20325a84c61a393244
1,851
py
Python
src/aiocomcrawl/models.py
rudaporto/aiocomcrawl
9f76097d9f82c5790f968d26a6f1c3908084569b
[ "Apache-2.0" ]
null
null
null
src/aiocomcrawl/models.py
rudaporto/aiocomcrawl
9f76097d9f82c5790f968d26a6f1c3908084569b
[ "Apache-2.0" ]
null
null
null
src/aiocomcrawl/models.py
rudaporto/aiocomcrawl
9f76097d9f82c5790f968d26a6f1c3908084569b
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from typing import Any, List, Optional, Union from pydantic import BaseModel, Field, HttpUrl, validator from pydantic.dataclasses import dataclass class Index(BaseModel): id: str name: str time_gate: HttpUrl = Field(alias="timegate") cdx_api: HttpUrl = Field(alias="cdx-a...
23.730769
81
0.678012
234
1,851
5.303419
0.444444
0.062047
0.031426
0.038678
0.053183
0.053183
0.053183
0.053183
0.053183
0
0
0
0.219341
1,851
77
82
24.038961
0.858824
0.110211
0
0.203704
0
0
0.048437
0
0
0
0
0.012987
0
1
0.018519
false
0
0.074074
0
0.907407
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
0ac2127dd527328224d7a0dde62602b62da1bdb4
678
py
Python
lgtv_rs232/commands/remote_control/remote_control_lock.py
davo22/lgtv_rs232
40562cddf7acdf6fa95124029595e3838dd9e7b0
[ "MIT" ]
null
null
null
lgtv_rs232/commands/remote_control/remote_control_lock.py
davo22/lgtv_rs232
40562cddf7acdf6fa95124029595e3838dd9e7b0
[ "MIT" ]
null
null
null
lgtv_rs232/commands/remote_control/remote_control_lock.py
davo22/lgtv_rs232
40562cddf7acdf6fa95124029595e3838dd9e7b0
[ "MIT" ]
null
null
null
from enum import Enum class RemoteControlLock(Enum): OFF = 0 ON = 1 def map_to_state(data: int): return RemoteControlLock(data) class RemoteControlLockCommands(object): _command = "km" def __init__(self, send_command): self._send_command = send_command async def get_state(self): ...
22.6
81
0.70649
88
678
5.159091
0.329545
0.121145
0.132159
0.125551
0.378855
0.378855
0.207048
0.207048
0.207048
0.207048
0
0.009276
0.205015
678
29
82
23.37931
0.833024
0
0
0
0
0
0.00295
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.166667
0.833333
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
0ac4d53d399503faaa282a5d9403e61ac65e0976
311
py
Python
Dataset/Leetcode/train/58/28.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/28.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/28.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s): """ :type s: str :rtype: int """ cnt, tail = 0, len(s) - 1 while tail >= 0 and s[tail] == ' ': tail -= 1 while tail >= 0 and s[tail] != ' ': cnt += 1 tail -= 1 return cnt
20.733333
43
0.360129
37
311
3.027027
0.486486
0.133929
0.178571
0.196429
0.339286
0.339286
0.339286
0
0
0
0
0.044586
0.495177
311
14
44
22.214286
0.66879
0
0
0.222222
0
0
0.007874
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
0ad05115e0ac22a4083ac999a331c7da804f1e24
1,058
py
Python
music/models.py
anirudha-bs/Django_music_app
1b80bd4299a35fb707c32307dd115074a8ecba9f
[ "Apache-2.0" ]
null
null
null
music/models.py
anirudha-bs/Django_music_app
1b80bd4299a35fb707c32307dd115074a8ecba9f
[ "Apache-2.0" ]
null
null
null
music/models.py
anirudha-bs/Django_music_app
1b80bd4299a35fb707c32307dd115074a8ecba9f
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.models import Permission, User from django.db import models class Album(models.Model): user = models.ForeignKey(User, default=1,on_delete=models.CASCADE) artist = models.CharField(max_length=250) album_title = models.CharField(max_length=500) genre = models.CharField(max_lengt...
37.785714
74
0.73535
137
1,058
5.481752
0.335766
0.11984
0.143808
0.191744
0.619174
0.466045
0.466045
0.466045
0.466045
0.466045
0
0.022198
0.148393
1,058
28
75
37.785714
0.811321
0
0
0.285714
0
0
0.024551
0
0
0
0
0
0
1
0.095238
false
0
0.095238
0.095238
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
0ad5ae1fbe9b6f2bb0a59a7bd762d3ef2ea1b7ed
22,315
py
Python
src/tests/cfp/views/test_cfp_user.py
xhub/pretalx
33bd07ec98ddeb5b7ff35fe7e30c4d38bef57d7e
[ "Apache-2.0" ]
null
null
null
src/tests/cfp/views/test_cfp_user.py
xhub/pretalx
33bd07ec98ddeb5b7ff35fe7e30c4d38bef57d7e
[ "Apache-2.0" ]
null
null
null
src/tests/cfp/views/test_cfp_user.py
xhub/pretalx
33bd07ec98ddeb5b7ff35fe7e30c4d38bef57d7e
[ "Apache-2.0" ]
null
null
null
import pytest from django.conf import settings from django.core import mail as djmail from django.core.files.uploadedfile import SimpleUploadedFile from django.urls import reverse from django_scopes import scope from rest_framework.authtoken.models import Token from pretalx.submission.models import SubmissionStates ...
36.945364
92
0.6946
2,564
22,315
5.819423
0.086583
0.054889
0.052275
0.06273
0.785202
0.735675
0.70002
0.65009
0.615374
0.564439
0
0.01171
0.200179
22,315
603
93
37.006634
0.824294
0
0
0.60735
0
0
0.113511
0.03585
0
0
0
0
0.210832
1
0.067698
false
0.01354
0.015474
0
0.083172
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
0ad7c645c6d3067f3c0c435d4f3782feef6cf400
218
py
Python
src/main/java/com/bailei/study/beautyOfCoding/cpu50.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
src/main/java/com/bailei/study/beautyOfCoding/cpu50.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
src/main/java/com/bailei/study/beautyOfCoding/cpu50.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # -*- coding: UTF-8 -*- import time busyTime = 10 idleTime = busyTime while True: start = time.clock() while time.clock() - start < busyTime: pass time.sleep(busyTime / 1000)
14.533333
42
0.614679
27
218
4.962963
0.666667
0.134328
0
0
0
0
0
0
0
0
0
0.048485
0.243119
218
14
43
15.571429
0.763636
0.178899
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.125
0.125
0
0.125
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
1
0
0
0
0
0
2
0ad87d7268affd7dfe13527d4d842a2d43c681ac
157
py
Python
client_driver.py
tlagore/kv_store
e3f139eabaa14d0e001193e21baf7e5c96e0358d
[ "MIT" ]
null
null
null
client_driver.py
tlagore/kv_store
e3f139eabaa14d0e001193e21baf7e5c96e0358d
[ "MIT" ]
null
null
null
client_driver.py
tlagore/kv_store
e3f139eabaa14d0e001193e21baf7e5c96e0358d
[ "MIT" ]
null
null
null
from kv_client.kv_client import KVClient def main(): kvSlave = KVClient(1, "127.0.0.1", 3456) kvSlave.start() if __name__ == "__main__": main()
19.625
44
0.656051
23
157
4.043478
0.652174
0.172043
0
0
0
0
0
0
0
0
0
0.086614
0.191083
157
8
45
19.625
0.645669
0
0
0
0
0
0.107595
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0af1145915916f93873c49da300235d391c3c012
95
py
Python
T05-09/program.py
maa76/SSof-Project1920
9b4ad9ac41a648c425fcfcd49cd52ff84e528bde
[ "MIT" ]
2
2019-11-20T19:26:07.000Z
2019-11-22T00:42:23.000Z
T05-09/program.py
maa76/SSof-Project1920
9b4ad9ac41a648c425fcfcd49cd52ff84e528bde
[ "MIT" ]
2
2019-11-28T05:21:24.000Z
2019-11-28T05:21:58.000Z
T05-09/program.py
maa76/SSof-Project1920
9b4ad9ac41a648c425fcfcd49cd52ff84e528bde
[ "MIT" ]
25
2019-11-27T01:40:56.000Z
2019-12-04T23:38:59.000Z
nis=get('nis') q1="xpto1" q2=nis + "xpto2" query=query1.q2 koneksi=0 q=execute(query,koneksi)
11.875
24
0.705263
17
95
3.941176
0.705882
0
0
0
0
0
0
0
0
0
0
0.081395
0.094737
95
7
25
13.571429
0.697674
0
0
0
0
0
0.138298
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
0af19b677c50c3526ce7825f2f9c6b76ac47738c
715
py
Python
projects/models.py
javixeneize/asvs-1
31e9fdfd2d538c8ed1adf23fcb4f143ef28541c6
[ "MIT" ]
1
2020-10-01T05:55:39.000Z
2020-10-01T05:55:39.000Z
projects/models.py
Tasha-Carty-220/asvs
634cc0e96daedc91d1acc06827ce82e9c13f520d
[ "MIT" ]
null
null
null
projects/models.py
Tasha-Carty-220/asvs
634cc0e96daedc91d1acc06827ce82e9c13f520d
[ "MIT" ]
null
null
null
from django.db import models from django.db.models import Q from django.contrib.auth.models import User from django.urls import reverse class ProjectQuerySet(models.QuerySet): def projects_per_user(self, user): return self.filter( Q(project_owner=user.username) ) class Projects(model...
28.6
65
0.738462
93
715
5.483871
0.494624
0.078431
0.047059
0.094118
0
0
0
0
0
0
0
0.013536
0.173427
715
24
66
29.791667
0.849408
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
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
0
1
1
0
0
2
0af2fa6e42815eb039756485d8f3d3cde750d905
137
py
Python
faced/const.py
binhmuc/faced
cbc18f552da9c53628d61d56de7dfda451a6e25f
[ "MIT" ]
null
null
null
faced/const.py
binhmuc/faced
cbc18f552da9c53628d61d56de7dfda451a6e25f
[ "MIT" ]
null
null
null
faced/const.py
binhmuc/faced
cbc18f552da9c53628d61d56de7dfda451a6e25f
[ "MIT" ]
null
null
null
import os MODELS_PATH = os.path.join(os.path.dirname(__file__), "models") YOLO_SIZE = 288 YOLO_TARGET = 9 CORRECTOR_SIZE = 50
15.222222
64
0.70073
21
137
4.190476
0.666667
0.136364
0
0
0
0
0
0
0
0
0
0.054054
0.189781
137
8
65
17.125
0.738739
0
0
0
0
0
0.046512
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
0af494f1b9f9c81499c5786b2c2ea3e48e90635b
1,361
py
Python
a1.py
pscly/shua_shouji
1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6
[ "MulanPSL-1.0" ]
null
null
null
a1.py
pscly/shua_shouji
1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6
[ "MulanPSL-1.0" ]
null
null
null
a1.py
pscly/shua_shouji
1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6
[ "MulanPSL-1.0" ]
null
null
null
# -*- encoding=utf8 -*- __author__ = "pscly" from airtest.core.api import * from airtest.cli.parser import cli_setup # from douyin import * if not cli_setup(): auto_setup(__file__, logdir=True, devices=[ "android://127.0.0.1:5037/decc8da3?cap_method=MINICAP_STREAM&&ori_method=MINICAPORI&&touch_method=...
23.877193
121
0.409993
117
1,361
4.57265
0.632479
0.074766
0.056075
0
0
0
0
0
0
0
0
0.051753
0.119765
1,361
56
122
24.303571
0.394825
0.124173
0
0.230769
0
0.038462
0.561285
0.530008
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0af5f234889bb24214fc2ee681419b82d7cdaceb
13,717
py
Python
models/psg_seed_resnet.py
VITA-Group/Peek-a-Boo
9290d4e5e3aee0dff994e1a664ec91bd6ec93176
[ "MIT" ]
2
2022-01-22T03:57:21.000Z
2022-01-30T20:44:32.000Z
models/psg_seed_resnet.py
VITA-Group/Peek-a-Boo
9290d4e5e3aee0dff994e1a664ec91bd6ec93176
[ "MIT" ]
null
null
null
models/psg_seed_resnet.py
VITA-Group/Peek-a-Boo
9290d4e5e3aee0dff994e1a664ec91bd6ec93176
[ "MIT" ]
2
2022-01-30T12:26:56.000Z
2022-03-14T12:42:06.000Z
'''ResNet using PSG in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' from numpy.lib.arraysetops import isin import torch import torch.nn as nn import torch.nn.functiona...
37.787879
139
0.679813
1,839
13,717
4.813486
0.11093
0.068798
0.042589
0.034794
0.745707
0.720176
0.684704
0.661432
0.645504
0.627429
0
0.02672
0.216957
13,717
362
140
37.892265
0.797412
0.064008
0
0.573333
0
0
0.029962
0.003726
0
0
0
0
0
1
0.066667
false
0
0.026667
0
0.156667
0.006667
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0af8ec7bff7f3176683d674120e0f5944b63d168
11,868
py
Python
lib/TelloAPI.py
wuhuikai/DeepDrone
f4700178a7568fa9e308f34d0223e28635eb7660
[ "MIT" ]
1
2019-08-19T00:12:56.000Z
2019-08-19T00:12:56.000Z
lib/TelloAPI.py
wuhuikai/DeepDrone
f4700178a7568fa9e308f34d0223e28635eb7660
[ "MIT" ]
null
null
null
lib/TelloAPI.py
wuhuikai/DeepDrone
f4700178a7568fa9e308f34d0223e28635eb7660
[ "MIT" ]
null
null
null
import cv2 import time import socket import threading class Response(object): def __init__(self): pass def recv(self, data): pass def pop(self): pass def empty(self): pass class Command(Response): def __init__(self): super(Command, self).__init__() ...
28.528846
153
0.565133
1,449
11,868
4.47412
0.151829
0.077125
0.053216
0.046275
0.450563
0.3648
0.292303
0.292303
0.281814
0.24356
0
0.028016
0.311257
11,868
415
154
28.59759
0.765109
0.229441
0
0.188172
0
0
0.057724
0
0
0
0
0
0
1
0.311828
false
0.026882
0.021505
0.026882
0.596774
0.005376
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
0afbe95b203d0f0c8eb9b8de7581ea6aec0cc6c2
450
py
Python
netforce_account/netforce_account/migrations/credit_remain_cur.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
27
2015-09-30T23:53:30.000Z
2021-06-07T04:56:25.000Z
netforce_account/netforce_account/migrations/credit_remain_cur.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
191
2015-10-08T11:46:30.000Z
2019-11-14T02:24:36.000Z
netforce_account/netforce_account/migrations/credit_remain_cur.py
nfco/netforce
35252eecd0a6633ab9d82162e9e3ff57d4da029a
[ "MIT" ]
32
2015-10-01T03:59:43.000Z
2022-01-13T07:31:05.000Z
from netforce.model import get_model from netforce import migration from netforce import database class Migration(migration.Migration): _name="account.credit_remain_cur" _version="2.5.0" def migrate(self): db=database.get_connection() db.execute("UPDATE account_invoice SET amount_credit_re...
32.142857
170
0.791111
63
450
5.380952
0.52381
0.176991
0.212389
0.123894
0
0
0
0
0
0
0
0.007772
0.142222
450
13
171
34.615385
0.870466
0
0
0
0
0
0.395556
0.208889
0
0
0
0
0
1
0.1
false
0
0.3
0
0.7
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
0afe1be38b21464d40015306f8c1387f5700680f
4,962
py
Python
tests/test_structure_learning.py
thunderbug1/pyanom
e442bff70a4d1880a9a698c020287edf1933d498
[ "MIT" ]
null
null
null
tests/test_structure_learning.py
thunderbug1/pyanom
e442bff70a4d1880a9a698c020287edf1933d498
[ "MIT" ]
null
null
null
tests/test_structure_learning.py
thunderbug1/pyanom
e442bff70a4d1880a9a698c020287edf1933d498
[ "MIT" ]
null
null
null
import io import unittest import numpy as np class TestGraphicalLasso(unittest.TestCase): """Basic test cases.""" def _getTarget(self): from pyanom.structure_learning import GraphicalLasso return GraphicalLasso def _makeOne(self, *args, **kwargs): return self._getTarget()(*args,...
48.174757
77
0.438734
428
4,962
4.995327
0.455607
0.01637
0.02058
0.012161
0.13377
0.120674
0.1029
0.1029
0.1029
0.058934
0
0.503639
0.446191
4,962
102
78
48.647059
0.274381
0.003426
0
0.056818
0
0
0.00162
0
0
0
0
0
0.045455
1
0.068182
false
0
0.045455
0.011364
0.147727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0afefe0acef029f680c5802bbedac80261a2e2f4
8,958
py
Python
gremlin-python/src/main/jython/tests/driver/test_client.py
jseekamp/tinkerpop
5f7b7d2c4353cf2d8ee48eed6c0e5632666d16c0
[ "Apache-2.0" ]
1
2019-06-24T09:10:32.000Z
2019-06-24T09:10:32.000Z
gremlin-python/src/main/jython/tests/driver/test_client.py
jseekamp/tinkerpop
5f7b7d2c4353cf2d8ee48eed6c0e5632666d16c0
[ "Apache-2.0" ]
4
2021-01-21T01:33:32.000Z
2022-01-21T23:48:58.000Z
gremlin-python/src/main/jython/tests/driver/test_client.py
jseekamp/tinkerpop
5f7b7d2c4353cf2d8ee48eed6c0e5632666d16c0
[ "Apache-2.0" ]
null
null
null
''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
36.713115
113
0.667002
1,128
8,958
5.187057
0.180851
0.056913
0.105965
0.129892
0.692189
0.665869
0.654931
0.654931
0.651854
0.651854
0
0.018361
0.185309
8,958
243
114
36.864198
0.783365
0.142443
0
0.767442
0
0
0.121738
0.0137
0
0
0
0
0.19186
1
0.081395
false
0
0.046512
0
0.127907
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7c10a8d2f209ef6de0439f6adc19d3fc6d877d41
678
py
Python
src/genie/libs/parser/iosxe/tests/ShowIpv6ProtocolsSectionRip/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxe/tests/ShowIpv6ProtocolsSectionRip/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxe/tests/ShowIpv6ProtocolsSectionRip/cli/equal/golden_output_2_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { "vrf": { "VRF1": { "address_family": { "ipv6": { "instance": { "rip ripng": { "redistribute": { "static": {"route_policy": "static-to-rip"}, ...
29.478261
76
0.227139
23
678
6.565217
0.869565
0
0
0
0
0
0
0
0
0
0
0.043103
0.657817
678
22
77
30.818182
0.607759
0
0
0
0
0
0.212389
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
1
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
7c283d63bcdc25c314b3c41b483eb7c2c6064da2
527
py
Python
02-static-templates-files/02_html_template.py
saidulislam/flask-bootcamp-2
4ba8f5e012aa0159275ab264f0247815dcf635e6
[ "Apache-2.0" ]
null
null
null
02-static-templates-files/02_html_template.py
saidulislam/flask-bootcamp-2
4ba8f5e012aa0159275ab264f0247815dcf635e6
[ "Apache-2.0" ]
null
null
null
02-static-templates-files/02_html_template.py
saidulislam/flask-bootcamp-2
4ba8f5e012aa0159275ab264f0247815dcf635e6
[ "Apache-2.0" ]
null
null
null
from flask import Flask, app = Flask(__name__) @app.route("/") def homepage(): return "Paws Rescue Center 🐾" @app.route("/about") def about(): return """We are a non-profit organization working as an animal rescue center. We aim to help you connect with purrfect furbaby for you! The ani...
31
91
0.677419
78
527
4.435897
0.730769
0.046243
0
0
0
0
0
0
0
0
0
0
0.225806
527
17
92
31
0.845588
0
0
0
0
0
0.636719
0
0
0
0
0
0
0
null
null
0
0.076923
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
7c2f74f5570ad8ece2d2a501cd63b62951484c2c
844
py
Python
guid.py
lihuiba/SoftSAN
1b8ab2cae92b7aac34211909b27d4ebe595275d7
[ "Apache-2.0" ]
1
2015-08-02T09:53:18.000Z
2015-08-02T09:53:18.000Z
guid.py
lihuiba/SoftSAN
1b8ab2cae92b7aac34211909b27d4ebe595275d7
[ "Apache-2.0" ]
null
null
null
guid.py
lihuiba/SoftSAN
1b8ab2cae92b7aac34211909b27d4ebe595275d7
[ "Apache-2.0" ]
2
2018-03-21T04:59:50.000Z
2019-12-03T15:54:17.000Z
import random import messages_pb2 as msg def assign(x, y): x.a=y.a; x.b=y.b; x.c=y.c; x.d=y.d def isZero(x): return (x.a==0 and x.b==0 and x.c==0 and x.d==0) def setZero(x): x.a=0; x.b=0; x.c=0; x.d=0 def toStr(x): return "%08x-%08x-%08x-%08x" % (x.a, x.b, x.c, x.d) def toTuple(x): return (x.a,...
19.181818
55
0.562796
183
844
2.590164
0.20765
0.021097
0.118143
0.202532
0.2173
0.046414
0.046414
0.046414
0.046414
0
0
0.0625
0.222749
844
43
56
19.627907
0.660061
0
0
0.147059
0
0
0.023725
0
0
0
0.04745
0
0
1
0.235294
false
0
0.058824
0.088235
0.470588
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
7c30ba325b9fb817b1364d8d7e3e057255111d8c
259
py
Python
letters_of_sherlock.py
MariannaJan/LettersOfSherlock
cf356c002078d4e0e6bcf1a669bc8b358680460f
[ "FTL" ]
null
null
null
letters_of_sherlock.py
MariannaJan/LettersOfSherlock
cf356c002078d4e0e6bcf1a669bc8b358680460f
[ "FTL" ]
null
null
null
letters_of_sherlock.py
MariannaJan/LettersOfSherlock
cf356c002078d4e0e6bcf1a669bc8b358680460f
[ "FTL" ]
null
null
null
import lettercounter as lc #Books form Gutenberg Project: https://www.gutenberg.org/ebooks/author/69 lc.showPlots(text_directory_pathname="./Books/", title="Sir Arthur Conan Doyle's favourite letters", legend_label_main="in Doyle's stories")
37
73
0.749035
36
259
5.277778
0.861111
0.063158
0
0
0
0
0
0
0
0
0
0.008969
0.138996
259
7
74
37
0.843049
0.277992
0
0
0
0
0.363636
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
7c3538aced9958f0470322c0f12570121760b4ab
593
py
Python
src/pyRofex/components/messages.py
guillerminaamorin/pyRofex
14fd623ab1f1a3213e51a9454485ed478912075f
[ "MIT" ]
2
2020-12-15T22:30:40.000Z
2020-12-15T22:30:51.000Z
src/pyRofex/components/messages.py
guillerminaamorin/pyRofex
14fd623ab1f1a3213e51a9454485ed478912075f
[ "MIT" ]
null
null
null
src/pyRofex/components/messages.py
guillerminaamorin/pyRofex
14fd623ab1f1a3213e51a9454485ed478912075f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ pyRofex.components.messages Defines APIs messages templates """ # Template for a Market Data Subscription message MARKET_DATA_SUBSCRIPTION = '{{"type":"smd","level":1, "entries":[{entries}],"products":[{symbols}]}}' # Template for an Order Subscription message ORDER_SUBSCRIPTION = ...
37.0625
101
0.689713
68
593
5.955882
0.617647
0.074074
0.162963
0.11358
0.148148
0
0
0
0
0
0
0.003817
0.116358
593
15
102
39.533333
0.769084
0.472175
0
0
0
0
0.672355
0.641638
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7c3550de30b723134e6acdc5e3a7cc90bba86785
405
py
Python
course/task_6/flask_app.py
duboviy/async
5055daddc66e5335fb772aeb59493cc63e4a2739
[ "MIT" ]
6
2016-10-05T16:12:55.000Z
2019-04-22T11:43:21.000Z
course/task_6/flask_app.py
duboviy/async
5055daddc66e5335fb772aeb59493cc63e4a2739
[ "MIT" ]
null
null
null
course/task_6/flask_app.py
duboviy/async
5055daddc66e5335fb772aeb59493cc63e4a2739
[ "MIT" ]
2
2016-11-01T21:32:27.000Z
2016-12-24T14:00:43.000Z
#!/usr/bin/env python3.4 from flask import Flask import requests from fibonacci import fibonacci as fib app = Flask(__name__) @app.route('/count/<key>') def count(key): return requests.get('http://127.0.0.1:8080/count/{}'.format(key)).text @app.route('/fibonacci/<n>') def fibonacci(n): return str(fib(int(...
18.409091
74
0.671605
66
405
3.939394
0.575758
0.030769
0.023077
0
0
0
0
0
0
0
0
0.05698
0.133333
405
21
75
19.285714
0.683761
0.05679
0
0
0
0
0.186352
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.166667
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
0
1
1
0
0
2
7c36efe3001b7afd18524c2fd69ee073ca3d2a5c
144
py
Python
myproject/IND_Project/backend/signup/apps.py
captainTOKIO/Premchand_Aug2022_fullstack_august_python1
5fbbdd106a764c2f862cf933fdcd69d6bf4ebdf0
[ "MIT" ]
4
2021-06-30T07:14:22.000Z
2021-08-16T04:52:35.000Z
myproject/IND_Project/backend/signup/apps.py
captainTOKIO/Premchand_Aug2022_fullstack_august_python1
5fbbdd106a764c2f862cf933fdcd69d6bf4ebdf0
[ "MIT" ]
1
2022-03-28T21:14:05.000Z
2022-03-28T21:14:05.000Z
signup/apps.py
ericu-u/GirlHacks
4e800ab8ab3e33a490dc771759ca8b9be08e1441
[ "MIT" ]
4
2021-06-27T04:26:21.000Z
2021-08-13T13:00:56.000Z
from django.apps import AppConfig class SignupConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'signup'
20.571429
56
0.756944
17
144
6.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.152778
144
6
57
24
0.877049
0
0
0
0
0
0.243056
0.201389
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2