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
2034a75a259e4f6a84df0a1bdb6f0f7a485dcf5a
841
py
Python
scripts/testcase_parser/kattis.py
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
scripts/testcase_parser/kattis.py
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
scripts/testcase_parser/kattis.py
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#!/usr/bin/env python from bs4 import BeautifulSoup from urllib.parse import urlsplit import json import sys import utils url = sys.argv[1] path = sys.argv[2] url = urlsplit(url) host = url.netloc if not host.endswith('kattis.com'): exit(1) name = url.path.rstrip('/').split('/')[-1] # /problems/skiresort with op...
23.361111
64
0.655172
129
841
4.193798
0.511628
0.05915
0.033272
0.05915
0.107209
0.107209
0.107209
0
0
0
0
0.01
0.167658
841
35
65
24.028571
0.762857
0.047562
0
0.068966
0
0
0.061327
0
0
0
0
0
0
1
0
false
0
0.172414
0
0.172414
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
0
0
1
0
203526c026fed195000636faf1d1dd48a896aced
18,756
py
Python
src/libs/loss.py
dylanturpin/6-PACK
a8d94cea97ed0f459431f409792038abb14f02d4
[ "MIT" ]
1
2020-06-23T10:03:18.000Z
2020-06-23T10:03:18.000Z
src/libs/loss.py
dylanturpin/6-PACK
a8d94cea97ed0f459431f409792038abb14f02d4
[ "MIT" ]
null
null
null
src/libs/loss.py
dylanturpin/6-PACK
a8d94cea97ed0f459431f409792038abb14f02d4
[ "MIT" ]
null
null
null
import pdb from torch.nn.modules.loss import _Loss from torch.autograd import Variable import math import torch import time import numpy as np import torch.nn as nn import random import torch.backends.cudnn as cudnn import torch.nn.functional as F import torch.distributions as tdist import copy import pymesh import pyv...
44.870813
139
0.61447
2,871
18,756
3.698363
0.079763
0.026747
0.023357
0.035035
0.653701
0.556508
0.492748
0.4466
0.418911
0.407139
0
0.027354
0.241789
18,756
417
140
44.978417
0.719288
0.074163
0
0.320144
0
0
0.021326
0.001217
0
0
0
0
0
1
0.032374
false
0
0.057554
0
0.122302
0.003597
0
0
0
null
0
0
0
0
0
0
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
1
0
2035bc483e311f9599f980f47de2dacaa8317d2b
1,789
py
Python
setup.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
null
null
null
setup.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
null
null
null
setup.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys from setuptools import setup, find_packages from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() install_requires = [ "datapipelines>=1.0.7", "mera...
30.844828
90
0.648966
206
1,789
5.524272
0.592233
0.052724
0.02109
0.052724
0
0
0
0
0
0
0
0.016819
0.202348
1,789
57
91
31.385965
0.780659
0.0218
0
0
0
0
0.463959
0.012586
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2036a59a849efccd1eebf5b74851410e2d9a4249
710
py
Python
Solver/Solver.py
MapleNSteel/mpcGenerationToolkit
e0b43e34247447cb8c591bb2f7d69834e4b7d982
[ "MIT" ]
null
null
null
Solver/Solver.py
MapleNSteel/mpcGenerationToolkit
e0b43e34247447cb8c591bb2f7d69834e4b7d982
[ "MIT" ]
null
null
null
Solver/Solver.py
MapleNSteel/mpcGenerationToolkit
e0b43e34247447cb8c591bb2f7d69834e4b7d982
[ "MIT" ]
null
null
null
import time import numpy as np from cvxopt import matrix, solvers from sympy import pprint solvers.options['show_progress'] = False solvers.options['maxiters'] = 1 def getSolution(code_gen, x_0, u_0, x_ref, u_ref, params): A = code_gen.A_mat(x_0[:,0:1], x_0, u_0, params) b = code_gen.b_mat(x_0[:,0:1], x_0, u_0, para...
32.272727
85
0.690141
146
710
3.116438
0.273973
0.03956
0.046154
0.061538
0.347253
0.340659
0.254945
0.127473
0.074725
0.074725
0
0.034483
0.142254
710
21
86
33.809524
0.712644
0.025352
0
0
0
0
0.030435
0
0
0
0
0
0
1
0.058824
false
0
0.235294
0
0.411765
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2037a567b77e305e0d1ccdea12da25c068d7248b
3,460
py
Python
fhir/resources/DSTU2/enrollmentrequest.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
144
2019-05-08T14:24:43.000Z
2022-03-30T02:37:11.000Z
fhir/resources/DSTU2/enrollmentrequest.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
82
2019-05-13T17:43:13.000Z
2022-03-30T16:45:17.000Z
fhir/resources/DSTU2/enrollmentrequest.py
cstoltze/fhir.resources
52f99738935b7313089d89daf94d73ce7d167c9d
[ "BSD-3-Clause" ]
48
2019-04-04T14:14:53.000Z
2022-03-30T06:07:31.000Z
# -*- coding: utf-8 -*- """ Profile: https://www.hl7.org/fhir/DSTU2/enrollmentrequest.html Release: DSTU2 Version: 1.0.2 Revision: 7202 """ from typing import List as ListType from pydantic import Field from . import domainresource, fhirtypes class EnrollmentRequest(domainresource.DomainResource): """Enroll in ...
30.350877
93
0.629191
342
3,460
6.333333
0.330409
0.051708
0.045245
0.050785
0.289474
0.209141
0.209141
0.209141
0.209141
0.209141
0
0.004393
0.276301
3,460
113
94
30.619469
0.860623
0.162717
0
0.243902
0
0
0.345778
0
0
0
0
0
0
1
0
false
0
0.036585
0
0.182927
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
0
0
1
0
203928c956b6d7f878702889dc3a41b3976259dc
537
py
Python
strona/urls.py
lukasy2/strona
7ccebfe0553f9fac06bf762d1028c9faf7d830c0
[ "MIT", "Unlicense" ]
null
null
null
strona/urls.py
lukasy2/strona
7ccebfe0553f9fac06bf762d1028c9faf7d830c0
[ "MIT", "Unlicense" ]
null
null
null
strona/urls.py
lukasy2/strona
7ccebfe0553f9fac06bf762d1028c9faf7d830c0
[ "MIT", "Unlicense" ]
null
null
null
from django.conf.urls import patterns, include, url from django.contrib import admin from django.contrib.auth import views as auth_views from newsy import views urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^accounts/register/$', views.register_user), url(r'^accounts/register_success/$', views.re...
31.588235
70
0.687151
75
537
4.826667
0.36
0.077348
0.132597
0.110497
0
0
0
0
0
0
0
0
0.132216
537
16
71
33.5625
0.776824
0
0
0
0
0
0.228037
0.052336
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
203ab81e1c44d46f3a5bb44cfcb2254297f716a2
2,954
py
Python
python/NTupler_cff.py
EmyrClement/NTupleProduction
4c1b67ac8826656e804912512f4c4dc6695c7674
[ "Apache-2.0" ]
1
2018-02-20T21:23:21.000Z
2018-02-20T21:23:21.000Z
python/NTupler_cff.py
RickeyEstes/NTupleProduction
1319183de0ce00749c8f5841fa925479b9024b48
[ "Apache-2.0" ]
116
2015-01-09T22:38:07.000Z
2017-05-24T08:12:48.000Z
python/NTupler_cff.py
RickeyEstes/NTupleProduction
1319183de0ce00749c8f5841fa925479b9024b48
[ "Apache-2.0" ]
1
2020-11-01T00:01:17.000Z
2020-11-01T00:01:17.000Z
def setup_ntupler(process, cms): print '=' * 60 print "Setting up NTupler" print '=' * 60 ###################################################################################################### ################################## nTuple Configuration ############################################## ...
31.763441
106
0.499661
178
2,954
8.005618
0.382022
0.035789
0.035789
0.042105
0.099649
0.054737
0
0
0
0
0
0.002489
0.319905
2,954
92
107
32.108696
0.706819
0.108328
0
0.045455
0
0
0.226196
0.111159
0
0
0
0
0
0
null
null
0
0
null
null
0.068182
0
0
0
null
0
0
0
0
0
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
203badb19861f80a63c8028ac6ffdd250300130d
799
py
Python
software/feature_space.py
aM3z/primality-testing
b9e8395ab346ffd46f5b014996da2207c50dcc0a
[ "MIT" ]
1
2021-03-15T17:26:32.000Z
2021-03-15T17:26:32.000Z
software/feature_space.py
aM3z/primality-testing
b9e8395ab346ffd46f5b014996da2207c50dcc0a
[ "MIT" ]
null
null
null
software/feature_space.py
aM3z/primality-testing
b9e8395ab346ffd46f5b014996da2207c50dcc0a
[ "MIT" ]
null
null
null
from base_b import convert from random import randint DATA_DIR = "../data/" def get_prime(partition): primes = list() #filename = glob.glob(DATA_DIR + "primes" + str(partition)) filename = DATA_DIR + "primes" + str(partition) with open(filename, "r") as f: content = f.readlines() line...
21.594595
63
0.605757
101
799
4.683168
0.445545
0.031712
0.054968
0.067653
0.105708
0
0
0
0
0
0
0.003448
0.274093
799
36
64
22.194444
0.812069
0.20025
0
0
0
0
0.023734
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.25
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
203cba017e9464fdeee0e4647c552ae7f9d28d68
1,477
py
Python
redisext/queue.py
mylokin/redisext
b49c2699183d795ec462f0288bb3fb7110936a89
[ "MIT" ]
null
null
null
redisext/queue.py
mylokin/redisext
b49c2699183d795ec462f0288bb3fb7110936a89
[ "MIT" ]
5
2015-02-15T11:03:29.000Z
2018-03-05T19:11:20.000Z
redisext/queue.py
mylokin/redisext
b49c2699183d795ec462f0288bb3fb7110936a89
[ "MIT" ]
2
2018-03-05T19:06:34.000Z
2020-07-01T09:18:40.000Z
from __future__ import absolute_import import redisext.models.abc class Queue(redisext.models.abc.Model): def pop(self): ''' Pop item from queue. :returns: item from queue ''' item = self.connect_to_master().rpop(self.key) return self.decode(item) def push(se...
24.213115
67
0.570752
186
1,477
4.44086
0.311828
0.059322
0.094431
0.115012
0.337772
0.246973
0.246973
0.169492
0
0
0
0.003929
0.310765
1,477
60
68
24.616667
0.807466
0.185511
0
0.24
0
0
0.007707
0
0
0
0
0
0
1
0.24
false
0
0.08
0
0.64
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
203cbdc89d4f2978be7134d545c2c02ab6abca2d
190
py
Python
src/jobs/write_notification.py
daianasousa/Projeto-BLX
4006af4a998a4837b4f5e89d842d74cb454fc52c
[ "MIT" ]
null
null
null
src/jobs/write_notification.py
daianasousa/Projeto-BLX
4006af4a998a4837b4f5e89d842d74cb454fc52c
[ "MIT" ]
null
null
null
src/jobs/write_notification.py
daianasousa/Projeto-BLX
4006af4a998a4837b4f5e89d842d74cb454fc52c
[ "MIT" ]
null
null
null
def write_notification(email: str, mensagem=''): with open('log.txt', mode='a') as email_file: conteudo = f'Email: {email} - msg: {mensagem}\n' email_file.write(conteudo)
47.5
56
0.642105
26
190
4.576923
0.692308
0.151261
0
0
0
0
0
0
0
0
0
0
0.189474
190
4
57
47.5
0.772727
0
0
0
0
0
0.219895
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
203de3b0e97c73fd699b6af21861e33253964a9d
6,947
py
Python
dataLoader.py
stephen-w-bailey/fast-n-deep-faces
53173c6367dfa3a20d3193ad7a0e77ac1e898f02
[ "BSD-3-Clause" ]
40
2020-06-26T10:56:39.000Z
2022-01-26T10:43:34.000Z
dataLoader.py
stephen-w-bailey/fast-n-deep-faces
53173c6367dfa3a20d3193ad7a0e77ac1e898f02
[ "BSD-3-Clause" ]
7
2020-07-01T07:10:11.000Z
2022-03-07T00:07:41.000Z
dataLoader.py
stephen-w-bailey/fast-n-deep-faces
53173c6367dfa3a20d3193ad7a0e77ac1e898f02
[ "BSD-3-Clause" ]
13
2020-06-30T11:57:41.000Z
2022-02-20T17:24:00.000Z
import matplotlib.pyplot as plt import numpy as np import pickle import tensorflow as tf import UVGenerator class DataLoader(): def __init__(self,pg,sampleFile=None): self.pg = pg self.numV = np.sum(self.pg.active) pg.setPose(pg.defaultPose) self.neutral = pg.getVertices()[pg.acti...
38.594444
122
0.554196
849
6,947
4.489988
0.208481
0.025184
0.018363
0.013641
0.290923
0.248951
0.229014
0.200682
0.151889
0.131165
0
0.014709
0.305168
6,947
179
123
38.810056
0.775016
0.015978
0
0.215686
0
0
0.056052
0
0
0
0
0
0
1
0.071895
false
0
0.03268
0
0.163399
0.045752
0
0
0
null
0
0
0
0
0
0
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
1
0
203e0415618b04f5477d288195f92e0ca902d4e2
2,105
py
Python
cop/email_smaple/mail.py
maksim-urbanovich/Python_Task3
d0842c2caa39030ced55a342a709c9d0a2c8acce
[ "MIT" ]
null
null
null
cop/email_smaple/mail.py
maksim-urbanovich/Python_Task3
d0842c2caa39030ced55a342a709c9d0a2c8acce
[ "MIT" ]
null
null
null
cop/email_smaple/mail.py
maksim-urbanovich/Python_Task3
d0842c2caa39030ced55a342a709c9d0a2c8acce
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import smtplib from smtplib import SMTPException from email.mime.text import MIMEText import csv import codecs import logging from logging import StreamHandler from logging.handlers import RotatingFileHandler import sys import time LOGGER = 'logger' user = "robot.artsiom.mishuta" password = "r...
29.236111
172
0.636105
262
2,105
5.076336
0.396947
0.02406
0.045113
0.033835
0.137594
0.058647
0.043609
0.043609
0.043609
0
0
0.016968
0.160095
2,105
71
173
29.647887
0.735294
0.050831
0
0
0
0.019608
0.207831
0.074799
0
0
0
0
0
1
0
false
0.039216
0.196078
0
0.196078
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
0
0
1
0
203e08b8b5ab33b02e1ca4e3dd9d441003adb9b3
857
py
Python
mayan/apps/tags/api_views.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
3
2020-02-03T11:58:51.000Z
2020-10-20T03:52:21.000Z
mayan/apps/tags/api_views.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
null
null
null
mayan/apps/tags/api_views.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
2
2020-10-24T11:10:06.000Z
2021-03-03T20:05:38.000Z
from __future__ import absolute_import from rest_framework import generics from taggit.models import Tag from rest_api.filters import MayanObjectPermissionsFilter from rest_api.permissions import MayanPermission from .permissions import PERMISSION_TAG_VIEW from .serializers import TagSerializer class APITagView(ge...
25.205882
61
0.763127
91
857
6.945055
0.461538
0.037975
0.080696
0.113924
0.287975
0.287975
0.287975
0
0
0
0
0
0.163361
857
33
62
25.969697
0.88145
0.070012
0
0.352941
0
0
0.007833
0
0
0
0
0
0
1
0
false
0
0.411765
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
203f15c01536c740d40273810080fe27d8d79ddb
2,191
py
Python
stick_video/keypoints_to_stick_image.py
yookyungkho/Hand-to-Hand
c0ae9a9c1e5ea894c7daf2c2bf2f7c752e31e8b7
[ "Apache-2.0" ]
4
2021-04-07T05:38:25.000Z
2021-07-18T05:02:39.000Z
stick_video/keypoints_to_stick_image.py
yookyungkho/Hand-to-Hand
c0ae9a9c1e5ea894c7daf2c2bf2f7c752e31e8b7
[ "Apache-2.0" ]
null
null
null
stick_video/keypoints_to_stick_image.py
yookyungkho/Hand-to-Hand
c0ae9a9c1e5ea894c7daf2c2bf2f7c752e31e8b7
[ "Apache-2.0" ]
6
2020-10-25T07:10:29.000Z
2020-11-06T17:21:48.000Z
import numpy as np import cv2 import matplotlib.pyplot as plt import json import os pose_point_pair_ver1 = [[1, 2], [2, 3], [3, 4], [1, 5], [5, 6], [6, 7], [1, 9], [9, 8], [8, 12], [12, 1]] pose_point_pair_ver2 = [[1, 2], [2, 3], [3, 4], [1, 5], [5, 6], [6, 7], [2, 9], [9, 8], [8, 12], [12, 5]] face_point_pair = [ ...
38.438596
106
0.542218
395
2,191
2.848101
0.356962
0.064
0.034667
0.010667
0.112
0.040889
0.021333
0.021333
0.021333
0.021333
0
0.199309
0.207668
2,191
56
107
39.125
0.448733
0.005021
0
0
0
0
0.106979
0.082645
0
0
0
0
0
1
0.052632
false
0
0.131579
0
0.184211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
203f675ff410bffb2f8fc129a258a5f53d79aacf
336
py
Python
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
3
2020-02-03T11:58:51.000Z
2020-10-20T03:52:21.000Z
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
null
null
null
mayan/apps/scheduler/permissions.py
Dave360-crypto/mayan-edms
9cd37537461347f79ff0429e4b8b16fd2446798d
[ "Apache-2.0" ]
2
2020-10-24T11:10:06.000Z
2021-03-03T20:05:38.000Z
from __future__ import absolute_import from django.utils.translation import ugettext_lazy as _ from permissions.models import PermissionNamespace, Permission namespace = PermissionNamespace('scheduler', _(u'Scheduler')) PERMISSION_VIEW_JOB_LIST = Permission.objects.register(namespace, 'jobs_list', _(u'View the inter...
37.333333
112
0.827381
40
336
6.625
0.625
0.05283
0
0
0
0
0
0
0
0
0
0
0.092262
336
8
113
42
0.868852
0
0
0
0
0
0.157738
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
20426ff7837fe22b23c2cac78531fbb52e8967be
765
py
Python
django_dramatiq/migrations/0003_auto_20200204_0842.py
thebjorn/django_dramatiq
bd293e0479f3dd3f378ab92465e8dcb5e51583b0
[ "Apache-2.0" ]
229
2017-11-13T06:03:19.000Z
2022-03-28T09:36:15.000Z
django_dramatiq/migrations/0003_auto_20200204_0842.py
thebjorn/django_dramatiq
bd293e0479f3dd3f378ab92465e8dcb5e51583b0
[ "Apache-2.0" ]
109
2017-11-15T07:49:54.000Z
2022-02-18T05:28:25.000Z
django_dramatiq/migrations/0003_auto_20200204_0842.py
thebjorn/django_dramatiq
bd293e0479f3dd3f378ab92465e8dcb5e51583b0
[ "Apache-2.0" ]
76
2017-11-14T00:28:31.000Z
2022-03-23T04:46:48.000Z
# Generated by Django 2.0 on 2020-02-04 08:42 from django.db import migrations, models import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('django_dramatiq', '0002_auto_20191104_1354'), ] operations = [ migrations.AlterModelManagers( name...
29.423077
217
0.573856
73
765
5.931507
0.643836
0.055427
0.064665
0.096998
0
0
0
0
0
0
0
0.054965
0.262745
765
25
218
30.6
0.712766
0.056209
0
0.105263
1
0
0.198611
0.031944
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
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
20453193afb607d368c958b88cbf1cdb70f61f43
717
py
Python
python/leetcode/280_wiggle_sort.py
yxun/Notebook
680ae89a32d3f7d4fdcd541e66cea97e29efbd26
[ "Apache-2.0" ]
1
2021-10-04T13:26:32.000Z
2021-10-04T13:26:32.000Z
python/leetcode/280_wiggle_sort.py
yxun/Notebook
680ae89a32d3f7d4fdcd541e66cea97e29efbd26
[ "Apache-2.0" ]
3
2020-03-24T19:34:42.000Z
2022-01-21T20:15:39.000Z
python/leetcode/280_wiggle_sort.py
yxun/Notebook
680ae89a32d3f7d4fdcd541e66cea97e29efbd26
[ "Apache-2.0" ]
1
2021-04-01T20:56:50.000Z
2021-04-01T20:56:50.000Z
#%% """ - Wiggle Sort - https://leetcode.com/problems/wiggle-sort/ - Medium Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[1] >= nums[2] <= nums[3].... Example: Input: nums = [3,5,2,1,6,4] Output: One possible answer is [3,5,1,6,2,4] """ #%% ## class S1: def wiggleSort(self, nums): ...
19.916667
104
0.474198
101
717
3.366337
0.544554
0.058824
0.058824
0
0
0
0
0
0
0
0
0.057018
0.364017
717
35
105
20.485714
0.688596
0.444909
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
20464f88e6c7527ff417743bfb8b19c2d606f75a
1,017
py
Python
setup.py
kaste/pytest-mockito
f20cae8f592cf83682f6027c7aafafc829c13785
[ "MIT" ]
13
2017-03-21T01:16:48.000Z
2021-06-10T21:18:23.000Z
setup.py
kaste/pytest-mockito
f20cae8f592cf83682f6027c7aafafc829c13785
[ "MIT" ]
1
2017-09-25T01:06:10.000Z
2018-07-11T17:20:13.000Z
setup.py
kaste/pytest-mockito
f20cae8f592cf83682f6027c7aafafc829c13785
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="pytest-mockito", version='0.0.4', description='Base fixtures for mockito', long_description=open('README.rst').read(), license='MIT', author='herr kaste', author_email='herr.kaste@gmail.com', url='https://github.com/kaste/pytest-mockito', pl...
33.9
69
0.612586
105
1,017
5.866667
0.685714
0.084416
0.077922
0
0
0
0
0
0
0
0
0.01519
0.223206
1,017
29
70
35.068966
0.764557
0
0
0
0
0
0.543756
0.020649
0
0
0
0
0
1
0
true
0
0.035714
0
0.035714
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
2046a9865a03989fbda1a01607042dce01486fd9
4,843
py
Python
code/old/pyTorch_baxter_feed_forward_simple2.py
NLesniak/DeepLearning
c1e18a5c0fdab9c6bf4412c142c7db9c15baeef3
[ "MIT" ]
11
2020-06-05T15:38:21.000Z
2021-08-31T21:33:11.000Z
code/old/pyTorch_baxter_feed_forward_simple2.py
NLesniak/DeepLearning
c1e18a5c0fdab9c6bf4412c142c7db9c15baeef3
[ "MIT" ]
7
2019-10-23T15:30:51.000Z
2019-12-09T22:49:42.000Z
code/old/pyTorch_baxter_feed_forward_simple2.py
NLesniak/DeepLearning
c1e18a5c0fdab9c6bf4412c142c7db9c15baeef3
[ "MIT" ]
10
2020-06-18T05:43:37.000Z
2021-10-31T14:30:24.000Z
## Add modules that are necessary import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) from sympy import * import matplotlib.pyplot as plt import operator from IPython.core.display import display import torch from torch.autograd import Variable import torch.utils.da...
32.072848
92
0.694817
726
4,843
4.495868
0.287879
0.027574
0.034314
0.026961
0.27114
0.174632
0.110907
0.066789
0.066789
0.066789
0
0.016418
0.182531
4,843
150
93
32.286667
0.808032
0.137312
0
0.208696
0
0
0.04028
0.007959
0
0
0
0
0
1
0.034783
false
0
0.243478
0
0.295652
0.069565
0
0
0
null
0
0
0
0
0
0
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
1
0
2046beee5b0531f6aba2f13452eaf086c8cff9b9
890
py
Python
tests/layout/test_waveguide.py
joamatab/zeropdk
feed134fc3243655f93cfd5b3bd5b65ea928bf48
[ "MIT" ]
17
2019-08-22T15:55:50.000Z
2022-02-02T20:52:00.000Z
tests/layout/test_waveguide.py
joamatab/zeropdk
feed134fc3243655f93cfd5b3bd5b65ea928bf48
[ "MIT" ]
1
2020-09-29T00:43:38.000Z
2020-10-27T07:15:01.000Z
tests/layout/test_waveguide.py
joamatab/zeropdk
feed134fc3243655f93cfd5b3bd5b65ea928bf48
[ "MIT" ]
3
2019-09-04T07:48:35.000Z
2021-06-16T09:39:42.000Z
import numpy as np import pytest from ..context import zeropdk # noqa from zeropdk.layout.waveguides import waveguide_dpolygon from zeropdk.layout import insert_shape import klayout.db as kdb @pytest.fixture def top_cell(): def _top_cell(): layout = kdb.Layout() layout.dbu = 0.001 TOP = ...
23.421053
65
0.65618
134
890
4.231343
0.410448
0.061728
0.059965
0
0
0
0
0
0
0
0
0.039941
0.240449
890
37
66
24.054054
0.798817
0.106742
0
0
0
0
0.042984
0.035398
0
0
0
0
0
1
0.115385
false
0
0.230769
0
0.423077
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
0
0
1
0
2047aaf1773627781dbbff3024237cc94ffa4aba
1,258
py
Python
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
spottelbot/botexceptions.py
mnowiasz/spottelbot
72ad0692edf5f244b7cb16171248d266ed82ce94
[ "MIT" ]
null
null
null
"""Custom exception where the builin exceptions won't suffice""" # Invalid user in the configfile (non-numeric UserID with no "@") class InvalidUser(Exception): def __init__(self, userid): self.bad_id = userid # No Token or empty token defined class MissingTelegramToken(Exception): pass # No users...
22.070175
65
0.72814
153
1,258
5.777778
0.444444
0.081448
0.108597
0.135747
0
0
0
0
0
0
0
0.000981
0.189984
1,258
56
66
22.464286
0.866536
0.306041
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.153846
0
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
2048324c1071d236d03d6f7a8c261d1007dcdeaf
9,072
py
Python
bin/Utils/CraftCache.py
C-EO/craft
a52ead76ce400cc745876bd679eba6f62da70ee5
[ "BSD-2-Clause" ]
55
2016-11-20T17:08:19.000Z
2022-03-11T22:19:43.000Z
bin/Utils/CraftCache.py
C-EO/craft
a52ead76ce400cc745876bd679eba6f62da70ee5
[ "BSD-2-Clause" ]
17
2017-09-20T07:52:17.000Z
2021-12-03T10:03:00.000Z
bin/Utils/CraftCache.py
C-EO/craft
a52ead76ce400cc745876bd679eba6f62da70ee5
[ "BSD-2-Clause" ]
29
2016-12-10T15:00:11.000Z
2021-12-02T12:54:05.000Z
import atexit import json import os import pickle import re import shutil import subprocess import tempfile import time import urllib.error import urllib.request import sys from pathlib import Path from CraftCore import CraftCore, AutoImport from Blueprints.CraftVersion import CraftVersion from CraftOS.osutils import...
40.681614
128
0.585097
932
9,072
5.611588
0.262876
0.034417
0.035755
0.027533
0.07782
0.045698
0.03652
0.029446
0
0
0
0.003548
0.316578
9,072
222
129
40.864865
0.84
0.054343
0
0.183784
0
0
0.094304
0.006107
0
0
0
0.004505
0
1
0.075676
false
0
0.102703
0.005405
0.335135
0.010811
0
0
0
null
0
0
0
0
0
0
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
1
0
204957f54dcadffc5466310b4e613d1c9d0522f8
141
py
Python
db/mongodb/next.py
kosyachniy/dev
39bb5c5ee10780bfcd8a59cf59cfb1a348ac52a4
[ "Apache-2.0" ]
13
2018-12-17T23:30:54.000Z
2021-12-29T14:31:43.000Z
db/mongodb/next.py
kosyachniy/dev
39bb5c5ee10780bfcd8a59cf59cfb1a348ac52a4
[ "Apache-2.0" ]
36
2018-06-07T21:34:13.000Z
2022-03-13T21:01:43.000Z
db/mongodb/next.py
kosyachniy/dev
39bb5c5ee10780bfcd8a59cf59cfb1a348ac52a4
[ "Apache-2.0" ]
2
2021-01-03T11:47:20.000Z
2021-12-29T14:31:49.000Z
from func.db_mongo import * # Индекс следующего элемента try: id = db['test'].find().sort('id', -1)[0]['id'] + 1 except: id = 1 print(id)
15.666667
51
0.624113
24
141
3.625
0.708333
0.103448
0
0
0
0
0
0
0
0
0
0.033898
0.163121
141
9
52
15.666667
0.70339
0.184397
0
0
0
0
0.070175
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2049fcc66cf6a0685dbf23f42665dec25297f7e3
3,213
py
Python
dojos/design/5_naming.py
aurzenligl/tdd_training
7a83ed77181297fcb45712c7998af972032794c5
[ "MIT" ]
null
null
null
dojos/design/5_naming.py
aurzenligl/tdd_training
7a83ed77181297fcb45712c7998af972032794c5
[ "MIT" ]
12
2017-11-27T21:57:25.000Z
2017-11-27T22:01:58.000Z
dojos/design/5_naming.py
aurzenligl/tdd_training
7a83ed77181297fcb45712c7998af972032794c5
[ "MIT" ]
null
null
null
urlString = 'https://google.com' pathUsedWhenPathStringAndDefaultPathStringAndDefault2PathStringIsNotFound = 'nevermind' logPathString = "/tmp/log.txt"; logsPathString = "logs/subdir/output"; b_fileRead = True class IBaseArray(object): pass work = 0 jump = 2 parse = 42 flower = True termination = False findPath...
25.101563
98
0.71024
440
3,213
5.145455
0.425
0.04417
0.022968
0.030035
0.335689
0.335689
0.335689
0.281802
0.210247
0.210247
0
0.004945
0.181762
3,213
127
99
25.299213
0.856219
0
0
0.96875
0
0
0.077701
0
0
0
0
0
0
1
0.15625
false
0.15625
0
0.09375
0.46875
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
1
0
0
0
0
0
2
204ac12bfcc8a62a1ffcd3cacb0f4f80cf9ae16d
6,260
py
Python
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
10
2017-03-20T14:40:56.000Z
2020-04-07T17:03:42.000Z
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
50
2017-05-23T01:26:26.000Z
2020-06-05T17:13:25.000Z
web3/settings/__init__.py
anonymoose2/director
c73c0e106372031ffe84bf044d8a88137518635c
[ "MIT" ]
9
2017-03-18T01:23:38.000Z
2020-08-17T20:50:07.000Z
""" Django settings for web3 project. Generated by 'django-admin startproject' using Django 1.10.1. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
27.099567
94
0.70607
758
6,260
5.662269
0.348285
0.045433
0.033551
0.040774
0.181267
0.149581
0.06384
0.06384
0.028658
0
0
0.016832
0.164856
6,260
230
95
27.217391
0.804132
0.238339
0
0.013986
1
0.006993
0.531785
0.405069
0
0
0
0.004348
0
1
0
false
0.06993
0.020979
0
0.020979
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
204c706394af50cdc13dca585672f3febe695893
8,425
py
Python
prune/visualize.py
PaulLerner/Plumcot
7e5a6fed1bc3d099a0644f8baba77304b952ca57
[ "MIT" ]
1
2021-06-18T13:42:20.000Z
2021-06-18T13:42:20.000Z
prune/visualize.py
PaulLerner/Plumcot
7e5a6fed1bc3d099a0644f8baba77304b952ca57
[ "MIT" ]
2
2020-09-01T09:45:17.000Z
2020-09-22T14:32:01.000Z
prune/visualize.py
PaulLerner/Prune
7e5a6fed1bc3d099a0644f8baba77304b952ca57
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """Usage: visualize.py gecko (<hypotheses_path>|<database.task.protocol>) <uri> [--map --tag_na --database.task.protocol=<database.task.protocol> --embeddings=<embeddings>] visualize.py speakers (<hypotheses_path>|<database.task.protocol>) <uri> visualize.py update_distanc...
36.158798
165
0.651395
998
8,425
5.349699
0.217435
0.044578
0.041206
0.013486
0.275332
0.233752
0.208841
0.189923
0.189923
0.15059
0
0.001717
0.239644
8,425
232
166
36.314655
0.83172
0.227418
0
0.271605
0
0
0.104685
0.024277
0
0
0
0
0
1
0.04321
false
0
0.12963
0
0.203704
0.037037
0
0
0
null
0
0
0
0
0
0
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
1
0
204d1e3c250e8ba9939e2ae7da3513ab0b097992
16,003
py
Python
hopper_controller/src/ros_abstraction/leg_controller.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
36
2018-12-19T18:03:08.000Z
2022-02-21T16:20:12.000Z
hopper_controller/src/ros_abstraction/leg_controller.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
null
null
null
hopper_controller/src/ros_abstraction/leg_controller.py
CreedyNZ/Hopper_ROS
1e6354109f034a7d1d41a5b39ddcb632cfee64b2
[ "MIT" ]
7
2019-08-11T20:31:27.000Z
2021-09-19T04:34:18.000Z
from __future__ import division import rospy import tf2_ros from threading import Event from Queue import Queue, Empty from hopper_controller.srv import MoveLegsToPosition, MoveCoreToPosition, MoveLegsUntilCollision, MoveLegsToRelativePosition, MoveBodyRelative, ReadCurrentLegPositions, ReadCurrentLegPositionsRespons...
57.981884
200
0.727551
1,992
16,003
5.421687
0.093876
0.045741
0.033056
0.019444
0.758241
0.68713
0.633611
0.616667
0.574259
0.556204
0
0.010118
0.203274
16,003
275
201
58.192727
0.836941
0.020121
0
0.512295
0
0
0.021573
0.015637
0
0
0
0
0
1
0.065574
false
0
0.045082
0.004098
0.163934
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
0
0
1
0
204fbf91dd0345c4f0a3d33b337de07d901d56be
1,004
py
Python
featureExtractor/graph_features.py
MatrixBlake/AuthorProfilingAbuseDetection
0abd109a23a52cfe4b8cfc65aac08eb9762705f6
[ "MIT" ]
10
2018-06-11T05:57:39.000Z
2021-10-04T15:11:25.000Z
featureExtractor/graph_features.py
MatrixBlake/AuthorProfilingAbuseDetection
0abd109a23a52cfe4b8cfc65aac08eb9762705f6
[ "MIT" ]
1
2020-12-06T13:05:35.000Z
2021-02-10T08:01:13.000Z
featureExtractor/graph_features.py
MatrixBlake/AuthorProfilingAbuseDetection
0abd109a23a52cfe4b8cfc65aac08eb9762705f6
[ "MIT" ]
7
2019-05-22T04:09:55.000Z
2021-10-30T11:50:37.000Z
import numpy import os class GraphFeatures: def __init__(self, CONFIG): self.BASE = CONFIG['BASE'] self.EMBED_DIM = 200 self.authors = {} with open(os.path.join(self.BASE, 'resources', 'authors.txt')) as authors: for line in authors.readlines(): text_i...
31.375
82
0.581673
127
1,004
4.456693
0.362205
0.09894
0.063604
0.074205
0.289753
0.14841
0.14841
0.14841
0.14841
0
0
0.007102
0.298805
1,004
31
83
32.387097
0.796875
0
0
0
0
0
0.043825
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2050c46574beaa8d6730b8207eba67b732239e3d
4,314
py
Python
oase-root/libs/backyardlibs/monitoring_adapter/Grafana/Grafana_formatting.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
9
2020-03-25T07:51:47.000Z
2022-02-07T00:07:28.000Z
oase-root/libs/backyardlibs/monitoring_adapter/Grafana/Grafana_formatting.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
1,164
2021-01-28T23:16:11.000Z
2022-03-28T07:23:10.000Z
oase-root/libs/backyardlibs/monitoring_adapter/Grafana/Grafana_formatting.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
25
2020-03-17T06:48:30.000Z
2022-02-15T15:13:44.000Z
# Copyright 2019 NEC Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
28.95302
157
0.607557
473
4,314
5.348837
0.401691
0.031621
0.035573
0.026087
0.075099
0.054545
0.054545
0.054545
0.038735
0.038735
0
0.019988
0.257765
4,314
148
158
29.148649
0.770144
0.241076
0
0.05
0
0
0.108208
0
0
0
0
0
0
1
0.033333
false
0
0.15
0
0.233333
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
0
0
1
0
205195453564dfb12dd43dd630b3ac86bfdd8b65
6,077
py
Python
flask_occam/mixins.py
bprinty/Flask-Occam
4ceae0d810656c187c37eaf78ef323b7d06c6b51
[ "MIT" ]
2
2020-04-25T12:40:39.000Z
2021-06-03T08:21:17.000Z
flask_occam/mixins.py
bprinty/Flask-Occam
4ceae0d810656c187c37eaf78ef323b7d06c6b51
[ "MIT" ]
5
2019-10-25T04:40:32.000Z
2021-05-26T15:07:40.000Z
flask_occam/mixins.py
bprinty/Flask-Occam
4ceae0d810656c187c37eaf78ef323b7d06c6b51
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Database mixins # # ------------------------------------------------ # imports # ------- from flask import current_app # helpers # ------- def current_db(): return current_app.extensions['sqlalchemy'].db # mixins # ------ class ModelMixin(object): """ Example database mixin...
27.008889
89
0.53974
684
6,077
4.73538
0.302632
0.030256
0.016981
0.016054
0.092004
0.016054
0.016054
0
0
0
0
0.005093
0.353793
6,077
224
90
27.129464
0.81971
0.363666
0
0.244444
0
0
0.009397
0
0
0
0
0
0
1
0.144444
false
0
0.033333
0.011111
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
0
0
0
0
1
0
2052bb06764e5c0224b0e6c8510fd80835c27b0c
392
py
Python
crm/inv/migrations/0007_auto_20200407_1034.py
javvadigithub/apicrm
285e248b33a3f4cfe29522940f1c3a669efa041f
[ "MIT" ]
null
null
null
crm/inv/migrations/0007_auto_20200407_1034.py
javvadigithub/apicrm
285e248b33a3f4cfe29522940f1c3a669efa041f
[ "MIT" ]
null
null
null
crm/inv/migrations/0007_auto_20200407_1034.py
javvadigithub/apicrm
285e248b33a3f4cfe29522940f1c3a669efa041f
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-07 10:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inv', '0006_auto_20200407_1033'), ] operations = [ migrations.AlterField( model_name='product', name='stock', ...
20.631579
60
0.596939
44
392
5.204545
0.863636
0
0
0
0
0
0
0
0
0
0
0.114286
0.285714
392
18
61
21.777778
0.703571
0.114796
0
0
1
0
0.110145
0.066667
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2053a68db0bd72f652dee47d009977bcd39210e3
2,577
py
Python
ephios/core/signals.py
garinm90/ephios
7d04d3287ae16ee332e31add1f25829b199f29a5
[ "MIT" ]
null
null
null
ephios/core/signals.py
garinm90/ephios
7d04d3287ae16ee332e31add1f25829b199f29a5
[ "MIT" ]
null
null
null
ephios/core/signals.py
garinm90/ephios
7d04d3287ae16ee332e31add1f25829b199f29a5
[ "MIT" ]
null
null
null
from django.db.models.signals import post_save from django.dispatch import receiver from ephios.core import mail from ephios.core.models import LocalParticipation from ephios.core.plugins import PluginSignal # PluginSignals are only send out to enabled plugins. register_consequence_handlers = PluginSignal() """ This...
35.30137
108
0.788902
344
2,577
5.81686
0.357558
0.03998
0.065967
0.071964
0.306347
0.245377
0.231384
0.166917
0.130935
0.093953
0
0
0.141638
2,577
72
109
35.791667
0.904611
0.01979
0
0.071429
0
0
0.100181
0.100181
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.321429
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
0
0
1
0
2053e2387ca9e5237b938400a0d5fb3550ced8c5
401
py
Python
onetest4.py
Kupets77/Testing1
93e0c6f0960d878b491f46c4b6c3ea80574e7394
[ "Apache-2.0" ]
null
null
null
onetest4.py
Kupets77/Testing1
93e0c6f0960d878b491f46c4b6c3ea80574e7394
[ "Apache-2.0" ]
null
null
null
onetest4.py
Kupets77/Testing1
93e0c6f0960d878b491f46c4b6c3ea80574e7394
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import pytest from group import Group from application import Application @pytest.fixture def app(request): fixture = Application() request.addfinalizer(fixture.destroy) return fixture def test_one(app): app.open_catalog_page() app.open_autorisation() app.autorisation(G...
23.588235
85
0.730673
48
401
6.020833
0.583333
0.069204
0
0
0
0
0
0
0
0
0
0.023529
0.15212
401
16
86
25.0625
0.826471
0.052369
0
0
0
0
0.084656
0
0
0
0
0
0
1
0.153846
false
0.076923
0.230769
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
20556093e3cbd97c50d9535880c7159834951ef0
2,116
py
Python
byceps/services/shop/order/actions/create_ticket_bundles.py
GyBraLAN/byceps
b53087849c10a531b66d08999116fa1bef312a7f
[ "BSD-3-Clause" ]
null
null
null
byceps/services/shop/order/actions/create_ticket_bundles.py
GyBraLAN/byceps
b53087849c10a531b66d08999116fa1bef312a7f
[ "BSD-3-Clause" ]
null
null
null
byceps/services/shop/order/actions/create_ticket_bundles.py
GyBraLAN/byceps
b53087849c10a531b66d08999116fa1bef312a7f
[ "BSD-3-Clause" ]
null
null
null
""" byceps.services.shop.order.actions.create_ticket_bundles ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Copyright: 2006-2021 Jochen Kupperschmidt :License: Revised BSD (see `LICENSE` file for details) """ from .....typing import UserID from ....ticketing.dbmodels.ticket_bundle import TicketBundle from...
29.388889
75
0.71172
252
2,116
5.579365
0.257937
0.110953
0.068279
0.036273
0.175676
0.122333
0
0
0
0
0
0.004611
0.180057
2,116
71
76
29.802817
0.805764
0.111059
0
0.041667
0
0
0.074411
0.051927
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.208333
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
0
0
1
0
2055e8ec591e899da3b0c94d3770cf3dfa0e07d4
450
py
Python
apps/track/migrations/0006_auto_20200611_0101.py
martinlehoux/django_bike
05373d2649647fe8ebadb0aad54b9a7ec1900fe7
[ "MIT" ]
1
2020-08-12T17:53:37.000Z
2020-08-12T17:53:37.000Z
apps/track/migrations/0006_auto_20200611_0101.py
martinlehoux/django_bike
05373d2649647fe8ebadb0aad54b9a7ec1900fe7
[ "MIT" ]
12
2020-07-03T03:52:00.000Z
2021-09-22T18:00:44.000Z
apps/track/migrations/0006_auto_20200611_0101.py
martinlehoux/django_bike
05373d2649647fe8ebadb0aad54b9a7ec1900fe7
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-11 01:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("track", "0005_auto_20200610_2246"), ] operations = [ migrations.RenameModel( old_name="TrackPoint", new_name="Point", ...
20.454545
47
0.56
43
450
5.744186
0.790698
0.072874
0
0
0
0
0
0
0
0
0
0.100649
0.315556
450
21
48
21.428571
0.701299
0.1
0
0.133333
1
0
0.148883
0.057072
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
205660960327a896bf31bd564783248e520146a9
1,108
py
Python
dexter/admin/widgets.py
CodeForAfrica/mma-dexter
10d7f0c51bb935399c708a432699e06418049a33
[ "Apache-2.0" ]
12
2015-06-14T05:50:39.000Z
2021-09-12T17:03:47.000Z
dexter/admin/widgets.py
CodeForAfrica/mma-dexter
10d7f0c51bb935399c708a432699e06418049a33
[ "Apache-2.0" ]
32
2019-07-25T06:17:31.000Z
2019-08-05T02:41:42.000Z
dexter/admin/widgets.py
CodeForAfricaLabs/mma-dexter
10d7f0c51bb935399c708a432699e06418049a33
[ "Apache-2.0" ]
9
2016-04-04T03:08:22.000Z
2020-02-19T09:55:45.000Z
from cgi import escape from wtforms import widgets from wtforms.compat import text_type from wtforms.widgets.core import html_params, HTMLString class CheckboxSelectWidget(widgets.Select): """ Select widget that is a list of checkboxes """ def __call__(self, field, **kwargs): if 'id' in kwargs: ...
33.575758
138
0.620036
130
1,108
5.184615
0.453846
0.048961
0.047478
0
0
0
0
0
0
0
0
0
0.231047
1,108
32
139
34.625
0.79108
0.037906
0
0
0
0
0.133776
0.028463
0
0
0
0
0
1
0.086957
false
0
0.173913
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2059823110054469bda0c1cbc025a00aa2057e4b
6,702
py
Python
openspeech/lm/transformer_lm.py
CanYouImagine/openspeech
095d78828a9caed0151727897f35534231947846
[ "Apache-2.0", "MIT" ]
207
2021-07-22T02:04:47.000Z
2022-03-31T07:24:12.000Z
openspeech/lm/transformer_lm.py
tqslj2/openspeech
10307587f08615224df5a868fb5249c68c70b12d
[ "Apache-2.0", "MIT" ]
81
2021-07-21T16:52:22.000Z
2022-03-31T14:56:54.000Z
openspeech/lm/transformer_lm.py
tqslj2/openspeech
10307587f08615224df5a868fb5249c68c70b12d
[ "Apache-2.0", "MIT" ]
43
2021-07-21T16:33:27.000Z
2022-03-23T09:43:49.000Z
# MIT License # # Copyright (c) 2021 Soohwan Kim and Sangchun Ha and Soyoung Cho # # 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...
38.965116
119
0.661594
837
6,702
5.130227
0.286738
0.025151
0.023754
0.011178
0.205636
0.162785
0.119236
0.119236
0.108989
0.108989
0
0.01087
0.258729
6,702
171
120
39.192982
0.853462
0.402716
0
0.132653
0
0
0
0
0
0
0
0
0
1
0.05102
false
0
0.05102
0
0.153061
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
0
0
1
0
2059a11952c6bb57e1ddde4398fa3d4afdd9f065
4,540
py
Python
app.py
Mohitsharma44/uodashboard
9654511817b06c6ce73f7cbcdd1415ba0a78004f
[ "MIT" ]
null
null
null
app.py
Mohitsharma44/uodashboard
9654511817b06c6ce73f7cbcdd1415ba0a78004f
[ "MIT" ]
1
2017-07-21T14:41:51.000Z
2017-07-21T16:19:55.000Z
app.py
Mohitsharma44/uodashboard
9654511817b06c6ce73f7cbcdd1415ba0a78004f
[ "MIT" ]
null
null
null
import os import json import time import base64 from io import StringIO from tornado import websocket, web, ioloop, gen, escape # list of clients to push the data to clients = [] class BaseHandler(web.RequestHandler): def get_current_user(self): return self.get_secure_cookie("user") class AudubonHandler...
27.515152
73
0.581278
501
4,540
5.141717
0.347305
0.024457
0.03028
0.024845
0.172748
0.110637
0.110637
0.070652
0.070652
0.070652
0
0.008964
0.287445
4,540
164
74
27.682927
0.787326
0.094053
0
0.166667
0
0
0.124937
0.016775
0
0
0
0.006098
0
1
0.122807
false
0.017544
0.052632
0.008772
0.280702
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6443f914d5d0b5b31f9340a5022b1d6bb4a641d5
11,233
py
Python
orcoursetrion/tests/base.py
kboots-mit/orcoursetrion
06f62a903077a1ddfe662e2b7214ba1f97933eb0
[ "BSD-2-Clause" ]
2
2015-06-13T16:14:26.000Z
2015-10-27T17:19:12.000Z
orcoursetrion/tests/base.py
kboots-mit/orcoursetrion
06f62a903077a1ddfe662e2b7214ba1f97933eb0
[ "BSD-2-Clause" ]
43
2015-02-16T17:06:14.000Z
2018-09-07T15:33:14.000Z
orcoursetrion/tests/base.py
kboots-mit/orcoursetrion
06f62a903077a1ddfe662e2b7214ba1f97933eb0
[ "BSD-2-Clause" ]
4
2015-05-27T19:43:59.000Z
2022-03-17T19:01:11.000Z
# -*- coding: utf-8 -*- """ Test base class with commonly used methods and variables """ import json import re import unittest import httpretty class TestGithubBase(unittest.TestCase): """Test Github actions and backing library.""" OAUTH2_TOKEN = '12345' ORG = 'NOT_REAL' URL = 'http://localhost/' ...
30.691257
78
0.517404
1,171
11,233
4.823228
0.176772
0.037181
0.025496
0.061615
0.554533
0.489731
0.434667
0.38403
0.350921
0.304178
0
0.014266
0.363483
11,233
365
79
30.775342
0.775664
0.129796
0
0.411765
0
0
0.100477
0.044032
0
0
0
0
0.047794
1
0.066176
false
0
0.014706
0
0.172794
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
0
0
1
0
6444fc949f84882592e7af529a265c5ac81da84e
4,799
py
Python
evm/scripts/bench_evm384.py
jnordberg/benchmarking
f212eeda06210e64a71e6180091a279342f6f215
[ "Apache-2.0" ]
21
2018-12-10T18:46:12.000Z
2021-11-22T04:42:49.000Z
evm/scripts/bench_evm384.py
jnordberg/benchmarking
f212eeda06210e64a71e6180091a279342f6f215
[ "Apache-2.0" ]
94
2018-12-11T22:52:12.000Z
2021-02-02T23:07:25.000Z
evm/scripts/bench_evm384.py
jnordberg/benchmarking
f212eeda06210e64a71e6180091a279342f6f215
[ "Apache-2.0" ]
7
2018-12-11T22:45:58.000Z
2021-11-22T04:42:03.000Z
#!/usr/bin/env python3 import re import subprocess import nanodurationpy as durationpy import csv import time import datetime import os import shutil import shlex import json # output paths should be mounted docker volumes RESULT_CSV_OUTPUT_PATH = "/evmraceresults" RESULT_CSV_FILENAME = "evm_benchmarks_evmone384.csv...
43.234234
339
0.709731
571
4,799
5.698774
0.313485
0.050707
0.022127
0.029195
0.34327
0.333436
0.333436
0.333436
0.305163
0.305163
0
0.134238
0.140029
4,799
110
340
43.627273
0.654228
0.039175
0
0
0
0.043478
0.36495
0.249932
0
0
0
0
0
1
0.043478
false
0
0.144928
0
0.202899
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64482cc0c9d8191912e52468d78f9daed36c3761
17,755
py
Python
etsin_finder_search/catalog_record_converter.py
CSCfi/etsin-finder-search
c76888de65a3c32d98f78f863850a374606420c1
[ "MIT" ]
null
null
null
etsin_finder_search/catalog_record_converter.py
CSCfi/etsin-finder-search
c76888de65a3c32d98f78f863850a374606420c1
[ "MIT" ]
9
2017-11-11T10:35:41.000Z
2021-01-21T10:58:50.000Z
etsin_finder_search/catalog_record_converter.py
CSCfi/etsin-finder-search
c76888de65a3c32d98f78f863850a374606420c1
[ "MIT" ]
2
2018-03-06T08:19:48.000Z
2019-03-20T06:55:16.000Z
# This file is part of the Etsin service # # Copyright 2017-2018 Ministry of Education and Culture, Finland # # :author: CSC - IT Center for Science Ltd., Espoo Finland <servicedesk@csc.fi> # :license: MIT from etsin_finder_search.reindexing_log import get_logger from etsin_finder_search.utils import \ catalog_rec...
45.293367
148
0.610926
2,242
17,755
4.351026
0.077163
0.060892
0.025833
0.026653
0.667863
0.609534
0.470425
0.405843
0.318811
0.286212
0
0.000724
0.299859
17,755
391
149
45.409207
0.784008
0.050239
0
0.171004
0
0
0.143527
0.016903
0
0
0
0
0
1
0.037175
false
0
0.007435
0
0.092937
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
0
0
1
0
6448339d56590e86a2c7d522cbb83b6740c5c6f1
3,350
py
Python
ndb/src/google/cloud/ndb/exceptions.py
juan-rael/google-cloud-python
1d762a11ec8d76a7413aecdc4748699e662c4976
[ "Apache-2.0" ]
null
null
null
ndb/src/google/cloud/ndb/exceptions.py
juan-rael/google-cloud-python
1d762a11ec8d76a7413aecdc4748699e662c4976
[ "Apache-2.0" ]
null
null
null
ndb/src/google/cloud/ndb/exceptions.py
juan-rael/google-cloud-python
1d762a11ec8d76a7413aecdc4748699e662c4976
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
31.603774
79
0.707164
449
3,350
5.184855
0.461025
0.025773
0.014175
0.013746
0.024055
0.024055
0
0
0
0
0
0.003377
0.204478
3,350
105
80
31.904762
0.870169
0.668657
0
0.074074
0
0
0.224554
0.033578
0
0
0
0
0
1
0.111111
false
0
0
0
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
0
0
0
0
0
0
0
0
0
0
1
0
6448a7050ade05bceafdf46782f6495e4df28414
5,074
py
Python
sourcecode.py
hansalemaos/PDFImage2TXT
cb85c8d3496595128c2985f028dc001c525611c1
[ "Apache-2.0", "MIT" ]
3
2021-12-08T22:46:39.000Z
2022-02-22T02:51:00.000Z
sourcecode.py
hansalemaos/PDFImage2TXT
cb85c8d3496595128c2985f028dc001c525611c1
[ "Apache-2.0", "MIT" ]
null
null
null
sourcecode.py
hansalemaos/PDFImage2TXT
cb85c8d3496595128c2985f028dc001c525611c1
[ "Apache-2.0", "MIT" ]
1
2021-12-18T02:38:43.000Z
2021-12-18T02:38:43.000Z
# coding: utf-8 -*- import pathlib from tkinter.filedialog import askopenfilename from tkinter import Tk import os import re import textwrap import easyocr import string reader = easyocr.Reader(['de','en', 'pt']) erlaubtezeichen = string.ascii_letters+string.digits from pdf2jpg import pdf2jpg wrapper = textwrap.TextWra...
40.269841
163
0.631257
542
5,074
5.878229
0.309963
0.014124
0.013183
0.005022
0.263026
0.216573
0.216573
0.216573
0.216573
0.216573
0
0.008644
0.20201
5,074
125
164
40.592
0.777229
0.006307
0
0.27027
0
0.009009
0.15522
0.042477
0
0
0
0
0
1
0.045045
false
0
0.081081
0
0.153153
0.045045
0
0
0
null
0
0
0
0
0
0
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
1
0
64495a18dcefc4b3378d128ce25affb7b2d24c94
8,371
py
Python
arspb/policies.py
jadenvc/ARS
f4082b3a71b1f8255e8d74ebfe4aa4bda668145f
[ "BSD-2-Clause" ]
null
null
null
arspb/policies.py
jadenvc/ARS
f4082b3a71b1f8255e8d74ebfe4aa4bda668145f
[ "BSD-2-Clause" ]
null
null
null
arspb/policies.py
jadenvc/ARS
f4082b3a71b1f8255e8d74ebfe4aa4bda668145f
[ "BSD-2-Clause" ]
null
null
null
# Lint as: python3 ''' Policy class for computing action from weights and observation vector. Horia Mania --- hmania@berkeley.edu Aurelia Guy Benjamin Recht ''' """Policy class for computing action from weights and observation vector. It is a modified policy class from third_party/py/ARS/code/policies.py. """ i...
35.470339
87
0.699797
1,142
8,371
4.867776
0.155867
0.07987
0.027523
0.025184
0.604425
0.56467
0.554056
0.540205
0.530131
0.506206
0
0.006237
0.195556
8,371
235
88
35.621277
0.819275
0.196392
0
0.482014
0
0
0.071596
0.029481
0
0
0
0
0
1
0.100719
false
0.007194
0.028777
0.014388
0.208633
0.007194
0
0
0
null
0
0
0
0
0
0
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
1
0
644ac38694b94344139cb74290d5bfa4af1b100b
1,363
py
Python
app/post/migrations/0003_auto_20200418_1922.py
FinalProject-Team4/Server_DaangnMarket
258eb8c79fcbed69d516f521e6194cac7b315a58
[ "MIT" ]
1
2020-06-20T12:52:07.000Z
2020-06-20T12:52:07.000Z
app/post/migrations/0003_auto_20200418_1922.py
FinalProject-Team4/Server_DaangnMarket
258eb8c79fcbed69d516f521e6194cac7b315a58
[ "MIT" ]
34
2020-03-16T12:09:14.000Z
2021-04-08T20:23:42.000Z
app/post/migrations/0003_auto_20200418_1922.py
FinalProject-Team4/Server_DaangnMarket
258eb8c79fcbed69d516f521e6194cac7b315a58
[ "MIT" ]
2
2020-03-22T06:45:39.000Z
2020-03-22T06:55:11.000Z
# Generated by Django 3.0.4 on 2020-04-18 10:22 import core.managers from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('pos...
34.948718
149
0.592076
137
1,363
5.722628
0.591241
0.030612
0.035714
0.056122
0
0
0
0
0
0
0
0.035714
0.280998
1,363
38
150
35.868421
0.764286
0.033015
0
0.125
1
0
0.120061
0.017477
0
0
0
0
0
1
0
false
0
0.125
0
0.21875
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
644c0eea66543b024562d743d76998786e9627ec
1,657
py
Python
tests/operators/test_dbt_operator.py
jennybrown8/airflow-dbt
bd63ae8317770dfb490ae32548ce0e96834c7b3c
[ "MIT" ]
2
2020-08-12T20:01:35.000Z
2020-08-12T20:01:38.000Z
tests/operators/test_dbt_operator.py
jennybrown8/airflow-dbt
bd63ae8317770dfb490ae32548ce0e96834c7b3c
[ "MIT" ]
1
2021-04-22T23:52:00.000Z
2021-04-22T23:52:00.000Z
tests/operators/test_dbt_operator.py
jennybrown8/airflow-dbt
bd63ae8317770dfb490ae32548ce0e96834c7b3c
[ "MIT" ]
1
2021-03-12T20:51:54.000Z
2021-03-12T20:51:54.000Z
import datetime from unittest import TestCase, mock from airflow import DAG, configuration from airflow_dbt.hooks.dbt_hook import DbtCliHook from airflow_dbt.operators.dbt_operator import ( DbtSeedOperator, DbtSnapshotOperator, DbtRunOperator, DbtTestOperator ) class TestDbtOperator(TestCase): def...
29.070175
56
0.640314
193
1,657
5.217617
0.259067
0.0715
0.079444
0.099305
0.484608
0.397219
0.397219
0.397219
0.397219
0.234359
0
0.005724
0.261919
1,657
56
57
29.589286
0.817661
0
0
0.24
0
0
0.059747
0
0
0
0
0
0.08
1
0.1
false
0
0.1
0
0.22
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
0
0
1
0
644c508da3f4fdfb9ed54fd1fe16c13cf801464e
4,122
py
Python
Ashcraft-rsa-algorithm.py
Chillica/Algorithms
ece45ec5b05640f795de56b7e2b8bf6836659a9e
[ "MIT" ]
null
null
null
Ashcraft-rsa-algorithm.py
Chillica/Algorithms
ece45ec5b05640f795de56b7e2b8bf6836659a9e
[ "MIT" ]
null
null
null
Ashcraft-rsa-algorithm.py
Chillica/Algorithms
ece45ec5b05640f795de56b7e2b8bf6836659a9e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Jacob Ashcraft RSA Algorithm 2 Advanced Algorithms Professor Teichert """ import math ###################### Constants ###################### primes = [110487089277121433970806926710031676468486143869889341376537597422615205558243704080712263653321436167325483283204907700784269778678235765...
38.886792
320
0.737506
336
4,122
9.029762
0.294643
0.004614
0.00824
0.003955
0.052406
0.042848
0.033619
0.019776
0.019776
0
0
0.570362
0.155264
4,122
106
321
38.886792
0.300976
0.114265
0
0
0
0
0.006026
0
0
0
0
0
0.193548
1
0.193548
false
0
0.016129
0.016129
0.322581
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
644d64204bad398a95c41f4ac02a80097e324fcd
2,966
py
Python
tasks/NamedEntityRecognition.py
cmathx/transformers-tutorial
1d27100eda528c58952ff96935effa5fbf784422
[ "MIT" ]
1
2021-01-19T00:45:36.000Z
2021-01-19T00:45:36.000Z
tasks/NamedEntityRecognition.py
cmathx/transformers-tutorial
1d27100eda528c58952ff96935effa5fbf784422
[ "MIT" ]
null
null
null
tasks/NamedEntityRecognition.py
cmathx/transformers-tutorial
1d27100eda528c58952ff96935effa5fbf784422
[ "MIT" ]
null
null
null
from transformers import pipeline nlp = pipeline("ner") sequence = """Hugging Face Inc. is a company based in New York City. Its headquarters are in DUMBO, therefore very close to the Manhattan Bridge which is visible from the window.""" print(nlp(sequence)) #[ # {'word': 'Hu', 'score': 0.999563276767730...
57.038462
541
0.608227
379
2,966
4.746702
0.313984
0.037799
0.044469
0.054475
0.125625
0.125625
0.125625
0.125625
0.125625
0.125625
0
0.082137
0.154417
2,966
52
541
57.038462
0.635167
0.589346
0
0
0
0.074074
0.35399
0.040747
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.074074
0
0
0
null
0
0
0
0
0
0
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
1
0
644dcbddb7fdd16f064ac3d720197b1d882c7b29
476
py
Python
tests/misc/mtcnn/mtcnn_test.py
indiradutta/PyVision
cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf
[ "BSD-3-Clause" ]
31
2020-05-03T07:03:01.000Z
2022-01-29T15:29:22.000Z
tests/misc/mtcnn/mtcnn_test.py
indiradutta/PyVision
cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf
[ "BSD-3-Clause" ]
13
2020-05-25T14:23:46.000Z
2021-08-04T10:38:02.000Z
tests/misc/mtcnn/mtcnn_test.py
indiradutta/PyVision
cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf
[ "BSD-3-Clause" ]
12
2020-05-24T22:26:59.000Z
2021-08-03T18:30:51.000Z
from pyvision.misc.mtcnn import MTCNN from pyvision.misc.mtcnn.utils.visualize import show_boxes, _show_boxes from PIL import Image import cv2 from glob import glob a = [glob("tests/misc/mtcnn/images/*.{}".format(s)) for s in ["jpg", "jpeg", "png"]] imgs = [i for ai in a for i in ai] mtcnn = MTCNN() for img in imgs:...
23.8
84
0.653361
79
476
3.860759
0.405063
0.118033
0.104918
0.137705
0.104918
0
0
0
0
0
0
0.002674
0.214286
476
20
85
23.8
0.812834
0
0
0
0
0
0.079665
0.0587
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
644f0bed868677fe86feb9405b9bdbfa79b1d42d
2,723
py
Python
poet_distributed/niches/minigrid/minigrid.py
gdicker1/poet
388a239d957e719eff1e774f5a8587496ca15474
[ "Apache-2.0" ]
null
null
null
poet_distributed/niches/minigrid/minigrid.py
gdicker1/poet
388a239d957e719eff1e774f5a8587496ca15474
[ "Apache-2.0" ]
null
null
null
poet_distributed/niches/minigrid/minigrid.py
gdicker1/poet
388a239d957e719eff1e774f5a8587496ca15474
[ "Apache-2.0" ]
null
null
null
from ..core import Niche from .model import Model, simulate from .env import minigridhard_custom, Env_config from collections import OrderedDict DEFAULT_ENV = Env_config( name='default_env', lava_prob=[0., 0.1], obstacle_lvl=[0., 1.], box_to_ball_prob=[0., 0.3], door_prob=[0., 0...
35.363636
106
0.614763
340
2,723
4.685294
0.258824
0.119272
0.11425
0.013183
0.24231
0.140615
0.081607
0.042687
0
0
0
0.013238
0.278737
2,723
76
107
35.828947
0.797862
0.022402
0
0.060606
0
0
0.045847
0
0
0
0
0
0.030303
1
0.106061
false
0
0.075758
0.015152
0.257576
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
0
0
1
0
644fa421d3fdee3839ddd205617f6c42dc3bfce9
704
py
Python
machine/qemu/sources/u-boot/tools/binman/etype/intel_cmc.py
muddessir/framework
5b802b2dd7ec9778794b078e748dd1f989547265
[ "MIT" ]
1
2021-11-21T19:56:29.000Z
2021-11-21T19:56:29.000Z
machine/qemu/sources/u-boot/tools/binman/etype/intel_cmc.py
muddessir/framework
5b802b2dd7ec9778794b078e748dd1f989547265
[ "MIT" ]
null
null
null
machine/qemu/sources/u-boot/tools/binman/etype/intel_cmc.py
muddessir/framework
5b802b2dd7ec9778794b078e748dd1f989547265
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: GPL-2.0+ # Copyright (c) 2016 Google, Inc # Written by Simon Glass <sjg@chromium.org> # # Entry-type module for Intel Chip Microcode binary blob # from binman.etype.blob_ext import Entry_blob_ext class Entry_intel_cmc(Entry_blob_ext): """Entry containing an Intel Chipset Micro Code (CMC...
30.608696
73
0.724432
102
704
4.843137
0.705882
0.04251
0.048583
0
0
0
0
0
0
0
0
0.028169
0.193182
704
22
74
32
0.841549
0.673295
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6451a5afeb68d14a7e51707380bfe62ee1b2d8cf
697
py
Python
data/addresses.py
katwyp/python_training
0dc4b8ed146ff6322864039a9e77fbd5cd62ef85
[ "Apache-2.0" ]
null
null
null
data/addresses.py
katwyp/python_training
0dc4b8ed146ff6322864039a9e77fbd5cd62ef85
[ "Apache-2.0" ]
null
null
null
data/addresses.py
katwyp/python_training
0dc4b8ed146ff6322864039a9e77fbd5cd62ef85
[ "Apache-2.0" ]
null
null
null
from model.address import Address testdata = [ Address(firstname="", lastname="", address="", homephone="", mobile="", workphone="", secondaryphone="", email="", email2="", email3=""), Address(firstname="address1", lastname="address1", address="address1", homephone="address1", mobile="...
49.785714
108
0.652798
59
697
7.711864
0.271186
0.105495
0
0
0
0
0
0
0
0
0
0.044444
0.160689
697
13
109
53.615385
0.733333
0
0
0
0
0
0.229555
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
0
0
1
0
6451d0079ea88137df36988360ef50d249625cbd
447
py
Python
main/urls.py
Kadweka/STUDENTS-award
b679bb9cc240b0e56feba4bea780da24ad61a31b
[ "MIT" ]
null
null
null
main/urls.py
Kadweka/STUDENTS-award
b679bb9cc240b0e56feba4bea780da24ad61a31b
[ "MIT" ]
4
2021-03-19T08:32:26.000Z
2022-03-12T00:05:33.000Z
main/urls.py
hussein18149/STUDENTS-award
b679bb9cc240b0e56feba4bea780da24ad61a31b
[ "MIT" ]
null
null
null
from . import views from django.conf.urls import url from django.conf.urls.static import static from django.conf import settings urlpatterns=[ url(r'^$', views.home,name='home'), url(r'^award/',views.add_student, name='student'), url(r'^awards/',views.awards,name='awards'), url(r'students/',views.my_st...
29.8
80
0.727069
64
447
5
0.375
0.05
0.13125
0.1125
0
0
0
0
0
0
0
0
0.116331
447
14
81
31.928571
0.810127
0
0
0
0
0
0.11435
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6454be3091761768943878624a7f7adabf1b301c
7,176
py
Python
converters/usfm2html_converter.py
unfoldingWord-dev/tx-job-handler
5364ed079bbd5b6528eeb6d12f2ca5c696e84f4f
[ "MIT" ]
1
2020-11-25T04:07:37.000Z
2020-11-25T04:07:37.000Z
converters/usfm2html_converter.py
unfoldingWord-dev/tx-job-handler
5364ed079bbd5b6528eeb6d12f2ca5c696e84f4f
[ "MIT" ]
52
2018-10-25T05:49:30.000Z
2022-03-16T22:31:57.000Z
converters/usfm2html_converter.py
unfoldingWord-dev/tx-job-handler
5364ed079bbd5b6528eeb6d12f2ca5c696e84f4f
[ "MIT" ]
null
null
null
import os import tempfile import string from bs4 import BeautifulSoup from shutil import copyfile from rq_settings import prefix, debug_mode_flag from app_settings.app_settings import AppSettings from general_tools.file_utils import write_file, remove_tree, get_files from converters.converter import Converter from tx_...
61.862069
226
0.636148
845
7,176
5.20355
0.246154
0.073914
0.045031
0.047078
0.264499
0.178758
0.178758
0.140096
0.075051
0.051399
0
0.008312
0.279125
7,176
115
227
62.4
0.839358
0.206522
0
0.02381
0
0.011905
0.187456
0.046466
0
0
0
0
0
1
0.011905
false
0.011905
0.119048
0
0.154762
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
0
0
1
0
6456d6157ce3260e6b735493caaee1a68c6e74f6
11,764
py
Python
xen-4.6.0/tools/python/xen/migration/legacy.py
StanPlatinum/VMI-as-a-Service
5828a9c73815ad7e043428e7e56dc0715aaa60a1
[ "MIT" ]
3
2019-08-31T19:58:24.000Z
2020-10-02T06:50:22.000Z
xen-4.6.0/tools/python/xen/migration/legacy.py
StanPlatinum/VMI-as-a-Service
5828a9c73815ad7e043428e7e56dc0715aaa60a1
[ "MIT" ]
1
2020-10-16T19:13:49.000Z
2020-10-16T19:13:49.000Z
xen-4.6.0/tools/python/xen/migration/legacy.py
StanPlatinum/ROP-detection-inside-VMs
7b39298dd0791711cbd78fd0730b819b755cc995
[ "MIT" ]
1
2021-06-06T21:10:21.000Z
2021-06-06T21:10:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Legacy migration stream information. Documentation and record structures for legacy migration, for both libxc and libxl. """ """ Libxc: SAVE/RESTORE/MIGRATE PROTOCOL ============================= The general form of a stream of chunks is a header followed by a body...
37.227848
82
0.650714
1,638
11,764
4.518926
0.250916
0.023777
0.015131
0.020535
0.235612
0.1709
0.148744
0.148744
0.144285
0.144285
0
0.025101
0.302363
11,764
315
83
37.346032
0.876812
0.021081
0
0
0
0
0.151338
0.035037
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
645788a314377b0b95dd2d2eb4ba83dae9fbf763
2,102
py
Python
aoc2018/dec10/solve.py
robfalck/AoC2018
9cc6a94d11d70ea11df4999df2fdf955cc5c155a
[ "Apache-2.0" ]
null
null
null
aoc2018/dec10/solve.py
robfalck/AoC2018
9cc6a94d11d70ea11df4999df2fdf955cc5c155a
[ "Apache-2.0" ]
null
null
null
aoc2018/dec10/solve.py
robfalck/AoC2018
9cc6a94d11d70ea11df4999df2fdf955cc5c155a
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function, division, absolute_import import re import numpy as np re_posvel = re.compile(r'position=<(.+),(.+)> velocity=<(.+),(.+)>') np.set_printoptions(linewidth=1024, edgeitems=1000) def parse(s): """ Parse out the positions and velocities. """ match = (re_posvel.sear...
26.275
91
0.5647
335
2,102
3.432836
0.391045
0.005217
0.01913
0.013913
0.144348
0.132174
0.132174
0.092174
0.092174
0.092174
0
0.020722
0.288297
2,102
79
92
26.607595
0.747995
0.198382
0
0.122449
0
0
0.053528
0
0
0
0
0
0
1
0.061224
false
0
0.061224
0
0.142857
0.163265
0
0
0
null
0
0
0
0
0
0
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
1
0
64586d11389e7cde5b3da86656bab0ca595bc703
179
py
Python
rockstarUse.py
druv777/TensorFlow-clone
70940acd8ef63455990522093c5642008e979415
[ "MIT" ]
null
null
null
rockstarUse.py
druv777/TensorFlow-clone
70940acd8ef63455990522093c5642008e979415
[ "MIT" ]
null
null
null
rockstarUse.py
druv777/TensorFlow-clone
70940acd8ef63455990522093c5642008e979415
[ "MIT" ]
null
null
null
from rockstar import RockStar swift_code = "print('Hello world')" rock_it_bro = RockStar(days=1900, file_name='hello.swift', code=swift_code) rock_it_bro.make_me_a_rockstar()
35.8
76
0.782123
29
179
4.482759
0.62069
0.207692
0.138462
0
0
0
0
0
0
0
0
0.024845
0.100559
179
5
77
35.8
0.782609
0
0
0
0
0
0.176136
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
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
3
6458a243324d7ff5c0c4b5c43474456bdfc889fa
476
py
Python
mmedit/core/evaluation/__init__.py
KKIEEK/mmediting
e3e3c934049c7e2067334074c535f80c8f4795cc
[ "Apache-2.0" ]
null
null
null
mmedit/core/evaluation/__init__.py
KKIEEK/mmediting
e3e3c934049c7e2067334074c535f80c8f4795cc
[ "Apache-2.0" ]
null
null
null
mmedit/core/evaluation/__init__.py
KKIEEK/mmediting
e3e3c934049c7e2067334074c535f80c8f4795cc
[ "Apache-2.0" ]
1
2022-03-10T01:00:24.000Z
2022-03-10T01:00:24.000Z
# Copyright (c) OpenMMLab. All rights reserved. from .eval_hooks import DistEvalIterHook, EvalIterHook from .inceptions import FID, KID, InceptionV3 from .metrics import (L1Evaluation, connectivity, gradient_error, mse, niqe, psnr, reorder_image, sad, ssim) __all__ = [ 'mse', 'sad', 'psnr', '...
39.666667
76
0.689076
49
476
6.510204
0.571429
0.037618
0.106583
0
0
0
0
0
0
0
0
0.010178
0.17437
476
11
77
43.272727
0.801527
0.094538
0
0
0
0
0.265734
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
645a955508585ae81c1238e16367225f63eb2ee3
9,638
py
Python
fun/regexp.py
jburgy/blog
60ecb19069916fe7718f0f90c946d2d6af836d3e
[ "Apache-2.0" ]
1
2019-05-06T12:43:33.000Z
2019-05-06T12:43:33.000Z
fun/regexp.py
jburgy/blog
60ecb19069916fe7718f0f90c946d2d6af836d3e
[ "Apache-2.0" ]
null
null
null
fun/regexp.py
jburgy/blog
60ecb19069916fe7718f0f90c946d2d6af836d3e
[ "Apache-2.0" ]
1
2021-03-14T16:50:51.000Z
2021-03-14T16:50:51.000Z
# -*-coding:utf8;-*- """ `Regular Expression Search Algorithm`_ After playing with `Thompson's construction`_ in `C`_ and `x86`_, I decided to take another look in python many years later. Tokenization and conversion to postfix are lifted almost verbatim from the C implementation apart for the fact they rely on pytho...
34.92029
103
0.534862
1,201
9,638
4.234804
0.270608
0.009438
0.007078
0.006292
0.145301
0.082776
0.053873
0.033425
0.033425
0.033425
0
0.015469
0.315833
9,638
275
104
35.047273
0.755839
0.462855
0
0.318182
0
0
0.018347
0
0
0
0
0
0
1
0.051948
false
0.012987
0.012987
0
0.123377
0.006494
0
0
0
null
0
0
0
0
0
0
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
1
0
645ad370c4b50b933af7d6c182f859d5bc0ad82b
2,785
py
Python
python/v1/buyers/publisher_profiles/get_publisher_profiles.py
googleads/authorized-buyers-marketplace-api-samples
73ae731785a19aa418fe5561831605b7c209c651
[ "Apache-2.0" ]
null
null
null
python/v1/buyers/publisher_profiles/get_publisher_profiles.py
googleads/authorized-buyers-marketplace-api-samples
73ae731785a19aa418fe5561831605b7c209c651
[ "Apache-2.0" ]
null
null
null
python/v1/buyers/publisher_profiles/get_publisher_profiles.py
googleads/authorized-buyers-marketplace-api-samples
73ae731785a19aa418fe5561831605b7c209c651
[ "Apache-2.0" ]
1
2022-01-09T18:06:59.000Z
2022-01-09T18:06:59.000Z
#!/usr/bin/python # # Copyright 2021 Google Inc. 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 b...
34.382716
80
0.694434
370
2,785
5.07027
0.389189
0.076759
0.057569
0.031983
0.228145
0.147122
0.147122
0.147122
0.147122
0.10661
0
0.00551
0.217953
2,785
80
81
34.8125
0.855831
0.254937
0
0.133333
0
0
0.376522
0.099367
0
0
0
0
0
1
0.022222
false
0
0.133333
0
0.155556
0.133333
0
0
0
null
0
0
0
0
0
0
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
1
0
645b06e11f7e29a48f1983c1170a67c3611f1666
404
py
Python
epicteller/core/model/campaign.py
KawashiroNitori/epicteller
264b11e7e6eb58beb0f67ecbbb811d268a533f7a
[ "MIT" ]
null
null
null
epicteller/core/model/campaign.py
KawashiroNitori/epicteller
264b11e7e6eb58beb0f67ecbbb811d268a533f7a
[ "MIT" ]
null
null
null
epicteller/core/model/campaign.py
KawashiroNitori/epicteller
264b11e7e6eb58beb0f67ecbbb811d268a533f7a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from typing import Optional from pydantic import BaseModel from epicteller.core.util.enum import CampaignState class Campaign(BaseModel): id: int url_token: str room_id: int name: str description: str owner_id: int state: CampaignState is...
18.363636
51
0.693069
54
404
5.074074
0.685185
0.054745
0
0
0
0
0
0
0
0
0
0.003195
0.225248
404
21
52
19.238095
0.872204
0.10396
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
645cc29f9d18857355b0d43483ff2c2db043bdbd
2,206
py
Python
polls/views.py
biljiang/mysite
15c0a0d7bb6bd46587f4cf805ce43f4c570de1be
[ "BSD-3-Clause" ]
null
null
null
polls/views.py
biljiang/mysite
15c0a0d7bb6bd46587f4cf805ce43f4c570de1be
[ "BSD-3-Clause" ]
null
null
null
polls/views.py
biljiang/mysite
15c0a0d7bb6bd46587f4cf805ce43f4c570de1be
[ "BSD-3-Clause" ]
null
null
null
#from django.shortcuts import render # Create your views here. from django.http import HttpResponse,HttpResponseRedirect #from django.template import loader from django.shortcuts import get_object_or_404,render from django.urls import reverse from django.views import generic from .models import Question, Cho...
31.971014
84
0.679964
260
2,206
5.6
0.319231
0.061813
0.065247
0.082418
0.3125
0.3125
0.3125
0.206731
0.154533
0.154533
0
0.008562
0.205802
2,206
68
85
32.441176
0.822489
0.1233
0
0.068966
0
0
0.133497
0
0
0
0
0
0
1
0.068966
false
0
0.172414
0.034483
0.655172
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
645d11df00b3707ac1991bf8fa1726c7105c09fb
152
py
Python
codeforces/anirudhak47/616/E.py
anirudhakulkarni/codes
d7a907951033b57314dfc0b837123aaa5c25a39a
[ "MIT" ]
3
2020-07-09T16:15:42.000Z
2020-07-17T13:19:42.000Z
codeforces/anirudhak47/616/E.py
anirudhakulkarni/codes
d7a907951033b57314dfc0b837123aaa5c25a39a
[ "MIT" ]
null
null
null
codeforces/anirudhak47/616/E.py
anirudhakulkarni/codes
d7a907951033b57314dfc0b837123aaa5c25a39a
[ "MIT" ]
1
2020-07-17T13:19:48.000Z
2020-07-17T13:19:48.000Z
n,m=map(int,input().split()) mod=10**9+7 sum=(n%mod)*(m%mod) i=1 j=1 res=0 while j<=n: res+=(n//j)*j i+=1 j=i print((sum-res)%mod)
13.818182
29
0.493421
36
152
2.083333
0.5
0.053333
0.08
0
0
0
0
0
0
0
0
0.067227
0.217105
152
11
30
13.818182
0.563025
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
1
0
645d51e83bcc360907f671643926a45eb101ea1a
5,103
py
Python
tests/test_binning_process_sketch.py
jensgk/optbinning
5ccd892fa4ee0a745ab539cee10a2069b35de6da
[ "Apache-2.0" ]
207
2020-01-23T21:32:59.000Z
2022-03-30T06:33:21.000Z
tests/test_binning_process_sketch.py
jensgk/optbinning
5ccd892fa4ee0a745ab539cee10a2069b35de6da
[ "Apache-2.0" ]
133
2020-01-23T22:14:35.000Z
2022-03-29T14:05:04.000Z
tests/test_binning_process_sketch.py
jensgk/optbinning
5ccd892fa4ee0a745ab539cee10a2069b35de6da
[ "Apache-2.0" ]
50
2020-01-27T15:37:08.000Z
2022-03-30T06:33:25.000Z
""" BinningProcessSketch testing. """ # Guillermo Navas-Palencia <g.navas.palencia@gmail.com> # Copyright (C) 2021 import pandas as pd from pytest import approx, raises from optbinning import BinningProcessSketch from optbinning import OptimalBinningSketch from optbinning.exceptions import NotSolvedError from optbi...
27.435484
79
0.692926
604
5,103
5.627483
0.178808
0.10709
0.242718
0.117682
0.696087
0.640482
0.609003
0.572521
0.403942
0.278023
0
0.0309
0.194591
5,103
185
80
27.583784
0.796107
0.020184
0
0.495727
0
0
0.023242
0
0
0
0
0
0.059829
1
0.051282
false
0
0.059829
0
0.111111
0.034188
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
645d92fe6f4202711d6029dad6f5b119f8748065
8,798
py
Python
src/game/bt.py
btdevel/bt
23abdf0860484a4adcfbe2bcbe94eebca7f820fd
[ "MIT" ]
1
2017-06-30T00:35:05.000Z
2017-06-30T00:35:05.000Z
src/game/bt.py
btdevel/bt
23abdf0860484a4adcfbe2bcbe94eebca7f820fd
[ "MIT" ]
null
null
null
src/game/bt.py
btdevel/bt
23abdf0860484a4adcfbe2bcbe94eebca7f820fd
[ "MIT" ]
null
null
null
from math import pi, sin, cos from direct.showbase.DirectObject import DirectObject from direct.showbase.ShowBase import ShowBase from direct.gui.DirectGui import * from direct.interval.IntervalGlobal import * from panda3d.core import lookAt from panda3d.core import GeomVertexFormat, GeomVertexData from panda3d.core i...
29.424749
84
0.591725
1,098
8,798
4.65847
0.211293
0.00782
0.032258
0.045161
0.270577
0.208798
0.139198
0.12434
0.12434
0.12434
0
0.039763
0.291089
8,798
298
85
29.52349
0.780343
0.016026
0
0.20354
0
0
0.021045
0.007863
0
0
0
0
0
0
null
null
0
0.106195
null
null
0.00885
0
0
0
null
0
0
0
0
0
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
64605d81e5e5b09d3d13c2dc37b69d44bd06c958
8,485
py
Python
Martel/convert_re.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
3
2017-10-23T21:53:57.000Z
2019-09-23T05:14:12.000Z
Martel/convert_re.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
null
null
null
Martel/convert_re.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
6
2020-02-26T16:34:20.000Z
2020-03-04T15:34:00.000Z
# Copyright 2000-2001, Dalke Scientific Software, LLC # Distributed under the Biopython License Agreement (see the LICENSE file). """Converts a regular expression pattern string into an Expression tree. This is not meant to be an externally usable module. This works by using msre_parse.py to parse the pattern. The ...
35.061983
79
0.649971
1,202
8,485
4.485857
0.237937
0.038947
0.031157
0.023368
0.173961
0.147255
0.136128
0.114243
0.099407
0.083457
0
0.010692
0.250442
8,485
241
80
35.207469
0.837107
0.236182
0
0.082192
0
0
0.110364
0
0
0
0
0
0.109589
0
null
null
0
0.020548
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
646093a875532db734c0ea4b2ff24388f33c4f32
2,633
py
Python
Paper_Specific_Versions/2019_DTI/Code/subjects_lists/lists_stats_dMRI.py
adamwild/AD-ML
e4ac0b7d312ab482b9b52bb3f5c6745cc06431e9
[ "MIT" ]
null
null
null
Paper_Specific_Versions/2019_DTI/Code/subjects_lists/lists_stats_dMRI.py
adamwild/AD-ML
e4ac0b7d312ab482b9b52bb3f5c6745cc06431e9
[ "MIT" ]
null
null
null
Paper_Specific_Versions/2019_DTI/Code/subjects_lists/lists_stats_dMRI.py
adamwild/AD-ML
e4ac0b7d312ab482b9b52bb3f5c6745cc06431e9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = ["Junhao Wen", "Simona Bottani", "Jorge Samper-Gonzalez"] __copyright__ = "Copyright 2016-2018 The Aramis Lab Team" __credits__ = ["Junhao Wen"] __license__ = "See LICENSE.txt file" __version__ = "0.1.0" __status__ = "Development" import numpy as np import pandas as pd import os d...
46.192982
126
0.567793
372
2,633
3.846774
0.360215
0.050314
0.033543
0.031447
0.262055
0.194969
0.194969
0.106219
0.086653
0.086653
0
0.015144
0.247626
2,633
56
127
47.017857
0.707219
0.159134
0
0
0
0
0.152015
0
0
0
0
0
0
1
0.02439
false
0
0.073171
0
0.097561
0.146341
0
0
0
null
0
0
0
0
0
0
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
1
0
64614e9f6807adb4c793f96caabf995d3909e4b8
162
py
Python
idManager/model/integration/message_data.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
2
2018-01-14T22:43:43.000Z
2018-01-14T22:43:48.000Z
idManager/model/integration/message_data.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
null
null
null
idManager/model/integration/message_data.py
lgarciasbr/idm-api
3517d29d55eb2a06fb5b4b21359b6cf6d11529a0
[ "Apache-2.0" ]
null
null
null
from flask import current_app def send_log_message(text): try: log = current_app.extensions['sentry'].captureMessage(text) except: pass
18
67
0.679012
20
162
5.3
0.8
0.188679
0
0
0
0
0
0
0
0
0
0
0.234568
162
8
68
20.25
0.854839
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
64619e0950043d9a2114890655d9f9071818e09f
1,301
py
Python
tests/view/glprograms/test_shaderprogram.py
gsanhueza/BlastSight
4b5c48e7ea5f67b737429f05d5213e9ff1fd399d
[ "MIT" ]
null
null
null
tests/view/glprograms/test_shaderprogram.py
gsanhueza/BlastSight
4b5c48e7ea5f67b737429f05d5213e9ff1fd399d
[ "MIT" ]
1
2022-03-13T17:35:35.000Z
2022-03-13T17:35:35.000Z
tests/view/glprograms/test_shaderprogram.py
gsanhueza/BlastSight
4b5c48e7ea5f67b737429f05d5213e9ff1fd399d
[ "MIT" ]
null
null
null
#!/usr/bin/env python import pytest from blastsight.model.elements.nullelement import NullElement from blastsight.view.glprograms.shaderprogram import ShaderProgram from blastsight.view.drawables import GLDrawable class TestShaderProgram: @property def base_program(self): return ShaderProgram() ...
22.824561
66
0.685626
143
1,301
6.062937
0.314685
0.05075
0.087659
0.119954
0.201845
0.201845
0.201845
0.119954
0.119954
0
0
0.00202
0.239047
1,301
56
67
23.232143
0.873737
0.015373
0
0.081081
0
0
0
0
0
0
0
0
0.162162
1
0.216216
false
0
0.108108
0.108108
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
6462624a7ae5dc8c88954bd7349a57466f638697
2,102
py
Python
tests/diffraction/test_diffraction_r_vortex.py
VasilyevEvgeny/self-focusing_3D
c90b4d78d2d72365566f8a49b325bd48127b1e44
[ "MIT" ]
null
null
null
tests/diffraction/test_diffraction_r_vortex.py
VasilyevEvgeny/self-focusing_3D
c90b4d78d2d72365566f8a49b325bd48127b1e44
[ "MIT" ]
null
null
null
tests/diffraction/test_diffraction_r_vortex.py
VasilyevEvgeny/self-focusing_3D
c90b4d78d2d72365566f8a49b325bd48127b1e44
[ "MIT" ]
null
null
null
from numpy.random import randint from core import BeamR, Propagator, SweepDiffractionExecutorR, BeamVisualizer, xlsx_to_df from tests.diffraction.test_diffraction import TestDiffraction NAME = 'diffraction_r_vortex' class TestDiffractionRVortex(TestDiffraction): def __init__(self, *args, **kwargs): supe...
33.365079
103
0.540913
232
2,102
4.487069
0.353448
0.024015
0.017291
0.009606
0.073007
0.036503
0
0
0
0
0
0.017557
0.376784
2,102
62
104
33.903226
0.777099
0
0
0
0
0
0.025214
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.177778
0.022222
0
0
0
null
0
0
0
0
0
0
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
1
0
6465246c84a3f23d3c843ed1a4eac86a1553e332
22
py
Python
filters/__init__.py
mouradmourafiq/data-analysis
1df2ca020a554f1fdab7cc9e53115e249cc199ac
[ "BSD-2-Clause" ]
17
2015-04-01T12:11:31.000Z
2022-03-15T16:44:01.000Z
filters/__init__.py
mouradmourafiq/data-analysis
1df2ca020a554f1fdab7cc9e53115e249cc199ac
[ "BSD-2-Clause" ]
null
null
null
filters/__init__.py
mouradmourafiq/data-analysis
1df2ca020a554f1fdab7cc9e53115e249cc199ac
[ "BSD-2-Clause" ]
17
2015-01-14T14:59:40.000Z
2021-07-01T05:46:14.000Z
__author__ = 'mourad'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
6465d405858eb834ed1583ad68a1aa90c937d20f
506
py
Python
NGASpider/nga_topic_wordcloud.py
liamcraft118/PythonLearning
65949b7972afb13231f4f8d842a1b561a02072fb
[ "MIT" ]
null
null
null
NGASpider/nga_topic_wordcloud.py
liamcraft118/PythonLearning
65949b7972afb13231f4f8d842a1b561a02072fb
[ "MIT" ]
null
null
null
NGASpider/nga_topic_wordcloud.py
liamcraft118/PythonLearning
65949b7972afb13231f4f8d842a1b561a02072fb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from DB import DB from wordcloud import WordCloud import jieba # class WordCloud(object): if __name__ == '__main__': db = DB() db.connect() result = db.readAllTitle() titles = '' for title in result: titles += title[0] words = " ".join(jieba.cut(titles)) ...
20.24
65
0.63834
62
506
5.064516
0.629032
0.095541
0
0
0
0
0
0
0
0
0
0.005076
0.221344
506
24
66
21.083333
0.791878
0.090909
0
0
0
0
0.065646
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6465e979caebd8c2c3c49bbbfea16b8f79b275ca
6,611
py
Python
granola/main.py
metergroup/GRANOLA
24abcf9e6429d81047cda24a4343af5563d4e353
[ "Apache-2.0" ]
3
2022-02-13T02:38:28.000Z
2022-03-22T16:59:15.000Z
granola/main.py
metergroup/GRANOLA
24abcf9e6429d81047cda24a4343af5563d4e353
[ "Apache-2.0" ]
27
2022-02-13T18:22:48.000Z
2022-03-31T18:18:41.000Z
granola/main.py
metergroup/GRANOLA
24abcf9e6429d81047cda24a4343af5563d4e353
[ "Apache-2.0" ]
null
null
null
""" This module is deprecated and will be removed in version 1.0. Please use :mod:`~granola.breakfast_cereal` instead """ from granola.breakfast_cereal import Cereal from granola.utils import deprecation class MockSerial(Cereal): """ Deprecated version of :class:`~granola.breakfast_cereal.Cereal`. Will be re...
48.255474
114
0.638179
766
6,611
5.219321
0.185379
0.030015
0.063782
0.022511
0.433467
0.311906
0.224862
0.148074
0.148074
0.117559
0
0.003958
0.273786
6,611
136
115
48.610294
0.828786
0.101951
0
0.19802
0
0.019802
0.314586
0.040657
0
0
0
0
0
1
0.059406
false
0
0.019802
0
0.118812
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
0
0
1
0
6465fab1a57ae1dcc41f4c7c95793b6cf4866599
261
py
Python
example/mysite/polls/admin.py
jAlpedrinha/DeclRY
f6f1f18a0cc38d0b502945a6f8baec64c3b9a6fa
[ "BSD-3-Clause" ]
1
2015-08-12T12:02:54.000Z
2015-08-12T12:02:54.000Z
example/mysite/polls/admin.py
jAlpedrinha/DeclRY
f6f1f18a0cc38d0b502945a6f8baec64c3b9a6fa
[ "BSD-3-Clause" ]
null
null
null
example/mysite/polls/admin.py
jAlpedrinha/DeclRY
f6f1f18a0cc38d0b502945a6f8baec64c3b9a6fa
[ "BSD-3-Clause" ]
null
null
null
from declry import site from declry.apps import Application class FormacaoAdmin(Application): list_display = ('nome','modulo','local','data_inicio','data_fim','coordenador') list_filter = ('data_inicio',) search_fields = ('nome','modulo','local')
29
83
0.716475
31
261
5.83871
0.645161
0.110497
0.165746
0
0
0
0
0
0
0
0
0
0.126437
261
8
84
32.625
0.79386
0
0
0
0
0
0.272031
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
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
1
0
1
0
0
3
646688417f53dbf07f161490bad6ae8969e89fe1
1,998
py
Python
rdr_service/alembic/versions/20e98a16ad20_requests_log.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/alembic/versions/20e98a16ad20_requests_log.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/alembic/versions/20e98a16ad20_requests_log.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
"""requests_log Revision ID: 20e98a16ad20 Revises: 8fa4d8f2277c Create Date: 2019-07-30 13:49:17.702589 """ import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = "20e98a16ad20" down_revision = "8fa4d8f2277c" branch_labels = None depen...
30.738462
77
0.657658
245
1,998
5.265306
0.318367
0.08062
0.065116
0.081395
0.397674
0.274419
0.229457
0.182946
0.182946
0.110078
0
0.039336
0.185686
1,998
64
78
31.21875
0.753534
0.224224
0
0.057143
0
0
0.114478
0
0
0
0
0
0
1
0.171429
false
0.057143
0.085714
0
0.257143
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
64674b3e9d685bb7486a3ad36e0717025f9ccb1e
7,156
py
Python
Mydesktop/TriptoGif/test.py
gzyszuuow/BusBunching
e9b01a62e422ae6525d9287bdf46c25aacdf9c6c
[ "Apache-2.0" ]
null
null
null
Mydesktop/TriptoGif/test.py
gzyszuuow/BusBunching
e9b01a62e422ae6525d9287bdf46c25aacdf9c6c
[ "Apache-2.0" ]
null
null
null
Mydesktop/TriptoGif/test.py
gzyszuuow/BusBunching
e9b01a62e422ae6525d9287bdf46c25aacdf9c6c
[ "Apache-2.0" ]
null
null
null
import numpy as np import pandas as pd from pandas import DataFrame, Series import random import time import math import datetime as dt import random import copy from datetime import datetime from time import mktime import os import json from functools import cmp_to_key import numpy as np import matp...
30.194093
256
0.675238
952
7,156
4.919118
0.259454
0.021354
0.019218
0.019218
0.273756
0.186633
0.137305
0.12855
0.088405
0.072176
0
0.0349
0.17915
7,156
236
257
30.322034
0.762343
0.03242
0
0.125
0
0
0.252004
0.085485
0
0
0
0
0
1
0
false
0
0.5625
0
0.5625
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
646d2f100cf042a92479d99756359693194052c5
4,654
py
Python
fuelmenu/fuelmenu/modules/rootpw.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
1
2021-04-06T16:13:35.000Z
2021-04-06T16:13:35.000Z
fuelmenu/fuelmenu/modules/rootpw.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
fuelmenu/fuelmenu/modules/rootpw.py
Zipfer/fuel-web
c6c4032eb6e29474e2be0318349265bdb566454c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2013 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
35.257576
78
0.56489
498
4,654
5.236948
0.413655
0.034509
0.03681
0.043712
0.168712
0.143021
0.093558
0.037577
0.037577
0
0
0.004493
0.330468
4,654
131
79
35.526718
0.832478
0.17168
0
0.2
0
0
0.182697
0
0
0
0
0
0
1
0.066667
false
0.222222
0.077778
0.011111
0.244444
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
646d72d43695b19e055ac78f71a7b68738a02570
6,314
py
Python
train.py
yhgon/cmtf
7a3ffc3a59a7c546a00d3b73be58f7d1c2f1f0cf
[ "MIT" ]
null
null
null
train.py
yhgon/cmtf
7a3ffc3a59a7c546a00d3b73be58f7d1c2f1f0cf
[ "MIT" ]
null
null
null
train.py
yhgon/cmtf
7a3ffc3a59a7c546a00d3b73be58f7d1c2f1f0cf
[ "MIT" ]
null
null
null
from cmtf import CompressiveTransformer from cmtf_ar_wrapper import AutoregressiveWrapper import argparse import random import tqdm import gzip import numpy as np import torch import torch.optim as optim from torch.nn import functional as F from torch.utils.data import DataLoader, Dataset # constants def parse_args(...
34.883978
127
0.63478
792
6,314
4.830808
0.243687
0.066127
0.062206
0.04391
0.168845
0.109775
0.068479
0.05541
0.05541
0.023523
0
0.016062
0.240735
6,314
180
128
35.077778
0.782019
0.03611
0
0.017094
0
0.008547
0.104507
0.006934
0
0
0
0
0
1
0.076923
false
0
0.094017
0.025641
0.230769
0.068376
0
0
0
null
0
0
0
0
0
0
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
1
0
646eb195f8628e5692003244f139891bc4d4d41e
1,094
py
Python
scripts/template_file.py
Aracthor/cpp-maker
6e5f2fb553ecfb849704629f37c57f801fdd072f
[ "MIT" ]
null
null
null
scripts/template_file.py
Aracthor/cpp-maker
6e5f2fb553ecfb849704629f37c57f801fdd072f
[ "MIT" ]
null
null
null
scripts/template_file.py
Aracthor/cpp-maker
6e5f2fb553ecfb849704629f37c57f801fdd072f
[ "MIT" ]
null
null
null
#!/usr/bin/python3 ## template_file.py for cpp-maker in /home/aracthor/programs/projects/cpp-maker ## ## Made by Aracthor ## ## Started on Mon Sep 7 12:03:26 2015 Aracthor ## Last Update Wed Sep 9 10:27:36 2015 Aracthor ## from files import File class TemplateFile(File): def __init__(self, path, project): ...
34.1875
95
0.617916
124
1,094
5.33871
0.524194
0.117825
0.077039
0.057402
0.087613
0
0
0
0
0
0
0.02934
0.252285
1,094
31
96
35.290323
0.779951
0.187386
0
0
0
0
0.046911
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.222222
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
0
0
1
0
646f4083f45e56bf5ee8cc0ae6f1cddc67c84556
179
py
Python
testdust/settling/__init__.py
ibackus/testdust
29e78e4cd2f3466dd503ce863c6db9014da07a04
[ "MIT" ]
null
null
null
testdust/settling/__init__.py
ibackus/testdust
29e78e4cd2f3466dd503ce863c6db9014da07a04
[ "MIT" ]
null
null
null
testdust/settling/__init__.py
ibackus/testdust
29e78e4cd2f3466dd503ce863c6db9014da07a04
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Oct 19 15:32:04 2016 @author: ibackus """ import utils import randomNormalSnap import ppdgrid import analyze import makeICs import plot
14.916667
35
0.73743
26
179
5.076923
0.807692
0
0
0
0
0
0
0
0
0
0
0.086093
0.156425
179
12
36
14.916667
0.788079
0.424581
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
646f4a42fb873d3bd01eab1b106d9d7f66a19490
6,692
py
Python
devilry/project/common/settings.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
null
null
null
devilry/project/common/settings.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
null
null
null
devilry/project/common/settings.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
null
null
null
######################################################################## # # Defaults for django settings # - See: https://docs.djangoproject.com/en/dev/ref/settings/ # ######################################################################## import os import devilry from .projectspecific_settings import * # noqa from...
32.328502
98
0.648237
590
6,692
7.081356
0.362712
0.144088
0.050263
0.044519
0.017712
0
0
0
0
0
0
0.002798
0.145397
6,692
206
99
32.485437
0.72775
0.099522
0
0.014184
0
0
0.597272
0.520743
0
0
0
0
0
1
0
false
0.014184
0.042553
0
0.042553
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
646f4de2404f5c182fc0c6f326f3e3a2142d6fe1
75
py
Python
write_all_proofs.py
dwhalen/holophrasm
0d971428f9879ad3d6c0a781f1a021cff73fb1ce
[ "MIT" ]
33
2016-09-23T15:05:24.000Z
2021-08-30T11:13:35.000Z
write_all_proofs.py
dwhalen/holophrasm
0d971428f9879ad3d6c0a781f1a021cff73fb1ce
[ "MIT" ]
4
2016-12-14T03:41:55.000Z
2020-05-27T20:27:55.000Z
write_all_proofs.py
david-a-wheeler/holophrasm
aea14ea846c7c8980219216859868cc6d2c45422
[ "MIT" ]
12
2016-08-20T10:40:21.000Z
2022-01-03T09:47:01.000Z
import write_proof write_proof.reset() write_proof.write_all_known_proofs()
25
36
0.88
12
75
5
0.583333
0.5
0.5
0
0
0
0
0
0
0
0
0
0.04
75
3
36
25
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
64709e39f1c3abfd144073c9040d15f4940e15fc
592
py
Python
tests/test_gym_registers.py
domingoesteban/robolearn_envs
1e10f315abcbb034e613b3b5a7a48662a839c81b
[ "BSD-3-Clause" ]
2
2020-08-20T15:46:55.000Z
2022-02-16T13:45:59.000Z
tests/test_gym_registers.py
domingoesteban/robolearn_envs
1e10f315abcbb034e613b3b5a7a48662a839c81b
[ "BSD-3-Clause" ]
null
null
null
tests/test_gym_registers.py
domingoesteban/robolearn_envs
1e10f315abcbb034e613b3b5a7a48662a839c81b
[ "BSD-3-Clause" ]
1
2020-10-03T11:28:15.000Z
2020-10-03T11:28:15.000Z
import gym import numpy as np from context import robolearn_envs all_envs = gym.envs.registry.all() robolearn_env_ids = [env_spec.id for env_spec in all_envs if env_spec.id.startswith('RoboLearn-')] for env_id in robolearn_env_ids: print('-'*15) print("Environment: %s" % env_id) env ...
23.68
63
0.613176
92
592
3.793478
0.445652
0.060172
0.08596
0
0
0
0
0
0
0
0
0.009009
0.25
592
24
64
24.666667
0.777027
0
0
0
0
0
0.108108
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.277778
0
0
0
null
0
0
0
0
0
0
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
1
0
6470d5944c522fadb85e8b00e6d96b7ccc8e434e
7,468
py
Python
xor_nn/genetic_algorithm.py
sgalella/GeneticAlgorithm-XOR
2e7de2e2fc6dfd8bb27d9e09c7be86f75c6db87c
[ "MIT" ]
null
null
null
xor_nn/genetic_algorithm.py
sgalella/GeneticAlgorithm-XOR
2e7de2e2fc6dfd8bb27d9e09c7be86f75c6db87c
[ "MIT" ]
null
null
null
xor_nn/genetic_algorithm.py
sgalella/GeneticAlgorithm-XOR
2e7de2e2fc6dfd8bb27d9e09c7be86f75c6db87c
[ "MIT" ]
null
null
null
import numpy as np from tqdm import tqdm from . import mutation, recombination, selection class GeneticAlgorithm: """ Genetic algorithm for TSP. """ def __init__(self, lower_bound=-5, upper_bound=5, alpha=0.5, num_iterations=1000, population_size=100, offspring_size=20, mutation_rate=0.2, ...
40.150538
144
0.635913
819
7,468
5.616606
0.223443
0.028696
0.021304
0.017609
0.239565
0.14913
0.128261
0.128261
0.115652
0.115652
0
0.016024
0.281334
7,468
185
145
40.367568
0.841066
0.21639
0
0.067416
0
0
0.04038
0.016444
0
0
0
0
0.011236
1
0.089888
false
0.022472
0.033708
0
0.213483
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
0
0
1
0
6470e5d0deee719aa79c71b3de4aad355884b9c7
87
py
Python
e7gzly/apps.py
naderabdalghani/e7gzly-api
a5c8afba1c4f118d56742c147d8f79be5241f66a
[ "Apache-2.0" ]
null
null
null
e7gzly/apps.py
naderabdalghani/e7gzly-api
a5c8afba1c4f118d56742c147d8f79be5241f66a
[ "Apache-2.0" ]
null
null
null
e7gzly/apps.py
naderabdalghani/e7gzly-api
a5c8afba1c4f118d56742c147d8f79be5241f66a
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class E7gzlyConfig(AppConfig): name = 'e7gzly'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0.027778
0.172414
87
5
34
17.4
0.875
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
647564ba63394f150f2633cb8c189e18207d6ab2
2,185
py
Python
ps_tree/views.py
ITCase/ps_tree
a2152feb53d5f041b43203ee8ccaae65cb9d13e4
[ "MIT" ]
null
null
null
ps_tree/views.py
ITCase/ps_tree
a2152feb53d5f041b43203ee8ccaae65cb9d13e4
[ "MIT" ]
12
2015-06-15T11:50:48.000Z
2015-07-07T09:03:37.000Z
ps_tree/views.py
ITCase/ps_tree
a2152feb53d5f041b43203ee8ccaae65cb9d13e4
[ "MIT" ]
null
null
null
import transaction from pyramid.httpexceptions import HTTPInternalServerError from pyramid.view import view_config from pyramid_sacrud.security import (PYRAMID_SACRUD_DELETE, PYRAMID_SACRUD_UPDATE) from sacrud.common import pk_to_list from . import CONFIG_MODELS, PS_TREE_GET_TREE,...
29.931507
77
0.667277
262
2,185
5.221374
0.248092
0.040936
0.023392
0.028509
0.187135
0.135965
0.046784
0.046784
0
0
0
0
0.240275
2,185
72
78
30.347222
0.824096
0
0
0.129032
0
0
0.053089
0
0
0
0
0
0.016129
1
0.064516
false
0
0.096774
0
0.241935
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
0
0
1
0
647674bcd02180e2d4d59bf2cb132ab346717ae5
1,068
py
Python
Contests/Facebook Hacker Cup 2018/Qualification/Tourist/tourist.py
PK-100/Competitive_Programming
d0863feaaa99462b2999e85dcf115f7a6c08bb8d
[ "MIT" ]
70
2018-06-25T21:20:15.000Z
2022-03-24T03:55:17.000Z
Contests/Facebook Hacker Cup 2018/Qualification/Tourist/tourist.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
4
2018-09-04T13:12:20.000Z
2021-06-20T08:29:12.000Z
Contests/Facebook Hacker Cup 2018/Qualification/Tourist/tourist.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
24
2018-12-26T05:15:32.000Z
2022-01-23T23:04:54.000Z
''' Author: Amitrajit Bose Problem: Facebook HackerCup Qualification Round ''' with open("Output.txt", "w") as text_file: testcase=int(input()) for _ in range(testcase): #entire program will be contained here now n,k,v=[int(x) for x in input().strip().split()] citynames=[] #citydict={} out=[] for i in ra...
22.723404
61
0.647004
165
1,068
4.157576
0.381818
0.061224
0.043732
0.080175
0.155977
0.120991
0.069971
0
0
0
0
0.012514
0.176966
1,068
47
62
22.723404
0.767918
0.273408
0
0.172414
0
0
0.028909
0
0
0
0
0
0
1
0
false
0
0
0
0
0.068966
0
0
0
null
0
0
0
0
0
0
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
1
0
64769871d7651c4fe09490ae9be564a6303ec7ff
904
py
Python
code-solutions/Solution_005.py
Am4teur/Daily-Coding-Problems
80b7c0efee4a5599feefe16972246baa8c19c334
[ "MIT" ]
null
null
null
code-solutions/Solution_005.py
Am4teur/Daily-Coding-Problems
80b7c0efee4a5599feefe16972246baa8c19c334
[ "MIT" ]
null
null
null
code-solutions/Solution_005.py
Am4teur/Daily-Coding-Problems
80b7c0efee4a5599feefe16972246baa8c19c334
[ "MIT" ]
1
2022-01-22T21:56:01.000Z
2022-01-22T21:56:01.000Z
class MaxStack: def __init__(self): self.stack = [] self.max_stack = [] def push(self, val): self.stack.append(val) if(not self.max_stack or val > self.stack[self.max_stack[-1]]): self.max_stack.append(len(self.stack) - 1) def pop(self): if(not self.stac...
20.088889
71
0.506637
128
904
3.421875
0.203125
0.164384
0.219178
0.146119
0.420091
0.205479
0.155251
0.155251
0.155251
0
0
0.018212
0.331858
904
45
72
20.088889
0.706954
0.016593
0
0.352941
0
0
0.00905
0
0
0
0
0
0
1
0.117647
false
0
0
0
0.264706
0.147059
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
647716fe60d32877837b9b44ced048b662a0498e
1,635
py
Python
src/cli.py
jconradhanson/BEAT
47a828c486e674323782c11b78be63aae003c45d
[ "MIT" ]
null
null
null
src/cli.py
jconradhanson/BEAT
47a828c486e674323782c11b78be63aae003c45d
[ "MIT" ]
null
null
null
src/cli.py
jconradhanson/BEAT
47a828c486e674323782c11b78be63aae003c45d
[ "MIT" ]
null
null
null
import logging import argparse from beat import beat from definitions import path_log # LOGGING CONFIGURATION logging.basicConfig( level=logging.INFO, format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p' ) logging.root.addHandler(logging.FileHandler(path_log, mode='w', encoding='UTF-8')) loggin...
35.543478
105
0.687462
227
1,635
4.876652
0.405286
0.097561
0.046974
0.054201
0.186992
0.186992
0.180668
0.137308
0
0
0
0.001511
0.190214
1,635
45
106
36.333333
0.834592
0.06789
0
0.081081
0
0
0.277339
0
0
0
0
0
0
1
0
false
0
0.108108
0
0.108108
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
0
0
0
0
1
0
64775e8621307435c0d9b57c6dab0a8e27211db1
141
py
Python
source/preprocessing/interval.py
marta18a/sleep_classifiers
75aaae37dafe752909cf56351911e246a4febb4d
[ "MIT" ]
97
2019-02-18T20:19:21.000Z
2022-03-30T05:01:44.000Z
source/preprocessing/interval.py
marta18a/sleep_classifiers
75aaae37dafe752909cf56351911e246a4febb4d
[ "MIT" ]
13
2019-10-29T05:53:11.000Z
2022-03-14T21:38:49.000Z
source/preprocessing/interval.py
marta18a/sleep_classifiers
75aaae37dafe752909cf56351911e246a4febb4d
[ "MIT" ]
49
2019-06-03T23:22:19.000Z
2022-03-30T05:01:40.000Z
class Interval(object): def __init__(self, start_time, end_time): self.start_time = start_time self.end_time = end_time
23.5
45
0.680851
20
141
4.3
0.45
0.313953
0.302326
0
0
0
0
0
0
0
0
0
0.234043
141
5
46
28.2
0.796296
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
6477ef9e1d25e92daab6a18794994b24710c4290
5,678
py
Python
tests/payments/four/request_apm_payments_four_integration_test.py
riaz-bordie-cko/checkout-sdk-python
d9bc073306c1a98544c326be693ed722576ea895
[ "MIT" ]
null
null
null
tests/payments/four/request_apm_payments_four_integration_test.py
riaz-bordie-cko/checkout-sdk-python
d9bc073306c1a98544c326be693ed722576ea895
[ "MIT" ]
null
null
null
tests/payments/four/request_apm_payments_four_integration_test.py
riaz-bordie-cko/checkout-sdk-python
d9bc073306c1a98544c326be693ed722576ea895
[ "MIT" ]
null
null
null
from __future__ import absolute_import import os import pytest import checkout_sdk from checkout_sdk.common.common import Address, CustomerRequest, Phone from checkout_sdk.common.common_four import Product from checkout_sdk.common.enums import Currency, Country from checkout_sdk.payments.payment_apm_four import Requ...
36.397436
104
0.646178
555
5,678
6.29009
0.248649
0.140361
0.030077
0.026353
0.449728
0.386709
0.34546
0.34546
0.321398
0.321398
0
0.021453
0.277563
5,678
155
105
36.632258
0.829595
0
0
0.443609
0
0
0.119232
0.022543
0
0
0
0
0.045113
1
0.022556
false
0
0.090226
0
0.112782
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
0
0
1
0
64798a1c5f79aa151808ffe15d53f046862e60f3
1,877
py
Python
DQM/TrackingMonitorSource/python/TrackerCollisionTrackingMonitor_cff.py
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/TrackingMonitorSource/python/TrackerCollisionTrackingMonitor_cff.py
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/TrackingMonitorSource/python/TrackerCollisionTrackingMonitor_cff.py
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from DQM.TrackingMonitorSource.pset4GenericTriggerEventFlag_cfi import * # Clone for TrackingMonitor for all PDs but MinBias ### from DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi import * TrackerCollisionTrackMonCommon = TrackerCollisionTrackMon.clone( genericTr...
45.780488
95
0.85349
125
1,877
12.792
0.368
0.025016
0.07192
0.081301
0.208881
0.149468
0
0
0
0
0
0.005285
0.092701
1,877
40
96
46.925
0.933647
0.182206
0
0.214286
0
0
0.104497
0.104497
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
1
null
0
0
0
0
0
0
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
6479a772a0aa85678bea2bbb58a2808af7469318
4,524
py
Python
sandbox/lib/jumpscale/Jumpscale/clients/ssh/SSHClientFactory.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/clients/ssh/SSHClientFactory.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/clients/ssh/SSHClientFactory.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
from Jumpscale import j from .SSHClient import SSHClient from .SSHClientParamiko import SSHClientParamiko from .SSHClientBase import SSHClientBase class SSHClientFactory(j.baseclasses.object_config_collection_testtools): __jslocation__ = "j.clients.ssh" _CHILDCLASS = SSHClientBase _SCHEMATEXT = _CHILDCLA...
31.2
122
0.556366
585
4,524
4.205128
0.309402
0.058537
0.02439
0.021951
0.268293
0.17561
0.127642
0.127642
0.106504
0.106504
0
0.044739
0.283599
4,524
144
123
31.416667
0.714286
0.20336
0
0.156627
0
0
0.136016
0
0
0
0
0.006944
0.349398
1
0.036145
false
0
0.048193
0
0.168675
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
0
0
1
0
6479e45e219721aaae6c4905f1adba39680d17b1
2,094
py
Python
tilecloud/lib/sqlite3_.py
wendymhelson/tilecloud
70f54d24d05e4e350317b12defd56e4eebe1f2c1
[ "Unlicense" ]
null
null
null
tilecloud/lib/sqlite3_.py
wendymhelson/tilecloud
70f54d24d05e4e350317b12defd56e4eebe1f2c1
[ "Unlicense" ]
null
null
null
tilecloud/lib/sqlite3_.py
wendymhelson/tilecloud
70f54d24d05e4e350317b12defd56e4eebe1f2c1
[ "Unlicense" ]
null
null
null
from collections import MutableMapping as DictMixin def query(connection, *args): cursor = connection.cursor() cursor.execute(*args) return cursor class SQLiteDict(DictMixin): """A dict facade for an SQLite table""" def __init__(self, connection, commit=True, **kwargs): self.connection ...
26.846154
90
0.644222
243
2,094
5.337449
0.251029
0.151118
0.131843
0.159599
0.161912
0.078643
0.053971
0
0
0
0
0.002536
0.246896
2,094
77
91
27.194805
0.819911
0.032474
0
0.25
0
0
0
0
0
0
0
0
0
1
0.303571
false
0
0.017857
0.214286
0.589286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
647c690b82071beffb86046caafc6c207204c7e0
4,316
py
Python
taxcalc_arp/taxcalc/validation/taxsim27/prepare_taxcalc_input.py
hdoupe/Tax-Cruncher-ARP
c8c960c085d0883915f99ac2ea4630c928af4c16
[ "MIT" ]
1
2021-10-01T14:22:32.000Z
2021-10-01T14:22:32.000Z
taxcalc_arp/taxcalc/validation/taxsim27/prepare_taxcalc_input.py
hdoupe/Tax-Cruncher-ARP
c8c960c085d0883915f99ac2ea4630c928af4c16
[ "MIT" ]
1
2021-03-16T13:57:36.000Z
2021-03-16T13:57:36.000Z
taxcalc_arp/taxcalc/validation/taxsim27/prepare_taxcalc_input.py
hdoupe/Tax-Cruncher-ARP
c8c960c085d0883915f99ac2ea4630c928af4c16
[ "MIT" ]
1
2021-03-16T13:44:38.000Z
2021-03-16T13:44:38.000Z
""" Translates TAXSIM-27 input file to Tax-Calculator tc input file. """ # CODING-STYLE CHECKS: # pycodestyle prepare_tc_input.py # pylint --disable=locally-disabled prepare_tc_input.py import argparse import os import sys import numpy as np import pandas as pd def main(): """ High-level logic. """ #...
37.530435
78
0.599398
567
4,316
4.492063
0.356261
0.06596
0.02552
0.020024
0.180605
0.153514
0.080879
0.040832
0.040832
0.040832
0
0.060888
0.254171
4,316
114
79
37.859649
0.730351
0.181186
0
0.060241
0
0
0.220178
0
0
0
0
0
0.036145
1
0.024096
false
0
0.060241
0
0.144578
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
0
0
1
0
647cfe0af9da296040c33beb3819d628a1608217
1,510
py
Python
tests/integration_tests/resources/plugins/mock-rest-plugin/setup.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
124
2015-01-22T22:28:37.000Z
2022-02-26T23:12:06.000Z
tests/integration_tests/resources/plugins/mock-rest-plugin/setup.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
345
2015-01-08T15:49:40.000Z
2022-03-29T08:33:00.000Z
tests/integration_tests/resources/plugins/mock-rest-plugin/setup.py
TS-at-WS/cloudify-manager
3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc
[ "Apache-2.0" ]
77
2015-01-07T14:04:35.000Z
2022-03-07T22:46:00.000Z
# *************************************************************************** # * Copyright (c) 2013 GigaSpaces Technologies Ltd. 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 ...
33.555556
79
0.619868
181
1,510
5.093923
0.574586
0.065076
0.039046
0.034707
0
0
0
0
0
0
0
0.00821
0.193377
1,510
44
80
34.318182
0.748768
0.515894
0
0
0
0
0.156643
0
0
0
0
0
0
1
0.095238
false
0
0.095238
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
0
0
0
0
1
0
647d0967c28ab126510ff860ff2d966577a5da6f
520
py
Python
WebDECIMER/segmentation/migrations/0008_uploadedarticle_zippedextractedimages.py
Kohulan/DECIMER-Image-Segmentation
68ee9a9693e5bad5c41826d28e2d6558a20fe21f
[ "MIT" ]
29
2021-01-08T13:48:18.000Z
2022-01-17T08:29:00.000Z
WebDECIMER/segmentation/migrations/0008_uploadedarticle_zippedextractedimages.py
Kohulan/DECIMER-Image-Segmentation
68ee9a9693e5bad5c41826d28e2d6558a20fe21f
[ "MIT" ]
23
2021-01-07T21:43:21.000Z
2022-03-14T21:52:17.000Z
WebDECIMER/segmentation/migrations/0008_uploadedarticle_zippedextractedimages.py
Kohulan/DECIMER-Image-Segmentation
68ee9a9693e5bad5c41826d28e2d6558a20fe21f
[ "MIT" ]
8
2021-01-08T05:39:21.000Z
2022-02-14T10:06:38.000Z
# Generated by Django 3.1.3 on 2020-12-09 13:41 from django.db import migrations, models import segmentation.models class Migration(migrations.Migration): dependencies = [ ('segmentation', '0007_segmentedimage_ori_article_name'), ] operations = [ migrations.AddField( model_n...
26
117
0.673077
52
520
6.615385
0.75
0.104651
0
0
0
0
0
0
0
0
0
0.046914
0.221154
520
19
118
27.368421
0.802469
0.086538
0
0
1
0
0.194503
0.120507
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
647d10de27c79bcb57ed12505d2e4cdc3b96770f
914
py
Python
python/privatelink-rds/stacks/vpc_stack.py
aarondodd/aws-cdk-examples
7ac382fe99656df19a4f96159c11e0aa546acaf4
[ "Apache-2.0" ]
null
null
null
python/privatelink-rds/stacks/vpc_stack.py
aarondodd/aws-cdk-examples
7ac382fe99656df19a4f96159c11e0aa546acaf4
[ "Apache-2.0" ]
null
null
null
python/privatelink-rds/stacks/vpc_stack.py
aarondodd/aws-cdk-examples
7ac382fe99656df19a4f96159c11e0aa546acaf4
[ "Apache-2.0" ]
1
2022-01-31T03:13:37.000Z
2022-01-31T03:13:37.000Z
from aws_cdk import ( core, aws_ec2 as ec2 ) class VpcStack(core.Stack): def __init__(self, scope: core.Construct, id: str, vpc_cidr, **kwargs ) -> None: super().__init__(scope, id, **kwargs) # SubnetType.ISOLATED used as we don't want Internet traffic possible for t...
29.483871
91
0.503282
91
914
4.846154
0.549451
0.122449
0.126984
0.145125
0.258503
0.258503
0.258503
0.258503
0
0
0
0.022018
0.40372
914
31
92
29.483871
0.787156
0.088621
0
0.148148
0
0
0.030048
0
0
0
0
0
0
1
0.037037
false
0
0.037037
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
0
0
0
0
0
0
1
0
647db96c9aaf141903504ac8bd588d3cfc6e9c13
112,783
py
Python
api/source/main/python/datacube/api/query.py
alex-ip/agdc
9e9eb556c33792440a3736f64cd5f628cf3a1385
[ "BSD-3-Clause" ]
null
null
null
api/source/main/python/datacube/api/query.py
alex-ip/agdc
9e9eb556c33792440a3736f64cd5f628cf3a1385
[ "BSD-3-Clause" ]
null
null
null
api/source/main/python/datacube/api/query.py
alex-ip/agdc
9e9eb556c33792440a3736f64cd5f628cf3a1385
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # =============================================================================== # Copyright (c) 2014 Geoscience Australia # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: ...
35.861049
162
0.636967
14,909
112,783
4.608357
0.031189
0.051349
0.021687
0.022705
0.935799
0.933165
0.929206
0.923369
0.9204
0.915728
0
0.003268
0.270191
112,783
3,144
163
35.872455
0.831454
0.396922
0
0.794294
0
0.048799
0.530753
0.143814
0
0
0
0.000318
0
1
0.029279
false
0.003003
0.008258
0
0.087087
0.006757
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
647ed57ed963f5240abc63291aaba067a117c593
2,266
py
Python
lifesaver/bot/config.py
slice/discord.py-lifesaver
00c38112a512efd964cbbf0533096eff0a29f79f
[ "MIT" ]
12
2017-12-21T03:44:52.000Z
2021-02-05T02:09:13.000Z
lifesaver/bot/config.py
slice/lifesaver
00c38112a512efd964cbbf0533096eff0a29f79f
[ "MIT" ]
9
2017-12-21T01:56:07.000Z
2020-12-31T00:01:20.000Z
lifesaver/bot/config.py
slice/lifesaver
00c38112a512efd964cbbf0533096eff0a29f79f
[ "MIT" ]
2
2017-12-21T01:52:07.000Z
2019-12-17T01:51:50.000Z
# encoding: utf-8 __all__ = ["BotConfig", "BotLoggingConfig"] from typing import Any, Dict, List, Optional, Union from lifesaver.config import Config YES_EMOJI = "\N{WHITE HEAVY CHECK MARK}" NO_EMOJI = "\N{CROSS MARK}" OK_EMOJI = "\N{OK HAND SIGN}" DEFAULT_EMOJIS = { "generic": {"yes": YES_EMOJI, "no": NO_EMOJ...
27.634146
83
0.660194
309
2,266
4.757282
0.443366
0.013605
0.02449
0.030612
0.058503
0.027211
0
0
0
0
0
0.00057
0.225508
2,266
81
84
27.975309
0.837037
0.440424
0
0
0
0
0.162641
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.766667
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
0
0
1
0