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
0eed21b7fcabe02a0a62e9f2a9394353e5ab7e84
669
py
Python
server/petsAPI/models.py
StoyanDimStoyanov/ReactDJango
8c30730fbd3af0064f97444a91e65a9029a1dc0f
[ "MIT" ]
null
null
null
server/petsAPI/models.py
StoyanDimStoyanov/ReactDJango
8c30730fbd3af0064f97444a91e65a9029a1dc0f
[ "MIT" ]
null
null
null
server/petsAPI/models.py
StoyanDimStoyanov/ReactDJango
8c30730fbd3af0064f97444a91e65a9029a1dc0f
[ "MIT" ]
null
null
null
# from django.db import models # Create your models here. from django.contrib.auth.models import User from django.core.validators import MinValueValidator, MaxValueValidator from django.db import models class Pets(models.Model): name = models.CharField(max_length=30, blank=False) age = models.IntegerField(va...
37.166667
100
0.753363
86
669
5.755814
0.569767
0.080808
0.048485
0.072727
0.09697
0
0
0
0
0
0
0.017241
0.133034
669
17
101
39.352941
0.836207
0.079223
0
0
0
0
0.084829
0.040783
0
0
0
0
0
1
0.090909
false
0
0.272727
0.090909
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
0eef76fa062dba35b26dc4a4ad030d371759e192
1,919
py
Python
gmn/src/d1_gmn/app/management/commands/node-view.py
DataONEorg/d1_python
dfab267c3adea913ab0e0073ed9dc1ee50b5b8eb
[ "Apache-2.0" ]
15
2016-10-28T13:56:52.000Z
2022-01-31T19:07:49.000Z
gmn/src/d1_gmn/app/management/commands/node-view.py
DataONEorg/d1_python
dfab267c3adea913ab0e0073ed9dc1ee50b5b8eb
[ "Apache-2.0" ]
56
2017-03-16T03:52:32.000Z
2022-03-12T01:05:28.000Z
gmn/src/d1_gmn/app/management/commands/node-view.py
DataONEorg/d1_python
dfab267c3adea913ab0e0073ed9dc1ee50b5b8eb
[ "Apache-2.0" ]
11
2016-05-31T16:22:02.000Z
2020-10-05T14:37:10.000Z
# This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (the "License"); # you ma...
37.627451
88
0.768108
300
1,919
4.8
0.54
0.041667
0.022222
0.022222
0.022222
0
0
0
0
0
0
0.011868
0.165711
1,919
50
89
38.38
0.88757
0.7358
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.272727
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
1
0
0
0
0
0
0
0
1
0ef8701afb3b8498bacbcd188f3434d5b1cb45bf
8,770
py
Python
dlkit/abstract_osid/grading/record_templates.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/abstract_osid/grading/record_templates.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/abstract_osid/grading/record_templates.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Implementations of grading abstract base class records.""" # pylint: disable=invalid-name # Method names comply with OSID specification. # pylint: disable=no-init # Abstract classes do not define __init__. # pylint: disable=too-few-public-methods # Some interfaces are specified as 'markers' and include n...
22.661499
72
0.715051
941
8,770
6.502657
0.151966
0.042327
0.060467
0.066514
0.599118
0.593398
0.593398
0.57967
0.57967
0.57967
0
0
0.215165
8,770
386
73
22.720207
0.889002
0.610832
0
0.493333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.013333
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
0efb198bcc1e6c6a935398a097af9b9b7415688b
592
py
Python
setup.py
hujiang001/iot-X
23a5b8e65cfa3eb204f99457fc40d6b2c6a3b4fd
[ "MIT" ]
null
null
null
setup.py
hujiang001/iot-X
23a5b8e65cfa3eb204f99457fc40d6b2c6a3b4fd
[ "MIT" ]
8
2016-03-03T02:56:22.000Z
2016-03-29T07:46:18.000Z
setup.py
hujiang001/iot-X
23a5b8e65cfa3eb204f99457fc40d6b2c6a3b4fd
[ "MIT" ]
null
null
null
#-*-coding=utf8-*- from setuptools import setup,find_packages setup( name = 'iotX', version = '1.0', author = 'Jeffery Jiang', author_email = 'hujiang001@gmail.com', url = 'www.iotx.com', summary = 'iotX - a simple framework for connecting devices with the web cloud', license = 'MIT', ...
28.190476
84
0.648649
72
592
5.263889
0.652778
0.063325
0.084433
0.100264
0.269129
0.269129
0.269129
0.269129
0.269129
0.269129
0
0.019231
0.209459
592
20
85
29.6
0.790598
0.028716
0
0
0
0
0.408377
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
0eff33a67c22be7416e39ab7fe3bdb05a76d5025
345
py
Python
Language Skills/Python/Unit 11/2-Classes/Using Classes/7-Creating class methods.py
vpstudios/codecademy-exercise-answers
ebd0ee8197a8001465636f52c69592ea6745aa0c
[ "MIT" ]
1
2016-06-09T13:10:58.000Z
2016-06-09T13:10:58.000Z
Language Skills/Python/Unit 11/2-Classes/Using Classes/7-Creating class methods.py
vpstudios/Codecademy-Exercise-Answers
ebd0ee8197a8001465636f52c69592ea6745aa0c
[ "MIT" ]
null
null
null
Language Skills/Python/Unit 11/2-Classes/Using Classes/7-Creating class methods.py
vpstudios/Codecademy-Exercise-Answers
ebd0ee8197a8001465636f52c69592ea6745aa0c
[ "MIT" ]
null
null
null
class Car(object): condition = "new" def __init__(self, model, color, mpg): self.model = model self.color = color self.mpg = mpg def display_car(self): return "This is a %s %s with %s MPG." % (self.color, self.model, str(self.mpg)) my_car = Car("DeLorean","silver", 88) pr...
26.538462
87
0.602899
51
345
3.921569
0.470588
0.135
0
0
0
0
0
0
0
0
0
0.007782
0.255072
345
12
88
28.75
0.770428
0
0
0
0
0
0.130435
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
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
16003de0a8157b398601768b1e24cef942233dda
2,105
py
Python
ros-workspace/src/dr_phil_hardware/src/dr_phil_hardware/vision/utils.py
hwixley/SDP-DrPhil
2b5469aab6b25a4a938f111daf5a24b3a331fca5
[ "Apache-2.0" ]
1
2021-11-26T20:31:13.000Z
2021-11-26T20:31:13.000Z
ros-workspace/src/dr_phil_hardware/src/dr_phil_hardware/vision/utils.py
hwixley/SDP-DrPhil
2b5469aab6b25a4a938f111daf5a24b3a331fca5
[ "Apache-2.0" ]
null
null
null
ros-workspace/src/dr_phil_hardware/src/dr_phil_hardware/vision/utils.py
hwixley/SDP-DrPhil
2b5469aab6b25a4a938f111daf5a24b3a331fca5
[ "Apache-2.0" ]
2
2021-11-18T00:09:58.000Z
2021-12-23T16:12:28.000Z
#!/usr/bin/env python3 import numpy as np from dr_phil_hardware.vision.ray import Ray from shapely.geometry import LineString import math from tf import transformations as t def invert_homog_mat(hm): """ inverts homogenous matrix expressing rotation and translation in 3D or 2D """ return t.inverse_mat...
30.955882
131
0.618527
302
2,105
4.245033
0.347682
0.012481
0.0117
0.032761
0.039782
0.028081
0.028081
0.028081
0
0
0
0.063452
0.251306
2,105
68
132
30.955882
0.75
0.390499
0
0
0
0
0
0
0
0
0
0
0.037037
1
0.185185
false
0
0.185185
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16008fd87546d9e86459a3f7aa515bdcf2239e37
1,648
py
Python
ams/product/views.py
magnuspedro/ams
72ef810d14d9a4724e781489d081140be6674d60
[ "MIT" ]
null
null
null
ams/product/views.py
magnuspedro/ams
72ef810d14d9a4724e781489d081140be6674d60
[ "MIT" ]
null
null
null
ams/product/views.py
magnuspedro/ams
72ef810d14d9a4724e781489d081140be6674d60
[ "MIT" ]
null
null
null
from rest_framework import viewsets from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from core.models import Product, Bought from product import serializers class ProductViewSet(viewsets.ModelViewSet): """Mange product in the database""" s...
29.963636
61
0.708738
165
1,648
6.963636
0.290909
0.104439
0.044386
0.040035
0.62141
0.62141
0.553525
0.553525
0.553525
0.553525
0
0
0.206311
1,648
54
62
30.518519
0.87844
0.159587
0
0.580645
0
0
0.011905
0
0
0
0
0
0
1
0.193548
false
0
0.16129
0
0.870968
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
16028c045107fe75861dfb8373af5364b60a3b51
672
py
Python
atomate/qchem/test_files/double_FF_wf/build_FF_wf.py
arepstein/atomate
9963569e0ff15ea47c7b3322a9fe735df8b08e0d
[ "BSD-3-Clause-LBNL" ]
null
null
null
atomate/qchem/test_files/double_FF_wf/build_FF_wf.py
arepstein/atomate
9963569e0ff15ea47c7b3322a9fe735df8b08e0d
[ "BSD-3-Clause-LBNL" ]
null
null
null
atomate/qchem/test_files/double_FF_wf/build_FF_wf.py
arepstein/atomate
9963569e0ff15ea47c7b3322a9fe735df8b08e0d
[ "BSD-3-Clause-LBNL" ]
null
null
null
# coding: utf-8 from __future__ import division, print_function, unicode_literals, absolute_import import os from atomate.qchem.workflows.base.double_FF_opt import get_wf_double_FF_opt from fireworks.core.launchpad import LaunchPad from pymatgen.io.qchem_io.outputs import QCOutput out_file = os.path.join("/global/c...
39.529412
178
0.787202
109
672
4.522936
0.651376
0.048682
0.066937
0.052738
0.064909
0
0
0
0
0
0
0.019386
0.078869
672
16
179
42
0.77706
0.019345
0
0
0
0
0.181126
0.039574
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
16029da4ecb3161f319d4f45d72088876568b933
295
py
Python
bspump/unittest/__init__.py
thatch/BitSwanPump
98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f
[ "BSD-3-Clause" ]
17
2019-02-14T09:26:03.000Z
2022-03-11T09:23:52.000Z
bspump/unittest/__init__.py
thatch/BitSwanPump
98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f
[ "BSD-3-Clause" ]
91
2019-05-06T18:59:02.000Z
2022-01-11T06:22:32.000Z
bspump/unittest/__init__.py
thatch/BitSwanPump
98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f
[ "BSD-3-Clause" ]
10
2019-04-23T08:48:58.000Z
2022-02-13T14:24:28.000Z
from .pipeline import UnitTestPipeline from .sink import UnitTestSink from .source import UnitTestSource from .unit_test_case import ProcessorTestCase from .unit_test_case import TestCase __all__ = ( 'UnitTestPipeline', 'UnitTestSink', 'UnitTestSource', 'ProcessorTestCase', 'TestCase', )
21.071429
45
0.80339
30
295
7.633333
0.466667
0.069869
0.104803
0.139738
0.19214
0
0
0
0
0
0
0
0.118644
295
13
46
22.692308
0.880769
0
0
0
0
0
0.227119
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1602e30285a424df2782c792fcb587f3a385347e
1,024
py
Python
Main.py
Suitceyes-Project/Tactile-Board-Listener
a14e8513afb81a5610a9127d736a650c5a69363b
[ "MIT" ]
null
null
null
Main.py
Suitceyes-Project/Tactile-Board-Listener
a14e8513afb81a5610a9127d736a650c5a69363b
[ "MIT" ]
null
null
null
Main.py
Suitceyes-Project/Tactile-Board-Listener
a14e8513afb81a5610a9127d736a650c5a69363b
[ "MIT" ]
null
null
null
from MqttMessageService import MqttMessageService from VibrationPatternPlayer import VibrationPatternPlayer from VestDeviceBase import DummyVestDevice from HaptogramService import HaptogramService from I2CVibrationDevice import I2CVestDevice from MotorDriver import MotorDriver import json import time class TactileBoar...
33.032258
86
0.727539
108
1,024
6.666667
0.5
0.047222
0
0
0
0
0
0
0
0
0
0.013514
0.205078
1,024
31
87
33.032258
0.871007
0
0
0
0
0
0.035122
0.027317
0
0
0.003902
0
0
1
0.076923
false
0
0.307692
0
0.461538
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
160426b13c8c6cb5b9c450394a165b4084b196dc
2,553
py
Python
opgenconsensus.py
remiolsen/OGParse
d6b7ccb555e4ff77c6274493a315b12b6872b55b
[ "MIT" ]
null
null
null
opgenconsensus.py
remiolsen/OGParse
d6b7ccb555e4ff77c6274493a315b12b6872b55b
[ "MIT" ]
null
null
null
opgenconsensus.py
remiolsen/OGParse
d6b7ccb555e4ff77c6274493a315b12b6872b55b
[ "MIT" ]
null
null
null
import argparse from intervaltree import Interval, IntervalTree from itertools import groupby from opgenxml import OpGenMapPlacement, OpGenRestrictionMap from Bio import SeqIO reverse_complements = { "A": "T", "T": "A", "G": "C", "C": "G", "Y": "R", "R": "Y", "W": "W", "S": "S", "K"...
28.685393
108
0.650999
371
2,553
4.304582
0.315364
0.045085
0.045085
0.040075
0.052599
0
0
0
0
0
0
0.003855
0.187231
2,553
88
109
29.011364
0.765783
0
0
0
0
0
0.114767
0.030161
0
0
0
0
0
0
null
null
0
0.069444
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16044b6b02a2457cc3d152ca8347a415e7c2ce82
1,533
py
Python
tests/test_mxnet.py
kmader/MMdnn
f62a33a7d6834680537693c7fdc7e90e1b2382ef
[ "MIT" ]
1
2018-07-22T03:22:19.000Z
2018-07-22T03:22:19.000Z
tests/test_mxnet.py
kmader/MMdnn
f62a33a7d6834680537693c7fdc7e90e1b2382ef
[ "MIT" ]
null
null
null
tests/test_mxnet.py
kmader/MMdnn
f62a33a7d6834680537693c7fdc7e90e1b2382ef
[ "MIT" ]
1
2019-08-14T02:50:36.000Z
2019-08-14T02:50:36.000Z
from __future__ import absolute_import from __future__ import print_function import os import sys import six from conversion_imagenet import TestModels def get_test_table(): TRAVIS_CI = os.environ.get('TRAVIS') if not TRAVIS_CI or TRAVIS_CI.lower() != 'true': return None if six.PY2: return None ...
38.325
214
0.686236
178
1,533
5.573034
0.280899
0.254032
0.054435
0.087702
0.590726
0.497984
0.423387
0.423387
0.423387
0.423387
0
0.010717
0.208741
1,533
39
215
39.307692
0.80709
0
0
0.133333
0
0
0.10705
0.057441
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.366667
0.033333
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
1607dbf13a7d3e76f8705f5c45651e83ce5b86c6
24,442
py
Python
public/tools/compare.py
janithajc/comparator-fe
65ecc1db0766d39b92242e9586a0eb78f604cb57
[ "Apache-2.0" ]
null
null
null
public/tools/compare.py
janithajc/comparator-fe
65ecc1db0766d39b92242e9586a0eb78f604cb57
[ "Apache-2.0" ]
null
null
null
public/tools/compare.py
janithajc/comparator-fe
65ecc1db0766d39b92242e9586a0eb78f604cb57
[ "Apache-2.0" ]
null
null
null
import csv import sys import time import datetime from openpyxl import Workbook from openpyxl.styles import PatternFill from difflib import SequenceMatcher import xml.etree.ElementTree as ET from decimal import Decimal datacompareFooter= "" datacompareDataFormat="" colsToConsider=["DC #","Product #"] #put pk/comp...
45.179298
401
0.660952
2,267
24,442
7.095721
0.179974
0.013055
0.008579
0.006217
0.379585
0.327365
0.278627
0.258921
0.236914
0.207634
0
0.012827
0.224941
24,442
541
402
45.179298
0.836307
0.087063
0
0.324324
0
0
0.089367
0.015958
0
0
0
0.001848
0
0
null
null
0.002252
0.02027
null
null
0.130631
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
1607dc60d5fc3dd015e8e6ad0016feac9edc8570
522
py
Python
molmodmt/forms/classes/api_pytraj_Trajectory.py
LMMV/MolModMT
5725d6d5627b07edcbbd5e55318345a136b28c35
[ "MIT" ]
null
null
null
molmodmt/forms/classes/api_pytraj_Trajectory.py
LMMV/MolModMT
5725d6d5627b07edcbbd5e55318345a136b28c35
[ "MIT" ]
null
null
null
molmodmt/forms/classes/api_pytraj_Trajectory.py
LMMV/MolModMT
5725d6d5627b07edcbbd5e55318345a136b28c35
[ "MIT" ]
null
null
null
from molmodmt.utils.exceptions import * from os.path import basename as _basename from pytraj import Trajectory as _pytraj_Trajectory form_name=_basename(__file__).split('.')[0].replace('api_','').replace('_','.') is_form={ 'pytraj.Trajectory' : form_name, _pytraj_Trajectory : form_name } ## Methods def...
22.695652
79
0.735632
69
522
5.188406
0.521739
0.134078
0.167598
0.201117
0
0
0
0
0
0
0
0.002268
0.155172
522
22
80
23.727273
0.809524
0.01341
0
0
0
0
0.083984
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.5
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
160ae95506955cf1f0400650a6763c6676099c96
367
py
Python
apps/posts/migrations/0006_rename_updated_ad_post_updated_at.py
DiceNameIsMy/starnavi-task
e2e8d20889d9b4d5cf02e332d88b7b9ec5f4aee4
[ "MIT" ]
1
2021-10-04T03:08:25.000Z
2021-10-04T03:08:25.000Z
apps/posts/migrations/0006_rename_updated_ad_post_updated_at.py
DiceNameIsMy/starnavi-task
e2e8d20889d9b4d5cf02e332d88b7b9ec5f4aee4
[ "MIT" ]
null
null
null
apps/posts/migrations/0006_rename_updated_ad_post_updated_at.py
DiceNameIsMy/starnavi-task
e2e8d20889d9b4d5cf02e332d88b7b9ec5f4aee4
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-11 12:15 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('posts', '0005_auto_20210811_1631'), ] operations = [ migrations.RenameField( model_name='post', old_name='updated_ad', ...
19.315789
47
0.588556
41
367
5.073171
0.829268
0.105769
0
0
0
0
0
0
0
0
0
0.120623
0.299728
367
18
48
20.388889
0.688716
0.122616
0
0
1
0
0.1625
0.071875
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1611f03e69f8830ba5fc052aced6205bcdad7d3f
355
py
Python
Basics/Statements.py
spirulinax/PyHub
ae92c249224013f86c06b4d6cec3c6caa2e18c4d
[ "MIT" ]
1
2020-11-09T14:13:45.000Z
2020-11-09T14:13:45.000Z
Basics/Statements.py
spirulinax/PyHub
ae92c249224013f86c06b4d6cec3c6caa2e18c4d
[ "MIT" ]
null
null
null
Basics/Statements.py
spirulinax/PyHub
ae92c249224013f86c06b4d6cec3c6caa2e18c4d
[ "MIT" ]
null
null
null
# Break Statement : greetings = ["Hello","World","!!!"] for x in greetings: print(x) if (x == "World"): break #Breaks the loop when condition matches print() for x in range (0,22,2): if (x == 10): continue #Skips the current iteration when condition matches print(x)...
22.1875
76
0.583099
48
355
4.3125
0.645833
0.038647
0.057971
0.241546
0
0
0
0
0
0
0
0.023715
0.287324
355
15
77
23.666667
0.794466
0.298592
0
0.181818
0
0
0.172131
0
0
0
0
0
0
1
0
false
0
0
0
0
0.272727
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
1613fb5e447d6a5798cefaa04f69165a885520ee
1,555
py
Python
setup.py
kumichou/mezzanine-youth-sports
45946473ad06e1321cdc7fbd51d0a911afa6078b
[ "MIT" ]
null
null
null
setup.py
kumichou/mezzanine-youth-sports
45946473ad06e1321cdc7fbd51d0a911afa6078b
[ "MIT" ]
null
null
null
setup.py
kumichou/mezzanine-youth-sports
45946473ad06e1321cdc7fbd51d0a911afa6078b
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from mezzanine_youth_sports import __version__ import subprocess def get_long_desc(): """Use Pandoc to convert the readme to ReST for the PyPI.""" try: return subprocess.check_output(['pandoc', '-f', 'markdown', '-t', 'rst', 'README.md']) except: ...
37.02381
94
0.656592
165
1,555
6.042424
0.593939
0.055166
0.080241
0.060181
0
0
0
0
0
0
0
0.000814
0.210289
1,555
41
95
37.926829
0.811075
0.034727
0
0
0
0
0.512375
0.030769
0
0
0
0
0
1
0.027027
true
0
0.081081
0
0.135135
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1620308fc96174317a00fa0c71f9130c7211575a
800
py
Python
AIHelper/pyi_rth_django.py
SquarerFive/bf3-bots
8a802a8c0eeb055e1edc16e18c9944cfc0126bfd
[ "MIT" ]
23
2021-01-15T10:40:16.000Z
2021-06-16T12:57:56.000Z
AIHelper/pyi_rth_django.py
SquarerFive/bf3-bots
8a802a8c0eeb055e1edc16e18c9944cfc0126bfd
[ "MIT" ]
28
2021-02-04T11:23:28.000Z
2021-03-21T03:13:54.000Z
AIHelper/pyi_rth_django.py
SquarerFive/bf3-bots
8a802a8c0eeb055e1edc16e18c9944cfc0126bfd
[ "MIT" ]
4
2021-02-10T14:01:38.000Z
2021-12-17T02:48:54.000Z
import inspect import os import sys import django.core.management import django.utils.autoreload #PROJECT_PATH = os.path.realpath(os.path.dirname(inspect.getfile(inspect.currentframe()))) #sys.path.append(os.path.join(PROJECT_PATH, 'apps'),) def _get_commands(): commands = { 'clearsessions': 'django.con...
27.586207
90
0.73625
99
800
5.69697
0.40404
0.117021
0.202128
0.078014
0.141844
0.141844
0
0
0
0
0
0.005891
0.15125
800
29
91
27.586207
0.824742
0.17625
0
0
0
0
0.120061
0.034954
0
0
0
0
0
1
0.095238
false
0
0.238095
0
0.428571
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
16304aab6fced73f6438c39d428e13334f38520c
1,398
py
Python
demos/python_demos/accuracy_checker/accuracy_checker/representation/reid_representation.py
asmorkalov/open_model_zoo
633b84eafee670c97d0da6985fbc76c2143fc7ae
[ "Apache-2.0" ]
2
2019-05-21T06:31:41.000Z
2019-06-12T07:47:18.000Z
demos/python_demos/accuracy_checker/accuracy_checker/representation/reid_representation.py
asmorkalov/open_model_zoo
633b84eafee670c97d0da6985fbc76c2143fc7ae
[ "Apache-2.0" ]
1
2021-03-19T12:30:19.000Z
2021-03-22T12:14:31.000Z
demos/python_demos/accuracy_checker/accuracy_checker/representation/reid_representation.py
asmorkalov/open_model_zoo
633b84eafee670c97d0da6985fbc76c2143fc7ae
[ "Apache-2.0" ]
2
2019-06-12T10:28:32.000Z
2019-06-17T21:47:54.000Z
""" Copyright (c) 2018 Intel Corporation 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,...
32.511628
77
0.757511
171
1,398
5.976608
0.532164
0.058708
0.067515
0.079256
0.072407
0
0
0
0
0
0
0.006908
0.171674
1,398
42
78
33.285714
0.875648
0.402718
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.055556
0.055556
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
164126952e2ac2f8a7892489c8ac799a4ac7e28b
1,047
py
Python
v1/tasks/signed_requests.py
Kenan7/Bank
45e2a558dd725dcc9c9995e03dbc0d02221b3710
[ "MIT" ]
null
null
null
v1/tasks/signed_requests.py
Kenan7/Bank
45e2a558dd725dcc9c9995e03dbc0d02221b3710
[ "MIT" ]
null
null
null
v1/tasks/signed_requests.py
Kenan7/Bank
45e2a558dd725dcc9c9995e03dbc0d02221b3710
[ "MIT" ]
null
null
null
import logging from celery import shared_task from nacl.encoding import HexEncoder from nacl.signing import SigningKey from thenewboston.environment.environment_variables import get_environment_variable from thenewboston.utils.format import format_address from thenewboston.utils.network import post from thenewboston.u...
29.914286
86
0.775549
133
1,047
5.834586
0.37594
0.07732
0.081186
0.051546
0
0
0
0
0
0
0
0
0.154728
1,047
34
87
30.794118
0.876836
0.029608
0
0
0
0
0.055
0.024
0
0
0
0
0
1
0.043478
false
0
0.347826
0
0.391304
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
1644ea00b5229711a3cd813e2fc54fa6d87598eb
750
py
Python
app/schemas/recipe.py
kevinbowen777/fastapi-demo
7c932c3423bf663c06722be11369a73843347e57
[ "MIT" ]
null
null
null
app/schemas/recipe.py
kevinbowen777/fastapi-demo
7c932c3423bf663c06722be11369a73843347e57
[ "MIT" ]
null
null
null
app/schemas/recipe.py
kevinbowen777/fastapi-demo
7c932c3423bf663c06722be11369a73843347e57
[ "MIT" ]
null
null
null
from typing import Sequence from pydantic import BaseModel, HttpUrl class RecipeBase(BaseModel): label: str source: str url: HttpUrl class RecipeCreate(RecipeBase): label: str source: str url: HttpUrl submitter_id: int class RecipeUpdate(RecipeBase): id: int class RecipeUpdateRe...
15.306122
42
0.716
86
750
6.209302
0.453488
0.046816
0.05618
0.06367
0.101124
0.101124
0
0
0
0
0
0
0.224
750
48
43
15.625
0.917526
0.141333
0
0.518519
0
0
0
0
0
0
0
0
0
1
0
false
0.074074
0.074074
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
1
0
0
0
0
0
1
1647df6f0b7ca4c37dae5cc365d140b457941b5b
2,438
py
Python
tydev/window.py
tylerb94/tydev
ca1d9f563e8f804f2b40a88233b00de74f74d195
[ "Unlicense" ]
null
null
null
tydev/window.py
tylerb94/tydev
ca1d9f563e8f804f2b40a88233b00de74f74d195
[ "Unlicense" ]
null
null
null
tydev/window.py
tylerb94/tydev
ca1d9f563e8f804f2b40a88233b00de74f74d195
[ "Unlicense" ]
null
null
null
import pygame from timeit import timeit as time from pygame.locals import * class Window: def __init__(self, resolution, fullscreen, window_title, window_icon_location=None): # Geometry self.resolution = resolution self.fullscreen = fullscreen # Window self.window_title ...
23.669903
88
0.54676
276
2,438
4.717391
0.25
0.069124
0.069124
0.036866
0.246544
0.185868
0.185868
0.185868
0.121352
0
0
0.010283
0.361772
2,438
102
89
23.901961
0.826478
0.040197
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.123077
false
0.061538
0.046154
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
164a869457436d2f59273c9c4ab21f7e965c697c
973
py
Python
gens/csvstream.py
workofart/rl-trading
3ff378aa8ee13587d4abe6da759143e86959ef6b
[ "MIT" ]
5
2018-12-15T15:13:22.000Z
2021-09-30T20:54:38.000Z
gens/csvstream.py
workofart/rl-trading
3ff378aa8ee13587d4abe6da759143e86959ef6b
[ "MIT" ]
null
null
null
gens/csvstream.py
workofart/rl-trading
3ff378aa8ee13587d4abe6da759143e86959ef6b
[ "MIT" ]
1
2020-10-20T00:49:59.000Z
2020-10-20T00:49:59.000Z
import csv import numpy as np from tgym.core import DataGenerator class CSVStreamer(DataGenerator): """Data generator from csv file. The csv file should no index columns. Args: filename (str): Filepath to a csv file. header (bool): True if the file has got a header, False otherwise "...
27.8
90
0.587873
124
973
4.556452
0.564516
0.037168
0.031858
0.056637
0
0
0
0
0
0
0
0.003035
0.322713
973
34
91
28.617647
0.854325
0.317575
0
0
0
0
0.05178
0
0
0
0
0
0.055556
1
0.166667
false
0.055556
0.166667
0
0.388889
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
16517224384e97389cfcd6aa6dddfb50adf19907
1,239
py
Python
social_network/facebook/migrations/0006_auto_20200116_2222.py
Samratkashipathi/GraphQl-Example
f095269f73e3f6558bc5de7d8b5614bc86857eb3
[ "MIT" ]
null
null
null
social_network/facebook/migrations/0006_auto_20200116_2222.py
Samratkashipathi/GraphQl-Example
f095269f73e3f6558bc5de7d8b5614bc86857eb3
[ "MIT" ]
null
null
null
social_network/facebook/migrations/0006_auto_20200116_2222.py
Samratkashipathi/GraphQl-Example
f095269f73e3f6558bc5de7d8b5614bc86857eb3
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2020-01-16 16:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('facebook', '0005_auto_20200116_2221'), ] operations = [ migrations.CreateModel( name='FacebookUser', fields=[ ...
33.486486
120
0.5795
115
1,239
6.121739
0.53913
0.089489
0.09375
0.136364
0.369318
0.369318
0.369318
0.269886
0.269886
0.269886
0
0.041903
0.287328
1,239
36
121
34.416667
0.755379
0.03632
0
0.333333
1
0
0.151846
0.091443
0
0
0
0
0
1
0
false
0
0.033333
0
0.133333
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
165433a944299d3df215cbf0eb54b064ce0f442b
7,699
py
Python
tests/settings.py
NickolausDS/django-globus-portal-framework
7d8dc9018d2bfcbd72d62344f0abe221b9259d70
[ "Apache-2.0" ]
null
null
null
tests/settings.py
NickolausDS/django-globus-portal-framework
7d8dc9018d2bfcbd72d62344f0abe221b9259d70
[ "Apache-2.0" ]
3
2021-10-18T15:05:38.000Z
2022-02-01T19:52:15.000Z
tests/settings.py
NickolausDS/django-globus-portal-framework
7d8dc9018d2bfcbd72d62344f0abe221b9259d70
[ "Apache-2.0" ]
2
2022-02-07T23:56:06.000Z
2022-02-07T23:58:55.000Z
""" Django settings for globus_portal_framework project. Generated by 'django-admin startproject' using Django 2.0.1. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ "...
31.296748
96
0.625666
818
7,699
5.717604
0.392421
0.03592
0.062861
0.026727
0.152662
0.087022
0.087022
0.080821
0.045328
0.028223
0
0.014396
0.224055
7,699
245
97
31.42449
0.768497
0.325757
0
0.089655
1
0
0.463982
0.322607
0
0
0
0
0
1
0
false
0
0.013793
0
0.013793
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
16549ed4f7ed4f906eb3d787620f42a596490caa
392
py
Python
src/learn_django_with_maybejay/firstapp/migrations/0003_auto_20200107_1729.py
maybejay/powerupdjango
01109844f972e523ad7c5c665ed56161814a455b
[ "bzip2-1.0.6" ]
null
null
null
src/learn_django_with_maybejay/firstapp/migrations/0003_auto_20200107_1729.py
maybejay/powerupdjango
01109844f972e523ad7c5c665ed56161814a455b
[ "bzip2-1.0.6" ]
null
null
null
src/learn_django_with_maybejay/firstapp/migrations/0003_auto_20200107_1729.py
maybejay/powerupdjango
01109844f972e523ad7c5c665ed56161814a455b
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-07 22:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('firstapp', '0002_auto_20200107_1728'), ] operations = [ migrations.AlterField( model_name='products', name='active',...
20.631579
53
0.604592
41
392
5.682927
0.853659
0
0
0
0
0
0
0
0
0
0
0.11032
0.283163
392
18
54
21.777778
0.718861
0.114796
0
0
1
0
0.130435
0.066667
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1655bc0133b5712b8f820c318225201bcfceaab2
4,489
py
Python
attendees/occasions/models/assembly.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
null
null
null
attendees/occasions/models/assembly.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
5
2022-01-21T03:26:40.000Z
2022-02-04T17:32:16.000Z
attendees/occasions/models/assembly.py
xjlin0/attendees32
25913c75ea8d916dcb065a23f2fa68bea558f77c
[ "MIT" ]
null
null
null
import pghistory from django.contrib.contenttypes.fields import GenericRelation # from django.contrib.postgres.fields import JSONField from django.contrib.postgres.indexes import GinIndex from django.db import models import django.utils.timezone import model_utils.fields from django.urls import reverse from model_utils...
41.953271
160
0.705502
535
4,489
5.757009
0.297196
0.033766
0.027273
0.027597
0.370779
0.325649
0.275325
0.228571
0.185714
0.083766
0
0.006823
0.183783
4,489
106
161
42.349057
0.833788
0.053687
0
0.108696
0
0.032609
0.156927
0.020971
0.01087
0
0
0.009434
0
1
0.032609
false
0
0.097826
0.032609
0.51087
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
1657ca457992b7b62fd95f304c24d6e6dea25b00
2,059
py
Python
PyPoll/main2.py
Rongjun-Ding/python-challenge
ad5f1d3e6311d42e5a108c402b9ed1edda462a3b
[ "RSA-MD" ]
null
null
null
PyPoll/main2.py
Rongjun-Ding/python-challenge
ad5f1d3e6311d42e5a108c402b9ed1edda462a3b
[ "RSA-MD" ]
null
null
null
PyPoll/main2.py
Rongjun-Ding/python-challenge
ad5f1d3e6311d42e5a108c402b9ed1edda462a3b
[ "RSA-MD" ]
null
null
null
import os import csv total_num_votes = 0 candidates = { "name":["Khan","Correy","Li","O'Tooley"], "votes":[0,0,0,0] } pov1 = 0.0 vote1 = 0 pov2 = 0.0 vote2 = 0 pov3 = 0.0 vote3 = 0 pov4 = 0.0 vote4 = 0 winner = str() csvpath = os.path.join('Resources', 'election_data.csv') with open(csvpath) as csvfi...
26.397436
56
0.535697
267
2,059
4.067416
0.205993
0.219153
0.095764
0.090239
0.521179
0.458564
0.20442
0.158379
0
0
0
0.068396
0.176299
2,059
78
57
26.397436
0.571934
0
0
0.104478
0
0
0.37233
0.103884
0
0
0
0
0
1
0
false
0
0.029851
0
0.029851
0.164179
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
165a671809a06b2b96f5eaab2e9b17faa51a46ed
10,326
py
Python
tools/make_mo.py
pcjacobse/sabnzbd
494e72a9963a1810e69f4e0f69df7c9dfb9256b0
[ "0BSD", "PSF-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
tools/make_mo.py
pcjacobse/sabnzbd
494e72a9963a1810e69f4e0f69df7c9dfb9256b0
[ "0BSD", "PSF-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
tools/make_mo.py
pcjacobse/sabnzbd
494e72a9963a1810e69f4e0f69df7c9dfb9256b0
[ "0BSD", "PSF-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python -OO # -*- coding: utf-8 -*- # Copyright 2010-2017 The SABnzbd-Team <team@sabnzbd.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (a...
34.535117
118
0.545904
1,253
10,326
4.439745
0.434158
0.020493
0.010786
0.0151
0.123315
0.108934
0.088082
0.068668
0.060399
0.060399
0
0.006466
0.251114
10,326
298
119
34.651007
0.712919
0.121925
0
0.064935
0
0.025974
0.281461
0.015573
0
0
0
0
0
0
null
null
0
0.025974
null
null
0.056277
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
165e01d558dc43c3d8f58566b696cf090f74d250
506
py
Python
src/python/pants/backend/python/subsystems/ipython.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
1
2020-06-13T22:01:39.000Z
2020-06-13T22:01:39.000Z
src/python/pants/backend/python/subsystems/ipython.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/python/subsystems/ipython.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
3
2020-06-30T08:28:13.000Z
2021-07-28T09:35:57.000Z
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from typing import List from pants.backend.python.subsystems.python_tool_base import PythonToolBase class IPython(PythonToolBase): options_scope = "ipython" default_version = "i...
33.733333
75
0.756917
65
506
5.723077
0.676923
0.075269
0
0
0
0
0
0
0
0
0
0.032037
0.136364
506
14
76
36.142857
0.819222
0.249012
0
0
0
0
0.183024
0.055703
0
0
0
0
0
1
0
false
0
0.25
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
165e9cf17f454b6339642b85762ab5e7de9fb2f6
526
py
Python
patcit/utils.py
fenglsuc/PatCit
6f2585dac156a69ff94f002d387c75bd723529df
[ "MIT" ]
1
2020-04-10T09:18:27.000Z
2020-04-10T09:18:27.000Z
patcit/utils.py
fenglsuc/PatCit
6f2585dac156a69ff94f002d387c75bd723529df
[ "MIT" ]
null
null
null
patcit/utils.py
fenglsuc/PatCit
6f2585dac156a69ff94f002d387c75bd723529df
[ "MIT" ]
null
null
null
from patcit.config import Config def str_to_bq_ref(s): """ Return a bq.TableRef from a string like path (e.g npl-parsing.patcit.raw) :param s: str :return: bq.Tableref """ project_id, dataset_id, table_id = s.split(".") config = Config(project_id=project_id, dataset_id=dataset_id) retu...
23.909091
77
0.661597
82
526
4.04878
0.365854
0.120482
0.099398
0.090361
0
0
0
0
0
0
0
0
0.21673
526
21
78
25.047619
0.805825
0.374525
0
0
0
0
0.007092
0
0
0
0
0
0
1
0.285714
false
0
0.142857
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
1
0
0
0
0
0
0
0
1
16629715838a4d609c9411366da9cf5db9beb415
1,226
py
Python
qf_lib/common/enums/matplotlib_location.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
198
2019-08-16T15:09:23.000Z
2022-03-30T12:44:00.000Z
qf_lib/common/enums/matplotlib_location.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
13
2021-01-07T10:15:19.000Z
2022-03-29T13:01:47.000Z
qf_lib/common/enums/matplotlib_location.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
29
2019-08-16T15:21:28.000Z
2022-02-23T09:53:49.000Z
# Copyright 2016-present CERN – European Organization for Nuclear Research # # 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...
27.863636
78
0.659869
179
1,226
4.430168
0.581006
0.075662
0.032787
0.040353
0
0
0
0
0
0
0
0.03532
0.261011
1,226
43
79
28.511628
0.838852
0.606036
0
0
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.95
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
1664e8ecd2490b2c84c4767d15d4172794d5f38f
5,758
py
Python
main.py
MRGrantCS/esp32GoogleAssistantRelayControl
dcdd8de73d77c19de1ef8e90438fd5a2dba12310
[ "MIT" ]
null
null
null
main.py
MRGrantCS/esp32GoogleAssistantRelayControl
dcdd8de73d77c19de1ef8e90438fd5a2dba12310
[ "MIT" ]
null
null
null
main.py
MRGrantCS/esp32GoogleAssistantRelayControl
dcdd8de73d77c19de1ef8e90438fd5a2dba12310
[ "MIT" ]
null
null
null
from adaioCon import aioTest, aioCon import network try: import utime as time except: import time import esp esp.osdebug(None) import gc gc.collect() from settingsGetSet import setWifi, getWifi, setADA from microWebSrv import MicroWebSrv #initialise variables AP = False filename = 'settings.json' ssid = '' p...
27.816425
194
0.591872
606
5,758
5.59901
0.287129
0.016505
0.022989
0.030062
0.157678
0.129384
0.129384
0.129384
0.129384
0.129384
0
0.008494
0.222994
5,758
206
195
27.951456
0.749888
0.134422
0
0.307692
0
0
0.3714
0.010272
0
0
0
0
0
1
0.044872
false
0.051282
0.051282
0
0.096154
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
0
0
0
1
0
0
0
0
0
1
1665f1fcdc16d7a19a3065f6493e96959a24f82b
5,954
py
Python
tools/benchmark.py
openlabs/mongo-python-driver
1def725f4a184ac2701205f292efc6c46d5d397c
[ "Apache-2.0" ]
5
2016-09-21T05:04:10.000Z
2020-11-14T02:40:56.000Z
tools/benchmark.py
openlabs/mongo-python-driver
1def725f4a184ac2701205f292efc6c46d5d397c
[ "Apache-2.0" ]
null
null
null
tools/benchmark.py
openlabs/mongo-python-driver
1def725f4a184ac2701205f292efc6c46d5d397c
[ "Apache-2.0" ]
10
2015-07-20T09:14:52.000Z
2021-05-23T13:23:57.000Z
# Copyright 2009-2010 10gen, 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,...
35.652695
78
0.588344
767
5,954
4.396349
0.259452
0.071174
0.048043
0.049822
0.412811
0.338375
0.302788
0.22331
0.098754
0.076809
0
0.016742
0.257642
5,954
166
79
35.86747
0.746154
0.180719
0
0.044643
0
0
0.268313
0.010168
0
0
0
0
0
0
null
null
0.008929
0.053571
null
null
0.008929
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
1668b3792e550af06212ba8ddf95ab2828df02f1
6,677
py
Python
shap/utils/transformers.py
cnty-ai/shap
60cc1e965a7047ccf494191330b6fd1e23746afd
[ "MIT" ]
null
null
null
shap/utils/transformers.py
cnty-ai/shap
60cc1e965a7047ccf494191330b6fd1e23746afd
[ "MIT" ]
null
null
null
shap/utils/transformers.py
cnty-ai/shap
60cc1e965a7047ccf494191330b6fd1e23746afd
[ "MIT" ]
null
null
null
from ._general import safe_isinstance MODELS_FOR_SEQ_TO_SEQ_CAUSAL_LM = [ "transformers.T5ForConditionalGeneration", "transformers.PegasusForConditionalGeneration", "transformers.MarianMTModel", "transformers.MBartForConditionalGeneration", "transformers.BlenderbotForConditiona...
41.216049
133
0.69657
595
6,677
7.636975
0.351261
0.035211
0.025088
0.010563
0.09243
0.077025
0.077025
0.066021
0.066021
0.046655
0
0.004565
0.21267
6,677
161
134
41.47205
0.859806
0.169837
0
0.082645
0
0.008264
0.527611
0.462912
0
0
0
0.006211
0.008264
1
0.024793
false
0
0.008264
0
0.057851
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
166da23217d4731d0aa7e4f7fe27d1c54c382942
233
py
Python
mooc/031.py
hiyouga/PY-Learning
296f08e7964845c314874906039f244010d5422a
[ "MIT" ]
2
2017-12-09T14:41:29.000Z
2017-12-27T11:12:16.000Z
mooc/031.py
hiyouga/PY-Learning
296f08e7964845c314874906039f244010d5422a
[ "MIT" ]
null
null
null
mooc/031.py
hiyouga/PY-Learning
296f08e7964845c314874906039f244010d5422a
[ "MIT" ]
null
null
null
#addintersert3.py def addInterest(balances, rate): for i in range(len(balances)): balances[i] = balances[i] * (1 + rate) def main(): amounts = [1000, 105, 3500, 739] rate = 0.05 addInterest(amounts, rate) print(amounts) main()
23.3
40
0.682403
34
233
4.676471
0.617647
0.113208
0
0
0
0
0
0
0
0
0
0.096447
0.154506
233
10
41
23.3
0.71066
0.06867
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
166f61cbafb99d974153820d43c36f08a9eefe4d
6,504
py
Python
qubellclient/tests/instance/hierarchical/test_service_call.py
dmakhno/contrib-python-qubell-client
351276dfd68de857e24d96ee12934005f5b8a509
[ "Apache-2.0" ]
null
null
null
qubellclient/tests/instance/hierarchical/test_service_call.py
dmakhno/contrib-python-qubell-client
351276dfd68de857e24d96ee12934005f5b8a509
[ "Apache-2.0" ]
null
null
null
qubellclient/tests/instance/hierarchical/test_service_call.py
dmakhno/contrib-python-qubell-client
351276dfd68de857e24d96ee12934005f5b8a509
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2013 Qubell Inc., http://qubell.com # # 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 agr...
46.12766
148
0.701876
774
6,504
5.76615
0.251938
0.069012
0.044813
0.062738
0.570244
0.557697
0.557697
0.514228
0.514228
0.50549
0
0.007589
0.189576
6,504
140
149
46.457143
0.83912
0.196956
0
0.378378
0
0
0.225782
0.101698
0
0
0
0.014286
0.256757
1
0.054054
false
0
0.067568
0
0.135135
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
166feb4f51a981c2f639fd1680d1b56a073774cb
757
py
Python
build_vocab/build_vocab.py
zaidalyafeai/pytorch-G2P
585149f98cc4206f758fec67f2c3337646ee67b6
[ "Apache-2.0" ]
22
2018-03-11T10:17:17.000Z
2021-11-14T22:59:06.000Z
build_vocab/build_vocab.py
zaidalyafeai/pytorch-G2P
585149f98cc4206f758fec67f2c3337646ee67b6
[ "Apache-2.0" ]
null
null
null
build_vocab/build_vocab.py
zaidalyafeai/pytorch-G2P
585149f98cc4206f758fec67f2c3337646ee67b6
[ "Apache-2.0" ]
1
2021-04-28T21:19:37.000Z
2021-04-28T21:19:37.000Z
"""Standalone script to generate word vocabularies from monolingual corpus.""" import argparse import data_utils def main(): parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument( "--model_dir", default="../prepared_data/", help="Data for training") ...
30.28
104
0.730515
95
757
5.505263
0.431579
0.068834
0.130019
0.072658
0.221797
0.137667
0.137667
0
0
0
0
0.00152
0.130779
757
24
105
31.541667
0.793313
0.095112
0
0.25
1
0
0.22975
0
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.1875
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
16781682020233ef8598222de442e82417e5fdf0
1,749
py
Python
bot.py
verdoSee/10FingersBot
71d9cadade42453dcf06f7d67e368406718e991d
[ "MIT" ]
2
2021-06-09T05:17:23.000Z
2021-09-27T10:35:25.000Z
bot.py
verdoSee/10FingersBot
71d9cadade42453dcf06f7d67e368406718e991d
[ "MIT" ]
null
null
null
bot.py
verdoSee/10FingersBot
71d9cadade42453dcf06f7d67e368406718e991d
[ "MIT" ]
null
null
null
from time import sleep from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException answer = input("Do you want to sign in to 10fingers? [y]/[n]: ") if (answer == 'y'): Uemail = input("Email: ") sleep(0.5) Upasswd = input("Pass...
33
113
0.683248
220
1,749
5.281818
0.45
0.068847
0.11704
0.130809
0.155766
0.04475
0
0
0
0
0
0.013049
0.167524
1,749
52
114
33.634615
0.785027
0
0
0.046512
0
0.023256
0.233543
0.091586
0
0
0
0
0
1
0
false
0.093023
0.093023
0
0.093023
0.023256
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
167835aa0ac2806ac0fcec5734ae01e7060753a1
1,921
py
Python
app/presenter/tests/tests_views_json_ViewCommand.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
10
2017-01-13T06:28:04.000Z
2020-11-18T13:00:26.000Z
app/presenter/tests/tests_views_json_ViewCommand.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
null
null
null
app/presenter/tests/tests_views_json_ViewCommand.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
2
2018-03-29T14:10:53.000Z
2019-11-20T08:21:57.000Z
""" Git Feed Views reports tests """ from django.test import TestCase from django.test import Client from django.conf import settings from django.contrib.auth.models import User from app.logic.commandrepo.models.CommandGroupModel import CommandGroupEntry from app.logic.commandrepo.models.CommandSetModel import Command...
37.666667
114
0.709526
241
1,921
5.551867
0.327801
0.026158
0.044843
0.068759
0.29148
0.143498
0.101644
0.101644
0.101644
0.101644
0
0.012618
0.174909
1,921
50
115
38.42
0.831546
0.014576
0
0.054054
0
0
0.143236
0.059416
0
0
0
0
0.108108
1
0.108108
false
0.054054
0.27027
0
0.405405
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
167bbba65e1ed07e807c57c75c40bdd6b015e92e
2,704
py
Python
Software/NarodmonDaemon/DeviceParser.py
bitlinker/ArduWeather
7c5c232aa088026b54042c6b197b15bb7e7cec3f
[ "MIT" ]
null
null
null
Software/NarodmonDaemon/DeviceParser.py
bitlinker/ArduWeather
7c5c232aa088026b54042c6b197b15bb7e7cec3f
[ "MIT" ]
3
2015-02-01T16:08:19.000Z
2015-02-01T16:11:25.000Z
Software/NarodmonDaemon/DeviceParser.py
bitlinker/ArduWeather
7c5c232aa088026b54042c6b197b15bb7e7cec3f
[ "MIT" ]
null
null
null
# Copyright (c) 2015 bitlinker@gmail.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish...
35.116883
79
0.678994
322
2,704
5.614907
0.456522
0.048673
0.02323
0.024336
0.09292
0.09292
0.059735
0.059735
0
0
0
0.009814
0.246302
2,704
76
80
35.578947
0.877331
0.404586
0
0.162791
0
0
0.047829
0
0
0
0
0
0
0
null
null
0
0.069767
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
167f9dcc843c3ef30adbd67d74cc352fe211685f
1,864
py
Python
Content/Compute/Azure Cloud Functions/WorkloadManager/src/azurecloudfunctions/main.py
datacenter/cloudcentersuite
57e064c958a70a04ab7b0e47fe446359a23c922c
[ "Apache-2.0" ]
8
2018-12-19T00:37:59.000Z
2020-07-16T15:05:40.000Z
Content/Compute/Azure Cloud Functions/WorkloadManager/src/azurecloudfunctions/main.py
datacenter/cloudcentersuite
57e064c958a70a04ab7b0e47fe446359a23c922c
[ "Apache-2.0" ]
2
2019-03-26T17:53:20.000Z
2019-11-26T15:26:00.000Z
Content/Compute/Azure Cloud Functions/WorkloadManager/src/azurecloudfunctions/main.py
datacenter/cloudcentersuite
57e064c958a70a04ab7b0e47fe446359a23c922c
[ "Apache-2.0" ]
9
2019-01-09T06:55:48.000Z
2019-11-27T17:55:03.000Z
#!/usr/bin/env python import sys import os from azure_cloud_function import * from util import * from error_utils import ErrorUtils OS_TYPE = 'Windows' APP_NAME = os.environ['app_name'] RUNTIME = os.environ.get('runtime', '') APP_PACKAGE = os.environ["AppPackage"] RESOURCE = os.environ["Cloud_Setting_ResourceGroup"] L...
31.59322
115
0.726395
254
1,864
5.047244
0.314961
0.084243
0.059282
0.032761
0.049922
0.049922
0.049922
0.049922
0
0
0
0.010753
0.151824
1,864
58
116
32.137931
0.800127
0.017704
0
0
0
0
0.157549
0.030088
0
0
0
0
0
1
0
false
0.132075
0.09434
0
0.09434
0.169811
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
1688eebeabb1598b9583b6dee879ec0449012553
5,377
py
Python
tests/test_core.py
DARIAH-DE/Topics
d4ef76194f3e74c1a43b51ad2883423a01773d50
[ "Apache-2.0" ]
58
2017-02-13T15:51:01.000Z
2022-03-09T19:59:37.000Z
tests/test_core.py
DARIAH-DE/Topics
d4ef76194f3e74c1a43b51ad2883423a01773d50
[ "Apache-2.0" ]
73
2017-09-27T12:45:55.000Z
2021-11-29T10:53:56.000Z
tests/test_core.py
DARIAH-DE/Topics
d4ef76194f3e74c1a43b51ad2883423a01773d50
[ "Apache-2.0" ]
16
2017-08-16T13:11:26.000Z
2021-12-14T15:42:35.000Z
import pytest import pandas as pd import dariah @pytest.fixture def dtm(): return pd.DataFrame( [[1, 2, 3], [4, 5, 6], [7, 8, 9]], columns=["AAA", "BBB", "CCC"], index=["a", "b", "c"], ) @pytest.fixture def riddell_topics(): return pd.DataFrame( { "word0": {"...
26.751244
87
0.555886
555
5,377
5.23964
0.196396
0.041265
0.066025
0.041265
0.457015
0.35282
0.35282
0.328748
0.249656
0.224897
0
0.209873
0.280454
5,377
200
88
26.885
0.541742
0
0
0.245509
0
0
0.088525
0
0
0
0
0
0.065868
1
0.08982
false
0
0.017964
0.071856
0.179641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1689c7fa31e8660c3aff0cf7ab2d7857807091d7
7,786
py
Python
python_experiments/data_analysis/common/varying_datasets_cuda_exec.py
CheYulin/AccTriCnt
fb62c9e821a453ed6027e85ec3b52d7ddc642a96
[ "MIT" ]
3
2019-07-28T14:35:00.000Z
2019-07-30T12:35:39.000Z
python_experiments/data_analysis/common/varying_datasets_cuda_exec.py
CheYulin/AccTriCnt
fb62c9e821a453ed6027e85ec3b52d7ddc642a96
[ "MIT" ]
null
null
null
python_experiments/data_analysis/common/varying_datasets_cuda_exec.py
CheYulin/AccTriCnt
fb62c9e821a453ed6027e85ec3b52d7ddc642a96
[ "MIT" ]
1
2020-01-02T19:04:05.000Z
2020-01-02T19:04:05.000Z
from data_analysis.util.read_file_utils import * from config import * from common_utils import * config_09_08_large_bitmap_range_lst = ['overview-09-08-cuda-unified-mem-large-bitmap-index-scale', '09-08-cuda-large-bitmap-index-scale.json', '...
54.830986
120
0.592602
1,079
7,786
3.908248
0.149212
0.030828
0.03557
0.053355
0.525255
0.384159
0.271283
0.208916
0.174295
0.163623
0
0.043336
0.294631
7,786
141
121
55.219858
0.724508
0.002569
0
0.061947
0
0
0.170659
0.088357
0
0
0
0
0
1
0.044248
false
0.106195
0.026549
0.017699
0.088496
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
168c5bb914fc31c592df461704b142126b9a5bc9
1,055
py
Python
pyupdater/vendor/PyInstaller/hooks/hook-nacl.py
rsumner31/PyUpdater1
d9658000472e57453267ee8fa174ae914dd8d33c
[ "BSD-2-Clause" ]
null
null
null
pyupdater/vendor/PyInstaller/hooks/hook-nacl.py
rsumner31/PyUpdater1
d9658000472e57453267ee8fa174ae914dd8d33c
[ "BSD-2-Clause" ]
null
null
null
pyupdater/vendor/PyInstaller/hooks/hook-nacl.py
rsumner31/PyUpdater1
d9658000472e57453267ee8fa174ae914dd8d33c
[ "BSD-2-Clause" ]
null
null
null
#----------------------------------------------------------------------------- # Copyright (c) 2005-2015, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License with exception # for distributing bootloader. # # The full license is in the file COPYING.txt, distributed with this s...
35.166667
85
0.638863
135
1,055
4.844444
0.555556
0.045872
0.061162
0.088685
0.107034
0
0
0
0
0
0
0.012009
0.131754
1,055
29
86
36.37931
0.701965
0.482464
0
0
0
0
0.057836
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
1690129e3d57f1f92d4d6c541dbf6661b14802be
2,744
py
Python
bitey/cpu/flag/flag_json_decoder.py
jgerrish/bitey
a393a83c19338d94116f3405f4b8a0f03ea84d79
[ "MIT" ]
null
null
null
bitey/cpu/flag/flag_json_decoder.py
jgerrish/bitey
a393a83c19338d94116f3405f4b8a0f03ea84d79
[ "MIT" ]
null
null
null
bitey/cpu/flag/flag_json_decoder.py
jgerrish/bitey
a393a83c19338d94116f3405f4b8a0f03ea84d79
[ "MIT" ]
null
null
null
from dataclasses import dataclass import json from json import JSONDecoder from typing import ClassVar from bitey.cpu.flag.flag import Flag, Flags from bitey.cpu.flag.carry_flag import CarryFlag from bitey.cpu.flag.decimal_flag import DecimalFlag from bitey.cpu.flag.negative_flag import NegativeFlag from bitey.cpu.fla...
29.191489
78
0.556851
318
2,744
4.654088
0.305031
0.080405
0.040541
0.054054
0.162162
0.113514
0.113514
0.068919
0.068919
0.068919
0
0.001159
0.370991
2,744
93
79
29.505376
0.856315
0.171283
0
0.25
0
0
0.048482
0
0
0
0
0.010753
0
1
0.046875
false
0
0.140625
0
0.3125
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
16949a73f72b07a9927dd7e567e0fe946fda0f3c
535
py
Python
homechallenge/migrations/0005_requestheader_loanapplication.py
imuraki/RestAPI
e9123966bc250ab6d0948d9b707897cf3cd192c5
[ "MIT" ]
null
null
null
homechallenge/migrations/0005_requestheader_loanapplication.py
imuraki/RestAPI
e9123966bc250ab6d0948d9b707897cf3cd192c5
[ "MIT" ]
7
2021-03-19T08:16:31.000Z
2021-09-08T01:36:48.000Z
homechallenge/migrations/0005_requestheader_loanapplication.py
imuraki/RestAPI
e9123966bc250ab6d0948d9b707897cf3cd192c5
[ "MIT" ]
null
null
null
# Generated by Django 2.2.9 on 2020-01-24 00:37 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('homechallenge', '0004_remove_loanapplication_requestheader'), ] operations = [ migrations.AddField( ...
26.75
128
0.676636
56
535
6.375
0.642857
0.067227
0.078431
0.123249
0
0
0
0
0
0
0
0.045238
0.214953
535
19
129
28.157895
0.804762
0.084112
0
0
1
0
0.227459
0.143443
0
0
0
0
0
1
0
false
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1698783f0b721d774022a411c9605cb901e64113
404
py
Python
src/fizzle/server.py
CarsonTheCanuck/fizzle
cedf1e766bfe7b6c85e82187cac08b79a099b1e0
[ "MIT" ]
null
null
null
src/fizzle/server.py
CarsonTheCanuck/fizzle
cedf1e766bfe7b6c85e82187cac08b79a099b1e0
[ "MIT" ]
1
2021-09-28T14:12:03.000Z
2021-09-28T14:12:03.000Z
src/fizzle/server.py
carc1n0gen/fizzle
cedf1e766bfe7b6c85e82187cac08b79a099b1e0
[ "MIT" ]
null
null
null
import os import http.server import socketserver def serve(directory, host, port): os.chdir(directory) handler = http.server.SimpleHTTPRequestHandler server = socketserver.TCPServer((host, port), handler) print(f'Serving on http://{host}:{port}') try: server.serve_forever() except Keybo...
25.25
58
0.690594
45
404
6.155556
0.555556
0.086643
0
0
0
0
0
0
0
0
0
0
0.195545
404
15
59
26.933333
0.852308
0
0
0
0
0
0.118812
0
0
0
0
0
0
1
0.071429
false
0.071429
0.214286
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
169d83818071d3ab7b50b96797ee2ee1728f9e45
264
py
Python
test/code/make_test.py
ryanedmundkessler/leave_one_out_median
fabc6d807497d775cb64d3b561416149b9296390
[ "MIT" ]
null
null
null
test/code/make_test.py
ryanedmundkessler/leave_one_out_median
fabc6d807497d775cb64d3b561416149b9296390
[ "MIT" ]
null
null
null
test/code/make_test.py
ryanedmundkessler/leave_one_out_median
fabc6d807497d775cb64d3b561416149b9296390
[ "MIT" ]
null
null
null
import os, sys, subprocess, shutil python_lib_path = '../../lib/python/' shutil.copytree(python_lib_path, './python_lib/') from python_lib.make_utils import * clear_dirs(['../output/']) run_stata(program = 'basic_functionality.do') shutil.rmtree('python_lib')
24
49
0.738636
36
264
5.111111
0.611111
0.244565
0.141304
0
0
0
0
0
0
0
0
0
0.087121
264
11
50
24
0.763485
0
0
0
0
0
0.271698
0.083019
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
16a5e95956c2c5c913bfa3b200b7230aee548f75
624
py
Python
problems/49/problem_49.py
r1cc4rdo/daily_coding_problem
6ac85309fad2f64231ac7ab94aa4158e18bdec40
[ "Unlicense" ]
158
2018-01-25T06:33:30.000Z
2022-03-14T23:18:05.000Z
problems/49/problem_49.py
r1cc4rdo/daily_coding_problem
6ac85309fad2f64231ac7ab94aa4158e18bdec40
[ "Unlicense" ]
9
2018-07-04T00:31:57.000Z
2020-05-16T21:02:30.000Z
problems/49/problem_49.py
r1cc4rdo/daily_coding_problem
6ac85309fad2f64231ac7ab94aa4158e18bdec40
[ "Unlicense" ]
50
2018-06-22T16:48:44.000Z
2022-01-11T16:45:48.000Z
def coding_problem_49(arr): """ Given an array of numbers, find the maximum sum of any contiguous subarray of the array. For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since we would take elements 42, 14, -5, and 86. Given the array [-5, -1, -8, -9], the maximum su...
29.714286
118
0.621795
103
624
3.631068
0.524272
0.104278
0.120321
0.042781
0.165775
0.058824
0
0
0
0
0
0.108742
0.248397
624
20
119
31.2
0.688699
0.722756
0
0
0
0
0.064
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.4
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
16aa6b373df998d0437ba91f38e3dec74668efd4
2,021
py
Python
teszt/test_feladat04.py
python-feladatok-tesztekkel/-05-02-01-fuggvenyek-halado
0528125ec429584b21a41635517a3c55dfba559a
[ "CC0-1.0" ]
null
null
null
teszt/test_feladat04.py
python-feladatok-tesztekkel/-05-02-01-fuggvenyek-halado
0528125ec429584b21a41635517a3c55dfba559a
[ "CC0-1.0" ]
null
null
null
teszt/test_feladat04.py
python-feladatok-tesztekkel/-05-02-01-fuggvenyek-halado
0528125ec429584b21a41635517a3c55dfba559a
[ "CC0-1.0" ]
null
null
null
from unittest import TestCase import os,sys,inspect current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parent_dir = os.path.dirname(current_dir) sys.path.insert(0, parent_dir) import feladatok class TestNegyzetszamok(TestCase): def test_feladat01(self): aktualis = fela...
43
142
0.738743
234
2,021
6.303419
0.277778
0.03322
0.099661
0.161356
0.768814
0.583729
0.583729
0.583729
0.583729
0.583729
0
0.035932
0.187531
2,021
46
143
43.934783
0.862363
0
0
0.314286
0
0
0.333003
0
0
0
0
0
0.2
1
0.2
false
0
0.085714
0
0.314286
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
16b02fa88e2edd92ca10a5214cd18b16aad3f893
1,397
py
Python
hexa/notebooks/views.py
hastakecorp/openhexa-app
dde38f14701c3bfe7fb51f29d73b35e6b8d45b7b
[ "MIT" ]
null
null
null
hexa/notebooks/views.py
hastakecorp/openhexa-app
dde38f14701c3bfe7fb51f29d73b35e6b8d45b7b
[ "MIT" ]
1
2021-09-07T08:10:18.000Z
2021-09-07T08:10:18.000Z
hexa/notebooks/views.py
hastakecorp/openhexa-app
dde38f14701c3bfe7fb51f29d73b35e6b8d45b7b
[ "MIT" ]
null
null
null
from django.conf import settings from django.http import JsonResponse from django.shortcuts import render from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_http_methods from hexa.plugins.app import get_connector_app_configs from hexa.notebooks.credentials import Note...
33.261905
117
0.740873
162
1,397
6.216049
0.444444
0.119166
0.029791
0.049652
0
0
0
0
0
0
0
0.006233
0.196135
1,397
41
118
34.073171
0.890472
0.188261
0
0.068966
0
0
0.033036
0
0
0
0
0.02439
0
1
0.068966
false
0
0.241379
0.034483
0.413793
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
16bdb354b75f1fd4ef35cbecdcac320eefe082ab
424
py
Python
chess/Figures/Queen.py
LilDataScientist/Chess
caa3a1b9b5d4e5eb6eb813e765b29d2b8d68d3a7
[ "MIT" ]
null
null
null
chess/Figures/Queen.py
LilDataScientist/Chess
caa3a1b9b5d4e5eb6eb813e765b29d2b8d68d3a7
[ "MIT" ]
null
null
null
chess/Figures/Queen.py
LilDataScientist/Chess
caa3a1b9b5d4e5eb6eb813e765b29d2b8d68d3a7
[ "MIT" ]
null
null
null
from chess.Figures import Figure class Queen(Figure): def allow_move(self, x, y): dx = abs(self.x - x) dy = abs(self.y - y) # Goes straight if (dx > 0 and dy == 0) or (dx == 0 and dy > 0): return True # Goes diagonal elif dx == dy and dx > 0: ...
21.2
56
0.485849
60
424
3.4
0.516667
0.044118
0.058824
0.078431
0.088235
0
0
0
0
0
0
0.02
0.410377
424
19
57
22.315789
0.796
0.063679
0
0.153846
0
0
0.002538
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16bdfe29b901a8690e06519c533d788f83bf4d05
809
py
Python
lessons/2021-05-09_sqlalchemy/select_or_like.py
arturskarklins/sda
ce418b519c701ee9aff50d48824fa94f3f246b1e
[ "MIT" ]
null
null
null
lessons/2021-05-09_sqlalchemy/select_or_like.py
arturskarklins/sda
ce418b519c701ee9aff50d48824fa94f3f246b1e
[ "MIT" ]
null
null
null
lessons/2021-05-09_sqlalchemy/select_or_like.py
arturskarklins/sda
ce418b519c701ee9aff50d48824fa94f3f246b1e
[ "MIT" ]
null
null
null
""" Task 8: List the names of all directors whose ranking is greater than or equal to 6 and whose first name starts with 'D' or ends with 'n'. Use select () and query (). """ from cinematic import engine, Directors, session from sqlalchemy import select, and_, or_ with engine.connect() as connection: print(connec...
38.52381
87
0.578492
94
809
4.914894
0.478723
0.168831
0.147186
0.125541
0.246753
0.246753
0.246753
0.246753
0.246753
0.246753
0
0.007005
0.29419
809
20
88
40.45
0.802102
0.205192
0
0
0
0
0.012598
0
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0.153846
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
16bf8bf630711887a5cfc307046b235594aea211
329
py
Python
src/controller/checkIfMessagerIsBooster.py
Sothis-baka/Funny-Nations
a248e16b6413e87729857bd8f67e5e519af0ed3d
[ "MIT" ]
null
null
null
src/controller/checkIfMessagerIsBooster.py
Sothis-baka/Funny-Nations
a248e16b6413e87729857bd8f67e5e519af0ed3d
[ "MIT" ]
null
null
null
src/controller/checkIfMessagerIsBooster.py
Sothis-baka/Funny-Nations
a248e16b6413e87729857bd8f67e5e519af0ed3d
[ "MIT" ]
null
null
null
def checkIfMessagerIsBooster(self, user): """ Function would be called by Robot class :param self: instance from Robot :param user: instance from Discord.User :return: True if user is a booster """ for role in user.roles: if role == self.boostedRole: return True retu...
25.307692
43
0.644377
42
329
5.047619
0.642857
0.113208
0
0
0
0
0
0
0
0
0
0
0.285714
329
12
44
27.416667
0.902128
0.446809
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16ca6ffe44e203007de10eb357f0399c00ebcf18
7,335
py
Python
model.py
brunokim/prol
64f131214ff4a8565209c428cb42913036e97ed7
[ "Apache-2.0" ]
57
2021-10-01T06:56:33.000Z
2022-03-20T19:40:29.000Z
model.py
brunokim/prol
64f131214ff4a8565209c428cb42913036e97ed7
[ "Apache-2.0" ]
null
null
null
model.py
brunokim/prol
64f131214ff4a8565209c428cb42913036e97ed7
[ "Apache-2.0" ]
2
2022-01-30T00:02:46.000Z
2022-01-30T00:25:13.000Z
from dataclasses import dataclass, fields from typing import List, ClassVar, Any, Tuple import re from json_debug import to_json, StrJsonMixin, snake2camel, snake2pascal __all__ = [ 'Term', 'Var', 'Atom', 'Struct', 'Functor', 'Clause', 'Addr', 'Register', 'StackAddr', 'AtomAddr', 'Instruction', 'Builtin', ...
21.26087
96
0.603272
913
7,335
4.687842
0.145674
0.091122
0.115421
0.145794
0.383645
0.341122
0.233178
0.100467
0.070093
0.054206
0
0.001821
0.251534
7,335
344
97
21.322674
0.777778
0
0
0.358025
0
0
0.113838
0.015815
0
0
0
0
0
1
0.139918
false
0.012346
0.016461
0.082305
0.613169
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
16ccff936a9e6816874bb80523696852f636a86f
19,110
py
Python
test/orm/test_instrumentation.py
Dreamsorcerer/sqlalchemy
153671df9d4cd7f2cdb3e14e6221f529269885d9
[ "MIT" ]
6
2019-02-18T12:42:44.000Z
2020-11-11T23:10:17.000Z
test/orm/test_instrumentation.py
Dreamsorcerer/sqlalchemy
153671df9d4cd7f2cdb3e14e6221f529269885d9
[ "MIT" ]
1
2020-07-20T13:23:44.000Z
2020-07-20T13:23:44.000Z
test/orm/test_instrumentation.py
Dreamsorcerer/sqlalchemy
153671df9d4cd7f2cdb3e14e6221f529269885d9
[ "MIT" ]
2
2021-06-12T01:38:00.000Z
2021-09-05T21:18:29.000Z
import sqlalchemy as sa from sqlalchemy import event from sqlalchemy import ForeignKey from sqlalchemy import Integer from sqlalchemy import MetaData from sqlalchemy import util from sqlalchemy.orm import attributes from sqlalchemy.orm import class_mapper from sqlalchemy.orm import clear_mappers from sqlalchemy.orm imp...
22.777116
77
0.479435
2,110
19,110
4.01327
0.090521
0.033066
0.041568
0.043458
0.661549
0.607227
0.585735
0.562825
0.553141
0.534955
0
0.003639
0.38158
19,110
838
78
22.804296
0.712896
0.011774
0
0.652324
0
0
0.059013
0
0
0
0
0
0.039587
1
0.123924
false
0.056799
0.036145
0.006885
0.282272
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
16d33dbcc43c0e20590465f78b66608169254257
1,206
py
Python
silex_maya/commands/save.py
ArtFXDev/silex_maya
90ef3631a1b35656744deaf97b70b1a727fbc3d6
[ "MIT" ]
6
2021-08-29T19:24:49.000Z
2022-03-07T03:59:42.000Z
silex_maya/commands/save.py
ArtFXDev/silex_maya
90ef3631a1b35656744deaf97b70b1a727fbc3d6
[ "MIT" ]
31
2021-09-17T14:16:55.000Z
2022-03-31T19:52:27.000Z
silex_maya/commands/save.py
ArtFXDev/silex_maya
90ef3631a1b35656744deaf97b70b1a727fbc3d6
[ "MIT" ]
1
2021-12-10T03:17:58.000Z
2021-12-10T03:17:58.000Z
from __future__ import annotations import logging import typing from typing import Any, Dict from silex_client.action.command_base import CommandBase from silex_maya.utils import utils # Forward references if typing.TYPE_CHECKING: from silex_client.action.action_query import ActionQuery import os import maya.c...
25.659574
81
0.669983
157
1,206
4.936306
0.426752
0.134194
0.03871
0.054194
0.056774
0
0
0
0
0
0
0.002132
0.222222
1,206
46
82
26.217391
0.824094
0.048922
0
0
0
0
0.099027
0.030946
0
0
0
0
0
1
0.034483
false
0
0.310345
0
0.448276
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
16d6e98ad47116b03f16649e3d02ee023b15af58
1,026
py
Python
website/users/utils.py
AdamWang00/amdug-website
bb7739872ac674e0cf857c464f160aac37aca68a
[ "MIT" ]
null
null
null
website/users/utils.py
AdamWang00/amdug-website
bb7739872ac674e0cf857c464f160aac37aca68a
[ "MIT" ]
5
2020-06-24T06:06:28.000Z
2022-03-12T00:36:10.000Z
website/users/utils.py
AdamWang00/amdug-website
bb7739872ac674e0cf857c464f160aac37aca68a
[ "MIT" ]
null
null
null
import os import secrets from PIL import Image from flask import url_for, current_app from flask_mail import Message from website import mail def save_picture(form_picture): _, f_ext = os.path.splitext(form_picture.filename) picture_fn = secrets.token_hex(8) + f_ext picture_path = os.path.join(current_app.root_pat...
26.307692
98
0.704678
169
1,026
4.12426
0.449704
0.014347
0.034433
0.05165
0
0
0
0
0
0
0
0.014068
0.168616
1,026
38
99
27
0.803048
0.007797
0
0
0
0
0.238424
0.050246
0
0
0
0
0
1
0.066667
false
0.1
0.2
0
0.3
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
16d8a43bef94bda0fbb2dbb36ad67029b515d9af
626
py
Python
dashboard/migrations/0048_auto_20160811_1516.py
DLance96/ox-dashboard
f92487b20cf5cfd6d71d03918cca548091b1325c
[ "MIT" ]
1
2016-07-09T00:13:08.000Z
2016-07-09T00:13:08.000Z
dashboard/migrations/0048_auto_20160811_1516.py
DLance96/ox-dashboard
f92487b20cf5cfd6d71d03918cca548091b1325c
[ "MIT" ]
2
2016-09-13T22:15:09.000Z
2016-11-16T18:45:57.000Z
dashboard/migrations/0048_auto_20160811_1516.py
DLance96/ox-dashboard
f92487b20cf5cfd6d71d03918cca548091b1325c
[ "MIT" ]
3
2016-08-24T17:15:18.000Z
2016-09-21T22:40:54.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-08-11 15:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dashboard', '0047_brother_date_pledged'), ] operations = [ migrations.Rename...
24.076923
61
0.602236
63
626
5.777778
0.730159
0.049451
0
0
0
0
0
0
0
0
0
0.044643
0.284345
626
25
62
25.04
0.767857
0.107029
0
0.111111
1
0
0.156475
0.082734
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
16da97ac8f262da57abc04be9e9a02c4a5885269
1,140
py
Python
L1TriggerConfig/RPCTriggerConfig/test/checkRPCConnections.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1TriggerConfig/RPCTriggerConfig/test/checkRPCConnections.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1TriggerConfig/RPCTriggerConfig/test/checkRPCConnections.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms process = cms.Process("check") # rpc geometry process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi") process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi") process.load("Geometry.RPCGeometry.rpcGeometry_cfi") process.load("L1TriggerConfig.RPCTrigger...
27.142857
70
0.750877
123
1,140
6.894309
0.406504
0.103774
0.100236
0.148585
0
0
0
0
0
0
0
0.038922
0.121053
1,140
41
71
27.804878
0.807385
0.167544
0
0
0
0
0.433121
0.416136
0
0
0
0
0
1
0
false
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16dc17c9a8fd426ab0f655a3bc12ea7122a019eb
1,518
py
Python
app/models.py
esak21/learnapi_beginners
2a80fbfe98eedcb08528c211a90b76d08628be95
[ "Apache-2.0" ]
null
null
null
app/models.py
esak21/learnapi_beginners
2a80fbfe98eedcb08528c211a90b76d08628be95
[ "Apache-2.0" ]
null
null
null
app/models.py
esak21/learnapi_beginners
2a80fbfe98eedcb08528c211a90b76d08628be95
[ "Apache-2.0" ]
null
null
null
from typing import ContextManager from sqlalchemy.orm import relationship from sqlalchemy.sql.expression import null, text from sqlalchemy.sql.schema import ForeignKey from sqlalchemy.sql.sqltypes import TIMESTAMP, String from .database import Base from sqlalchemy import Column, Integer, String, Boolean class Post(B...
35.302326
129
0.73913
191
1,518
5.743456
0.329843
0.118505
0.068368
0.091158
0.336372
0.336372
0.295351
0.295351
0.218778
0.125798
0
0
0.151515
1,518
42
130
36.142857
0.851708
0.090909
0
0.148148
0
0
0.056851
0
0
0
0
0
0
1
0
false
0.037037
0.259259
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
16e4571d23f93b6c3e113dbc3831889c3e1abcca
1,617
py
Python
todolist/todos/serializers.py
tonky0110/todolist
b0738d58caa2a986617bc5fa05807e114ccf47cb
[ "MIT" ]
null
null
null
todolist/todos/serializers.py
tonky0110/todolist
b0738d58caa2a986617bc5fa05807e114ccf47cb
[ "MIT" ]
null
null
null
todolist/todos/serializers.py
tonky0110/todolist
b0738d58caa2a986617bc5fa05807e114ccf47cb
[ "MIT" ]
null
null
null
from rest_framework import serializers from . import models from todolist.users import models as user_models from todolist.users.serializers import (UserSerializer) class ReferSerializer(serializers.ModelSerializer): """ Refer Serializer """ creator = UserSerializer(read_only=True) class Meta: ...
25.666667
70
0.565244
143
1,617
6.293706
0.300699
0.053333
0.08
0.128889
0.446667
0.446667
0.354444
0.26
0.26
0.084444
0
0
0.327767
1,617
63
71
25.666667
0.827967
0.072356
0
0.604167
0
0
0.096167
0
0
0
0
0.015873
0
1
0
false
0
0.083333
0
0.395833
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
16e62e7c38f4dcbe1128e01bf1304d3d48c30125
260
py
Python
trading_scripts/utils/logger.py
nielse63/alpaca-trading-scripts
9c5efaa2ebc120c2a6b9137563cf71f518193505
[ "Apache-2.0" ]
null
null
null
trading_scripts/utils/logger.py
nielse63/alpaca-trading-scripts
9c5efaa2ebc120c2a6b9137563cf71f518193505
[ "Apache-2.0" ]
9
2021-06-25T02:23:11.000Z
2021-07-18T09:56:40.000Z
trading_scripts/utils/logger.py
nielse63/alpaca-trading-scripts
9c5efaa2ebc120c2a6b9137563cf71f518193505
[ "Apache-2.0" ]
1
2021-10-19T16:09:44.000Z
2021-10-19T16:09:44.000Z
import os from pathlib import Path from loguru import logger if not os.getenv("IS_TEST"): logfile = Path(__file__).parent.parent.parent / "logs/alpaca-trading-scripts.log" logger.add(sink=logfile, rotation="1 week", compression="zip") log = logger
21.666667
85
0.734615
38
260
4.894737
0.710526
0.129032
0
0
0
0
0
0
0
0
0
0.004484
0.142308
260
11
86
23.636364
0.829596
0
0
0
0
0
0.180769
0.119231
0
0
0
0
0
1
0
false
0
0.428571
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
0
0
0
1
0
0
0
0
1
16e7aa1bb10b3d1cb495a68eb9608da2a9326563
4,745
py
Python
tinder_api/session.py
sreehari1997/python_TinderAPI
36a0c9500aaecd3a91cda375714592b584c38d64
[ "MIT" ]
null
null
null
tinder_api/session.py
sreehari1997/python_TinderAPI
36a0c9500aaecd3a91cda375714592b584c38d64
[ "MIT" ]
null
null
null
tinder_api/session.py
sreehari1997/python_TinderAPI
36a0c9500aaecd3a91cda375714592b584c38d64
[ "MIT" ]
null
null
null
import requests from tinder_api import user as u from tinder_api.utils import config as c from tinder_api.utils import request_handlers as r class Session(): def __init__(self): self.auth = self.auth() self.id = self.get_id() self.data = r.get('/profile') self.meta = r.get('/meta'...
37.362205
122
0.589673
610
4,745
4.485246
0.313115
0.01462
0.02193
0.017544
0.24269
0.160819
0.13231
0.091374
0.063596
0
0
0.011594
0.272919
4,745
126
123
37.65873
0.781449
0.266386
0
0.108108
0
0
0.200061
0.04439
0
0
0
0
0
1
0.243243
false
0.040541
0.054054
0
0.554054
0.013514
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
16ed1c09a70531e4d5dbeb8d38203bb2d8b8d62d
8,738
py
Python
perses/tests/test_resume.py
zhang-ivy/perses
1aa695fb8738e376cb0cfe7ac8a402244d49e720
[ "MIT" ]
null
null
null
perses/tests/test_resume.py
zhang-ivy/perses
1aa695fb8738e376cb0cfe7ac8a402244d49e720
[ "MIT" ]
null
null
null
perses/tests/test_resume.py
zhang-ivy/perses
1aa695fb8738e376cb0cfe7ac8a402244d49e720
[ "MIT" ]
null
null
null
import logging import os import shutil import subprocess import tempfile import simtk.openmm.app as app import yaml from openmmtools import mcmc from openmmtools.multistate import MultiStateReporter from pkg_resources import resource_filename from simtk import unit from perses.annihilation.lambda_protocol import Lamb...
31.318996
83
0.666629
984
8,738
5.652439
0.252033
0.042071
0.003236
0.03416
0.660554
0.641136
0.62891
0.62891
0.616864
0.616864
0
0.021345
0.249371
8,738
278
84
31.431655
0.82665
0.032387
0
0.592275
0
0
0.156206
0.033278
0
0
0
0
0.017167
1
0.017167
false
0
0.06867
0
0.085837
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc4139b4d51638be88a401cda9a35fe1f0664608
325
py
Python
TF_GPT/setup.py
StarxSky/TF2_GPT-2
770dc7bc559be4f24c65e94d4d21bbe1bb00703e
[ "MIT" ]
5
2022-03-17T06:39:39.000Z
2022-03-21T12:37:27.000Z
TF_GPT/setup.py
StarxSky/TF2_GPT-2
770dc7bc559be4f24c65e94d4d21bbe1bb00703e
[ "MIT" ]
null
null
null
TF_GPT/setup.py
StarxSky/TF2_GPT-2
770dc7bc559be4f24c65e94d4d21bbe1bb00703e
[ "MIT" ]
1
2022-03-20T02:41:00.000Z
2022-03-20T02:41:00.000Z
from setuptools import setup setup( name='TF2_GPT-2', version='v_1.0', packages=['utils', 'layers'], url='https://github.com/Xhs753/TF2_GPT-2', license='MIT', author='watermelon', description='One NLP AI', install_requires=['click', 'tqdm', 'tensorflow', 'numpy', 'ftfy', 'sentencepiece...
25
112
0.630769
40
325
5.025
0.9
0.059701
0.069652
0
0
0
0
0
0
0
0
0.033457
0.172308
325
12
113
27.083333
0.713755
0
0
0
0
0
0.381538
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
bc5772c364a30e15153eae15356a881d676ad560
2,262
py
Python
display.py
htang22/pong_on_pygame
fb1478ad362c0546d2b1201c5c409a1edc7b1222
[ "MIT" ]
null
null
null
display.py
htang22/pong_on_pygame
fb1478ad362c0546d2b1201c5c409a1edc7b1222
[ "MIT" ]
null
null
null
display.py
htang22/pong_on_pygame
fb1478ad362c0546d2b1201c5c409a1edc7b1222
[ "MIT" ]
null
null
null
import pygame WINDOW_HEIGHT = 600 WINDOW_WIDTH = 800 class Display: def __init__(self): self.screen = pygame.display.set_mode(size=(WINDOW_WIDTH, WINDOW_HEIGHT)) self.start_message_cord = (150, 300) # def display_start_message(self, window): # """Creates the message to pl...
48.12766
253
0.649425
322
2,262
4.465839
0.251553
0.041725
0.058414
0.075104
0.291377
0.291377
0.150209
0.10153
0.10153
0.10153
0
0.029172
0.242263
2,262
46
254
49.173913
0.809802
0.358532
0
0.074074
0
0
0.112
0
0
0
0
0
0
1
0.222222
false
0
0.037037
0
0.296296
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
bc5934e9bebc8ff987bbeecb7b894bb6798266b2
1,388
py
Python
wapyce/core/views.py
wapyce/wapyce
abd8c85f40387aefa2a2e37ca44296ef086016a6
[ "MIT" ]
null
null
null
wapyce/core/views.py
wapyce/wapyce
abd8c85f40387aefa2a2e37ca44296ef086016a6
[ "MIT" ]
null
null
null
wapyce/core/views.py
wapyce/wapyce
abd8c85f40387aefa2a2e37ca44296ef086016a6
[ "MIT" ]
null
null
null
""" Views of core application. """ from django.contrib import messages from django.contrib.auth import logout from django.contrib.auth.decorators import login_required from django.shortcuts import redirect from django.shortcuts import render from django.utils.translation import gettext as _ from rest_framework.authto...
21.030303
74
0.685879
175
1,388
5.371429
0.302857
0.06383
0.080851
0.044681
0.06383
0.06383
0
0
0
0
0
0
0.196686
1,388
65
75
21.353846
0.843049
0.145533
0
0.142857
0
0
0.099265
0.019301
0
0
0
0
0
1
0.214286
false
0
0.25
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
1
0
0
0
0
0
0
0
1
bc598cc1637e788ff7c83b1eb0b732c79227216f
955
py
Python
tests/auth_token/test_admin.py
westofpluto/django_custom_auth_user
e8dd1bbbdf943982d68a3183b4931a34b2b2c3f5
[ "MIT" ]
null
null
null
tests/auth_token/test_admin.py
westofpluto/django_custom_auth_user
e8dd1bbbdf943982d68a3183b4931a34b2b2c3f5
[ "MIT" ]
null
null
null
tests/auth_token/test_admin.py
westofpluto/django_custom_auth_user
e8dd1bbbdf943982d68a3183b4931a34b2b2c3f5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 # flake8: noqa: F401 # Core import pytest # Django from django.contrib.admin.sites import AdminSite from django.contrib.admin.options import ModelAdmin # Models from custom_auth_user.models import AuthToken # Admins from custom_auth_user.admin import * class MockRequest: pass request = Mo...
23.292683
76
0.74555
124
955
5.435484
0.379032
0.114243
0.103858
0.14095
0.068249
0
0
0
0
0
0
0.006266
0.164398
955
40
77
23.875
0.838346
0.064921
0
0
0
0
0.057562
0.030474
0
0
0
0
0.15
1
0.15
false
0.05
0.25
0.05
0.55
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
bc5d123fa6d70cbaa28a50be84704e2c0772bb27
1,997
py
Python
projecteuler7.py
gr8raisin/project-euler
6b2b0427468c554e16162b2b2a21e433c9aca574
[ "Unlicense" ]
null
null
null
projecteuler7.py
gr8raisin/project-euler
6b2b0427468c554e16162b2b2a21e433c9aca574
[ "Unlicense" ]
null
null
null
projecteuler7.py
gr8raisin/project-euler
6b2b0427468c554e16162b2b2a21e433c9aca574
[ "Unlicense" ]
null
null
null
################################################################################################################# ## By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. ## ## What is the 10,001st prime number? ...
53.972973
113
0.534301
292
1,997
3.613014
0.393836
0.033175
0.028436
0.042654
0.101422
0.041706
0
0
0
0
0
0.053867
0.274912
1,997
37
114
53.972973
0.674724
0.521282
0
0.16
0
0
0.078571
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.08
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
bc5da762fc8cc426c248c0a8177d19b706a8929c
348
py
Python
example/market/sub_mbp_full.py
codemonkey89/huobi_Python
92b96679f6e239c785df7c4354a0a94deda2768f
[ "Apache-2.0" ]
null
null
null
example/market/sub_mbp_full.py
codemonkey89/huobi_Python
92b96679f6e239c785df7c4354a0a94deda2768f
[ "Apache-2.0" ]
null
null
null
example/market/sub_mbp_full.py
codemonkey89/huobi_Python
92b96679f6e239c785df7c4354a0a94deda2768f
[ "Apache-2.0" ]
null
null
null
from huobi.client.market import MarketClient from huobi.constant import * def callback(mbp_event: 'MbpFullEvent'): mbp_event.print_object() def error(e: 'HuobiApiException'): print(e.error_code + e.error_message) market_client = MarketClient(init_log=True) market_client.sub_mbp_full("btcusdt,eosusdt", MbpLev...
26.769231
78
0.784483
47
348
5.595745
0.595745
0.068441
0
0
0
0
0
0
0
0
0
0.006431
0.106322
348
12
79
29
0.839228
0
0
0
0
0
0.126801
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
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
bc683f2a8c2a98fc2887e72a7c6a02d5873233b2
29,081
py
Python
api/registrations/views.py
pattisdr/osf.io
2a8bdf358bb67f0ad5a9e7bb7ac9a329b98e8825
[ "Apache-2.0" ]
null
null
null
api/registrations/views.py
pattisdr/osf.io
2a8bdf358bb67f0ad5a9e7bb7ac9a329b98e8825
[ "Apache-2.0" ]
17
2016-01-27T03:26:00.000Z
2019-10-30T13:49:15.000Z
api/registrations/views.py
pattisdr/osf.io
2a8bdf358bb67f0ad5a9e7bb7ac9a329b98e8825
[ "Apache-2.0" ]
1
2015-08-28T20:00:52.000Z
2015-08-28T20:00:52.000Z
from rest_framework import generics, permissions as drf_permissions from rest_framework.exceptions import ValidationError, NotFound, PermissionDenied from framework.auth.oauth_scopes import CoreScopes from osf.models import AbstractNode, Registration, OSFUser from api.base import permissions as base_permissions from a...
40.334258
150
0.714969
2,810
29,081
7.232384
0.166192
0.025931
0.035674
0.041382
0.498106
0.454313
0.402254
0.366531
0.331742
0.31329
0
0.001576
0.214539
29,081
720
151
40.390278
0.888145
0.368316
0
0.446281
0
0
0.081927
0.037296
0
0
0
0.002778
0
1
0.038567
false
0
0.071625
0.002755
0.592287
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
bc6a4acb1f5ed6b83b83c2688b23b1c1169f45af
1,250
py
Python
photo/views.py
alexomaset/Photo-Gallery23
e3b262492aba600767754016cddc1a7e286f4081
[ "MIT" ]
null
null
null
photo/views.py
alexomaset/Photo-Gallery23
e3b262492aba600767754016cddc1a7e286f4081
[ "MIT" ]
null
null
null
photo/views.py
alexomaset/Photo-Gallery23
e3b262492aba600767754016cddc1a7e286f4081
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse import datetime as dt from .models import * # Create your views here. def day_photos(request): date = dt.date.today() photos = Image.objects.all() return render(request, 'day_photos.html', {"date": date,"images":photos}) def image(re...
32.051282
82
0.6832
156
1,250
5.391026
0.352564
0.085612
0.135553
0.052319
0.137931
0
0
0
0
0
0
0.000975
0.1792
1,250
39
82
32.051282
0.818713
0.0408
0
0
0
0
0.159566
0
0
0
0
0
0
1
0.185185
false
0
0.148148
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bc7219c3a82e49b0110d7393b2f8afce11ecea48
2,536
py
Python
main.py
tmespe/linkedin_adder
987a247a791f3b76b5a7b93caa8483b4ac75c1c5
[ "MIT" ]
null
null
null
main.py
tmespe/linkedin_adder
987a247a791f3b76b5a7b93caa8483b4ac75c1c5
[ "MIT" ]
null
null
null
main.py
tmespe/linkedin_adder
987a247a791f3b76b5a7b93caa8483b4ac75c1c5
[ "MIT" ]
null
null
null
import os import time from dotenv import load_dotenv from selenium import webdriver from selenium.common.exceptions import NoSuchElementException, ElementClickInterceptedException load_dotenv() driver = webdriver.Firefox() LOGIN_URL = "https://www.linkedin.com/login?fromSignIn=true&trk=guest_homepage-basic_nav-head...
32.101266
122
0.696372
352
2,536
4.849432
0.346591
0.02812
0.069713
0.077914
0.147627
0.132396
0.079672
0.043351
0
0
0
0.008289
0.191246
2,536
78
123
32.512821
0.823988
0.195584
0
0.116279
0
0.093023
0.260081
0.118448
0
0
0
0
0
1
0.069767
false
0.093023
0.116279
0
0.186047
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bc7a233550b101aa293257ac87107fbdd4fc74aa
1,324
py
Python
mura/eval.py
ZZ87229861/benchmarx
1fd3b4e3645402c1d2ddc2c0f2fb5f432f2987e5
[ "BSD-2-Clause" ]
null
null
null
mura/eval.py
ZZ87229861/benchmarx
1fd3b4e3645402c1d2ddc2c0f2fb5f432f2987e5
[ "BSD-2-Clause" ]
null
null
null
mura/eval.py
ZZ87229861/benchmarx
1fd3b4e3645402c1d2ddc2c0f2fb5f432f2987e5
[ "BSD-2-Clause" ]
2
2018-06-19T23:56:39.000Z
2018-06-26T16:19:29.000Z
#!/usr/bin/env python3 import os import sys import simplejson as json import subprocess as sp if len(sys.argv) != 2: print("Usage: %s result_file" % sys.argv[0]) sys.exit(0) result_file = sys.argv[1] ROOT = os.path.abspath(os.path.dirname(__file__)) kapp = os.path.abspath(os.path.join(ROOT, 'kapp.pl')) offi...
27.583333
87
0.64426
229
1,324
3.615721
0.401747
0.065217
0.062802
0.072464
0.270531
0.218599
0.146135
0.048309
0.048309
0
0
0.012026
0.183535
1,324
47
88
28.170213
0.753932
0.015861
0
0.222222
0
0
0.243472
0.063748
0
0
0
0
0.027778
1
0
false
0.055556
0.111111
0
0.111111
0.138889
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
bc7b179928927dddd66488465c5f7a36c345db69
314
py
Python
FileChooser.py
GRnice/QVGDM
8a08daa4722cf98df8d78e1b6f5c510bbe68c03e
[ "MIT" ]
null
null
null
FileChooser.py
GRnice/QVGDM
8a08daa4722cf98df8d78e1b6f5c510bbe68c03e
[ "MIT" ]
null
null
null
FileChooser.py
GRnice/QVGDM
8a08daa4722cf98df8d78e1b6f5c510bbe68c03e
[ "MIT" ]
null
null
null
from tkinter import filedialog from tkinter import * class FileChooser: def __init__(self): pass def get_filename(self): root = Tk() root.withdraw() filename = filedialog.askopenfilename(initialdir="./", title="Select file") root.destroy() return filename
22.428571
83
0.633758
32
314
6.0625
0.6875
0.113402
0.175258
0
0
0
0
0
0
0
0
0
0.270701
314
13
84
24.153846
0.847162
0
0
0
0
0
0.041401
0
0
0
0
0
0
1
0.181818
false
0.090909
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bc7d5365276e62b8152d5ef4f68f2a7cddf810eb
1,015
py
Python
config/samples/di-mock/interaction/base/threading.py
konnase/DI-orchestrator
554b5dc8a95b749d97ea3a77eb3b6b8a9ae61604
[ "Apache-2.0" ]
82
2021-07-08T09:35:07.000Z
2022-03-03T06:50:03.000Z
config/samples/di-mock/interaction/base/threading.py
huwz2015/DI-orchestrator
71de417bf9cd4764d0f3058e2867a096d35b151e
[ "Apache-2.0" ]
9
2021-07-08T14:43:45.000Z
2022-03-16T13:50:20.000Z
config/samples/di-mock/interaction/base/threading.py
huwz2015/DI-orchestrator
71de417bf9cd4764d0f3058e2867a096d35b151e
[ "Apache-2.0" ]
4
2021-07-08T10:00:00.000Z
2022-01-13T06:24:52.000Z
from threading import Event, Lock from typing import Optional class DblEvent: def __init__(self, opened: bool = False): self.__open_event = Event() self.__close_event = Event() self.__lock = Lock() if opened: self.__open_event.set() else: self.__cl...
25.375
62
0.606897
125
1,015
4.464
0.232
0.086022
0.139785
0.057348
0.387097
0.222222
0.107527
0
0
0
0
0
0.29064
1,015
39
63
26.025641
0.775
0
0
0.275862
0
0
0
0
0
0
0
0
0
1
0.241379
false
0
0.068966
0
0.413793
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
bc7f82a687b3559d02abe127c480d9d7f008b5e0
559
py
Python
python/n_ary_tree_postorder_traversal.py
anishLearnsToCode/leetcode-algorithms
d5a84e9179a4c3427890313a933fe1950fbcdabc
[ "MIT" ]
17
2020-06-13T15:05:55.000Z
2022-03-16T18:28:53.000Z
python/n_ary_tree_postorder_traversal.py
anishLearnsToCode/leetcode-algorithms
d5a84e9179a4c3427890313a933fe1950fbcdabc
[ "MIT" ]
null
null
null
python/n_ary_tree_postorder_traversal.py
anishLearnsToCode/leetcode-algorithms
d5a84e9179a4c3427890313a933fe1950fbcdabc
[ "MIT" ]
9
2020-12-27T19:17:58.000Z
2022-03-22T07:02:19.000Z
# Definition for a Node. from typing import List class Node: def __init__(self, val=None, children=None): self.val = val self.children = children class Solution: def __init__(self): self.result = [] def postorderTraversal(self, root: Node) -> None: if root is None: retur...
23.291667
53
0.631485
68
559
5.073529
0.397059
0.086957
0.063768
0
0
0
0
0
0
0
0
0
0.273703
559
23
54
24.304348
0.849754
0.039356
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.0625
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bc840695a938ae0296cbf3878d290ef13ab607ca
305
py
Python
examples/raw_executor/call_async.py
Dahk/cloudbutton
61d77123d15d9c2da99e8989220c6271ca737245
[ "Apache-2.0" ]
null
null
null
examples/raw_executor/call_async.py
Dahk/cloudbutton
61d77123d15d9c2da99e8989220c6271ca737245
[ "Apache-2.0" ]
null
null
null
examples/raw_executor/call_async.py
Dahk/cloudbutton
61d77123d15d9c2da99e8989220c6271ca737245
[ "Apache-2.0" ]
null
null
null
""" Simple Cloudbutton example using the map_reduce method of the raw API. """ from cloudbutton.engine.executor import FunctionExecutor def my_function(x): return x + 7 if __name__ == '__main__': cb_exc = FunctionExecutor() cb_exc.call_async(my_function, 3) print(cb_exc.get_result())
19.0625
56
0.727869
43
305
4.790698
0.767442
0.072816
0
0
0
0
0
0
0
0
0
0.007937
0.17377
305
15
57
20.333333
0.809524
0.229508
0
0
0
0
0.035242
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
bc86a829cd4390ab4c3afc1be75c1af42860a460
661
py
Python
ch07/list_stack.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
74
2021-05-06T22:03:18.000Z
2022-03-25T04:37:51.000Z
ch07/list_stack.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
null
null
null
ch07/list_stack.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
19
2021-07-16T11:42:00.000Z
2022-03-22T00:25:49.000Z
""" Stack Data Type implemented using linked lists. """ from algs.node import Node class Stack: """ Implementation of a Stack using linked lists. """ def __init__(self): self.top = None def is_empty(self): """Determine if queue is empty.""" return self.top is None def ...
22.793103
52
0.579425
90
661
4.188889
0.433333
0.129973
0.084881
0
0
0
0
0
0
0
0
0
0.308623
661
28
53
23.607143
0.824945
0.302572
0
0
0
0
0.033097
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bc89ec1651d7d433a3b066cef47a93d823ff4fab
200
py
Python
task4.py
koshikka/assingment1
c22bcb684fcdde377250ffaf5d0579bfba47abc1
[ "BSD-3-Clause" ]
null
null
null
task4.py
koshikka/assingment1
c22bcb684fcdde377250ffaf5d0579bfba47abc1
[ "BSD-3-Clause" ]
null
null
null
task4.py
koshikka/assingment1
c22bcb684fcdde377250ffaf5d0579bfba47abc1
[ "BSD-3-Clause" ]
null
null
null
pressure_arr = [80, 90, 100, 150, 120, 110, 160, 110, 100] sum = 0 for pressure in pressure_arr: sum = pressure + sum length = len(pressure_arr) mean = sum / length print("The mean is", mean)
18.181818
59
0.66
33
200
3.909091
0.575758
0.255814
0
0
0
0
0
0
0
0
0
0.165605
0.215
200
10
60
20
0.656051
0
0
0
0
0
0.055
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
bc8f049294e01fa87088f7721b2cf826703b0827
3,899
py
Python
gp/views.py
tbhavana/IssuesAndSuggestions
9c245b1565c5dec28ac482b3a3e7dde323ed1eed
[ "MIT" ]
null
null
null
gp/views.py
tbhavana/IssuesAndSuggestions
9c245b1565c5dec28ac482b3a3e7dde323ed1eed
[ "MIT" ]
null
null
null
gp/views.py
tbhavana/IssuesAndSuggestions
9c245b1565c5dec28ac482b3a3e7dde323ed1eed
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic.edit import FormView from django.views.generic.base import TemplateView from django.contrib.auth.models import User from gp.models import Complaint, Domain, Upvote from gp.forms import LoginForm, postComplaintForm from django.utils import timezone from djang...
27.85
144
0.746089
520
3,899
5.457692
0.236538
0.042283
0.059197
0.044397
0.327343
0.251586
0.251586
0.226216
0.17019
0.141649
0
0.001177
0.128494
3,899
139
145
28.05036
0.83402
0.041806
0
0.27957
0
0
0.057074
0
0
0
0
0
0
1
0.16129
false
0
0.150538
0.075269
0.623656
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
bc9508ea32cc4f9bd384c1702750668292a35ad3
33,892
py
Python
src/Components/rtms/geo_vlidort/geo_vlidort_AI_lc2.py
GEOS-ESM/AeroApps
874dad6f34420c014d98eccbe81a061bdc0110cf
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
2
2020-12-02T14:23:30.000Z
2021-12-31T15:39:30.000Z
src/Components/rtms/geo_vlidort/geo_vlidort_AI_lc2.py
GEOS-ESM/AeroApps
874dad6f34420c014d98eccbe81a061bdc0110cf
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
9
2020-04-15T16:22:14.000Z
2022-03-24T13:59:25.000Z
src/Components/rtms/geo_vlidort/geo_vlidort_AI_lc2.py
GEOS-ESM/AeroApps
874dad6f34420c014d98eccbe81a061bdc0110cf
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -W ignore::DeprecationWarning """ Runscript for running geo_vlidort.x on NCCS May 2017 patricia.castellanos@nasa.gov """ from datetime import datetime, timedelta from dateutil.parser import parse import os import shutil import sys import subprocess from distutils.dir_util...
38.733714
143
0.484097
3,500
33,892
4.606
0.138
0.011538
0.014515
0.024564
0.402643
0.339247
0.293654
0.280628
0.267105
0.226413
0
0.012292
0.385489
33,892
874
144
38.778032
0.761752
0.05904
0
0.36246
0
0.001618
0.113592
0.006035
0.006472
0
0
0
0
0
null
null
0
0.022654
null
null
0.019417
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
bc96de2f31e04cce4d9c619816289c42b6e174b7
10,803
py
Python
native_client/tools/test_lib.py
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
native_client/tools/test_lib.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
native_client/tools/test_lib.py
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
#!/usr/bin/python # Copyright (c) 2011 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Testing Library For Nacl. """ import atexit import difflib import os import re import shutil import signal import subprocess ...
31.313043
79
0.647413
1,453
10,803
4.735031
0.282863
0.015698
0.006395
0.011628
0.229942
0.204506
0.192151
0.159593
0.137791
0.122674
0
0.011952
0.256503
10,803
344
80
31.40407
0.844622
0.185134
0
0.334884
0
0
0.065318
0.008653
0
0
0
0
0.013953
0
null
null
0
0.055814
null
null
0.037209
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
bc9b979dccdfa91ec8467213d2ac6cea46230d97
645
py
Python
get_apod.py
mefryar/apod
98185c7385ea118d230fe2190f7993f5bc0149fd
[ "MIT" ]
1
2018-09-12T15:43:23.000Z
2018-09-12T15:43:23.000Z
get_apod.py
mefryar/apod
98185c7385ea118d230fe2190f7993f5bc0149fd
[ "MIT" ]
null
null
null
get_apod.py
mefryar/apod
98185c7385ea118d230fe2190f7993f5bc0149fd
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Automatically update desktop background. This module connects to the NASA API to download the Astronomy Picture of the Day. It builds on an excellent tutorial by Angela Ambroz: http://www.angelaambroz.com/blog/posts/2017/Dec/12/automatic_desktop_backgrounds/ """ import os import requests im...
24.807692
81
0.775194
102
645
4.813725
0.637255
0.03666
0
0
0
0
0
0
0
0
0
0.010582
0.12093
645
25
82
25.8
0.855379
0.516279
0
0
0
0
0.188742
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
bc9c40b9b93cc88c5c29e4db0fdbd5d04348349f
1,718
py
Python
test_jiracollector_happy_path.py
statisticsnorway/jira-metrics-python
38ea215692b7bb56a3789848160f904358d3143d
[ "MIT" ]
1
2021-09-25T15:23:12.000Z
2021-09-25T15:23:12.000Z
test_jiracollector_happy_path.py
statisticsnorway/jira-metrics-python
38ea215692b7bb56a3789848160f904358d3143d
[ "MIT" ]
null
null
null
test_jiracollector_happy_path.py
statisticsnorway/jira-metrics-python
38ea215692b7bb56a3789848160f904358d3143d
[ "MIT" ]
1
2020-08-14T12:38:04.000Z
2020-08-14T12:38:04.000Z
from jiracollector import JiraCollector import requests from unittest import mock import unittest import pytest import json import google.auth import logging.config import configparser config = configparser.ConfigParser() config.read('metrics.ini') logging.config.fileConfig(config.get('logging' ,'config_file'), def...
35.791667
105
0.773574
208
1,718
6.115385
0.331731
0.049528
0.071541
0.165094
0.632075
0.59434
0.56761
0.515723
0.515723
0.515723
0
0.013761
0.111758
1,718
47
106
36.553191
0.81979
0
0
0.333333
0
0
0.295111
0.173458
0
0
0
0
0.111111
1
0.055556
false
0
0.25
0
0.305556
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
bca5ec64f9bd185376ac9096782078a5eabecb9b
806
py
Python
mundo-3/ex100B.py
pablocarracci/cev-python
dd6c2db80be84ec732fc5efd895e11d48d298258
[ "MIT" ]
null
null
null
mundo-3/ex100B.py
pablocarracci/cev-python
dd6c2db80be84ec732fc5efd895e11d48d298258
[ "MIT" ]
null
null
null
mundo-3/ex100B.py
pablocarracci/cev-python
dd6c2db80be84ec732fc5efd895e11d48d298258
[ "MIT" ]
null
null
null
# Exercício 100 - Funções para Sortear e Somar from random import randint from cev.utils import par def main(): print('Sorteando 5 valores da lista: ', end='') valores = sorteia(5) for v in valores: print(f'{v} ', end='') print('PRONTO!') print(f'Somando os valores pares de {valores}, temos {soma...
24.424242
80
0.6067
122
806
3.92623
0.467213
0.025052
0.058455
0.05428
0
0
0
0
0
0
0
0.01252
0.207196
806
32
81
25.1875
0.737089
0.282878
0
0
0
0
0.204991
0.037433
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5625
0.25
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
bca836290a65718308414283fafb68004b80cabf
1,414
py
Python
services/iscsi/extent.py
PatriQ7/freenas-test-api
2140d088afff792dd1b059f19897d50d87ff95f7
[ "BSD-3-Clause" ]
1
2016-08-26T17:40:56.000Z
2016-08-26T17:40:56.000Z
services/iscsi/extent.py
PatriQ7/freenas-test-api
2140d088afff792dd1b059f19897d50d87ff95f7
[ "BSD-3-Clause" ]
null
null
null
services/iscsi/extent.py
PatriQ7/freenas-test-api
2140d088afff792dd1b059f19897d50d87ff95f7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/local/bin/python import requests import json import sys sys.path.append('../../conn/') import conn service = 'extent' headers = conn.headers auth = conn.auth payload = { "iscsi_target_extent_type": "File", "iscsi_target_extent_name": "extent1", "iscsi_target_extent_filesize": "10M...
23.966102
88
0.634371
199
1,414
4.386935
0.291457
0.050401
0.077892
0.054983
0.270332
0.247423
0.247423
0.247423
0.151203
0.151203
0
0.013369
0.206506
1,414
58
89
24.37931
0.764706
0.015559
0
0.142857
0
0
0.145219
0.071891
0
0
0
0
0
0
null
null
0
0.081633
null
null
0.122449
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
bca87dda291aa843c1362c0909b6f9894b8d896c
666
py
Python
probe_ably/core/utils/param_functions.py
ai-systems/Probe-Ably
45b283ee5068289f9a1844cae9f109c000507723
[ "MIT" ]
12
2021-03-26T14:56:42.000Z
2022-02-11T15:37:58.000Z
probe_ably/core/utils/param_functions.py
ai-systems/Probe-Ably
45b283ee5068289f9a1844cae9f109c000507723
[ "MIT" ]
1
2021-11-28T13:45:22.000Z
2021-11-28T13:45:22.000Z
probe_ably/core/utils/param_functions.py
ai-systems/Probe-Ably
45b283ee5068289f9a1844cae9f109c000507723
[ "MIT" ]
null
null
null
import numpy as np import random def nuclear_norm_alpha_generation(num_models, **params): return np.array( [0] + [ 2 ** x for x in np.linspace( start=params["options"][0], stop=params["options"][1], num=(num_models - 1), ...
21.483871
78
0.435435
67
666
4.19403
0.492537
0.128114
0.135231
0.177936
0.291815
0.071174
0
0
0
0
0
0.021563
0.442943
666
30
79
22.2
0.735849
0
0
0
0
0
0.048048
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0.076923
0.230769
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bca97fb929cf36e11cdebb653fa7daa481b0f07b
946
py
Python
Python/1087.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
1
2020-12-10T05:36:15.000Z
2020-12-10T05:36:15.000Z
Python/1087.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
null
null
null
Python/1087.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
3
2020-04-06T05:55:08.000Z
2021-08-29T14:26:54.000Z
class Solution: def expand(self, S: str) -> List[str]: return sorted(self.dfs(S, [''])) def dfs(self, s, prev): if not s: return prev n = len(s) cur = '' found = False result = [] for i in range(n): if s[i].is...
23.073171
44
0.346723
99
946
3.313131
0.40404
0.018293
0.04878
0
0
0
0
0
0
0
0
0.006849
0.536998
946
41
45
23.073171
0.742009
0.020085
0
0
0
0
0.00324
0
0
0
0
0
0
1
0.066667
false
0
0
0.033333
0.233333
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
bca9a002e1fc808d581e638036490e9d9405d75c
825
py
Python
raco/myrial/keywords.py
uwescience/raco
1f2bedbef71bacf715340289f4973d85a3c1dc97
[ "BSD-3-Clause" ]
61
2015-02-09T17:27:40.000Z
2022-03-28T14:37:53.000Z
raco/myrial/keywords.py
uwescience/raco
1f2bedbef71bacf715340289f4973d85a3c1dc97
[ "BSD-3-Clause" ]
201
2015-01-03T02:46:19.000Z
2017-09-19T02:16:36.000Z
raco/myrial/keywords.py
uwescience/raco
1f2bedbef71bacf715340289f4973d85a3c1dc97
[ "BSD-3-Clause" ]
17
2015-06-03T12:01:30.000Z
2021-11-27T15:49:21.000Z
"""Emit all Myrial/SQL keywords as lowercase strings.""" from raco.myrial.scanner import (builtins, keywords, types, comprehension_keywords, word_operators) from raco.expression.expressions_library import EXPRESSIONS def get_keywords(): """Return ...
35.869565
70
0.62303
93
825
5.44086
0.44086
0.06917
0.098814
0.118577
0.217391
0.189723
0.110672
0
0
0
0
0
0.275152
825
22
71
37.5
0.846154
0.185455
0
0
0
0
0.087423
0.033742
0
0
0
0
0
1
0.071429
true
0
0.142857
0
0.285714
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
bcaa5c9a72219c56e432d154f464bfff98cc78b0
7,099
py
Python
tests/test_issues.py
Floyd-Droid/jf-issue-tracker
77907a57ec13952a026b813d952e0699ca065d23
[ "MIT" ]
null
null
null
tests/test_issues.py
Floyd-Droid/jf-issue-tracker
77907a57ec13952a026b813d952e0699ca065d23
[ "MIT" ]
null
null
null
tests/test_issues.py
Floyd-Droid/jf-issue-tracker
77907a57ec13952a026b813d952e0699ca065d23
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.test import TestCase, Client from django.urls import reverse from issues.models import ( Project, Issue ) import datetime class TestIssues(TestCase): fixtures = ['fixture.json'] def setUp(self): self.test_admin = User.objects.get(usernam...
57.25
215
0.666573
907
7,099
5.124587
0.142227
0.043029
0.042169
0.047332
0.764415
0.725258
0.621988
0.599613
0.571213
0.56605
0
0.020292
0.180871
7,099
123
216
57.715447
0.77902
0.070151
0
0.346939
0
0
0.175873
0.027769
0
0
0
0
0.265306
1
0.081633
false
0
0.05102
0
0.153061
0
0
0
0
null
0
0
0
0
1
0
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
bcacad53b383a7e63d99e6c4647dfba179ec0e2a
290
py
Python
sources/globes/infotech.py
AB9IL/stream-sources
ede8bd3ad7d51723d489192d0a6c5b2ea31ffe56
[ "Unlicense" ]
null
null
null
sources/globes/infotech.py
AB9IL/stream-sources
ede8bd3ad7d51723d489192d0a6c5b2ea31ffe56
[ "Unlicense" ]
null
null
null
sources/globes/infotech.py
AB9IL/stream-sources
ede8bd3ad7d51723d489192d0a6c5b2ea31ffe56
[ "Unlicense" ]
null
null
null
from sources.generic import FeedSource class Source(FeedSource): SOURCE = { 'name': 'globes', 'category': 'infotech', 'url': 'https://www.globes.co.il/en/', } FEED_URL = 'https://www.globes.co.il/WebService/Rss/RssFeeder.asmx/FeederKeyword?iID=1376'
22.307692
94
0.627586
34
290
5.323529
0.735294
0.088398
0.121547
0.187845
0.232044
0.232044
0
0
0
0
0
0.017316
0.203448
290
12
95
24.166667
0.766234
0
0
0
0
0.125
0.462069
0
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcadd06735203e6d57271a98cca9114bde97dbac
621
py
Python
ap/apps/events/admin.py
shacker/ap
9059c5737b0dbef82e968cf8a9a6bf303c7a1688
[ "BSD-3-Clause" ]
1
2020-11-08T03:11:17.000Z
2020-11-08T03:11:17.000Z
ap/apps/events/admin.py
shacker/ap
9059c5737b0dbef82e968cf8a9a6bf303c7a1688
[ "BSD-3-Clause" ]
null
null
null
ap/apps/events/admin.py
shacker/ap
9059c5737b0dbef82e968cf8a9a6bf303c7a1688
[ "BSD-3-Clause" ]
1
2021-10-20T07:39:04.000Z
2021-10-20T07:39:04.000Z
from django.contrib import admin from ap.apps.events.models import Event, Route, Organization class RouteInline(admin.TabularInline): model = Route class OrgAdmin(admin.ModelAdmin): autocomplete_fields = ['human'] search_fields = ['name', ] prepopulated_fields = {"slug": ("name",)} class EventAdm...
24.84
72
0.724638
67
621
6.61194
0.61194
0.060948
0.115124
0
0
0
0
0
0
0
0
0
0.140097
621
24
73
25.875
0.829588
0
0
0
0
0
0.130435
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bcb11058318166a3f4e3bdbe39b3e24c5de09cb1
841
py
Python
demos/nltk/nltk_demo.py
2B5/ia-3B5
40a54eb3c6b3d4f536ca1e93b317e2ea9c9a327e
[ "MIT" ]
null
null
null
demos/nltk/nltk_demo.py
2B5/ia-3B5
40a54eb3c6b3d4f536ca1e93b317e2ea9c9a327e
[ "MIT" ]
2
2017-01-17T17:25:15.000Z
2021-02-16T23:08:25.000Z
demos/nltk/nltk_demo.py
2B5/ia-3B5
40a54eb3c6b3d4f536ca1e93b317e2ea9c9a327e
[ "MIT" ]
2
2016-12-06T08:30:38.000Z
2016-12-22T01:06:27.000Z
#https://github.com/smilli/py-corenlp from nltk.tokenize import TweetTokenizer from nltk.stem import WordNetLemmatizer # https://stackoverflow.com/questions/1902967/nltk-how-to-find-out-what-corpora-are-installed-from-within-python import sys import codecs sys.stdout = codecs.getwriter('utf-8')(sys.stdout) file_te...
22.131579
112
0.722949
110
841
5.4
0.554545
0.060606
0.063973
0
0
0
0
0
0
0
0
0.011173
0.148633
841
37
113
22.72973
0.818436
0.224732
0
0.095238
0
0
0.074189
0
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.095238
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
bcb4b37a04c6c1ca56f0aa15cf8963997e3d8a44
220
py
Python
decoders/b64Decode.py
crattis/dfir_scripts
6ebc2a0410cb318e4daec1e9732bdd15af313dd1
[ "MIT" ]
6
2017-07-25T22:37:36.000Z
2019-11-19T09:03:03.000Z
decoders/b64Decode.py
crattis/dfir_scripts
6ebc2a0410cb318e4daec1e9732bdd15af313dd1
[ "MIT" ]
1
2018-11-29T22:17:48.000Z
2018-11-29T22:17:48.000Z
decoders/b64Decode.py
crattis/dfir_scripts
6ebc2a0410cb318e4daec1e9732bdd15af313dd1
[ "MIT" ]
1
2018-11-16T02:06:19.000Z
2018-11-16T02:06:19.000Z
#! python3 import base64 baseFile = open('base64.txt', 'r') decode = baseFile.read() plainFile = open('b64_plain.txt', 'wb') plainFile.write(base64.b64decode(decode)) baseFile.close() plainFile.close()
15.714286
42
0.672727
26
220
5.653846
0.615385
0.190476
0
0
0
0
0
0
0
0
0
0.059783
0.163636
220
13
43
16.923077
0.73913
0.040909
0
0
0
0
0.13198
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcb5b41a52ec15423122453c7dd158bd4876ca48
19,074
py
Python
Tools/Protonate/Protonate.py
deaconjs/SPADE
da28cb927ae14f60aaf847591f81a86c9796d95e
[ "BSD-3-Clause" ]
3
2017-09-26T03:09:14.000Z
2022-03-20T11:12:34.000Z
Tools/Protonate/Protonate.py
deaconjs/SPADE
da28cb927ae14f60aaf847591f81a86c9796d95e
[ "BSD-3-Clause" ]
null
null
null
Tools/Protonate/Protonate.py
deaconjs/SPADE
da28cb927ae14f60aaf847591f81a86c9796d95e
[ "BSD-3-Clause" ]
1
2020-01-15T03:05:36.000Z
2020-01-15T03:05:36.000Z
def __get_hydrogens (pchain,chain_name, res_number, atom_name): """ Return a list of hydrogens that are associated with an atom """ hydAtoms=[] hydrogen_pat=re.compile("^d*H") target_res = pchain.residues_dict[str(res_number)] # Loop through all of the atoms and search for the hydrogens for...
41.019355
107
0.5702
2,609
19,074
4.083557
0.118436
0.021964
0.023372
0.021776
0.638446
0.613854
0.579876
0.555378
0.548057
0.51605
0
0.03208
0.307067
19,074
464
108
41.107759
0.774003
0.156548
0
0.577181
0
0.003356
0.113545
0
0
0
0
0.002155
0
0
null
null
0
0
null
null
0.080537
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
bcb692bb9aa8114502c54435e5e15d9a4c3ac5d0
6,314
py
Python
afproj.py
africker/afproj-1
91568a12708f7a3d2eaddf112060d957c2a3e5e9
[ "MIT" ]
1
2015-03-01T00:43:33.000Z
2015-03-01T00:43:33.000Z
afproj.py
africker/afproj-1
91568a12708f7a3d2eaddf112060d957c2a3e5e9
[ "MIT" ]
null
null
null
afproj.py
africker/afproj-1
91568a12708f7a3d2eaddf112060d957c2a3e5e9
[ "MIT" ]
null
null
null
#! /usr/bin/env python """ Spatial adjust and test precision """ import numpy as np from sklearn import linear_model from sklearn import cross_validation from sklearn.metrics import explained_variance_score from sklearn.metrics import mean_squared_error import argparse, sys, csv, os, time def getArgs(): parser =...
23.736842
103
0.668356
961
6,314
4.252862
0.223725
0.022266
0.011745
0.019574
0.339613
0.278199
0.237583
0.179839
0.11402
0.094935
0
0.00707
0.193538
6,314
265
104
23.826415
0.795562
0.079189
0
0.27451
0
0
0.152075
0
0
0
0
0
0
0
null
null
0
0.029412
null
null
0.088235
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
bcb957d6b3d5cd2b52151c5dae687fd9609faac1
926
py
Python
SRCTF/SRCTF/django_reuse/reuse/apps.py
yinyueacm/work-uga
d8fd104b8c5600e1715491fc5eeffaf5c0b5896c
[ "MIT" ]
1
2019-01-11T03:20:34.000Z
2019-01-11T03:20:34.000Z
SRCTF/SRCTF/django_reuse/reuse/apps.py
yinyueacm/yinyue-thesis
d8fd104b8c5600e1715491fc5eeffaf5c0b5896c
[ "MIT" ]
null
null
null
SRCTF/SRCTF/django_reuse/reuse/apps.py
yinyueacm/yinyue-thesis
d8fd104b8c5600e1715491fc5eeffaf5c0b5896c
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig #from .models import Ctf_info class ReuseConfig(AppConfig): name = 'reuse' def ready(self): print "Config ready!" from .models import Ctf_info import os web_list = Ctf_info.objects.filter(cat__ctype = 2) ...
37.04
131
0.590713
117
926
4.452991
0.470085
0.053743
0.06142
0.072937
0.3762
0.21881
0.21881
0
0
0
0
0.006163
0.299136
926
24
132
38.583333
0.79661
0.030238
0
0
0
0
0.170569
0
0
0
0
0
0
0
null
null
0
0.2
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