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
60adc0e281e041318bfabac3073fe6ac2ecf2f6b
1,075
py
Python
users/tests/test_urls.py
erischon/p8_eri_schon
b64de7acad28463a39b40ce9d537ceec4227202b
[ "MIT" ]
null
null
null
users/tests/test_urls.py
erischon/p8_eri_schon
b64de7acad28463a39b40ce9d537ceec4227202b
[ "MIT" ]
null
null
null
users/tests/test_urls.py
erischon/p8_eri_schon
b64de7acad28463a39b40ce9d537ceec4227202b
[ "MIT" ]
1
2021-04-27T04:07:03.000Z
2021-04-27T04:07:03.000Z
from django.test import SimpleTestCase from django.urls import reverse, resolve from users.views import signupuser, moncompte, loginuser, logoutuser, myproducts, myproducts_delete class UsersTestUrls(SimpleTestCase): def test_signup_url_is_resolved(self): url = reverse('signupuser') self.assertE...
33.59375
99
0.72093
126
1,075
5.928571
0.238095
0.056225
0.104418
0.136546
0.503347
0.348059
0.099063
0
0
0
0
0.001133
0.178605
1,075
31
100
34.677419
0.844847
0
0
0
0
0
0.061395
0
0
0
0
0
0.272727
1
0.272727
false
0
0.136364
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
60b7671db00305d3fd1f9d68c6b86ba3dc01a6a4
1,303
py
Python
compute_cache.py
afiaka87/antarctic-captions
c750862cf8fca09c4926fe2b782dbf00d60e0686
[ "MIT" ]
null
null
null
compute_cache.py
afiaka87/antarctic-captions
c750862cf8fca09c4926fe2b782dbf00d60e0686
[ "MIT" ]
null
null
null
compute_cache.py
afiaka87/antarctic-captions
c750862cf8fca09c4926fe2b782dbf00d60e0686
[ "MIT" ]
null
null
null
import numpy as np from argparse import ArgumentParser from CLIP import clip import dataset import utils def main(): # Args parser = ArgumentParser() parser.add_argument('--datadir', type=str) parser.add_argument('--textfile', type=str) parser.add_argument('--embfile', type=str) parser.add_a...
29.613636
70
0.66769
174
1,303
4.850575
0.431034
0.106635
0.201422
0.056872
0.085308
0
0
0
0
0
0
0.016807
0.178051
1,303
43
71
30.302326
0.771242
0.043745
0
0
0
0
0.126613
0
0
0
0
0
0
1
0.034483
false
0
0.172414
0
0.206897
0.034483
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60bd231d2ac9095c9adf8dad291d5e91bc17dd49
98,828
py
Python
lib/pwiki/wikidata/original_sqlite/WikiData.py
dszmaj/wikidpad
1127375665935524ddb623da8dd5137038c7e53e
[ "Apache-2.0", "MIT" ]
16
2015-02-05T17:32:04.000Z
2022-01-14T13:46:36.000Z
lib/pwiki/wikidata/original_sqlite/WikiData.py
dszmaj/wikidpad
1127375665935524ddb623da8dd5137038c7e53e
[ "Apache-2.0", "MIT" ]
8
2015-06-20T20:02:41.000Z
2016-02-23T14:52:32.000Z
lib/pwiki/wikidata/original_sqlite/WikiData.py
dszmaj/wikidpad
1127375665935524ddb623da8dd5137038c7e53e
[ "Apache-2.0", "MIT" ]
11
2015-05-19T09:17:16.000Z
2017-09-14T00:43:13.000Z
""" Used terms: wikiword -- a string matching one of the wiki word regexes wiki page -- real existing content stored and associated with a wikiword (which is the page name). Sometimes page is synonymous for page name alias -- wikiword without content but associated to a page name. ...
38.680235
111
0.541972
8,652
98,828
6.162737
0.113962
0.034434
0.029014
0.036722
0.520218
0.47862
0.442648
0.417817
0.392104
0.366035
0
0.00323
0.376553
98,828
2,554
112
38.69538
0.862158
0.127262
0
0.530496
0
0
0.138235
0.01671
0
0
0
0.007439
0.002128
0
null
null
0.000709
0.010638
null
null
0.063121
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
60c3f22444187efd977e026543cd0d003a1e33e9
269
py
Python
python/euler92.py
feliposz/project-euler-solutions
1aec50c4d2d86b515dc8607559575da9e4aecb3a
[ "MIT" ]
null
null
null
python/euler92.py
feliposz/project-euler-solutions
1aec50c4d2d86b515dc8607559575da9e4aecb3a
[ "MIT" ]
null
null
null
python/euler92.py
feliposz/project-euler-solutions
1aec50c4d2d86b515dc8607559575da9e4aecb3a
[ "MIT" ]
null
null
null
def chainResult(num): while num != 1 and num != 89: s = str(num) num = 0 for c in s: num += int(c) * int(c) return num count = 0 for num in range(1,10000000): if chainResult(num) == 89: count += 1 print(count)
19.214286
35
0.498141
41
269
3.268293
0.487805
0.208955
0
0
0
0
0
0
0
0
0
0.10119
0.375465
269
13
36
20.692308
0.696429
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0.083333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60cf822a408a6985948e785898afe0254e955795
2,275
py
Python
conans/test/unittests/model/editable_layout/load_data_test.py
matthiasng/conan
634eadc319da928084633a344d42785edccb8d6c
[ "MIT" ]
6,205
2015-12-01T13:40:05.000Z
2022-03-31T07:30:25.000Z
conans/test/unittests/model/editable_layout/load_data_test.py
matthiasng/conan
634eadc319da928084633a344d42785edccb8d6c
[ "MIT" ]
8,747
2015-12-01T16:28:48.000Z
2022-03-31T23:34:53.000Z
conans/test/unittests/model/editable_layout/load_data_test.py
Mattlk13/conan
005fc53485557b0a570bb71670f2ca9c66082165
[ "MIT" ]
961
2015-12-01T16:56:43.000Z
2022-03-31T13:50:52.000Z
# coding=utf-8 import os import shutil import textwrap import unittest import six from conans.errors import ConanException from conans.model.editable_layout import EditableLayout from conans.test.utils.test_files import temp_folder from conans.util.files import save class ParseTest(unittest.TestCase): def setU...
39.912281
104
0.597363
227
2,275
5.814978
0.273128
0.037121
0.081818
0.07197
0.676515
0.613636
0.613636
0.613636
0.613636
0.613636
0
0.000638
0.311209
2,275
56
105
40.625
0.841736
0.005275
0
0.478261
0
0
0.301194
0.036267
0
0
0
0
0.086957
1
0.065217
false
0
0.195652
0
0.282609
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60d16958717af05e518eb999ef56d2dadcb6d700
10,986
py
Python
scripts/findtemplate_scipy.py
julvi/HostPhinder
afb120fb2952e36b6d299ac5c5fb2440c84520e6
[ "Apache-2.0" ]
3
2018-09-21T18:42:28.000Z
2021-11-01T00:05:07.000Z
scripts/findtemplate_scipy.py
julvi/HostPhinder
afb120fb2952e36b6d299ac5c5fb2440c84520e6
[ "Apache-2.0" ]
1
2020-05-05T13:12:26.000Z
2020-09-09T13:05:32.000Z
scripts/findtemplate_scipy.py
julvi/HostPhinder
afb120fb2952e36b6d299ac5c5fb2440c84520e6
[ "Apache-2.0" ]
2
2017-08-10T12:33:07.000Z
2021-09-22T10:02:48.000Z
#!/usr/bin/env python # On cge-s2 run with /tools/opt/anaconda/bin/python # # Import libraries # import argparse import sys, time import os from math import sqrt, pow import scipy from scipy.stats import norm from operator import itemgetter import re import cPickle as pickle # # Functions # # Construct the reverse c...
31.659942
163
0.656472
1,424
10,986
4.988764
0.216292
0.019003
0.025619
0.023226
0.311515
0.273226
0.241695
0.241695
0.184403
0.17286
0
0.013353
0.188786
10,986
346
164
31.751445
0.783775
0.169306
0
0.334746
0
0.008475
0.103734
0.015202
0
0
0
0
0
0
null
null
0.004237
0.038136
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
60d3d951db82f23c2e10d6b8758781c9d1193334
3,366
py
Python
django_loose_fk/loaders.py
maykinmedia/django-loose-fk
bbd37f789bd459d9a7eb661ffb0597d84567c1ab
[ "MIT" ]
3
2021-03-17T12:37:36.000Z
2021-03-17T21:49:11.000Z
django_loose_fk/loaders.py
maykinmedia/django-loose-fk
bbd37f789bd459d9a7eb661ffb0597d84567c1ab
[ "MIT" ]
21
2019-08-07T11:04:53.000Z
2022-03-10T21:46:24.000Z
django_loose_fk/loaders.py
maykinmedia/django-loose-fk
bbd37f789bd459d9a7eb661ffb0597d84567c1ab
[ "MIT" ]
1
2019-10-28T11:23:06.000Z
2019-10-28T11:23:06.000Z
import json import warnings from typing import Type from urllib.parse import urlparse from django.conf import settings from django.core.signals import setting_changed from django.db import models from django.db.models.base import ModelBase from django.http.request import validate_host from django.utils.functional impo...
29.787611
86
0.6735
436
3,366
5.057339
0.364679
0.031746
0.019048
0.016327
0.083447
0.069841
0.069841
0
0
0
0
0.0008
0.256982
3,366
112
87
30.053571
0.880848
0.170529
0
0.115942
0
0
0.090303
0.022576
0
0
0
0.008929
0
1
0.130435
false
0.028986
0.231884
0
0.536232
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
60d48fe55ccc0c57e154e6d8fc75af6522167b92
26,632
py
Python
src/agentvision/planercnn/datasets/plane_dataset.py
arunsechergy/AgentVision2
f954811a19d5b9e4b4c94b4c1f9d7b3a38c6934e
[ "MIT" ]
5
2020-07-10T03:16:24.000Z
2022-01-14T01:12:23.000Z
src/agentvision/planercnn/datasets/plane_dataset.py
arunsechergy/AgentVision2
f954811a19d5b9e4b4c94b4c1f9d7b3a38c6934e
[ "MIT" ]
4
2021-08-25T16:13:24.000Z
2022-02-10T03:34:06.000Z
src/agentvision/planercnn/datasets/plane_dataset.py
arunsechergy/AgentVision2
f954811a19d5b9e4b4c94b4c1f9d7b3a38c6934e
[ "MIT" ]
3
2021-01-22T02:01:11.000Z
2021-03-18T15:57:43.000Z
""" Copyright (C) 2019 NVIDIA Corporation. All rights reserved. Licensed under the CC BY-NC-SA 4.0 license (https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode). """ import torch from torch.utils.data import Dataset import numpy as np import time import os import cv2 import sys import utils from datasets.sca...
44.535117
290
0.552118
3,043
26,632
4.676635
0.174827
0.019675
0.022486
0.015459
0.282833
0.237018
0.184597
0.145598
0.130349
0.119387
0
0.025057
0.345149
26,632
597
291
44.609715
0.79094
0.132585
0
0.237875
0
0
0.036215
0.013979
0
0
0.003495
0.001675
0.004619
1
0.018476
false
0.062356
0.023095
0.002309
0.069284
0.006928
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
60d5e59c44402663b2641d6526242bb29bc048dc
1,466
py
Python
fca/algorithms/filtering/similarity.py
ksiomelo/cubix
cd9e6dda6696b302a7c0d383259a9d60b15b0d55
[ "Apache-2.0" ]
3
2015-09-07T00:16:16.000Z
2019-01-11T20:27:56.000Z
fca/algorithms/filtering/similarity.py
ksiomelo/cubix
cd9e6dda6696b302a7c0d383259a9d60b15b0d55
[ "Apache-2.0" ]
null
null
null
fca/algorithms/filtering/similarity.py
ksiomelo/cubix
cd9e6dda6696b302a7c0d383259a9d60b15b0d55
[ "Apache-2.0" ]
null
null
null
""" Created on 12.02.2010 @author: jupp """ def compute_similarity(lattice): similarity_index = {} for c1 in lattice: for c2 in lattice: if not (c1.concept_id in similarity_index and c2.concept_id in similarity_index[c1.concept_id]): if c1.concept_id not in similarity_...
33.318182
121
0.476126
165
1,466
4.060606
0.224242
0.201493
0.131343
0.143284
0.598507
0.413433
0.352239
0.352239
0.220896
0.220896
0
0.066508
0.425648
1,466
43
122
34.093023
0.729216
0.024557
0
0
0
0
0
0
0
0
0
0
0
1
0.04
false
0
0
0
0.08
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60d858dc25ff63ce2fc0331cee4fc622eb9294a2
4,561
py
Python
ipynotes/settings.py
hhfernald/ipynotes
840baf14e8842607114087983b6bb1e497cb4e65
[ "MIT" ]
null
null
null
ipynotes/settings.py
hhfernald/ipynotes
840baf14e8842607114087983b6bb1e497cb4e65
[ "MIT" ]
null
null
null
ipynotes/settings.py
hhfernald/ipynotes
840baf14e8842607114087983b6bb1e497cb4e65
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import configparser from .app_version import * # Obligatorily (on every OS): # - config files go in $HOME/.config/IPyNotes # # By default (on every OS): # - note files go in $HOME/IPyNotes/notes # - change files go in $HOME/IPyNotes/changes # TODO: Add a way to save settings, e.g....
29.810458
80
0.598991
599
4,561
4.417362
0.250417
0.05291
0.034014
0.036281
0.196523
0.13681
0.11867
0.09675
0.054422
0
0
0.001877
0.299276
4,561
152
81
30.006579
0.826033
0.231528
0
0.022727
0
0
0.031012
0
0
0
0
0.006579
0
1
0.170455
false
0
0.034091
0.102273
0.420455
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
60dcbd65d23e8d1f5323be12d3c042c42d1940ff
4,683
py
Python
app/trial_code.py
CZnyu/exec-dash
98fd15938d623dc3f4177dd86304598b206c9c83
[ "MIT" ]
1
2020-06-27T17:07:56.000Z
2020-06-27T17:07:56.000Z
app/trial_code.py
CZnyu/exec-dash
98fd15938d623dc3f4177dd86304598b206c9c83
[ "MIT" ]
null
null
null
app/trial_code.py
CZnyu/exec-dash
98fd15938d623dc3f4177dd86304598b206c9c83
[ "MIT" ]
1
2020-06-15T13:35:53.000Z
2020-06-15T13:35:53.000Z
import os import matplotlib.pyplot as plt import numpy as np import pandas as pd import math import re from datetime import datetime data_location = os.path.join(os.path.dirname(__file__), "..", "data") from os import listdir from os.path import isfile, join onlyfiles = [f for f in listdir(data_location) if isfile(jo...
32.748252
132
0.534486
527
4,683
4.629981
0.303605
0.085246
0.10123
0.140164
0.437705
0.295082
0.077869
0.077869
0.052459
0.052459
0
0.058152
0.232543
4,683
143
133
32.748252
0.620757
0.789238
0
0
0
0
0.150623
0
0
0
0
0
0
1
0
false
0
0.409091
0
0.409091
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
60dfc231ec66a25a14265cf4e60fb3f36db17c72
334
py
Python
users/migrations/0012_remove_pharmacist_pharmaimage.py
namanmalikk/UpCare
43af1a3d291d4580cdf9348e9c38da4a7e41db73
[ "Apache-2.0" ]
null
null
null
users/migrations/0012_remove_pharmacist_pharmaimage.py
namanmalikk/UpCare
43af1a3d291d4580cdf9348e9c38da4a7e41db73
[ "Apache-2.0" ]
null
null
null
users/migrations/0012_remove_pharmacist_pharmaimage.py
namanmalikk/UpCare
43af1a3d291d4580cdf9348e9c38da4a7e41db73
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.10 on 2020-10-29 09:13 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0011_pharmacist_image'), ] operations = [ migrations.RemoveField( model_name='pharmacist', name='Pharmaimage', ...
18.555556
48
0.598802
34
334
5.794118
0.794118
0
0
0
0
0
0
0
0
0
0
0.084388
0.290419
334
17
49
19.647059
0.746835
0.137725
0
0
1
0
0.164336
0.073427
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60e22c0f840f525193a0f37b2a5891814e1024e1
7,981
py
Python
modelmiezelb/utils/util.py
LukasBeddrich/modelmiezelb
b5be0014c391c9aff26360d175d479df99628dcb
[ "MIT" ]
null
null
null
modelmiezelb/utils/util.py
LukasBeddrich/modelmiezelb
b5be0014c391c9aff26360d175d479df99628dcb
[ "MIT" ]
1
2020-08-05T11:28:05.000Z
2020-08-05T11:28:05.000Z
modelmiezelb/utils/util.py
LukasBeddrich/modelmiezelb
b5be0014c391c9aff26360d175d479df99628dcb
[ "MIT" ]
1
2020-07-30T12:24:15.000Z
2020-07-30T12:24:15.000Z
import numpy as np ### PHYSICAL CONSTANTS m_n = 1.674927471e-27 # kg h_eV = 4.135667662e-15 # eV*s h_J = 6.626070040e-34 # J*s hbar_eV = h_eV/(2*np.pi) hbar_J = h_J/(2*np.pi) eV = 1.602176565e-19 # J k_B_meV_per_K = 8.617333262e-02 # meV/K #------------------------------------------------------------...
28.708633
105
0.504699
960
7,981
4.101042
0.1875
0.01524
0.03048
0.034544
0.526797
0.488189
0.453137
0.443485
0.426721
0.389637
0
0.027678
0.266633
7,981
278
106
28.708633
0.644968
0.611953
0
0.163934
0
0
0.002869
0
0
0
0
0
0.016393
1
0.213115
false
0
0.016393
0.016393
0.459016
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
60e2300ff21c437d9fa2c78eb2bddc2c7b4c21c1
3,811
py
Python
neupy/datasets/digits.py
vishalbelsare/neupy
684313cdaddcad326f2169384fb15ec3aa29d991
[ "MIT" ]
null
null
null
neupy/datasets/digits.py
vishalbelsare/neupy
684313cdaddcad326f2169384fb15ec3aa29d991
[ "MIT" ]
null
null
null
neupy/datasets/digits.py
vishalbelsare/neupy
684313cdaddcad326f2169384fb15ec3aa29d991
[ "MIT" ]
null
null
null
import numpy as np __all__ = ('make_digits', 'load_digits') digits_data = np.array([ [ # zero 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, ], [ # one 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, ...
22.684524
74
0.435844
563
3,811
2.880995
0.195382
0.091245
0.072133
0.05672
0.373613
0.347102
0.343403
0.336005
0.327374
0.309494
0
0.138926
0.418263
3,811
167
75
22.820359
0.592693
0.330622
0
0.728261
0
0
0.06402
0
0
0
0
0
0
1
0.021739
false
0
0.01087
0
0.054348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60e51884330320b69575e11918075d20db1378fa
1,995
py
Python
doc/conf.py
KarlTDebiec/myplotspec_sim
f63ebf446ff6365857c544508931a21eb75e57e7
[ "BSD-3-Clause" ]
8
2016-07-20T16:26:18.000Z
2020-05-22T21:58:27.000Z
doc/conf.py
KarlTDebiec/myplotspec_sim
f63ebf446ff6365857c544508931a21eb75e57e7
[ "BSD-3-Clause" ]
2
2016-07-23T17:17:16.000Z
2018-02-07T03:34:27.000Z
doc/conf.py
KarlTDebiec/myplotspec_sim
f63ebf446ff6365857c544508931a21eb75e57e7
[ "BSD-3-Clause" ]
4
2016-07-20T16:26:29.000Z
2022-03-27T18:28:50.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # MolDynPlot/doc/conf.py # # Copyright (C) 2015-2017 Karl T Debiec # All rights reserved. # # This software may be modified and distributed under the terms of the # BSD license. See the LICENSE file for details. ################################### MODULES ############...
33.25
79
0.629574
233
1,995
5.2103
0.587983
0.037068
0.027183
0.021417
0.031301
0
0
0
0
0
0
0.018926
0.178947
1,995
59
80
33.813559
0.722222
0.205013
0
0
0
0
0.354615
0.015267
0
0
0
0.016949
0
1
0
false
0
0.02381
0
0.02381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
60e607be06be3c67e9d3d17acbb18efe9112341b
262
py
Python
database/models.py
blanebf/dicom_service
e9234679cdaf27cc5f66a44211d6d59c30f3c379
[ "MIT" ]
null
null
null
database/models.py
blanebf/dicom_service
e9234679cdaf27cc5f66a44211d6d59c30f3c379
[ "MIT" ]
null
null
null
database/models.py
blanebf/dicom_service
e9234679cdaf27cc5f66a44211d6d59c30f3c379
[ "MIT" ]
1
2017-09-27T13:38:40.000Z
2017-09-27T13:38:40.000Z
# Copyright (c) 2017 Pavel 'Blane' Tuchin from peewee import * database_proxy = Proxy() class BaseModel(Model): class Meta: database = database_proxy def init_sqlite(filename): db = SqliteDatabase(filename) database_proxy.initialize(db)
17.466667
41
0.71374
31
262
5.903226
0.709677
0.213115
0
0
0
0
0
0
0
0
0
0.019048
0.198473
262
14
42
18.714286
0.852381
0.148855
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60e60a5f0fcc708d740087870fa73f381f9618f7
1,499
py
Python
paperbroker/adapters/accounts/LocalFileSystemAccountAdapter.py
yutiansut/paperbroker
3b4124ee79532d4b56b5fd5e864ed2ca1f4f857e
[ "MIT" ]
227
2017-07-14T19:10:04.000Z
2022-03-23T01:29:46.000Z
paperbroker/adapters/accounts/LocalFileSystemAccountAdapter.py
KloudTrader/paperbroker
85844b9841a9fced6ea66e137c33a13136cd5faf
[ "MIT" ]
7
2017-07-14T01:59:49.000Z
2021-05-19T06:10:55.000Z
paperbroker/adapters/accounts/LocalFileSystemAccountAdapter.py
KloudTrader/paperbroker
85844b9841a9fced6ea66e137c33a13136cd5faf
[ "MIT" ]
59
2017-07-15T06:55:56.000Z
2022-03-22T21:20:22.000Z
from ...accounts import Account, account_factory import tempfile import os import pickle from os import listdir from os.path import isfile, join class LocalFileSystemAccountAdapter(): def __init__(self, root=None): if root is None: root = tempfile.gettempdir() if not os.path.exists(root+"/accounts...
34.860465
97
0.63509
191
1,499
4.848168
0.287958
0.060475
0.097192
0.099352
0.207343
0.207343
0.165227
0.165227
0.099352
0
0
0.000879
0.240827
1,499
42
98
35.690476
0.81283
0
0
0.117647
0
0
0.068712
0
0
0
0
0
0
1
0.205882
false
0.029412
0.176471
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
60e77d89b94244f50f94a2b9600a8b23fc7aa077
2,169
py
Python
SimPPS/PPSSimTrackProducer/python/SimTrackProducerForFastSim_cff.py
DBAnthony/cmssw
6406d33feab56ab2af79b00b533f62b5368ac33e
[ "Apache-2.0" ]
1
2020-08-12T08:37:04.000Z
2020-08-12T08:37:04.000Z
SimPPS/PPSSimTrackProducer/python/SimTrackProducerForFastSim_cff.py
DBAnthony/cmssw
6406d33feab56ab2af79b00b533f62b5368ac33e
[ "Apache-2.0" ]
null
null
null
SimPPS/PPSSimTrackProducer/python/SimTrackProducerForFastSim_cff.py
DBAnthony/cmssw
6406d33feab56ab2af79b00b533f62b5368ac33e
[ "Apache-2.0" ]
1
2019-03-19T13:44:54.000Z
2019-03-19T13:44:54.000Z
import FWCore.ParameterSet.Config as cms def customise(process): if hasattr(process.VtxSmeared,"X0"): VertexX = process.VtxSmeared.X0 VertexY = process.VtxSmeared.Y0 VertexZ = process.VtxSmeared.Z0 if hasattr(process.VtxSmeared,"MeanX"): VertexX = process.VtxSmeared.MeanX VertexY = process.VtxSmeared.Mean...
40.924528
156
0.760719
207
2,169
7.850242
0.410628
0.083692
0.025846
0.046154
0.109538
0.067692
0.067692
0
0
0
0
0.003079
0.101429
2,169
52
157
41.711538
0.830682
0.076072
0
0
0
0
0.227697
0.158195
0
0
0
0
0
0
null
null
0
0.03125
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
60e9bdcdfc4e51f01be88d479d5ca544fd0ed905
2,533
py
Python
RoboticsLanguage/Outputs/RosCpp/Output.py
omelinopineda/RoboticsLanguage
ffce1dc4b83eba0825ceafbaef22cf2d6691ba08
[ "Apache-2.0" ]
null
null
null
RoboticsLanguage/Outputs/RosCpp/Output.py
omelinopineda/RoboticsLanguage
ffce1dc4b83eba0825ceafbaef22cf2d6691ba08
[ "Apache-2.0" ]
null
null
null
RoboticsLanguage/Outputs/RosCpp/Output.py
omelinopineda/RoboticsLanguage
ffce1dc4b83eba0825ceafbaef22cf2d6691ba08
[ "Apache-2.0" ]
null
null
null
# # This is the Robotics Language compiler # # Output.py: Generates ROS c++ code # # Created on: June 22, 2017 # Author: Gabriel A. D. Lopes # Licence: Apache 2.0 # Copyright: 2014-2017 Robot Care Systems BV, The Hague, The Netherlands. All rights reserved. # # Licensed under the Apache License, V...
37.80597
117
0.705882
338
2,533
5.218935
0.45858
0.072562
0.081633
0.027211
0.120181
0.057823
0.057823
0.057823
0
0
0
0.012077
0.182787
2,533
66
118
38.378788
0.840097
0.441374
0
0
1
0
0.204776
0
0
0
0
0
0
1
0.038462
false
0
0.153846
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60ea45f5a21b1d7c3a4c19197ed549718f79699e
5,444
py
Python
buildtools/verboselogs/__init__.py
ciliz-co-ltd/w4-sdk-updater
ecf21ea5d884d6f0a29532764ccfb225dcd1c9a0
[ "MIT" ]
null
null
null
buildtools/verboselogs/__init__.py
ciliz-co-ltd/w4-sdk-updater
ecf21ea5d884d6f0a29532764ccfb225dcd1c9a0
[ "MIT" ]
null
null
null
buildtools/verboselogs/__init__.py
ciliz-co-ltd/w4-sdk-updater
ecf21ea5d884d6f0a29532764ccfb225dcd1c9a0
[ "MIT" ]
1
2021-10-13T14:25:11.000Z
2021-10-13T14:25:11.000Z
# Custom log levels for Python's logging module. # # Author: Peter Odding <peter@peterodding.com> # Last Change: August 7, 2017 # URL: https://verboselogs.readthedocs.io """ Custom log levels for Python's :mod:`logging` module. The :mod:`verboselogs` module defines the :data:`NOTICE`, :data:`SPAM`, :data:`SUCCESS` an...
32.795181
117
0.6723
728
5,444
4.978022
0.221154
0.048565
0.019868
0.035872
0.422461
0.368653
0.263245
0.218543
0.163907
0.140177
0
0.004101
0.193791
5,444
165
118
32.993939
0.821599
0.486774
0
0
0
0
0.023768
0
0
0
0
0
0
1
0.225806
false
0
0.032258
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
60efa7b171c958ddf34b8ccc9292ebbca0123594
1,017
py
Python
example__pystaggrelite3.py
catawbasam/py-st-a-ggre-lite3
ec392332c6e8660b312db910e382dcb9b5ee89ed
[ "BSD-3-Clause" ]
null
null
null
example__pystaggrelite3.py
catawbasam/py-st-a-ggre-lite3
ec392332c6e8660b312db910e382dcb9b5ee89ed
[ "BSD-3-Clause" ]
null
null
null
example__pystaggrelite3.py
catawbasam/py-st-a-ggre-lite3
ec392332c6e8660b312db910e382dcb9b5ee89ed
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2011, Roger Lew # This software is funded in part by NIH Grant P20 RR016454. """ Simple example for interfacing pystaggrelite3 with sqlite3 For more information on using sqlite3 with python see: http://docs.python.org/library/sqlite3.html """ import sqlite3 import random import pyst...
26.076923
61
0.672566
143
1,017
4.762238
0.482517
0.073421
0.079295
0.061674
0.088106
0
0
0
0
0
0
0.062871
0.171091
1,017
38
62
26.763158
0.744958
0.086529
0
0
0
0
0.29805
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
60f465a19d0773b01d6c70b2f1644ff74eb88da7
360
py
Python
alds_1d.py
ShinjiKatoA16/aoj-alds
0549ae8687e55b3e7e0ac3352f269f9369200eca
[ "MIT" ]
null
null
null
alds_1d.py
ShinjiKatoA16/aoj-alds
0549ae8687e55b3e7e0ac3352f269f9369200eca
[ "MIT" ]
null
null
null
alds_1d.py
ShinjiKatoA16/aoj-alds
0549ae8687e55b3e7e0ac3352f269f9369200eca
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import sys n = int(sys.stdin.readline()) r = list() for i in range(n): r.append(int(sys.stdin.readline())) max_diff = min(r) - max(r) max_v = r[0] for i in range(n-1): if r[i] == max_v: max_v = max(r[i+1:]) diff = max_v - r[i] if diff > max_diff: ...
15.652174
39
0.558333
68
360
2.838235
0.397059
0.145078
0.11399
0.196891
0.124352
0
0
0
0
0
0
0.01845
0.247222
360
22
40
16.363636
0.693727
0.108333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.071429
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60f9d120e338e5cbbbbc77831d977a36f9fda5e9
485
py
Python
project/app.py
louay-rouabeh/Energy-Management-Live-Dashboard
cf321b99119bef252c6f6dee0f07bb8254a91149
[ "MIT" ]
null
null
null
project/app.py
louay-rouabeh/Energy-Management-Live-Dashboard
cf321b99119bef252c6f6dee0f07bb8254a91149
[ "MIT" ]
null
null
null
project/app.py
louay-rouabeh/Energy-Management-Live-Dashboard
cf321b99119bef252c6f6dee0f07bb8254a91149
[ "MIT" ]
2
2021-12-29T18:29:54.000Z
2022-01-01T17:55:15.000Z
import dash import dash_bootstrap_components as dbc from flask import Flask server = Flask(__name__) app = dash.Dash(__name__, server=server, external_stylesheets=[dbc.themes.BOOTSTRAP], suppress_callback_exceptions=True, prevent_initial_callbacks=True) app.server.config["SQLALCHEMY_DATABASE_URI"] = ...
40.416667
210
0.818557
56
485
6.785714
0.732143
0.052632
0
0
0
0
0
0
0
0
0
0.124434
0.08866
485
11
211
44.090909
0.735294
0
0
0
0
0.142857
0.380165
0.380165
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
60f9e4f4665e595b562299ea7a6b9767f7c17466
400
py
Python
meas_models/migrations/0006_remove_formulaindex_idf.py
deka108/meas_deka
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
null
null
null
meas_models/migrations/0006_remove_formulaindex_idf.py
deka108/meas_deka
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
1
2018-06-19T16:27:31.000Z
2018-06-21T02:57:03.000Z
meas_models/migrations/0006_remove_formulaindex_idf.py
deka108/mathqa-server
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2017-01-18 11:25 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('meas_models', '0005_auto_20170118_1923'), ] operations = [ migrations.RemoveField( ...
20
51
0.62
44
400
5.409091
0.840909
0
0
0
0
0
0
0
0
0
0
0.112245
0.265
400
19
52
21.052632
0.697279
0.17
0
0
1
0
0.148936
0.069909
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
60fa5a8f51d503e9ed4fc42893e927480a64ba6a
3,899
py
Python
databass/compile/translator.py
ivychen/databass-public
ddb706dfb14c828075842e49d086b7fe5aa29a83
[ "MIT" ]
6
2019-11-06T20:57:19.000Z
2022-01-06T22:09:14.000Z
databass/compile/translator.py
ivychen/databass-public
ddb706dfb14c828075842e49d086b7fe5aa29a83
[ "MIT" ]
1
2020-09-13T02:04:02.000Z
2020-09-13T14:59:19.000Z
databass/compile/translator.py
ivychen/databass-public
ddb706dfb14c828075842e49d086b7fe5aa29a83
[ "MIT" ]
22
2019-01-31T15:20:06.000Z
2022-03-22T19:52:18.000Z
from ..ops import * class Translator(object): """ A translator wraps a physical operator and provides the compilation logic. It follows the producer/consumer model. It also contains information about the lineage it needs to capture. """ _id = 0 def __init__(self, op): self.id = Translator._id T...
24.217391
78
0.676071
513
3,899
4.947368
0.306043
0.027581
0.021671
0.025611
0.135934
0.049645
0.019701
0.019701
0
0
0
0.000668
0.231854
3,899
160
79
24.36875
0.846745
0.289818
0
0.292683
0
0
0.021244
0
0
0
0
0
0.012195
1
0.243902
false
0.04878
0.012195
0.02439
0.390244
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
88026f5dc49cec95776ff5ca7bc806912ab5afe5
4,192
py
Python
src/users/models/microsoftgraphshift_change_request.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
src/users/models/microsoftgraphshift_change_request.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
src/users/models/microsoftgraphshift_change_request.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
48.183908
396
0.679866
487
4,192
5.474333
0.178645
0.090023
0.063016
0.045011
0.157539
0.068267
0
0
0
0
0
0.006045
0.171279
4,192
86
397
48.744186
0.76137
0.351384
0
0
1
0
0.272692
0.081808
0
0
0
0
0
1
0.026316
false
0
0.026316
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
88042736e99cfe9715c9df53916726b674d740f5
4,187
py
Python
pyrimaa/tests/test_util.py
arhart/AEI
b4b7d5ded35a1b49c0aa624740543e3062fc8795
[ "MIT" ]
null
null
null
pyrimaa/tests/test_util.py
arhart/AEI
b4b7d5ded35a1b49c0aa624740543e3062fc8795
[ "MIT" ]
null
null
null
pyrimaa/tests/test_util.py
arhart/AEI
b4b7d5ded35a1b49c0aa624740543e3062fc8795
[ "MIT" ]
null
null
null
# Copyright (c) 2010-2014 Brian Haskin Jr. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publis...
39.5
79
0.651779
597
4,187
4.525963
0.256281
0.149149
0.163583
0.140637
0.490748
0.352702
0.294227
0.251665
0.222058
0.150259
0
0.092695
0.221877
4,187
105
80
39.87619
0.736648
0.253403
0
0.213333
0
0
0.133333
0
0
0
0
0
0.44
1
0.106667
false
0
0.026667
0
0.146667
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
1
0
0
0
0
0
0
0
0
0
1
8806e8182e2a1b42add0a7c274d97c0786d614f7
2,321
py
Python
erinn/utils/time_utils.py
ravisha229/elec
8297db51f63d5ef961672ae7ccb01c5ef18c70a3
[ "MIT" ]
null
null
null
erinn/utils/time_utils.py
ravisha229/elec
8297db51f63d5ef961672ae7ccb01c5ef18c70a3
[ "MIT" ]
null
null
null
erinn/utils/time_utils.py
ravisha229/elec
8297db51f63d5ef961672ae7ccb01c5ef18c70a3
[ "MIT" ]
null
null
null
"""Time-related utilities.""" from __future__ import absolute_import from __future__ import division from __future__ import generator_stop from __future__ import print_function import datetime def datetime_range(start, end, fmt='%Y%m%d'): """Change `start` and `end` string to datetime object. Pa...
30.539474
65
0.6243
289
2,321
4.937716
0.211073
0.246671
0.132446
0.033637
0.337772
0.337772
0.31815
0.301331
0.249474
0.162579
0
0
0.282206
2,321
75
66
30.946667
0.856543
0.3757
0
0.275862
0
0
0.009717
0
0
0
0
0
0
1
0.068966
false
0
0.172414
0
0.310345
0.034483
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
880a20bcbfaf8ca9165144b63b35595bde340de4
5,277
py
Python
venv/lib/python2.7/dist-packages/landscape/ui/model/registration/proxy.py
pengwu/scapy_env
3db9c5dea2e219048a2387649d6d89be342903d9
[ "MIT" ]
null
null
null
venv/lib/python2.7/dist-packages/landscape/ui/model/registration/proxy.py
pengwu/scapy_env
3db9c5dea2e219048a2387649d6d89be342903d9
[ "MIT" ]
null
null
null
venv/lib/python2.7/dist-packages/landscape/ui/model/registration/proxy.py
pengwu/scapy_env
3db9c5dea2e219048a2387649d6d89be342903d9
[ "MIT" ]
null
null
null
import dbus import landscape.ui.model.registration.mechanism as mechanism class RegistrationProxy(object): """ L{RegistrationProxy} allows the use of the L{RegistrationMechanism} via DBus without having to know about DBus. This in turn allows controller code to remain agnostic to the implementation ...
37.692857
75
0.587834
547
5,277
5.268739
0.164534
0.047883
0.072866
0.045802
0.383067
0.383067
0.383067
0.383067
0.383067
0.383067
0
0
0.341861
5,277
139
76
37.964029
0.82983
0
0
0.424779
0
0
0.036207
0.013989
0
0
0
0
0
0
null
null
0
0.017699
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
880b7445e9b594af98038c878e429a62e6bf94b7
6,169
py
Python
tests/backends/test_pyevm.py
vaporyproject/eth-tester
b68d2dd5122be0638d8a044ff2e3d9add22b7391
[ "MIT" ]
1
2022-02-13T19:24:57.000Z
2022-02-13T19:24:57.000Z
tests/backends/test_pyevm.py
vaporyproject/eth-tester
b68d2dd5122be0638d8a044ff2e3d9add22b7391
[ "MIT" ]
null
null
null
tests/backends/test_pyevm.py
vaporyproject/eth-tester
b68d2dd5122be0638d8a044ff2e3d9add22b7391
[ "MIT" ]
1
2022-02-13T19:25:04.000Z
2022-02-13T19:25:04.000Z
from __future__ import unicode_literals import pytest from eth_utils import to_wei from eth_tester import EthereumTester, PyEVMBackend from eth_tester.backends.pyevm.main import ( generate_genesis_state_for_keys, get_default_account_keys, get_default_genesis_params, ) from eth_tester.backends.pyevm.utils ...
42.253425
93
0.709353
697
6,169
5.935438
0.180775
0.063814
0.029007
0.031907
0.619048
0.545806
0.522117
0.409475
0.400774
0.339376
0
0.018978
0.222727
6,169
145
94
42.544828
0.843796
0.127411
0
0.323529
1
0
0.069499
0.007826
0
0
0.007826
0
0.196078
1
0.058824
false
0
0.078431
0
0.156863
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
880e974bce48ff6ed95120fe003bfe7bc565a4b2
4,318
py
Python
pavshop/blog/migrations/0001_initial.py
srzayev-dev/E-commerce-Project
8f1ae3e02a76175717e9309c3069d210ac317bdc
[ "MIT" ]
null
null
null
pavshop/blog/migrations/0001_initial.py
srzayev-dev/E-commerce-Project
8f1ae3e02a76175717e9309c3069d210ac317bdc
[ "MIT" ]
null
null
null
pavshop/blog/migrations/0001_initial.py
srzayev-dev/E-commerce-Project
8f1ae3e02a76175717e9309c3069d210ac317bdc
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-26 08:55 import ckeditor_uploader.fields from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings....
47.450549
196
0.59032
435
4,318
5.645977
0.22069
0.098534
0.068404
0.081433
0.489821
0.489821
0.461319
0.430375
0.430375
0.410831
0
0.011432
0.270727
4,318
90
197
47.977778
0.768498
0.010421
0
0.481928
1
0
0.146102
0
0
0
0
0
0
1
0
false
0
0.048193
0
0.096386
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
880f991d8d21db419e68f8767e1cfead13e178e1
522
py
Python
buggy/admin.py
Hakob/Buggy
5facb2835c5716466fcdf95e368bf842729f26f3
[ "BSD-3-Clause" ]
1
2019-02-20T20:21:48.000Z
2019-02-20T20:21:48.000Z
buggy/admin.py
Hakob/Buggy
5facb2835c5716466fcdf95e368bf842729f26f3
[ "BSD-3-Clause" ]
1
2021-02-02T21:48:38.000Z
2021-02-02T21:48:38.000Z
buggy/admin.py
Hakob/Buggy
5facb2835c5716466fcdf95e368bf842729f26f3
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import Category, Bug class CategoryAdmin(admin.ModelAdmin): list_display = ['name'] list_filter = ['is_active'] class BugAdmin(admin.ModelAdmin): list_display = ['id', 'created_at', 'title', 'category'] readonly_fields = fields = [ 'created_at',...
23.727273
71
0.683908
59
522
5.864407
0.559322
0.078035
0.109827
0.150289
0
0
0
0
0
0
0
0
0.176245
522
21
72
24.857143
0.804651
0
0
0
0
0
0.201149
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8810d8e0cdf2c0fb83b0c429451bf6eaff22d49c
752
py
Python
tools/telemetry/telemetry/core/platform/profiler/profiler_finder.py
MIPS/external-chromium_org
e31b3128a419654fd14003d6117caa8da32697e7
[ "BSD-3-Clause" ]
2
2018-11-24T07:58:44.000Z
2019-02-22T21:02:46.000Z
tools/telemetry/telemetry/core/platform/profiler/profiler_finder.py
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/telemetry/telemetry/core/platform/profiler/profiler_finder.py
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
# Copyright (c) 2013 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. import os from telemetry.core import discover from telemetry.core import util from telemetry.core.platform import profiler def _DiscoverProfilers(): ...
26.857143
72
0.711436
96
752
5.46875
0.572917
0.074286
0.097143
0.087619
0.114286
0.114286
0.114286
0
0
0
0
0.006723
0.208777
752
27
73
27.851852
0.87563
0.211436
0
0
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.25
0.0625
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
881390d202e52958fe2ccafc30f2751b864e4927
2,607
py
Python
tourney/tournament/management/commands/waitinglist.py
jonejone/tourney
1372c635c873b6dc6c085a2bfdb02f6528ef25c3
[ "BSD-2-Clause" ]
null
null
null
tourney/tournament/management/commands/waitinglist.py
jonejone/tourney
1372c635c873b6dc6c085a2bfdb02f6528ef25c3
[ "BSD-2-Clause" ]
null
null
null
tourney/tournament/management/commands/waitinglist.py
jonejone/tourney
1372c635c873b6dc6c085a2bfdb02f6528ef25c3
[ "BSD-2-Clause" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from tourney.tournament.models import Tournament, TournamentPlayer from optparse import make_option class Command(BaseCommand): args = '<tournament_slug> --sync' help = 'Manage waiting list' option_list = BaseCommand.option_list + ( ...
33
80
0.588416
269
2,607
5.594796
0.33829
0.058472
0.031894
0.065781
0.152159
0.083721
0.083721
0.083721
0.083721
0.083721
0
0.001122
0.316456
2,607
78
81
33.423077
0.843434
0
0
0.15873
0
0
0.183736
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.063492
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7147e158609fadbf7c12a49e5d6e58fe01d25661
6,842
py
Python
botbank.py
aaxxios/banking
2a2cf091dd965ea8b304f8b0861070107e1b6c17
[ "MIT" ]
null
null
null
botbank.py
aaxxios/banking
2a2cf091dd965ea8b304f8b0861070107e1b6c17
[ "MIT" ]
null
null
null
botbank.py
aaxxios/banking
2a2cf091dd965ea8b304f8b0861070107e1b6c17
[ "MIT" ]
null
null
null
import crudOps import datetime as dt import getpass import hashlib import pyperclip from random import randint import re import time import utils crudOps.setup_db() class InvalidAmount(Exception): pass class UnregisteredAccount(Exception): pass class Bank: def __init__(self): self._logged_in ...
30.959276
77
0.553201
816
6,842
4.507353
0.22549
0.035889
0.032626
0.017673
0.248777
0.187874
0.17727
0.127787
0.11963
0.098967
0
0.012483
0.344344
6,842
220
78
31.1
0.807401
0
0
0.290155
0
0.005181
0.126279
0.004092
0.005181
0
0
0
0
1
0.103627
false
0.062176
0.046632
0.010363
0.259067
0.036269
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7153e599e37fb038964277046c91960d2e501b4f
9,285
py
Python
troposphere_mate/dynamodb.py
tsuttsu305/troposphere_mate-project
15ee94cc913efb32bc991979efcad943c992074c
[ "MIT" ]
null
null
null
troposphere_mate/dynamodb.py
tsuttsu305/troposphere_mate-project
15ee94cc913efb32bc991979efcad943c992074c
[ "MIT" ]
null
null
null
troposphere_mate/dynamodb.py
tsuttsu305/troposphere_mate-project
15ee94cc913efb32bc991979efcad943c992074c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ This code is auto generated from troposphere_mate.code_generator.__init__.py scripts. """ import sys if sys.version_info.major >= 3 and sys.version_info.minor >= 5: # pragma: no cover from typing import Union, List, Any import troposphere.dynamodb from troposphere.dynamodb import ( ...
38.526971
101
0.637049
673
9,285
8.515602
0.130758
0.062816
0.045367
0.033502
0.348281
0.271855
0.245681
0.245681
0.227883
0.227883
0
0.000455
0.290145
9,285
240
102
38.6875
0.869064
0.108562
0
0.482927
1
0
0
0
0
0
0
0
0
1
0.058537
false
0
0.034146
0
0.15122
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71578e46fc323be249652e88defe4a8457f73a42
1,849
py
Python
nipype/interfaces/slicer/legacy/tests/test_auto_LinearRegistration.py
HussainAther/nipype
7e33d086fd5cea6ef6de99ee3e35929c1d5730d4
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/slicer/legacy/tests/test_auto_LinearRegistration.py
HussainAther/nipype
7e33d086fd5cea6ef6de99ee3e35929c1d5730d4
[ "Apache-2.0" ]
null
null
null
nipype/interfaces/slicer/legacy/tests/test_auto_LinearRegistration.py
HussainAther/nipype
7e33d086fd5cea6ef6de99ee3e35929c1d5730d4
[ "Apache-2.0" ]
null
null
null
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from __future__ import unicode_literals from ..registration import LinearRegistration def test_LinearRegistration_inputs(): input_map = dict(FixedImageFileName=dict(argstr='%s', position=-2, ), MovingImageFileName=dict(argstr='%s', position=-1,...
28.446154
71
0.661979
184
1,849
6.548913
0.375
0.107884
0.027386
0.031535
0.177593
0.13112
0.091286
0.091286
0.091286
0.091286
0
0.003351
0.193077
1,849
64
72
28.890625
0.80429
0.027582
0
0.421053
1
0
0.124165
0.038976
0
0
0
0
0.035088
1
0.035088
false
0
0.035088
0
0.070175
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7157c52401ecbc7338284bb80abb2825dabb9dd6
9,295
py
Python
suites/test_git_import.py
redhataccess/cheesecake-api-tests
9f2d255942bd23f93d0edb9d98be3acc360b7863
[ "MIT" ]
1
2019-12-03T21:22:37.000Z
2019-12-03T21:22:37.000Z
suites/test_git_import.py
redhataccess/cheesecake-api-tests
9f2d255942bd23f93d0edb9d98be3acc360b7863
[ "MIT" ]
8
2020-08-28T19:21:16.000Z
2021-06-08T12:22:18.000Z
suites/test_git_import.py
redhataccess/cheesecake-api-tests
9f2d255942bd23f93d0edb9d98be3acc360b7863
[ "MIT" ]
null
null
null
import sys from helpers import base import lemoncheesecake.api as lcc from lemoncheesecake.matching import * from helpers import utilities from helpers import constants import time import requests import json from fixtures import fixture from polling2 import poll git_import_repo_URL = base.config_reader('git_import_te...
63.231293
120
0.72652
1,208
9,295
5.243377
0.127483
0.053994
0.02084
0.026839
0.65251
0.568677
0.525892
0.520051
0.476634
0.455636
0
0.006053
0.164605
9,295
146
121
63.664384
0.809659
0.061108
0
0.114754
0
0
0.256796
0.050694
0
0
0
0
0
1
0.07377
false
0
0.311475
0
0.418033
0.008197
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
715d7dad2033e12170d9bfe4e69fcd1657bb264a
2,902
py
Python
credentialstore/api/pystuffing/secret.py
ToxicSamN/python-credential
cb8c55aaddb185ec5f96e0a91895c3ea8e065320
[ "Apache-2.0" ]
null
null
null
credentialstore/api/pystuffing/secret.py
ToxicSamN/python-credential
cb8c55aaddb185ec5f96e0a91895c3ea8e065320
[ "Apache-2.0" ]
null
null
null
credentialstore/api/pystuffing/secret.py
ToxicSamN/python-credential
cb8c55aaddb185ec5f96e0a91895c3ea8e065320
[ "Apache-2.0" ]
null
null
null
import os import base64 import hashlib from pycrypt.encryption import Encryption, AESCipher from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP, AES class Secret(Encryption): """ This class is iherited from the Encryption class and is used specifically for encrypting and decrypti...
37.688312
95
0.65989
363
2,902
5.093664
0.311295
0.048675
0.024337
0.01947
0
0
0
0
0
0
0
0.007106
0.272571
2,902
76
96
38.184211
0.868783
0.353894
0
0
0
0
0.035506
0
0
0
0
0
0
1
0.081081
false
0.054054
0.189189
0
0.324324
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7160e21ee9fd874c507b8646a9f7da4452da2958
400
py
Python
dictionary/migrations/0013_wordlist_view_count.py
imcinerney/argot
570e90fa6a4637b61e8ca1f223642a9fe060308b
[ "MIT" ]
2
2018-12-15T21:06:40.000Z
2018-12-21T01:19:13.000Z
dictionary/migrations/0013_wordlist_view_count.py
imcinerney/argot
570e90fa6a4637b61e8ca1f223642a9fe060308b
[ "MIT" ]
21
2018-11-02T16:47:38.000Z
2019-02-26T02:39:38.000Z
dictionary/migrations/0013_wordlist_view_count.py
imcinerney/argot
570e90fa6a4637b61e8ca1f223642a9fe060308b
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-12-12 17:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dictionary', '0012_auto_20181210_1740'), ] operations = [ migrations.AddField( model_name='wordlist', name='view_cou...
21.052632
57
0.6125
42
400
5.714286
0.809524
0
0
0
0
0
0
0
0
0
0
0.110727
0.2775
400
18
58
22.222222
0.719723
0.1125
0
0
1
0
0.144476
0.065156
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7163a5b49c9f979564bf8ea49dd6f8798630adb1
1,984
py
Python
polling_stations/apps/data_collection/management/commands/import_plymouth.py
alexsdutton/UK-Polling-Stations
01ec234fd4a832694870d5ed9de069a228397f53
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/data_collection/management/commands/import_plymouth.py
alexsdutton/UK-Polling-Stations
01ec234fd4a832694870d5ed9de069a228397f53
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/data_collection/management/commands/import_plymouth.py
alexsdutton/UK-Polling-Stations
01ec234fd4a832694870d5ed9de069a228397f53
[ "BSD-3-Clause" ]
null
null
null
from data_collection.management.commands import BaseXpressDemocracyClubCsvImporter class Command(BaseXpressDemocracyClubCsvImporter): council_id = "E06000026" addresses_name = "parl.2019-12-12/Version 1/merged.csv" stations_name = "parl.2019-12-12/Version 1/merged.csv" elections = ["parl.2019-12-12"] ...
36.740741
92
0.605847
199
1,984
5.879397
0.512563
0.055556
0.041026
0.030769
0.147009
0.05641
0.05641
0.05641
0.05641
0
0
0.2067
0.292843
1,984
53
93
37.433962
0.627227
0.209677
0
0.232558
0
0
0.221722
0.029563
0
0
0
0
0
1
0.046512
false
0
0.046512
0
0.325581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7165cc37d4dabd7ba53d43ef0ee9d1a90bde1a17
20,910
py
Python
velocity.py
alklein/cosmo-ML
28b883e75c4e1e74c02f3a689870ab43982b89de
[ "BSD-3-Clause" ]
1
2017-01-16T23:12:01.000Z
2017-01-16T23:12:01.000Z
velocity.py
alklein/cosmo-ML
28b883e75c4e1e74c02f3a689870ab43982b89de
[ "BSD-3-Clause" ]
null
null
null
velocity.py
alklein/cosmo-ML
28b883e75c4e1e74c02f3a689870ab43982b89de
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ @file velocity.py @brief Script to learn velocity distributions within DM halos @author Andr...
33.834951
167
0.552224
3,083
20,910
3.638664
0.147908
0.041006
0.029952
0.018542
0.415226
0.366375
0.331342
0.305669
0.276163
0.266536
0
0.040275
0.185414
20,910
617
168
33.889789
0.618329
0.195791
0
0.355091
0
0.020888
0.139585
0.00598
0
0
0
0.001621
0
0
null
null
0
0.010444
null
null
0.088773
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
716cc7e126aebb34d7e7124540f0a677345aacee
1,271
py
Python
monero_glue/messages/BinanceSignTx.py
ph4r05/monero-agent
0bac0e6f33142b2bb885565bfd1ef8ac04559280
[ "MIT" ]
20
2018-04-05T22:06:10.000Z
2021-09-18T10:43:44.000Z
monero_glue/messages/BinanceSignTx.py
ph4r05/monero-agent
0bac0e6f33142b2bb885565bfd1ef8ac04559280
[ "MIT" ]
null
null
null
monero_glue/messages/BinanceSignTx.py
ph4r05/monero-agent
0bac0e6f33142b2bb885565bfd1ef8ac04559280
[ "MIT" ]
5
2018-08-06T15:06:04.000Z
2021-07-16T01:58:43.000Z
# Automatically generated by pb2py # fmt: off from .. import protobuf as p if __debug__: try: from typing import Dict, List # noqa: F401 from typing_extensions import Literal # noqa: F401 except ImportError: pass class BinanceSignTx(p.MessageType): MESSAGE_WIRE_TYPE = 704 d...
28.244444
67
0.565696
153
1,271
4.503268
0.45098
0.058055
0.056604
0
0
0
0
0
0
0
0
0.026932
0.328088
1,271
44
68
28.886364
0.779859
0.049567
0
0
1
0
0.048213
0
0
0
0
0
0
1
0.054054
false
0.027027
0.108108
0.027027
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
716ce61db5c6988fac89a4810b19c75f676ac029
6,607
py
Python
tests/testapp/views.py
pandafy/openwisp-users
747ac34ac59c7fee843f8ad250cc5d12292c722b
[ "BSD-3-Clause" ]
1
2020-03-16T17:19:51.000Z
2020-03-16T17:19:51.000Z
tests/testapp/views.py
pandafy/openwisp-users
747ac34ac59c7fee843f8ad250cc5d12292c722b
[ "BSD-3-Clause" ]
null
null
null
tests/testapp/views.py
pandafy/openwisp-users
747ac34ac59c7fee843f8ad250cc5d12292c722b
[ "BSD-3-Clause" ]
null
null
null
import swapper from rest_framework.generics import ListAPIView, ListCreateAPIView from rest_framework.response import Response from rest_framework.views import APIView from openwisp_users.api.authentication import BearerAuthentication from openwisp_users.api.mixins import ( FilterByOrganizationManaged, FilterB...
34.591623
86
0.772968
594
6,607
8.355219
0.191919
0.06347
0.123917
0.133589
0.495265
0.469676
0.383639
0.32843
0.168245
0.168245
0
0.000354
0.143938
6,607
190
87
34.773684
0.877122
0.012108
0
0.4375
0
0
0.020383
0.003372
0
0
0
0
0
1
0.048611
false
0
0.0625
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
0
0
1
0
0
1
71702f47dd44f2673e6ce85d4becfec950985cee
282
py
Python
arxivsearch/utils.py
ethangoan/arxivsearch
0406cb9a73c033594a283a2df17e535385555f39
[ "MIT" ]
28
2018-05-28T11:49:29.000Z
2022-01-06T12:42:06.000Z
arxivsearch/utils.py
ethangoan/arxivsearch
0406cb9a73c033594a283a2df17e535385555f39
[ "MIT" ]
1
2019-11-18T03:12:49.000Z
2019-11-18T03:13:23.000Z
arxivsearch/utils.py
ethangoan/arxivsearch
0406cb9a73c033594a283a2df17e535385555f39
[ "MIT" ]
2
2018-11-27T15:22:43.000Z
2021-06-22T02:15:06.000Z
import pandas as pd def read_clean_csv(path, sep='|'): """will read and clean a csv file'""" df = pd.read_csv(path, sep=sep) if('Unnamed: 0' in df.columns.values): df = remove_unnamed(df) return(df) def remove_unnamed(df): df = df.drop('Unnamed: 0', 1) return df
20.142857
40
0.648936
49
282
3.632653
0.510204
0.078652
0.11236
0
0
0
0
0
0
0
0
0.013158
0.191489
282
13
41
21.692308
0.767544
0.109929
0
0
0
0
0.085714
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
71704b6c55dc39e8db5f3b43ba7b28ddff8d41ef
8,741
py
Python
rbs/local/bazel_bf.py
hchauvin/bazel-aws-infra
587eb7c11d528148c0243eaa392ef070e44f32b8
[ "Apache-2.0" ]
6
2019-07-05T01:02:45.000Z
2021-12-05T02:04:32.000Z
rbs/local/bazel_bf.py
hchauvin/bazel-aws-infra
587eb7c11d528148c0243eaa392ef070e44f32b8
[ "Apache-2.0" ]
null
null
null
rbs/local/bazel_bf.py
hchauvin/bazel-aws-infra
587eb7c11d528148c0243eaa392ef070e44f32b8
[ "Apache-2.0" ]
5
2019-07-05T01:02:49.000Z
2020-09-04T16:50:05.000Z
# Copyright 2018 The Bazel Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
32.615672
99
0.694772
1,133
8,741
5.206531
0.240071
0.023733
0.044075
0.015596
0.301238
0.227157
0.149178
0.090354
0.062553
0.032548
0
0.005433
0.199863
8,741
267
100
32.737828
0.838004
0.0691
0
0.228856
0
0
0.327347
0.012323
0
0
0
0
0.004975
0
null
null
0
0.049751
null
null
0.034826
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7171207181ad614453fb90eee18560d1318c6092
241
py
Python
esprint.py
Teekay-X/VirusXX
7ca1e743e91496174ac81e49b45dcb6ec812487a
[ "Apache-2.0" ]
5
2021-06-30T23:35:14.000Z
2021-09-09T23:44:11.000Z
esprint.py
Teekay-X/VirusXX
7ca1e743e91496174ac81e49b45dcb6ec812487a
[ "Apache-2.0" ]
null
null
null
esprint.py
Teekay-X/VirusXX
7ca1e743e91496174ac81e49b45dcb6ec812487a
[ "Apache-2.0" ]
1
2021-06-30T23:37:54.000Z
2021-06-30T23:37:54.000Z
#!/usr/bin/env python import sys import time def delay_print(s): for c in s: sys.stdout.write(c) sys.stdout.flush() time.sleep(0.01) delay_print delay_print ("\033[;1m Please enter correct number!") delay_print
17.214286
53
0.659751
39
241
3.974359
0.666667
0.258065
0
0
0
0
0
0
0
0
0
0.037234
0.219917
241
14
54
17.214286
0.787234
0.082988
0
0.2
0
0
0.167421
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
0.4
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
717181cb9b2462abaeba46456685d8422734c006
9,430
py
Python
src/licensedcode/plugin_license.py
sthagen/nexB-scancode-toolkit
12cc1286df78af898fae76fa339da2bb50ad51b9
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
src/licensedcode/plugin_license.py
sthagen/nexB-scancode-toolkit
12cc1286df78af898fae76fa339da2bb50ad51b9
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
src/licensedcode/plugin_license.py
sthagen/nexB-scancode-toolkit
12cc1286df78af898fae76fa339da2bb50ad51b9
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
# # Copyright (c) nexB Inc. and others. All rights reserved. # ScanCode is a trademark of nexB Inc. # SPDX-License-Identifier: Apache-2.0 # See http://www.apache.org/licenses/LICENSE-2.0 for the license text. # See https://github.com/nexB/scancode-toolkit for support or download. # See https://aboutcode.org for more in...
33.439716
87
0.648568
1,050
9,430
5.649524
0.242857
0.039447
0.016183
0.021915
0.288098
0.239211
0.170937
0.093392
0.072488
0.057653
0
0.002327
0.270838
9,430
281
88
33.558719
0.860384
0.18473
0
0.244444
0
0
0.157705
0.030765
0
0
0
0.010676
0
1
0.061111
false
0.005556
0.1
0.011111
0.244444
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7181b00402fae71a2d0fa082851c967d79844b71
1,404
py
Python
main.py
mukeshmike9/WhatsAppPython
f239b14f6040a967ad062d85ba0b806e9b04cffb
[ "MIT" ]
null
null
null
main.py
mukeshmike9/WhatsAppPython
f239b14f6040a967ad062d85ba0b806e9b04cffb
[ "MIT" ]
null
null
null
main.py
mukeshmike9/WhatsAppPython
f239b14f6040a967ad062d85ba0b806e9b04cffb
[ "MIT" ]
null
null
null
#! /usr/bin/python3 from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By import time import string import random import pyjokes ...
34.243902
130
0.732906
200
1,404
5.05
0.535
0.059406
0.083168
0.055446
0.083168
0.083168
0.083168
0.083168
0.083168
0
0
0.013245
0.139601
1,404
40
131
35.1
0.822848
0.17735
0
0
0
0
0.254134
0.048738
0
0
0
0
0
1
0
false
0
0.321429
0
0.321429
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7187d4f669820c7fccc8b9fa77b94d98141bc075
31,617
py
Python
nappy/nc_interface/na_content_collector.py
ahurka/nappy
153f2f86a40801619d91f2c87abb55d1e97ada87
[ "BSD-3-Clause" ]
null
null
null
nappy/nc_interface/na_content_collector.py
ahurka/nappy
153f2f86a40801619d91f2c87abb55d1e97ada87
[ "BSD-3-Clause" ]
null
null
null
nappy/nc_interface/na_content_collector.py
ahurka/nappy
153f2f86a40801619d91f2c87abb55d1e97ada87
[ "BSD-3-Clause" ]
null
null
null
# Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ). # This software may be distributed under the terms of the # Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt """ na_content_collector.py ======================= Holds the class NAContentCollec...
41.061039
157
0.541544
3,951
31,617
4.162491
0.143255
0.038307
0.062629
0.013134
0.307795
0.219445
0.17676
0.14429
0.119056
0.102761
0
0.014886
0.360471
31,617
769
158
41.114434
0.798467
0.143499
0
0.253669
0
0.004193
0.076105
0.007117
0
0
0
0
0
0
null
null
0.006289
0.031447
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7187db177a21be1505ae06c6abca7eac5e1e7fed
11,717
py
Python
pyutils/iolib/video.py
basilevh/spatialaudiogen
0409be999f6afea1bd3ef11506015fbf67799952
[ "Apache-2.0", "BSD-2-Clause" ]
63
2018-09-25T08:13:49.000Z
2022-03-21T18:05:59.000Z
pyutils/iolib/video.py
basilevh/spatialaudiogen
0409be999f6afea1bd3ef11506015fbf67799952
[ "Apache-2.0", "BSD-2-Clause" ]
13
2019-06-05T04:56:21.000Z
2022-03-11T23:28:10.000Z
pyutils/iolib/video.py
basilevh/spatialaudiogen
0409be999f6afea1bd3ef11506015fbf67799952
[ "Apache-2.0", "BSD-2-Clause" ]
15
2019-04-29T22:45:24.000Z
2022-03-21T18:06:14.000Z
import os, re import numpy as np from pyutils.cmd import runSystemCMD import skimage.io as sio OPENCV = 0 IMAGEIO = 1 FFMPEG = 2 BACKENDS = {'opencv': OPENCV, 'imageio': IMAGEIO, 'ffmpeg': FFMPEG} def getFFprobeMeta(fn): cmd = 'ffprobe -hide_banner -loglevel panic ' + fn + ' -show_streams' log, _ = runSystem...
30.04359
108
0.551848
1,506
11,717
4.132802
0.132138
0.032616
0.016067
0.013496
0.414524
0.354916
0.287436
0.231844
0.190071
0.165328
0
0.014557
0.343347
11,717
389
109
30.120823
0.794385
0.009644
0
0.409677
0
0
0.037596
0.013969
0
0
0
0
0.012903
0
null
null
0
0.03871
null
null
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7190c9ca9015d1eab900387186c741efab4ac510
1,063
py
Python
tests/mockup/irankish_gateway.py
meyt/pyment
56fda0deb3f19146348edfe829fb01a50d2fff27
[ "MIT" ]
null
null
null
tests/mockup/irankish_gateway.py
meyt/pyment
56fda0deb3f19146348edfe829fb01a50d2fff27
[ "MIT" ]
1
2017-11-16T10:02:16.000Z
2017-11-16T14:57:09.000Z
tests/mockup/irankish_gateway.py
meyt/pyment
56fda0deb3f19146348edfe829fb01a50d2fff27
[ "MIT" ]
null
null
null
import mock from zeep import exceptions def get_side_effect( returned_token="RETURNED_TOKEN", verify_result=1, raise_zeep_fault=False, raise_zeep_error=False, ): # noinspection PyPep8Naming # noinspection PyMethodMayBeStatic # noinspection PyUnusedLocal class ClientService: c...
24.159091
61
0.612418
106
1,063
5.886792
0.358491
0.072115
0.067308
0.048077
0.264423
0.219551
0.157051
0.157051
0.157051
0.157051
0
0.002729
0.310442
1,063
43
62
24.72093
0.848568
0.079962
0
0.214286
0
0
0.060575
0
0
0
0
0
0
1
0.178571
false
0.035714
0.071429
0.035714
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
71941b9488ec3fae47ddf4808aa7470a8a7726c1
2,995
py
Python
PythonBase/Python_RegEx.py
zmsch27/Python
2e1bfd9fc813105aa542e483e9d2e565a2065b9e
[ "Apache-2.0" ]
3
2016-07-23T07:10:21.000Z
2017-07-08T16:42:03.000Z
PythonBase/Python_RegEx.py
zmsch27/Python
2e1bfd9fc813105aa542e483e9d2e565a2065b9e
[ "Apache-2.0" ]
null
null
null
PythonBase/Python_RegEx.py
zmsch27/Python
2e1bfd9fc813105aa542e483e9d2e565a2065b9e
[ "Apache-2.0" ]
1
2020-09-22T16:19:59.000Z
2020-09-22T16:19:59.000Z
#以下来自廖雪峰的Python学习之Python正则表达式 #正则表达式是一种用来匹配字符串的强有力的武器。 #它的设计思想是用一种描述性的语言来给字符串定义一个规则,凡是符合规则的字符串,我们就认为它“匹配”了,否则,该字符串就是不合法的。 #@在正则表达式中,如果直接给出字符,就是精确匹配。用\d可以匹配一个数字,\w可以匹配一个字母或数字,所以: #'00\d'可以匹配'007',但无法匹配'00A'; #'\d\d\d'可以匹配'010'; #'\w\w\d'可以匹配'py3'; #.可以匹配任意字符,所以:'py.'可以匹配'pyc'、'pyo'、'py!'等等。 #要匹配变长的字符,在正则表达式中,用*表示任意个字...
34.034091
97
0.571285
386
2,995
4.437824
0.471503
0.016346
0.012259
0.011675
0.135435
0.100992
0.09749
0.085814
0.07589
0.05721
0
0.052539
0.046745
2,995
88
98
34.034091
0.543257
0.665109
0
0.307692
0
0
0.420502
0.224895
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0.730769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
719921eea7633adc516331650af6ff736a46354f
4,383
py
Python
Objects/Board.py
arkenopterix/RoyalUr
6b211ab81c42149f64654ef6b879e97104561247
[ "MIT" ]
null
null
null
Objects/Board.py
arkenopterix/RoyalUr
6b211ab81c42149f64654ef6b879e97104561247
[ "MIT" ]
null
null
null
Objects/Board.py
arkenopterix/RoyalUr
6b211ab81c42149f64654ef6b879e97104561247
[ "MIT" ]
null
null
null
##############class##################### class Board: """ This class defines the board object used in the game""" ##############constructeur################## def __init__(self): #self.boardTab = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] self.boardDic = {"A1":[0,"A2"],"A2":[0,"A3"],"A3":[0,"A4"...
60.041096
477
0.59457
614
4,383
4.237785
0.18241
0.147579
0.104919
0.026134
0.470023
0.395081
0.333205
0.333205
0.295542
0.2794
0
0.050847
0.219256
4,383
73
478
60.041096
0.709527
0.311202
0
0.390244
0
0.02439
0.17424
0
0
0
0
0
0
1
0.219512
false
0
0
0.04878
0.487805
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
71a0fd407883460070d7f8f42383e1f186a080e5
6,648
py
Python
mayan/apps/django_gpg/tests/test_models.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
1
2021-02-24T15:03:23.000Z
2021-02-24T15:03:23.000Z
mayan/apps/django_gpg/tests/test_models.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
null
null
null
mayan/apps/django_gpg/tests/test_models.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
1
2020-08-09T09:06:59.000Z
2020-08-09T09:06:59.000Z
import io import gnupg import mock from django.utils.encoding import force_bytes from mayan.apps.storage.utils import TemporaryFile from mayan.apps.testing.tests.base import BaseTestCase from ..exceptions import ( DecryptionError, KeyDoesNotExist, NeedPassphrase, PassphraseError, VerificationError ) from .....
36.527473
77
0.699759
819
6,648
5.335775
0.137973
0.040046
0.070481
0.047597
0.653776
0.624714
0.585812
0.582151
0.559268
0.557437
0
0.001353
0.22157
6,648
181
78
36.729282
0.843092
0.008273
0
0.40458
0
0
0.010772
0
0
0
0
0
0.152672
1
0.122137
false
0.068702
0.076336
0
0.206107
0.083969
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
71a6bfe06dec7b97c7afb00b90e23ad5fd86efc5
1,145
py
Python
tools/trainval_split.py
wusize/deeproute_competition
b1068ce271ecc4c41ab0bd51e234879f3fb214c8
[ "Apache-2.0" ]
1
2021-11-05T06:41:30.000Z
2021-11-05T06:41:30.000Z
tools/trainval_split.py
wusize/deeproute_competition
b1068ce271ecc4c41ab0bd51e234879f3fb214c8
[ "Apache-2.0" ]
null
null
null
tools/trainval_split.py
wusize/deeproute_competition
b1068ce271ecc4c41ab0bd51e234879f3fb214c8
[ "Apache-2.0" ]
null
null
null
import os trainval = '/mnt/lustre/datatag/bixueting/deeproute/training/groundtruth' test = '/mnt/lustre/datatag/bixueting/deeproute/testing/pointcloud' train_txt = '/mnt/lustre/datatag/bixueting/deeproute/ImageSets/train.txt' val_txt = '/mnt/lustre/datatag/bixueting/deeproute/ImageSets/val.txt' trainval_txt = '/mnt/...
30.945946
79
0.617467
167
1,145
4.185629
0.215569
0.077253
0.137339
0.214592
0.792561
0.695279
0.695279
0.432046
0.432046
0.357654
0
0.021566
0.230568
1,145
37
80
30.945946
0.77185
0
0
0.481481
0
0
0.319372
0.308901
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71b303a6d801b774309914f3249238a2a9191d10
4,258
py
Python
livius/video/processing/visualization/slide_boundaries.py
papar22/livius
a28929ef27f9737a598bbae36360ebe7b55a3f41
[ "Unlicense" ]
1
2018-05-08T20:04:08.000Z
2018-05-08T20:04:08.000Z
livius/video/processing/visualization/slide_boundaries.py
raffienficiaud/livius
a28929ef27f9737a598bbae36360ebe7b55a3f41
[ "Unlicense" ]
null
null
null
livius/video/processing/visualization/slide_boundaries.py
raffienficiaud/livius
a28929ef27f9737a598bbae36360ebe7b55a3f41
[ "Unlicense" ]
null
null
null
""" Visualise the min/max function for the slides contrast """ def visualize_environment_changes_and_histogram_interpolation(path_to_video, path_to_json_file): from video.processing.postProcessing import ContrastEnhancer # Read the Json file corr, boundaries, frame_ids = read_histogram_correlations_a...
30.855072
118
0.654298
603
4,258
4.451078
0.26534
0.029806
0.040984
0.052161
0.198957
0.146796
0.115499
0.115499
0.09389
0.09389
0
0.019124
0.23861
4,258
137
119
31.080292
0.80876
0.209018
0
0.090909
0
0
0.043707
0
0
0
0
0.007299
0
0
null
null
0
0.015152
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71bc0067418ca3c1934ffbdf3b597689b6245592
2,568
py
Python
wrapped_io.py
Artemigos/rpi_adjustable_desk
58cc659dfcbab81fe9028d9ae27e9072f86ff39b
[ "MIT" ]
null
null
null
wrapped_io.py
Artemigos/rpi_adjustable_desk
58cc659dfcbab81fe9028d9ae27e9072f86ff39b
[ "MIT" ]
null
null
null
wrapped_io.py
Artemigos/rpi_adjustable_desk
58cc659dfcbab81fe9028d9ae27e9072f86ff39b
[ "MIT" ]
null
null
null
import RPi.GPIO as gpio class Output(): def __init__(self, pin, on_state = 0, name = ""): self.pin = pin self.on_state = on_state self.name = name self.off_state = 1 - on_state gpio.setup(pin, gpio.OUT) self.off() print("[debug] set up pin", pin, "to be an ou...
28.21978
78
0.569315
341
2,568
4.096774
0.190616
0.040086
0.021475
0.036507
0.206156
0.127416
0.091625
0.091625
0.091625
0.052971
0
0.002262
0.311526
2,568
90
79
28.533333
0.787896
0
0
0.169014
0
0
0.039735
0
0
0
0
0
0
1
0.211268
false
0.014085
0.014085
0.084507
0.394366
0.056338
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
71be6a1a692bcda4c015bcb0a2914873633c442a
12,094
py
Python
xlsbackup/backup.py
uees/happyWork
73749169167a7760df7fe063aefda9a8c2cc993d
[ "Apache-2.0" ]
null
null
null
xlsbackup/backup.py
uees/happyWork
73749169167a7760df7fe063aefda9a8c2cc993d
[ "Apache-2.0" ]
1
2019-10-30T02:03:22.000Z
2019-10-30T02:03:22.000Z
xlsbackup/backup.py
uees/happyWork
73749169167a7760df7fe063aefda9a8c2cc993d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import argparse import logging import os import shutil from datetime import datetime import time import win32com.client from pywintypes import com_error from sqlalchemy import Column, Integer, String, create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalch...
33.501385
102
0.511328
1,261
12,094
4.707375
0.226804
0.143531
0.165094
0.247642
0.392689
0.336422
0.311152
0.311152
0.311152
0.301381
0
0.030326
0.351083
12,094
360
103
33.594444
0.72579
0.015297
0
0.403279
0
0
0.104428
0.007366
0
0
0
0
0
1
0.032787
false
0
0.039344
0
0.363934
0.006557
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71bec872b6999c11dfeacc66bd5e2d0f11d7dc3b
2,062
py
Python
src/__init__.py
MishaCatskill/lykos
d2ed4859958a24677fd4dab25391e9e6016a81f8
[ "BSD-2-Clause" ]
null
null
null
src/__init__.py
MishaCatskill/lykos
d2ed4859958a24677fd4dab25391e9e6016a81f8
[ "BSD-2-Clause" ]
null
null
null
src/__init__.py
MishaCatskill/lykos
d2ed4859958a24677fd4dab25391e9e6016a81f8
[ "BSD-2-Clause" ]
null
null
null
import argparse import datetime import time import botconfig import src.settings as var from src import logger from src.logger import stream, stream_handler, debuglog, errlog, plog from src import db # Import the user-defined game modes # These are not required, so failing to import it doesn't matter # The file then ...
27.864865
75
0.728904
298
2,062
4.946309
0.399329
0.048847
0.046133
0.042741
0.092266
0.065129
0
0
0
0
0
0.0006
0.191562
2,062
73
76
28.246575
0.883623
0.326382
0
0.088889
0
0
0.078045
0
0
0
0
0
0
1
0
false
0
0.311111
0
0.311111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
71bf3e41b27aa4874c47955195667394b552da1e
1,319
py
Python
setup.py
stargz/autoremove-torrents
98fe5fb4e90bacb577357d173c580652c3de6437
[ "MIT" ]
437
2018-03-26T09:01:30.000Z
2022-03-27T05:30:36.000Z
setup.py
stargz/autoremove-torrents
98fe5fb4e90bacb577357d173c580652c3de6437
[ "MIT" ]
111
2018-03-29T02:37:01.000Z
2022-03-02T08:04:20.000Z
setup.py
stargz/autoremove-torrents
98fe5fb4e90bacb577357d173c580652c3de6437
[ "MIT" ]
99
2018-03-26T10:03:13.000Z
2022-03-31T22:57:01.000Z
#-*- coding:UTF-8 -*- from setuptools import setup, find_packages from autoremovetorrents.version import __version__ from autoremovetorrents.compatibility.disk_usage_ import SUPPORT_SHUTIL from autoremovetorrents.compatibility.open_ import open_ setup(name = 'autoremove-torrents', version = __version__, descr...
33.820513
80
0.658832
127
1,319
6.637795
0.645669
0.078292
0.083037
0
0
0
0
0
0
0
0
0.007797
0.222138
1,319
39
81
33.820513
0.81384
0.068234
0
0.055556
0
0
0.348534
0.040717
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
71c67693e90a32897e8ee5f7b5cc3c814a07f756
3,319
py
Python
src/checker.py
SaptakS/apercis-crawler
2ec1ca9d37c38809447af6125c332c8f160d8fa1
[ "MIT" ]
null
null
null
src/checker.py
SaptakS/apercis-crawler
2ec1ca9d37c38809447af6125c332c8f160d8fa1
[ "MIT" ]
null
null
null
src/checker.py
SaptakS/apercis-crawler
2ec1ca9d37c38809447af6125c332c8f160d8fa1
[ "MIT" ]
null
null
null
import re import md5 import urlparse import robotparser import threading # Dictionary to store the MD5 digest of a page that have been visited. page_trace = {} lock_pagetrace = threading.Lock() # Dictionary to store the robots.txt previously obtained. robot_trace = {} lock_robottrace = threading.Lock() class Checker...
25.335878
133
0.663754
504
3,319
4.246032
0.287698
0.029907
0.028037
0.021028
0.202336
0.202336
0.18271
0.18271
0.164486
0.164486
0
0.002628
0.197349
3,319
130
134
25.530769
0.800676
0.07683
0
0.40404
0
0
0.089691
0
0
0
0
0
0
0
null
null
0
0.050505
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71c6f8dfac410b98aff0b88727e012c9afd6a845
3,426
py
Python
Code_and_texts/HashMap.py
albert-espin/hash-heap-word-finder
69cc6865a60594096b57784afe43e060bcfd0177
[ "MIT" ]
null
null
null
Code_and_texts/HashMap.py
albert-espin/hash-heap-word-finder
69cc6865a60594096b57784afe43e060bcfd0177
[ "MIT" ]
null
null
null
Code_and_texts/HashMap.py
albert-espin/hash-heap-word-finder
69cc6865a60594096b57784afe43e060bcfd0177
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from TextWord import * from HashSlot import * class HashMap(object): def __init__(self): self._array = [] self._size = 0 # s'incrementa quan resulta necessari self._filledSlots = 0 # quantitat de cel·les omplertes self._collisionAmount = 0 # nombre de col·l...
36.446809
161
0.626095
474
3,426
4.453587
0.305907
0.076741
0.086215
0.108953
0.215064
0.08811
0
0
0
0
0
0.007852
0.256567
3,426
94
162
36.446809
0.81704
0.08202
0
0.092308
0
0
0.000827
0
0
0
0
0
0
0
null
null
0
0.030769
null
null
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71cdc4e278242a02610c7cc043ac542896d3b244
1,645
py
Python
setup.py
Amin1360/accelergy-aladdin-plug-in
118535cc436df83b056343776c96dd17b6bc23ba
[ "MIT" ]
1
2021-09-30T06:14:16.000Z
2021-09-30T06:14:16.000Z
setup.py
Amin-Azar/accelergy-aladdin-plug-in
118535cc436df83b056343776c96dd17b6bc23ba
[ "MIT" ]
null
null
null
setup.py
Amin-Azar/accelergy-aladdin-plug-in
118535cc436df83b056343776c96dd17b6bc23ba
[ "MIT" ]
3
2020-05-29T14:38:45.000Z
2020-09-29T00:38:08.000Z
from setuptools import setup import os def readme(): with open('README.md') as f: return f.read() setup( name='accelergy-aladdin-plug-in', version='0.1', description='An energy estimation plug-in for Accelergy framework', classifiers=[ 'Development Status :: 3 - Alpha...
35.76087
88
0.518541
159
1,645
5.232704
0.553459
0.092548
0.043269
0.079327
0.127404
0.127404
0.127404
0.127404
0.127404
0
0
0.005676
0.357447
1,645
45
89
36.555556
0.781457
0
0
0.046512
0
0
0.444377
0.149544
0
0
0
0
0
1
0.023256
true
0
0.046512
0
0.093023
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
71d0832275c7552dd377158c32acab0a02ee0a0a
104,399
py
Python
src/com/dtmilano/android/viewclient.py
Fuzion24/AndroidViewClient
b1dad1f059cb564aca8e55247dc16d55a3248ee9
[ "Apache-2.0" ]
3
2016-06-22T17:24:57.000Z
2020-05-29T20:08:18.000Z
src/com/dtmilano/android/viewclient.py
Fuzion24/AndroidViewClient
b1dad1f059cb564aca8e55247dc16d55a3248ee9
[ "Apache-2.0" ]
null
null
null
src/com/dtmilano/android/viewclient.py
Fuzion24/AndroidViewClient
b1dad1f059cb564aca8e55247dc16d55a3248ee9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Copyright (C) 2012-2014 Diego Torres Milano Created on Feb 2, 2012 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 Un...
38.325624
202
0.562371
11,698
104,399
4.929646
0.107967
0.013734
0.024035
0.008566
0.377703
0.327015
0.282085
0.247854
0.220958
0.203253
0
0.007756
0.330607
104,399
2,723
203
38.339699
0.817412
0.047692
0
0.34291
0
0.006112
0.136562
0.020597
0
0
0.000237
0.001836
0.001222
0
null
null
0.007946
0.009169
null
null
0.061125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71d0c05a04127f0bcb4a4f592b7f88e3cf265521
2,382
py
Python
tests/building/test_tab_to_rdf_service.py
nleguillarme/inteGraph
65faae4b7c16977094c387f6359980a4e99f94cb
[ "Apache-2.0" ]
null
null
null
tests/building/test_tab_to_rdf_service.py
nleguillarme/inteGraph
65faae4b7c16977094c387f6359980a4e99f94cb
[ "Apache-2.0" ]
null
null
null
tests/building/test_tab_to_rdf_service.py
nleguillarme/inteGraph
65faae4b7c16977094c387f6359980a4e99f94cb
[ "Apache-2.0" ]
null
null
null
from ..context import biodivgraph, ROOT_DIR from biodivgraph.core import TaxId from biodivgraph.building.services import TabData2RDFService from biodivgraph.utils.config_helper import read_config import os import pytest def assert_exists(file): assert os.path.exists(file) == True def make_config(): rootDir ...
29.775
88
0.6822
315
2,382
4.863492
0.215873
0.201044
0.155352
0.055483
0.454308
0.424935
0.384465
0.349217
0.319191
0.319191
0
0.014392
0.212427
2,382
79
89
30.151899
0.802239
0
0
0.241935
0
0
0.056255
0
0
0
0
0
0.129032
1
0.129032
false
0
0.096774
0
0.258065
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71d81e067f20ebb6903931f575fc848379d0367c
5,141
py
Python
pysnmp/CISCO-VLAN-BRIDGING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-VLAN-BRIDGING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-VLAN-BRIDGING-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 CISCO-VLAN-BRIDGING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-VLAN-BRIDGING-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:02:27 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
104.918367
762
0.770278
547
5,141
7.235832
0.250457
0.00758
0.010611
0.014149
0.299646
0.228903
0.197575
0.197575
0.197575
0.195048
0
0.069589
0.085975
5,141
48
763
107.104167
0.772718
0.066135
0
0.102564
0
0
0.191778
0.048205
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71d824ae5e4c0b6804aa7a3044e70a9ee6ae641f
19,439
py
Python
asreader/text_comprehension/eval/fusion.py
rkadlec/asreader
291425c23e888bac19dcbd58bd4481e575a4d75f
[ "Unlicense" ]
113
2016-06-28T00:42:55.000Z
2021-07-08T16:50:10.000Z
asreader/text_comprehension/eval/fusion.py
siousiou/asreader
291425c23e888bac19dcbd58bd4481e575a4d75f
[ "Unlicense" ]
14
2016-07-06T02:57:43.000Z
2021-07-08T14:29:24.000Z
asreader/text_comprehension/eval/fusion.py
siousiou/asreader
291425c23e888bac19dcbd58bd4481e575a4d75f
[ "Unlicense" ]
37
2016-06-30T07:59:52.000Z
2020-02-19T08:30:15.000Z
from __future__ import division import argparse import glob import numpy import scipy.optimize as opt import os import pickle import re """ This script computes ensemble predictions based on multiple ASReader models. In an optional first step it loads a dumped model and generates predictions from a validation and te...
43.293987
200
0.706312
2,539
19,439
5.222529
0.167783
0.034615
0.021795
0.01267
0.278356
0.240271
0.20724
0.173077
0.161011
0.161011
0
0.003444
0.208241
19,439
448
201
43.390625
0.858099
0.086013
0
0.265152
0
0
0.207022
0.01826
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.132576
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71dc5b3ed8e43290395fcada8709bc1a2b6ae724
4,438
py
Python
northwind.py
JeffreyAsuncion/SC2020_08_01
c65ac5509b1c6bbf1aedade860075e78b56e065a
[ "MIT" ]
null
null
null
northwind.py
JeffreyAsuncion/SC2020_08_01
c65ac5509b1c6bbf1aedade860075e78b56e065a
[ "MIT" ]
null
null
null
northwind.py
JeffreyAsuncion/SC2020_08_01
c65ac5509b1c6bbf1aedade860075e78b56e065a
[ "MIT" ]
null
null
null
import os import sqlite3 from query_function import query_and_print """ THIS is the output from your queries as docstring comments FOR GRADING PURPOSES $ python northwind.py ******************************************************************************** PART TWO *****************************************************...
28.088608
80
0.670122
610
4,438
4.803279
0.360656
0.061433
0.031058
0.03686
0.438567
0.403754
0.384642
0.384642
0.371331
0.371331
0
0.030761
0.135647
4,438
157
81
28.267516
0.733055
0.021857
0
0.457143
0
0
0.669094
0.039144
0
0
0
0
0
1
0
false
0
0.042857
0
0.042857
0.271429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
71dfdea60f06d5906005d2afc16fd5510bcec0d4
10,202
py
Python
tragit.py
abhishekdelta/tragit
8ff28488476f5ad022b01be4c7237607986fcc5d
[ "BSD-3-Clause" ]
null
null
null
tragit.py
abhishekdelta/tragit
8ff28488476f5ad022b01be4c7237607986fcc5d
[ "BSD-3-Clause" ]
1
2017-02-22T19:45:55.000Z
2017-02-22T19:45:55.000Z
tragit.py
abhishekdelta/tragit
8ff28488476f5ad022b01be4c7237607986fcc5d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Package: Tragit # Author: Abhishek Shrivastava <i.abhi27[at]gmail[dot]com>. # License: BSD License # TODO: Add optionsparser. Specify username password via options parser and auto create setup file. Override configs via optionsparser. import sys import github import csv import ConfigParser cla...
48.122642
139
0.563223
1,127
10,202
4.947649
0.192547
0.039455
0.031564
0.036585
0.27977
0.210366
0.158178
0.142037
0.11155
0.11155
0
0.002485
0.329445
10,202
211
140
48.350711
0.812601
0.024407
0
0.195266
0
0.005917
0.236678
0.003217
0
0
0
0.004739
0.005917
0
null
null
0.017751
0.023669
null
null
0.08284
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
71dff43f7ab0e4f50cd994bb35aed81fc8df85fe
705
py
Python
src/modules/debug_signals/module.py
jroscoe5/catbox
52d2911193e3eae211c5828af37a11286f25cf14
[ "MIT" ]
3
2021-11-30T22:56:21.000Z
2021-12-02T17:21:14.000Z
src/modules/debug_signals/module.py
jroscoe5/catbox
52d2911193e3eae211c5828af37a11286f25cf14
[ "MIT" ]
null
null
null
src/modules/debug_signals/module.py
jroscoe5/catbox
52d2911193e3eae211c5828af37a11286f25cf14
[ "MIT" ]
null
null
null
# debug_signals # # Catbox module for emitting events while debugging and testing # # Authors: # Jonathon Roscoe / @jroscoe5 # from time import sleep from modules.base_module import BaseModule class DebugSignalsModule(BaseModule): """ Emits events for debugging and testing """ def __init__(self)...
21.363636
64
0.622695
81
705
5.259259
0.54321
0.077465
0.089202
0.089202
0.112676
0
0
0
0
0
0
0.017308
0.262411
705
32
65
22.03125
0.801923
0.269504
0
0
0
0
0.044681
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e07e5d073924d750d76dddad234ab4fc7ccbe81e
2,501
py
Python
Lib/lib-tk/tkFileDialog.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
5
2022-03-26T21:53:36.000Z
2022-03-30T21:47:20.000Z
Lib/lib-tk/tkFileDialog.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
6
2020-11-18T15:48:14.000Z
2021-05-03T21:20:50.000Z
Lib/lib-tk/tkFileDialog.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
2
2015-07-16T08:14:13.000Z
2022-03-27T01:55:17.000Z
# # Instant Python # $Id$ # # tk common file dialogues # # this module provides interfaces to the native file dialogues # available in Tk 4.2 and newer. # # written by Fredrik Lundh, May 1997. # # # options (all have default values): # # - defaultextension: added to filename if not explicitly given # # - filetypes: se...
23.373832
72
0.634546
299
2,501
5.257525
0.441472
0.022901
0.026718
0.057252
0.223919
0.223919
0.202926
0.105598
0.06743
0.06743
0
0.003146
0.237505
2,501
106
73
23.59434
0.821185
0.363055
0
0.238095
0
0
0.207341
0
0
0
0
0.009434
0
0
null
null
0.02381
0.047619
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e08500bbff873c907b13a9df4f7386301b58e2b4
335
py
Python
routes/web.py
girardinsamuel/api
6e4ec0a991fb2df1a9e23e8676a93bebfd0b53d5
[ "MIT" ]
12
2018-09-23T02:37:57.000Z
2021-11-08T08:50:56.000Z
routes/web.py
girardinsamuel/api
6e4ec0a991fb2df1a9e23e8676a93bebfd0b53d5
[ "MIT" ]
12
2018-10-01T17:10:59.000Z
2021-04-25T16:29:14.000Z
routes/web.py
girardinsamuel/api
6e4ec0a991fb2df1a9e23e8676a93bebfd0b53d5
[ "MIT" ]
8
2018-09-23T08:08:07.000Z
2021-04-25T18:37:05.000Z
""" Web Routes """ from masonite.routes import Get, Post from src.api.routes import JWTRoutes, TokenRoutes from app.resources.UserResource import UserResource ROUTES = [ Get().route('/', 'WelcomeController@show').name('welcome'), UserResource('/api/user').routes(), TokenRoutes('/token'), JWTRoutes('/...
23.928571
63
0.695522
36
335
6.472222
0.611111
0.103004
0
0
0
0
0
0
0
0
0
0
0.137313
335
13
64
25.769231
0.806228
0.029851
0
0
0
0
0.173502
0.069401
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e088ea902b7a8390fba047b610e5434046bc7043
1,979
py
Python
train.py
RamjiThulasiram/Image_Classifier_Python
032b6ae4d4364205700c8000e1fde60031f85c90
[ "MIT" ]
null
null
null
train.py
RamjiThulasiram/Image_Classifier_Python
032b6ae4d4364205700c8000e1fde60031f85c90
[ "MIT" ]
null
null
null
train.py
RamjiThulasiram/Image_Classifier_Python
032b6ae4d4364205700c8000e1fde60031f85c90
[ "MIT" ]
null
null
null
import torch from torch import nn from torch import optim import torch.nn.functional as F from torchvision import datasets,transforms,models from collections import OrderedDict from PIL import Image import numpy as np import matplotlib.pyplot as plt from matplotlib.ticker import FormatStrFormatter #The Entire Programm...
40.387755
134
0.717029
261
1,979
5.375479
0.444444
0.057733
0.109052
0.071276
0.153956
0.101212
0.055595
0
0
0
0
0.014545
0.166246
1,979
48
135
41.229167
0.835758
0.037898
0
0
0
0
0.203889
0
0
0
0
0
0
1
0
false
0
0.324324
0
0.324324
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e08bd26229e4db5b765aa0f04609bb09751220ff
6,569
py
Python
py/yaptu.py
karim7262/pytudes
32bf3c22987b9bfe6b72351967875454929f32a5
[ "MIT" ]
1
2018-04-25T11:00:41.000Z
2018-04-25T11:00:41.000Z
py/yaptu.py
batermj/pytudes
0a66d028a6a8727f614068c7ef9fb1d312f0a435
[ "MIT" ]
null
null
null
py/yaptu.py
batermj/pytudes
0a66d028a6a8727f614068c7ef9fb1d312f0a435
[ "MIT" ]
2
2019-12-06T14:45:40.000Z
2019-12-09T07:00:07.000Z
"""Yet Another Python Templating Utility, Version 1.2, by Alex Martelli. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52305 (Specialized to HTML and modified by Peter Norvig.) Copies input to output, with some substitutions. There are three types of substitutions: lexical, expression, and statement. ...
38.415205
79
0.533415
818
6,569
4.248166
0.332518
0.031655
0.011223
0.01554
0.046906
0.020719
0.020719
0.014964
0
0
0
0.010405
0.341605
6,569
170
80
38.641176
0.793064
0.086315
0
0.098901
0
0
0.129393
0
0
0
0
0
0
0
null
null
0
0.010989
null
null
0.065934
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e08c81b3834a1959c263cdd20db65d83d338d783
19,757
py
Python
pedal/tifa/feedbacks.py
acbart/python-analysis
3cd2cc22d50a414ae6b62c74d2643be4742238d4
[ "MIT" ]
14
2019-08-22T03:40:23.000Z
2022-03-13T00:30:53.000Z
pedal/tifa/feedbacks.py
pedal-edu/pedal
3cd2cc22d50a414ae6b62c74d2643be4742238d4
[ "MIT" ]
74
2019-09-12T04:35:56.000Z
2022-01-26T19:21:32.000Z
pedal/tifa/feedbacks.py
acbart/python-analysis
3cd2cc22d50a414ae6b62c74d2643be4742238d4
[ "MIT" ]
2
2018-09-16T22:39:15.000Z
2018-09-17T12:53:28.000Z
""" All of the feedback responses generated by TIFA. """ from pedal.utilities.operators import OPERATION_DESCRIPTION from pedal.core.report import MAIN_REPORT from pedal.core.feedback import FeedbackResponse class TifaFeedback(FeedbackResponse): """ Base class for all TIFA feedback """ muted = False categ...
43.043573
113
0.614921
2,232
19,757
5.249552
0.129928
0.049159
0.024409
0.042161
0.465392
0.41427
0.365281
0.34531
0.306905
0.282496
0
0
0.281672
19,757
458
114
43.137555
0.825606
0.039125
0
0.342679
1
0
0.334971
0.006184
0
0
0
0.00655
0
1
0.080997
false
0.009346
0.009346
0
0.454829
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e08fbf5598c303791ecb16105f66133ab1cda588
540
py
Python
cnmodel/__init__.py
pbmanis/cnmodel
eee593c673752c19137658d5b9a381ea9ad4580f
[ "BSD-3-Clause" ]
5
2017-07-26T21:46:14.000Z
2020-11-27T07:53:14.000Z
cnmodel/__init__.py
pbmanis/cnmodel
eee593c673752c19137658d5b9a381ea9ad4580f
[ "BSD-3-Clause" ]
12
2017-07-26T07:16:16.000Z
2021-07-14T13:41:37.000Z
cnmodel/__init__.py
pbmanis/cnmodel
eee593c673752c19137658d5b9a381ea9ad4580f
[ "BSD-3-Clause" ]
10
2017-07-26T07:03:29.000Z
2021-06-23T15:52:37.000Z
__author__ = "Paul B. Manis and Luke Campagnola" __version__ = "0.50" try: import faulthandler faulthandler.enable() except ImportError: pass import logging logging.basicConfig(level=logging.INFO, format="[%(process)s] %(message)s") import os dirname = os.path.abspath(os.path.dirname(__file__)) libpath = ...
21.6
75
0.744444
70
540
5.542857
0.7
0.046392
0
0
0
0
0
0
0
0
0
0.006508
0.146296
540
24
76
22.5
0.835141
0.107407
0
0.111111
0
0
0.134172
0
0
0
0
0
0
1
0
false
0.055556
0.277778
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e09165fafa23ba5b959d2098a1b6f792aa140681
6,947
py
Python
windows/add_new_groupui.py
PolskeMbIwb/Light-CRM-System
fb7a51494b57928d7ab9e2119948825fe2cac64d
[ "Apache-2.0" ]
null
null
null
windows/add_new_groupui.py
PolskeMbIwb/Light-CRM-System
fb7a51494b57928d7ab9e2119948825fe2cac64d
[ "Apache-2.0" ]
null
null
null
windows/add_new_groupui.py
PolskeMbIwb/Light-CRM-System
fb7a51494b57928d7ab9e2119948825fe2cac64d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'C:\Users\Mousarium\Documents\GitHub\CRM-provider\lab3cCot\ui_raw\add_new_groupui.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this ...
47.582192
138
0.666043
780
6,947
5.787179
0.251282
0.039876
0.046522
0.028799
0.280461
0.185866
0.097918
0.093487
0.093487
0.093487
0
0.01857
0.224845
6,947
145
139
47.910345
0.819684
0.049662
0
0.079365
1
0
0.098893
0
0
0
0
0
0
1
0.047619
false
0.015873
0.031746
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e09598000b60eccd73273e77cfe6def3d5fdf4c4
2,184
py
Python
qiskit/converters/circuit_to_dag.py
mcgarc/qiskit-terra
efe09ce7f7fc9074622deef087773090e07a8c75
[ "Apache-2.0" ]
2
2021-09-06T19:25:36.000Z
2021-11-17T10:46:12.000Z
qiskit/converters/circuit_to_dag.py
mcgarc/qiskit-terra
efe09ce7f7fc9074622deef087773090e07a8c75
[ "Apache-2.0" ]
null
null
null
qiskit/converters/circuit_to_dag.py
mcgarc/qiskit-terra
efe09ce7f7fc9074622deef087773090e07a8c75
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2018, IBM. # # This source code is licensed under the Apache License, Version 2.0 found in # the LICENSE.txt file in the root directory of this source tree. """Helper function for converting a circuit to a dag""" from qiskit.circuit.compositegate import CompositeGate from qiskit....
34.125
77
0.618132
233
2,184
5.682403
0.412017
0.056647
0.033988
0.030211
0.037764
0
0
0
0
0
0
0.005937
0.305861
2,184
63
78
34.666667
0.867414
0.276099
0
0.088235
0
0
0.009759
0
0
0
0
0.015873
0
1
0.058824
false
0
0.058824
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e09d34f74625f18d9f6755e08f75498bc49a0c77
240
py
Python
choose_functions/choose6.py
hugoleeney/python_benchmarks
941077974df24d2288a5b3ca6003fc67b50a7b27
[ "MIT" ]
null
null
null
choose_functions/choose6.py
hugoleeney/python_benchmarks
941077974df24d2288a5b3ca6003fc67b50a7b27
[ "MIT" ]
null
null
null
choose_functions/choose6.py
hugoleeney/python_benchmarks
941077974df24d2288a5b3ca6003fc67b50a7b27
[ "MIT" ]
null
null
null
def choose6(n,k): #computes nCk, the number of combinations n choose k result = 1 for i in range(n): result*=(i+1) for i in range(k): result/=(i+1) for i in range(n-k): result/=(i+1) return result
26.666667
70
0.558333
42
240
3.190476
0.428571
0.156716
0.11194
0.156716
0.38806
0.38806
0.283582
0
0
0
0
0.03012
0.308333
240
9
71
26.666667
0.777108
0.2125
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e09d63531c74fabbf6b016914616540c6738cb33
6,850
py
Python
misc/KeyTypes.py
sethr07/surveys
da8e940de8e0ab361e25b268dfcd4cfda55e68fa
[ "MIT" ]
2
2018-06-12T16:33:40.000Z
2019-03-25T11:23:13.000Z
misc/KeyTypes.py
sethr07/surveys
da8e940de8e0ab361e25b268dfcd4cfda55e68fa
[ "MIT" ]
null
null
null
misc/KeyTypes.py
sethr07/surveys
da8e940de8e0ab361e25b268dfcd4cfda55e68fa
[ "MIT" ]
2
2022-01-29T23:37:16.000Z
2022-02-14T00:39:29.000Z
#!/usr/bin/python # Copyright (C) 2018 Stephen Farrell, stephen.farrell@cs.tcd.ie # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rig...
40.05848
106
0.632993
837
6,850
5.111111
0.298686
0.02431
0.029453
0.036466
0.415615
0.385694
0.305517
0.291491
0.291491
0.291491
0
0.028615
0.229635
6,850
170
107
40.294118
0.782073
0.256058
0
0.306452
0
0
0.198221
0
0
0
0
0
0
0
null
null
0.048387
0.048387
null
null
0.08871
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e09e81d93d037bbb67930312ef9a9c724fd08202
282
py
Python
tests/transactions_regress/models.py
pomarec/django
98514849dce07acfaa224a90a784bba9d97249e5
[ "BSD-3-Clause" ]
166
2015-01-07T08:23:17.000Z
2022-02-23T00:09:44.000Z
tests/transactions_regress/models.py
pomarec/django
98514849dce07acfaa224a90a784bba9d97249e5
[ "BSD-3-Clause" ]
107
2015-01-19T22:11:09.000Z
2021-09-18T19:29:44.000Z
tests/transactions_regress/models.py
pomarec/django
98514849dce07acfaa224a90a784bba9d97249e5
[ "BSD-3-Clause" ]
89
2015-01-08T19:52:16.000Z
2021-12-17T11:26:53.000Z
from django.db import models class Mod(models.Model): fld = models.IntegerField() class SubMod(Mod): cnt = models.IntegerField(unique=True) class M2mA(models.Model): others = models.ManyToManyField('M2mB') class M2mB(models.Model): fld = models.IntegerField()
17.625
43
0.712766
35
282
5.742857
0.514286
0.164179
0.139303
0.199005
0.318408
0
0
0
0
0
0
0.012712
0.163121
282
15
44
18.8
0.838983
0
0
0.222222
0
0
0.014184
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0a07e9092a75ef8b7dde6e3c373270f3652c600
2,048
py
Python
components/pandas_joinCSV.py
ArthurPeyrichou/FlowComponents
71edf07c8706b22e7b945a33735e1999e7410b65
[ "MIT" ]
null
null
null
components/pandas_joinCSV.py
ArthurPeyrichou/FlowComponents
71edf07c8706b22e7b945a33735e1999e7410b65
[ "MIT" ]
null
null
null
components/pandas_joinCSV.py
ArthurPeyrichou/FlowComponents
71edf07c8706b22e7b945a33735e1999e7410b65
[ "MIT" ]
null
null
null
import pandas as pd import traceback import logging def onData(instance, args): try: payload = args[0] df = payload.data index = payload.toIdx if 'dataframes' not in instance.custom: instance.custom['dataframes'] = {} if index not in instance.custom['dataframes']: instance.custom['...
25.924051
99
0.585449
235
2,048
5.093617
0.429787
0.116959
0.180451
0.065163
0.053467
0
0
0
0
0
0
0.012386
0.250977
2,048
78
100
26.25641
0.767927
0.141602
0
0.037037
0
0
0.266323
0
0
0
0
0
0
1
0.037037
false
0
0.055556
0
0.092593
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0a106a66bf32566acff567220399251672592e0
3,118
py
Python
transition_sampling/tests/algo_tests/test_aimless_shooting.py
UWPRG/transition-sampling
6602bd87a66b70fb74711685f0ecfcb2d7bcbfe9
[ "MIT" ]
2
2020-12-04T01:54:44.000Z
2021-03-09T18:44:15.000Z
transition_sampling/tests/algo_tests/test_aimless_shooting.py
UWPRG/transition-sampling
6602bd87a66b70fb74711685f0ecfcb2d7bcbfe9
[ "MIT" ]
10
2020-11-26T18:32:43.000Z
2021-03-14T00:09:24.000Z
transition_sampling/tests/algo_tests/test_aimless_shooting.py
UWPRG/transition-sampling
6602bd87a66b70fb74711685f0ecfcb2d7bcbfe9
[ "MIT" ]
null
null
null
import unittest from transition_sampling.engines import ShootingResult from transition_sampling.algo.aimless_shooting import AsyncAimlessShooting, \ generate_velocities import numpy as np import tempfile class NextPositionTest(unittest.TestCase): """Test that picking the next position works""" def test_...
30.568627
84
0.621552
402
3,118
4.636816
0.308458
0.038627
0.021459
0.024142
0.296137
0.261266
0.261266
0.261266
0.261266
0.261266
0
0.05465
0.27229
3,118
101
85
30.871287
0.766858
0.164529
0
0.240741
1
0
0.014746
0
0
0
0
0
0.092593
1
0.074074
false
0
0.092593
0
0.203704
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0a26cb6959b8425a7fd74dce9a8a5bade135fca
33,108
py
Python
beryl/__init__.py
DanielJDufour/btest
0cf5ab2c89466c36294e576a9c676071b372df6e
[ "Apache-2.0" ]
3
2016-08-15T00:52:31.000Z
2017-12-14T18:06:43.000Z
beryl/__init__.py
DanielJDufour/btest
0cf5ab2c89466c36294e576a9c676071b372df6e
[ "Apache-2.0" ]
5
2016-08-15T03:02:10.000Z
2018-09-16T18:42:50.000Z
beryl/__init__.py
DanielJDufour/beryl
0cf5ab2c89466c36294e576a9c676071b372df6e
[ "Apache-2.0" ]
null
null
null
import cv2, editdistance, numpy from boxerator import merge_boxes, rect_distance, Box from collections import defaultdict from datetime import datetime from numpy import amin, argmin, asarray, triu_indices import numpy as np from math import floor from notifier import notify, _notify from os.path import abspath, dirnam...
38.996466
158
0.567688
4,017
33,108
4.513069
0.122479
0.022505
0.018534
0.024712
0.612003
0.568095
0.531303
0.517844
0.485024
0.468586
0
0.014384
0.330162
33,108
848
159
39.042453
0.803084
0.116075
0
0.552727
0
0.005455
0.083533
0.007895
0
0
0
0
0
0
null
null
0.001818
0.036364
null
null
0.092727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e0a41ec09f81bc9f373a9e045945dc375c4201db
1,156
py
Python
tests/EMS/ems_emulator.py
Saftwerk/TWCManager
9b17c063ada80fc159db82fe6e3ad8c4ca071a1a
[ "Unlicense" ]
96
2019-10-17T03:05:14.000Z
2022-03-16T20:41:50.000Z
tests/EMS/ems_emulator.py
Saftwerk/TWCManager
9b17c063ada80fc159db82fe6e3ad8c4ca071a1a
[ "Unlicense" ]
367
2019-10-19T06:52:32.000Z
2022-03-31T19:18:20.000Z
tests/EMS/ems_emulator.py
Saftwerk/TWCManager
9b17c063ada80fc159db82fe6e3ad8c4ca071a1a
[ "Unlicense" ]
62
2019-12-30T15:43:42.000Z
2022-03-14T11:26:58.000Z
#!/usr/bin/env python3 from http.server import HTTPServer, BaseHTTPRequestHandler class MyRequestHandler(BaseHTTPRequestHandler): def do_GET(self): # Extract values from the query string path, _, query_string = self.path.partition('?') query = parse_qs(query_string) self.send_re...
48.166667
597
0.621972
151
1,156
4.695364
0.549669
0.050776
0.084626
0.112835
0.214386
0.214386
0.214386
0
0
0
0
0.094727
0.114187
1,156
23
598
50.26087
0.597656
0.050173
0
0
0
0.076923
0.55292
0.521898
0
0
0
0
0
1
0.153846
false
0
0.076923
0.076923
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0a7236d9f6a85e63e7cb37e6393ddd8c5fa5abb
8,062
py
Python
test/test_arm_allinea_studio.py
pauleonix/hpc-container-maker
dfc68985c553d6e40e3f9c0d7da9c24c787a546c
[ "Apache-2.0" ]
340
2018-03-26T00:11:21.000Z
2022-03-21T03:04:27.000Z
test/test_arm_allinea_studio.py
pauleonix/hpc-container-maker
dfc68985c553d6e40e3f9c0d7da9c24c787a546c
[ "Apache-2.0" ]
103
2018-03-24T04:34:24.000Z
2022-03-31T18:49:57.000Z
test/test_arm_allinea_studio.py
pauleonix/hpc-container-maker
dfc68985c553d6e40e3f9c0d7da9c24c787a546c
[ "Apache-2.0" ]
75
2018-05-10T15:42:11.000Z
2022-03-28T16:51:14.000Z
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
46.068571
247
0.691888
1,248
8,062
4.318109
0.180288
0.022824
0.064947
0.088143
0.702357
0.687883
0.674337
0.656894
0.646131
0.627018
0
0.058789
0.166584
8,062
174
248
46.333333
0.743265
0.118705
0
0.470588
0
0
0.070151
0.023842
0
0
0
0
0.191176
1
0.132353
false
0
0.088235
0
0.235294
0.014706
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0acf33e3f172fa45440a2f47bdfc56e97a0c291
1,721
py
Python
vendor/tensorboxresnet/tensorboxresnet/utils/rect.py
mdcatapult/deepfigures-open
c0bb3abde9430cf03b05a7617a4cf34ae826b707
[ "Apache-2.0" ]
103
2018-04-13T15:17:42.000Z
2022-03-03T06:43:39.000Z
vendor/tensorboxresnet/tensorboxresnet/utils/rect.py
mdcatapult/deepfigures-open
c0bb3abde9430cf03b05a7617a4cf34ae826b707
[ "Apache-2.0" ]
13
2018-09-29T20:01:45.000Z
2021-12-13T08:21:32.000Z
vendor/tensorboxresnet/tensorboxresnet/utils/rect.py
mdcatapult/deepfigures-open
c0bb3abde9430cf03b05a7617a4cf34ae826b707
[ "Apache-2.0" ]
26
2018-06-05T18:54:13.000Z
2022-02-05T12:46:34.000Z
class Rect(object): def __init__(self, cx, cy, width, height, confidence): self.cx = cx self.cy = cy self.width = width self.height = height self.confidence = confidence self.true_confidence = confidence def overlaps(self, other): if abs(self.cx - other.c...
33.096154
78
0.537478
214
1,721
4.280374
0.182243
0.045852
0.065502
0.042576
0.229258
0.196507
0.152838
0.152838
0.152838
0.152838
0
0.012324
0.339919
1,721
51
79
33.745098
0.794014
0
0
0.045455
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0
0.113636
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
e0aef46d6f6041522d2c7ab6354f53b003ed86d9
2,956
py
Python
src/bxcommon/rpc/https/http_rpc_handler.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/rpc/https/http_rpc_handler.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/rpc/https/http_rpc_handler.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
from typing import Any, Dict, TYPE_CHECKING, Generic, TypeVar from aiohttp import web from aiohttp.web import Request, Response from aiohttp.web_exceptions import HTTPBadRequest, HTTPOk from bxcommon.rpc import rpc_constants from bxcommon.rpc.abstract_rpc_handler import AbstractRpcHandler from bxcommon.rpc.bx_json_rp...
41.055556
111
0.698579
336
2,956
5.946429
0.354167
0.066066
0.052553
0.040541
0.07007
0.039039
0.039039
0.039039
0
0
0
0.003054
0.224628
2,956
71
112
41.633803
0.868674
0.115697
0
0.092593
0
0
0.063267
0.019172
0
0
0
0.014085
0
1
0.074074
false
0.018519
0.240741
0.018519
0.407407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e0b2d7d1736c6bce425ddeb5e21e017ad81f66de
1,743
py
Python
src/dbEngine.py
JuanuMusic/PoHelper
5dfb4f2732c02f9636d6de2031575fd90a434592
[ "Apache-2.0" ]
null
null
null
src/dbEngine.py
JuanuMusic/PoHelper
5dfb4f2732c02f9636d6de2031575fd90a434592
[ "Apache-2.0" ]
null
null
null
src/dbEngine.py
JuanuMusic/PoHelper
5dfb4f2732c02f9636d6de2031575fd90a434592
[ "Apache-2.0" ]
null
null
null
# General Declarations import sqlite3 import time class dbEngine(): def __init__(self, log): """ SQLite Database handler Usage: Use execute method for execute sql sentences on the database and get the results """ self.connection = sqlite3.Connection('pytelebot.db') ...
27.666667
88
0.573723
171
1,743
5.818713
0.497076
0.070352
0.040201
0
0
0
0
0
0
0
0
0.002573
0.331038
1,743
62
89
28.112903
0.850772
0.204246
0
0.058824
0
0
0.14134
0
0
0
0
0.016129
0
1
0.176471
false
0
0.058824
0
0.382353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e0bb5d6569331eb560bb763046912325ee49d66f
4,688
py
Python
backend/app/app/tests/crud/test_user.py
nocookie-analytics/core
7409e36b6805acf09af618430e56e69c8810e2ca
[ "MIT" ]
14
2021-07-22T09:49:06.000Z
2021-12-23T18:33:43.000Z
backend/app/app/tests/crud/test_user.py
nocookie-analytics/core
7409e36b6805acf09af618430e56e69c8810e2ca
[ "MIT" ]
95
2021-06-10T06:57:30.000Z
2022-03-29T14:02:37.000Z
backend/app/app/tests/crud/test_user.py
nocookie-analytics/core
7409e36b6805acf09af618430e56e69c8810e2ca
[ "MIT" ]
null
null
null
from datetime import datetime from fastapi.encoders import jsonable_encoder from sqlalchemy.orm import Session from app import crud from app.core.security import verify_password from app.models.domain import Domain from app.models.event import Event from app.models.user import User from app.schemas.user import UserCr...
34.470588
83
0.745307
695
4,688
4.766906
0.110791
0.04588
0.056444
0.07546
0.621491
0.594627
0.547238
0.496227
0.434651
0.434651
0
0.004046
0.156357
4,688
135
84
34.725926
0.833628
0
0
0.409524
0
0
0.0032
0
0
0
0
0
0.219048
1
0.104762
false
0.228571
0.12381
0
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e0bda1a56a130617a722dfb77d3624d6ad77f04c
1,331
py
Python
perfkitbenchmarker/linux_packages/maven.py
xiaolihope/PerfKitBenchmarker-1.7.0
7699b1073a80d7a92fd3db93da742b93a2ecf900
[ "Apache-2.0" ]
null
null
null
perfkitbenchmarker/linux_packages/maven.py
xiaolihope/PerfKitBenchmarker-1.7.0
7699b1073a80d7a92fd3db93da742b93a2ecf900
[ "Apache-2.0" ]
null
null
null
perfkitbenchmarker/linux_packages/maven.py
xiaolihope/PerfKitBenchmarker-1.7.0
7699b1073a80d7a92fd3db93da742b93a2ecf900
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 PerfKitBenchmarker Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
31.690476
74
0.722765
212
1,331
4.448113
0.476415
0.063627
0.022269
0.034995
0.195122
0.120891
0.120891
0.120891
0.086957
0.086957
0
0.016057
0.157776
1,331
41
75
32.463415
0.825156
0.569497
0
0.142857
0
0.071429
0.283333
0.092593
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e0c3f899dd0645f3d15746ed9304f2ed5c82cc12
1,270
py
Python
Comunidad/persona.py
crisman9211/TutorialCancionesUnittest
37b56fb6201b0027cdac9bbc25f8d2bda004d05e
[ "MIT" ]
null
null
null
Comunidad/persona.py
crisman9211/TutorialCancionesUnittest
37b56fb6201b0027cdac9bbc25f8d2bda004d05e
[ "MIT" ]
null
null
null
Comunidad/persona.py
crisman9211/TutorialCancionesUnittest
37b56fb6201b0027cdac9bbc25f8d2bda004d05e
[ "MIT" ]
null
null
null
import datetime from Comunidad.base import Session, engine, Base from sqlalchemy import Column, Integer, String class Persona(Base): __tablename__ = 'persona' id = Column(Integer, primary_key=True) nombre = Column(String) edad = Column(Integer) def __init__(self, nombre, edad): self.nombre = no...
26.458333
105
0.646457
154
1,270
5.181818
0.324675
0.087719
0.035088
0.037594
0.115288
0
0
0
0
0
0
0.00105
0.250394
1,270
48
106
26.458333
0.837185
0
0
0.210526
0
0
0.005507
0
0
0
0
0
0
1
0.210526
false
0
0.078947
0.052632
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e0c427c16ce6446ea40d73eb600a4b87e54293ce
351
py
Python
Dataset/Leetcode/train/5/142.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/5/142.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/5/142.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
def p(s): return s == s[::-1] class Solution: def XXX(self, s: str) -> str: L = len(s) if L <= 1: return s ans = '' for i in range(L): for j in range(i+1, L+1): if p(s[i:j]) and len(s[i:j]) > len(ans): ans...
19.5
56
0.358974
55
351
2.290909
0.363636
0.047619
0.071429
0
0
0
0
0
0
0
0
0.022222
0.487179
351
17
57
20.647059
0.677778
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e0d0131d8e62787484399000c6c6c282d1e929be
2,368
py
Python
src/scanlib/constants.py
heavyrage/scanserver
cee3d43f0d1c3af56da8e616c6f2251d8a4b3c19
[ "MIT" ]
null
null
null
src/scanlib/constants.py
heavyrage/scanserver
cee3d43f0d1c3af56da8e616c6f2251d8a4b3c19
[ "MIT" ]
null
null
null
src/scanlib/constants.py
heavyrage/scanserver
cee3d43f0d1c3af56da8e616c6f2251d8a4b3c19
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- ''' Created on 25 f�vr. 2017 @author: HEAVYRAGE ''' from abc import ABCMeta, abstractmethod from flask_restful import fields from _pyio import __metaclass__ class Constants(object): ''' A constants abstract class ''' __metaclass__ = ABCMeta file_fields ...
25.462366
70
0.532517
243
2,368
5.115226
0.403292
0.095736
0.021722
0.035398
0.11424
0.11424
0
0
0
0
0.000422
0.007309
0.364443
2,368
93
71
25.462366
0.81794
0.29603
0
0.325
0
0
0.022866
0
0
0
0
0
0
1
0.225
false
0
0.075
0
0.475
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e0d043fa8c9adabcdd32ad7153dc4fc10bd2f9bd
2,612
py
Python
python/fq2bam.py
yipukangda/work_scripts
e3cf36ba5d418824e1fa771c1afb63447dd791a3
[ "MIT" ]
null
null
null
python/fq2bam.py
yipukangda/work_scripts
e3cf36ba5d418824e1fa771c1afb63447dd791a3
[ "MIT" ]
null
null
null
python/fq2bam.py
yipukangda/work_scripts
e3cf36ba5d418824e1fa771c1afb63447dd791a3
[ "MIT" ]
null
null
null
""" Created on Sat Nov 25 10:52:03 2017 @author: jgs """ import os import re import click #function for generate bam contain marked reads def cyp_p_des(sample, file_path, out_path, reference): if not file_path.endswith('/'): file_path = file_path + r'/' if not out_path.endswith('/'): out_...
35.297297
152
0.580398
356
2,612
4.154494
0.365169
0.016227
0.037863
0.040568
0.201487
0.177147
0.177147
0.153482
0.124408
0.064909
0
0.015824
0.25
2,612
73
153
35.780822
0.739153
0.127871
0
0.09434
1
0.018868
0.140901
0.043728
0
0
0
0
0
1
0.037736
false
0
0.056604
0
0.09434
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0da1fd8235d05842a94f8401228f03b4dcb3873
610
py
Python
otokon_archive/sponsorship/migrations/0005_company_meeting_time.py
bilbeyt/otokon-archive
2a7e81c59f4489e94cc568661db56eeedcf63bb9
[ "MIT" ]
null
null
null
otokon_archive/sponsorship/migrations/0005_company_meeting_time.py
bilbeyt/otokon-archive
2a7e81c59f4489e94cc568661db56eeedcf63bb9
[ "MIT" ]
null
null
null
otokon_archive/sponsorship/migrations/0005_company_meeting_time.py
bilbeyt/otokon-archive
2a7e81c59f4489e94cc568661db56eeedcf63bb9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-09-27 14:54 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('sponsorship', '0004_organization_order'...
25.416667
111
0.64918
70
610
5.514286
0.685714
0.020725
0.031088
0
0
0
0
0
0
0
0
0.084052
0.239344
610
23
112
26.521739
0.747845
0.109836
0
0
1
0
0.098148
0.042593
0
0
0
0
0
1
0
false
0
0.25
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0dfc7ba2e5b444fe4f72c94cf9f3f9d46ed591f
2,169
py
Python
south_florida_vaccine_alerts/user/models_tests.py
dtnewman/south_florida_vaccine_alerts
513cc87a6d1b2f5a3ac3d03006f9a4fd1bca3e76
[ "MIT" ]
null
null
null
south_florida_vaccine_alerts/user/models_tests.py
dtnewman/south_florida_vaccine_alerts
513cc87a6d1b2f5a3ac3d03006f9a4fd1bca3e76
[ "MIT" ]
null
null
null
south_florida_vaccine_alerts/user/models_tests.py
dtnewman/south_florida_vaccine_alerts
513cc87a6d1b2f5a3ac3d03006f9a4fd1bca3e76
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from sqlalchemy.exc import IntegrityError import south_florida_vaccine_alerts.user.models as models from south_florida_vaccine_alerts.test_utils import BaseTestCase class TestUser(BaseTestCase): def test_user_create(self): user1 = models.User.create(self.session, username='foo1'...
47.152174
118
0.687875
281
2,169
5.209964
0.245552
0.112705
0.087432
0.081967
0.605191
0.583333
0.583333
0.564208
0.564208
0.505464
0
0.014061
0.180267
2,169
45
119
48.2
0.809336
0.091286
0
0.266667
0
0
0.122522
0.011185
0
0
0
0
0.3
1
0.133333
false
0.366667
0.1
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e0e191aed51b8bac2e9a6491ff8852483506e7c0
397
py
Python
account/urls.py
OSAMAMOHAMED1234/Blog_django_restful_api
f0b97f2ca77f30748166a2baacec909816dabc32
[ "MIT" ]
3
2018-05-02T20:37:11.000Z
2020-10-15T17:19:26.000Z
account/urls.py
OSAMAMOHAMED1234/Blog_django_restful_api
f0b97f2ca77f30748166a2baacec909816dabc32
[ "MIT" ]
1
2019-06-10T21:35:13.000Z
2019-06-10T21:35:13.000Z
account/urls.py
OSAMAMOHAMED1234/Blog_django_restful_api
f0b97f2ca77f30748166a2baacec909816dabc32
[ "MIT" ]
1
2019-01-23T14:46:05.000Z
2019-01-23T14:46:05.000Z
from django.conf.urls import url from django.contrib.auth.views import LoginView, LogoutView from .views import RegisterView urlpatterns = [ url(r'^register/$', RegisterView.as_view(), name='register'), url(r'^login/$', LoginView.as_view(template_name='account/login.html'), name="login"), url(r'^logout/$...
33.083333
93
0.725441
53
397
5.339623
0.433962
0.042403
0.09894
0.127208
0.268551
0.268551
0.268551
0.268551
0
0
0
0
0.103275
397
11
94
36.090909
0.794944
0
0
0
0
0
0.209068
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e0e6c468b6702cf267b17e2d9468d3bcb3bd7cd8
985
py
Python
testcases/ch2o_tests/syntax/Range.py
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
116
2019-01-25T03:54:44.000Z
2022-03-08T00:11:14.000Z
testcases/ch2o_tests/syntax/Range.py
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
431
2019-01-25T10:18:44.000Z
2020-06-17T05:28:55.000Z
testcases/ch2o_tests/syntax/Range.py
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
26
2019-01-25T07:21:09.000Z
2021-11-26T04:24:35.000Z
# coding: utf-8 import chainer class Range(chainer.Chain): def forward(self, x): return range(x) class RangeStop(chainer.Chain): def forward(self, x, y): return range(x, y) class RangeStep(chainer.Chain): def forward(self, x, y, z): return range(x, y, z) class RangeListComp(...
21.413043
73
0.593909
146
985
3.910959
0.39726
0.084063
0.105079
0.154116
0.232925
0.145359
0.098074
0
0
0
0
0.039012
0.219289
985
45
74
21.888889
0.703511
0.052792
0
0
0
0
0.026882
0
0
0
0
0
0
1
0.153846
false
0
0.115385
0.115385
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1