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
3a40757daf1bd20cc9fcc10f04000eea8ce07c26
108
py
Python
reversestring.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
reversestring.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
reversestring.py
fairoz-ahmed/Python_Practice
e498f81fca02f0773f1c6e9f93e5f1cf1f94eb89
[ "MIT" ]
null
null
null
inp=input("Enter a string: ") rev=0 while (inp>0): dig=inp%10 rev=rev*10+dig inp=inp//10 print(rev)
15.428571
30
0.62963
22
108
3.090909
0.5
0.176471
0
0
0
0
0
0
0
0
0
0.089888
0.175926
108
7
31
15.428571
0.674157
0
0
0
0
0
0.15534
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a434ceb156d2330f24628b42fbe27c084ea9e69
474
py
Python
meregistro/apps/registro/models/AnexoBaja.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/registro/models/AnexoBaja.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
meregistro/apps/registro/models/AnexoBaja.py
MERegistro/meregistro
6cde3cab2bd1a8e3084fa38147de377d229391e3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from apps.registro.models.Anexo import Anexo from django.core.exceptions import ValidationError import datetime class AnexoBaja(models.Model): anexo = models.ForeignKey(Anexo) observaciones = models.CharField(max_length = 255) fecha_baja = models.DateFi...
24.947368
54
0.71519
58
474
5.655172
0.603448
0.060976
0
0
0
0
0
0
0
0
0
0.010471
0.194093
474
18
55
26.333333
0.848168
0.044304
0
0
0
0
0.059867
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0.076923
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3a4f446c605bd2f4c43cf5fa28a98484cf88ee19
1,209
py
Python
lims/addressbook/views.py
sqilz/LIMS-Backend
b64e1fa512f89e4492803d44c6b8c35e4d4724cc
[ "MIT" ]
12
2017-03-01T10:39:36.000Z
2022-01-04T06:17:19.000Z
lims/addressbook/views.py
sqilz/LIMS-Backend
b64e1fa512f89e4492803d44c6b8c35e4d4724cc
[ "MIT" ]
29
2017-04-25T14:05:08.000Z
2021-06-21T14:41:53.000Z
lims/addressbook/views.py
sqilz/LIMS-Backend
b64e1fa512f89e4492803d44c6b8c35e4d4724cc
[ "MIT" ]
4
2017-10-11T16:22:53.000Z
2021-02-23T15:45:21.000Z
from rest_framework import viewsets from rest_framework.serializers import ValidationError from .models import Address from .serializers import AddressSerializer from lims.permissions.permissions import IsAddressOwner, IsAddressOwnerFilter from lims.shared.mixins import AuditTrailViewMixin class AddressViewSet(Audi...
35.558824
82
0.718776
130
1,209
6.630769
0.546154
0.038283
0.052204
0.039443
0
0
0
0
0
0
0
0
0.205128
1,209
33
83
36.636364
0.896982
0.214227
0
0
0
0
0.054113
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3a58934b09a58180726934bc6855a80413fbeb35
242
py
Python
DQM/SiStripMonitorPedestals/python/SiStripMonitorQuality_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/SiStripMonitorPedestals/python/SiStripMonitorQuality_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/SiStripMonitorPedestals/python/SiStripMonitorQuality_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms QualityMon = cms.EDAnalyzer("SiStripMonitorQuality", StripQualityLabel = cms.string('test1'), OutputMEsInRootFile = cms.bool(False), OutputFileName = cms.string('SiStripQuality.root') )
24.2
54
0.752066
23
242
7.913043
0.782609
0.098901
0
0
0
0
0
0
0
0
0
0.004762
0.132231
242
9
55
26.888889
0.861905
0
0
0
0
0
0.1875
0.0875
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a59369a6dfe1771e7fc9c73078364e7bf16ad20
1,036
py
Python
study_roadmaps/python_sample_examples/gluon/4_resume_training/train.py
Shreyashwaghe/monk_v1
4ee4d9483e8ffac9b73a41f3c378e5abf5fc799b
[ "Apache-2.0" ]
7
2020-07-26T08:37:29.000Z
2020-10-30T10:23:11.000Z
study_roadmaps/python_sample_examples/gluon/4_resume_training/train.py
mursalfk/monk_v1
62f34a52f242772186ffff7e56764e958fbcd920
[ "Apache-2.0" ]
9
2020-01-28T21:40:39.000Z
2022-02-10T01:24:06.000Z
study_roadmaps/python_sample_examples/gluon/4_resume_training/train.py
mursalfk/monk_v1
62f34a52f242772186ffff7e56764e958fbcd920
[ "Apache-2.0" ]
1
2020-10-07T12:57:44.000Z
2020-10-07T12:57:44.000Z
import os import sys sys.path.append("../../../monk/"); import psutil from gluon_prototype import prototype ########################################################################################################################## gtf = prototype(verbose=1); gtf.Prototype("sample-project-1", "sample-experiment-1");...
33.419355
122
0.397683
78
1,036
5.115385
0.551282
0.120301
0.095238
0.100251
0.315789
0.315789
0.315789
0.315789
0.315789
0.315789
0
0.011282
0.05888
1,036
31
123
33.419355
0.397949
0.048263
0
0.307692
0
0
0.311891
0.126706
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
28d25877c35fef93c85d8174a9ad1da326ca5bf4
351
py
Python
b2ac/compat.py
hbldh/ellipse-fitting
77a13ab29ae44b32238e754bff1d2cc6e20883dd
[ "MIT" ]
16
2016-02-16T18:55:18.000Z
2021-12-15T20:07:45.000Z
b2ac/compat.py
hbldh/ellipse-fitting
77a13ab29ae44b32238e754bff1d2cc6e20883dd
[ "MIT" ]
6
2015-10-18T22:28:20.000Z
2016-05-17T22:07:38.000Z
b2ac/compat.py
hbldh/ellipse-fitting
77a13ab29ae44b32238e754bff1d2cc6e20883dd
[ "MIT" ]
7
2016-05-15T16:21:19.000Z
2021-09-09T11:12:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ b2ac.compat ~~~~~~~~~~~ B2AC compatiblity module. """ from __future__ import division from __future__ import print_function from __future__ import unicode_literals from __future__ import absolute_import import sys is_py3 = (sys.version_info[0] > 2) # Py3 mappings ...
14.625
39
0.717949
47
351
4.893617
0.659574
0.173913
0.278261
0
0
0
0
0
0
0
0
0.027119
0.159544
351
23
40
15.26087
0.752542
0.301994
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.625
0
0.625
0.125
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
28e6b72106e1dae4d2af234b07a4d026ca6bfe01
1,314
py
Python
app/modules/model/base/abstract_model.py
petrLorenc/Labelling-Tool
aaa97fa9d2db8b43100f068f359df1d8cb709571
[ "MIT" ]
null
null
null
app/modules/model/base/abstract_model.py
petrLorenc/Labelling-Tool
aaa97fa9d2db8b43100f068f359df1d8cb709571
[ "MIT" ]
1
2018-07-14T12:32:46.000Z
2018-07-14T12:32:46.000Z
app/modules/model/base/abstract_model.py
petrLorenc/Labelling-Tool
aaa97fa9d2db8b43100f068f359df1d8cb709571
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class AbstractModel(ABC): def __init__(self): self.model = None self.word2idx = None self.idx2word = None self.tag2idx = None self.idx2tag = None self.max_len = None self.vocabulary = None self.categories = None...
24.792453
127
0.611111
160
1,314
4.84375
0.3625
0.082581
0.108387
0.051613
0.074839
0.074839
0
0
0
0
0
0.011752
0.287671
1,314
52
128
25.269231
0.816239
0
0
0.263158
0
0
0.003044
0
0
0
0
0
0
1
0.236842
false
0.131579
0.026316
0
0.289474
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
28f158e00bdef100d0ce90ce07f81579244e0faa
2,735
py
Python
tests/fraction_tests/test_neg.py
davideguidobene/cfractions
2fc33d3ddf972e07787bdc99443868137999e114
[ "MIT" ]
3
2022-01-18T21:17:17.000Z
2022-01-23T21:49:52.000Z
tests/fraction_tests/test_neg.py
davideguidobene/cfractions
2fc33d3ddf972e07787bdc99443868137999e114
[ "MIT" ]
3
2021-06-28T13:30:58.000Z
2022-01-16T19:05:00.000Z
tests/fraction_tests/test_neg.py
davideguidobene/cfractions
2fc33d3ddf972e07787bdc99443868137999e114
[ "MIT" ]
1
2021-10-22T02:12:06.000Z
2021-10-22T02:12:06.000Z
import sys from numbers import Real from hypothesis import given from cfractions import Fraction from tests.utils import (equivalence, is_fraction_valid, skip_reference_counter_test) from . import strategies @given(strategies.fractions) def test_basic(fraction: Frac...
30.054945
78
0.729433
313
2,735
6.169329
0.159744
0.113931
0.09943
0.136717
0.711548
0.679441
0.631279
0.631279
0.631279
0.600207
0
0
0.153199
2,735
90
79
30.388889
0.833765
0
0
0.5
0
0
0
0
0
0
0
0
0.25
1
0.232143
false
0
0.107143
0
0.339286
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
1
0
0
0
0
0
0
0
2
28ff0f386d7b1dca0a607e85432309e87a77eb9e
1,044
py
Python
nntransfer/trainer/main_loop_modules/main_loop_module.py
sinzlab/nntransfer
78622feb568b1cc50ac0f73c8297f9785876a659
[ "MIT" ]
null
null
null
nntransfer/trainer/main_loop_modules/main_loop_module.py
sinzlab/nntransfer
78622feb568b1cc50ac0f73c8297f9785876a659
[ "MIT" ]
null
null
null
nntransfer/trainer/main_loop_modules/main_loop_module.py
sinzlab/nntransfer
78622feb568b1cc50ac0f73c8297f9785876a659
[ "MIT" ]
2
2021-07-30T08:39:04.000Z
2022-03-01T16:26:11.000Z
class MainLoopModule(object): def __init__(self, trainer): self.trainer = trainer self.train_loader = trainer.data_loaders["train"] self.config = trainer.config self.device = trainer.device self.seed = trainer.seed self.tracker = self.trainer.tracker self.crit...
28.216216
68
0.612069
124
1,044
4.991935
0.314516
0.072698
0.063005
0.051696
0.06462
0
0
0
0
0
0
0.001351
0.291188
1,044
36
69
29
0.835135
0
0
0.1
0
0
0.012452
0
0
0
0
0
0
1
0.233333
false
0.1
0
0.033333
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
1
0
1
0
0
0
0
0
2
e930d65f391b7723982c2721df59191c1d9d3a9f
316
py
Python
src/menu.py
simonenicf/Escape-from-Narlilia
cd512860e74d5df81504cccbcb667fdf794c8dda
[ "MIT" ]
null
null
null
src/menu.py
simonenicf/Escape-from-Narlilia
cd512860e74d5df81504cccbcb667fdf794c8dda
[ "MIT" ]
1
2020-11-03T13:41:49.000Z
2020-11-03T14:05:22.000Z
src/menu.py
simonenicf/Escape-from-Narlilia
cd512860e74d5df81504cccbcb667fdf794c8dda
[ "MIT" ]
null
null
null
import sys class Menu(): @staticmethod def print_menu(): print (30 * "-" , "Text based adventure" , 30 * "-") print ("1. start adventure (intro)") print ("2. start adventure (no intro)") print ("3. help") print ("4. quit") print (67 * "-") print(" ")
24.307692
60
0.487342
34
316
4.5
0.617647
0.183007
0
0
0
0
0
0
0
0
0
0.047847
0.338608
316
12
61
26.333333
0.684211
0
0
0
0
0
0.294304
0
0
0
0
0
0
1
0.090909
true
0
0.090909
0
0.272727
0.727273
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
e9324103dd727dbfbcd73f1ba4bae58a0ea2e051
41,336
py
Python
Dataflow/full_executer_wordshop.py
Smurf-maker/WordShop
ac0095ee28207f23744337d4cb35c5ca764d7e26
[ "MIT" ]
null
null
null
Dataflow/full_executer_wordshop.py
Smurf-maker/WordShop
ac0095ee28207f23744337d4cb35c5ca764d7e26
[ "MIT" ]
null
null
null
Dataflow/full_executer_wordshop.py
Smurf-maker/WordShop
ac0095ee28207f23744337d4cb35c5ca764d7e26
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Full Executer WordShop.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1kGSQWNtImJknauUN9L8ZRRwIzAdwbmo_ First, we load the pegasus paraphraser. """ # Commented out IPython magic to ensure Python compatibility. !git cl...
42.483042
230
0.682287
5,001
41,336
5.589682
0.170966
0.009444
0.011161
0.001431
0.50855
0.484761
0.462152
0.4565
0.431101
0.417472
0
0.009736
0.23967
41,336
973
231
42.483042
0.879665
0.175634
0
0.481865
1
0.017271
0.07728
0.002846
0
0
0
0
0
0
null
null
0.015544
0.032815
null
null
0.067358
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
e9417a482c1a501cccd1b38f496ec064d6eb9c78
627
py
Python
clock/clock/lib.py
litheblas/blasrummet-rpi
5300e61c0d0d93fd77cd489eb02165793453b99f
[ "MIT" ]
null
null
null
clock/clock/lib.py
litheblas/blasrummet-rpi
5300e61c0d0d93fd77cd489eb02165793453b99f
[ "MIT" ]
null
null
null
clock/clock/lib.py
litheblas/blasrummet-rpi
5300e61c0d0d93fd77cd489eb02165793453b99f
[ "MIT" ]
null
null
null
from __future__ import absolute_import, unicode_literals import logging from time import sleep from datetime import datetime from .settings import PULSE_DURATION from .io import pull, release logger = logging.getLogger(__name__) def pulse(): logger.debug('Pulsing at {}'.format(datetime.now().time())) pull()...
24.115385
77
0.717703
87
627
5
0.574713
0.05977
0.068966
0
0
0
0
0
0
0
0
0.035019
0.180223
627
25
78
25.08
0.811284
0.189793
0
0
0
0
0.026639
0
0
0
0
0
0
1
0.133333
false
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3a5f1a224d28494c27bf5124ac4e6a08b36bb55e
240
py
Python
com/sujoym/basic/sys.py
sujoym/python-examples
ee49a6aeb50749611341b2850587b30c38b34509
[ "Apache-2.0" ]
null
null
null
com/sujoym/basic/sys.py
sujoym/python-examples
ee49a6aeb50749611341b2850587b30c38b34509
[ "Apache-2.0" ]
null
null
null
com/sujoym/basic/sys.py
sujoym/python-examples
ee49a6aeb50749611341b2850587b30c38b34509
[ "Apache-2.0" ]
null
null
null
import sys #sys.stderr.write('Stderr text\n'); #sys.stderr.flush() #sys.stdout.write('Stdout text\n'); #print(sys.argv[1]) #if len(sys.argv)>1: # print(float(sys.argv[1])*5); def main(arg1): print(int(arg1)*4); main(sys.argv[1]);
17.142857
35
0.641667
43
240
3.581395
0.465116
0.181818
0.207792
0
0
0
0
0
0
0
0
0.037383
0.108333
240
13
36
18.461538
0.682243
0.641667
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
3a69ee7bd76a61928b4ca3a0383eeeac9e541646
8,349
py
Python
python/mxnet/device.py
t-triobox/incubator-mxnet
93aa9e33fcb2f216179c691ed9461bc96e37ae70
[ "Apache-2.0" ]
1
2021-11-09T01:40:17.000Z
2021-11-09T01:40:17.000Z
python/mxnet/device.py
t-triobox/incubator-mxnet
93aa9e33fcb2f216179c691ed9461bc96e37ae70
[ "Apache-2.0" ]
null
null
null
python/mxnet/device.py
t-triobox/incubator-mxnet
93aa9e33fcb2f216179c691ed9461bc96e37ae70
[ "Apache-2.0" ]
1
2018-07-19T00:43:30.000Z
2018-07-19T00:43:30.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
28.016779
108
0.618517
1,146
8,349
4.368237
0.224258
0.057531
0.017579
0.025969
0.293648
0.224131
0.203356
0.19976
0.184778
0.148222
0
0.012423
0.257636
8,349
297
109
28.111111
0.795257
0.631094
0
0
0
0
0.038394
0
0
0
0
0
0
1
0.263158
false
0
0.070175
0.035088
0.596491
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3a7af5581758219d8326f2091b7b6047cf305d66
1,761
py
Python
pyrallel/tests/test_map_reduce.py
usc-isi-i2/paralyzer
2991e9e74f17e35d8c7d9f86d57c5c7f7a311915
[ "MIT" ]
13
2019-07-02T22:41:46.000Z
2022-02-20T13:30:00.000Z
pyrallel/tests/test_map_reduce.py
usc-isi-i2/paralyzer
2991e9e74f17e35d8c7d9f86d57c5c7f7a311915
[ "MIT" ]
14
2019-07-03T18:04:25.000Z
2021-05-20T20:45:33.000Z
pyrallel/tests/test_map_reduce.py
usc-isi-i2/paralyzer
2991e9e74f17e35d8c7d9f86d57c5c7f7a311915
[ "MIT" ]
3
2020-02-12T21:54:17.000Z
2020-08-24T20:41:18.000Z
import multiprocessing as mp from pyrallel.map_reduce import MapReduce NUM_OF_PROCESSOR = max(2, int(mp.cpu_count() / 2)) def test_map_reduce_number(): def mapper(x): return x def reducer(r1, r2): return r1 + r2 mr = MapReduce(3, mapper, reducer) mr.start() mr.add_task(1) ...
21.216867
53
0.540034
262
1,761
3.5
0.217557
0.049073
0.088332
0.152672
0.687023
0.687023
0.687023
0.687023
0.687023
0.671756
0
0.071786
0.319705
1,761
82
54
21.47561
0.693656
0
0
0.71875
0
0
0.004543
0
0
0
0
0
0.109375
1
0.09375
false
0
0.03125
0.046875
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3a886dc473f6df44d24e2498829541fd798461f5
1,358
py
Python
webapp/tests.py
carolFrohlich/string_checker
27a96ab9a315d47304b0eb6bdfd671be7a34b6f1
[ "MIT" ]
null
null
null
webapp/tests.py
carolFrohlich/string_checker
27a96ab9a315d47304b0eb6bdfd671be7a34b6f1
[ "MIT" ]
null
null
null
webapp/tests.py
carolFrohlich/string_checker
27a96ab9a315d47304b0eb6bdfd671be7a34b6f1
[ "MIT" ]
null
null
null
from django.test import TestCase # Create your tests here. from webapp.forms import contains_all_letters class SCheckerTestCase(TestCase): def setup(self): pass def test_lower_case(self): text = 'abcdefghijklmnopqrstuvwxyz' answer = contains_all_letters(text) self.assertEqual(answer,True) def test_upper...
24.690909
55
0.734904
177
1,358
5.451977
0.310734
0.102591
0.167876
0.198964
0.690155
0.634197
0.634197
0.634197
0.634197
0.578238
0
0.010283
0.140648
1,358
54
56
25.148148
0.816624
0.043446
0
0.432432
0
0
0.187307
0.127709
0
0
0
0
0.216216
1
0.243243
false
0.027027
0.054054
0
0.324324
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
3a92948a079a2d3f3db1feb98db4697c887b4594
140
py
Python
Contest/DDCC2020-qual/b/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/DDCC2020-qual/b/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/DDCC2020-qual/b/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 from numpy import* n, *a = map(int, open(0).read().split()) a = array(a) print(int(min(abs(cumsum(a)-(sum(a)/2)))*2))
28
44
0.621429
28
140
3.107143
0.785714
0
0
0
0
0
0
0
0
0
0
0.031496
0.092857
140
5
44
28
0.653543
0.15
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3aad9a8258616eab59c6be93afe08dd7ebf88b02
722
py
Python
slalom/migrations/0003_auto_20210502_2148.py
caro-oviedo/DjangoApp2-UserProgress-Salom
5f3adf796764dd880f4761c818997f75516f2c24
[ "Apache-2.0" ]
null
null
null
slalom/migrations/0003_auto_20210502_2148.py
caro-oviedo/DjangoApp2-UserProgress-Salom
5f3adf796764dd880f4761c818997f75516f2c24
[ "Apache-2.0" ]
null
null
null
slalom/migrations/0003_auto_20210502_2148.py
caro-oviedo/DjangoApp2-UserProgress-Salom
5f3adf796764dd880f4761c818997f75516f2c24
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2 on 2021-05-02 21:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('slalom', '0002_remove_trick_owner'), ] operations = [ migrations.AddField( model_name='trick', name='video1', ...
24.896552
64
0.558172
73
722
5.39726
0.520548
0.137056
0.175127
0.205584
0.335025
0.335025
0.243655
0.243655
0.243655
0
0
0.066802
0.315789
722
28
65
25.785714
0.730769
0.059557
0
0.409091
1
0
0.096012
0.033973
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3ab3e2941b6f403af41700077d7767ce4d038166
457
py
Python
catalyst/contrib/nn/modules/__init__.py
denyhoof/catalyst
a340450076f7846007bc5695e5163e15b7ad9575
[ "Apache-2.0" ]
1
2020-09-24T00:34:06.000Z
2020-09-24T00:34:06.000Z
catalyst/contrib/nn/modules/__init__.py
denyhoof/catalyst
a340450076f7846007bc5695e5163e15b7ad9575
[ "Apache-2.0" ]
null
null
null
catalyst/contrib/nn/modules/__init__.py
denyhoof/catalyst
a340450076f7846007bc5695e5163e15b7ad9575
[ "Apache-2.0" ]
1
2020-09-24T00:34:07.000Z
2020-09-24T00:34:07.000Z
# flake8: noqa from torch.nn.modules import * from .common import Flatten, GaussianNoise, Lambda, Normalize from .lama import LamaPooling, TemporalAttentionPooling, TemporalConcatPooling from .pooling import ( GlobalAttnPool2d, GlobalAvgAttnPool2d, GlobalAvgPool2d, GlobalConcatAttnPool2d, GlobalCon...
21.761905
78
0.750547
41
457
8.341463
0.756098
0
0
0
0
0
0
0
0
0
0
0.021505
0.185996
457
20
79
22.85
0.897849
0.026258
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
2
3ab4a94d8c1d32caca854e9194abb1b42f0cfa0c
1,559
py
Python
pogopowerupcost/pogopowerupcost.py
HankB/pogopowerupcost
348f2414029b15909b82ea109429b8f96937f019
[ "MIT" ]
null
null
null
pogopowerupcost/pogopowerupcost.py
HankB/pogopowerupcost
348f2414029b15909b82ea109429b8f96937f019
[ "MIT" ]
null
null
null
pogopowerupcost/pogopowerupcost.py
HankB/pogopowerupcost
348f2414029b15909b82ea109429b8f96937f019
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # coding=utf-8 """ Strategy to eliminate redundant lines. - remove redundant lines - calculate the correct key for a given level """ NORMAL_COST_PER_POWERUP = { # level: [stardust, candy] 2.5: [ 200, 1], 4.5: [ 400, 1], 6.5: [ 600, 1], 8.5: [ 800, 1], 10.5: [ 1000, 1], 12.5:...
21.067568
85
0.550994
266
1,559
3.112782
0.368421
0.062802
0.050725
0.048309
0.082126
0.082126
0.082126
0.082126
0
0
0
0.275424
0.243105
1,559
73
86
21.356164
0.426271
0.139833
0
0
0
0
0.009789
0
0
0
0
0
0
1
0.033898
false
0
0
0.016949
0.067797
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3abaf7778575fb33671c68f93238545045ace437
2,350
py
Python
webapp.py
eyan02/WebApp
4df02491dc6c27985e39c9d003eca1e662740000
[ "MIT" ]
null
null
null
webapp.py
eyan02/WebApp
4df02491dc6c27985e39c9d003eca1e662740000
[ "MIT" ]
null
null
null
webapp.py
eyan02/WebApp
4df02491dc6c27985e39c9d003eca1e662740000
[ "MIT" ]
null
null
null
from flask import Flask, render_template, json, request, redirect, session, jsonify from flaskext.mysql import MySQL from werkzeug import generate_password_hash, check_password_hash mysql = MySQL() app = Flask(__name__) # randomly generated encryption & decryption key, ensures security of a communications session app...
35.074627
94
0.514043
209
2,350
5.564593
0.521531
0.030954
0.048151
0.075666
0
0
0
0
0
0
0
0.002588
0.177872
2,350
66
95
35.606061
0.599379
0.298298
0
0.046512
1
0
0.197433
0.014059
0
0
0
0
0
1
0.069767
false
0.139535
0.069767
0.046512
0.27907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
3ad446c1b07e34f2fa0ee1ef1453cf07206ea6ad
975
py
Python
backend/account_request/migrations/0002_auto_20190214_2145.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
null
null
null
backend/account_request/migrations/0002_auto_20190214_2145.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
2
2020-02-11T15:45:51.000Z
2020-07-17T16:47:06.000Z
backend/account_request/migrations/0002_auto_20190214_2145.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-02-14 21:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account_request', '0001_initial'), ] operations = [ migrations.AlterField( model_name='accountrequest', name='divisi...
28.676471
73
0.585641
97
975
5.773196
0.43299
0.142857
0.178571
0.207143
0.660714
0.660714
0.576786
0.508929
0.508929
0.508929
0
0.039416
0.297436
975
33
74
29.545455
0.778102
0.046154
0
0.555556
1
0
0.125
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3ad7245b008d3289d24d032c2d3cd8b153b127c9
634
py
Python
main.py
iarwain8a/pydlbot
3d471795da3f5f17f2e784a9fa508f9dd5613bd3
[ "MIT" ]
null
null
null
main.py
iarwain8a/pydlbot
3d471795da3f5f17f2e784a9fa508f9dd5613bd3
[ "MIT" ]
null
null
null
main.py
iarwain8a/pydlbot
3d471795da3f5f17f2e784a9fa508f9dd5613bd3
[ "MIT" ]
null
null
null
import pydlbot_ui as Ui import sys from PyQt5 import QtGui, QtCore, QtWidgets from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * import time import threading if __name__ == '__main__': p = threading.Thread(target=main) p.start() for i in range(3): t = th...
22.642857
56
0.656151
84
634
4.821429
0.488095
0.088889
0.074074
0
0
0
0
0
0
0
0
0.010225
0.228707
634
27
57
23.481481
0.817996
0
0
0
0
0
0.036278
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
3ad734bd68154710d060d7aea6f8d2354fbd9080
6,832
py
Python
src/view/deprecated/files.py
fred-yu-2013/Elastos.Hive.Node
1dcc9178c12efefc786bc653bacec50a1f79161b
[ "MIT" ]
5
2020-11-18T09:14:24.000Z
2021-08-17T13:55:49.000Z
src/view/deprecated/files.py
fred-yu-2013/Elastos.Hive.Node
1dcc9178c12efefc786bc653bacec50a1f79161b
[ "MIT" ]
45
2020-11-09T03:40:53.000Z
2021-11-02T08:43:49.000Z
src/view/deprecated/files.py
fred-yu-2013/Elastos.Hive.Node
1dcc9178c12efefc786bc653bacec50a1f79161b
[ "MIT" ]
5
2021-01-25T16:25:59.000Z
2021-09-23T20:18:12.000Z
# -*- coding: utf-8 -*- """ The view of files module. """ from flask import Blueprint, request from src.modules.files.files import Files from src.utils.http_exception import BadRequestException blueprint = Blueprint('files-deprecated', __name__) files: Files = None def init_app(app): """ This will be called by...
17.884817
102
0.562207
822
6,832
4.636253
0.154501
0.180005
0.19365
0.204408
0.648649
0.634742
0.605353
0.593545
0.593545
0.585148
0
0.047841
0.308548
6,832
381
103
17.931759
0.758891
0.676083
0
0
0
0.028571
0.189502
0.130198
0
0
0
0
0
1
0.142857
false
0
0.085714
0
0.485714
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3ae9c27cb433dee341880c12a91958034dceafbb
270
py
Python
Task2/02_list-dicts.py
telecomprofi/Cisco-DevOps-MDP-02
f44173d468319a90dc6b7c5ea92cd6b8b3762b45
[ "Apache-2.0" ]
null
null
null
Task2/02_list-dicts.py
telecomprofi/Cisco-DevOps-MDP-02
f44173d468319a90dc6b7c5ea92cd6b8b3762b45
[ "Apache-2.0" ]
null
null
null
Task2/02_list-dicts.py
telecomprofi/Cisco-DevOps-MDP-02
f44173d468319a90dc6b7c5ea92cd6b8b3762b45
[ "Apache-2.0" ]
null
null
null
country=["Brazil","Russia","India","China","South Africa"] capitals={"Brazil":"Brasilia","Russia":"Moscow","India":"New Delhi", "China":"Beijing","South Africa":["Pretoria","Cape Town","Bloemfontein"]} print(country) print(capitals) print(capitals["South Africa"][1])
33.75
74
0.696296
32
270
5.875
0.59375
0.175532
0
0
0
0
0
0
0
0
0
0.003891
0.048148
270
7
75
38.571429
0.727626
0
0
0
0
0
0.516729
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
3aeb5f1a3b042dd49ac3276109266415fd562f10
2,045
py
Python
src/emutils/geometry/ball.py
emanuele-albini/emutils
d5e3939da8a14b629879f06d87d4bd371e7117ab
[ "MIT" ]
null
null
null
src/emutils/geometry/ball.py
emanuele-albini/emutils
d5e3939da8a14b629879f06d87d4bd371e7117ab
[ "MIT" ]
null
null
null
src/emutils/geometry/ball.py
emanuele-albini/emutils
d5e3939da8a14b629879f06d87d4bd371e7117ab
[ "MIT" ]
null
null
null
import logging import numpy as np __all__ = [ 'generate_random_points_inside_balls', 'generate_random_point_inside_balls', 'generate_random_points_inside_ball', 'generate_random_point_inside_ball', ] # %% def generate_random_points_inside_balls( X, normalizer, mode, phi, n=1, ...
28.402778
116
0.6489
283
2,045
4.409894
0.279152
0.134615
0.128205
0.166667
0.448718
0.226763
0.150641
0.127404
0.127404
0.084936
0
0.008328
0.236675
2,045
71
117
28.802817
0.79116
0.044988
0
0.041667
1
0
0.141243
0.09964
0
0
0
0
0
1
0.104167
false
0.041667
0.041667
0.0625
0.3125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
aaf7c70154f36b59a8bb5810940a58d3ac7062c0
2,007
py
Python
cracker.py
alin-dinescu/WPA2-HalfHandshake-Crack
fc8e31dd0e34c3ac9c7e95fceb222a4212bd1342
[ "OpenSSL", "MIT" ]
null
null
null
cracker.py
alin-dinescu/WPA2-HalfHandshake-Crack
fc8e31dd0e34c3ac9c7e95fceb222a4212bd1342
[ "OpenSSL", "MIT" ]
null
null
null
cracker.py
alin-dinescu/WPA2-HalfHandshake-Crack
fc8e31dd0e34c3ac9c7e95fceb222a4212bd1342
[ "OpenSSL", "MIT" ]
null
null
null
import hmac, hashlib, binascii from hashlib import sha1 from binascii import a2b_hex, b2a_hex, unhexlify from pbkdf2_ctypes import pbkdf2_bin from multiprocessing import Pool, Queue, cpu_count from datetime import datetime from time import sleep numOfPs = cpu_count() def hmac4times(ptk, pke): tempPke = pke r...
33.45
163
0.605879
229
2,007
5.275109
0.414847
0.049669
0.024834
0.059603
0.208609
0.208609
0.208609
0.15894
0.15894
0.112583
0
0.033333
0.282511
2,007
59
164
34.016949
0.805556
0
0
0.259259
0
0
0.025909
0
0.018519
0
0
0
0
0
null
null
0.277778
0.12963
null
null
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
c926fbd01b5a51930f76ba3ff40785e357d452a6
574
py
Python
main/migrations/0002_auto_20200314_1530.py
kwatog/jumuk
6234bf18ea0bf1eeb4194ecce23af9b669d4a841
[ "MIT" ]
null
null
null
main/migrations/0002_auto_20200314_1530.py
kwatog/jumuk
6234bf18ea0bf1eeb4194ecce23af9b669d4a841
[ "MIT" ]
5
2020-03-13T09:48:40.000Z
2021-09-22T18:42:22.000Z
main/migrations/0002_auto_20200314_1530.py
kwatog/jumuk
6234bf18ea0bf1eeb4194ecce23af9b669d4a841
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-14 15:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='first_name', fi...
23.916667
73
0.578397
63
574
5.15873
0.603175
0.123077
0.153846
0.178462
0.547692
0.547692
0.32
0.32
0.32
0.32
0
0.057214
0.299652
574
23
74
24.956522
0.751244
0.078397
0
0.470588
1
0
0.081594
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c94067f14edbfaeef67d40e03949c3cc7bd61802
734
py
Python
blog/models.py
sd5682295/course_demo-master-2fe2955bdcb6985c2b48bb3487da5732c395bbc2
face6e8d4e6cc61c3ef437142b71639393de3bf8
[ "MIT" ]
null
null
null
blog/models.py
sd5682295/course_demo-master-2fe2955bdcb6985c2b48bb3487da5732c395bbc2
face6e8d4e6cc61c3ef437142b71639393de3bf8
[ "MIT" ]
null
null
null
blog/models.py
sd5682295/course_demo-master-2fe2955bdcb6985c2b48bb3487da5732c395bbc2
face6e8d4e6cc61c3ef437142b71639393de3bf8
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Category(models.Model): name = models.CharField(max_length=100) def __str__(self): return self.name class Tag(models.Model): name = models.CharField(max_length=100) def __str__(self): return self.name class Post(models.Model): ...
22.9375
65
0.76703
101
734
5.376238
0.386139
0.138122
0.165746
0.220994
0.443831
0.26151
0.26151
0.26151
0.26151
0.26151
0
0.020186
0.122616
734
31
66
23.677419
0.822981
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.095238
0.142857
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
c9599538e684b00c1b9eb75ec04458b635c13ae8
501
py
Python
py_tdlib/constructors/input_inline_query_result_video.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/input_inline_query_result_video.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/input_inline_query_result_video.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Type class inputInlineQueryResultVideo(Type): id = None # type: "string" title = None # type: "string" description = None # type: "string" thumbnail_url = None # type: "string" video_url = None # type: "string" mime_type = None # type: "string" video_width = None # type: "int32" v...
31.3125
60
0.688623
60
501
5.6
0.433333
0.261905
0.25
0.10119
0
0
0
0
0
0
0
0.014815
0.191617
501
15
61
33.4
0.814815
0.357285
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c963dca9a730234f66f325086da0df26ded50d93
453
py
Python
todolist_backend/cli.py
RenoirTan/TodoListBackend
149bdf1d883891c87b27f01996816bff251f11d8
[ "MIT" ]
null
null
null
todolist_backend/cli.py
RenoirTan/TodoListBackend
149bdf1d883891c87b27f01996816bff251f11d8
[ "MIT" ]
null
null
null
todolist_backend/cli.py
RenoirTan/TodoListBackend
149bdf1d883891c87b27f01996816bff251f11d8
[ "MIT" ]
null
null
null
from mongoengine import disconnect from waitress import serve from todolist_backend.server import app, get_configs from .database import panic_init from .info import MONGOENGINE_ALIAS def run_debug(): panic_init() app.run(**get_configs()) # disconnect(alias=MONGOENGINE_ALIAS) def run_production(): p...
22.65
52
0.743929
57
453
5.701754
0.385965
0.092308
0.116923
0.135385
0.233846
0
0
0
0
0
0
0
0.163355
453
19
53
23.842105
0.85752
0.156733
0
0.153846
0
0
0.013193
0
0
0
0
0
0
1
0.153846
false
0
0.384615
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
1
0
1
0
0
2
c964301c7d47d614f521b894d1e55685f398fbd2
86
py
Python
sample_code/002_add.py
kaede-san0910/workshop-2022
961d3ebfc899565aa6913c90b08881ef857ca945
[ "Apache-2.0" ]
null
null
null
sample_code/002_add.py
kaede-san0910/workshop-2022
961d3ebfc899565aa6913c90b08881ef857ca945
[ "Apache-2.0" ]
null
null
null
sample_code/002_add.py
kaede-san0910/workshop-2022
961d3ebfc899565aa6913c90b08881ef857ca945
[ "Apache-2.0" ]
null
null
null
a = int(input("a = ")) b = int(input("b = ")) print("{} + {} = {}".format(a, b, a+b))
21.5
39
0.406977
14
86
2.5
0.428571
0.171429
0
0
0
0
0
0
0
0
0
0
0.197674
86
4
39
21.5
0.507246
0
0
0
0
0
0.229885
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c96fe90561c66a9922b3825850ab89dad8c3224a
7,273
py
Python
datatools_bdh/dict_utils.py
sfu-bigdata/datatools-bdh
43303db2e165c10b43f5afe5293d41e655a05040
[ "MIT" ]
null
null
null
datatools_bdh/dict_utils.py
sfu-bigdata/datatools-bdh
43303db2e165c10b43f5afe5293d41e655a05040
[ "MIT" ]
null
null
null
datatools_bdh/dict_utils.py
sfu-bigdata/datatools-bdh
43303db2e165c10b43f5afe5293d41e655a05040
[ "MIT" ]
null
null
null
"""Convenience functions for dictionary access and YAML""" from sklearn.utils import Bunch from collections import OrderedDict from collections.abc import Mapping import copy import yaml # ---------------------------------------------------------------------------- def deep_convert_list_dict(d, skip_list_level=0): ...
33.210046
99
0.641001
991
7,273
4.597376
0.265389
0.022827
0.037094
0.020852
0.244732
0.23288
0.196005
0.196005
0.196005
0.196005
0
0.010415
0.234291
7,273
218
100
33.362385
0.807685
0.531143
0
0.155844
0
0
0.009321
0.006991
0
0
0
0.004587
0
1
0.207792
false
0.038961
0.077922
0.012987
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c97ce1f34312b0218b91e4e2faa6b094d0a6ab72
188
py
Python
iotbot/logger.py
li7yue/python--iotbot
ca721b795114202114a4eb355d20f9ecfd9b8901
[ "MIT" ]
1
2020-10-05T01:09:15.000Z
2020-10-05T01:09:15.000Z
iotbot/logger.py
li7yue/python--iotbot
ca721b795114202114a4eb355d20f9ecfd9b8901
[ "MIT" ]
null
null
null
iotbot/logger.py
li7yue/python--iotbot
ca721b795114202114a4eb355d20f9ecfd9b8901
[ "MIT" ]
null
null
null
import sys from loguru import logger logger.remove() logger.add( sys.stdout, format='{level.icon} {time:YYYY-MM-DD HH:mm:ss} <lvl>{level}\t{message}</lvl>', colorize=True, )
17.090909
83
0.664894
29
188
4.310345
0.758621
0
0
0
0
0
0
0
0
0
0
0
0.154255
188
10
84
18.8
0.786164
0
0
0
0
0.125
0.367021
0.154255
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
c97d3cc7b903e622320da5991308503b0ba6a84c
1,770
py
Python
cloudcafe/networking/lbaas/common/types.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
null
null
null
cloudcafe/networking/lbaas/common/types.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
null
null
null
cloudcafe/networking/lbaas/common/types.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
1
2020-04-13T17:44:28.000Z
2020-04-13T17:44:28.000Z
""" Copyright 2013 Rackspace 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, software dist...
36.875
76
0.716949
257
1,770
4.891051
0.447471
0.022275
0.038186
0.0358
0
0
0
0
0
0
0
0.005768
0.216384
1,770
47
77
37.659574
0.900505
0.803955
0
0
0
0
0.278226
0
0
0
0
0
0
1
0
false
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c97fb65ad57fdb00bbfc2ec6a2a6804e6bf866f3
50
py
Python
src/__init__.py
ProfessorManhattan/mod-ansible-autodoc
3cc6fd25f817efc63ec0fc158088d637dd689ad3
[ "MIT" ]
null
null
null
src/__init__.py
ProfessorManhattan/mod-ansible-autodoc
3cc6fd25f817efc63ec0fc158088d637dd689ad3
[ "MIT" ]
null
null
null
src/__init__.py
ProfessorManhattan/mod-ansible-autodoc
3cc6fd25f817efc63ec0fc158088d637dd689ad3
[ "MIT" ]
null
null
null
__name__ = "{{Name}}" __version__ = "{{Version}}"
16.666667
27
0.6
4
50
5.5
0.5
0
0
0
0
0
0
0
0
0
0
0
0.12
50
2
28
25
0.5
0
0
0
0
0
0.38
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3306511794dd745848ecb0131b99b481e38843f
669
py
Python
PYTHON/IP-Address-Checker.py
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
125
2021-10-01T19:05:26.000Z
2021-10-03T13:32:42.000Z
PYTHON/IP-Address-Checker.py
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
201
2021-10-30T20:40:01.000Z
2022-03-22T17:26:28.000Z
PYTHON/IP-Address-Checker.py
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
294
2021-10-01T18:46:05.000Z
2021-10-03T14:25:07.000Z
import urllib2 def get_public_ip(request_target): grabber = urllib2.build_opener() grabber.addheaders = [('Useragent','Mozilla/5.0')] try: public_ip_address = grabber.open(target_url).read() except urllib2.HTTPError, error: print("There was an error trying to get your Public IP: %s") % (error) except urllib2....
31.857143
72
0.730942
107
669
4.411215
0.429907
0.20339
0.127119
0.076271
0.330508
0.228814
0.228814
0.228814
0.228814
0.228814
0
0.013913
0.140508
669
21
73
31.857143
0.806957
0
0
0.111111
0
0
0.319403
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.222222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
a33b33e393caf1662689964e235489b7f1ad1bdc
1,350
py
Python
setup.py
agflood/scatteringmatrix
dc9a048e4b57475c67bbac7d3165cf29b5cc66e9
[ "MIT" ]
1
2021-04-18T16:09:17.000Z
2021-04-18T16:09:17.000Z
setup.py
agflood/scatteringmatrix
dc9a048e4b57475c67bbac7d3165cf29b5cc66e9
[ "MIT" ]
6
2018-09-03T06:46:39.000Z
2019-05-25T21:42:17.000Z
setup.py
agflood/scatteringmatrix
dc9a048e4b57475c67bbac7d3165cf29b5cc66e9
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from scatteringmatrix import __version__ with open("README.md", "r") as fh: long_description = fh.read() setup(name='scatteringmatrix', version=__version__, description='Optical scattering matrix library', long_description=long_description, long_...
39.705882
66
0.60963
131
1,350
6.122137
0.603053
0.142145
0.187032
0.194514
0.067332
0
0
0
0
0
0
0.013
0.259259
1,350
33
67
40.909091
0.789
0
0
0
0
0
0.442222
0.037778
0
0
0
0
0
1
0
false
0
0.064516
0
0.064516
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a33e48a10e11e80e4f5b747b61f4474ae03b0923
667
py
Python
openprocurement/tender/openeu/views/award_complaint_document.py
leits/openprocurement.tender.openeu
6e8b6650a23761cc09794030583206029a2928e8
[ "Apache-2.0" ]
1
2016-02-02T09:55:08.000Z
2016-02-02T09:55:08.000Z
openprocurement/tender/openeu/views/award_complaint_document.py
Leits/openprocurement.tender.openeu
6e8b6650a23761cc09794030583206029a2928e8
[ "Apache-2.0" ]
2
2021-03-26T00:35:37.000Z
2022-03-21T22:21:31.000Z
openprocurement/tender/openeu/views/award_complaint_document.py
leits/openprocurement.tender.openeu
6e8b6650a23761cc09794030583206029a2928e8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from openprocurement.api.utils import opresource from openprocurement.tender.openua.views.award_complaint_document import TenderUaAwardComplaintDocumentResource @opresource(name='Tender EU Award Complaint Documents', collection_path='/tenders/{tender_id}/awards/{award_id}/complaint...
51.307692
111
0.773613
62
667
8.16129
0.5
0.083004
0.090909
0.075099
0.245059
0.245059
0.245059
0.245059
0.245059
0.245059
0
0.001709
0.122939
667
12
112
55.583333
0.863248
0.031484
0
0
0
0
0.380435
0.251553
0
0
0
0
0
1
0
true
0.111111
0.222222
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
a343d4acc1180ec43471b02424e6695cc4893a9e
9,132
py
Python
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v15.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
36
2020-11-19T07:23:42.000Z
2022-03-30T03:35:57.000Z
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v15.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
4
2021-01-30T09:49:10.000Z
2021-12-05T12:49:11.000Z
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v15.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
6
2020-11-23T07:54:47.000Z
2021-07-09T07:20:15.000Z
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import os import tensorflow as tf import math """ GCL + OMEGA = 180 / 512. {'0.6': {'ground-track-field': 0.573582489319409, 'harbor': 0.3891521609424017, 'bridge': 0.2563337419887201, 'small-vehicle': 0.5648505388890961, 'plane'...
71.34375
583
0.727551
1,136
9,132
5.720951
0.371479
0.018464
0.024619
0.026158
0.028928
0.024619
0.012002
0.012002
0.012002
0.012002
0
0.357297
0.087604
9,132
127
584
71.905512
0.422708
0.072383
0
0
0
0
0.108767
0.050928
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
0.034884
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a3446186d570e00d5586a746c5e62060ac9246b6
315
py
Python
app/main/utils.py
tmeftah/e-invoice
7cfe31e9391eb60ab3d06f0055bd2f1e9a524971
[ "MIT" ]
2
2019-06-10T19:30:06.000Z
2020-04-30T01:05:04.000Z
app/main/utils.py
tmeftah/e-invoice
7cfe31e9391eb60ab3d06f0055bd2f1e9a524971
[ "MIT" ]
null
null
null
app/main/utils.py
tmeftah/e-invoice
7cfe31e9391eb60ab3d06f0055bd2f1e9a524971
[ "MIT" ]
3
2019-01-23T21:37:29.000Z
2020-04-08T13:22:29.000Z
from flask import request from app.main.extensions import cache def clear_cache(key_prefix): keys = [key for key in cache.cache._cache.keys() if key.startswith(key_prefix)] cache.delete_many(*keys) def cache_json_keys(): json_data = tuple(sorted(request.get_json().items())) return json_data
19.6875
83
0.733333
48
315
4.604167
0.541667
0.081448
0
0
0
0
0
0
0
0
0
0
0.15873
315
15
84
21
0.833962
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a3927c6d9fb19dc907aa3851f9fb6293c833eaf2
1,737
py
Python
tests/test_simple.py
teosavv/pyembroidery
00985f423e64ea1a454e5484012c19a64f26eb2c
[ "MIT" ]
45
2018-07-08T09:49:30.000Z
2022-03-23T07:01:15.000Z
tests/test_simple.py
teosavv/pyembroidery
00985f423e64ea1a454e5484012c19a64f26eb2c
[ "MIT" ]
59
2018-07-05T22:05:58.000Z
2022-02-20T01:01:20.000Z
tests/test_simple.py
teosavv/pyembroidery
00985f423e64ea1a454e5484012c19a64f26eb2c
[ "MIT" ]
23
2018-08-10T17:58:04.000Z
2022-03-29T03:41:46.000Z
import os import shutil import pyembroidery import test_fractals def test_simple(): pattern = pyembroidery.EmbPattern() pattern.add_thread({ "rgb": 0x0000FF, "name": "Blue Test", "catalog": "0033", "brand": "PyEmbroidery Brand Thread" }) pattern.add_thread({ "...
31.581818
84
0.651698
189
1,737
5.862434
0.31746
0.107401
0.238267
0.277978
0.423285
0.367329
0.259928
0
0
0
0
0.018909
0.208405
1,737
54
85
32.166667
0.786909
0
0
0.136364
0
0
0.218192
0
0
0
0.009211
0
0
1
0.022727
false
0
0.090909
0
0.113636
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a394774a260348220f0663c39347cf191a6da686
485
py
Python
zof/event.py
byllyfish/pylibofp
8e96caf83f57cab930b45a78eb4a8eaa6d9d0408
[ "MIT" ]
4
2017-09-20T19:10:51.000Z
2022-01-10T04:02:00.000Z
zof/event.py
byllyfish/pylibofp
8e96caf83f57cab930b45a78eb4a8eaa6d9d0408
[ "MIT" ]
2
2017-09-02T22:53:03.000Z
2018-01-01T03:27:48.000Z
zof/event.py
byllyfish/pylibofp
8e96caf83f57cab930b45a78eb4a8eaa6d9d0408
[ "MIT" ]
null
null
null
from .objectview import to_json, from_json def load_event(event): try: return from_json(event) except ValueError as ex: # Report malformed JSON input. if event == b'': return {'event': 'EXCEPTION', 'reason': 'EOF', 'input': event} return {'event': 'EXCEPTION', 'reas...
26.944444
74
0.610309
62
485
4.677419
0.451613
0.113793
0.137931
0.17931
0
0
0
0
0
0
0
0.00545
0.243299
485
17
75
28.529412
0.784741
0.057732
0
0
0
0
0.138462
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
a39d78970a2b5428929cac47bbcd677dcd4fd411
2,169
py
Python
timeStamps/admin.py
zandegran/django-timeStamp
2c598d5543dc9b9198f41f0712406f22e60d5fa6
[ "MIT" ]
1
2017-12-15T17:36:58.000Z
2017-12-15T17:36:58.000Z
timeStamps/admin.py
zandegran/django-timeStamp
2c598d5543dc9b9198f41f0712406f22e60d5fa6
[ "MIT" ]
null
null
null
timeStamps/admin.py
zandegran/django-timeStamp
2c598d5543dc9b9198f41f0712406f22e60d5fa6
[ "MIT" ]
null
null
null
""" This module is to define how TimeStamp model is represented in the Admin site It also registers the model to be shown in the admin site .. seealso:: :class:`..models.TimeStamp` """ from django.contrib import admin from .models import TimeStamp class FilterUserAdmin(admin.ModelAdmin): """ Makes the ...
32.863636
125
0.654219
273
2,169
5.128205
0.362637
0.055
0.04
0.03
0.04
0
0
0
0
0
0
0
0.262794
2,169
66
125
32.863636
0.875547
0.388658
0
0.071429
0
0
0.03005
0
0
0
0
0
0
1
0.214286
false
0
0.071429
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
1
0
0
2
6e7c1a4dd0214c41c2785c1779862d06bb157d94
873
py
Python
server/yafa/migrations/0002_auto_20160606_2216.py
mrmonkington/yafa
d15ba1fdaaa046e3bc07a7a44fb61213d686bb7d
[ "MIT" ]
null
null
null
server/yafa/migrations/0002_auto_20160606_2216.py
mrmonkington/yafa
d15ba1fdaaa046e3bc07a7a44fb61213d686bb7d
[ "MIT" ]
13
2016-08-10T19:22:35.000Z
2021-06-10T18:53:01.000Z
server/yafa/migrations/0002_auto_20160606_2216.py
mrmonkington/yafa
d15ba1fdaaa046e3bc07a7a44fb61213d686bb7d
[ "MIT" ]
2
2016-06-23T09:02:20.000Z
2021-03-22T11:39:20.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-06-06 22:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('yafa', '0001_initial'), ] operations = [ migrations.RemoveField( ...
24.25
63
0.54181
83
873
5.53012
0.53012
0.078431
0.11329
0.130719
0.291939
0.291939
0.291939
0.291939
0.291939
0.291939
0
0.044828
0.335624
873
35
64
24.942857
0.746552
0.076747
0
0.714286
1
0
0.059776
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6e89094dd4c599ed774bc54e2865f3ed2293d233
257
bzl
Python
internal/copts.bzl
zaucy/bzlws
a8f3e4b0bc168059ec92971b1ea7c214db2c5454
[ "MIT" ]
4
2021-07-21T01:43:50.000Z
2021-11-18T03:23:18.000Z
internal/copts.bzl
zaucy/bzlws
a8f3e4b0bc168059ec92971b1ea7c214db2c5454
[ "MIT" ]
null
null
null
internal/copts.bzl
zaucy/bzlws
a8f3e4b0bc168059ec92971b1ea7c214db2c5454
[ "MIT" ]
1
2022-02-03T07:53:17.000Z
2022-02-03T07:53:17.000Z
_msvc_copts = ["/std:c++17"] _clang_cl_copts = ["/std:c++17"] _gcc_copts = ["-std=c++17"] copts = select({ "@bazel_tools//tools/cpp:msvc": _msvc_copts, "@bazel_tools//tools/cpp:clang-cl": _clang_cl_copts, "//conditions:default": _gcc_copts, })
25.7
56
0.649805
38
257
3.973684
0.368421
0.15894
0.178808
0.218543
0
0
0
0
0
0
0
0.026667
0.124514
257
9
57
28.555556
0.644444
0
0
0
0
0
0.428016
0.233463
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6e9649858a66821226a8387a5c2ae25467b9d1c9
631
py
Python
adminmgr/media/code/python/red3/BD_543_565_624_reducer.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
9
2019-11-08T02:05:27.000Z
2021-12-13T12:06:35.000Z
adminmgr/media/code/config/BD_543_565_624_reducer.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
6
2019-11-27T03:23:16.000Z
2021-06-10T19:15:13.000Z
adminmgr/media/code/python/red3/BD_543_565_624_reducer.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
4
2019-11-26T17:04:27.000Z
2021-12-13T11:57:03.000Z
#!/usr/bin/python3 import sys # f=open("reduce3.csv","w+") di={} for y in sys.stdin: Record=list(map(str,y.split(","))) if(len(Record)>3): Record=[Record[0]+","+Record[1],Record[2],Record[3]] s=int(Record[2][:-1]) if (Record[0],Record[1]) not in di: di[(Record[0],Record[1])]=[s,1] else: di[(Record[0],Record[...
24.269231
54
0.557845
135
631
2.607407
0.325926
0.099432
0.184659
0.198864
0.136364
0
0
0
0
0
0
0.064171
0.110935
631
25
55
25.24
0.56328
0.10935
0
0.090909
0
0
0.005367
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0.045455
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6e97ddc9ef075e7d004c1410ff22b946e2b0175d
1,937
py
Python
setup.py
hojinYang/neureca
b1eb7246b731b7a0c7264b47c1c27239b9fe1224
[ "Apache-2.0" ]
7
2021-08-24T14:34:33.000Z
2021-12-10T12:43:50.000Z
setup.py
hojinYang/neureca
b1eb7246b731b7a0c7264b47c1c27239b9fe1224
[ "Apache-2.0" ]
null
null
null
setup.py
hojinYang/neureca
b1eb7246b731b7a0c7264b47c1c27239b9fe1224
[ "Apache-2.0" ]
1
2021-09-10T17:50:38.000Z
2021-09-10T17:50:38.000Z
from setuptools import setup, find_packages with open("README.md", encoding="utf-8") as f: long_description = f.read() setup( name="neureca", version="0.0.1", description="A framework for building conversational recommender systems", long_description=long_description, long_description_content_...
32.283333
89
0.565823
229
1,937
4.71179
0.489083
0.15848
0.208526
0.216867
0.050046
0
0
0
0
0
0
0.060041
0.251936
1,937
59
90
32.830508
0.68461
0
0
0.052632
0
0
0.53175
0.067114
0
0
0
0
0
1
0
false
0
0.017544
0
0.017544
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6ea5d0975fd4eec1bb06ec6bc86c9a210abd074c
398
py
Python
items/Boots_Of_Speed.py
ivoryhuang/LOL_simple_text_version
13c98721ad094c4eb6b835c838805c77dc9075c5
[ "MIT" ]
2
2017-01-08T15:53:49.000Z
2017-01-19T17:24:53.000Z
items/Boots_Of_Speed.py
ivoryhuang/LOL_simple_text_version
13c98721ad094c4eb6b835c838805c77dc9075c5
[ "MIT" ]
null
null
null
items/Boots_Of_Speed.py
ivoryhuang/LOL_simple_text_version
13c98721ad094c4eb6b835c838805c77dc9075c5
[ "MIT" ]
null
null
null
from items.Item import Item class Boots_Of_Speed(Item): def __init__(self): Item.__init__(self, name='Boots of Speed', code=1001, cost=300, sell=210) self.sub_items = None def stats(self, champ): champ.move_speed += 25 return "%s move speed increase %d" % (champ.name, 25) def remove_stats(self, champ): ...
28.428571
75
0.701005
65
398
4.076923
0.461538
0.135849
0.090566
0.143396
0.34717
0.34717
0.34717
0.34717
0.34717
0.34717
0
0.054054
0.163317
398
14
76
28.428571
0.741742
0
0
0
0
0
0.160401
0
0
0
0
0
0
1
0.272727
false
0
0.090909
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
1
0
0
2
6eb0570098060d342879612db34c154166a28bf0
477
py
Python
adlibre_dms/views.py
adlibre/Adlibre-DMS
96ce41b5699e2ea58e3ca560d46d481e954f17a4
[ "BSD-3-Clause" ]
48
2015-02-25T03:20:35.000Z
2022-03-11T09:02:42.000Z
adlibre_dms/views.py
adlibre/Adlibre-DMS
96ce41b5699e2ea58e3ca560d46d481e954f17a4
[ "BSD-3-Clause" ]
6
2015-01-09T08:30:53.000Z
2016-12-05T15:03:01.000Z
adlibre_dms/views.py
adlibre/Adlibre-DMS
96ce41b5699e2ea58e3ca560d46d481e954f17a4
[ "BSD-3-Clause" ]
24
2015-01-15T11:41:40.000Z
2022-03-17T20:31:06.000Z
from django.conf import settings from django import http from django.template import RequestContext, loader def server_error(request, template_name='500.html'): """ 500 error handler. Templates: `500.html` Context: MEDIA_URL Path of static media (e.g. "media.example.org") """ ...
26.5
65
0.685535
58
477
5.517241
0.568966
0.09375
0
0
0
0
0
0
0
0
0
0.023936
0.21174
477
17
66
28.058824
0.827128
0.251572
0
0
0
0
0.052308
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6eb100cce3b9fcde7fec2f63e9fe107b7c59b8c7
372
py
Python
operations/fleet_management/migrations/0005_merge_20171213_1548.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/fleet_management/migrations/0005_merge_20171213_1548.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/fleet_management/migrations/0005_merge_20171213_1548.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-13 13:48 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('fleet_management', '0003_vehicledocument_document_type'), ('fleet_management', '0004_inciden...
21.882353
67
0.693548
42
372
5.857143
0.809524
0.121951
0
0
0
0
0
0
0
0
0
0.083333
0.193548
372
16
68
23.25
0.736667
0.182796
0
0
1
0
0.312292
0.20598
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
6ecd09c39c02e164cec80cd3178067eb0c5adcdc
336
py
Python
server/src/__init__.py
dmitrijbozhkov/zno-library
888ccde7163f8ac6746e4065f47d5070eadff5a7
[ "Apache-2.0" ]
null
null
null
server/src/__init__.py
dmitrijbozhkov/zno-library
888ccde7163f8ac6746e4065f47d5070eadff5a7
[ "Apache-2.0" ]
null
null
null
server/src/__init__.py
dmitrijbozhkov/zno-library
888ccde7163f8ac6746e4065f47d5070eadff5a7
[ "Apache-2.0" ]
null
null
null
""" Builds and runs application """ from app import app, user_datastore, db from api_module.api_routes import api from auth_module.auth_routes import auth app.register_blueprint(api) app.register_blueprint(auth) if __name__ == "__main__": # database = create_db(connection_str) # attach_db(g, database) app...
25.846154
42
0.758929
49
336
4.836735
0.571429
0.101266
0.168776
0
0
0
0
0
0
0
0
0.013889
0.142857
336
12
43
28
0.809028
0.264881
0
0
0
0
0.033473
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
6eddc54b10cac9432a4ae367a239a6cc76b7801e
2,467
py
Python
datename/filetime.py
tekemperor/datename
6e2d27c6e64ecb8e07a673c2aa10ed1e661aad03
[ "MIT" ]
null
null
null
datename/filetime.py
tekemperor/datename
6e2d27c6e64ecb8e07a673c2aa10ed1e661aad03
[ "MIT" ]
null
null
null
datename/filetime.py
tekemperor/datename
6e2d27c6e64ecb8e07a673c2aa10ed1e661aad03
[ "MIT" ]
null
null
null
"""This module is designed to build timestrings from file metadata. Everything is done in seconds since the unix epoch or UTC. Author: Brian Lindsay Author Email: tekemperor@gmail.com """ import sys import os import datetime def filetime(file_path): """Returns formatted time string from file metadata. Uses mo...
34.746479
130
0.631131
282
2,467
5.315603
0.411348
0.037358
0.040027
0.038025
0.0507
0.03469
0
0
0
0
0
0.000576
0.295906
2,467
70
131
35.242857
0.862406
0.077827
0
0.068966
0
0
0.040801
0
0
0
0
0.014286
0
0
null
null
0
0.103448
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
6ee63c9ba38d1ce17bcb6d0ca426d297c79f4912
2,579
py
Python
OPTIMAQS/controller/controller/device.py
jeremyforest/whole_optic_gui
7af257e739da90b8ce8b2531aa1c520959fa7bff
[ "MIT" ]
null
null
null
OPTIMAQS/controller/controller/device.py
jeremyforest/whole_optic_gui
7af257e739da90b8ce8b2531aa1c520959fa7bff
[ "MIT" ]
6
2021-02-02T23:09:14.000Z
2022-03-12T00:52:01.000Z
OPTIMAQS/controller/controller/device.py
jeremyforest/whole_optic_gui
7af257e739da90b8ce8b2531aa1c520959fa7bff
[ "MIT" ]
null
null
null
""" Generic Device class for manipulators. To make a new device, one must implement at least: * position * absolute_move """ from numpy import array import time __all__ = ['Device'] class Device(object): def __init__(self): pass def position(self, axis): ''' Current position along an...
23.66055
81
0.535479
296
2,579
4.564189
0.253378
0.023686
0.03849
0.059215
0.405625
0.30644
0.260548
0.174685
0.128793
0.128793
0
0.003601
0.354013
2,579
109
82
23.66055
0.807323
0.409849
0
0.107143
0
0
0.005545
0
0
0
0
0
0
1
0.321429
false
0.107143
0.071429
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
1
0
0
0
0
0
2
6eeeabe42368fcdd5282d7697a76a1888678e252
4,540
py
Python
myhoodApp/forms.py
MutuaFranklin/MyHood
6ddd21c4a67936c8926d6f5a8665a06edf81f39e
[ "MIT" ]
null
null
null
myhoodApp/forms.py
MutuaFranklin/MyHood
6ddd21c4a67936c8926d6f5a8665a06edf81f39e
[ "MIT" ]
null
null
null
myhoodApp/forms.py
MutuaFranklin/MyHood
6ddd21c4a67936c8926d6f5a8665a06edf81f39e
[ "MIT" ]
null
null
null
from . models import Profile, Business,Myhood, PolicePosts, HealthFacilities, UserPost from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.forms import widgets class UserRegistrationForm(UserCreationForm): class Meta: mo...
35.46875
160
0.586344
426
4,540
6.176056
0.192488
0.114025
0.159635
0.239453
0.550741
0.504371
0.41125
0.261878
0.223109
0.1813
0
0.001745
0.242511
4,540
127
161
35.748032
0.763303
0
0
0.316456
0
0
0.289021
0
0
0
0
0
0
1
0.012658
false
0.050633
0.063291
0
0.253165
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
42c7d640438be57526485791184f5fce55d31e34
276
py
Python
setup.py
pystatgen/sgk
f39e1b1bc3b16d05c5043ab5d445076424dad229
[ "Apache-2.0" ]
74
2020-06-16T18:08:24.000Z
2022-02-10T06:42:30.000Z
setup.py
pystatgen/sgk
f39e1b1bc3b16d05c5043ab5d445076424dad229
[ "Apache-2.0" ]
677
2020-06-18T15:57:33.000Z
2022-03-31T16:20:50.000Z
setup.py
pystatgen/sgk
f39e1b1bc3b16d05c5043ab5d445076424dad229
[ "Apache-2.0" ]
20
2020-06-22T13:40:10.000Z
2022-03-05T03:33:13.000Z
#!/usr/bin/env python from setuptools import setup setup( # The package name along with all the other metadata is specified in setup.cfg # However, GitHub's dependency graph can't see the package unless we put this here. name="sgkit", use_scm_version=True, )
27.6
87
0.728261
44
276
4.522727
0.863636
0.100503
0
0
0
0
0
0
0
0
0
0
0.199275
276
9
88
30.666667
0.900452
0.648551
0
0
0
0
0.053191
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
42ccc44e8009b96f149e5a73b46e05451f065677
19,759
py
Python
google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
1
2019-11-30T23:42:39.000Z
2019-11-30T23:42:39.000Z
google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
1
2020-03-13T00:14:31.000Z
2020-03-13T00:14:31.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v2/proto/services/campaign_criterion_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.pr...
48.787654
2,321
0.78673
2,274
19,759
6.545734
0.141601
0.045818
0.053611
0.072556
0.604031
0.551831
0.501444
0.459254
0.378636
0.358079
0
0.033248
0.108001
19,759
404
2,322
48.908416
0.811291
0.037046
0
0.512676
1
0.011268
0.411759
0.293174
0
0
0
0
0
1
0
false
0
0.028169
0
0.028169
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42d24e6e9b4725307355ace50aeaa70550864c9b
82
py
Python
pypi_generation_files/build/lib/cab-dynamic-pricing/__init__.py
nayantaramohan/cab-dynamic-pricing
803cfaf9d1ef1d8d20e90dfdfd741b1411750328
[ "MIT" ]
5
2022-03-08T02:06:16.000Z
2022-03-17T22:04:30.000Z
pypi_generation_files/build/lib/cab-dynamic-pricing/__init__.py
nayantaramohan/cab-dynamic-pricing
803cfaf9d1ef1d8d20e90dfdfd741b1411750328
[ "MIT" ]
null
null
null
pypi_generation_files/build/lib/cab-dynamic-pricing/__init__.py
nayantaramohan/cab-dynamic-pricing
803cfaf9d1ef1d8d20e90dfdfd741b1411750328
[ "MIT" ]
1
2022-03-01T02:55:45.000Z
2022-03-01T02:55:45.000Z
# __init__.py # Version of the cab-dynamic-pricing package __version__ = "1.0.0"
16.4
44
0.731707
13
82
4
0.846154
0
0
0
0
0
0
0
0
0
0
0.042857
0.146341
82
4
45
20.5
0.7
0.658537
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42d61bf690c775be557f3dd6decdfb665b54a7c4
4,224
py
Python
template_capture_performance.py
Dino-s26/f5_web_gui_capture
5dd00d6d84e9dd7c79f90446133c99190cbee1b0
[ "MIT" ]
null
null
null
template_capture_performance.py
Dino-s26/f5_web_gui_capture
5dd00d6d84e9dd7c79f90446133c99190cbee1b0
[ "MIT" ]
null
null
null
template_capture_performance.py
Dino-s26/f5_web_gui_capture
5dd00d6d84e9dd7c79f90446133c99190cbee1b0
[ "MIT" ]
null
null
null
# Import Selenium Module from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC # Import Path from pathlib import Path # Import Base Module for Code import os import datetime #...
39.111111
149
0.766335
640
4,224
4.884375
0.296875
0.044786
0.058221
0.067179
0.348688
0.317978
0.293666
0.293666
0.293666
0.238644
0
0.009857
0.087358
4,224
107
150
39.476636
0.801038
0.188447
0
0.070175
0
0
0.263003
0.073758
0
0
0
0
0
0
null
null
0.052632
0.122807
null
null
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
42dd96f3e39ccca7beaece3559fe4cb2d0d639e4
488
py
Python
django_fastapi/api/migrations/0008_test1.py
ehddn5252/FastAPI_Django
a179aedb62c28d1700578882e681002a61576060
[ "MIT" ]
null
null
null
django_fastapi/api/migrations/0008_test1.py
ehddn5252/FastAPI_Django
a179aedb62c28d1700578882e681002a61576060
[ "MIT" ]
null
null
null
django_fastapi/api/migrations/0008_test1.py
ehddn5252/FastAPI_Django
a179aedb62c28d1700578882e681002a61576060
[ "MIT" ]
1
2021-11-26T08:22:57.000Z
2021-11-26T08:22:57.000Z
# Generated by Django 3.2.9 on 2021-11-19 15:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0007_alter_login_owner'), ] operations = [ migrations.CreateModel( name='Test1', fields=[ ('t...
23.238095
94
0.567623
51
488
5.313725
0.784314
0.110701
0.132841
0.177122
0.191882
0
0
0
0
0
0
0.076696
0.305328
488
20
95
24.4
0.722714
0.092213
0
0
1
0
0.090703
0.049887
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42ddb2012f057cfc1204b7ac846fc3824c272f11
47,110
py
Python
tb_paddle/proto/api_pb2.py
GT-AcerZhang/tb-paddle
a129520339f4d4e7a9bed05feb733f2565673960
[ "MIT" ]
null
null
null
tb_paddle/proto/api_pb2.py
GT-AcerZhang/tb-paddle
a129520339f4d4e7a9bed05feb733f2565673960
[ "MIT" ]
null
null
null
tb_paddle/proto/api_pb2.py
GT-AcerZhang/tb-paddle
a129520339f4d4e7a9bed05feb733f2565673960
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tb_paddle/proto/api.proto from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _...
41.912811
4,591
0.751221
6,044
47,110
5.545334
0.057247
0.052035
0.060777
0.038668
0.729413
0.65327
0.608635
0.586406
0.565282
0.555198
0
0.041755
0.123583
47,110
1,123
4,592
41.950134
0.770006
0.022798
0
0.657116
1
0.00191
0.184371
0.127912
0
0
0
0
0
1
0
false
0
0.005731
0
0.005731
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42e78c22b92189ac4df049c1a2d85684f40079f9
358
py
Python
my_site/blog/admin.py
sidharth-lucy/Blog
33afd31faf5a1da44e050b13e3364b419f108c7f
[ "MIT" ]
null
null
null
my_site/blog/admin.py
sidharth-lucy/Blog
33afd31faf5a1da44e050b13e3364b419f108c7f
[ "MIT" ]
null
null
null
my_site/blog/admin.py
sidharth-lucy/Blog
33afd31faf5a1da44e050b13e3364b419f108c7f
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Post,Author,Tag # Register your models here. class PostAdmin(admin.ModelAdmin): list_display=('title','date','author') list_filter=('author','tags','date') prepopulated_fields={'slug':('title',)} admin.site.register(Post,PostAdmin) admin.site.regi...
23.866667
43
0.72905
46
358
5.608696
0.543478
0.104651
0.197674
0
0
0
0
0
0
0
0
0
0.114525
358
14
44
25.571429
0.81388
0.072626
0
0
0
0
0.115152
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
42ebcdfbf6dd3a3f1a79b5af4ed661e3aa7d93c1
347
py
Python
newspaper2/newspaper2/news/admin.py
luisfer85/newspaper2
8522bc29e5597113af9f9714e510548057e19315
[ "Apache-2.0" ]
null
null
null
newspaper2/newspaper2/news/admin.py
luisfer85/newspaper2
8522bc29e5597113af9f9714e510548057e19315
[ "Apache-2.0" ]
null
null
null
newspaper2/newspaper2/news/admin.py
luisfer85/newspaper2
8522bc29e5597113af9f9714e510548057e19315
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from newspaper2.news.models import News, Event class NewsAdmin(admin.ModelAdmin): list_display = ('title', 'publish_date') list_filter = ('publish_date',) search_fields = ['title'] class EventAdmin(admin.ModelAdmin): pass admin.site.register(News, NewsAdmin) admin.site....
23.133333
46
0.752161
43
347
5.953488
0.55814
0.109375
0.132813
0
0
0
0
0
0
0
0
0.003311
0.129683
347
14
47
24.785714
0.844371
0
0
0
0
0
0.097983
0
0
0
0
0
0
1
0
false
0.1
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
42faa478c98edc7e43520c1e76c93b612e769679
560
py
Python
hurricane/base.py
ericflo/hurricane
c192b711b2b1c06a386d1a1a47f538b13a659cde
[ "BSD-3-Clause" ]
8
2015-02-21T17:59:41.000Z
2021-01-07T20:57:39.000Z
hurricane/base.py
ericflo/hurricane
c192b711b2b1c06a386d1a1a47f538b13a659cde
[ "BSD-3-Clause" ]
null
null
null
hurricane/base.py
ericflo/hurricane
c192b711b2b1c06a386d1a1a47f538b13a659cde
[ "BSD-3-Clause" ]
2
2016-07-09T16:06:23.000Z
2016-08-02T18:44:20.000Z
import uuid class Message(object): def __init__(self, kind, timestamp, raw_data): self.kind = kind self.timestamp = timestamp self.raw_data = raw_data self.uuid = str(uuid.uuid4()) def _asdict(self): return { 'kind': self.kind, 'timestamp': self...
23.333333
59
0.542857
64
560
4.390625
0.328125
0.124555
0.117438
0.142349
0
0
0
0
0
0
0
0.002653
0.326786
560
23
60
24.347826
0.742706
0
0
0
0
0
0.057143
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.166667
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
1
0
0
0
2
42fb56f78da3eca5f6dfd2e9de1258342401faa4
469
py
Python
nbexchange/handlers/__init__.py
jgwerner/nbexchange
510aa8fdff04b0873cec5dd75d3dfb0eac820c1b
[ "BSD-3-Clause" ]
7
2020-04-30T20:16:18.000Z
2021-09-11T20:31:51.000Z
nbexchange/handlers/__init__.py
jgwerner/nbexchange
510aa8fdff04b0873cec5dd75d3dfb0eac820c1b
[ "BSD-3-Clause" ]
86
2020-03-06T15:34:55.000Z
2022-03-07T11:58:06.000Z
nbexchange/handlers/__init__.py
jgwerner/nbexchange
510aa8fdff04b0873cec5dd75d3dfb0eac820c1b
[ "BSD-3-Clause" ]
1
2020-07-25T23:04:51.000Z
2020-07-25T23:04:51.000Z
from nbexchange.handlers.assignment import Assignment, Assignments from nbexchange.handlers.collection import Collection, Collections from nbexchange.handlers.feedback import FeedbackHandler from nbexchange.handlers.pages import HomeHandler from nbexchange.handlers.submission import Submission, Submissions default_han...
27.588235
66
0.803838
43
469
8.744186
0.348837
0.18617
0.292553
0
0
0
0
0
0
0
0
0
0.144989
469
16
67
29.3125
0.937656
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6e10c0ea90829d65558f7e100bd54ed82664fe76
405
py
Python
lib/utils/checks.py
Matt-cloud/Discord.py-Template
4b2ac9f0897bb44dfd799d821e536fc34ef3064e
[ "MIT" ]
null
null
null
lib/utils/checks.py
Matt-cloud/Discord.py-Template
4b2ac9f0897bb44dfd799d821e536fc34ef3064e
[ "MIT" ]
null
null
null
lib/utils/checks.py
Matt-cloud/Discord.py-Template
4b2ac9f0897bb44dfd799d821e536fc34ef3064e
[ "MIT" ]
null
null
null
from discord.ext import commands from lib import exceptions import os import json configFile = os.path.join(os.getcwd(), "data", "config.json") with open(configFile, "rb") as f: config = json.load(f) def is_owner(): async def predicate(ctx): if ctx.author.id in config['owners']: return ...
22.5
61
0.681481
55
405
5
0.672727
0.072727
0
0
0
0
0
0
0
0
0
0
0.212346
405
17
62
23.823529
0.862069
0
0
0
0
0
0.05679
0
0
0
0
0
0
1
0.076923
false
0
0.307692
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
1
0
1
0
0
2
6e11308aa80bc676e3ca2d21a4edcb18f890e752
1,649
py
Python
envs/fetch/interval.py
malikasng/Bbox_HGG_with_CTR_and_RRTstarFND
2b1aae6c347f544fefface0c9f26dc4ecde51108
[ "MIT" ]
1
2020-09-16T06:15:17.000Z
2020-09-16T06:15:17.000Z
envs/fetch/interval.py
malikasng/Bbox_HGG_with_CTR_and_RRTstarFND
2b1aae6c347f544fefface0c9f26dc4ecde51108
[ "MIT" ]
5
2020-09-26T01:30:01.000Z
2022-01-13T03:15:42.000Z
envs/fetch/interval.py
malikasng/Bbox_HGG_with_CTR_and_RRTstarFND
2b1aae6c347f544fefface0c9f26dc4ecde51108
[ "MIT" ]
null
null
null
import gym import numpy as np from torchvision.utils import save_image from .fixobj import FixedObjectGoalEnv class IntervalGoalEnv(FixedObjectGoalEnv): def __init__(self, args): self.img_size = args.img_size FixedObjectGoalEnv.__init__(self, args) def generate_goal(self): if self.target_goal_center is not ...
37.477273
149
0.726501
253
1,649
4.490119
0.264822
0.22007
0.237676
0.117077
0.425176
0.386444
0.286092
0.236796
0.236796
0.131162
0
0.016417
0.150394
1,649
43
150
38.348837
0.794433
0
0
0.128205
0
0
0.007884
0
0
0
0
0
0
1
0.051282
false
0
0.102564
0
0.205128
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6e1d05dba9a266286addc73ec4950cdeada8c0b4
1,581
py
Python
config.py
juanjtov/Twitter_PNL_PUBLIC
473eea0e7b030c8358aa86f6d3ff9d787c94abe6
[ "MIT" ]
null
null
null
config.py
juanjtov/Twitter_PNL_PUBLIC
473eea0e7b030c8358aa86f6d3ff9d787c94abe6
[ "MIT" ]
null
null
null
config.py
juanjtov/Twitter_PNL_PUBLIC
473eea0e7b030c8358aa86f6d3ff9d787c94abe6
[ "MIT" ]
null
null
null
import os class Credentials: API_KEY = os.getenv('API_KEY') API_SECRET_KEY = os.getenv('API_SECRET_KEY') #tokens ACCESS_TOKEN = os.getenv('ACCESS_TOKEN') ACCESS_TOKEN_SECRET = os.getenv('ACCESS_SECRET_TOKEN') class Settings: TRACK_WORDS = 'Technology' TABLE_NAME = "twttechnology" TABLE...
39.525
127
0.697027
206
1,581
5.082524
0.31068
0.106972
0.124164
0.026743
0.490926
0.490926
0.429799
0.429799
0.429799
0.429799
0
0.032566
0.203669
1,581
39
128
40.538462
0.799047
0.02277
0
0.258065
0
0
0.122568
0
0
0
0
0
0
1
0
false
0.064516
0.032258
0
0.709677
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
6e1fd593ca8661737d9d161ba6774b763dcdbb57
341
py
Python
users/models.py
diogor/desafio-backend
4264a843503cc51f635bcfb31a009d53ebe671d8
[ "MIT" ]
null
null
null
users/models.py
diogor/desafio-backend
4264a843503cc51f635bcfb31a009d53ebe671d8
[ "MIT" ]
null
null
null
users/models.py
diogor/desafio-backend
4264a843503cc51f635bcfb31a009d53ebe671d8
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser class User(AbstractUser): ADMIN = 'admin' PLAYER = 'player' TYPE_CHOICES = ( (ADMIN, "Admin"), (PLAYER, "Player") ) type = models.CharField(choices=TYPE_CHOICES, max_length=6, ...
21.3125
63
0.609971
36
341
5.694444
0.527778
0.097561
0.156098
0.214634
0.253659
0
0
0
0
0
0
0.004098
0.284457
341
15
64
22.733333
0.836066
0
0
0
0
0
0.064516
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
6e1ff72ebc4c23799d24fd64dfc337c27cbb1d44
151
py
Python
python/glob/glob1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
python/glob/glob1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
python/glob/glob1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
#!/usr/bin/python import glob def main(): pyfiles = glob.glob("../*/*.py") for pyfile in pyfiles: print "pyfile %s" % pyfile main()
13.727273
36
0.569536
20
151
4.3
0.7
0
0
0
0
0
0
0
0
0
0
0
0.245033
151
10
37
15.1
0.754386
0.10596
0
0
0
0
0.134328
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
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
1
0
0
0
0
0
0
0
0
2
6e218f16003cae78a4d29f7eb9e696aa4c77eb3e
187
py
Python
ClassCode/P2/HW - Copy.py
tsyet12/ClassCode
db1db97f71a6f31769d58739c6687863bc6b88c4
[ "MIT" ]
null
null
null
ClassCode/P2/HW - Copy.py
tsyet12/ClassCode
db1db97f71a6f31769d58739c6687863bc6b88c4
[ "MIT" ]
null
null
null
ClassCode/P2/HW - Copy.py
tsyet12/ClassCode
db1db97f71a6f31769d58739c6687863bc6b88c4
[ "MIT" ]
null
null
null
a=[1,2,3] b=[1,1,1] #d={1:"ONE", 2:"TWO", 3:"THREE", 4:"FOUR", 5:"FIVE", 6:"SIX"} f=[a[0]+b[0],a[1]+b[1],a[2]+b[2]] if f[0]==1: f[0]="ONE" elif f[0]==2: f[0]="TWO" print(f)
11.6875
61
0.417112
50
187
1.56
0.4
0.102564
0
0
0
0
0
0
0
0
0
0.152866
0.160428
187
15
62
12.466667
0.343949
0.320856
0
0
0
0
0.047619
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6e2f62475e9654f761ab72ca7f65f8bb7603adef
921
py
Python
python/projects/jenkins_config_xml_parser/main.py
zhaoace/codecraft
bf06267e86bd7386714911b0df4aa0ca0a91d882
[ "Unlicense" ]
null
null
null
python/projects/jenkins_config_xml_parser/main.py
zhaoace/codecraft
bf06267e86bd7386714911b0df4aa0ca0a91d882
[ "Unlicense" ]
null
null
null
python/projects/jenkins_config_xml_parser/main.py
zhaoace/codecraft
bf06267e86bd7386714911b0df4aa0ca0a91d882
[ "Unlicense" ]
null
null
null
import xml.etree.ElementTree as ET tree = ET.parse('/Users/zhaoli/workspace/splunk/playground/var/lib/jenkins/jobs/Splunk/jobs/develop/jobs/platform/jobs/cli/jobs/trigger_cli_linux/config.xml') root = tree.getroot() # SPs = root.findall("properties/hudson.model.ParametersDefinitionProperty/parameterDefinitions/[huds...
27.909091
158
0.761129
111
921
6.297297
0.459459
0.078684
0.154506
0.06867
0.340486
0.340486
0.340486
0.340486
0.340486
0.340486
0
0
0.083605
921
33
159
27.909091
0.828199
0.17481
0
0.105263
0
0.052632
0.486807
0.402375
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.210526
0
0
0
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
1
0
0
0
0
0
0
0
0
2
6e3246c7687554b238139dfec4bd2b58d1c2ba17
673
py
Python
main.py
jon-choi/hillsbarber
346e9cbe5de7c5bf8a9136e71981b058323784a1
[ "Apache-2.0" ]
null
null
null
main.py
jon-choi/hillsbarber
346e9cbe5de7c5bf8a9136e71981b058323784a1
[ "Apache-2.0" ]
null
null
null
main.py
jon-choi/hillsbarber
346e9cbe5de7c5bf8a9136e71981b058323784a1
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template app = Flask(__name__) app.config['DEBUG'] = True # Note: We don't need to call run() since our application is embedded within # the App Engine WSGI application server. @app.route('/') def hello(name=None): """Return a friendly HTTP greeting.""" return render_template(...
29.26087
76
0.708767
96
673
4.854167
0.59375
0.120172
0.128755
0.120172
0.171674
0.171674
0.171674
0
0
0
0
0.015707
0.148588
673
22
77
30.590909
0.797557
0.500743
0
0
0
0
0.178125
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6e3f3c737da2c1c4948a6562ab3459af248d21f6
214
py
Python
npt/utils/__init__.py
chbrandt/gpt-neanias
aa7c2e88972f9af280b7f02ee11170df6c967b55
[ "MIT" ]
2
2020-09-28T08:22:54.000Z
2020-09-28T13:17:25.000Z
npt/utils/__init__.py
chbrandt/gpt-neanias
aa7c2e88972f9af280b7f02ee11170df6c967b55
[ "MIT" ]
null
null
null
npt/utils/__init__.py
chbrandt/gpt-neanias
aa7c2e88972f9af280b7f02ee11170df6c967b55
[ "MIT" ]
null
null
null
import json from npt import log from . import tmpdir def read_geojson(filename): """ Return JSON object from GeoJSON """ with open(filename, 'r') as fp: js = json.load(fp) return js
14.266667
35
0.621495
30
214
4.4
0.633333
0
0
0
0
0
0
0
0
0
0
0
0.285047
214
14
36
15.285714
0.862745
0.14486
0
0
0
0
0.005988
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6e50868796b7b8940a4c3451e490a815d749a818
338
py
Python
tests/test_kitty.py
raphaelavergud/CatApp
cf0a68e2c78307684e167a748e72e068c25a6089
[ "MIT" ]
null
null
null
tests/test_kitty.py
raphaelavergud/CatApp
cf0a68e2c78307684e167a748e72e068c25a6089
[ "MIT" ]
null
null
null
tests/test_kitty.py
raphaelavergud/CatApp
cf0a68e2c78307684e167a748e72e068c25a6089
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import unittest import kitty from kitty import uncomfy_checker import mock class TestProgram(unittest.TestCase): def test_comfy(self): kitty.uncomfy_checker = mock.Mock(return_value='comfortable') self.assertIn(uncomfy_checker(), 'comfortable') if __name__ == '__main__': ...
22.533333
69
0.736686
41
338
5.756098
0.609756
0.177966
0
0
0
0
0
0
0
0
0
0.003509
0.156805
338
15
70
22.533333
0.824561
0.06213
0
0
0
0
0.094637
0
0
0
0
0
0.1
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
281aa6d325487ceb00b0753134cf1290afd8b2fd
326
py
Python
tinder_config_ex.py
nathan-149/tinderbot
0413fbbba0219faf4415d75fd4f23518951b03a0
[ "MIT" ]
18
2020-06-30T18:31:44.000Z
2021-12-17T05:04:58.000Z
tinder_config_ex.py
havzor1231/Tinder-Bot
189524d7c80921a47b06262bd3cd42abaad7a85d
[ "MIT" ]
2
2020-07-21T07:55:48.000Z
2020-11-20T10:02:23.000Z
tinder_config_ex.py
havzor1231/Tinder-Bot
189524d7c80921a47b06262bd3cd42abaad7a85d
[ "MIT" ]
9
2020-07-12T08:00:00.000Z
2022-03-24T03:29:40.000Z
host = 'https://api.gotinder.com' #leave tinder_token empty if you don't use phone verification tinder_token = "0bb19e55-5f12-4a23-99df-8e258631105b" # Your real config file should simply be named "config.py" # Just insert your fb_username and fb_password in string format # and the fb_auth_token.py module will do the ...
40.75
63
0.785276
55
326
4.545455
0.818182
0.088
0
0
0
0
0
0
0
0
0
0.081851
0.138037
326
7
64
46.571429
0.807829
0.702454
0
0
0
0
0.645161
0.387097
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
282cfc4e7936eaf93017c54214756f8505acd57a
3,291
py
Python
attack_metrics/mr.py
asplos2020/DRTest
c3de497142d9b226e518a1a0f95f7350d2f7acd6
[ "MIT" ]
1
2021-04-01T07:31:17.000Z
2021-04-01T07:31:17.000Z
attack_metrics/mr.py
Justobe/DRTest
85c3c9b2a46cafa7184130f2596c5f9eb3b20bff
[ "MIT" ]
null
null
null
attack_metrics/mr.py
Justobe/DRTest
85c3c9b2a46cafa7184130f2596c5f9eb3b20bff
[ "MIT" ]
1
2020-12-24T12:12:54.000Z
2020-12-24T12:12:54.000Z
""" This tutorial shows how to generate adversarial examples using FGSM and train a model using adversarial training with TensorFlow. It is very similar to mnist_tutorial_keras_tf.py, which does the same thing but with a dependence on keras. The original paper can be found at: https://arxiv.org/abs/1412.6572 """ from _...
33.242424
101
0.717107
473
3,291
4.731501
0.350951
0.049151
0.024576
0.035746
0.131367
0.101877
0.101877
0.101877
0.101877
0.101877
0
0.012231
0.180188
3,291
98
102
33.581633
0.817272
0.171073
0
0.092308
1
0
0.05692
0
0
0
0
0
0
1
0.030769
false
0
0.338462
0
0.4
0.046154
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
1
0
0
0
0
2
283d50169f9d4063fc968899a7356c0ef91c4024
2,436
py
Python
plato/clients/scaffold.py
iQua/plato
76fdac06af8b4d85922cd12749b4a687e3161745
[ "Apache-2.0" ]
null
null
null
plato/clients/scaffold.py
iQua/plato
76fdac06af8b4d85922cd12749b4a687e3161745
[ "Apache-2.0" ]
null
null
null
plato/clients/scaffold.py
iQua/plato
76fdac06af8b4d85922cd12749b4a687e3161745
[ "Apache-2.0" ]
1
2021-05-18T15:03:32.000Z
2021-05-18T15:03:32.000Z
""" A federated learning client using SCAFFOLD. Reference: Karimireddy et al., "SCAFFOLD: Stochastic Controlled Averaging for Federated Learning" (https://arxiv.org/pdf/1910.06378.pdf) """ import os from dataclasses import dataclass import torch from plato.clients import simple @dataclass class Report(simple.Re...
35.304348
93
0.694992
289
2,436
5.584775
0.321799
0.260223
0.273234
0.148699
0.193928
0.109665
0.109665
0.109665
0.065675
0
0
0.007012
0.238916
2,436
68
94
35.823529
0.863538
0.252874
0
0
0
0
0.069718
0.025546
0
0
0
0
0
1
0.051282
false
0
0.102564
0
0.25641
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
28426aef923f9eca775a9b7c35cef0f1597b7c28
54,872
py
Python
DataScience/Numpy.py
AlPus108/Python_lessons
0e96117d9a8b76fd651e137fc126ddedaa6accd9
[ "MIT" ]
null
null
null
DataScience/Numpy.py
AlPus108/Python_lessons
0e96117d9a8b76fd651e137fc126ddedaa6accd9
[ "MIT" ]
null
null
null
DataScience/Numpy.py
AlPus108/Python_lessons
0e96117d9a8b76fd651e137fc126ddedaa6accd9
[ "MIT" ]
null
null
null
# Numpy массивы # Документация по NumPy: https://numpy.org/doc/stable/ # Список универсальных функций NumPy https://numpy.org/devdocs/reference/ufuncs.html # NumPy - векторные/научные вычисления. Пакет содержит функциональные средства для работы с многомерными массивами # и высокоуровневыми математическими функциями ...
37.842759
129
0.64563
9,098
54,872
3.854364
0.220048
0.0073
0.009068
0.010836
0.124733
0.092993
0.081045
0.071235
0.063821
0.056435
0
0.160943
0.183245
54,872
1,449
130
37.868875
0.621461
0.801301
0
0.179012
0
0
0.106595
0
0
0
0
0
0
1
0
false
0
0.003086
0
0.003086
0.648148
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
28567dfbf8e22fcad08ad19553a2399e95399e25
6,612
py
Python
noise/perlin.py
AnthonyBriggs/Python-101
e6c7584fd6791bb5d7d05fd419faa46dc7148f61
[ "MIT" ]
3
2017-08-02T23:40:55.000Z
2018-07-02T14:59:07.000Z
noise/perlin.py
AnthonyBriggs/Python-101
e6c7584fd6791bb5d7d05fd419faa46dc7148f61
[ "MIT" ]
null
null
null
noise/perlin.py
AnthonyBriggs/Python-101
e6c7584fd6791bb5d7d05fd419faa46dc7148f61
[ "MIT" ]
null
null
null
#!/usr/bin/python """ TODO: where'd I get this from? """ import math import random p = ( 151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103, 30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197, 62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20, 125,136,171,168,68,175,74,165...
31.942029
92
0.58908
1,276
6,612
3.000784
0.319749
0.008357
0.009402
0.01567
0.548185
0.544006
0.512666
0.465657
0.465657
0.465657
0
0.28728
0.227163
6,612
206
93
32.097087
0.462035
0.10859
0
0.292208
0
0
0.005814
0
0
0
0
0.009709
0
1
0.071429
false
0
0.019481
0.025974
0.155844
0.032468
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2877efb3076b7e16a9739c3098ef12ad38d235d3
1,924
py
Python
code/pyto/util/test/_test_numpy_plus.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
12
2020-01-08T01:33:02.000Z
2022-03-16T00:25:34.000Z
code/pyto/util/test/_test_numpy_plus.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
8
2019-12-19T19:34:56.000Z
2022-03-10T10:11:28.000Z
code/pyto/util/test/_test_numpy_plus.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
2
2022-03-30T13:12:22.000Z
2022-03-30T18:12:10.000Z
""" ToDo: convert to proper format Tests for modules in this directory """ from __future__ import print_function # Author: Vladan Lucic, last modified 05.04.07 import scipy import scipy.ndimage import numpy import pyto.util.numpy_plus as np_plus # define test arrays aa = numpy.arange(12, dtype='int32') aa = aa.resh...
26.722222
73
0.572245
290
1,924
3.593103
0.210345
0.134357
0.092131
0.107486
0.628599
0.628599
0.628599
0.628599
0.628599
0.592131
0
0.058123
0.257796
1,924
71
74
27.098592
0.671569
0.070686
0
0.596154
0
0
0.115363
0.015194
0
0
0
0.014085
0
1
0.019231
false
0
0.096154
0
0.115385
0.5
0
0
0
null
0
0
0
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
1
0
2
2896d0048b215dc837ae66958ce2ac38e7c770f9
968
py
Python
coreapp/migrations/0058_auto_20200426_1348.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
coreapp/migrations/0058_auto_20200426_1348.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
coreapp/migrations/0058_auto_20200426_1348.py
Quanscendence/braynai
ab828ca95571c6dffef2b2392522e6a4160a2304
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-04-26 08:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('coreapp', '0057_projectpricing_custom_supprt'), ] operations = [ migrations.RenameField( model_name='endpointalgorithm', ...
29.333333
144
0.597107
87
968
6.471264
0.586207
0.063943
0.184725
0.159858
0.170515
0.170515
0
0
0
0
0
0.030347
0.285124
968
32
145
30.25
0.783237
0.044421
0
0.384615
1
0
0.230769
0.059588
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2897d15751315f822719f939136b75871bf6ecab
1,431
py
Python
server/price_cache.py
pareeohnos/ktrade
1eaed1ff16ded580d5649c667935357567e7b514
[ "MIT" ]
5
2021-09-08T11:04:15.000Z
2021-11-27T08:42:23.000Z
server/price_cache.py
pareeohnos/ktrade
1eaed1ff16ded580d5649c667935357567e7b514
[ "MIT" ]
36
2021-08-31T09:28:10.000Z
2021-12-10T06:47:04.000Z
server/price_cache.py
pareeohnos/ktrade
1eaed1ff16ded580d5649c667935357567e7b514
[ "MIT" ]
2
2021-08-29T02:53:54.000Z
2021-08-29T06:21:36.000Z
import logging from server.singleton_meta import SingletonMeta log = logging.getLogger(__name__) class PriceCache(metaclass=SingletonMeta): def __init__(self): log.debug("[PriceCache] Init new price cache") self.price_cache = {} def init_cache_for_ticker(self, watched_ticker_id): log.info(f"[PriceCa...
31.108696
81
0.714186
200
1,431
4.81
0.23
0.22973
0.233888
0.098753
0.402287
0.392931
0.300416
0.089397
0.089397
0
0
0
0.174004
1,431
46
82
31.108696
0.813875
0
0
0
0
0
0.208101
0
0
0
0
0
0
1
0.2
false
0
0.057143
0.028571
0.4
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
289f6d1cb4c2dff400bd79a40abc1c0e080f2635
477
py
Python
contact/views.py
ledomone/kurs_django
c24aaf8f8a22a695b41e2436bf9bf4d1ca665079
[ "MIT" ]
null
null
null
contact/views.py
ledomone/kurs_django
c24aaf8f8a22a695b41e2436bf9bf4d1ca665079
[ "MIT" ]
null
null
null
contact/views.py
ledomone/kurs_django
c24aaf8f8a22a695b41e2436bf9bf4d1ca665079
[ "MIT" ]
null
null
null
from django.contrib.contenttypes import fields from django.shortcuts import render from .forms import MessageForm, ContactForm from django.views.generic import DetailView, ListView, FormView class MessageAddView(FormView): # form_class = MessageForm form_class = ContactForm template_name = 'contact/messa...
29.8125
63
0.740042
56
477
6.178571
0.589286
0.086705
0
0
0
0
0
0
0
0
0
0
0.174004
477
16
64
29.8125
0.878173
0.062893
0
0
0
0
0.058427
0.05618
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
953a0c9e9780129db979506c7f1a9628f61e3e34
491
py
Python
code/core/early_stopping.py
ashesh-0/MultiZoomGaze
24494a1346d09e21e4b6d999a742b5d31bbbeff0
[ "MIT" ]
1
2022-01-24T04:53:00.000Z
2022-01-24T04:53:00.000Z
code/core/early_stopping.py
ashesh-0/MultiZoomGaze
24494a1346d09e21e4b6d999a742b5d31bbbeff0
[ "MIT" ]
null
null
null
code/core/early_stopping.py
ashesh-0/MultiZoomGaze
24494a1346d09e21e4b6d999a742b5d31bbbeff0
[ "MIT" ]
null
null
null
class EarlyStop: def __init__(self, patience=5): self._patience = patience self._min_loss = None self._counter = -1 def __call__(self, loss): if self._min_loss is None: self._counter = 0 self._min_loss = loss return False if self._min...
24.55
46
0.543788
57
491
4.245614
0.333333
0.144628
0.227273
0.18595
0.140496
0
0
0
0
0
0
0.016393
0.378819
491
19
47
25.842105
0.777049
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.3125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9553b680206d84c135ef2d6c3b9397a51e5c12a9
17,984
py
Python
pysnmp/CABH-QOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CABH-QOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CABH-QOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CABH-QOS2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CABH-QOS2-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:26:31 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
145.032258
2,723
0.769462
1,912
17,984
7.236402
0.110879
0.012287
0.01431
0.015611
0.415438
0.370049
0.332321
0.325094
0.315337
0.28874
0
0.090876
0.078514
17,984
123
2,724
146.211382
0.744026
0.017794
0
0.026087
0
0
0.179269
0.057264
0
0
0
0
0
1
0
false
0
0.121739
0
0.121739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
955fa29268924998ee2dd6306f368b16b34e2595
478
py
Python
process_cifar10.py
IIGROUP/AttentionProbe
b2c88b064452741a7ccc6660a4b090743013cc73
[ "MIT" ]
11
2022-01-23T15:09:09.000Z
2022-03-18T10:27:04.000Z
process_cifar10.py
Wang-jiahao/AttentionProbe
41a3cc0d5454ec5bba78c3dace9cded00da8cff9
[ "MIT" ]
null
null
null
process_cifar10.py
Wang-jiahao/AttentionProbe
41a3cc0d5454ec5bba78c3dace9cded00da8cff9
[ "MIT" ]
null
null
null
from torchvision.datasets import CIFAR10 from torchvision.datasets import CIFAR100 import os root = '/database/cifar10/' from PIL import Image dataset_train = CIFAR10(root) for k, (img, label) in enumerate(dataset_train): print('processsing' + str(k)) if not os.path.exists(root + 'CIFAR10_image/' + ...
31.866667
75
0.650628
62
478
4.935484
0.467742
0.107843
0.156863
0.186275
0.235294
0
0
0
0
0
0
0.03876
0.190377
478
14
76
34.142857
0.751938
0
0
0
0
0
0.168467
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
95620b3f160fc0fb6d0c0896e86c4e7d56432d0b
722
py
Python
src/tests/test_fail.py
bspeagle/py_git_diff
1674afc1dfac0408372e11945f4a36b297b77e66
[ "MIT" ]
null
null
null
src/tests/test_fail.py
bspeagle/py_git_diff
1674afc1dfac0408372e11945f4a36b297b77e66
[ "MIT" ]
null
null
null
src/tests/test_fail.py
bspeagle/py_git_diff
1674afc1dfac0408372e11945f4a36b297b77e66
[ "MIT" ]
null
null
null
''' Failure tests ''' import os from typing import Any import pytest from helpers.github import API api = API() pass_token = Any fail_token = os.getenv('FAIL_TOKEN') fail_org = os.getenv('FAIL_ORG') fail_repo = os.getenv('FAIL_REPO') def test_fail_auth(): ''' Fail 'auth' to Github ''' with pytest.r...
16.044444
39
0.649584
95
722
4.726316
0.294737
0.062361
0.080178
0.173719
0.247216
0.182628
0
0
0
0
0
0
0.225762
722
44
40
16.409091
0.80322
0.103878
0
0.15
0
0
0.052189
0
0
0
0
0
0
1
0.15
false
0.15
0.2
0
0.35
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
95697b5d755424cb46ff8e11e52fcff72a602bf4
639
py
Python
cartridge_external_payment/admin.py
thomasWajs/cartridge-external-payment
02c1c2b43504a17547a908622c3d54a331945c77
[ "BSD-2-Clause" ]
7
2015-02-14T20:25:27.000Z
2021-04-10T16:05:00.000Z
cartridge_external_payment/admin.py
thomasWajs/cartridge-external-payment
02c1c2b43504a17547a908622c3d54a331945c77
[ "BSD-2-Clause" ]
2
2015-11-30T17:54:19.000Z
2016-09-09T21:21:01.000Z
cartridge_external_payment/admin.py
thomasWajs/cartridge-external-payment
02c1c2b43504a17547a908622c3d54a331945c77
[ "BSD-2-Clause" ]
3
2015-10-19T15:22:18.000Z
2017-11-13T23:22:17.000Z
from copy import deepcopy from django.contrib import admin from cartridge.shop.admin import OrderAdmin from cartridge.shop.models import Order order_fieldsets = deepcopy(admin.site._registry[Order].fieldsets) order_fieldsets[2][1]["fields"] = list(order_fieldsets[2][1]["fields"]) order_fieldsets[2][1]["fields"].ins...
33.631579
74
0.748044
77
639
6.064935
0.467532
0.179872
0.09636
0.102784
0.141328
0
0
0
0
0
0
0.012433
0.118936
639
18
75
35.5
0.817052
0
0
0
0
0
0.143975
0
0
0
0
0
0
1
0
false
0
0.307692
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
1
0
1
0
0
2
956dfd3898d4db0373cc4caa6c858737d336c6e2
3,270
py
Python
simple_api/object/permissions.py
ladal1/simple_api
1b5d560476bccad9f68a7331d092dbdb68c48bf7
[ "MIT" ]
1
2021-02-24T22:14:59.000Z
2021-02-24T22:14:59.000Z
simple_api/object/permissions.py
ladal1/simple_api
1b5d560476bccad9f68a7331d092dbdb68c48bf7
[ "MIT" ]
null
null
null
simple_api/object/permissions.py
ladal1/simple_api
1b5d560476bccad9f68a7331d092dbdb68c48bf7
[ "MIT" ]
null
null
null
from inspect import isclass def build_permissions_fn(permissions): def fn(**kwargs): for perm in permissions: if not perm().has_permission(**kwargs): raise PermissionError(perm().error_message(**kwargs)) return fn class BasePermission: def __init__(self, **kwargs): ...
34.0625
119
0.663609
381
3,270
5.564304
0.293963
0.051887
0.045283
0.067925
0.35
0.279717
0.242925
0.170755
0.170755
0.170755
0
0.000825
0.259021
3,270
95
120
34.421053
0.874123
0.191437
0
0.5
0
0
0.078498
0
0
0
0
0
0.03125
1
0.265625
false
0
0.015625
0.078125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
95728ec4185daad9b5e30451603845ad35ca972b
290
py
Python
Desafios/MODULO 1/Desafio 12.py
deneyjunior/python-mundos-cev
4bc82bf0630f65cf66e5442ae57b72fd4b0207fc
[ "MIT" ]
null
null
null
Desafios/MODULO 1/Desafio 12.py
deneyjunior/python-mundos-cev
4bc82bf0630f65cf66e5442ae57b72fd4b0207fc
[ "MIT" ]
null
null
null
Desafios/MODULO 1/Desafio 12.py
deneyjunior/python-mundos-cev
4bc82bf0630f65cf66e5442ae57b72fd4b0207fc
[ "MIT" ]
null
null
null
# Faça um algoritmo que leia o preço de um produto e mostre o novo preço com um desconto. preco = float(input('Digite o preço atual do produto: R$ ')) desconto = float(input('Digite o valor do desconto (0.X): ')) novopreco = preco * desconto print('O novo preço é R$ {}.'.format(novopreco))
58
89
0.713793
49
290
4.22449
0.571429
0.057971
0.096618
0.164251
0
0
0
0
0
0
0
0.004132
0.165517
290
5
90
58
0.85124
0.3
0
0
0
0
0.450495
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
958d20eb83026863f5c7fe7f0d9e55731a14596b
250
py
Python
tests/test_all.py
dpineo/gadann
ff5dce9a8fc6192ba1efd854672f593872116beb
[ "MIT" ]
null
null
null
tests/test_all.py
dpineo/gadann
ff5dce9a8fc6192ba1efd854672f593872116beb
[ "MIT" ]
null
null
null
tests/test_all.py
dpineo/gadann
ff5dce9a8fc6192ba1efd854672f593872116beb
[ "MIT" ]
null
null
null
import os import fnmatch import deep_learning tests = [file for file in os.listdir(os.getcwd()) if fnmatch.fnmatch(file, 'test_*.py')] tests.remove('test_all.py') for test in tests: print '---------- '+test+' ----------' execfile(test)
22.727273
89
0.632
35
250
4.428571
0.514286
0
0
0
0
0
0
0
0
0
0
0
0.16
250
10
90
25
0.738095
0
0
0
0
0
0.175
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
958e9155b3239d72fa5b7b6e836c3597e9e664a8
3,887
py
Python
OP3/op3/messages.py
gvx/op3
888ab5975a3f911fc9ed9afea983928de3110033
[ "MIT" ]
null
null
null
OP3/op3/messages.py
gvx/op3
888ab5975a3f911fc9ed9afea983928de3110033
[ "MIT" ]
null
null
null
OP3/op3/messages.py
gvx/op3
888ab5975a3f911fc9ed9afea983928de3110033
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from collections.abc import MutableSequence from datetime import datetime from typing import NamedTuple, Any, Optional, Iterator from .encoders import ENCODERS, string_encode, default_encoder, datetime_encode, blob_encode class Element(NamedTuple): value: Any tag: str @...
30.849206
92
0.637252
476
3,887
4.978992
0.180672
0.072152
0.018565
0.021941
0.340928
0.267089
0.178903
0.118987
0.087764
0.054852
0
0.001372
0.250064
3,887
125
93
31.096
0.811664
0.007204
0
0.265306
0
0
0.041224
0.032149
0
0
0
0
0.061224
1
0.27551
false
0
0.05102
0.091837
0.581633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
95b3dfb14ba48f34faa00abbd1780bd7ac43862d
499
py
Python
experiments/reversed_string_stack.py
shruti-bt/data-structure-python
0729f486f516ce05acdd92b28b108f43b67f656f
[ "MIT" ]
1
2022-01-10T17:17:35.000Z
2022-01-10T17:17:35.000Z
experiments/reversed_string_stack.py
shruti-bt/data-structure-python
0729f486f516ce05acdd92b28b108f43b67f656f
[ "MIT" ]
null
null
null
experiments/reversed_string_stack.py
shruti-bt/data-structure-python
0729f486f516ce05acdd92b28b108f43b67f656f
[ "MIT" ]
null
null
null
class Stack(): def __init__(self): self.stack = [] def push(self, value): self.stack.append(value) def pop(self): return self.stack.pop() def __len__(self): return len(self.stack) def print(self): return print(self.stack) if __name__ == '_...
19.192308
35
0.519038
61
499
3.95082
0.377049
0.186722
0.099585
0
0
0
0
0
0
0
0
0
0.344689
499
25
36
19.96
0.737003
0
0
0
0
0
0.016913
0
0
0
0
0
0
1
0.263158
false
0
0
0.157895
0.473684
0.210526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
95b6e78900559f4f960f26e452c446bb79f637e4
191
py
Python
intel_bot_sentenca_rj_civel/test.py
slarda/Web-Scrapping-Bots-For-Crawling-Docs
aa8ce3c72bfbe2111d16655ffc3a6759a825946e
[ "Apache-2.0" ]
1
2020-12-17T11:21:01.000Z
2020-12-17T11:21:01.000Z
intel_bot_sentenca_rj_civel/test.py
soft-super/Web-Scrapping-Bots-For-Crawling-Docs
aa8ce3c72bfbe2111d16655ffc3a6759a825946e
[ "Apache-2.0" ]
5
2021-03-19T01:48:07.000Z
2021-06-09T18:26:31.000Z
intel_bot_sentenca_rj_civel/test.py
tiny-1996/Web-Scrapping-Bots-For-Crawling-Docs
aa8ce3c72bfbe2111d16655ffc3a6759a825946e
[ "Apache-2.0" ]
null
null
null
with open('./logs/test.log', 'r') as f1: data = f1.readlines() formatted = [x.replace('.pdf', '') for x in data] with open('./logs/test2.log', 'r') as f1: f1.writelines(formatted)
21.222222
49
0.602094
30
191
3.833333
0.6
0.13913
0.208696
0.13913
0
0
0
0
0
0
0
0.031646
0.172775
191
8
50
23.875
0.696203
0
0
0
0
0
0.194737
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
95bb338ca37179ca6d20e80795bb6cc5417559db
535
py
Python
app/shared/models.py
prapeller/blackemployer_api
ae9232773e6e164b22ffccf0b39dd9a4c2a036cf
[ "MIT" ]
null
null
null
app/shared/models.py
prapeller/blackemployer_api
ae9232773e6e164b22ffccf0b39dd9a4c2a036cf
[ "MIT" ]
null
null
null
app/shared/models.py
prapeller/blackemployer_api
ae9232773e6e164b22ffccf0b39dd9a4c2a036cf
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model from django.contrib.postgres.fields import ArrayField from utils.model_utils import default_1d_array_of_strings class SeoModel(models.Model): seo_title = models.CharField("SEO title", max_length=100, blank=True, null=True) seo_descri...
35.666667
96
0.773832
77
535
5.207792
0.480519
0.074813
0.097257
0.127182
0.099751
0
0
0
0
0
0
0.021598
0.134579
535
14
97
38.214286
0.844492
0
0
0
0
0
0.06729
0
0
0
0
0
0
1
0
false
0
0.4
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
95bd8914d357d073cde74eb4ec195a84ebfe2b04
560
py
Python
app/tests/test_db/test_jobs_crud.py
JvitorS23/jobboard_fastAPI
5abcc69f19417ad99352c0434db96407e2d7da76
[ "MIT" ]
1
2021-10-01T16:40:33.000Z
2021-10-01T16:40:33.000Z
app/tests/test_db/test_jobs_crud.py
JvitorS23/jobboard_fastAPI
5abcc69f19417ad99352c0434db96407e2d7da76
[ "MIT" ]
null
null
null
app/tests/test_db/test_jobs_crud.py
JvitorS23/jobboard_fastAPI
5abcc69f19417ad99352c0434db96407e2d7da76
[ "MIT" ]
null
null
null
from sqlalchemy.orm import Session from db.crud.jobs import create_new_job, retrieve_job from schemas.jobs import JobCreate from tests.utils.users import create_random_owner from tests.utils.jobs import create_sample_job def test_retrieve_job_by_id(db_session: Session): """Test retrieving job from db""" owner...
37.333333
67
0.792857
87
560
4.827586
0.321839
0.085714
0.07619
0.047619
0
0
0
0
0
0
0
0
0.132143
560
14
68
40
0.864198
0.048214
0
0
0
0
0
0
0
0
0
0
0.181818
1
0.090909
false
0
0.454545
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
95cf45edd5e367889b2e72c5aaae8636bfca5ddc
909
py
Python
tests/test_objectives.py
theislab/AutoGeneS
22bde0d5eba013e90edb85341e0bd9c28b82e7fd
[ "MIT" ]
46
2020-02-25T14:09:21.000Z
2022-01-20T16:42:40.000Z
tests/test_objectives.py
theislab/AutoGeneS
22bde0d5eba013e90edb85341e0bd9c28b82e7fd
[ "MIT" ]
16
2020-03-18T15:08:42.000Z
2022-01-29T20:00:10.000Z
tests/test_objectives.py
theislab/AutoGeneS
22bde0d5eba013e90edb85341e0bd9c28b82e7fd
[ "MIT" ]
6
2020-02-13T14:23:46.000Z
2021-12-28T16:50:50.000Z
import pytest import numpy as np import pandas as pd from scipy.special import binom import os import sys sys.path.insert(0, "..") from autogenes import objectives as ga_objectives def test_distance(): arr = np.ones((3,3)) assert ga_objectives.distance(arr) == 0 arr = np.identity(3) assert np.isclose(ga_...
23.307692
84
0.630363
168
909
3.333333
0.333333
0.128571
0.096429
0.048214
0.351786
0.135714
0.135714
0.135714
0
0
0
0.071816
0.188119
909
38
85
23.921053
0.686992
0.291529
0
0.2
1
0
0.00314
0
0
0
0
0
0.25
1
0.1
false
0
0.35
0
0.45
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
1
0
0
0
0
2
95d0529ff78fe4e15217221008da8dabb874d847
138
py
Python
python/flask-app/data.py
zkan/100DaysOfCode
3c713ead94a9928e2d0f8d794e49ec202dc64ba3
[ "MIT" ]
2
2019-05-01T00:32:30.000Z
2019-11-20T05:23:05.000Z
python/flask-app/data.py
zkan/100DaysOfCode
3c713ead94a9928e2d0f8d794e49ec202dc64ba3
[ "MIT" ]
15
2020-09-05T18:35:04.000Z
2022-03-11T23:44:47.000Z
python/flask-app/data.py
zkan/100DaysOfCode
3c713ead94a9928e2d0f8d794e49ec202dc64ba3
[ "MIT" ]
null
null
null
fav_beer = {'Julian': 'White Rabbit Dark Ale', 'Bob': 'Some sort of light beer I assume', 'Mike': 'Oregano Beer'}
34.5
54
0.550725
18
138
4.166667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.304348
138
3
55
46
0.78125
0
0
0
0
0
0.565217
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
95d185b829b29c3736cdbb9908672dc12ffef154
548
py
Python
appengine/chrome_infra_packages/apps.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
1
2018-01-02T05:47:07.000Z
2018-01-02T05:47:07.000Z
appengine/chrome_infra_packages/apps.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/chrome_infra_packages/apps.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Actual WSGI app instantiations used from app.yaml. Extracted to a separate module to avoid calling 'initialize' in unit tests during module loading time....
28.842105
74
0.810219
86
548
4.965116
0.639535
0.046838
0.074941
0.084309
0.154567
0.154567
0
0
0
0
0
0.008386
0.129562
548
18
75
30.444444
0.886792
0.567518
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
2