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
e2a4a474063c3d3a0c1955abc43e6bbd6b0f9e4d
5,417
py
Python
src/pyside2_demo/frontend/example01/example01.py
chihyi-liao/pyside2_demo
410bdaf0876897febf4607ff73928c60186c7be1
[ "MIT" ]
null
null
null
src/pyside2_demo/frontend/example01/example01.py
chihyi-liao/pyside2_demo
410bdaf0876897febf4607ff73928c60186c7be1
[ "MIT" ]
null
null
null
src/pyside2_demo/frontend/example01/example01.py
chihyi-liao/pyside2_demo
410bdaf0876897febf4607ff73928c60186c7be1
[ "MIT" ]
null
null
null
from PySide2.QtCore import Slot, Qt, QThreadPool, QCoreApplication, QSize from PySide2.QtGui import QIcon from PySide2.QtWidgets import ( QDialog, QLabel, QLineEdit, QComboBox, QMainWindow, QMessageBox, QWidget, QPushButton, QGridLayout, QDialogButtonBox, QTextEdit, ) from pyside2_demo.utils import get_resourc...
35.874172
86
0.628207
582
5,417
5.647766
0.300687
0.073015
0.021904
0.014603
0.099787
0.024338
0
0
0
0
0
0.021903
0.266753
5,417
150
87
36.113333
0.805639
0.01643
0
0.111111
0
0
0.100395
0.014476
0
0
0
0
0
1
0.079365
false
0.071429
0.039683
0.007937
0.15873
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
0
0
0
1
e2b54a9ef95fb28def62c063b36281a5860a7e5a
3,487
py
Python
model/ANOVA.py
narayan954/fellowship-prediction
e6e58389533307fd79d28703fdff3c664242d8da
[ "MIT" ]
47
2021-09-23T00:29:13.000Z
2022-02-27T10:02:55.000Z
model/ANOVA.py
narayan954/fellowship-prediction
e6e58389533307fd79d28703fdff3c664242d8da
[ "MIT" ]
7
2021-09-22T19:50:35.000Z
2021-11-30T08:20:19.000Z
model/ANOVA.py
narayan954/fellowship-prediction
e6e58389533307fd79d28703fdff3c664242d8da
[ "MIT" ]
6
2021-09-21T22:34:37.000Z
2021-09-30T18:25:41.000Z
import pandas as pd import json # plots import matplotlib.pyplot as plt import seaborn as sns import scipy.stats as stats # Load and read json data df = pd.read_json('full_info.json', lines=True) user_name, commits, followers, repo, stars, forks, organizations, issues, contributions = \ [], [], [], [], [], [], [], [...
35.222222
104
0.70261
469
3,487
5.170576
0.311301
0.089072
0.024742
0.041237
0.556701
0.545155
0.545155
0.545155
0.545155
0.52701
0
0.041458
0.142243
3,487
98
105
35.581633
0.769308
0.244623
0
0.6
0
0
0.157461
0
0
0
0
0.010204
0
1
0
false
0
0.127273
0
0.127273
0.127273
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
0
0
0
1
e2b5c67e502f994e897f387d32a8d2db81b2df7b
3,400
py
Python
BeagleBone/Green/Grove/Software/Python/Grove_dht.py
zhanglongqi/cloud9-examples
db73b843a807361153a00e17a703206202cf73f8
[ "MIT" ]
37
2019-05-30T16:40:01.000Z
2021-11-29T10:34:36.000Z
BeagleBone/Green/Grove/Software/Python/Grove_dht.py
zhanglongqi/cloud9-examples
db73b843a807361153a00e17a703206202cf73f8
[ "MIT" ]
35
2019-04-03T17:35:26.000Z
2022-03-23T12:28:08.000Z
BeagleBone/Green/Grove/Software/Python/Grove_dht.py
zhanglongqi/cloud9-examples
db73b843a807361153a00e17a703206202cf73f8
[ "MIT" ]
40
2019-05-13T00:25:42.000Z
2022-03-23T05:13:15.000Z
import time import Adafruit_BBIO.GPIO as GPIO Debug = True class DHT(): global Debug def __init__(self, pin, type = "DHT22", count = 6): self._pin = pin self._type = type self._count = count self.firstreading = True self.MAXTIMINGS = 85 self._lastreadtime = int(...
28.813559
104
0.437059
389
3,400
3.717224
0.213368
0.082988
0.060858
0.04426
0.38935
0.335408
0.25242
0.25242
0.219917
0.219917
0
0.054272
0.452647
3,400
117
105
29.059829
0.72273
0
0
0.415842
0
0
0.019706
0
0
0
0.003529
0
0
0
null
null
0.029703
0.019802
null
null
0.029703
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
0
0
1
2c3fd53f9be0ab6b23ce5e13685ed3cedb8f6c3f
1,440
py
Python
app/twitter_client/services/twitter.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
7
2018-11-13T17:39:15.000Z
2019-03-27T04:55:24.000Z
app/twitter_client/services/twitter.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
72
2018-11-09T14:20:25.000Z
2020-06-05T19:28:19.000Z
app/twitter_client/services/twitter.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
3
2018-11-19T19:10:39.000Z
2019-08-23T20:52:23.000Z
# Stdlib import logging # Django imports from django.conf import settings # Pip imports import twitter logger = logging.getLogger(__name__) class TwitterClient: api = None def __init__(self): self.api = twitter.Api(consumer_key=settings.TWITTER_CONSUMER_KEY, ...
27.692308
99
0.609028
165
1,440
5.090909
0.369697
0.047619
0.05
0.061905
0.054762
0.054762
0
0
0
0
0
0.004065
0.316667
1,440
51
100
28.235294
0.849594
0.130556
0
0
0
0
0.070352
0
0
0
0
0
0
1
0.148148
false
0
0.111111
0.074074
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2c4009a74bdc9f67bd15c60010e651ad516d4094
5,834
py
Python
app/unit_test_text_buffer.py
nthparameter/ci_edit
e9227fbdf99ac1c0afa3a5af4e458409d9c6ce55
[ "Apache-2.0" ]
229
2017-05-25T04:59:28.000Z
2022-03-30T17:35:33.000Z
app/unit_test_text_buffer.py
nthparameter/ci_edit
e9227fbdf99ac1c0afa3a5af4e458409d9c6ce55
[ "Apache-2.0" ]
185
2017-06-08T17:48:48.000Z
2022-03-15T12:25:18.000Z
app/unit_test_text_buffer.py
nthparameter/ci_edit
e9227fbdf99ac1c0afa3a5af4e458409d9c6ce55
[ "Apache-2.0" ]
76
2017-05-25T17:16:21.000Z
2022-03-12T23:48:06.000Z
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
37.883117
86
0.495886
713
5,834
3.868163
0.208976
0.131617
0.191443
0.086294
0.567078
0.518492
0.41153
0.348078
0.322335
0.303481
0
0.048468
0.384642
5,834
153
87
38.130719
0.719777
0.102845
0
0.375
0
0
0.153699
0.004408
0
0
0
0
0.007813
1
0.046875
false
0
0.046875
0
0.101563
0.007813
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
0
0
0
1
2c4056e4df5f108b083b534021811e7cb612782d
1,399
py
Python
watchmate/user_app/tests.py
bvmcardoso/drf_python_api
cbb7289594287039a133131b73bdc75c8c4e0530
[ "MIT" ]
null
null
null
watchmate/user_app/tests.py
bvmcardoso/drf_python_api
cbb7289594287039a133131b73bdc75c8c4e0530
[ "MIT" ]
null
null
null
watchmate/user_app/tests.py
bvmcardoso/drf_python_api
cbb7289594287039a133131b73bdc75c8c4e0530
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.urls import reverse from rest_framework import status from rest_framework.authtoken.models import Token from rest_framework.test import APITestCase class RegisterTestCase(APITestCase): def test_register(self): data = { 'username': 'test...
31.795455
89
0.647605
152
1,399
5.822368
0.335526
0.045198
0.057627
0.074576
0.422599
0.247458
0.247458
0.166102
0.108475
0
0
0.022578
0.240172
1,399
43
90
32.534884
0.809972
0
0
0.129032
0
0
0.112938
0
0
0
0
0
0.096774
1
0.129032
false
0.129032
0.16129
0
0.354839
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
0
0
0
1
2c46b8c428613c0415bcebe2afa738881759f61c
2,987
py
Python
DARPAScripts/farsight_Split_Montage.py
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
DARPAScripts/farsight_Split_Montage.py
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
DARPAScripts/farsight_Split_Montage.py
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
import ij import os import math global foldername foldername=None tilesize=1024 ############################## ''' Start of actual script ''' ############################## #fd = OpenDialog("Save Tiles In",None) prefixval = 'Chan3_' fd= DirectoryChooser("Save Tiles In") foldername= fd.getDirectory() if foldername: ...
31.776596
259
0.668899
455
2,987
4.347253
0.384615
0.030334
0.070779
0.063195
0.206269
0.194135
0.194135
0.194135
0.169869
0.169869
0
0.012456
0.13994
2,987
93
260
32.11828
0.757493
0.24841
0
0
0
0
0.12788
0.009873
0
0
0
0
0
0
null
null
0.020408
0.061224
null
null
0.040816
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
0
0
1
2c473e9063a2d9474f913c2996b82cf153785914
576
py
Python
party_parrot/_slack_parrots.py
tylercroberts/PartyParrot
89894ea054a466f2ec1c5a620fd312cdc2008a77
[ "BSD-3-Clause" ]
null
null
null
party_parrot/_slack_parrots.py
tylercroberts/PartyParrot
89894ea054a466f2ec1c5a620fd312cdc2008a77
[ "BSD-3-Clause" ]
null
null
null
party_parrot/_slack_parrots.py
tylercroberts/PartyParrot
89894ea054a466f2ec1c5a620fd312cdc2008a77
[ "BSD-3-Clause" ]
null
null
null
""" Parrots ~~~~~~~ """ from party_parrot._utils import get_parrots slack_parrots = """ :aussie_parrot: :blonde_sassy_parrot: :bored_parrot: :chill_parrot: :christmas_parrot: :coffee_parrot: :confused_parrot: :conga_parrot: :dark_beer_parrot: :deal_with_it_parrot: :angel_parrot: :fieri_parrot: :goth_parrot: ...
32
107
0.776042
73
576
5.60274
0.520548
0.05379
0.07335
0.107579
0
0
0
0
0
0
0
0
0.092014
576
17
108
33.882353
0.782027
0.026042
0
0
0
0.111111
0.802947
0.127072
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2c4c4b657eb3513f16420ddec79e50b77562fbf1
4,636
py
Python
superscript/security/pwdcheck.py
AngeIo/projet_python_netway
629c7e8573e4630a5da64fd7166f2b3b6a7697d9
[ "Unlicense" ]
null
null
null
superscript/security/pwdcheck.py
AngeIo/projet_python_netway
629c7e8573e4630a5da64fd7166f2b3b6a7697d9
[ "Unlicense" ]
null
null
null
superscript/security/pwdcheck.py
AngeIo/projet_python_netway
629c7e8573e4630a5da64fd7166f2b3b6a7697d9
[ "Unlicense" ]
null
null
null
# Ce fichier contient une fonction permettant de vérifier si le mot de passe est assez complexe et s'il peut être brute force grâce à un dictonnaire de mots communs # Permet la recherche import re # Permet de faire une pause dans le programme import time # Importe nos fonctions utiles import sys sys.path.insert(0, '...
40.313043
266
0.628991
606
4,636
4.764026
0.334984
0.019397
0.05265
0.058192
0.27849
0.254243
0.200901
0.131625
0.11292
0.11292
0
0.008735
0.283865
4,636
114
267
40.666667
0.860843
0.269845
0
0.260274
0
0.013699
0.378387
0.015653
0
0
0
0
0
1
0.041096
false
0.369863
0.068493
0
0.150685
0.232877
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
0
0
0
1
2c4d45ff10bd4e69f4855abfc1937bd80b3bc0d3
524
py
Python
lib/galaxy_ext/cwl/handle_outputs.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
null
null
null
lib/galaxy_ext/cwl/handle_outputs.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
4
2021-02-08T20:28:34.000Z
2022-03-02T02:52:55.000Z
lib/galaxy_ext/cwl/handle_outputs.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
1
2018-05-30T07:38:54.000Z
2018-05-30T07:38:54.000Z
""" """ import logging import os import sys # insert *this* galaxy before all others on sys.path sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))) from galaxy.tool_util.cwl import handle_outputs # ensure supported version assert sys.version_info[:2] >= (2, 6) and sys...
23.818182
136
0.727099
84
524
4.357143
0.547619
0.04918
0.076503
0.081967
0.087432
0
0
0
0
0
0
0.024176
0.131679
524
21
137
24.952381
0.78022
0.14313
0
0
0
0
0.104784
0
0
0
0
0
0.1
1
0.1
false
0
0.4
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
0
0
1
0
0
0
0
1
2c55cb60066b63268c6e425f58d7bb8433e5fe69
1,226
py
Python
src/five/grok/subscribers.py
zopefoundation/five.grok
d5fcbe2e081a4cec96d8ec658498f9fc33963bf9
[ "ZPL-2.1" ]
1
2016-10-26T16:45:57.000Z
2016-10-26T16:45:57.000Z
src/five/grok/subscribers.py
zopefoundation/five.grok
d5fcbe2e081a4cec96d8ec658498f9fc33963bf9
[ "ZPL-2.1" ]
2
2021-01-05T14:30:32.000Z
2021-03-25T18:38:06.000Z
src/five/grok/subscribers.py
zopefoundation/five.grok
d5fcbe2e081a4cec96d8ec658498f9fc33963bf9
[ "ZPL-2.1" ]
2
2015-04-03T04:41:12.000Z
2019-08-20T08:02:52.000Z
############################################################################## # # Copyright (c) 2006-2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THI...
38.3125
78
0.675367
153
1,226
5.385621
0.601307
0.029126
0.033981
0.041262
0
0
0
0
0
0
0
0.009569
0.147635
1,226
31
79
39.548387
0.778947
0.582382
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2c7445d1033e462318cd29a86e11ffd318baee78
3,986
py
Python
src/t2m/user.py
time2meet/time2meet-cli
3aa41de084572d242c51375fed6bcaaf6694c24e
[ "MIT" ]
1
2021-12-10T06:03:11.000Z
2021-12-10T06:03:11.000Z
src/t2m/user.py
time2meet/time2meet-cli
3aa41de084572d242c51375fed6bcaaf6694c24e
[ "MIT" ]
1
2021-12-05T23:57:37.000Z
2021-12-09T17:15:31.000Z
src/t2m/user.py
time2meet/time2meet-cli
3aa41de084572d242c51375fed6bcaaf6694c24e
[ "MIT" ]
null
null
null
import os from getpass import getpass from .request_handler import request, set_dry from .yaml_validator import yaml_user, yaml_update, yaml_reset from .tokens import new_token from datetime import datetime, timedelta import json def list_methods(): return ["user_info", "register", "edit_profile", "delete_profil...
29.308824
128
0.617411
490
3,986
4.895918
0.255102
0.037516
0.043768
0.033347
0.210921
0.186744
0.08837
0.08837
0.075865
0.075865
0
0.001664
0.246362
3,986
135
129
29.525926
0.796937
0.039639
0
0.244186
0
0
0.273775
0.020435
0
0
0
0
0
1
0.093023
false
0.162791
0.081395
0.023256
0.22093
0.034884
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
0
0
0
1
2c7682b009eb38c54e309396068e17197bba18a5
2,478
py
Python
web/app/ponthe/config.py
ENPC-Ponthe/Galeries
77648d880f4f71f62f620227d50452fa7a1482e3
[ "MIT" ]
null
null
null
web/app/ponthe/config.py
ENPC-Ponthe/Galeries
77648d880f4f71f62f620227d50452fa7a1482e3
[ "MIT" ]
1
2021-01-05T03:43:06.000Z
2021-01-05T03:43:06.000Z
web/app/ponthe/config.py
ENPC-Ponthe/Galeries
77648d880f4f71f62f620227d50452fa7a1482e3
[ "MIT" ]
3
2020-09-09T17:50:01.000Z
2021-07-29T19:48:49.000Z
import os from datetime import datetime from flask import Flask IS_PROD_ENV = True # CHANGE BETWEEN STAGING AND PRODUCTION ENVS SUBDOMAIN_NAME = 'ponthe' if IS_PROD_ENV else 'ponthe-testing' DOMAIN_NAME = f'https://{SUBDOMAIN_NAME}.enpc.org/' def get_latest_promotion(): now = datetime.now() prom_increment =...
42
102
0.661421
322
2,478
4.863354
0.416149
0.068966
0.06705
0.049808
0.183908
0.14304
0.14304
0.124521
0.057471
0.057471
0
0.019241
0.202986
2,478
58
103
42.724138
0.773671
0.053269
0
0
0
0
0.256618
0.055935
0
0
0
0.017241
0
1
0.042553
false
0.021277
0.06383
0
0.191489
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
0
0
0
1
2c7bfdfed15f5f5901f0720b936cf94f5ee4a1ec
836
py
Python
populus/contracts/backends/testing.py
mandarvaze/populus
4577bba67f6cba3c4800d250f2a228562a5d9a8f
[ "MIT" ]
1
2022-03-14T03:35:17.000Z
2022-03-14T03:35:17.000Z
populus/contracts/backends/testing.py
mandarvaze/populus
4577bba67f6cba3c4800d250f2a228562a5d9a8f
[ "MIT" ]
null
null
null
populus/contracts/backends/testing.py
mandarvaze/populus
4577bba67f6cba3c4800d250f2a228562a5d9a8f
[ "MIT" ]
1
2021-12-06T04:03:32.000Z
2021-12-06T04:03:32.000Z
from __future__ import absolute_import from populus.utils.contracts import ( is_test_contract, ) from .base import ( BaseContractBackend, ) class TestContractsBackend(BaseContractBackend): """ Provides access to compiled contract assets sources from the project `tests_dir` """ is_provide...
23.885714
76
0.690191
93
836
5.860215
0.473118
0.154128
0.051376
0.088073
0
0
0
0
0
0
0
0
0.25
836
34
77
24.588235
0.869219
0.111244
0
0
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0.047619
0.52381
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
0
1
0
0
1
2c7e9414f375e98aa585b74113d615f72c0ae399
1,563
py
Python
ts_bot_stream.py
JonthanLT/ts-slack-twitter
191ba5d1f94e70057c8b4c611230d3d08f40d1bd
[ "MIT" ]
null
null
null
ts_bot_stream.py
JonthanLT/ts-slack-twitter
191ba5d1f94e70057c8b4c611230d3d08f40d1bd
[ "MIT" ]
null
null
null
ts_bot_stream.py
JonthanLT/ts-slack-twitter
191ba5d1f94e70057c8b4c611230d3d08f40d1bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python import time import json import sys import tweepy import slackweb import configparser from tweepy import Stream from tweepy import OAuthHandler from tweepy.streaming import StreamListener def read_config(filename = 'twitter.ini'): config = configparser.ConfigParser() config.read(filename)...
25.622951
75
0.651312
199
1,563
4.964824
0.316583
0.036437
0.052632
0.048583
0.26417
0.224696
0.17004
0.17004
0.17004
0.17004
0
0
0.21945
1,563
60
76
26.05
0.809836
0.012796
0
0.183673
0
0
0.092088
0
0
0
0
0
0
1
0.142857
false
0
0.183673
0.040816
0.510204
0.040816
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
0
1
0
0
1
2c848407f39b4ac205ac81625e387c4023a7a21b
3,651
py
Python
djcyradm/urls.py
angeelgarr/django-cyradm
3d8ea83c9b52d79eae25ccdfd92dd39f5fe2ca97
[ "BSD-3-Clause" ]
5
2019-12-16T13:25:44.000Z
2022-01-21T17:42:16.000Z
djcyradm/urls.py
angeelgarr/django-cyradm
3d8ea83c9b52d79eae25ccdfd92dd39f5fe2ca97
[ "BSD-3-Clause" ]
1
2021-03-30T14:23:56.000Z
2021-03-30T14:23:56.000Z
djcyradm/urls.py
angeelgarr/django-cyradm
3d8ea83c9b52d79eae25ccdfd92dd39f5fe2ca97
[ "BSD-3-Clause" ]
1
2021-06-24T01:49:22.000Z
2021-06-24T01:49:22.000Z
from django.conf.urls import include, url from djcyradm.views import locked_out from djcyradm import views urlpatterns = [ url(r"session_security/", include("session_security.urls")), url( r"^mail-users/$", views.MailUsersTableView.as_view(), name="mail-users"), url(r"^login/?$", v...
29.92623
79
0.568064
408
3,651
4.980392
0.193627
0.057087
0.127953
0.022146
0.284449
0.124508
0.076772
0.076772
0.059055
0.033465
0
0.013679
0.239113
3,651
121
80
30.173554
0.717783
0
0
0.327731
0
0.016807
0.284306
0.176116
0
0
0
0
0
1
0
false
0.067227
0.02521
0
0.02521
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
0
0
0
1
2c8f9cd8c353d266e205c8f9c1f417a0f3e49d42
438
py
Python
HuaWeiOJ Algorithms/What-I-had/countstr.py
zipingguo/HuaWeiOJAlgorithm
3eb535dd047b85d263b0d5db95e592dde9fe4878
[ "MIT" ]
1
2019-06-03T13:00:49.000Z
2019-06-03T13:00:49.000Z
HuaWeiOJ Algorithms/What-I-had/countstr.py
skylinebin/AlgorithmPractice
3eb535dd047b85d263b0d5db95e592dde9fe4878
[ "MIT" ]
1
2018-07-24T08:43:15.000Z
2018-07-24T08:43:15.000Z
HuaWeiOJ Algorithms/What-I-had/countstr.py
skylinebin/AlgorithmPractice
3eb535dd047b85d263b0d5db95e592dde9fe4878
[ "MIT" ]
null
null
null
def countstrnum(gets): list =[0,0,0,0] for w in gets: if (w>='a' and w<='z')|(w>='A'and w<='Z'): list[0]+=1 elif w ==' ': list[1]+=1 elif w>='0' and w<='9': list[2]+=1 else: list[3]+=1 return list def main(): getstr = r...
17.52
50
0.436073
64
438
2.84375
0.421875
0.032967
0.032967
0.065934
0.076923
0
0
0
0
0
0
0.051661
0.381279
438
25
51
17.52
0.619926
0
0
0
0
0
0.034169
0
0
0
0
0
0
0
null
null
0
0
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2c90d43bd4573142aef667226910752d64197626
1,437
py
Python
robotframework_rp_tools/visitor.py
Shumodan/robotframework_tools
f2daac5ef54027d1014c9036dfbd167bf2d1279c
[ "MIT" ]
1
2020-02-12T13:07:56.000Z
2020-02-12T13:07:56.000Z
robotframework_rp_tools/visitor.py
Shumodan/robotframework_tools
f2daac5ef54027d1014c9036dfbd167bf2d1279c
[ "MIT" ]
null
null
null
robotframework_rp_tools/visitor.py
Shumodan/robotframework_tools
f2daac5ef54027d1014c9036dfbd167bf2d1279c
[ "MIT" ]
null
null
null
import logging from robot.model import SuiteVisitor from .visitor_model import Keyword, Test, Suite, Message from .service import RobotService from .variables import ConfigurationVariables logging.getLogger(name='reportportal_client').setLevel(logging.WARNING) logging.getLogger(name='urllib3').setLevel(lo...
28.74
72
0.661795
158
1,437
5.791139
0.234177
0.096175
0.098361
0.065574
0.255738
0.255738
0.255738
0.255738
0
0
0
0.000923
0.246347
1,437
49
73
29.326531
0.843952
0
0
0.166667
0
0
0.018732
0
0
0
0
0
0
1
0.222222
false
0
0.138889
0
0.388889
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
0
0
0
1
2ca6f197d99db0e7bed05280ad0f94868eb2b0f8
844
py
Python
src/utils/queries.py
stivenramireza/real-estate-api
b6de176bed5612ce2ad874f622d4675fc4b6d5a5
[ "MIT" ]
null
null
null
src/utils/queries.py
stivenramireza/real-estate-api
b6de176bed5612ce2ad874f622d4675fc4b6d5a5
[ "MIT" ]
2
2022-03-22T17:27:19.000Z
2022-03-22T18:29:14.000Z
src/utils/queries.py
stivenramireza/real-estate-api
b6de176bed5612ce2ad874f622d4675fc4b6d5a5
[ "MIT" ]
null
null
null
PROPERTIES = """ SELECT p.id, p.address, p.city, s.name AS status, p.price, p.description, p.year FROM property p INNER JOIN ( SELECT sh.property_id, sh.status_id, sh.update_date FROM status_history sh INNER JOIN ( ...
26.375
75
0.575829
126
844
3.698413
0.309524
0.128755
0.077253
0.051502
0.055794
0
0
0
0
0
0
0.001748
0.322275
844
31
76
27.225806
0.812937
0
0
0.071429
0
0
0.909953
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2cac3774024d9e4cfb2af027a48547d41fba7453
4,635
py
Python
sweden_crs_transformations/transformation/_transformer.py
TomasJohansson/sweden_crs_transformations_4python
d4c0ae1bab2e0f505f3e6f948c1b31b3bf397f04
[ "MIT" ]
1
2021-10-02T20:05:59.000Z
2021-10-02T20:05:59.000Z
sweden_crs_transformations/transformation/_transformer.py
TomasJohansson/sweden_crs_transformations_4python
d4c0ae1bab2e0f505f3e6f948c1b31b3bf397f04
[ "MIT" ]
null
null
null
sweden_crs_transformations/transformation/_transformer.py
TomasJohansson/sweden_crs_transformations_4python
d4c0ae1bab2e0f505f3e6f948c1b31b3bf397f04
[ "MIT" ]
null
null
null
""" | Copyright (c) Tomas Johansson , http://www.programmerare.com | The code in this library is licensed with MIT. | The library is based on the C#.NET library 'sweden_crs_transformations_4net' (https://github.com/TomasJohansson/sweden_crs_transformations_4net) | which in turn is based on 'MightyLittleGeodesy' (https...
52.078652
196
0.783603
509
4,635
6.681729
0.222004
0.084093
0.078212
0.049397
0.543076
0.482799
0.369597
0.239929
0.157895
0.131138
0
0.03458
0.157713
4,635
88
197
52.670455
0.836322
0.120604
0
0.32
0
0
0.016807
0
0
0
0
0
0
0
null
null
0
0.12
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
0
0
0
0
0
1
2caedda016fdd7a5fa90f4f8076880daa0ea5858
2,677
py
Python
applications/zcomx/modules/mysql.py
zcomx/zco.mx
70a7372af5787c2e4dea14b25bab0bbb2b959881
[ "BSD-3-Clause" ]
null
null
null
applications/zcomx/modules/mysql.py
zcomx/zco.mx
70a7372af5787c2e4dea14b25bab0bbb2b959881
[ "BSD-3-Clause" ]
null
null
null
applications/zcomx/modules/mysql.py
zcomx/zco.mx
70a7372af5787c2e4dea14b25bab0bbb2b959881
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Classes for handling mysql. """ import os class LocalMySQL(object): """Class representing the local MySQL connection parameters.""" def __init__( self, request=None, database=None, user=None, password=None, ...
24.336364
72
0.513261
295
2,677
4.576271
0.305085
0.035556
0.035556
0.008889
0.037037
0
0
0
0
0
0
0.011799
0.366829
2,677
109
73
24.559633
0.784661
0.199103
0
0.058824
0
0
0.111816
0.05957
0
0
0
0
0
1
0.073529
false
0.073529
0.014706
0
0.161765
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
0
0
0
1
2cb5d0513e18be9868992203c2b17473bf86c5fd
1,901
py
Python
account/functions.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
account/functions.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
8
2020-03-24T17:11:49.000Z
2022-01-13T01:18:11.000Z
account/functions.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
from django.core.exceptions import PermissionDenied from django.core.urlresolvers import reverse from django.utils.translation import ugettext_lazy as _ from common.functions import instance_get_thumbnail, common_clean def user_render_reference(user, display_edit_link=False, field_name='admins'): html = '<span ...
29.703125
243
0.686481
260
1,901
4.834615
0.338462
0.033413
0.043755
0.057279
0.093874
0.093874
0.062053
0
0
0
0
0.004534
0.187796
1,901
63
244
30.174603
0.809585
0
0
0
0
0.026316
0.197265
0.107838
0
0
0
0
0
1
0.105263
false
0.052632
0.105263
0
0.342105
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
0
0
0
1
2cbbe59ec1db7c1f7fb72c95d3212e9c905755bf
283
py
Python
sample_problems/problems_with_solution110.py
adi01trip01/adi_workspace
f493b3ba84645eec3a57607243760a826880d1a3
[ "MIT" ]
null
null
null
sample_problems/problems_with_solution110.py
adi01trip01/adi_workspace
f493b3ba84645eec3a57607243760a826880d1a3
[ "MIT" ]
null
null
null
sample_problems/problems_with_solution110.py
adi01trip01/adi_workspace
f493b3ba84645eec3a57607243760a826880d1a3
[ "MIT" ]
null
null
null
# Write a Python program to get numbers divisible by fifteen from a list using an anonymous function. num_list = [45, 55, 60, 37, 100, 105, 220] # use anonymous function to filter result = list(filter(lambda x: (x % 15 == 0), num_list)) print("Numbers divisible by 15 are", result)
40.428571
101
0.720848
48
283
4.208333
0.6875
0.158416
0.178218
0
0
0
0
0
0
0
0
0.094421
0.176678
283
6
102
47.166667
0.772532
0.466431
0
0
0
0
0.182432
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
1
2cbc33b05d4bd502f34bf5b95f0ed333a15834e5
366
py
Python
jp.atcoder/abc079/abc079_a/8657621.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc079/abc079_a/8657621.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc079/abc079_a/8657621.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import sys def main(): n = sys.stdin.readline().rstrip() cnt = 1 for i in range(3): if n[i] == n[i + 1]: cnt += 1 if cnt == 3: ans = "Yes" break else: cnt = 1 else: ans = "No" print(ans)...
15.25
38
0.355191
42
366
2.904762
0.547619
0.098361
0
0
0
0
0
0
0
0
0
0.034091
0.519126
366
23
39
15.913043
0.659091
0
0
0.235294
0
0
0.037901
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.117647
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2ccde9b29ea22d626ef946f293750a7818adbe97
1,915
py
Python
GCC-paddle/tests/test_node_classification.py
S-HuaBomb/Contrib
10596814bb98c9e2499e4240e56207dc3b547959
[ "Apache-2.0" ]
243
2020-06-16T08:06:57.000Z
2022-03-31T10:09:37.000Z
GCC-paddle/tests/test_node_classification.py
S-HuaBomb/Contrib
10596814bb98c9e2499e4240e56207dc3b547959
[ "Apache-2.0" ]
34
2020-02-20T11:04:58.000Z
2022-03-12T00:54:26.000Z
GCC-paddle/tests/test_node_classification.py
S-HuaBomb/Contrib
10596814bb98c9e2499e4240e56207dc3b547959
[ "Apache-2.0" ]
49
2020-06-28T02:37:17.000Z
2022-03-29T08:07:35.000Z
import argparse import os from gcc.tasks.node_classification import NodeClassification from tests.utils import E2E_PATH, MOCO_PATH, get_default_args, generate_emb def run(dataset, model, emb_path=""): args = get_default_args() args.dataset = dataset args.model = model args.emb_path = emb_path tas...
29.015152
86
0.654308
291
1,915
4.116838
0.19244
0.106845
0.133556
0.106845
0.683639
0.615192
0.429883
0.418197
0.418197
0.24374
0
0.029634
0.171802
1,915
65
87
29.461538
0.725725
0.061097
0
0.046512
1
0
0.205128
0
0
0
0
0
0.162791
1
0.186047
false
0
0.093023
0
0.302326
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2bb34491e38dbc3dc365a94ad89e01f67df3fb7
1,147
py
Python
config.py
Arrackisarookie/blog
26d9a73b823ca08973541fcd2306a9d31272dfb0
[ "MIT" ]
4
2019-10-02T13:41:44.000Z
2022-02-05T15:35:35.000Z
config.py
Arrackisarookie/blog
26d9a73b823ca08973541fcd2306a9d31272dfb0
[ "MIT" ]
null
null
null
config.py
Arrackisarookie/blog
26d9a73b823ca08973541fcd2306a9d31272dfb0
[ "MIT" ]
1
2020-06-11T14:25:48.000Z
2020-06-11T14:25:48.000Z
import os class Config(object): SECRET_KEY = os.environ.get('SECRET_KEY') or 'dev' ADMIN_EMAIL = os.environ.get('ADMIN_EMAIL') or 'nicearrack@163.com' ADMIN_NAME = os.environ.get('ADMIN_NAME') or 'Arrack' SITE_TITLE = 'Maybe' SITE_SUBTITLE = 'Everything is not too late.' SQLALCHEMY_TRACK_MO...
23.408163
103
0.711421
142
1,147
5.478873
0.457746
0.104113
0.138817
0.088689
0.241645
0.241645
0.241645
0.241645
0.241645
0.241645
0
0.01174
0.183086
1,147
48
104
23.895833
0.81857
0
0
0
0
0
0.192677
0
0
0
0
0
0
1
0.032258
false
0.032258
0.032258
0
0.741935
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
0
1
0
0
1
e2c0bf5b55ffe7710e49dea53d18f7b4cbfd6eba
1,756
py
Python
django_auth2/views/activate.py
Nick1994209/django-auth2
b8678f06ade985d2b5b0606e6e49bd9d2a49931a
[ "MIT" ]
null
null
null
django_auth2/views/activate.py
Nick1994209/django-auth2
b8678f06ade985d2b5b0606e6e49bd9d2a49931a
[ "MIT" ]
null
null
null
django_auth2/views/activate.py
Nick1994209/django-auth2
b8678f06ade985d2b5b0606e6e49bd9d2a49931a
[ "MIT" ]
null
null
null
from django.contrib import auth from django.db.transaction import atomic from django.http import Http404 from django.shortcuts import redirect, render from django.urls import reverse from django.utils.encoding import force_text from django.utils.http import urlsafe_base64_decode from django.views import View from djang...
27.4375
92
0.719248
230
1,756
5.313043
0.330435
0.07365
0.04419
0.056465
0.050737
0
0
0
0
0
0
0.014883
0.196469
1,756
63
93
27.873016
0.851169
0
0
0.045455
0
0
0.074032
0.060934
0
0
0
0
0
1
0.090909
false
0
0.272727
0.022727
0.613636
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
0
1
0
0
1
e2c22072840b5cebafa87588c583e804ebeab003
4,035
py
Python
Project1/Scripts/SVMAverageFeature/SVM_PerPhoto.py
TheLaurens/Team-Brains
78b2417c90116336ac02036d4c148eb221f73830
[ "MIT" ]
null
null
null
Project1/Scripts/SVMAverageFeature/SVM_PerPhoto.py
TheLaurens/Team-Brains
78b2417c90116336ac02036d4c148eb221f73830
[ "MIT" ]
null
null
null
Project1/Scripts/SVMAverageFeature/SVM_PerPhoto.py
TheLaurens/Team-Brains
78b2417c90116336ac02036d4c148eb221f73830
[ "MIT" ]
1
2018-10-04T01:54:53.000Z
2018-10-04T01:54:53.000Z
# -*- coding: utf-8 -*- """ Created on Wed Mar 30 13:42:47 2016 @author: DTump """ #Combines the featurevalues of the images with the labels assigned to the #corresponding business. It trains an SVM on these featurevalues of the images #to the labels of the trainset of the traindata and then #predicts the labels th...
35.394737
119
0.752169
646
4,035
4.552632
0.30805
0.018361
0.027542
0.014961
0.273716
0.206392
0.175451
0.175451
0.124447
0.091125
0
0.022148
0.104833
4,035
113
120
35.707965
0.792082
0.255266
0
0.059701
0
0
0.208576
0.100515
0
0
0
0
0
0
null
null
0
0.223881
null
null
0.119403
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
0
0
1
e2c79bb231a5883f6c6734e5c39580db4ae4b01c
8,821
py
Python
app_store_sdk/api/micro_app/get_packages_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
app_store_sdk/api/micro_app/get_packages_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
app_store_sdk/api/micro_app/get_packages_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: get_packages.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
42.205742
743
0.769981
1,055
8,821
6.1109
0.151659
0.044672
0.04886
0.034745
0.641384
0.553901
0.516364
0.516364
0.511246
0.511246
0
0.034244
0.116087
8,821
208
744
42.408654
0.792613
0.046367
0
0.644444
1
0.011111
0.180293
0.147804
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2ca2a685e2cc8d72a34a28cd4d603f543566419
412
py
Python
tests/unit/test_cli.py
amenezes/rabbit-client
411b62b91bf0dd6fbf1fbc1c9a3dc801339adc74
[ "Apache-2.0" ]
5
2019-09-19T00:02:02.000Z
2022-01-04T17:33:37.000Z
tests/unit/test_cli.py
amenezes/rabbit-client
411b62b91bf0dd6fbf1fbc1c9a3dc801339adc74
[ "Apache-2.0" ]
null
null
null
tests/unit/test_cli.py
amenezes/rabbit-client
411b62b91bf0dd6fbf1fbc1c9a3dc801339adc74
[ "Apache-2.0" ]
null
null
null
import pytest from cleo import CommandTester from rabbit.__main__ import application def test_consumer_command(): command = application.find("consumer") ct = CommandTester(command) assert "" == ct.io.fetch_output() def test_file_not_found_event_command(): command = application.find("send-event") ...
22.888889
44
0.725728
49
412
5.857143
0.571429
0.04878
0.174216
0.202091
0
0
0
0
0
0
0
0
0.169903
412
17
45
24.235294
0.839181
0
0
0.166667
0
0
0.050971
0
0
0
0
0
0.083333
1
0.166667
false
0
0.25
0
0.416667
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
0
0
0
1
e2cd7f4f07d9be0f1ed74501dcf688591a74dbfd
1,155
py
Python
test/log/LoggerFixture.py
pip-services3-python/pip-services3-aws-python
f80f5bc1949edf29332c58481ea2051ac3ef9795
[ "MIT" ]
null
null
null
test/log/LoggerFixture.py
pip-services3-python/pip-services3-aws-python
f80f5bc1949edf29332c58481ea2051ac3ef9795
[ "MIT" ]
null
null
null
test/log/LoggerFixture.py
pip-services3-python/pip-services3-aws-python
f80f5bc1949edf29332c58481ea2051ac3ef9795
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import time from pip_services3_components.log import CachedLogger, LogLevel class LoggerFixture: _logger: CachedLogger = None def __init__(self, logger: CachedLogger): self._logger = logger def test_log_level(self): assert self._logger.get_level() >= LogLevel.Not...
27.5
63
0.6329
136
1,155
5.154412
0.352941
0.21398
0.145506
0.054208
0.159772
0.159772
0
0
0
0
0
0.011587
0.252814
1,155
41
64
28.170732
0.800695
0.034632
0
0.148148
0
0
0.113309
0
0
0
0
0
0.074074
1
0.148148
false
0
0.074074
0
0.296296
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2d5cd751c072b142bbb935e2b3ffd45cd7fb705
528
py
Python
setup.py
QuantumEnergyE/netcli
00af7aa9d9c61c1306f46c00a803719d77c69d8c
[ "MIT" ]
null
null
null
setup.py
QuantumEnergyE/netcli
00af7aa9d9c61c1306f46c00a803719d77c69d8c
[ "MIT" ]
null
null
null
setup.py
QuantumEnergyE/netcli
00af7aa9d9c61c1306f46c00a803719d77c69d8c
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name='netcli', version='1.0', packages=['netcli'], include_package_data=True, install_requires=[ 'pygments>=2.0.2', 'prompt_toolkit>=1.0.0,<1.1.0', 'click>=4.0', 'fuzzyfinder>=1.0.0' ], entry_points={ ...
22
51
0.568182
62
528
4.725806
0.677419
0.027304
0.020478
0
0
0
0
0
0
0
0
0.040712
0.255682
528
23
52
22.956522
0.704835
0.037879
0
0
0
0
0.38856
0.102564
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e2d6911a7095478d504ed809314715261924ff4a
1,376
py
Python
examples/original-paper/example-fancylabel.py
aengelke/z-plot
63e4e6656355b608487a3e4df5da13b7fad9b108
[ "BSD-3-Clause" ]
22
2016-10-19T15:02:22.000Z
2021-12-23T12:40:37.000Z
examples/original-paper/example-fancylabel.py
aengelke/z-plot
63e4e6656355b608487a3e4df5da13b7fad9b108
[ "BSD-3-Clause" ]
4
2017-04-16T03:15:48.000Z
2020-10-28T11:36:35.000Z
examples/original-paper/example-fancylabel.py
aengelke/z-plot
63e4e6656355b608487a3e4df5da13b7fad9b108
[ "BSD-3-Clause" ]
11
2017-01-18T02:41:57.000Z
2021-12-28T02:21:30.000Z
#! /usr/bin/env python from zplot import * import sys import random # a simple label/arrow combination function def label_with_arrow(canvas, x, y, text, size, anchor, dx, dy): ax, ay = x, y if anchor == 'top': ay = ay + size elif anchor == 'bottom': ay = ay - size else: print '...
27.52
78
0.619913
219
1,376
3.83105
0.438356
0.01907
0.066746
0.053635
0.078665
0
0
0
0
0
0
0.06221
0.217297
1,376
49
79
28.081633
0.716806
0.085029
0
0.09375
0
0
0.105431
0
0
0
0
0
0
0
null
null
0
0.09375
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e2e061e6b977fbeb127ea4c725ec9eca5c51463c
2,232
py
Python
test_codes/overpass_api.py
WhoaNellie/ShadeWays
ce5629b821b34ef3265fe450177912cbc5918394
[ "MIT" ]
2
2020-01-18T17:30:56.000Z
2020-03-09T04:52:48.000Z
test_codes/overpass_api.py
WhoaNellie/ShadeWays
ce5629b821b34ef3265fe450177912cbc5918394
[ "MIT" ]
null
null
null
test_codes/overpass_api.py
WhoaNellie/ShadeWays
ce5629b821b34ef3265fe450177912cbc5918394
[ "MIT" ]
1
2020-03-09T04:52:55.000Z
2020-03-09T04:52:55.000Z
#!/usr/bin/env python3 import requests import json import sys #area(32.227754,-110.959464,32.236005,-110.944097); overpass_url = "http://overpass-api.de/api/interpreter" overpass_query = """ [out:json]; area[name="Tucson"]; (node["building"="yes"](area); way["building"="yes"](area); rel["building"="yes"](area); ); ...
24.26087
116
0.597222
303
2,232
4.343234
0.356436
0.042553
0.034195
0.033435
0.167933
0.138298
0.138298
0.077508
0.077508
0.077508
0
0.046049
0.211918
2,232
91
117
24.527473
0.702103
0.372312
0
0.296296
0
0
0.262928
0.089585
0
0
0
0
0
1
0
false
0.12963
0.111111
0
0.111111
0.018519
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
0
0
0
1
e2e33962d911eef3a960dee21f3ec19a3c424ec3
649
py
Python
alertaclient/commands/cmd_group.py
gapitio/python-alerta-client
943a624c2136e952c92fbdfaa80e61b73d949275
[ "Apache-2.0" ]
null
null
null
alertaclient/commands/cmd_group.py
gapitio/python-alerta-client
943a624c2136e952c92fbdfaa80e61b73d949275
[ "Apache-2.0" ]
null
null
null
alertaclient/commands/cmd_group.py
gapitio/python-alerta-client
943a624c2136e952c92fbdfaa80e61b73d949275
[ "Apache-2.0" ]
null
null
null
import sys import click @click.command('group', short_help='Create user group') @click.option('--name', help='Group name') @click.option('--text', help='Description of user group') @click.option('--delete', '-D', metavar='ID', help='Delete user group using ID') @click.pass_obj def cli(obj, name, text, delete): "...
28.217391
80
0.614792
88
649
4.488636
0.454545
0.091139
0.070886
0.101266
0
0
0
0
0
0
0
0.00198
0.22188
649
22
81
29.5
0.780198
0.046225
0
0
0
0
0.199021
0
0
0
0
0
0
1
0.055556
false
0.055556
0.111111
0
0.166667
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
0
0
0
1
e2e34e65edcf19e2167bc7860688291ab0325a3e
1,677
py
Python
hw/hw05/tests/q4c.py
surajrampure/data-94-sp21
074543103579c28d796c681f78f3c38449825328
[ "BSD-3-Clause" ]
1
2020-11-21T09:42:52.000Z
2020-11-21T09:42:52.000Z
hw/hw05/tests/q4c.py
surajrampure/data-94-sp21
074543103579c28d796c681f78f3c38449825328
[ "BSD-3-Clause" ]
null
null
null
hw/hw05/tests/q4c.py
surajrampure/data-94-sp21
074543103579c28d796c681f78f3c38449825328
[ "BSD-3-Clause" ]
null
null
null
test = { 'name': 'q4c', 'points': 2, 'suites': [ { 'cases': [ {'code': ">>> top_lac_schools.labels == ('Name', 'City', 'Region', 'Applied', 'Admitted', 'Enrolled', 'Acceptance Rate')\nTrue", 'hidden': False, 'locked': False}, {'code': '>>> top_lac_schools.num_rows == 1...
83.85
199
0.419201
141
1,677
4.921986
0.517731
0.115274
0.074928
0.126801
0.259366
0.18732
0.089337
0
0
0
0
0.097382
0.430531
1,677
19
200
88.263158
0.629319
0
0
0.210526
0
0.263158
0.508646
0.121049
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e2e5addc85c1fc0d216c3f94ac5274fc2fc64fc0
766
py
Python
core/mask/Template.py
marcostolosa/bluffy
3f6ec810b9ea9bbc04e61c92ce08b48e2730d107
[ "MIT" ]
218
2021-12-03T13:44:46.000Z
2022-03-29T23:59:44.000Z
core/mask/Template.py
Phuong39/bluffy
3f6ec810b9ea9bbc04e61c92ce08b48e2730d107
[ "MIT" ]
1
2022-03-15T21:20:28.000Z
2022-03-15T21:25:26.000Z
core/mask/Template.py
Phuong39/bluffy
3f6ec810b9ea9bbc04e61c92ce08b48e2730d107
[ "MIT" ]
40
2021-12-03T16:58:48.000Z
2022-03-29T23:59:46.000Z
class SVGMgr: def __init__(self, blob: bytes): self.blob = blob self.payload_name = "unsigned char* payload[]" self.chunk_size = 10 def mask(self) -> dict[str:str]: """Mask the data as a X""" # format the blob! return self.format_blob() def format_blob(self...
27.357143
83
0.573107
101
766
4.168317
0.465347
0.057007
0.071259
0
0
0
0
0
0
0
0
0.003774
0.308094
766
27
84
28.37037
0.790566
0.207572
0
0
0
0
0.178752
0.065767
0
0
0
0
0
1
0.214286
false
0
0
0
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
0
0
0
1
0
0
0
0
0
0
0
1
e2e70943a13008111153a414f22c56d558bfae48
1,232
py
Python
flurry.util/flurry/util/json.py
mccolljr/fete
9342c814db997c8a7b5a1f3b23dd309d463c9718
[ "MIT" ]
1
2022-01-10T20:19:16.000Z
2022-01-10T20:19:16.000Z
flurry.util/flurry/util/json.py
mccolljr/fete
9342c814db997c8a7b5a1f3b23dd309d463c9718
[ "MIT" ]
null
null
null
flurry.util/flurry/util/json.py
mccolljr/fete
9342c814db997c8a7b5a1f3b23dd309d463c9718
[ "MIT" ]
null
null
null
from typing import Any import json import base64 import binascii import datetime as dt __all__ = ("JSON",) class JSON(json.JSONEncoder): """A JSON encoder that supports datetime values.""" def default(self, o): if isinstance(o, dt.datetime): return o.astimezone(dt.timezone.utc).isoform...
27.377778
68
0.582792
151
1,232
4.675497
0.397351
0.084986
0.063739
0.050992
0
0
0
0
0
0
0
0.019722
0.300325
1,232
44
69
28
0.799304
0.036526
0
0.205882
0
0
0.049111
0.027096
0
0
0
0
0
1
0.117647
false
0
0.147059
0.058824
0.617647
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
0
1
0
0
1
e2f0f6178903796c7342081af199f0f30fa8ed96
2,294
py
Python
refinery/bnpy/bnpy-dev/tests/end-to-end/TestProxFunc.py
csa0001/Refinery
0d5de8fc3d680a2c79bd0e9384b506229787c74f
[ "MIT" ]
103
2015-01-13T00:48:14.000Z
2021-11-08T10:53:22.000Z
refinery/bnpy/bnpy-dev/tests/end-to-end/TestProxFunc.py
csa0001/Refinery
0d5de8fc3d680a2c79bd0e9384b506229787c74f
[ "MIT" ]
7
2015-02-21T04:03:40.000Z
2021-08-23T20:24:54.000Z
refinery/bnpy/bnpy-dev/tests/end-to-end/TestProxFunc.py
csa0001/Refinery
0d5de8fc3d680a2c79bd0e9384b506229787c74f
[ "MIT" ]
27
2015-01-23T00:54:31.000Z
2020-12-30T14:30:50.000Z
''' Unit tests to verify that our proposed proximity functions work as expected. Proximity function (defined in Util) are used to determine if two estimated parameters are "close enough" within some numerical tolerance to be treated as equivalent. We eventually use these functions to assess whether learning algorithms...
32.309859
307
0.672188
332
2,294
4.63253
0.337349
0.064369
0.039012
0.027308
0.371261
0.354356
0.296489
0.296489
0.240572
0.240572
0
0.032364
0.205318
2,294
70
308
32.771429
0.8113
0
0
0.25
0
0
0.004032
0
0
0
0
0
0.104167
0
null
null
0
0.145833
null
null
0.145833
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
0
0
1
e2f68d2c703206d782b3bf27baf1eb812e1e2a22
489
py
Python
swid_generator/meta.py
xgdfalcon/swidGenerator
367706d93d6f6ec2407d695b96446dd704d1ab87
[ "MIT" ]
13
2015-10-16T18:28:32.000Z
2021-08-29T09:36:08.000Z
swid_generator/meta.py
sthagen/swidGenerator
b70f9bef402de11bc2d226b4379d18dc490ec7fd
[ "MIT" ]
11
2018-07-03T13:34:08.000Z
2019-04-10T10:29:29.000Z
swid_generator/meta.py
sthagen/swidGenerator
b70f9bef402de11bc2d226b4379d18dc490ec7fd
[ "MIT" ]
12
2017-02-22T14:51:10.000Z
2022-03-23T16:55:20.000Z
# -*- coding: utf-8 -*- """ This module contains metadata about the project. """ from __future__ import unicode_literals title = 'swid_generator' version = '1.1.0' description = 'Application which generates SWID-Tags from Linux installed packages, package-files and ' \ 'directories using tools like DPGK ...
34.928571
105
0.711656
60
489
5.7
0.95
0
0
0
0
0
0
0
0
0
0
0.010076
0.188139
489
13
106
37.615385
0.851385
0.145194
0
0
0
0
0.64878
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
0
0
0
0
0
0
0
0
0
1
e2f98c7ebc2068e8843a92cd18ee6c291058f255
425
py
Python
unsupervised/clustering/ICluster.py
erickfmm/ML-experiments
b1e81b8eea976efeda6e4dc70af747628a6eb43a
[ "MIT" ]
null
null
null
unsupervised/clustering/ICluster.py
erickfmm/ML-experiments
b1e81b8eea976efeda6e4dc70af747628a6eb43a
[ "MIT" ]
null
null
null
unsupervised/clustering/ICluster.py
erickfmm/ML-experiments
b1e81b8eea976efeda6e4dc70af747628a6eb43a
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod import unsupervised.clustering.utils.initial_assignments as init_assign class ICluster: __metaclass__ = ABCMeta def __init__(self, data): self.X = data self.assign = [] self.centroids = [] self.initial_assignment = init_assign.random_assig...
32.692308
78
0.731765
46
425
6.434783
0.652174
0.067568
0
0
0
0
0
0
0
0
0
0
0.2
425
13
78
32.692308
0.870588
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
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
0
0
0
0
0
1
0
0
1
e2faad4c3d7b7b278b5e577d4bcd74c44ae6ecb8
1,863
py
Python
Downloader.py
mozdren/IPCamMozRecord
f5ce1d3725af65137468e2ecb948dda3b9d584dd
[ "MIT" ]
null
null
null
Downloader.py
mozdren/IPCamMozRecord
f5ce1d3725af65137468e2ecb948dda3b9d584dd
[ "MIT" ]
null
null
null
Downloader.py
mozdren/IPCamMozRecord
f5ce1d3725af65137468e2ecb948dda3b9d584dd
[ "MIT" ]
null
null
null
import urllib2 import threading import Configuration import cv def download(url): try: response = urllib2.urlopen(url, timeout = 5) data = response.read() return data except Exception, e: print str(e) return None class DownloaderThread(threading.Thread): def __init_...
31.576271
85
0.602791
211
1,863
5.165877
0.341232
0.044037
0.068807
0.055046
0.201835
0.157798
0.100917
0.100917
0.100917
0.100917
0
0.007605
0.294149
1,863
58
86
32.12069
0.821293
0
0
0.113208
0
0
0.022019
0
0
0
0
0
0
0
null
null
0
0.075472
null
null
0.037736
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
0
0
1
e2fb4f7486995eba5533445b1969c67b56305d0a
1,310
py
Python
src/SNA_compute_AI.py
soham1112/spider-networks
0607f54044f2b16de8f543df4755c5ce3875e153
[ "MIT" ]
null
null
null
src/SNA_compute_AI.py
soham1112/spider-networks
0607f54044f2b16de8f543df4755c5ce3875e153
[ "MIT" ]
null
null
null
src/SNA_compute_AI.py
soham1112/spider-networks
0607f54044f2b16de8f543df4755c5ce3875e153
[ "MIT" ]
null
null
null
#=============================================================================== # SM 2/2016 # Code exclusively for computing association_index_attacker using full # association index given the pair of attackers (M, N) and data D. #=============================================================================== import...
26.2
91
0.51145
263
1,310
2.410646
0.243346
0.070978
0.15142
0.164038
0.302839
0.299685
0.299685
0.225552
0.181388
0.181388
0
0.052889
0.220611
1,310
49
92
26.734694
0.568071
0.336641
0
0
0
0
0
0
0
0
0
0
0
1
0.033333
false
0
0.033333
0
0.133333
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
0
0
0
1
3905f2e565555cf20834bdf278a2d30e0b9efa4d
733
py
Python
segment_level/scripts/combine_gismo_clusters_generate_saf.py
gtonkinhill/falciparum_transcriptome_manuscript
e7a9d33715264c741abfee77253e2244f5a8d91a
[ "MIT" ]
null
null
null
segment_level/scripts/combine_gismo_clusters_generate_saf.py
gtonkinhill/falciparum_transcriptome_manuscript
e7a9d33715264c741abfee77253e2244f5a8d91a
[ "MIT" ]
null
null
null
segment_level/scripts/combine_gismo_clusters_generate_saf.py
gtonkinhill/falciparum_transcriptome_manuscript
e7a9d33715264c741abfee77253e2244f5a8d91a
[ "MIT" ]
1
2020-12-10T13:56:42.000Z
2020-12-10T13:56:42.000Z
import glob mult=1 with open("combined_blocks_clustered.csv", 'w') as outfile: for f in glob.glob("*hierarchical_clusters.csv"): print f with open(f, 'rU') as infile: if mult==1: outfile.write(infile.next()) else: infile.next() for line in infile: line = line.strip()...
25.275862
92
0.575716
109
733
3.834862
0.33945
0.059809
0.076555
0.105263
0.511962
0.511962
0.511962
0.511962
0.397129
0.397129
0
0.023897
0.257844
733
28
93
26.178571
0.744485
0
0
0.615385
0
0
0.129604
0.075034
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
391a19afad9866d05133372637046deacf2e74ca
5,085
pyw
Python
sigaa8.pyw
luisrguerra/calculadorahorariossigaaunb
e99a271683812310fe6289dbe128232657253faf
[ "BSD-3-Clause" ]
1
2021-01-21T02:42:17.000Z
2021-01-21T02:42:17.000Z
sigaa8.pyw
luisrguerra/calculadorahorariossigaaunb
e99a271683812310fe6289dbe128232657253faf
[ "BSD-3-Clause" ]
null
null
null
sigaa8.pyw
luisrguerra/calculadorahorariossigaaunb
e99a271683812310fe6289dbe128232657253faf
[ "BSD-3-Clause" ]
null
null
null
from tkinter import * from tkinter import ttk import os.path #para checar se o arquivo existe import solicitar import imprimir import fechar icone = ".\data\icone.ico" icone_existe = os.path.exists(icone) while True: cor_fundo = 'white' fonte_texto = "Arial" tamanho_texto = 12 tamanho_titulo = 16 ...
30.449102
93
0.417306
567
5,085
3.726631
0.185185
0.132513
0.170374
0.189304
0.210601
0.075722
0.075722
0.075722
0
0
0
0.068003
0.450541
5,085
166
94
30.63253
0.688261
0.020846
0
0.204225
0
0
0.113056
0
0
0
0
0
0
1
0
false
0
0.042254
0
0.042254
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
0
0
0
1
3922f2d026215c4b598ddcee6bd6c8a6350ddcaf
573
py
Python
example_python/app_02_grpc/client/main.py
simplebuild/please.make
3d0fbea34e633f5b71694c53aca7352e829e2c46
[ "MIT" ]
24
2020-05-06T17:57:40.000Z
2022-02-22T13:30:36.000Z
example_python/app_02_grpc/client/main.py
simplebuild/please.make
3d0fbea34e633f5b71694c53aca7352e829e2c46
[ "MIT" ]
3
2022-02-13T12:58:28.000Z
2022-02-27T04:32:16.000Z
example_python/app_02_grpc/client/main.py
simplebuild/please.make
3d0fbea34e633f5b71694c53aca7352e829e2c46
[ "MIT" ]
3
2020-05-21T12:58:50.000Z
2021-02-03T07:36:01.000Z
import grpc import logging from absl import app, flags import example_python.app_02_grpc.proto.greeter_pb2 as greeter_pb2 import example_python.app_02_grpc.proto.greeter_pb2_grpc as greeter_pb2_grpc flags.DEFINE_integer('port', 50051, 'Port to serve book service on') def main(argv): client = greeter_pb2_grpc.Gr...
28.65
97
0.776614
84
573
5
0.511905
0.142857
0.1
0.104762
0.204762
0.204762
0.204762
0.204762
0.204762
0
0
0.029703
0.118674
573
19
98
30.157895
0.80198
0
0
0
0
0
0.17801
0.048866
0
0
0
0
0
1
0.083333
false
0
0.416667
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
0
0
1
0
0
0
0
1
3926d81892df689f687efb02a6b67ba5dbe79654
8,272
py
Python
translate/translate_bpe2char.py
nyu-dl/dl4mt-c2c
7655c0edc2fbc113fa856e9916592f4662059099
[ "BSD-3-Clause" ]
171
2016-11-01T13:13:47.000Z
2022-03-21T14:10:19.000Z
translate/translate_bpe2char.py
trevordonnelly/dl4mt-c2c
7655c0edc2fbc113fa856e9916592f4662059099
[ "BSD-3-Clause" ]
23
2016-11-20T03:55:36.000Z
2019-05-13T15:18:32.000Z
translate/translate_bpe2char.py
trevordonnelly/dl4mt-c2c
7655c0edc2fbc113fa856e9916592f4662059099
[ "BSD-3-Clause" ]
63
2016-11-01T16:53:28.000Z
2020-06-13T13:12:40.000Z
import argparse import sys import os import time reload(sys) sys.setdefaultencoding('utf-8') sys.path.insert(0, "/misc/kcgscratch1/ChoGroup/jasonlee/dl4mt-c2c/bpe2char") # change appropriately import numpy import cPickle as pkl from mixer import * def translate_model(jobqueue, resultqueue, model, options, k, normal...
35.655172
254
0.615933
1,092
8,272
4.510989
0.269231
0.021924
0.041413
0.026797
0.210922
0.11754
0.075518
0.066991
0.040195
0.040195
0
0.017094
0.264507
8,272
231
255
35.809524
0.792571
0.152563
0
0.095808
0
0.005988
0.094283
0.025505
0
0
0
0
0
0
null
null
0
0.065868
null
null
0.08982
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
0
0
1
3929a5f96eb3582a55288fd32d81ecdcdf883c97
607
py
Python
scripts/print_model_summary.py
qai222/CompAugCycleGAN
1a9d54237f4470a4fd5ab215993ed5b373a87e86
[ "CC-BY-4.0" ]
null
null
null
scripts/print_model_summary.py
qai222/CompAugCycleGAN
1a9d54237f4470a4fd5ab215993ed5b373a87e86
[ "CC-BY-4.0" ]
null
null
null
scripts/print_model_summary.py
qai222/CompAugCycleGAN
1a9d54237f4470a4fd5ab215993ed5b373a87e86
[ "CC-BY-4.0" ]
null
null
null
import os from cacgan.data import FormulaDataset, GroupAB from cacgan.gans import AugCycleGan from cacgan.gans import Trainer from cacgan.utils import SEED, seed_rng, load_pkl """ print a txt file describing the structure of augcyc """ seed_rng(SEED) dataset = load_pkl("../dataset/dataset_ab.pkl") dataset: FormulaD...
27.590909
94
0.792422
86
607
5.465116
0.476744
0.085106
0.059574
0.085106
0
0
0
0
0
0
0
0.027223
0.092257
607
21
95
28.904762
0.825771
0
0
0
0
0
0.149635
0.093066
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
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
0
0
0
1
392fd6cec05398851f6edab18f7e5a5a0402b4ac
316
py
Python
chapter05/error_view_demo/errors/urls.py
Tomtao626/django
fe945063593b4bfe82d74842f728b854b501a294
[ "Apache-2.0" ]
null
null
null
chapter05/error_view_demo/errors/urls.py
Tomtao626/django
fe945063593b4bfe82d74842f728b854b501a294
[ "Apache-2.0" ]
null
null
null
chapter05/error_view_demo/errors/urls.py
Tomtao626/django
fe945063593b4bfe82d74842f728b854b501a294
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 02/01/2021 23:37 # @Author : tomtao # @Email : tp320670258@gmail.com # @File : urls.py # @Project : error_view_demo from django.urls import path from . import views urlpatterns = [ path('405.html', views.view_405, name='405'), path('403.html', views.view_403, name='403') ]
24.307692
49
0.651899
47
316
4.297872
0.680851
0.089109
0.128713
0
0
0
0
0
0
0
0
0.151515
0.164557
316
13
50
24.307692
0.613636
0.433544
0
0
0
0
0.127168
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
393274511ff8ade3d568edf3ce281b780dd13969
3,376
py
Python
tests/test_dataset.py
ckauth/eurostat-api-client
70c859881d50b3eca275434e2590ff7d76b290e9
[ "Apache-2.0" ]
4
2019-01-04T12:57:07.000Z
2021-03-14T04:03:42.000Z
tests/test_dataset.py
ckauth/eurostat-api-client
70c859881d50b3eca275434e2590ff7d76b290e9
[ "Apache-2.0" ]
6
2019-06-16T21:20:09.000Z
2021-09-15T21:03:57.000Z
tests/test_dataset.py
ckauth/eurostat-api-client
70c859881d50b3eca275434e2590ff7d76b290e9
[ "Apache-2.0" ]
9
2019-07-29T16:13:25.000Z
2022-03-10T17:42:30.000Z
from eurostatapiclient.models.dataset import dimension_list_size from eurostatapiclient.models.dimension import ItemList, Dimension import unittest from eurostatapiclient.models.dataset import Dataset import datetime import json import os TEST_ASSET_DIR = os.path.join(os.path.dirname(__file__), 'assets') ADD_DATASET =...
36.301075
74
0.591825
367
3,376
5.305177
0.253406
0.177196
0.225989
0.086287
0.351823
0.172573
0.141757
0.080123
0.080123
0.080123
0
0.043988
0.29295
3,376
92
75
36.695652
0.77168
0.029917
0
0.2
0
0
0.066483
0
0
0
0
0
0.2875
1
0.05
false
0
0.0875
0
0.1625
0.0125
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
0
0
0
1
393af2e7a56b8e1fb6dfc214efb3967a67da7892
866
py
Python
test_first/patch_module.py
haarcuba/test_first
804ccd40699345423a44c90c62ced7fcb82f735b
[ "MIT" ]
null
null
null
test_first/patch_module.py
haarcuba/test_first
804ccd40699345423a44c90c62ced7fcb82f735b
[ "MIT" ]
7
2021-10-30T19:09:10.000Z
2021-12-04T21:14:28.000Z
test_first/patch_module.py
haarcuba/test_first
804ccd40699345423a44c90c62ced7fcb82f735b
[ "MIT" ]
null
null
null
import pytest from test_first import fake _SENTINEL = 'test_first-sentinel-a72004be-7a66-42f5-bdcf-7d71eb7283e3' class Patcher: def __init__(self): self.__stack = [] def __call__(self, module, attribute, mock = None): if hasattr( module, attribute ): original = getattr( module, at...
27.0625
70
0.620092
92
866
5.619565
0.434783
0.203095
0.17795
0
0
0
0
0
0
0
0
0.030995
0.292148
866
31
71
27.935484
0.812398
0
0
0
0
0
0.064665
0.064665
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.307692
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
393d856c5a143092e3bf4ec4635cb697b334ab02
12,721
py
Python
geo/geophys/examples/RM15/RM15.py
Tamlyn78/geo
dd63372acdd1fe8b744c05eca5ad23836e6a1604
[ "MIT" ]
null
null
null
geo/geophys/examples/RM15/RM15.py
Tamlyn78/geo
dd63372acdd1fe8b744c05eca5ad23836e6a1604
[ "MIT" ]
null
null
null
geo/geophys/examples/RM15/RM15.py
Tamlyn78/geo
dd63372acdd1fe8b744c05eca5ad23836e6a1604
[ "MIT" ]
null
null
null
from os import listdir, makedirs from os.path import abspath, basename, dirname, isdir, join import re import csv import numpy as np import pandas as pd from scipy import stats, ndimage, signal import matplotlib.pyplot as plt from matplotlib import cm, rc from mpl_toolkits.axes_grid1 import make_axes_locatable from ma...
33.564644
135
0.585803
1,968
12,721
3.685976
0.119919
0.01544
0.056245
0.089054
0.668597
0.662531
0.638269
0.620899
0.613455
0.603529
0
0.036201
0.255169
12,721
378
136
33.653439
0.729393
0.06902
0
0.501754
0
0
0.043013
0
0
0
0
0
0
1
0.077193
false
0
0.045614
0
0.122807
0.003509
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
0
0
0
1
3945df9845ecf9ada82d2ae164bf467f497ebb1b
1,918
py
Python
administration/views.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
null
null
null
administration/views.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
4
2021-06-05T00:11:13.000Z
2022-01-13T03:47:17.000Z
administration/views.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
1
2021-04-20T18:05:56.000Z
2021-04-20T18:05:56.000Z
from rest_framework import generics, views, viewsets from rest_framework.decorators import api_view from rest_framework.parsers import FileUploadParser from rest_framework.response import Response from rest_framework import status from django.http import Http404 from openpyxl import load_workbook, Workbook from openpyx...
33.068966
72
0.792492
238
1,918
6.273109
0.323529
0.06564
0.09645
0.075017
0.35499
0.313463
0.313463
0.313463
0.313463
0.313463
0
0.010676
0.120959
1,918
57
73
33.649123
0.874852
0.027633
0
0.26087
0
0
0
0
0
0
0
0
0
1
0.130435
false
0
0.26087
0
0.608696
0.043478
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
0
1
0
0
1
39497691ceabd3784d606785b4a899f237208ed4
38,631
py
Python
arelle/plugin/sphinx/FormulaGenerator.py
DataFinnovation/Arelle
d4bf45f56fc9249f75ab22e6217dbe55f0510841
[ "Apache-2.0" ]
292
2015-01-27T03:31:51.000Z
2022-03-26T07:00:05.000Z
arelle/plugin/sphinx/FormulaGenerator.py
DataFinnovation/Arelle
d4bf45f56fc9249f75ab22e6217dbe55f0510841
[ "Apache-2.0" ]
94
2015-04-18T23:03:00.000Z
2022-03-28T17:24:55.000Z
arelle/plugin/sphinx/FormulaGenerator.py
DataFinnovation/Arelle
d4bf45f56fc9249f75ab22e6217dbe55f0510841
[ "Apache-2.0" ]
200
2015-01-13T03:55:47.000Z
2022-03-29T12:38:56.000Z
''' formulaGenerator generates XBRL formula linkbases for a subset of the Sphinx language. (c) Copyright 2013 Mark V Systems Limited, California US, All rights reserved. Mark V copyright applies to this software, which is licensed according to the terms of Arelle(r). Sphinx is a Rules Language for XBRL described by...
46.543373
125
0.551422
3,540
38,631
5.971186
0.19548
0.025499
0.023418
0.031223
0.359306
0.317674
0.277604
0.255843
0.232472
0.22022
0
0.025503
0.317905
38,631
829
126
46.599517
0.776698
0.176102
0
0.286899
1
0.028192
0.267817
0.018575
0
0
0
0
0.059701
1
0.054726
false
0.004975
0.016584
0.004975
0.101161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
394a8e23225b11ac893797de835089f91e2b99ae
368
py
Python
euler273/273.py
evilmucedin/project-euler
08ed51a5ff0d05f60271d99d35b3e601bcddf85d
[ "MIT" ]
3
2020-03-23T04:31:14.000Z
2021-01-17T09:03:09.000Z
euler273/273.py
evilmucedin/project-euler
08ed51a5ff0d05f60271d99d35b3e601bcddf85d
[ "MIT" ]
null
null
null
euler273/273.py
evilmucedin/project-euler
08ed51a5ff0d05f60271d99d35b3e601bcddf85d
[ "MIT" ]
3
2018-03-28T20:53:27.000Z
2020-04-27T07:03:02.000Z
#!/usr/bin/env python import math erato = [True]*150 primes = [] for i in xrange(2, 150): if erato[i]: if i % 4 == 1: primes.append(i) j = i + i while j < 150: erato[j] = False j += i print primes print len(primes) print 2**len(primes) mul = 1 for p in p...
16.727273
28
0.516304
60
368
3.166667
0.466667
0.021053
0
0
0
0
0
0
0
0
0
0.062241
0.345109
368
21
29
17.52381
0.726141
0.054348
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.222222
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
0
0
1
394deac2c0648e3ff3bc3f9137803ed2f4273593
409
py
Python
c12/p349_stdout.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
c12/p349_stdout.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
c12/p349_stdout.py
HiAwesome/dive-into-python3-practice
e57504cb0683ebca9c80b20ff0cb3878bdcc3f87
[ "Apache-2.0" ]
null
null
null
import sys class RedirectStdoutTo: def __init__(self, out_new): self.out_new = out_new def __enter__(self): self.out_old = sys.stdout sys.stdout = self.out_new def __exit__(self, *args): sys.stdout = self.out_old print('A') with open('../resource/txt/output/out.log', mo...
20.45
108
0.638142
60
409
4.016667
0.516667
0.145228
0.124481
0.13278
0
0
0
0
0
0
0
0.003115
0.215159
409
19
109
21.526316
0.747664
0
0
0
0
0
0.095355
0.07335
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.384615
0.230769
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
0
0
0
1
3952128fa2c00ebcf9dc48dfa06c1ee5269ac448
866
py
Python
Backend/apps/trade/migrations/0002_auto_20190224_0327.py
BeanWei/Dailyfresh-B2C
7c94e9a4428e5116c91bf27cf696e6eee430748a
[ "Apache-2.0" ]
84
2019-02-22T08:19:52.000Z
2022-02-08T03:36:32.000Z
Backend/apps/trade/migrations/0002_auto_20190224_0327.py
GinCho-Max/Dailyfresh-B2C
7c94e9a4428e5116c91bf27cf696e6eee430748a
[ "Apache-2.0" ]
16
2019-09-06T10:25:40.000Z
2022-02-12T06:37:41.000Z
Backend/apps/trade/migrations/0002_auto_20190224_0327.py
GinCho-Max/Dailyfresh-B2C
7c94e9a4428e5116c91bf27cf696e6eee430748a
[ "Apache-2.0" ]
61
2019-03-20T02:29:23.000Z
2021-07-09T08:14:25.000Z
# Generated by Django 2.0.2 on 2019-02-24 03:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('trade', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='shoppingcart', ...
29.862069
121
0.613164
90
866
5.788889
0.466667
0.06142
0.080614
0.126679
0.364683
0.364683
0.364683
0.364683
0.364683
0.364683
0
0.029457
0.255196
866
28
122
30.928571
0.778295
0.051963
0
0.409091
1
0
0.15873
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
395356aa8466e0891ace69c5be1b3f0fde3e4501
1,077
py
Python
test/perf/perf.py
wkearn/Kalman.jl
a080e4e18b2f27af60fa3142be843d09541cbf7d
[ "MIT" ]
44
2015-02-11T14:27:24.000Z
2021-07-30T20:51:38.000Z
test/perf/perf.py
wkearn/Kalman.jl
a080e4e18b2f27af60fa3142be843d09541cbf7d
[ "MIT" ]
2
2015-10-02T11:47:41.000Z
2018-02-02T09:45:46.000Z
test/perf/perf.py
wkearn/Kalman.jl
a080e4e18b2f27af60fa3142be843d09541cbf7d
[ "MIT" ]
21
2015-03-18T21:46:30.000Z
2021-07-30T20:51:42.000Z
import numpy as np import sys import timeit from pykalman import KalmanFilter N = int(sys.argv[1]) random_state = np.random.RandomState(0) transition_matrix = [[1, 0.01], [-0.01, 1]] transition_offset = [0.0,0.0] observation_matrix = [1.0,0] observation_offset = [0.0] transition_covariance = 1e-10*np.eye(2) observatio...
35.9
128
0.785515
158
1,077
5.101266
0.297468
0.019851
0.011166
0.057072
0.054591
0
0
0
0
0
0
0.055271
0.092851
1,077
29
129
37.137931
0.769703
0
0
0
0
0
0.082637
0.046425
0
0
0
0
0
0
null
null
0
0.2
null
null
0.04
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
0
0
1
1a3258cf7badd255a9307d5f3956237fbeb82bff
446
py
Python
artists/urls.py
flannerykj/urbanapplause
c9b6c0f9a2f65b869fe1e6fa921972e7236e4fe5
[ "MIT" ]
null
null
null
artists/urls.py
flannerykj/urbanapplause
c9b6c0f9a2f65b869fe1e6fa921972e7236e4fe5
[ "MIT" ]
null
null
null
artists/urls.py
flannerykj/urbanapplause
c9b6c0f9a2f65b869fe1e6fa921972e7236e4fe5
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views app_name = 'artists' urlpatterns = [ url(r'^$', views.IndexView.as_view(), name='index'), url(r'^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'), url(r'^edit/(?P<pk>\d+)/$', views.UpdateArtist.as_view(), name='edit'), url(r'^create/$',...
37.166667
77
0.625561
66
446
4.136364
0.439394
0.07326
0.18315
0.065934
0
0
0
0
0
0
0
0.005063
0.11435
446
12
78
37.166667
0.686076
0
0
0
0
0
0.225951
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
1
1a37f2bd5fe18531b4032a37a702ab6810656fed
1,125
py
Python
tests/mock.py
kklein/icontract
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
[ "MIT" ]
244
2018-08-15T22:58:58.000Z
2022-03-12T16:10:39.000Z
tests/mock.py
kklein/icontract
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
[ "MIT" ]
157
2018-08-29T21:36:47.000Z
2022-02-14T19:30:24.000Z
tests/mock.py
kklein/icontract
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
[ "MIT" ]
23
2019-04-24T11:09:10.000Z
2022-02-14T15:56:26.000Z
"""Provide mock structures used accross the tests.""" from typing import List, Union class NumpyArray: """Represent a class that mocks a numpy.array and it's behavior on less-then operator.""" def __init__(self, values: List[Union[int, bool]]) -> None: """Initialize with the given values.""" ...
36.290323
96
0.634667
146
1,125
4.753425
0.472603
0.086455
0.056196
0.063401
0.325648
0.325648
0.325648
0.325648
0.325648
0.325648
0
0
0.232889
1,125
30
97
37.5
0.804171
0.312
0
0
0
0
0.141883
0
0
0
0
0
0
1
0.428571
false
0
0.071429
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1a428b3cebba37ae0405317bd4d0e2bbdb0b64a7
717
py
Python
DB_resource/code/insertMongodb.py
DaiShuHeng/shiyizhonghua_resource
6faa284292102ab97438f356cf9bf69d2472335b
[ "Apache-2.0" ]
null
null
null
DB_resource/code/insertMongodb.py
DaiShuHeng/shiyizhonghua_resource
6faa284292102ab97438f356cf9bf69d2472335b
[ "Apache-2.0" ]
1
2021-11-29T03:38:21.000Z
2021-11-29T03:38:21.000Z
DB_resource/code/insertMongodb.py
DaiShuHeng/shiyizhonghua_resource
6faa284292102ab97438f356cf9bf69d2472335b
[ "Apache-2.0" ]
13
2021-11-06T03:17:45.000Z
2021-12-02T15:12:54.000Z
# -*- coding: utf-8 -*- """ Author:by 王林清 on 2021/11/2 21:32 FileName:insertMongodb.py in shiyizhonghua_resource Tools:PyCharm python3.8.4 """ from pymongo import MongoClient from util import * if __name__ == '__main__': dir_name = r'./../database_json' paths = get_file_path(dir_name) host = '114.55.236....
26.555556
61
0.608089
85
717
4.941176
0.717647
0.033333
0
0
0
0
0
0
0
0
0
0.062977
0.269177
717
26
62
27.576923
0.73855
0.185495
0
0
0
0
0.13913
0
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
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
0
0
0
1
1a49cf0573ed943c6db81fa5fa001609a4e4757e
4,773
py
Python
Hermes.py
jax777/Hermes
55defa1640b2d8f14a63878b8bbff41272779c75
[ "Unlicense" ]
null
null
null
Hermes.py
jax777/Hermes
55defa1640b2d8f14a63878b8bbff41272779c75
[ "Unlicense" ]
null
null
null
Hermes.py
jax777/Hermes
55defa1640b2d8f14a63878b8bbff41272779c75
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # coding: utf-8 # __author__ jax777 import os import cgi import json import urllib import hashlib import datetime import tornado.ioloop import tornado.web import traceback from tornado.escape import json_decode from multiprocessing import Process from sqllitedb import * from DnsServer import dns_serv...
27.75
119
0.57511
556
4,773
4.829137
0.27518
0.063315
0.080447
0.057728
0.266667
0.206704
0.141899
0.141899
0.141899
0.099441
0
0.011682
0.282631
4,773
172
120
27.75
0.772488
0.056149
0
0.257576
0
0
0.099087
0.026275
0
0
0
0
0
0
null
null
0.037879
0.121212
null
null
0.045455
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
0
0
1
1a4a79766214bce2c54862f0ba91b60a1d34cf35
1,348
py
Python
landdegradation/download.py
gdaldegan/landdegradation
08860179eb4fa5dcd4572b75dd2ce343e3575295
[ "MIT" ]
null
null
null
landdegradation/download.py
gdaldegan/landdegradation
08860179eb4fa5dcd4572b75dd2ce343e3575295
[ "MIT" ]
null
null
null
landdegradation/download.py
gdaldegan/landdegradation
08860179eb4fa5dcd4572b75dd2ce343e3575295
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import ee from landdegradation.util import TEImage from landdegradation.schemas.schemas import BandInfo def download(asset, name, temporal_resolution, start_year, end_year, EXECUTION_ID, logger)...
36.432432
117
0.669881
182
1,348
4.675824
0.362637
0.084606
0.070505
0.079906
0.321974
0.298472
0.298472
0.223267
0.223267
0.094007
0
0.003735
0.20549
1,348
36
118
37.444444
0.79085
0.396884
0
0
0
0
0.06599
0
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.5
0.0625
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
0
0
0
1
1a4b90bcaa04099413775127fbdb065ea1e2bdcf
1,344
py
Python
tensorflow_datasets/core/logging/logging_logger.py
sourcery-ai-bot/datasets
b623ab0abf3f03bacf6a7ba22c8d37bf76a4db28
[ "Apache-2.0" ]
1
2021-07-04T11:07:34.000Z
2021-07-04T11:07:34.000Z
tensorflow_datasets/core/logging/logging_logger.py
sourcery-ai-bot/datasets
b623ab0abf3f03bacf6a7ba22c8d37bf76a4db28
[ "Apache-2.0" ]
null
null
null
tensorflow_datasets/core/logging/logging_logger.py
sourcery-ai-bot/datasets
b623ab0abf3f03bacf6a7ba22c8d37bf76a4db28
[ "Apache-2.0" ]
1
2021-07-04T11:07:35.000Z
2021-07-04T11:07:35.000Z
# coding=utf-8 # Copyright 2021 The TensorFlow Datasets Authors. # # 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 appl...
38.4
79
0.72619
191
1,344
5.010471
0.554974
0.062696
0.027168
0.033438
0
0
0
0
0
0
0
0.008326
0.195685
1,344
34
80
39.529412
0.876966
0.466518
0
0
0
0
0.075931
0
0
0
0
0
0
1
0.083333
false
0
0.333333
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
0
0
1
0
0
0
0
1
1a4c10dd268c18ea7f80bb6c81bca827718cd899
865
py
Python
conformance/tests/ot_labels.py
jordan2lee/grip
64c4ae923ae8819569fe584c6750a24e51932aec
[ "MIT" ]
null
null
null
conformance/tests/ot_labels.py
jordan2lee/grip
64c4ae923ae8819569fe584c6750a24e51932aec
[ "MIT" ]
null
null
null
conformance/tests/ot_labels.py
jordan2lee/grip
64c4ae923ae8819569fe584c6750a24e51932aec
[ "MIT" ]
null
null
null
def test_list_labels(man): errors = [] G = man.setGraph("swapi") resp = G.listLabels() print(resp) if len(resp["vertex_labels"]) != 6: errors.append("listLabels returned an unexpected number of vertex labels; %d != 2" % (len(resp["vertex_labels"]))) if sorted(resp["vertex_labels"])...
36.041667
155
0.645087
101
865
5.445545
0.425743
0.109091
0.16
0.218182
0.327273
0.181818
0.181818
0.181818
0
0
0
0.008475
0.181503
865
23
156
37.608696
0.768362
0
0
0
0
0
0.476246
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.071429
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a4d09aa09e2665f13f249c5708fdd7192001e99
2,409
py
Python
web/blog/migrations/0001_initial.py
CleyFaye/gtlive-info
9e54e81b47f4292586211e83b776eec24214ab46
[ "MIT" ]
null
null
null
web/blog/migrations/0001_initial.py
CleyFaye/gtlive-info
9e54e81b47f4292586211e83b776eec24214ab46
[ "MIT" ]
22
2019-03-23T21:08:08.000Z
2019-03-25T07:34:58.000Z
web/blog/migrations/0001_initial.py
CleyFaye/gtlive-info
9e54e81b47f4292586211e83b776eec24214ab46
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-03-06 16:44 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrati...
48.18
227
0.635949
274
2,409
5.452555
0.427007
0.058902
0.040161
0.034137
0.200803
0.200803
0.200803
0.200803
0.200803
0.200803
0
0.014262
0.243254
2,409
49
228
49.163265
0.805266
0.028643
0
0.317073
1
0
0.261874
0
0
0
0
0
0
1
0
false
0
0.097561
0
0.195122
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a4f1c919b299942a82c6932d7f00aabeb8479d0
316
py
Python
tests/data/formulas/foo/foo-1.0.py
pmuller/ipkg
9e3df803e0f16035a7552f63bbf54886244827d8
[ "MIT" ]
3
2016-04-20T21:24:59.000Z
2021-11-17T10:58:49.000Z
tests/data/formulas/foo/foo-1.0.py
pmuller/ipkg
9e3df803e0f16035a7552f63bbf54886244827d8
[ "MIT" ]
null
null
null
tests/data/formulas/foo/foo-1.0.py
pmuller/ipkg
9e3df803e0f16035a7552f63bbf54886244827d8
[ "MIT" ]
null
null
null
from os.path import dirname from ipkg.build import Formula, File class foo(Formula): name = 'foo' version = '1.0' sources = File(dirname(__file__) + '/../../sources/foo-1.0.tar.gz') platform = 'any' def install(self): self.run_cp(['README', self.environment.prefix + '/foo.README'])
21.066667
72
0.626582
43
316
4.488372
0.651163
0.020725
0
0
0
0
0
0
0
0
0
0.015873
0.202532
316
14
73
22.571429
0.75
0
0
0
0
0
0.174051
0.091772
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1a5061fa8eaa75165019221d64224e6c9602ed66
778
py
Python
prob0002.py
chadhs/project-euler
c19a81a98efee991cadb6a66eb1865088416201e
[ "BSD-3-Clause" ]
null
null
null
prob0002.py
chadhs/project-euler
c19a81a98efee991cadb6a66eb1865088416201e
[ "BSD-3-Clause" ]
null
null
null
prob0002.py
chadhs/project-euler
c19a81a98efee991cadb6a66eb1865088416201e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python def sum_even_fib(limit): fib_list = [1, 2] even_fib_list = [2] next_fib = fib_list[-1] + fib_list[-2] while(next_fib <= limit): next_fib = fib_list[-1] + fib_list[-2] fib_list.append(next_fib) if next_fib % 2 == 0: even_fib_list.append(next_fi...
21.611111
46
0.618252
131
778
3.282443
0.183206
0.195349
0.139535
0.097674
0.75814
0.595349
0.516279
0.302326
0.195349
0.195349
0
0.038801
0.271208
778
35
47
22.228571
0.719577
0.025707
0
0.583333
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.083333
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
0
0
1
1a5431d37ebda58e5b218f10d2b25e4f51243a49
1,596
py
Python
bokeh/serve_through_api/flask_api/html_generator.py
eshanMewantha/data-visualization
d9cdd5551092d90572e34af1ebd82af414f16aaf
[ "MIT" ]
null
null
null
bokeh/serve_through_api/flask_api/html_generator.py
eshanMewantha/data-visualization
d9cdd5551092d90572e34af1ebd82af414f16aaf
[ "MIT" ]
null
null
null
bokeh/serve_through_api/flask_api/html_generator.py
eshanMewantha/data-visualization
d9cdd5551092d90572e34af1ebd82af414f16aaf
[ "MIT" ]
null
null
null
import pandas as pd from bokeh.plotting import figure from bokeh.sampledata.stocks import AAPL def get_template(): df = pd.DataFrame(AAPL) df['date'] = pd.to_datetime(df['date']) import jinja2 from bokeh.embed import components # IMPORTANT NOTE!! The version of BokehJS loaded in the template sh...
26.163934
92
0.615915
227
1,596
4.303965
0.396476
0.042989
0.079836
0.09826
0.438076
0.438076
0.429887
0.429887
0.429887
0.412487
0
0.033844
0.222431
1,596
60
93
26.6
0.753425
0.072055
0
0.166667
0
0.166667
0.650643
0
0
0
0
0
0
1
0.027778
false
0
0.138889
0
0.194444
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
0
0
0
0
0
0
0
0
0
1
1a5c80ab6f0c06783f4d0e9551701ed39a95c25b
3,243
py
Python
classes/data_handler.py
GorillaBus/tf-translate
2cc23fb32cb1d78cb82c8c894e25f5e709d01b78
[ "MIT" ]
null
null
null
classes/data_handler.py
GorillaBus/tf-translate
2cc23fb32cb1d78cb82c8c894e25f5e709d01b78
[ "MIT" ]
null
null
null
classes/data_handler.py
GorillaBus/tf-translate
2cc23fb32cb1d78cb82c8c894e25f5e709d01b78
[ "MIT" ]
null
null
null
import tensorflow as tf from sklearn.model_selection import train_test_split import unicodedata import re import io ''' Handles data loading, pre-processing and tokenizing ''' class DataHandler(): ''' Creates a tf.data.Dataset object to feed the network with tensors and in batches X: (tensor) with inpu...
26.153226
101
0.670675
503
3,243
4.178926
0.332008
0.005709
0.015224
0.030447
0.057088
0.057088
0.045671
0.045671
0.045671
0.045671
0
0.006985
0.205365
3,243
123
102
26.365854
0.807916
0.160962
0
0
0
0
0.040213
0
0
0
0
0
0
1
0.179487
false
0
0.128205
0.051282
0.512821
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
0
1
0
0
1
1a6aa4d0a786d3e399ee18bc2e9e652bb27f3099
1,108
py
Python
video/main.py
ArseniKavalchuk/ffmpeg-hls-view
943e8eb5de7357c720d332a3ef13be98fd1efdf5
[ "Apache-2.0" ]
1
2020-10-23T15:56:31.000Z
2020-10-23T15:56:31.000Z
video/main.py
ArseniKavalchuk/ffmpeg-rtsp-hls-view
943e8eb5de7357c720d332a3ef13be98fd1efdf5
[ "Apache-2.0" ]
null
null
null
video/main.py
ArseniKavalchuk/ffmpeg-rtsp-hls-view
943e8eb5de7357c720d332a3ef13be98fd1efdf5
[ "Apache-2.0" ]
null
null
null
from video.segment import CodecCopyHLSFormatSegmenter from video.segment import CodecX264HLSFormatSegmenter from video.segment import CodecX264SegmentFormatSegmenter from video.segment import CodecX264ResizeHLSFormatSegmenter from video.snapshot import take_snapshot import os import pathlib import argparse PROJECT_ROO...
38.206897
116
0.758123
146
1,108
5.493151
0.390411
0.044888
0.079801
0.109726
0
0
0
0
0
0
0
0.014553
0.131769
1,108
29
117
38.206897
0.819127
0
0
0
0
0
0.040577
0
0
0
0
0
0
1
0.038462
false
0
0.346154
0
0.384615
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
0
0
0
1
1a6c38fe3eac0c9e9490bdee1d1414080a4cb623
2,294
py
Python
services/flask/project/elasticSearch/query_builder.py
eseerigha/countries-api
31ec8865a1e67e8bcf2ddb8939f5ccfb1e85f9e4
[ "MIT" ]
null
null
null
services/flask/project/elasticSearch/query_builder.py
eseerigha/countries-api
31ec8865a1e67e8bcf2ddb8939f5ccfb1e85f9e4
[ "MIT" ]
null
null
null
services/flask/project/elasticSearch/query_builder.py
eseerigha/countries-api
31ec8865a1e67e8bcf2ddb8939f5ccfb1e85f9e4
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from elasticsearch_dsl import query from elasticsearch_dsl.query import MatchPhrasePrefix, Term, Bool, Match, MatchAll class QueryBuilderStrategy(ABC): def __init__(self, searchInput): self.name = searchInput.get('name') self.region = searchInput.get('region') ...
26.367816
101
0.6068
218
2,294
6.229358
0.215596
0.047128
0.040501
0.081001
0.506627
0.418262
0.37408
0.322533
0.322533
0.28866
0
0
0.294246
2,294
86
102
26.674419
0.838789
0
0
0.545455
0
0
0.028771
0
0
0
0
0
0
1
0.212121
false
0.030303
0.045455
0.045455
0.454545
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
0
0
0
1
1a6d2886a4a7ffe920b3a6389b89764f7a3428c8
2,002
py
Python
run.py
RitvikSardana/ekatraone-backend
13d4fc95de749b13bac6491c46eb471214b08e9a
[ "MIT" ]
null
null
null
run.py
RitvikSardana/ekatraone-backend
13d4fc95de749b13bac6491c46eb471214b08e9a
[ "MIT" ]
null
null
null
run.py
RitvikSardana/ekatraone-backend
13d4fc95de749b13bac6491c46eb471214b08e9a
[ "MIT" ]
3
2021-12-16T14:14:58.000Z
2022-01-24T10:49:48.000Z
""" The main app where all the routes are initiated here and runs the flask app """ from resources.auth import * from resources.reset import * from resources.userdetails import * from resources.course import * from resources.groups import * from resources.delivery import * from resources.dashboard_api import * from re...
38.5
75
0.766234
278
2,002
5.23741
0.334532
0.181319
0.091346
0.078297
0.227335
0.070055
0.037088
0
0
0
0
0.003254
0.078921
2,002
51
76
39.254902
0.786334
0.053946
0
0
0
0
0.22978
0.132298
0
0
0
0
0
1
0.025
true
0
0.2
0
0.25
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1a721b84f67bae06186b9dfd9e9eef0d47fea1c9
10,303
py
Python
v2gcalendar/main.py
felixb/v2gcalendar
2bcd92e4f36d5783f2df06c7d7d9d73a65cab22a
[ "Apache-2.0" ]
1
2017-08-18T01:17:16.000Z
2017-08-18T01:17:16.000Z
v2gcalendar/main.py
felixb/v2gcalendar
2bcd92e4f36d5783f2df06c7d7d9d73a65cab22a
[ "Apache-2.0" ]
null
null
null
v2gcalendar/main.py
felixb/v2gcalendar
2bcd92e4f36d5783f2df06c7d7d9d73a65cab22a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import argparse import datetime import json import re import sys from calendar_service import CalendarService from icalendar import Calendar, Event, vDatetime, vText from logger import Logger from oauth2client.client import AccessTokenRefreshError from pytz import reference logger = Logger() ...
34.0033
77
0.510337
1,120
10,303
4.5625
0.203571
0.029354
0.029941
0.013699
0.14501
0.10137
0.10137
0.089237
0.049706
0.023092
0
0.013307
0.372707
10,303
302
78
34.115894
0.777348
0.051441
0
0.179916
0
0
0.120681
0
0
0
0
0
0
0
null
null
0
0.050209
null
null
0.020921
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
0
0
1
1a74a1e8b0ee6169f83c1660ff3489436c1f2d88
209
py
Python
20190724-hello-world-flask/hello-world-flask.py
rmoralesdelgado/python-scripts
0ec6e4d73bc5a2303fb668feba8f1c71f02dd630
[ "MIT" ]
null
null
null
20190724-hello-world-flask/hello-world-flask.py
rmoralesdelgado/python-scripts
0ec6e4d73bc5a2303fb668feba8f1c71f02dd630
[ "MIT" ]
null
null
null
20190724-hello-world-flask/hello-world-flask.py
rmoralesdelgado/python-scripts
0ec6e4d73bc5a2303fb668feba8f1c71f02dd630
[ "MIT" ]
null
null
null
''' Script to run a "Hello World" using Python 3.X and Flask. ''' from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello, World!" if __name__ == "__main__": app.run()
13.933333
57
0.645933
31
209
3.967742
0.677419
0.162602
0
0
0
0
0
0
0
0
0
0.005882
0.186603
209
14
58
14.928571
0.717647
0.272727
0
0
0
0
0.152778
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
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
0
0
0
0
0
0
0
1
0
0
0
1
1a7ca17c8fac0cea02df710a8598ac8c259e6344
1,152
py
Python
python/sklk_widgets/StringValueComboBox.py
skylarkwireless/sklk-demos
9de3c05377f46576186a61035497fcf2a2ced324
[ "Apache-2.0" ]
2
2019-05-12T02:57:58.000Z
2021-06-18T08:54:59.000Z
python/sklk_widgets/StringValueComboBox.py
skylarkwireless/sklk-demos
9de3c05377f46576186a61035497fcf2a2ced324
[ "Apache-2.0" ]
null
null
null
python/sklk_widgets/StringValueComboBox.py
skylarkwireless/sklk-demos
9de3c05377f46576186a61035497fcf2a2ced324
[ "Apache-2.0" ]
3
2020-04-13T21:16:07.000Z
2021-03-24T17:52:39.000Z
######################################################################## ## Combo box with string value interface ######################################################################## from PyQt5.QtWidgets import QComboBox from PyQt5.QtCore import pyqtSignal class StringValueComboBox(QComboBox): valueChanged = p...
41.142857
88
0.604167
116
1,152
5.913793
0.534483
0.026239
0
0
0
0
0
0
0
0
0
0.004246
0.182292
1,152
27
89
42.666667
0.723992
0.032118
0
0
0
0
0.049587
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0.052632
0.421053
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
0
0
0
1
1a853f3174943b2868458e3fd5209f38f6c49f91
26,053
py
Python
humaniq.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
humaniq.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
humaniq.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import time from web3 import Web3, KeepAliveRPCProvider, IPCProvider web3 = Web3(KeepAliveRPCProvider(host='127.0.0.1', port='8545')) # Global Declarations global true global false global hmq_account_0_a global hmq_account_1_a global hmq_account_2_a global hmq_account_3_a global hmq_accou...
56.269978
3,870
0.734196
3,721
26,053
4.74953
0.062349
0.052962
0.049793
0.034855
0.690601
0.611837
0.563062
0.50116
0.469813
0.433656
0
0.027629
0.110889
26,053
463
3,871
56.269978
0.735322
0.020036
0
0.267606
0
0.035211
0.350457
0.100866
0
0
0.003353
0
0
1
0.049296
false
0.032864
0.004695
0
0.053991
0.197183
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a854f27f0f56d7e922198cf9ddc37bf19fd9e75
731
py
Python
translations/en.py
fossabot/snips-app-say-it-again
9a73575667ce4958c989b8ee8fa49cf64cde09a8
[ "MIT" ]
7
2018-12-01T15:00:05.000Z
2019-03-21T22:11:00.000Z
translations/en.py
fossabot/snips-app-say-it-again
9a73575667ce4958c989b8ee8fa49cf64cde09a8
[ "MIT" ]
15
2018-12-23T14:39:32.000Z
2020-02-01T18:59:15.000Z
translations/en.py
fossabot/snips-app-say-it-again
9a73575667ce4958c989b8ee8fa49cf64cde09a8
[ "MIT" ]
10
2018-12-21T20:52:22.000Z
2020-03-30T19:05:10.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ This module contains the result sentences and intents for the English version of the Say it again skill. """ # Result sentences RESULT_SAY_SORRY = "Sorry, I don't remember what I said. I must have fallen asleep." RESULT_TEXT_SORRY = "Sorry, I don't remember what you s...
38.473684
90
0.753762
117
731
4.555556
0.478632
0.045028
0.061914
0.078799
0.315197
0.275797
0.232645
0.131332
0
0
0
0.006339
0.136799
731
18
91
40.611111
0.838352
0.236662
0
0
0
0
0.628885
0.164534
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
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a85f5e8e7e8c3eb8c8d249a4d30db324f44895e
1,065
py
Python
dlib/tools/python/test/generate_numpy_returns_test_data.py
asm-jaime/facerec
e5e101b9f478168ead179e6b08b5605ea7607da2
[ "CC0-1.0" ]
11,719
2015-01-03T22:38:57.000Z
2022-03-30T21:45:04.000Z
tools/python/test/generate_numpy_returns_test_data.py
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
2,518
2015-01-04T04:38:06.000Z
2022-03-31T11:55:43.000Z
tools/python/test/generate_numpy_returns_test_data.py
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
3,308
2015-01-01T14:34:16.000Z
2022-03-31T07:20:07.000Z
#!/usr/bin/python # The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt # # This utility generates the test data required for the tests contained in test_numpy_returns.py # # Also note that this utility requires Numpy which can be installed # via the command: # pip insta...
32.272727
98
0.738028
166
1,065
4.524096
0.578313
0.093209
0.039947
0.050599
0.082557
0.082557
0
0
0
0
0
0.012304
0.160563
1,065
33
99
32.272727
0.82774
0.293897
0
0
1
0
0.410738
0.166443
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a85fcc456833de5c744c6e5ff7017326cb330f4
788
py
Python
Chapter 4/4-2.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
Chapter 4/4-2.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
Chapter 4/4-2.py
Nolazco1/pythonProjects
33938487cb2e4771ea4ff6716703868844d04e52
[ "MIT" ]
null
null
null
# This program assists a technician in the process # of checking a substance's temperature. # Nmaed constant to represent the maximum # temperature. MAX_TEMP = 102.5 # Get the substance's temperature. temperature = float(input("Enter the subtance's Celsius temperature: ")) # As long as necessary, instruct ...
32.833333
73
0.717005
110
788
5.118182
0.490909
0.099467
0.0746
0.092362
0.10302
0
0
0
0
0
0
0.014241
0.19797
788
23
74
34.26087
0.876582
0.38198
0
0
0
0
0.555066
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1a8e5dbcf98db15a0749e18b881fa87a7833778c
523
py
Python
Contract/models.py
Hyped-247/rp
9e3c6287ec2a183998f6ddadc20153736bbefaf3
[ "MIT" ]
null
null
null
Contract/models.py
Hyped-247/rp
9e3c6287ec2a183998f6ddadc20153736bbefaf3
[ "MIT" ]
null
null
null
Contract/models.py
Hyped-247/rp
9e3c6287ec2a183998f6ddadc20153736bbefaf3
[ "MIT" ]
null
null
null
from django.db import models from Apt.models import Apt from Owner.models import Owner from Renter.models import Renter class Contract(models.Model): owner = models.ForeignKey(Owner) renter = models.ForeignKey(Renter) apt = models.ForeignKey(Apt) active = models.BooleanField(default=True) start_d...
27.526316
54
0.745698
66
523
5.848485
0.469697
0.093264
0.098446
0
0
0
0
0
0
0
0
0.020548
0.162524
523
18
55
29.055556
0.860731
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1a9934c641a8e06786f568b40c4021e92eb93c05
7,678
py
Python
__init__.py
wailord90/Capstone
5d82339e31905f5c7ef3131f15526d9bc29f0a98
[ "Apache-2.0" ]
1
2019-03-14T19:29:55.000Z
2019-03-14T19:29:55.000Z
__init__.py
wailord90/Capstone
5d82339e31905f5c7ef3131f15526d9bc29f0a98
[ "Apache-2.0" ]
null
null
null
__init__.py
wailord90/Capstone
5d82339e31905f5c7ef3131f15526d9bc29f0a98
[ "Apache-2.0" ]
2
2019-02-09T21:13:50.000Z
2019-03-14T21:03:52.000Z
from flask_bootstrap import Bootstrap # from pipenv.vendor.dotenv import load_dotenv from flask import Flask, render_template, request, jsonify, redirect, Response import os import thread import json import pprint import pusher import cv2 import sys import numpy import time import serial from time_convert import pretty...
33.973451
165
0.586481
881
7,678
4.968218
0.323496
0.003655
0.010966
0.012337
0.205392
0.163582
0.134339
0.134339
0.130226
0.110121
0
0.032564
0.300078
7,678
225
166
34.124444
0.781913
0.130112
0
0.26087
0
0
0.124868
0.031292
0
0
0
0
0
0
null
null
0.018634
0.10559
null
null
0.018634
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
0
0
1
1a9bf2335bf26bc4c9f9e7623fc0e9e3be656abc
3,381
py
Python
experiment_basic.py
caranha/GDMC_experiments
9cbef15c5fe2cb1703535586aded0cde5112cd3e
[ "MIT" ]
null
null
null
experiment_basic.py
caranha/GDMC_experiments
9cbef15c5fe2cb1703535586aded0cde5112cd3e
[ "MIT" ]
null
null
null
experiment_basic.py
caranha/GDMC_experiments
9cbef15c5fe2cb1703535586aded0cde5112cd3e
[ "MIT" ]
null
null
null
import random import interfaceUtils # Add text to a sign def setSignText(x, y, z, line1 = "", line2 = "", line3 = "", line4 = ""): l1 = 'Text1:\'{"text":"'+line1+'"}\'' l2 = 'Text2:\'{"text":"'+line2+'"}\'' l3 = 'Text3:\'{"text":"'+line3+'"}\'' l4 = 'Text4:\'{"text":"'+line4+'"}\'' blockNBT = "{"+...
33.81
100
0.572316
436
3,381
4.426606
0.389908
0.012435
0.018135
0.029016
0.082383
0.040415
0.040415
0.040415
0
0
0
0.041387
0.24963
3,381
99
101
34.151515
0.719354
0.18249
0
0
0
0
0.196207
0.032093
0
0
0
0.010101
0
1
0.047619
false
0
0.031746
0
0.095238
0.015873
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
0
0
0
1
1aa4b3a113ac926ca89f8c9615ae6678dd7f9cd5
5,622
py
Python
hand_of_ros/roomba_control/scripts/create_controller.py
robertsatya/ros-bot
12ef876beee36ebb1d9af90c6e9d8b1b0a4a76d2
[ "MIT" ]
null
null
null
hand_of_ros/roomba_control/scripts/create_controller.py
robertsatya/ros-bot
12ef876beee36ebb1d9af90c6e9d8b1b0a4a76d2
[ "MIT" ]
null
null
null
hand_of_ros/roomba_control/scripts/create_controller.py
robertsatya/ros-bot
12ef876beee36ebb1d9af90c6e9d8b1b0a4a76d2
[ "MIT" ]
null
null
null
#!/usr/bin/env python from Tkinter import * import tkMessageBox import tkSimpleDialog import struct import sys, glob # for listing serial ports import rospy from roomba_control.srv import * send_mode = None def create_control_service_client(x): global send_mode try: if send_mode == None: ...
31.58427
98
0.544468
594
5,622
5.050505
0.377104
0.035
0.073333
0.054
0.272333
0.194
0.194
0.155
0.134333
0.134333
0
0.021589
0.357346
5,622
177
99
31.762712
0.808746
0.234436
0
0.133333
0
0.008333
0.115367
0.020677
0
0
0
0
0
0
null
null
0.008333
0.058333
null
null
0.016667
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
0
0
1
1aaa5460c4001c62707a01ed99a09b49ed09db38
1,975
py
Python
otindex/scripts/load_taxonomy_files.py
OpenTreeOfLife/ottreeindex
cc5b5ae0d191317be5ed98febcb3bfca99c07b86
[ "BSD-2-Clause" ]
1
2017-03-10T22:27:18.000Z
2017-03-10T22:27:18.000Z
otindex/scripts/load_taxonomy_files.py
OpenTreeOfLife/otindex
cc5b5ae0d191317be5ed98febcb3bfca99c07b86
[ "BSD-2-Clause" ]
31
2016-08-17T20:00:51.000Z
2020-10-08T20:35:28.000Z
otindex/scripts/load_taxonomy_files.py
kcranston/ottreeindex
cc5b5ae0d191317be5ed98febcb3bfca99c07b86
[ "BSD-2-Clause" ]
null
null
null
# Imports ott.csv, synonyms.csv, tree_otu_assoc.csv into the database # Assumes database already set up. This happends either in initializedb.py # if running pyramid app or setup_db.py for testing (both in # this same directory) import datetime as dt import argparse import psycopg2 as psy import os # other databa...
35.909091
82
0.696203
253
1,975
5.241107
0.387352
0.036953
0.027149
0.033937
0.199095
0.081448
0.081448
0
0
0
0
0.001289
0.214177
1,975
55
83
35.909091
0.853093
0.195443
0
0
0
0
0.178594
0
0
0
0
0
0
0
null
null
0
0.257143
null
null
0.085714
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
0
0
1
1ab5f348f3b648c7e38b865f80541d5d68554892
1,760
py
Python
pliki_przejsciowe/kolorujemy_ksiazki.py
stared/wizualizacja-wolnych-lektur
ad4219b4587aeb7d8ade3546ad9922ad1b5104b2
[ "CC-BY-3.0" ]
6
2015-08-05T09:59:45.000Z
2018-07-13T04:09:43.000Z
pliki_przejsciowe/kolorujemy_ksiazki.py
stared/wizualizacja-wolnych-lektur
ad4219b4587aeb7d8ade3546ad9922ad1b5104b2
[ "CC-BY-3.0" ]
null
null
null
pliki_przejsciowe/kolorujemy_ksiazki.py
stared/wizualizacja-wolnych-lektur
ad4219b4587aeb7d8ade3546ad9922ad1b5104b2
[ "CC-BY-3.0" ]
8
2016-09-13T11:13:43.000Z
2021-03-18T08:01:56.000Z
import requests from collections2 import Counter import simplejson as json import re books = json.load(open("books2.json")) color_stem = json.load(open("stemmizer_kolory.json")) colors = json.load(open("kolory_nowe.json")) def root_word(word, stem_dict): if word in stem_dict: return stem_dict[word] ...
35.918367
127
0.572727
244
1,760
3.983607
0.377049
0.08642
0.061728
0.026749
0
0
0
0
0
0
0
0.004721
0.277841
1,760
48
128
36.666667
0.760031
0
0
0.05
0
0
0.149432
0.011932
0
0
0
0
0
0
null
null
0
0.1
null
null
0.05
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
0
0
1
1abdcea8efc0ca3c44292b62fd849e170b45bca7
1,466
py
Python
forge/blade/entity/npc/mobs.py
jarbus/neural-mmo
7ad02fab50f2781c0a71f7d2afd10c1503110736
[ "MIT" ]
1,450
2019-03-04T15:47:38.000Z
2022-03-30T03:33:35.000Z
forge/blade/entity/npc/mobs.py
jarbus/neural-mmo
7ad02fab50f2781c0a71f7d2afd10c1503110736
[ "MIT" ]
34
2019-03-05T09:50:38.000Z
2021-08-31T15:20:27.000Z
forge/blade/entity/npc/mobs.py
LaudateCorpus1/neural-mmo
a9a7c34a1fb24fbf252e2958bdb869c213e580a3
[ "MIT" ]
164
2019-03-04T16:09:19.000Z
2022-02-26T15:43:40.000Z
#NPC definitions with AI overrides per NPC, as required. from forge.blade.entity import NPC from forge.blade.item import Item, RawMeat, Sword from forge.blade.lib import AI from forge.blade.lib.Enums import Material from forge.blade.modules import DropTable, Skill class Chicken(NPC.Passive): def __init__(self, po...
30.541667
71
0.662347
193
1,466
4.948187
0.352332
0.04712
0.073298
0.059686
0.427225
0.427225
0.295288
0.073298
0.073298
0
0
0.022847
0.223738
1,466
47
72
31.191489
0.816344
0.100273
0
0.342857
0
0
0
0
0
0
0
0
0
1
0.114286
false
0.057143
0.142857
0
0.371429
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
0
0
0
1
1abe13c8550d375e49e3544c2d226393aab8428e
1,638
py
Python
backend/apps/api/system/models/enums.py
offurface/smsta
b8a1f2e6efe6c71703c8d57e8aae255ad213863c
[ "MIT" ]
null
null
null
backend/apps/api/system/models/enums.py
offurface/smsta
b8a1f2e6efe6c71703c8d57e8aae255ad213863c
[ "MIT" ]
null
null
null
backend/apps/api/system/models/enums.py
offurface/smsta
b8a1f2e6efe6c71703c8d57e8aae255ad213863c
[ "MIT" ]
null
null
null
"""Перечисления""" from enum import Enum, unique from django.utils.translation import gettext_lazy as _ from etc.choices import ChoicesEnumMixin, get_choices @unique class Gender(ChoicesEnumMixin, Enum): """ Пол """ FEMALE = 1, _("Женский") MALE = 2, _("Мужской") @unique class DisabilityGroup(C...
18.613636
54
0.655067
161
1,638
6.453416
0.440994
0.076997
0.051973
0.040423
0.042348
0
0
0
0
0
0
0.016266
0.211844
1,638
87
55
18.827586
0.788536
0.067155
0
0.214286
0
0
0.107269
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1ac1c18d81b3fb08cc942e5904dbb8a0b2570d9d
1,783
py
Python
connections/migrations/0001_initial.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
connections/migrations/0001_initial.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
connections/migrations/0001_initial.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-26 17:23 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ...
45.717949
169
0.653393
195
1,783
5.733333
0.364103
0.042934
0.062612
0.09839
0.581395
0.507156
0.434705
0.434705
0.434705
0.434705
0
0.014514
0.227145
1,783
38
170
46.921053
0.796807
0.038138
0
0.333333
1
0
0.123059
0.05914
0
0
0
0
0
1
0
false
0
0.133333
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1ac20c1a12bae5faab7bd06bd64e2ac8f107be97
1,242
py
Python
src/learning/migrations/0025_user_and_tutorial_relations_cascade.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
3
2021-04-01T19:42:53.000Z
2022-03-01T09:50:17.000Z
src/learning/migrations/0025_user_and_tutorial_relations_cascade.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
src/learning/migrations/0025_user_and_tutorial_relations_cascade.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-27 13:05 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('learning', '0024_tutoria...
38.8125
177
0.68277
136
1,242
6.058824
0.382353
0.048544
0.067961
0.106796
0.479369
0.479369
0.362864
0.28034
0.28034
0.28034
0
0.019192
0.202899
1,242
31
178
40.064516
0.813131
0.036232
0
0.32
1
0
0.158996
0.048536
0
0
0
0
0
1
0
false
0
0.12
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1ac958a3278a36707325e087561792a722194785
356
py
Python
tests/__init__.py
crsanderford/brainrender
6d2f1c2150ef381d08daaf1cff1ae287de0cc5e8
[ "BSD-3-Clause" ]
226
2020-10-19T13:41:36.000Z
2022-03-29T11:22:43.000Z
tests/__init__.py
RobertoDF/BrainRender
a92dc3b08f743721521ae233f15b1814207bf08c
[ "MIT" ]
90
2020-10-14T09:52:48.000Z
2022-03-25T15:51:09.000Z
tests/__init__.py
RobertoDF/BrainRender
a92dc3b08f743721521ae233f15b1814207bf08c
[ "MIT" ]
36
2020-10-14T13:04:14.000Z
2022-03-25T15:31:29.000Z
from brainrender import settings settings.INTERACTIVE = False settings.OFFSCREEN = True settings.DEFAULT_ATLAS = "allen_mouse_100um" from vedo import settings as vsettings vsettings.useDepthPeeling = False vsettings.screenshotTransparentBackground = False # vedo for transparent bg vsettings.useFXAA = True # This n...
29.666667
76
0.823034
43
356
6.744186
0.604651
0.096552
0.110345
0
0
0
0
0
0
0
0
0.009709
0.132022
356
11
77
32.363636
0.928803
0.182584
0
0
0
0
0.059028
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
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
1
1acb8eb322e9aec321348f3d36693b0a3fc3fd97
5,618
py
Python
sdk/python/pulumi_gcp/organizations/get_project.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/organizations/get_project.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/organizations/get_project.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from .. import ...
36.245161
185
0.659665
700
5,618
5
0.198571
0.041143
0.058286
0.085714
0.257714
0.150571
0.072857
0.026286
0
0
0
0.000466
0.236383
5,618
154
186
36.480519
0.815385
0.101104
0
0.118644
1
0
0.150572
0.017065
0
0
0
0
0
1
0.110169
false
0
0.042373
0.076271
0.271186
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1acc4bb74661ef6bbaf044a243078ab4c44c027c
580
py
Python
utils/decorators.py
amigne/ZosTeroPs
d76023faa0cba8ff3f01018ca252969df86dcf60
[ "MIT" ]
4
2021-03-18T12:29:10.000Z
2022-01-26T10:03:12.000Z
utils/decorators.py
amigne/ZosTeroPs
d76023faa0cba8ff3f01018ca252969df86dcf60
[ "MIT" ]
7
2021-02-06T09:13:57.000Z
2021-03-19T21:09:59.000Z
utils/decorators.py
amigne/ZosTeroPs
d76023faa0cba8ff3f01018ca252969df86dcf60
[ "MIT" ]
null
null
null
from django.conf import settings from django.http import HttpResponseRedirect def ssl_required(view_func): def _wrapped_view_func(request, *args, **kwargs): if (hasattr(settings, 'GUI_SSL_REDIRECT') and settings.GUI_SSL_REDIRECT and request and not request.is_secure()): request...
41.428571
79
0.701724
71
580
5.422535
0.478873
0.083117
0.077922
0.098701
0.25974
0
0
0
0
0
0
0
0.201724
580
13
80
44.615385
0.831533
0
0
0
0
0
0.053448
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
46bf2f91cab789c97cc83c0134f194ca9fcd7f20
6,024
py
Python
templates/openwisp2/settings.py
wanman/ansible-openwisp2
4688cf0f17dae37f716fe2526db43c3f486d0ece
[ "BSD-3-Clause" ]
null
null
null
templates/openwisp2/settings.py
wanman/ansible-openwisp2
4688cf0f17dae37f716fe2526db43c3f486d0ece
[ "BSD-3-Clause" ]
null
null
null
templates/openwisp2/settings.py
wanman/ansible-openwisp2
4688cf0f17dae37f716fe2526db43c3f486d0ece
[ "BSD-3-Clause" ]
null
null
null
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '{{ openwisp2_secret_key }}' # SECURITY WARNING: don't run with debug turned on in p...
29.101449
129
0.623008
585
6,024
6.218803
0.335043
0.057174
0.037383
0.030236
0.14486
0.11215
0.037933
0.02199
0.02199
0
0
0.014069
0.221282
6,024
206
130
29.242718
0.761458
0.11587
0
0.106509
0
0.005917
0.459118
0.287679
0
0
0
0
0
0
null
null
0.04142
0.005917
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
0
0
0
0
0
1
46c38085c612adaa0ca6f062ec208baa84525144
1,056
py
Python
Yahoo_OAuth/migrations/0001_initial.py
namur007/JJE_App
7765953455133f33a5dcc4a2f3a99ffb38eae71f
[ "MIT" ]
2
2017-05-05T14:02:37.000Z
2017-07-21T13:19:31.000Z
Yahoo_OAuth/migrations/0001_initial.py
namur007/JJE_App
7765953455133f33a5dcc4a2f3a99ffb38eae71f
[ "MIT" ]
7
2018-01-31T13:28:12.000Z
2020-02-19T01:57:55.000Z
Yahoo_OAuth/migrations/0001_initial.py
namur007/JJE_App
7765953455133f33a5dcc4a2f3a99ffb38eae71f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-24 22:23 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
34.064516
156
0.610795
111
1,056
5.657658
0.54955
0.119427
0.044586
0.070064
0
0
0
0
0
0
0
0.019206
0.260417
1,056
30
157
35.2
0.784891
0.042614
0
0
1
0
0.084242
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46c557a179c5fb92ac9408ec04bd8055c84518c8
554
py
Python
reviews/models.py
connor-blackburn/HighCal
6669d5be6298eefd3f5189df7d30a5c06ce1e04d
[ "MIT" ]
null
null
null
reviews/models.py
connor-blackburn/HighCal
6669d5be6298eefd3f5189df7d30a5c06ce1e04d
[ "MIT" ]
8
2021-06-02T00:51:39.000Z
2022-03-12T00:10:27.000Z
reviews/models.py
connor-blackburn/HighCal
6669d5be6298eefd3f5189df7d30a5c06ce1e04d
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone """ Model for client reviews """ class Review(models.Model): job_title = models.CharField(max_length=200) review_title = models.CharField(max_length=200) description = models.TextField() created_date = models.DateTimeField(auto_now_add=True...
32.588235
86
0.749097
71
554
5.661972
0.56338
0.049751
0.099502
0.114428
0.159204
0.159204
0
0
0
0
0
0.017021
0.151625
554
17
87
32.588235
0.838298
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0.083333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
46c92a616b9d9851d72ec6a3219d86df867f63c1
621
py
Python
apps/keyboard/migrations/0004_auto_20210328_2122.py
ZhuoZhuoCrayon/AcousticKeyBoard-Web
0a0ead78aec7ed03898fd51e076aa57df966508c
[ "MIT" ]
null
null
null
apps/keyboard/migrations/0004_auto_20210328_2122.py
ZhuoZhuoCrayon/AcousticKeyBoard-Web
0a0ead78aec7ed03898fd51e076aa57df966508c
[ "MIT" ]
null
null
null
apps/keyboard/migrations/0004_auto_20210328_2122.py
ZhuoZhuoCrayon/AcousticKeyBoard-Web
0a0ead78aec7ed03898fd51e076aa57df966508c
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-03-28 13:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("keyboard", "0003_algorithmmodelinst"), ] operations = [ migrations.AddField( model_name="algorithmmodelinst", name="...
25.875
78
0.613527
59
621
6.338983
0.627119
0.096257
0.122995
0.144385
0.518717
0.518717
0.518717
0
0
0
0
0.042129
0.273752
621
23
79
27
0.78714
0.072464
0
0.352941
1
0
0.174216
0.04007
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46c97bab1a5647cd9e8e5c40c66bf5f5ac8c36c9
1,089
py
Python
LeetCode/history/Python3/13.py
Muzque/Leetcode
d06365792c9ef48e0a290da00ba5e71f212554d5
[ "MIT" ]
1
2021-05-11T09:52:38.000Z
2021-05-11T09:52:38.000Z
LeetCode/history/Python3/13.py
Muzque/Leetcode
d06365792c9ef48e0a290da00ba5e71f212554d5
[ "MIT" ]
null
null
null
LeetCode/history/Python3/13.py
Muzque/Leetcode
d06365792c9ef48e0a290da00ba5e71f212554d5
[ "MIT" ]
1
2021-05-05T04:13:17.000Z
2021-05-05T04:13:17.000Z
class Solution: def romanToInt(self, s): """ :type s: str :rtype: int """ numlist = [] for x in s: if x == 'I': num = 1 elif x == 'V': num = 5 elif x == 'X': num = 10 elif ...
27.923077
54
0.327824
112
1,089
3.1875
0.357143
0.084034
0.10084
0.112045
0
0
0
0
0
0
0
0.061856
0.554637
1,089
39
55
27.923077
0.674227
0.022039
0
0.114286
0
0
0.00677
0
0
0
0
0
0
1
0.028571
false
0
0
0
0.114286
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46cc8cea14d7417890822055eef4890caa7dc2ab
832
py
Python
scripts/place_random_object.py
ltu-ros/simple_sim_office
20e37b5f7a6d07b7859c3868a3954f0384f7c71a
[ "MIT" ]
null
null
null
scripts/place_random_object.py
ltu-ros/simple_sim_office
20e37b5f7a6d07b7859c3868a3954f0384f7c71a
[ "MIT" ]
null
null
null
scripts/place_random_object.py
ltu-ros/simple_sim_office
20e37b5f7a6d07b7859c3868a3954f0384f7c71a
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from random import uniform, choice from math import copysign """ This is a simple pythin script that generates random values for circN parameters read by simple_sim to place objects It places 1, 2 or 3 circles in a +/- 1.5m area around the center of the map """ def randsign(): ...
24.470588
59
0.667067
142
832
3.852113
0.514085
0.063985
0.010969
0.036563
0.06947
0.06947
0
0
0
0
0
0.045317
0.204327
832
33
60
25.212121
0.780967
0.19351
0
0.142857
1
0
0.09628
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.357143
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46ceb47962207e44fc2ccae2afd955563e900ab2
9,345
py
Python
matlab2cpp/tree/expression.py
emc2norway/m2cpp
81943057c184c539b409282cbbd47bbf933db04f
[ "BSD-3-Clause" ]
28
2017-04-25T10:06:38.000Z
2022-02-09T07:25:34.000Z
matlab2cpp/tree/expression.py
emc2norway/m2cpp
81943057c184c539b409282cbbd47bbf933db04f
[ "BSD-3-Clause" ]
null
null
null
matlab2cpp/tree/expression.py
emc2norway/m2cpp
81943057c184c539b409282cbbd47bbf933db04f
[ "BSD-3-Clause" ]
5
2017-04-25T17:54:53.000Z
2022-03-21T20:15:15.000Z
""" Expression interpretor """ import matlab2cpp as mc import findend import identify import constants as c def create(self, node, start, end=None, start_opr=None): """ Create expression in three steps: 1) In order, split into sub-expressions for each dividing operator 2) Address prefixes, postfixes, pa...
30.639344
93
0.521134
1,131
9,345
4.284704
0.164456
0.099051
0.109988
0.091003
0.455427
0.264548
0.247833
0.201197
0.174164
0.132068
0
0.015691
0.33847
9,345
304
94
30.740132
0.768198
0.0168
0
0.251497
0
0
0.053241
0
0
0
0
0
0
0
null
null
0
0.02994
null
null
0.053892
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
0
0
1