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
1281d81369a4c6bf19bbf01f56683fa868996e36
173
py
Python
Source/decode.py
epires3/Senior-Design
437e2cf55be1ddcb8d1bc4edd99af3c9d84a992e
[ "MIT" ]
null
null
null
Source/decode.py
epires3/Senior-Design
437e2cf55be1ddcb8d1bc4edd99af3c9d84a992e
[ "MIT" ]
null
null
null
Source/decode.py
epires3/Senior-Design
437e2cf55be1ddcb8d1bc4edd99af3c9d84a992e
[ "MIT" ]
null
null
null
import binascii source = 'out.txt' with open(source,'rb') as f: content = f.read() decode = binascii.unhexlify(content) out = open('./hex.png','wb') out.write(decode)
24.714286
37
0.67052
26
173
4.461538
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.144509
173
7
38
24.714286
0.783784
0
0
0
0
0
0.119048
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
129c762a39c31eceba15bb0672aaf33c7b9faffd
78
py
Python
URI/1 - INICIANTE/Python/1075 - Resto2.py
william-james-pj/LogicaProgramacao
629f746e34da2e829dc7ea2e489ac36bb1b1fb13
[ "MIT" ]
1
2020-04-14T16:48:16.000Z
2020-04-14T16:48:16.000Z
URI/1 - INICIANTE/Python/1075 - Resto2.py
william-james-pj/LogicaProgramacao
629f746e34da2e829dc7ea2e489ac36bb1b1fb13
[ "MIT" ]
null
null
null
URI/1 - INICIANTE/Python/1075 - Resto2.py
william-james-pj/LogicaProgramacao
629f746e34da2e829dc7ea2e489ac36bb1b1fb13
[ "MIT" ]
null
null
null
x = int(input()) for y in range(1,10000): if(y % x == 2): print(y)
19.5
24
0.474359
15
78
2.466667
0.8
0
0
0
0
0
0
0
0
0
0
0.12963
0.307692
78
4
25
19.5
0.555556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
129f8693f23de6384d220e77f4506c4238cc8ac6
1,782
py
Python
dex_open_solver/core/config.py
gnosis/dex-open-solver
c5e75025b6b8b85c51dff45eeba43623b5e769fa
[ "Apache-2.0" ]
9
2020-07-19T12:27:47.000Z
2021-11-30T11:14:08.000Z
dex_open_solver/core/config.py
gnosis/dex-open-solver
c5e75025b6b8b85c51dff45eeba43623b5e769fa
[ "Apache-2.0" ]
45
2020-03-30T18:06:50.000Z
2021-02-16T10:20:09.000Z
dex_open_solver/core/config.py
gnosis/dex-open-solver
c5e75025b6b8b85c51dff45eeba43623b5e769fa
[ "Apache-2.0" ]
5
2020-08-10T14:44:11.000Z
2022-02-06T01:26:55.000Z
from .util import classproperty class Config: """Configuration parameters for the solver.""" # Main problem parameters: """Minimum amount bought or sold in an order.""" MIN_TRADABLE_AMOUNT = 10000 """Price of fee token.""" FEE_TOKEN_PRICE = int(1e18) """Maximum number of executed order...
34.941176
90
0.71156
247
1,782
4.979757
0.481781
0.091057
0.096748
0.060976
0.180488
0.112195
0
0
0
0
0
0.02026
0.224467
1,782
50
91
35.64
0.869754
0.496072
0
0
0
0
0
0
0
0
0
0.02
0
1
0.066667
false
0
0.066667
0.066667
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
12adf4f3ba5ead82efac118b194793454cbaabc3
819
py
Python
scheduler/migrations/0025_auto_20181227_0749.py
janton42/reservationator
b5f8d64b39dcdd75525f83cf97a59e1c66ea4125
[ "Unlicense" ]
1
2018-12-28T04:18:14.000Z
2018-12-28T04:18:14.000Z
scheduler/migrations/0025_auto_20181227_0749.py
janton42/reservationator
b5f8d64b39dcdd75525f83cf97a59e1c66ea4125
[ "Unlicense" ]
null
null
null
scheduler/migrations/0025_auto_20181227_0749.py
janton42/reservationator
b5f8d64b39dcdd75525f83cf97a59e1c66ea4125
[ "Unlicense" ]
null
null
null
# Generated by Django 2.1.3 on 2018-12-27 15:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('scheduler', '0024_auto_20181227_0744'), ] operations = [ migrations.AlterField( model_name='cho...
27.3
114
0.593407
86
819
5.546512
0.523256
0.050314
0.157233
0.18239
0.163522
0.163522
0
0
0
0
0
0.052721
0.282051
819
29
115
28.241379
0.758503
0.054945
0
0.347826
1
0
0.110104
0.029793
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12aee3fea4d769b77491f4c6556725023e87523c
286
py
Python
jogos/separador_print.py
LeandroMelloo/curso_formacao_python_alura
59650ba6ddece3856328ab01dd321ecd72e12634
[ "Apache-2.0" ]
null
null
null
jogos/separador_print.py
LeandroMelloo/curso_formacao_python_alura
59650ba6ddece3856328ab01dd321ecd72e12634
[ "Apache-2.0" ]
null
null
null
jogos/separador_print.py
LeandroMelloo/curso_formacao_python_alura
59650ba6ddece3856328ab01dd321ecd72e12634
[ "Apache-2.0" ]
null
null
null
data_nascimento = 9 mes_nascimento = 10 ano_nascimento = 1985 print(data_nascimento, mes_nascimento, ano_nascimento, sep="/", end=".\n") contador = 1 while(contador <= 10): print(contador) contador = contador + 2 if(contador == 5): contador = contador + 2
22
74
0.653846
35
286
5.171429
0.485714
0.265193
0.187845
0
0
0
0
0
0
0
0
0.058559
0.223776
286
13
75
22
0.756757
0
0
0.2
0
0
0.013937
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12bd20cd185d52bc7a08b689380a79ac9799949b
6,724
py
Python
xmonitor/glare/domain/proxy.py
froyobin/xmonitor
092dcaa01f834353ffd8dd3c40edf9e97543bfe8
[ "Apache-2.0" ]
null
null
null
xmonitor/glare/domain/proxy.py
froyobin/xmonitor
092dcaa01f834353ffd8dd3c40edf9e97543bfe8
[ "Apache-2.0" ]
null
null
null
xmonitor/glare/domain/proxy.py
froyobin/xmonitor
092dcaa01f834353ffd8dd3c40edf9e97543bfe8
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2015 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 agreed to in writin...
33.452736
78
0.665973
853
6,724
4.982415
0.198124
0.073412
0.031765
0.039529
0.409176
0.377176
0.308706
0.308706
0.268471
0.258353
0
0.001566
0.240333
6,724
200
79
33.62
0.830462
0.123438
0
0.312977
0
0
0.008709
0
0
0
0
0
0
1
0.274809
false
0
0.022901
0.061069
0.557252
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
12c70932a238a1b55c9f02e7306c09886d2b9d7a
3,576
py
Python
grammar/parsetab.py
Yumenio/DnDDiceBot
02f47281265f870ca62635707b4cb147e64d1108
[ "MIT" ]
null
null
null
grammar/parsetab.py
Yumenio/DnDDiceBot
02f47281265f870ca62635707b4cb147e64d1108
[ "MIT" ]
null
null
null
grammar/parsetab.py
Yumenio/DnDDiceBot
02f47281265f870ca62635707b4cb147e64d1108
[ "MIT" ]
null
null
null
# parsetab.py # This file is automatically generated. Do not edit. # pylint: disable=W,C,R _tabversion = '3.10' _lr_method = 'LALR' _lr_signature = 'leftplusminusnonassocadvdisadvadv dice disadv div minus newline number plus space star tabcommand : roll_list\n | mod_list\n ...
71.52
897
0.538031
675
3,576
2.684444
0.146667
0.083885
0.039735
0.04415
0.462472
0.321744
0.26766
0.18819
0.160596
0.142384
0
0.175009
0.178691
3,576
49
898
72.979592
0.441948
0.02349
0
0.051282
1
0.025641
0.451964
0.009464
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
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12d3ba90ef05cf491f45a1da906cf2ae191b2512
1,250
py
Python
semanticscholar/lazy.py
micahjsmith/pysemanticscholar
fa650c182668ae882d6a6178b053f2d42c39bbc3
[ "MIT" ]
null
null
null
semanticscholar/lazy.py
micahjsmith/pysemanticscholar
fa650c182668ae882d6a6178b053f2d42c39bbc3
[ "MIT" ]
null
null
null
semanticscholar/lazy.py
micahjsmith/pysemanticscholar
fa650c182668ae882d6a6178b053f2d42c39bbc3
[ "MIT" ]
null
null
null
from jsonmodels.collections import ModelCollection from jsonmodels.fields import ListField from funcy import iterable, suppress class LazyModelCollection(ModelCollection): def _repr(self): return super(LazyModelCollection, self).__repr__() def __repr__(self): # TODO if self is empty, then ch...
27.777778
87
0.6392
146
1,250
5.19863
0.410959
0.065876
0.028986
0
0
0
0
0
0
0
0
0.001078
0.2576
1,250
44
88
28.409091
0.81681
0.0912
0
0
0
0
0.039894
0
0.037037
0
0
0.022727
0
1
0.185185
false
0
0.111111
0.074074
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
12dd504b5f62049215e86bddbf195494196659ea
1,311
py
Python
src/models.py
oSoc20/sep-hackathon-solid
49599ded5fc7d19b33daf52fe1251ae059c0f3c8
[ "MIT" ]
1
2020-07-08T11:17:05.000Z
2020-07-08T11:17:05.000Z
src/models.py
oSoc20/sep-hackathon-solid-api
49599ded5fc7d19b33daf52fe1251ae059c0f3c8
[ "MIT" ]
13
2020-07-14T11:36:35.000Z
2020-07-28T12:24:22.000Z
src/models.py
oSoc20/solid-elections-api
49599ded5fc7d19b33daf52fe1251ae059c0f3c8
[ "MIT" ]
null
null
null
""" Postgresql database models. """ from peewee import Model, PostgresqlDatabase, CharField, DateTimeField import datetime from os import environ db = PostgresqlDatabase(host=environ.get('PG_HOST'), database=environ.get('PG_DBNAME'), user=environ.get('PG_USER'), ...
35.432432
142
0.668192
178
1,311
4.876404
0.533708
0.046083
0.0553
0.025346
0.034562
0
0
0
0
0
0
0
0.250953
1,311
36
143
36.416667
0.88391
0.49733
0
0
0
0
0.048622
0
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
12e8aa431c8b64b037617d63f23e56b454b576c8
9,842
py
Python
pyvex/lifting/util/vex_helper.py
osogi/pyvex
f9b15e64eb5b4991e3cbfa0cb2e7885c6fd2f03f
[ "BSD-2-Clause" ]
261
2015-05-20T09:45:59.000Z
2022-03-15T04:36:29.000Z
pyvex/lifting/util/vex_helper.py
osogi/pyvex
f9b15e64eb5b4991e3cbfa0cb2e7885c6fd2f03f
[ "BSD-2-Clause" ]
187
2015-05-27T09:21:06.000Z
2022-03-13T06:18:41.000Z
pyvex/lifting/util/vex_helper.py
osogi/pyvex
f9b15e64eb5b4991e3cbfa0cb2e7885c6fd2f03f
[ "BSD-2-Clause" ]
115
2015-05-20T00:22:10.000Z
2022-03-13T02:56:39.000Z
import re import copy from ...const import ty_to_const_class, vex_int_class, get_type_size from ...expr import Const, RdTmp, Unop, Binop, Load, CCall, Get, ITE from ...stmt import WrTmp, Put, IMark, Store, NoOp, Exit from ...enums import IRCallee from future.utils import with_metaclass class JumpKind(object): Bor...
35.024911
106
0.634627
1,431
9,842
4.122292
0.202655
0.030514
0.013562
0.01424
0.21546
0.158671
0.109849
0.096796
0.071877
0.071877
0
0.010414
0.24873
9,842
280
107
35.15
0.787395
0.070819
0
0.057971
0
0
0.063059
0.002319
0
0
0.000663
0.003571
0.009662
1
0.21256
false
0
0.033816
0.077295
0.647343
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
12eddd8485a0652062227e6ee50b31d0104cdddb
2,197
py
Python
check_elasticsearch.py
zhanghba/nagios
d68d1b7823c610f92c47d52dbb4fc05a6b8fc821
[ "Apache-2.0" ]
23
2016-02-18T03:19:31.000Z
2020-01-20T06:45:53.000Z
check_elasticsearch.py
zhanghba/nagios
d68d1b7823c610f92c47d52dbb4fc05a6b8fc821
[ "Apache-2.0" ]
3
2017-06-14T03:03:59.000Z
2019-12-25T09:46:16.000Z
check_elasticsearch.py
zhanghba/nagios
d68d1b7823c610f92c47d52dbb4fc05a6b8fc821
[ "Apache-2.0" ]
26
2016-05-11T12:49:55.000Z
2021-06-01T03:55:18.000Z
#!/usr/bin/env python #coding:utf-8 import urllib2 import sys import argparse import json import base64 parser=argparse.ArgumentParser(description="check elastic search health.") parser.add_argument("-H",dest="host",help="Host") parser.add_argument("-P",dest="port",default=9200,help="elastic search http po...
39.945455
141
0.693673
295
2,197
5.077966
0.372881
0.072096
0.045394
0.056075
0.326435
0.266355
0.266355
0.266355
0.266355
0.266355
0
0.029212
0.127447
2,197
54
142
40.685185
0.752217
0.014565
0
0.170732
0
0.097561
0.465844
0.118121
0
0
0
0
0
0
null
null
0.073171
0.121951
null
null
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
1
0
0
1
0
0
0
0
0
2
12f5f3dfac5198e98c01eb14325ffb9c1678ed63
1,266
py
Python
rocketPy/materials.py
dev10110/rocketPy_development
ee4fc9e93cf8a6ee6f72800ba79f6281b0aeb9fa
[ "MIT" ]
2
2020-10-24T16:13:55.000Z
2020-10-29T02:08:48.000Z
rocketPy/materials.py
dev10110/rocketPy_development
ee4fc9e93cf8a6ee6f72800ba79f6281b0aeb9fa
[ "MIT" ]
null
null
null
rocketPy/materials.py
dev10110/rocketPy_development
ee4fc9e93cf8a6ee6f72800ba79f6281b0aeb9fa
[ "MIT" ]
2
2020-10-24T16:13:57.000Z
2020-10-29T02:08:50.000Z
from . import ureg, Q_ class Material(): def __init__(self, name): self.name = name self.density = 0*ureg.km/(ureg.m**3) def __repr__(self): return f'{self.name}: (Material))' class Aluminium(Material): def __init__(self, name='Al-6061-T6'): super().__init__(name=na...
18.617647
47
0.603476
175
1,266
4.022857
0.274286
0.102273
0.149148
0.18892
0.633523
0.34233
0.205966
0
0
0
0
0.038027
0.231438
1,266
67
48
18.895522
0.685509
0
0
0.176471
0
0
0.056872
0
0
0
0
0
0
1
0.235294
false
0
0.029412
0.029412
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
4215e13834b445f23da97707837e40fefea6e6eb
68
py
Python
src/starlette_htmx/__init__.py
lllama/starlette-htmx
ccab89f9f69c6d99b93f651ce3c9e4369d24f290
[ "MIT" ]
3
2022-02-10T17:03:57.000Z
2022-02-24T07:04:22.000Z
src/starlette_htmx/__init__.py
lllama/starlette-htmx
ccab89f9f69c6d99b93f651ce3c9e4369d24f290
[ "MIT" ]
null
null
null
src/starlette_htmx/__init__.py
lllama/starlette-htmx
ccab89f9f69c6d99b93f651ce3c9e4369d24f290
[ "MIT" ]
1
2022-03-12T22:14:33.000Z
2022-03-12T22:14:33.000Z
"""Extensions for using HTMX with Starlette""" __version__ = "0.1"
17
46
0.705882
9
68
4.888889
1
0
0
0
0
0
0
0
0
0
0
0.034483
0.147059
68
3
47
22.666667
0.724138
0.588235
0
0
0
0
0.136364
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
421cc387c9a56d1c47e30729cefed0130c231cf1
1,188
py
Python
testprojects/pants-plugins/src/python/test_pants_plugin/subsystems/lifecycle_stubs.py
billybecker/pants
ee101f3e360b712aceb9dacf7723aaf9b5567f04
[ "Apache-2.0" ]
94
2015-01-15T21:24:20.000Z
2022-02-16T16:55:43.000Z
testprojects/pants-plugins/src/python/test_pants_plugin/subsystems/lifecycle_stubs.py
billybecker/pants
ee101f3e360b712aceb9dacf7723aaf9b5567f04
[ "Apache-2.0" ]
5
2020-07-18T01:04:43.000Z
2021-05-10T08:40:56.000Z
testprojects/pants-plugins/src/python/test_pants_plugin/subsystems/lifecycle_stubs.py
billybecker/pants
ee101f3e360b712aceb9dacf7723aaf9b5567f04
[ "Apache-2.0" ]
47
2015-02-25T02:20:07.000Z
2022-03-21T00:59:16.000Z
# coding=utf-8 # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals from pants.option.custom_types import file_option from pants.subsystem.subsystem import S...
38.322581
98
0.775253
154
1,188
5.785714
0.525974
0.030303
0.053872
0.087542
0.154882
0
0
0
0
0
0
0.006843
0.138889
1,188
30
99
39.6
0.864125
0.194444
0
0.105263
0
0
0.182297
0.037935
0
0
0
0
0
1
0.157895
false
0
0.210526
0.105263
0.578947
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
4229fcd436132ac492e5ee2c80913fd9c105fe28
2,239
py
Python
changes/models/artifact.py
vault-the/changes
37e23c3141b75e4785cf398d015e3dbca41bdd56
[ "Apache-2.0" ]
443
2015-01-03T16:28:39.000Z
2021-04-26T16:39:46.000Z
changes/models/artifact.py
vault-the/changes
37e23c3141b75e4785cf398d015e3dbca41bdd56
[ "Apache-2.0" ]
12
2015-07-30T19:07:16.000Z
2016-11-07T23:11:21.000Z
changes/models/artifact.py
vault-the/changes
37e23c3141b75e4785cf398d015e3dbca41bdd56
[ "Apache-2.0" ]
47
2015-01-09T10:04:00.000Z
2020-11-18T17:58:19.000Z
from __future__ import absolute_import import uuid from datetime import datetime from sqlalchemy import Column, String, DateTime, ForeignKey from sqlalchemy.orm import relationship, backref from sqlalchemy.schema import UniqueConstraint, Index from changes.config import db from changes.db.types.filestorage import Fi...
37.949153
91
0.69674
285
2,239
5.312281
0.364912
0.042933
0.031704
0.035667
0.059445
0
0
0
0
0
0
0.003911
0.200536
2,239
58
92
38.603448
0.841899
0.150067
0
0
0
0
0.100854
0.012273
0
0
0
0.017241
0
1
0.02439
false
0
0.243902
0
0.609756
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
422b0e2773625d3d56bef8cf0299634a3866c97f
429
py
Python
djalma.py
MiguelTeixeiraUFPB/Python-M1
43f13efb09aa4c11c77f9362e8642f4f51832768
[ "MIT" ]
null
null
null
djalma.py
MiguelTeixeiraUFPB/Python-M1
43f13efb09aa4c11c77f9362e8642f4f51832768
[ "MIT" ]
null
null
null
djalma.py
MiguelTeixeiraUFPB/Python-M1
43f13efb09aa4c11c77f9362e8642f4f51832768
[ "MIT" ]
null
null
null
disciplinas=int(input('quantidade de disciplinas por semana: ')) tempojudo=int(input('quantidade de tempo por aula de inglês em minutos: ')) tempoingles=int(input('quantidade de tempo por aula de judô em minutos: ')) ingles=tempoingles*2 minutoslivres=15*60 temposobra= minutoslivres-(ingles+tempojudo) temposidciplinas=...
47.666667
84
0.794872
58
429
5.87931
0.465517
0.070381
0.158358
0.175953
0.199413
0.199413
0.199413
0.199413
0
0
0
0.015504
0.097902
429
8
85
53.625
0.865633
0
0
0
0
0
0.438228
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4230af0aced08f6eb4cc77b01eaacef4f6b1d4ff
843
py
Python
error/home_works/test/test_modify_contact.py
Alex-Chizhov/python_training
3ef15c36488921e89e71b678673718a428da9c39
[ "Apache-2.0" ]
null
null
null
error/home_works/test/test_modify_contact.py
Alex-Chizhov/python_training
3ef15c36488921e89e71b678673718a428da9c39
[ "Apache-2.0" ]
null
null
null
error/home_works/test/test_modify_contact.py
Alex-Chizhov/python_training
3ef15c36488921e89e71b678673718a428da9c39
[ "Apache-2.0" ]
null
null
null
from model.info_contact import Infos def test_modify_contact_firstname(app): if app.contact.count() == 0: app.contact.link_add_new() app.contact.fill_form(Infos(firstname="AAAAA")) app.contact.input_save_form() if app.contact.count_modify('firstname') == 0: app.contact.fill_form(Infos(firstname ='1111'...
24.794118
91
0.754448
123
843
4.910569
0.300813
0.264901
0.07947
0.112583
0.701987
0.701987
0.634106
0.543046
0.543046
0.543046
0
0.014493
0.099644
843
33
92
25.545455
0.781291
0.180308
0
0.470588
0
0
0.034884
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0
0.176471
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4241ce7a05069b30381a347e452cf91bbb2b206c
1,676
py
Python
frontmatter.py
ellisonbg/talk-2013-pydata-nyc
7d40ff8ee3ee948de21c40bdf339506ddefb2482
[ "MIT" ]
2
2015-05-04T16:44:10.000Z
2015-08-30T12:36:37.000Z
frontmatter.py
ellisonbg/talk-2013-pydata-nyc
7d40ff8ee3ee948de21c40bdf339506ddefb2482
[ "MIT" ]
null
null
null
frontmatter.py
ellisonbg/talk-2013-pydata-nyc
7d40ff8ee3ee948de21c40bdf339506ddefb2482
[ "MIT" ]
null
null
null
from IPython.display import display, Image, HTML class _ellisonbg(object): def _repr_html_(self): s = '<h3><a href="http://www.brianegranger.com" target="_blank">Brian E. Granger</a></h3>' s += '<h3><a href="http://calpoly.edu" target="_blank">Cal Poly</a> <a href="http://physics.calpoly.edu/" ta...
35.659574
158
0.677804
235
1,676
4.702128
0.417021
0.022624
0.01448
0.028959
0.118552
0.037104
0.027149
0
0
0
0
0.005957
0.198687
1,676
47
159
35.659574
0.816828
0
0
0.242424
0
0.121212
0.650566
0.088253
0
0
0
0
0
1
0.212121
false
0
0.030303
0.060606
0.424242
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
42427df16fcb028847582725bb139ab3a40f4141
470
py
Python
game2048/my_model.py
InfiniteMiracle/517021911084_2048API
5d00d46ff31aa3c143f817f0c77fbac04159cd12
[ "Apache-2.0" ]
null
null
null
game2048/my_model.py
InfiniteMiracle/517021911084_2048API
5d00d46ff31aa3c143f817f0c77fbac04159cd12
[ "Apache-2.0" ]
null
null
null
game2048/my_model.py
InfiniteMiracle/517021911084_2048API
5d00d46ff31aa3c143f817f0c77fbac04159cd12
[ "Apache-2.0" ]
null
null
null
from keras.models import Sequential from keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPooling2D from .game import Game from .board import NB_board from keras.models import load_model class the_model_512: def __init__(self): self.model=load_model('./game2048/final.h5') def predict(self...
33.571429
70
0.710638
63
470
5.111111
0.492063
0.083851
0.093168
0.130435
0
0
0
0
0
0
0
0.02681
0.206383
470
14
71
33.571429
0.836461
0
0
0
0
0
0.04034
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0
0.692308
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
424cd126aa240b3b87b8a4d49571d41eddaa2e74
1,058
py
Python
tessellation/tessellation_NMC_lite/1_create_all_configs.py
lwkobe/NMC
a59c187d35b2f929ea3a94fc2b434061d7f7993a
[ "MIT" ]
74
2021-08-08T13:33:28.000Z
2022-03-29T03:12:37.000Z
tessellation/tessellation_NMC_lite/1_create_all_configs.py
lwkobe/NMC
a59c187d35b2f929ea3a94fc2b434061d7f7993a
[ "MIT" ]
3
2021-08-23T12:01:45.000Z
2021-11-29T03:15:00.000Z
tessellation/tessellation_NMC_lite/1_create_all_configs.py
lwkobe/NMC
a59c187d35b2f929ea3a94fc2b434061d7f7993a
[ "MIT" ]
9
2021-08-09T13:00:04.000Z
2022-03-02T13:11:54.000Z
coloring_configs = [ "000000002222222", "000000012222222", "000000112222222", "000001012022220", "000001012022221", "000001012122222", "000001112222222", "000011112222222", "000101002222220", "000101002222221", "000101012022220", "000101012022221", "000101012122222", "000101112222222", "000110102020202", "0001101020202...
18.892857
58
0.748582
93
1,058
8.430108
0.688172
0.076531
0.040816
0
0
0
0
0
0
0
0
0.569089
0.07656
1,058
56
59
18.892857
0.233367
0
0
0
0
0
0.564684
0
0
0
0
0
0
1
0
false
0
0.02
0
0.02
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
424d60a26fc3a911d3801a9e96791a72ddd9d26d
526
py
Python
python/p003_2.py
v0rs4/project_euler_solutions
be7578c52125df39e01583f366591a9416ea94d7
[ "MIT" ]
null
null
null
python/p003_2.py
v0rs4/project_euler_solutions
be7578c52125df39e01583f366591a9416ea94d7
[ "MIT" ]
null
null
null
python/p003_2.py
v0rs4/project_euler_solutions
be7578c52125df39e01583f366591a9416ea94d7
[ "MIT" ]
null
null
null
import sys from functools import reduce def create_prime_gen(): return (x for x in range(2, sys.maxsize) if all(x % y != 0 for y in range(2, x))) def find_prime_factorization(n): pf = [] pgen = create_prime_gen() while True: p = next(pgen) while n % p == 0: pf.append(p) ...
21.04
85
0.568441
75
526
3.773333
0.48
0.077739
0.09894
0.162544
0
0
0
0
0
0
0
0.08078
0.31749
526
24
86
21.916667
0.707521
0.04943
0
0
0
0
0.016064
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0.111111
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
424f990004686d21705d7a16af09bad3eb70dff4
472
py
Python
Curso Python/ex041.py
sandro-fidelis/Cursos
cee1960181b1309be93034694cab8cf2878e2194
[ "MIT" ]
null
null
null
Curso Python/ex041.py
sandro-fidelis/Cursos
cee1960181b1309be93034694cab8cf2878e2194
[ "MIT" ]
null
null
null
Curso Python/ex041.py
sandro-fidelis/Cursos
cee1960181b1309be93034694cab8cf2878e2194
[ "MIT" ]
null
null
null
from datetime import date aa = date.today() an = int(input('Digite o ano do nascimento do atleta: ')) i = aa.year - an print('O atleta tem a idade de {} anos'.format(i)) if i <= 9: print('Categoria do atleta é MIRIM') elif i > 9 and i <= 14: print('Categoria do atleta é INFANTIL') elif i > 14 and i <= 19: p...
29.5
57
0.652542
83
472
3.710843
0.46988
0.155844
0.25974
0.357143
0.373377
0
0
0
0
0
0
0.032609
0.220339
472
15
58
31.466667
0.804348
0
0
0
0
0
0.444915
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
425e9ef291cbd92ed5a04c13f8620fee1b0beae1
2,700
py
Python
python-lib/dku_error_analysis_decision_tree/tree_handler.py
dataiku/dss-plugin-model-error-analysis
4c0f42a5c0aa1710005db3d81ca9bd9d7f829e6b
[ "Apache-2.0" ]
null
null
null
python-lib/dku_error_analysis_decision_tree/tree_handler.py
dataiku/dss-plugin-model-error-analysis
4c0f42a5c0aa1710005db3d81ca9bd9d7f829e6b
[ "Apache-2.0" ]
2
2021-09-29T15:08:25.000Z
2022-01-13T11:20:58.000Z
python-lib/dku_error_analysis_decision_tree/tree_handler.py
dataiku/dss-plugin-model-error-analysis
4c0f42a5c0aa1710005db3d81ca9bd9d7f829e6b
[ "Apache-2.0" ]
1
2021-09-10T12:25:08.000Z
2021-09-10T12:25:08.000Z
import logging from dku_error_analysis_mpp.dku_error_analyzer import DkuErrorAnalyzer from mealy import ErrorAnalyzerConstants LOGGER = logging.getLogger(__name__) logging.basicConfig(level=logging.INFO, format="Error Analysis Plugin %(levelname)s - %(message)s") class TreeHandler(object): DEFAULT_MAX_NR_FEATURES...
38.571429
132
0.707778
358
2,700
5.03352
0.301676
0.039956
0.059933
0.061043
0.177026
0.062153
0.027747
0
0
0
0
0.001894
0.217778
2,700
69
133
39.130435
0.851326
0.089259
0
0.040816
0
0
0.06554
0
0
0
0
0.014493
0
1
0.204082
false
0
0.061224
0.020408
0.408163
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
425f40275df785288c57836abef08f1213302d78
853
py
Python
me2ushop/migrations/0080_auto_20210520_1418.py
Dogechi/Me2U
0852600983dc1058ee347f4065ee801e16c1249e
[ "MIT" ]
null
null
null
me2ushop/migrations/0080_auto_20210520_1418.py
Dogechi/Me2U
0852600983dc1058ee347f4065ee801e16c1249e
[ "MIT" ]
9
2020-06-06T01:16:25.000Z
2021-06-04T23:20:37.000Z
me2ushop/migrations/0080_auto_20210520_1418.py
Me2U-Afrika/Me2U
aee054afedff1e6c87f87494eaddf044e217aa95
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2021-05-20 12:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('me2ushop', '0079_auto_20210520_1340'), ] operations = [ migrations.AlterField( model_name='address', name='payment_o...
29.413793
158
0.568581
88
853
5.397727
0.670455
0.126316
0.157895
0.183158
0.366316
0.366316
0.197895
0
0
0
0
0.053834
0.28136
853
28
159
30.464286
0.721044
0.052755
0
0.454545
1
0
0.163772
0.028536
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
426a05f79d0679d796e2088ccc7414212cac5403
2,690
py
Python
bb-master/sandbox/lib/python3.5/site-packages/buildbot/www/authz/roles.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
2
2017-07-11T18:56:27.000Z
2017-07-28T14:01:12.000Z
bb-master/sandbox/lib/python3.5/site-packages/buildbot/www/authz/roles.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
1
2017-07-28T13:53:41.000Z
2017-07-31T15:30:40.000Z
bb-master/sandbox/lib/python3.5/site-packages/buildbot/www/authz/roles.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
null
null
null
# This file is part of Buildbot. Buildbot is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public # License as published by the Free Software Foundation, version 2. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without eve...
30.224719
79
0.666171
312
2,690
5.608974
0.384615
0.036571
0.031429
0.097143
0.112
0.032
0
0
0
0
0
0.005982
0.254275
2,690
88
80
30.568182
0.866401
0.251301
0
0.245283
0
0
0.032016
0
0
0
0
0
0
1
0.207547
false
0.018868
0.075472
0.018868
0.528302
0.018868
0
0
0
null
0
0
0
0
0
0
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
426c4f10a84c828a153a93fde105ebc7b9991812
17,802
py
Python
2016/south_dakota_pp/sd_precinct.py
democracyworks/hand-collection-to-vip
0b6e90f6055c1325930b53905bba2d1bfc111457
[ "BSD-3-Clause" ]
null
null
null
2016/south_dakota_pp/sd_precinct.py
democracyworks/hand-collection-to-vip
0b6e90f6055c1325930b53905bba2d1bfc111457
[ "BSD-3-Clause" ]
2
2016-08-12T20:52:24.000Z
2021-02-08T20:24:27.000Z
2016/south_dakota_pp/sd_precinct.py
democracyworks/hand-collection-to-vip
0b6e90f6055c1325930b53905bba2d1bfc111457
[ "BSD-3-Clause" ]
1
2018-08-17T21:16:30.000Z
2018-08-17T21:16:30.000Z
""" Contains class that generates the 'precinct.txt' file. ballot_style_id, electoral_district_ids, external_identifier_type, external_identifier_othertype, external_identifier_value, is_mail_only, locality_id, name, number, polling_location_ids, precinct_split_name, ward, id """ import pand...
37.39916
157
0.497865
1,778
17,802
4.779528
0.168166
0.12144
0.112262
0.128501
0.49188
0.467169
0.358555
0.33702
0.310191
0.310191
0
0.012499
0.39327
17,802
476
158
37.39916
0.77428
0.036681
0
0.472464
1
0.002899
0.121987
0.035157
0
0
0
0
0
0
null
null
0.008696
0.011594
null
null
0.002899
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
42877b0932ec7cc0e7c3d637b379276b25586868
304
py
Python
modelkit/__init__.py
tgenin/modelkit
2c67b7e12575fa51221f713c2c094030228402ee
[ "MIT" ]
null
null
null
modelkit/__init__.py
tgenin/modelkit
2c67b7e12575fa51221f713c2c094030228402ee
[ "MIT" ]
null
null
null
modelkit/__init__.py
tgenin/modelkit
2c67b7e12575fa51221f713c2c094030228402ee
[ "MIT" ]
null
null
null
import warnings from modelkit.core.library import ModelLibrary, load_model # NOQA from modelkit.core.model import Model # NOQA # Silence Tensorflow warnings # https://github.com/tensorflow/tensorflow/issues/30427 warnings.simplefilter(action="ignore", category=FutureWarning) __version__ = "0.0.9"
25.333333
66
0.796053
38
304
6.236842
0.657895
0.101266
0.135021
0
0
0
0
0
0
0
0
0.029412
0.105263
304
11
67
27.636364
0.841912
0.299342
0
0
0
0
0.052885
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
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
42891912ff638a67592f2c2207385400d55f099f
287
py
Python
independent.py
arch-lord/sherlock
2329982b06b1265d81c5f8045417d29a70f4c5c1
[ "MIT" ]
6
2019-11-28T01:03:51.000Z
2021-11-15T16:20:10.000Z
independent.py
arch-lord/sherlock
2329982b06b1265d81c5f8045417d29a70f4c5c1
[ "MIT" ]
null
null
null
independent.py
arch-lord/sherlock
2329982b06b1265d81c5f8045417d29a70f4c5c1
[ "MIT" ]
1
2019-11-28T01:04:02.000Z
2019-11-28T01:04:02.000Z
from sys import version as sys_version version = int(sys_version[:1]) version_major = sys_version[:1] version_minor = sys_version[2:3] version_full = sys_version[:3] def input(prompt): if version == 3: return input(prompt) else: return raw_input(prompt)
22.076923
38
0.682927
42
287
4.452381
0.452381
0.26738
0.117647
0.192513
0
0
0
0
0
0
0
0.026667
0.216028
287
12
39
23.916667
0.804444
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.4
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42ab416b15b78f49f01f79e3e7d517036dc1500d
220
py
Python
Backend/AssistantFunctions/translate__.py
swasthikshetty10/EPAX-AI
7d8d0103c82ecf3d6396f51cc2fad234ee7880be
[ "MIT" ]
9
2021-01-31T05:23:58.000Z
2021-10-05T06:38:36.000Z
Backend/AssistantFunctions/translate__.py
swasthikshetty10/EPAX-AI
7d8d0103c82ecf3d6396f51cc2fad234ee7880be
[ "MIT" ]
1
2021-01-31T05:56:38.000Z
2021-01-31T05:56:38.000Z
Backend/AssistantFunctions/translate__.py
swasthikshetty10/EPAX-AI
7d8d0103c82ecf3d6396f51cc2fad234ee7880be
[ "MIT" ]
2
2021-02-01T03:11:18.000Z
2022-01-16T11:09:58.000Z
from google_trans_new import google_translator translator = google_translator() def gtranslate(query, dest='en'): value = translator.translate(query, lang_tgt=dest) return value # print(gtranslate('hola'))
16.923077
54
0.75
27
220
5.925926
0.666667
0.2
0
0
0
0
0
0
0
0
0
0
0.145455
220
12
55
18.333333
0.851064
0.113636
0
0
0
0
0.010417
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c4013ecf0e1070141ade3e010995a6baf7712a1e
485
py
Python
consent_form/models.py
AurelienNioche/ModelingMadeEasyApp
dbb738dda204906c5f4b7aeb9c71feea961a4cce
[ "MIT" ]
null
null
null
consent_form/models.py
AurelienNioche/ModelingMadeEasyApp
dbb738dda204906c5f4b7aeb9c71feea961a4cce
[ "MIT" ]
null
null
null
consent_form/models.py
AurelienNioche/ModelingMadeEasyApp
dbb738dda204906c5f4b7aeb9c71feea961a4cce
[ "MIT" ]
null
null
null
from django.db import models class ConsentForm(models.Model): user_id = models.CharField(max_length=80) perm1 = models.CharField(max_length=80) perm2 = models.CharField(max_length=80) username = models.TextField() date = models.DateField(max_length=80) city = models.TextField(max_length=80) ...
30.3125
71
0.665979
64
485
4.875
0.40625
0.144231
0.176282
0.230769
0.25
0
0
0
0
0
0
0.041026
0.195876
485
15
72
32.333333
0.758974
0
0
0
0
0
0.210309
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
0.909091
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c4136866e5716fd7421ddc2f8a5f843204505e55
1,780
py
Python
monk/gluon/models/initializers.py
gstearmit/monk_v1
89184ae27dc6d134620034d5b12aa86473ea47ba
[ "Apache-2.0" ]
null
null
null
monk/gluon/models/initializers.py
gstearmit/monk_v1
89184ae27dc6d134620034d5b12aa86473ea47ba
[ "Apache-2.0" ]
9
2020-01-28T21:40:39.000Z
2022-02-10T01:24:06.000Z
monk/gluon/models/initializers.py
abhi-kumar/monk_kaggle_bengali_ai
12a6c654446e887706c1a8bed82fccf8a98ce356
[ "Apache-2.0" ]
1
2020-10-07T12:57:44.000Z
2020-10-07T12:57:44.000Z
from gluon.models.imports import * from system.imports import * @TraceFunction(trace_args=False, trace_rv=False) def initialize_network(net, initializer): if(initializer == "xavier_normal"): net.initialize(initializer_xavier_normal(), ctx = ctx); elif(initializer == "xavier_uniform"): net.initi...
34.901961
68
0.741573
201
1,780
6.333333
0.149254
0.113119
0.138256
0.169678
0.595444
0.434407
0.376277
0.376277
0.343284
0.30165
0
0
0.132584
1,780
51
69
34.901961
0.824482
0
0
0.2
0
0
0.060079
0
0
0
0
0
0
1
0.2
false
0
0.05
0.175
0.45
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
c414b39252f14a48ea5c7871c89954c48ee0a7df
633
py
Python
lettuce_webdriver/django.py
nattster/lettuce_webdriver
26b910ceef67d5b81030640ebbab0504bd59d643
[ "MIT" ]
24
2015-02-04T14:49:51.000Z
2021-03-23T17:17:09.000Z
lettuce_webdriver/django.py
nattster/lettuce_webdriver
26b910ceef67d5b81030640ebbab0504bd59d643
[ "MIT" ]
4
2015-07-13T22:41:22.000Z
2016-10-03T20:17:22.000Z
lettuce_webdriver/django.py
nattster/lettuce_webdriver
26b910ceef67d5b81030640ebbab0504bd59d643
[ "MIT" ]
12
2015-01-24T02:05:39.000Z
2016-12-30T07:30:28.000Z
""" Django-specific extensions """ import socket import urlparse from lettuce import step from lettuce.django import server # make sure the steps are loaded import lettuce_webdriver.webdriver # pylint:disable=unused-import def site_url(url): """ Determine the server URL. """ base_url = 'http://%s'...
18.617647
66
0.654028
87
633
4.678161
0.494253
0.051597
0
0
0
0
0
0
0
0
0
0.004008
0.21169
633
33
67
19.181818
0.811623
0.236967
0
0
0
0
0.114865
0
0
0
0
0
0
1
0.153846
false
0
0.384615
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
0
0
0
1
0
1
0
0
2
c43363c6b002d9857725aab3c243c97ec8ad22b2
359
py
Python
gymnast/pdf_elements/fonts/true_type.py
ajmarks/gymnast
db272bdf24ae51c2c575c34abefb1c265f4cd3f5
[ "MIT" ]
12
2015-11-18T23:24:16.000Z
2018-03-26T23:56:53.000Z
gymnast/pdf_elements/fonts/true_type.py
ajmarks/pdf_parser
db272bdf24ae51c2c575c34abefb1c265f4cd3f5
[ "MIT" ]
4
2015-11-05T23:40:46.000Z
2015-11-10T19:35:59.000Z
gymnast/pdf_elements/fonts/true_type.py
ajmarks/pdf_parser
db272bdf24ae51c2c575c34abefb1c265f4cd3f5
[ "MIT" ]
1
2016-07-14T22:23:53.000Z
2016-07-14T22:23:53.000Z
""" TrueType Fonts """ from .base_font import PdfBaseFont class TrueTypeFont(PdfBaseFont): """For our purposes, these are just a more restricted form of the Type 1 Fonts, so...we're done here.""" def text_space_coords(self, x, y): """Type1 fonts just scale by 1/1000 to convert from glyph sp...
25.642857
76
0.657382
54
359
4.314815
0.796296
0
0
0
0
0
0
0
0
0
0
0.054348
0.231198
359
13
77
27.615385
0.789855
0.48468
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c43620e7465ba35e66bcff3f8303b2f25dbed454
374
py
Python
repository/database.py
redxzeta/koku-flask
856356ce9076bfcedc287cbeb33ab41581c8ebff
[ "MIT" ]
null
null
null
repository/database.py
redxzeta/koku-flask
856356ce9076bfcedc287cbeb33ab41581c8ebff
[ "MIT" ]
null
null
null
repository/database.py
redxzeta/koku-flask
856356ce9076bfcedc287cbeb33ab41581c8ebff
[ "MIT" ]
null
null
null
import sys import os from repository.mongo.MongoDB import * USERNAME = os.environ.get("MONGOUSER") PASS = os.environ.get("PASS") DB_NAME = os.environ.get("DB_NAME") COLLECTIONS = { "koku": DEFAULT} URL = f"mongodb+srv://{USERNAME}:{PASS}@cluster0.hhjqb.mongodb.net/{DB_NAME}?retryWrites=true&w=majority" CONNECTION =...
26.714286
105
0.745989
54
374
5.092593
0.555556
0.087273
0.130909
0
0
0
0
0
0
0
0
0.002941
0.090909
374
13
106
28.769231
0.805882
0
0
0
0
0.111111
0.320856
0.256684
0
0
0
0
0
1
0
false
0.222222
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
1
1
0
0
0
0
2
c4374be1175ee4054be31debfb5fc4bf940c8ad8
10,846
py
Python
xtreme_vision/Detection/yolov4/model/neck.py
rjalif199/Xtreme-Vision
15ff71ccdcdbb76637524fe30559ce1671f3bbfb
[ "MIT" ]
81
2020-11-21T07:21:38.000Z
2022-02-14T18:31:55.000Z
xtreme_vision/Detection/yolov4/model/neck.py
rjalif199/Xtreme-Vision
15ff71ccdcdbb76637524fe30559ce1671f3bbfb
[ "MIT" ]
10
2020-12-01T13:00:48.000Z
2021-07-18T10:40:01.000Z
xtreme_vision/Detection/yolov4/model/neck.py
rjalif199/Xtreme-Vision
15ff71ccdcdbb76637524fe30559ce1671f3bbfb
[ "MIT" ]
23
2020-11-24T06:30:23.000Z
2021-07-05T01:37:58.000Z
""" MIT License Copyright (c) 2020 Hyeonki Hong <hhk7734@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
29.63388
78
0.574313
1,064
10,846
5.698308
0.195489
0.218704
0.144153
0.213096
0.635824
0.593106
0.586508
0.586508
0.586508
0.586508
0
0.074142
0.347133
10,846
365
79
29.715068
0.782093
0.100313
0
0.52459
0
0
0.004923
0
0
0
0
0
0
1
0.013115
false
0
0.006557
0
0.032787
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c43c4ac18f0af805de86331b4e9b6b0e4e831281
12,316
py
Python
models_nonconvex_simple/heatexch_spec2.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
7
2019-05-08T19:14:34.000Z
2021-12-24T00:00:40.000Z
models_nonconvex_simple/heatexch_spec2.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_nonconvex_simple/heatexch_spec2.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
1
2019-05-10T18:34:18.000Z
2019-05-10T18:34:18.000Z
# MINLP written by GAMS Convert at 08/13/20 17:37:59 # # Equation counts # Total E G L N X C B # 91 31 18 42 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
40.916944
120
0.585742
2,282
12,316
3.161262
0.125329
0.17466
0.11644
0.166343
0.558497
0.534239
0.477128
0.422235
0.400055
0
0
0.220168
0.196411
12,316
300
121
41.053333
0.50874
0.055213
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.005348
0
0.005348
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4404e7f775bab86ed7b2586c45c05b2da250937
213
py
Python
Exercicio/024.py
DeboraSISA/DeboraPython
7d50082757b9c563166dd71ef0c4b746b7afcf6d
[ "MIT" ]
null
null
null
Exercicio/024.py
DeboraSISA/DeboraPython
7d50082757b9c563166dd71ef0c4b746b7afcf6d
[ "MIT" ]
1
2021-05-19T02:08:18.000Z
2021-05-19T02:09:12.000Z
Exercicio/024.py
DeboraSISA/DeboraPython
7d50082757b9c563166dd71ef0c4b746b7afcf6d
[ "MIT" ]
null
null
null
''' Exercício Python 24: Crie um programa que leia o nome de uma cidade diga se ela começa ou não com o nome “SANTO”. ''' cid = str(input('Em que cidade você nasceu? ')).strip() print(cid[0:5].lower() == 'santo')
26.625
58
0.676056
38
213
3.789474
0.842105
0.069444
0
0
0
0
0
0
0
0
0
0.022599
0.169014
213
7
59
30.428571
0.79096
0.530516
0
0
0
0
0.347826
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
c45ca275fafb7884d96baabdb41118db0ac4d614
582
py
Python
test/integration/022_bigquery_test/test_bigquery_query_results.py
joellabes/dbt
1060035838650a30e86989cbf2693db7720ff002
[ "Apache-2.0" ]
1
2020-11-18T21:25:53.000Z
2020-11-18T21:25:53.000Z
test/integration/022_bigquery_test/test_bigquery_query_results.py
azhard/dbt
9cd7cbc9e35e5a7c8c4f17a3d113263f4421ab55
[ "Apache-2.0" ]
50
2021-11-02T06:20:50.000Z
2022-03-31T06:23:16.000Z
test/integration/022_bigquery_test/test_bigquery_query_results.py
azhard/dbt
9cd7cbc9e35e5a7c8c4f17a3d113263f4421ab55
[ "Apache-2.0" ]
1
2021-11-23T20:28:07.000Z
2021-11-23T20:28:07.000Z
from test.integration.base import DBTIntegrationTest, use_profile class TestBaseBigQueryResults(DBTIntegrationTest): @property def schema(self): return "bigquery_test_022" @property def models(self): return "models" @property def project_config(self): return { ...
23.28
70
0.64433
59
582
6.152542
0.576271
0.090909
0
0
0
0
0
0
0
0
0
0.009153
0.249141
582
24
71
24.25
0.82151
0
0
0.166667
0
0
0.159794
0
0
0
0
0
0.055556
1
0.222222
false
0
0.055556
0.166667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
c4698c8f6fb81068eca5942a3315e5d950da1729
560
py
Python
infer/lib/capture/analyze.py
vaginessa/infer
553d39eb7d7663fb8762d368feb3b824416f37a1
[ "BSD-3-Clause" ]
null
null
null
infer/lib/capture/analyze.py
vaginessa/infer
553d39eb7d7663fb8762d368feb3b824416f37a1
[ "BSD-3-Clause" ]
null
null
null
infer/lib/capture/analyze.py
vaginessa/infer
553d39eb7d7663fb8762d368feb3b824416f37a1
[ "BSD-3-Clause" ]
null
null
null
import os import util MODULE_NAME = __name__ MODULE_DESCRIPTION = '''Run analysis of what has already been captured: Usage: infer -- analyze infer --out <capture_folder> -- analyze''' def gen_instance(*args): return NoCapture(*args) # This creates an empty argparser for the module, which provides only # descrip...
22.4
71
0.7375
75
560
5.28
0.64
0.050505
0
0
0
0
0
0
0
0
0
0
0.178571
560
24
72
23.333333
0.86087
0.205357
0
0
0
0
0.251131
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.133333
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
c46ab68f5639ab5ef3251539a2b3c0d5eb7a2d50
923
py
Python
config/api_router.py
edderleonardo/ado
fa3478e3aa55b71e7627a9b5017fa2fbff196c31
[ "BSD-3-Clause" ]
null
null
null
config/api_router.py
edderleonardo/ado
fa3478e3aa55b71e7627a9b5017fa2fbff196c31
[ "BSD-3-Clause" ]
null
null
null
config/api_router.py
edderleonardo/ado
fa3478e3aa55b71e7627a9b5017fa2fbff196c31
[ "BSD-3-Clause" ]
null
null
null
from django.conf import settings from django.urls.conf import path from rest_framework.routers import DefaultRouter, SimpleRouter from ado.apps.buses.api.views import BusesViewSet, PassengerView from ado.apps.drivers.api.views import DriverViewSet from ado.apps.passengers.api.views import PassengerViewSet from ado.app...
32.964286
82
0.788732
113
923
6.40708
0.380531
0.048343
0.075967
0
0
0
0
0
0
0
0
0
0.094258
923
27
83
34.185185
0.866029
0
0
0
0
0
0.105092
0.024919
0
0
0
0
0
1
0
false
0.181818
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
c4790f7f2823a71a7cabff59e9c6a86fd5d4e451
2,874
py
Python
tests/test_electrum.py
gionasoldati/BitcoinBlockchainTechnology
4ac9d5c1bab6c0ff0fb21803d6857cd384c36ed9
[ "MIT" ]
null
null
null
tests/test_electrum.py
gionasoldati/BitcoinBlockchainTechnology
4ac9d5c1bab6c0ff0fb21803d6857cd384c36ed9
[ "MIT" ]
null
null
null
tests/test_electrum.py
gionasoldati/BitcoinBlockchainTechnology
4ac9d5c1bab6c0ff0fb21803d6857cd384c36ed9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (C) 2017-2019 The btclib developers # # This file is part of btclib. It is subject to the license terms in the # LICENSE file found in the top-level directory of this distribution. # # No part of btclib including this file, may be copied, modified, propagated, # or distributed except...
36.846154
102
0.656924
330
2,874
5.442424
0.393939
0.050111
0.066815
0.080178
0.258352
0.229399
0.064588
0.064588
0
0
0
0.026392
0.274878
2,874
77
103
37.324675
0.835413
0.163535
0
0.153846
0
0
0.063101
0.010865
0
0
0.017133
0.012987
0.096154
1
0.038462
false
0.115385
0.076923
0
0.134615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
c47db069e35d0885cc84c3b16e415a51198a16de
555
py
Python
projects/forms.py
MaryannGitonga/Awwwards-Clone
00bb535c846c10cec23a73c2f35c7b8785189a5f
[ "MIT" ]
null
null
null
projects/forms.py
MaryannGitonga/Awwwards-Clone
00bb535c846c10cec23a73c2f35c7b8785189a5f
[ "MIT" ]
4
2020-02-12T03:27:06.000Z
2021-06-10T22:29:10.000Z
projects/forms.py
jumbamathews/previewproject
1e0e1622c1c0803eba3eb4f0971f7c7ddab12355
[ "MIT" ]
1
2020-03-17T20:36:36.000Z
2020-03-17T20:36:36.000Z
from .models import Project,UserProfile from django.contrib.auth.models import User from .models import UserProfile,Project from django.forms import ModelForm class NewProjectForm(ModelForm): class Meta: model = Project fields = ('project_title','project_description','landing_page','live_site') c...
25.227273
83
0.699099
60
555
6.383333
0.5
0.146214
0.140992
0.180157
0.18799
0.18799
0
0
0
0
0
0
0.2
555
21
84
26.428571
0.862613
0
0
0.3125
0
0
0.16036
0
0
0
0
0
0
1
0
false
0
0.25
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c4880f38623262a1fe47d421dfb4c4864a11abc1
931
py
Python
avalon/photoshop/workio.py
simonebarbieri/avalon-core
cfd4191e364b47de7364096f45d9d9d9a901692a
[ "MIT" ]
5
2019-01-09T09:05:16.000Z
2021-12-11T19:36:22.000Z
avalon/photoshop/workio.py
jrsndl/avalon-core
82d5b8137eea3b49d4781a4af51d7f375bb9f628
[ "MIT" ]
106
2018-11-11T23:48:18.000Z
2022-03-23T16:21:18.000Z
avalon/photoshop/workio.py
jrsndl/avalon-core
82d5b8137eea3b49d4781a4af51d7f375bb9f628
[ "MIT" ]
6
2020-06-11T10:52:27.000Z
2021-11-22T12:08:55.000Z
"""Host API required Work Files tool""" import os from . import lib from avalon import api def _active_document(): document_name = lib.stub().get_active_document_name() if not document_name: return None return document_name def file_extensions(): return api.HOST_WORKFILE_EXTENSIONS["photos...
19.395833
77
0.655209
117
931
4.991453
0.42735
0.059932
0.034247
0.054795
0.082192
0
0
0
0
0
0
0.001377
0.220193
931
47
78
19.808511
0.80303
0.035446
0
0.071429
0
0
0.032511
0
0
0
0
0
0
1
0.25
false
0
0.107143
0.071429
0.678571
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
c48a8c1b89f2af052e689ddee35fc1e5181766e5
491
py
Python
lib/pt_network.py
fagcinsk/pytools
772172451f0b27c7c09508698d24bee2ef40ddb5
[ "MIT" ]
1
2021-01-05T20:49:02.000Z
2021-01-05T20:49:02.000Z
lib/pt_network.py
fagcinsk/pytools
772172451f0b27c7c09508698d24bee2ef40ddb5
[ "MIT" ]
1
2021-01-13T20:15:02.000Z
2021-01-14T19:16:10.000Z
lib/pt_network.py
fagcinsk/pytools
772172451f0b27c7c09508698d24bee2ef40ddb5
[ "MIT" ]
1
2021-01-05T13:59:08.000Z
2021-01-05T13:59:08.000Z
from socket import socket def check_port(ip: str, port: int = 21, timeout: float = 0.2) -> str: """Check tcp port, returns ip if connection established""" with socket() as sock: sock.settimeout(timeout) return ip if sock.connect_ex((ip, port)) == 0 else '' def portchecker(port: int, timeout:...
32.733333
69
0.676171
71
491
4.633803
0.492958
0.054711
0.079027
0.085106
0
0
0
0
0
0
0
0.018041
0.209776
491
14
70
35.071429
0.829897
0.213849
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
67093e31e5b7e1669c5a2da0636044d06b7d0111
515
py
Python
sales/views.py
conekta-examples/hello-conekta-python-django
fabea7d6d45bc0aa551546f5108e63ffb552f979
[ "MIT" ]
3
2017-10-24T19:19:57.000Z
2018-09-24T16:52:18.000Z
sales/views.py
conekta-examples/hello-conekta-python-django
fabea7d6d45bc0aa551546f5108e63ffb552f979
[ "MIT" ]
1
2016-08-30T01:51:39.000Z
2016-09-02T03:43:36.000Z
sales/views.py
conekta-examples/hello-conekta-python-django
fabea7d6d45bc0aa551546f5108e63ffb552f979
[ "MIT" ]
null
null
null
from django.shortcuts import render_to_response, render from django.http import HttpResponse from django.views.decorators.csrf import csrf_protect from sales.models import Sale from django.conf import settings @csrf_protect def index(request): if request.method == 'GET': return render(request, 'charge.ht...
28.611111
59
0.720388
67
515
5.432836
0.537313
0.10989
0
0
0
0
0
0
0
0
0
0.007264
0.198058
515
17
60
30.294118
0.874092
0.048544
0
0
0
0
0.05726
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
670ce89ac8abe31b1dcaeb1f20e78fcb2318bfca
715
py
Python
Django/DjangoT3.2_LTS/02 Template view/mywebsite/views.py
Akhadafi/WEB-Framework
4547a682ac1f007aa6f97512baf76b92ef1c9b9a
[ "MIT" ]
null
null
null
Django/DjangoT3.2_LTS/02 Template view/mywebsite/views.py
Akhadafi/WEB-Framework
4547a682ac1f007aa6f97512baf76b92ef1c9b9a
[ "MIT" ]
null
null
null
Django/DjangoT3.2_LTS/02 Template view/mywebsite/views.py
Akhadafi/WEB-Framework
4547a682ac1f007aa6f97512baf76b92ef1c9b9a
[ "MIT" ]
null
null
null
from django.views.generic.base import TemplateView # inheritence dari TemplateResponseMixin # ContexMixin # View class IndexView(TemplateView): pass class ParameterView(TemplateView): template_name = "parameter.html" def get_context_data(self, *args, **kwargs): context = super().get_context_dat...
22.34375
52
0.639161
69
715
6.507246
0.507246
0.066815
0.093541
0.075724
0.262806
0.111359
0
0
0
0
0
0
0.255944
715
31
53
23.064516
0.843985
0.100699
0
0.105263
0
0
0.141066
0
0
0
0
0
0
1
0.105263
false
0.052632
0.052632
0
0.526316
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
67110e084c8a7bb4c531040978b9cd97d63e8bd4
786
py
Python
api/user/migrations/0013_add_permission_groups.py
uktrade/market-access-api
850a59880f8f62263784bcd9c6b3362e447dbc7a
[ "MIT" ]
null
null
null
api/user/migrations/0013_add_permission_groups.py
uktrade/market-access-api
850a59880f8f62263784bcd9c6b3362e447dbc7a
[ "MIT" ]
51
2018-05-31T12:16:31.000Z
2022-03-08T09:36:48.000Z
api/user/migrations/0013_add_permission_groups.py
uktrade/market-access-api
850a59880f8f62263784bcd9c6b3362e447dbc7a
[ "MIT" ]
2
2019-12-24T09:47:42.000Z
2021-02-09T09:36:51.000Z
# Generated by Django 2.2.13 on 2020-06-19 09:41 from django.db import migrations def add_permission_groups(apps, schema_editor): Group = apps.get_model("auth", "Group") Group.objects.create(name="Sifter") Group.objects.create(name="Editor") Group.objects.create(name="Publisher") Group.objects.cr...
26.2
85
0.692112
93
786
5.655914
0.494624
0.114068
0.136882
0.1673
0.26616
0.26616
0.26616
0.26616
0.26616
0.26616
0
0.030912
0.176845
786
29
86
27.103448
0.782071
0.058524
0
0.105263
1
0
0.155827
0.033875
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.315789
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
671a1cc7b1225061a00731596c536c4403e0bdff
1,846
py
Python
tensorflow/contrib/py2tf/converters/lists_test.py
Pravo21/tensorflow
10be1f2377bf7aad1a4cfa306277c53e44493a57
[ "Apache-2.0" ]
13
2018-07-23T18:53:35.000Z
2021-11-18T19:56:45.000Z
tensorflow/contrib/py2tf/converters/lists_test.py
sysufuchao/tensorflow
10be1f2377bf7aad1a4cfa306277c53e44493a57
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/py2tf/converters/lists_test.py
sysufuchao/tensorflow
10be1f2377bf7aad1a4cfa306277c53e44493a57
[ "Apache-2.0" ]
13
2018-09-07T13:28:38.000Z
2020-07-17T15:06:24.000Z
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
34.830189
80
0.711268
245
1,846
5.187755
0.530612
0.047207
0.037766
0.061369
0.06609
0.06609
0
0
0
0
0
0.01041
0.167389
1,846
52
81
35.5
0.816526
0.403034
0
0
0
0
0.01756
0
0
0
0
0.019231
0.038462
1
0.076923
false
0
0.346154
0
0.5
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
67204b92ad510e66c502614cbc6803b8ea226d98
1,689
py
Python
sympy/concrete/tests/test_products.py
Timeroot/sympy
f95bf4bbc548d326f4643d22faec32aca7880187
[ "BSD-3-Clause" ]
1
2020-12-27T18:43:22.000Z
2020-12-27T18:43:22.000Z
sympy/concrete/tests/test_products.py
Timeroot/sympy
f95bf4bbc548d326f4643d22faec32aca7880187
[ "BSD-3-Clause" ]
null
null
null
sympy/concrete/tests/test_products.py
Timeroot/sympy
f95bf4bbc548d326f4643d22faec32aca7880187
[ "BSD-3-Clause" ]
1
2022-03-21T09:07:27.000Z
2022-03-21T09:07:27.000Z
from sympy import (symbols, product, factorial, rf, sqrt, cos, Function, Product, Rational, Sum, oo) a, k, n = symbols('a,k,n', integer=True) f = Function('f') def test_simple_products(): assert product(2, (k, a, n)) == 2**(n-a+1) assert product(k, (k, 1, n)) == factorial(n) assert prod...
34.469388
75
0.544701
310
1,689
2.925806
0.154839
0.214994
0.033076
0.030871
0.251378
0.128997
0.088203
0.088203
0.066152
0.066152
0
0.069069
0.211368
1,689
48
76
35.1875
0.611862
0.046181
0
0
0
0
0.004364
0
0
0
0
0
0.548387
1
0.193548
false
0
0.064516
0
0.258065
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
6727cc5d930eec856929eff9c9937130cce80011
2,096
py
Python
loris/requests/meta_request.py
jpstroop/loris-redux
b5db56d5a250fdb24486afe01bad55b81761701a
[ "BSD-2-Clause" ]
7
2016-08-09T17:39:05.000Z
2016-09-26T19:37:30.000Z
loris/requests/meta_request.py
jpstroop/loris-redux
b5db56d5a250fdb24486afe01bad55b81761701a
[ "BSD-2-Clause" ]
183
2016-06-02T22:07:05.000Z
2022-03-11T23:23:01.000Z
loris/requests/meta_request.py
jpstroop/loris-redux
b5db56d5a250fdb24486afe01bad55b81761701a
[ "BSD-2-Clause" ]
1
2016-08-09T17:39:11.000Z
2016-08-09T17:39:11.000Z
# # This helps us not have to pass so many things (caches, resolvers, # transcoders...) around by letting us set class properties on the IIIFRequest # at startup. Here's a basic example of how this pattern works: # # >>> class MyMeta(type): # Note we subclass type, not object # ... _something = None # ... def _...
26.2
78
0.687977
243
2,096
5.534979
0.238683
0.066915
0.072862
0.025279
0.054275
0
0
0
0
0
0
0
0.218034
2,096
79
79
26.531646
0.820622
0.302481
0
0
0
0
0
0
0
0
0
0
0
1
0.324324
false
0
0
0.162162
0.837838
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
672a0e8fa99ec72b8216b9a25d5e85c694914355
2,077
py
Python
ensconce/util/pwtools.py
netwrkr/ensconce
eda938c67eb0af8fb7d3ccf668e07d2f76485aa5
[ "BSD-3-Clause" ]
1
2021-05-05T13:52:44.000Z
2021-05-05T13:52:44.000Z
ensconce/util/pwtools.py
netwrkr/ensconce
eda938c67eb0af8fb7d3ccf668e07d2f76485aa5
[ "BSD-3-Clause" ]
null
null
null
ensconce/util/pwtools.py
netwrkr/ensconce
eda938c67eb0af8fb7d3ccf668e07d2f76485aa5
[ "BSD-3-Clause" ]
null
null
null
""" Various utility functions. """ from __future__ import absolute_import import re import string from Crypto.Random import random HASH_REGEXP = re.compile(r'^{([A-Z0-9]+)}(.*)$') def generate_password(length=12, ascii_lower=True, ascii_upper=True, punctuation=True, digits=True, strip_ambiguou...
33.5
91
0.660568
257
2,077
5.237354
0.404669
0.029718
0.047548
0.031204
0
0
0
0
0
0
0
0.005175
0.255657
2,077
62
92
33.5
0.865459
0.485797
0
0.08
1
0
0.086044
0
0
0
0
0
0
1
0.04
false
0.08
0.16
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
672a36d6f14b51d2a265040cb231a3ca10fb036a
8,345
py
Python
template.py
Dino-s26/network_gathering_tool_v2
14a73c3349b1870bba1950f170b171ee295d8ee0
[ "MIT" ]
null
null
null
template.py
Dino-s26/network_gathering_tool_v2
14a73c3349b1870bba1950f170b171ee295d8ee0
[ "MIT" ]
null
null
null
template.py
Dino-s26/network_gathering_tool_v2
14a73c3349b1870bba1950f170b171ee295d8ee0
[ "MIT" ]
null
null
null
import os import paramiko import time import datetime import socket from openpyxl import load_workbook from pathlib import Path ''' Hard code source file *Recommended method ''' filename = "x://path_to_file.xlsx" ''' *change this to your excel file ''' ''' Should you choose to do input filename manually ''' #filename ...
40.509709
153
0.572918
1,102
8,345
4.197822
0.224138
0.03783
0.045396
0.024211
0.347601
0.312149
0.290964
0.268915
0.268915
0.268915
0
0.011054
0.295386
8,345
205
154
40.707317
0.77568
0.084961
0
0.37037
0
0
0.152277
0.008925
0
0
0
0
0
0
null
null
0.064815
0.064815
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
672c1ea56d450cca4117d1e99d7bb43b4d0be80f
767
py
Python
mtaa/migrations/0003_auto_20190914_1607.py
macymuhia/My_mtaa
ade06c1d30d8f293963ed09924419e3b3a881dbc
[ "MIT" ]
null
null
null
mtaa/migrations/0003_auto_20190914_1607.py
macymuhia/My_mtaa
ade06c1d30d8f293963ed09924419e3b3a881dbc
[ "MIT" ]
8
2020-06-05T23:02:57.000Z
2022-02-10T12:51:58.000Z
mtaa/migrations/0003_auto_20190914_1607.py
macymuhia/My_mtaa
ade06c1d30d8f293963ed09924419e3b3a881dbc
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-09-14 13:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mtaa', '0002_auto_20190914_1606'), ] operations = [ migrations.AddField( model_name='business', name='phone', ...
26.448276
82
0.586701
78
767
5.628205
0.564103
0.123007
0.157175
0.18451
0.296128
0.296128
0.296128
0.296128
0.296128
0.296128
0
0.074349
0.298566
767
28
83
27.392857
0.741636
0.05867
0
0.454545
1
0
0.116667
0.031944
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
673d0f87dc7a1324dc68faacadc9e6abbfb1079a
407
py
Python
chat_downloader/metadata.py
Takayamashi/chat-downloader
4283443e6bd328b9f68ba89eef73a7d3f65c497b
[ "MIT" ]
null
null
null
chat_downloader/metadata.py
Takayamashi/chat-downloader
4283443e6bd328b9f68ba89eef73a7d3f65c497b
[ "MIT" ]
null
null
null
chat_downloader/metadata.py
Takayamashi/chat-downloader
4283443e6bd328b9f68ba89eef73a7d3f65c497b
[ "MIT" ]
null
null
null
"""Set metadata for chat-downloader""" __title__ = 'chat-downloader' __program__ = 'chat_downloader' __summary__ = 'A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed!' __author__ = 'xenova' __email__ = 'admin@xenova.com' __copyright__ = '2020, 20...
37
139
0.764128
51
407
5.45098
0.784314
0.201439
0
0
0
0
0
0
0
0
0
0.030641
0.117936
407
10
140
40.7
0.743733
0.078624
0
0
0
0.125
0.644986
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6743a9954393f65697950b3b7472ce322890b1bd
446
py
Python
meetup/tracker/signals.py
brnomendes/meetup-tracker
c85416894e6cc710be61d9cf1561bc9ae6118dd0
[ "MIT" ]
null
null
null
meetup/tracker/signals.py
brnomendes/meetup-tracker
c85416894e6cc710be61d9cf1561bc9ae6118dd0
[ "MIT" ]
null
null
null
meetup/tracker/signals.py
brnomendes/meetup-tracker
c85416894e6cc710be61d9cf1561bc9ae6118dd0
[ "MIT" ]
null
null
null
from django.db.models.signals import post_save from django.dispatch import receiver from tracker.integration.client_api import UpdateMeetupGroup from tracker.models import GroupUrlname @receiver(post_save, sender=GroupUrlname) def save_group_urlname(sender, instance, **kwargs): """ When a new urlname is adde...
29.733333
64
0.775785
59
446
5.779661
0.661017
0.058651
0
0
0
0
0
0
0
0
0
0
0.147982
446
14
65
31.857143
0.897368
0.221973
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
674549ed36124d501935fdacaafe40eb06bf13b2
39,131
py
Python
paceusa.py
ahmadchenwangxuesi/Toolsfbnews
f62c4423377d08bbb8f2b6c35a3b9b79ca51f00e
[ "MIT" ]
null
null
null
paceusa.py
ahmadchenwangxuesi/Toolsfbnews
f62c4423377d08bbb8f2b6c35a3b9b79ca51f00e
[ "MIT" ]
null
null
null
paceusa.py
ahmadchenwangxuesi/Toolsfbnews
f62c4423377d08bbb8f2b6c35a3b9b79ca51f00e
[ "MIT" ]
null
null
null
#coding=utf-8 ######################################## # Pace Usa Gans # Cloning update 2020 ######################################## import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,getpass os.system('rm -rf .txt') for n in range(100000): nmbr = random.randint(1111111, 9999999) ...
32.554908
321
0.546191
5,646
39,131
4.266738
0.147892
0.055293
0.029141
0.033624
0.597675
0.550809
0.516106
0.456787
0.416895
0.378995
0
0.130271
0.186093
39,131
1,201
322
32.582015
0.533737
0.003246
0
0.59292
0
0.076991
0.473764
0.192551
0
0
0
0
0
0
null
null
0.061947
0.007965
null
null
0.190265
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
675953426b8a2cfea908ad1e63c4c3aef28bc297
1,339
py
Python
tests/test_match.py
themadsens/qfc
94440e18ef53c1913011f6352c8f4e0f03a006dd
[ "MIT" ]
600
2015-07-13T13:34:29.000Z
2022-02-04T22:26:00.000Z
tests/test_match.py
themadsens/qfc
94440e18ef53c1913011f6352c8f4e0f03a006dd
[ "MIT" ]
38
2015-07-13T00:32:12.000Z
2020-08-13T12:00:47.000Z
.qfc/tests/test_match.py
zhangdanyangg/dotfiles
69231600c28a989fe20814ccb171860e05951dbf
[ "MIT" ]
29
2015-07-25T10:29:49.000Z
2021-12-26T12:50:33.000Z
import sys import os sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)),'..')) from qfc.core import filter_files, get_weight def _equals(marks_list1, marks_list2): l1 = sorted(marks_list1) l2 = sorted(marks_list2) if len(l1) != len(l2): return False for i,_ in enumerate(l1): if l1[i] != l2...
27.326531
78
0.534727
200
1,339
3.355
0.295
0.174367
0.268256
0.19076
0.414307
0.23696
0.128167
0.035768
0.035768
0.035768
0
0.058196
0.230022
1,339
48
79
27.895833
0.592629
0
0
0.04878
0
0.02439
0.103216
0.035153
0
0
0
0
0.365854
1
0.073171
false
0
0.073171
0
0.219512
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
676f702536da0484a4b6cf00d7910fa8442b94cd
517
py
Python
app/query/migrations/0005_auto_20180612_1316.py
scanner-research/esper-tv
179ef57d536ebd52f93697aab09bf5abec19ce93
[ "Apache-2.0" ]
5
2019-04-17T01:01:46.000Z
2021-07-11T01:32:50.000Z
app/query/migrations/0005_auto_20180612_1316.py
scanner-research/esper-tv
179ef57d536ebd52f93697aab09bf5abec19ce93
[ "Apache-2.0" ]
4
2019-11-12T08:35:03.000Z
2021-06-10T20:37:04.000Z
app/query/migrations/0005_auto_20180612_1316.py
scanner-research/esper-tv
179ef57d536ebd52f93697aab09bf5abec19ce93
[ "Apache-2.0" ]
1
2020-09-01T01:15:44.000Z
2020-09-01T01:15:44.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-12 13:16 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('query', '0004_auto_20180612_1255'), ] operations = [ migrations.RemoveField( ...
21.541667
46
0.599613
52
517
5.711538
0.730769
0.141414
0.175084
0.20202
0.329966
0.329966
0.329966
0
0
0
0
0.087193
0.290135
517
23
47
22.478261
0.722071
0.12766
0
0.375
1
0
0.171875
0.051339
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6770937cd4894bd6f246d1748ca0ffcbf9815e38
651
py
Python
grpc-backend.py
ccieliu/servicemesh
d5bcec0c073408f8462739c449d809192a9e4301
[ "Apache-2.0" ]
null
null
null
grpc-backend.py
ccieliu/servicemesh
d5bcec0c073408f8462739c449d809192a9e4301
[ "Apache-2.0" ]
null
null
null
grpc-backend.py
ccieliu/servicemesh
d5bcec0c073408f8462739c449d809192a9e4301
[ "Apache-2.0" ]
null
null
null
from concurrent import futures import logging import grpc import helloworld_pb2 import helloworld_pb2_grpc import socket,os class Greeter(helloworld_pb2_grpc.GreeterServicer): def SayHello(self, request, context): return helloworld_pb2.HelloReply(message='%s,%s' % (socket.gethostname(),os.environ['APP_...
24.111111
108
0.751152
78
651
5.948718
0.576923
0.140086
0.109914
0
0
0
0
0
0
0
0
0.021314
0.135177
651
26
109
25.038462
0.802842
0
0
0
0
0
0.052227
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.055556
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
67723cae02fd227300c45a76e858273c9a6c4f43
442
py
Python
plot_pointcloud.py
smfirmin/DeepLearningFinalProject
03c125f2e64bdad2282ff799b8a6ce4e75427362
[ "MIT" ]
null
null
null
plot_pointcloud.py
smfirmin/DeepLearningFinalProject
03c125f2e64bdad2282ff799b8a6ce4e75427362
[ "MIT" ]
1
2021-12-11T23:32:56.000Z
2021-12-11T23:32:56.000Z
plot_pointcloud.py
smfirmin/DeepLearningFinalProject
03c125f2e64bdad2282ff799b8a6ce4e75427362
[ "MIT" ]
1
2021-11-28T04:23:07.000Z
2021-11-28T04:23:07.000Z
# from __future__ import print_function import os import os.path import numpy as np from plyfile import PlyData import argparse import matplotlib.pyplot as plt import numpy as np import open3d as o3d def main(): cloud = o3d.io.read_point_cloud("./ModelNet40/airplane/test/airplane_0627.ply") # Read the point clo...
22.1
106
0.755656
64
442
4.953125
0.5625
0.094637
0.082019
0.094637
0
0
0
0
0
0
0
0.027174
0.167421
442
19
107
23.263158
0.834239
0.190045
0
0.153846
0
0
0.148997
0.126075
0
0
0
0
0
1
0.076923
false
0
0.615385
0
0.692308
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
6773887fd8858e414598aee1377b2362883ce7e4
303
py
Python
2_Sorting_and_Order_Statistics/Counting_Sort.py
ashwek/python
92504ee36fafee3fb54f0d291f85b420b34e5c45
[ "MIT" ]
3
2019-07-22T05:43:45.000Z
2019-08-06T15:04:28.000Z
2_Sorting_and_Order_Statistics/Counting_Sort.py
ashwek/python
92504ee36fafee3fb54f0d291f85b420b34e5c45
[ "MIT" ]
1
2018-10-14T16:32:06.000Z
2018-10-14T16:34:31.000Z
2_Sorting_and_Order_Statistics/Counting_Sort.py
ashwek/Python
92504ee36fafee3fb54f0d291f85b420b34e5c45
[ "MIT" ]
1
2019-10-18T21:37:12.000Z
2019-10-18T21:37:12.000Z
def Counting_Sort(A, k=-1): if(k==-1): k=max(A) C = [0 for x in range(k+1)] for x in A: C[x]+=1 for x in range(1, k+1):C[x]+=C[x-1] B = [0 for x in range(len(A))] for i in range(len(A)-1, -1, -1): x = A[i] B[C[x]-1] = x C[x]-=1 return B A = [13,20,18,20,12,15,7] print(Counting_Sort(A))
20.2
36
0.521452
81
303
1.925926
0.308642
0.064103
0.153846
0.211538
0.153846
0
0
0
0
0
0
0.112971
0.211221
303
14
37
21.642857
0.539749
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6775158fcbc23f3f6bb7e473f77cf5f807d249fd
773
py
Python
src/parser/ContentRenderer.py
purplecode/espresso
12fc017e6cefeabd26d18b71f14e54cb89974cbe
[ "MIT" ]
null
null
null
src/parser/ContentRenderer.py
purplecode/espresso
12fc017e6cefeabd26d18b71f14e54cb89974cbe
[ "MIT" ]
null
null
null
src/parser/ContentRenderer.py
purplecode/espresso
12fc017e6cefeabd26d18b71f14e54cb89974cbe
[ "MIT" ]
null
null
null
from jinja2 import Template as JinjaTemplate class ContentRenderer(object): def __init__(self): self.providers = [] def addProvider(self, provider): self.providers.append(provider) def render(self, paragraph, templateContent, templateData): template = JinjaTemplate(templateContent) ...
33.608696
87
0.733506
76
773
7.302632
0.407895
0.07027
0.09009
0
0
0
0
0
0
0
0
0.001572
0.177232
773
22
88
35.136364
0.871069
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.0625
0.5625
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
678acb1afd336b0b29f5e63484234e0ef988ef37
454
py
Python
Python/get_hash_password.py
alex-eri/specialistoff.net
19b85b02d040921369bf6eebf471907d67f78992
[ "MIT" ]
1
2021-09-22T03:15:50.000Z
2021-09-22T03:15:50.000Z
Python/get_hash_password.py
alex-eri/specialistoff.net
19b85b02d040921369bf6eebf471907d67f78992
[ "MIT" ]
null
null
null
Python/get_hash_password.py
alex-eri/specialistoff.net
19b85b02d040921369bf6eebf471907d67f78992
[ "MIT" ]
1
2021-09-22T03:15:50.000Z
2021-09-22T03:15:50.000Z
##!/usr/bin/env python2 # -*- coding: UTF-8 -*- import base64 import uuid import hashlib def get_hash_password(password, salt = None): """ Получить хеш пароля SHA-512 """ if salt == None: salt = uuid.uuid4().hex text = password.encode('utf-8') + salt.encode('utf-8') h = hashlib.sha512(...
21.619048
58
0.638767
62
454
4.580645
0.548387
0.042254
0.158451
0.242958
0.306338
0
0
0
0
0
0
0.035519
0.193833
454
20
59
22.7
0.740437
0.156388
0
0
0
0
0.082192
0
0
0
0
0
0
1
0.083333
false
0.333333
0.25
0
0.416667
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
6796cb77ef4370af265ada4e6ba8966f501a7cd4
1,126
py
Python
special/models.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
special/models.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
8
2020-03-24T17:11:49.000Z
2022-01-13T01:18:11.000Z
special/models.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. from common.constants import STATUS_PUBLISHED, STATUS_CHOICES from common.models import AbstractPermalink, CommonTrashModel import files_widget class Special(CommonTrashModel, AbstractPermalink): title = models.CharField(max_length=512) image = files_wi...
34.121212
87
0.769982
138
1,126
6.115942
0.384058
0.056872
0.092417
0.120853
0.459716
0.459716
0.459716
0.459716
0.459716
0.459716
0
0.00308
0.134991
1,126
32
88
35.1875
0.86345
0.021314
0
0.315789
0
0
0.019091
0
0
0
0
0
0
1
0.105263
false
0
0.210526
0.105263
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
679b2dd3f3ddffa5aaf559c5e7c0cc511a09f99b
1,277
py
Python
test_basePy/test_time_strftime.py
MinpLemon/studyPython
39ab3b49ccc2fb122827de0b1fab89a53888e6b5
[ "MIT" ]
null
null
null
test_basePy/test_time_strftime.py
MinpLemon/studyPython
39ab3b49ccc2fb122827de0b1fab89a53888e6b5
[ "MIT" ]
1
2021-12-13T20:00:00.000Z
2021-12-13T20:00:00.000Z
test_basePy/test_time_strftime.py
MinpLemon/studyPython
39ab3b49ccc2fb122827de0b1fab89a53888e6b5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019-05-23 13:42 # @Author : minp # @contact : king101125s@gmail.com # @Site : # @File : test_time_strftime.py # @Software: PyCharm import unittest import time class Test(unittest.TestCase): """ python中时间日期格式化符号: %y 两位数的年份表示(00-99) ...
22.403509
79
0.541895
170
1,277
3.988235
0.623529
0.053097
0.032448
0
0
0
0
0
0
0
0
0.101022
0.310102
1,277
57
80
22.403509
0.668558
0.587314
0
0
0
0
0.075061
0
0
0
0
0.017544
0
1
0.230769
false
0
0.153846
0
0.461538
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
67bda31053ef65e4976dcbd6b6dd4d87a1324063
1,490
py
Python
contentcuration/contentcuration/migrations/0051_auto_20170126_1012.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
1
2019-03-30T18:14:25.000Z
2019-03-30T18:14:25.000Z
contentcuration/contentcuration/migrations/0051_auto_20170126_1012.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-05-06T17:19:30.000Z
2019-03-15T01:51:24.000Z
contentcuration/contentcuration/migrations/0051_auto_20170126_1012.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-10-18T22:49:08.000Z
2019-09-17T11:20:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-01-26 18:12 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('contentcuration', '0050_auto_20170125_1018'), ] ope...
31.702128
157
0.600671
153
1,490
5.679739
0.444444
0.06214
0.143844
0.166858
0.357883
0.24626
0.103567
0
0
0
0
0.035448
0.280537
1,490
46
158
32.391304
0.775187
0.044966
0
0.384615
1
0
0.117606
0.033099
0
0
0
0
0
1
0
false
0
0.076923
0
0.153846
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
67c9f6d850adfb32566c3e9bfa09eb99acd63315
117
py
Python
examples/citcom_features/features_from_json.py
jcbpyle/FLAMEGPU2_example_template
5f5567611f13ee448f506cbd1813836112b07715
[ "MIT" ]
null
null
null
examples/citcom_features/features_from_json.py
jcbpyle/FLAMEGPU2_example_template
5f5567611f13ee448f506cbd1813836112b07715
[ "MIT" ]
null
null
null
examples/citcom_features/features_from_json.py
jcbpyle/FLAMEGPU2_example_template
5f5567611f13ee448f506cbd1813836112b07715
[ "MIT" ]
null
null
null
import json with open('temp_inputs_and_outputs.txt') as inputs: data = json.load(inputs) for d in data: print(d)
19.5
51
0.735043
21
117
3.952381
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.153846
117
6
52
19.5
0.838384
0
0
0
0
0
0.228814
0.228814
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
67d6bfb5527895e0d76540eb84605e5a7391a799
314
py
Python
run.py
CiscoSE/nx-to-aci
7d9c1905c39eccf07cf8042472c1e53c687c84a3
[ "Apache-2.0" ]
1
2020-02-16T05:58:34.000Z
2020-02-16T05:58:34.000Z
run.py
CiscoSE/nx-to-aci
7d9c1905c39eccf07cf8042472c1e53c687c84a3
[ "Apache-2.0" ]
null
null
null
run.py
CiscoSE/nx-to-aci
7d9c1905c39eccf07cf8042472c1e53c687c84a3
[ "Apache-2.0" ]
2
2020-02-16T05:58:35.000Z
2020-10-02T16:20:16.000Z
from app import app # If you need to make the application visible outside, change the # ip address to your own ip. You can also change the port that # the application will be listening. context = ('NCACert.pem', 'NCAKey.pem') app.run(host='127.0.0.1', debug=True, port=5007, ssl_context=context, threaded=True)
31.4
84
0.742038
54
314
4.296296
0.703704
0.12069
0
0
0
0
0
0
0
0
0
0.037594
0.152866
314
9
85
34.888889
0.834586
0.506369
0
0
0
0
0.198676
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
67dc0ecd7fd74e37c2463977294ac367728cf96d
335
py
Python
collect_data/news_loader/items.py
SpotlessRadiance/NewsTopics
c1da7445537ae941ffb88ef8aa496ebb5702adcf
[ "MIT" ]
null
null
null
collect_data/news_loader/items.py
SpotlessRadiance/NewsTopics
c1da7445537ae941ffb88ef8aa496ebb5702adcf
[ "MIT" ]
null
null
null
collect_data/news_loader/items.py
SpotlessRadiance/NewsTopics
c1da7445537ae941ffb88ef8aa496ebb5702adcf
[ "MIT" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy from itemloaders.processors import TakeFirst, MapCompose, Join import re class NewsLoaderItem(scrapy.Item): theme = scrapy.Field() title = scrapy.Field() text = s...
19.705882
62
0.737313
44
335
5.613636
0.772727
0.133603
0
0
0
0
0
0
0
0
0
0
0.161194
335
16
63
20.9375
0.879004
0.355224
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
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
67e9264e7546c5c2cd4ee67930c40a68df874fe4
3,550
py
Python
cinp_utils/codegen_python.py
cinp/utils
2225eccd2e6ffc558a608390711c15da0c06fc25
[ "Apache-2.0" ]
null
null
null
cinp_utils/codegen_python.py
cinp/utils
2225eccd2e6ffc558a608390711c15da0c06fc25
[ "Apache-2.0" ]
null
null
null
cinp_utils/codegen_python.py
cinp/utils
2225eccd2e6ffc558a608390711c15da0c06fc25
[ "Apache-2.0" ]
2
2018-02-09T18:50:05.000Z
2018-02-09T18:51:37.000Z
import os from jinja2 import Environment env = Environment() header_template = env.from_string( """# Automatically generated by cinp-codegen from {{url}} at {{timestamp}} from cinp import client class {{service}}( cinp.CInP ): def __init__( self, host, proxy=None ): super().__init__( host, '{{root_path}}', pro...
32.87037
136
0.561127
414
3,550
4.673913
0.248792
0.05168
0.036176
0.057881
0.264599
0.208269
0.195349
0.147287
0.121964
0.121964
0
0.002236
0.244225
3,550
107
137
33.17757
0.718971
0.010704
0
0.261905
1
0.083333
0.658689
0.030484
0
0
0
0.009346
0
1
0.035714
false
0.011905
0.035714
0
0.119048
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
67ea91c5c2544862ed6a68c5d667e1d0390b5dc4
267
py
Python
py_scripts/py_utils.py
Kaizer22/image-analysis-tools-aggregator
4351011ff309e24c58ce518c24b33b22848c370e
[ "MIT" ]
null
null
null
py_scripts/py_utils.py
Kaizer22/image-analysis-tools-aggregator
4351011ff309e24c58ce518c24b33b22848c370e
[ "MIT" ]
null
null
null
py_scripts/py_utils.py
Kaizer22/image-analysis-tools-aggregator
4351011ff309e24c58ce518c24b33b22848c370e
[ "MIT" ]
null
null
null
import uuid import cv2 OUTPUT_IMAGE_FOLDER = "./output/" OUTPUT_FILE_TYPE = ".jpg" def save_image_with_internal_name(img): internal_name = str(uuid.uuid1()) + OUTPUT_FILE_TYPE cv2.imwrite(OUTPUT_IMAGE_FOLDER + internal_name, img) return internal_name
20.538462
57
0.7603
38
267
4.947368
0.5
0.255319
0.180851
0
0
0
0
0
0
0
0
0.013158
0.146067
267
12
58
22.25
0.811404
0
0
0
0
0
0.048689
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
67efc2e0e9b92d1bad76073dfdf4fd6f52987739
1,211
py
Python
stura/settings/production.py
aiventimptner/stura-md.de
66bf49dfa28e17d5d3102d201646d97a62e72a45
[ "BSD-3-Clause" ]
null
null
null
stura/settings/production.py
aiventimptner/stura-md.de
66bf49dfa28e17d5d3102d201646d97a62e72a45
[ "BSD-3-Clause" ]
null
null
null
stura/settings/production.py
aiventimptner/stura-md.de
66bf49dfa28e17d5d3102d201646d97a62e72a45
[ "BSD-3-Clause" ]
null
null
null
import os from urllib.parse import urlparse from .base import * DEBUG = False SECRET_KEY = os.environ['SECRET_KEY'] ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'stura-md.de,www.stura-md.de').split(',') # Application definition MIDDLEWARE += [ 'whitenoise.middleware.WhiteNoiseMiddleware', ] # Database ...
20.183333
89
0.690339
149
1,211
5.402685
0.42953
0.156522
0.232298
0.052174
0
0
0
0
0
0
0
0.008929
0.16763
1,211
59
90
20.525424
0.789683
0.043765
0
0
0
0
0.290546
0.084996
0
0
0
0
0
1
0
false
0.060606
0.090909
0
0.090909
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
67f528121ef66e9f6cccf7c046a36e964755c43d
5,078
py
Python
brulib/library.py
KjellSchubert/bru
dd70b721d07fbd27c57c845cc3a29cd8f2dfc587
[ "MIT" ]
3
2015-01-06T15:22:16.000Z
2015-11-27T18:13:04.000Z
brulib/library.py
KjellSchubert/bru
dd70b721d07fbd27c57c845cc3a29cd8f2dfc587
[ "MIT" ]
7
2015-02-10T15:13:38.000Z
2021-05-30T07:51:13.000Z
brulib/library.py
KjellSchubert/bru
dd70b721d07fbd27c57c845cc3a29cd8f2dfc587
[ "MIT" ]
3
2015-01-29T17:19:53.000Z
2016-01-06T12:50:06.000Z
""" Helpers for accessing files in the ./library dir. This dir has a $module/$version.bru+gyp structure, containing information about how to download tar.gzs for (or hwo to clone) each module, as well as for how to build the module's libs and some of its tests/examples. """ from __future__ import absolute_...
40.951613
93
0.652422
692
5,078
4.580925
0.294798
0.053312
0.030284
0.043533
0.082965
0.021451
0
0
0
0
0
0.009474
0.251674
5,078
123
94
41.284553
0.824737
0.337731
0
0
0
0
0.026032
0
0
0
0
0
0.029412
1
0.235294
false
0
0.117647
0
0.544118
0.014706
0
0
0
null
0
0
0
0
0
0
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
db0c8f97c0ce0feac86d1383f4354144b2e42b23
264
py
Python
supervised/logRegression/predict.py
robotenique/mlAlgorithms
612d7fb2dcf4430528f63d35d6f1d10a33fee1af
[ "Unlicense" ]
4
2017-08-16T21:37:31.000Z
2022-02-10T05:37:39.000Z
supervised/logRegression/predict.py
robotenique/mlAlgorithms
612d7fb2dcf4430528f63d35d6f1d10a33fee1af
[ "Unlicense" ]
null
null
null
supervised/logRegression/predict.py
robotenique/mlAlgorithms
612d7fb2dcf4430528f63d35d6f1d10a33fee1af
[ "Unlicense" ]
null
null
null
import numpy as np from sigmoid import sigmoid def predict(theta, X): """ computes the predictions for X using a threshold at 0.5 (i.e., if sigmoid(theta'*x) >= 0.5, predict 1) """ return np.array([1 if theta.dot(xi) >= 0.5 else 0 for xi in X])
24
67
0.636364
49
264
3.428571
0.612245
0.035714
0
0
0
0
0
0
0
0
0
0.044335
0.231061
264
10
68
26.4
0.783251
0.386364
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
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
1
0
0
1
0
0
0
0
2
db0dde14627dfc235bfef968882656d4ec7e50a6
76,926
py
Python
bangladesh/data.py
Druvo/Bangladesh
d8a0f8d001ed0ff824c6e027cd1d9a17e0130ef3
[ "MIT" ]
3
2021-05-08T18:14:25.000Z
2021-05-09T21:46:32.000Z
bangladesh/data.py
Druvo/Bangladesh
d8a0f8d001ed0ff824c6e027cd1d9a17e0130ef3
[ "MIT" ]
1
2021-05-29T03:38:40.000Z
2021-05-29T03:38:40.000Z
bangladesh/data.py
Druvo/Bangladesh
d8a0f8d001ed0ff824c6e027cd1d9a17e0130ef3
[ "MIT" ]
4
2021-05-09T18:37:34.000Z
2021-12-05T08:24:27.000Z
from __future__ import absolute_import, print_function, unicode_literals divisions_districts = { 'Barisal': ['Pirojpur', 'Barishal', 'Bhola', 'Barguna', 'Patuakhali', 'Jhalokathi'], 'Chittagong': ['Khagrachari', ...
54.71266
76
0.306866
3,790
76,926
6.225858
0.735884
0.000339
0.000381
0.000932
0
0
0
0
0
0
0
0.144209
0.513584
76,926
1,405
77
54.751601
0.486397
0
0
0.002141
0
0
0.311611
0
0
0
0
0
0
1
0
false
0
0.000714
0
0.000714
0.000714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
db1c1aef520e1bf91162ab50970606d39ab47a6e
248
py
Python
server/steem_actions/public.py
olegnatsevsky/donate_now
987adde1b312dc2709dba62e76d1e0173b2ce921
[ "MIT" ]
2
2018-04-22T14:03:36.000Z
2018-11-08T08:54:41.000Z
server/steem_actions/public.py
olegnatsevsky/donate_now
987adde1b312dc2709dba62e76d1e0173b2ce921
[ "MIT" ]
null
null
null
server/steem_actions/public.py
olegnatsevsky/donate_now
987adde1b312dc2709dba62e76d1e0173b2ce921
[ "MIT" ]
4
2018-04-20T19:17:51.000Z
2018-11-13T16:16:14.000Z
from steem.account import Account def get_transfers(user_id): acc = Account(user_id) for c in (gg for gg in acc.get_account_history(-1, 1000, filter_by=['transfer'])): print u'{}: {}->{}'.format(c[u'body'], c[u'author'], c[u'parent_author'])
31
83
0.681452
43
248
3.767442
0.604651
0.037037
0
0
0
0
0
0
0
0
0
0.022936
0.120968
248
7
84
35.428571
0.720183
0
0
0
0
0
0.165992
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
1
0
0
0
0
0
0
0
0
2
db1c9a59a4fdfffea721feedc00d6132f5d3ab05
1,104
py
Python
biobb_adapters/pycompss/biobb_pmx/pmx/mutate_bst_pc.py
jfennick/biobb_adapters
a37c1c696476c93225e7d3c661b0d4393af9dfe1
[ "Apache-2.0" ]
null
null
null
biobb_adapters/pycompss/biobb_pmx/pmx/mutate_bst_pc.py
jfennick/biobb_adapters
a37c1c696476c93225e7d3c661b0d4393af9dfe1
[ "Apache-2.0" ]
4
2019-03-04T15:22:06.000Z
2021-09-24T14:43:48.000Z
biobb_adapters/pycompss/biobb_pmx/pmx/mutate_bst_pc.py
jfennick/biobb_adapters
a37c1c696476c93225e7d3c661b0d4393af9dfe1
[ "Apache-2.0" ]
2
2020-09-08T05:26:23.000Z
2022-03-28T07:09:20.000Z
import traceback from pycompss.api.task import task from pycompss.api.constraint import constraint from pycompss.api.multinode import multinode from pycompss.api.parameter import FILE_IN, FILE_OUT from biobb_common.tools import file_utils as fu from biobb_pmx.pmx import mutate import os import sys # Is constraint dec...
42.461538
198
0.797101
154
1,104
5.38961
0.363636
0.23494
0.160241
0.091566
0.296386
0.296386
0.261446
0.122892
0.122892
0
0
0
0.130435
1,104
25
199
44.16
0.864583
0.066123
0
0.095238
0
0
0.005837
0
0
0
0
0
0
1
0.047619
false
0
0.428571
0
0.47619
0.047619
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
db2b46281888be0baac97747adb7c588b323d480
476
py
Python
meeting/meeting/schema.py
zuhaib26/django-meeting
b583498fba84acea0b1d29bff19f623e4c56a014
[ "MIT" ]
null
null
null
meeting/meeting/schema.py
zuhaib26/django-meeting
b583498fba84acea0b1d29bff19f623e4c56a014
[ "MIT" ]
null
null
null
meeting/meeting/schema.py
zuhaib26/django-meeting
b583498fba84acea0b1d29bff19f623e4c56a014
[ "MIT" ]
null
null
null
import graphene import users.schema import scheduler.schema import graphql_jwt class Query(users.schema.Query, scheduler.schema.Query, graphene.ObjectType): pass class Mutation( users.schema.Mutation, scheduler.schema.Mutation, graphene.ObjectType): token_auth = graphql_jwt.ObtainJSONWebToken.Fie...
28
77
0.777311
57
476
6.368421
0.315789
0.110193
0.082645
0
0
0
0
0
0
0
0
0
0.130252
476
17
78
28
0.876812
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.071429
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
db3439b27a152a74549789bbf9ab8c7225a5b239
763
py
Python
shortlinky/__init__.py
fltfathin/shortlinky
def3387d5a827adb29ab2d1239869e4ddbd1e042
[ "MIT" ]
null
null
null
shortlinky/__init__.py
fltfathin/shortlinky
def3387d5a827adb29ab2d1239869e4ddbd1e042
[ "MIT" ]
null
null
null
shortlinky/__init__.py
fltfathin/shortlinky
def3387d5a827adb29ab2d1239869e4ddbd1e042
[ "MIT" ]
null
null
null
import os from flask import Flask, request, render_template, redirect, g, url_for, make_response import re from .routes import mod import config # TODO: unify config def create_app(test_config=None): # create and configure the app app = Flask(__name__, instance_relative_config=True) app.config.from_mappi...
25.433333
86
0.70249
108
763
4.787037
0.555556
0.077369
0.075435
0.077369
0
0
0
0
0
0
0
0
0.225426
763
29
87
26.310345
0.874788
0.225426
0
0
0
0
0.020513
0
0
0
0
0.034483
0
1
0.055556
false
0.055556
0.277778
0
0.388889
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
e1d97042bb50d631fb1fbdd309a4acdf85e11f3e
1,024
py
Python
tests/accounts/test_fetch_by_key.py
clayman083/pytest-fixture-maker
657488f467d2d6e2ab0cb6f7a2d8b14c73c02a4b
[ "MIT" ]
null
null
null
tests/accounts/test_fetch_by_key.py
clayman083/pytest-fixture-maker
657488f467d2d6e2ab0cb6f7a2d8b14c73c02a4b
[ "MIT" ]
null
null
null
tests/accounts/test_fetch_by_key.py
clayman083/pytest-fixture-maker
657488f467d2d6e2ab0cb6f7a2d8b14c73c02a4b
[ "MIT" ]
null
null
null
from typing import Type import pytest from tests.accounts import Account, AccountNotFound, Storage @pytest.fixture def account_key(request) -> int: """Test account identifier.""" return request.param @pytest.fixture def expected(request) -> Account: """Expected test case result.""" return Account(...
26.25641
98
0.737305
127
1,024
5.834646
0.322835
0.067476
0.064777
0.064777
0.326586
0.188934
0.094467
0
0
0
0
0
0.155273
1,024
38
99
26.947368
0.856647
0.196289
0
0.25
0
0
0
0
0
0
0
0
0.05
1
0.25
false
0
0.15
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e1f69725527fdd0b37c3a4b3f6e017248a6a6dbc
778
py
Python
IMFlask/app/models/redis/__init__.py
iml1111/IMFlask
96af28460365c305e92ca2720fe6b015713c578f
[ "MIT" ]
2
2020-09-07T11:33:41.000Z
2020-09-08T14:47:40.000Z
IMFlask/app/models/redis/__init__.py
iml1111/IMFlask
96af28460365c305e92ca2720fe6b015713c578f
[ "MIT" ]
1
2020-09-07T11:29:00.000Z
2022-03-31T10:01:06.000Z
IMFlask/app/models/redis/__init__.py
iml1111/IMFlask
96af28460365c305e92ca2720fe6b015713c578f
[ "MIT" ]
2
2020-10-06T18:25:46.000Z
2021-09-09T16:00:07.000Z
''' Redis Management Modules and Models ''' from flask import g, current_app from redis import Redis def get_redis_cur(store_g=False): ''' Open DB Cursor Connection Params ------- store_g : if True, store to Flask Global Object g. ''' redis_cur = Redis( host=current_app.config['RE...
18.97561
54
0.623393
107
778
4.261682
0.392523
0.210526
0.085526
0.138158
0
0
0
0
0
0
0
0
0.251928
778
40
55
19.45
0.783505
0.22108
0
0
0
0
0.090744
0
0
0
0
0
0
1
0.166667
false
0.055556
0.111111
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
e1fb0aad3aafd8a2185efad0d95c6d833822b477
107
py
Python
weird_behaviours/board.py
n0npax/python-presentation
1431557e0f2d0f442441addae99edacb4ce50b79
[ "Beerware" ]
null
null
null
weird_behaviours/board.py
n0npax/python-presentation
1431557e0f2d0f442441addae99edacb4ce50b79
[ "Beerware" ]
null
null
null
weird_behaviours/board.py
n0npax/python-presentation
1431557e0f2d0f442441addae99edacb4ce50b79
[ "Beerware" ]
null
null
null
from tabulate import tabulate row = ["o"] * 4 board = [row] * 4 board[1][1] = "x" print(tabulate(board))
13.375
29
0.616822
17
107
3.882353
0.588235
0.181818
0
0
0
0
0
0
0
0
0
0.045977
0.186916
107
7
30
15.285714
0.712644
0
0
0
0
0
0.018692
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
e1fd13a01d013c222ade032eb04737143983c96c
295
py
Python
src/utils/common.py
samruddhijp05/DVC_NLP_Model
6321d4d6d4aed1acb21325a67ac7c302104333d7
[ "MIT" ]
null
null
null
src/utils/common.py
samruddhijp05/DVC_NLP_Model
6321d4d6d4aed1acb21325a67ac7c302104333d7
[ "MIT" ]
null
null
null
src/utils/common.py
samruddhijp05/DVC_NLP_Model
6321d4d6d4aed1acb21325a67ac7c302104333d7
[ "MIT" ]
null
null
null
import os import yaml import logging import time import pandas as pd import json def read_yaml(path_to_yaml: str) -> dict: with open(path_to_yaml) as yaml_file: content = yaml.safe_load(yaml_file) logging.info(f"yaml file: {path_to_yaml} loaded successfully") return content
24.583333
66
0.749153
48
295
4.395833
0.541667
0.085308
0.14218
0
0
0
0
0
0
0
0
0
0.179661
295
12
67
24.583333
0.871901
0
0
0
0
0
0.152027
0
0
0
0
0
0
1
0.090909
false
0
0.545455
0
0.727273
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
c008e6f9ffa83da0e287b72b5e89e8c586f85a3f
485
py
Python
api/settings.py
Amsterdam/fixxx-cspp-mini-crm-api
73af7cff8ca577bc13ce5f47713645b9edd6848a
[ "MIT" ]
1
2021-09-29T12:41:14.000Z
2021-09-29T12:41:14.000Z
api/settings.py
Amsterdam/fixxx-cspp-mini-crm-api
73af7cff8ca577bc13ce5f47713645b9edd6848a
[ "MIT" ]
1
2020-09-23T14:03:28.000Z
2020-09-23T14:03:28.000Z
api/settings.py
Amsterdam/fixxx-cspp-mini-crm-api
73af7cff8ca577bc13ce5f47713645b9edd6848a
[ "MIT" ]
1
2020-10-22T13:50:45.000Z
2020-10-22T13:50:45.000Z
import os from typing import List, Union import json from pydantic import AnyHttpUrl, BaseSettings, validator class Settings(BaseSettings): DATABASE_URL = os.environ.get('DATABASE_URL', "postgresql://postgres:postgres@localhost/postgres") USERS = json.loads(os.environ.get('USERS', '{"demo": "test12345"}')) ...
34.642857
142
0.754639
61
485
5.868852
0.52459
0.075419
0.100559
0.117318
0
0
0
0
0
0
0
0.029885
0.103093
485
13
143
37.307692
0.793103
0
0
0
0
0
0.352577
0.150515
0
0
0
0
0
1
0
false
0
0.444444
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c00af1d6fe02b37f7c3f3e7de1decec0c2e89cfd
385
py
Python
tests/integration/cmor/_fixes/cmip5/test_mri_esm1.py
markelg/ESMValCore
b2f7ffc3232f174dd5ebc50ad20b4a02d3517c2c
[ "Apache-2.0" ]
26
2019-06-07T07:50:07.000Z
2022-03-22T21:04:01.000Z
tests/integration/cmor/_fixes/cmip5/test_mri_esm1.py
markelg/ESMValCore
b2f7ffc3232f174dd5ebc50ad20b4a02d3517c2c
[ "Apache-2.0" ]
1,370
2019-06-06T09:03:07.000Z
2022-03-31T04:37:20.000Z
tests/integration/cmor/_fixes/cmip5/test_mri_esm1.py
zklaus/ESMValCore
5656fb8b546eeb4d750a424de7ed56a237edfabb
[ "Apache-2.0" ]
26
2019-07-03T13:08:48.000Z
2022-03-02T16:08:47.000Z
"""Test MRI-ESM1 fixes.""" import unittest from esmvalcore.cmor.fix import Fix from esmvalcore.cmor._fixes.cmip5.mri_esm1 import Msftmyz class TestMsftmyz(unittest.TestCase): """Test msftmyz fixes.""" def test_get(self): """Test fix get""" self.assertListEqual( Fix.get_fixes('CMIP...
25.666667
66
0.644156
47
385
5.191489
0.446809
0.086066
0.147541
0.139344
0
0
0
0
0
0
0
0.016393
0.207792
385
14
67
27.5
0.783607
0.137662
0
0
0
0
0.075949
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c00b68f7691de8165e6377392f6683fc139d5880
580
py
Python
cutadapt/__init__.py
frederic-mahe/cutadapt
81386f48c5491aeb3d3f97a73c8de2e5d1cdb37c
[ "MIT" ]
1
2018-12-12T10:32:53.000Z
2018-12-12T10:32:53.000Z
cutadapt/__init__.py
kdmurray91/cutadapt
49ae2c161052186caff3c39fc511f3df4dd91aa6
[ "MIT" ]
null
null
null
cutadapt/__init__.py
kdmurray91/cutadapt
49ae2c161052186caff3c39fc511f3df4dd91aa6
[ "MIT" ]
null
null
null
from __future__ import print_function import sys __version__ = '1.7dev' def check_importability(): # pragma: no cover try: import cutadapt._align except ImportError as e: if 'undefined symbol' in str(e): print(""" ERROR: A required extension module could not be imported because it is incompatible with your ...
25.217391
72
0.763793
84
580
5.130952
0.833333
0
0
0
0
0
0
0
0
0
0
0.004158
0.17069
580
22
73
26.363636
0.891892
0.027586
0
0
0
0
0.606762
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.411765
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c00fbf55f122805ce5a8f77986a14f706a9d663d
2,879
py
Python
orb_catching_game/utilities/geometry.py
jrvhulle/orb-catching-game
8a3e9f35ece257dbfe969c19b056332017798517
[ "MIT" ]
null
null
null
orb_catching_game/utilities/geometry.py
jrvhulle/orb-catching-game
8a3e9f35ece257dbfe969c19b056332017798517
[ "MIT" ]
null
null
null
orb_catching_game/utilities/geometry.py
jrvhulle/orb-catching-game
8a3e9f35ece257dbfe969c19b056332017798517
[ "MIT" ]
null
null
null
from typing import Tuple import numpy as np import math class Point2D: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def as_tuple(self): return self.x, self.y def as_int_tuple(self): return int(self.x), int(self.y) def shift(self, x, y): ...
32.715909
118
0.635985
424
2,879
4.056604
0.167453
0.088953
0.08314
0.062791
0.283721
0.213953
0.163953
0.10814
0.10814
0.10814
0
0.012043
0.250087
2,879
87
119
33.091954
0.784623
0.047586
0
0.064516
0
0
0.020811
0
0
0
0
0
0
1
0.274194
false
0
0.048387
0.145161
0.548387
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
c020d8fe676c63eeb3353651c16c66ac661a8ef2
5,649
py
Python
LPES-video/08.01-podstawy/08.01.02-prawa.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/08.01-podstawy/08.01.02-prawa.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/08.01-podstawy/08.01.02-prawa.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
1
2021-07-03T16:43:47.000Z
2021-07-03T16:43:47.000Z
# Copyright (c) 2020-2021 Matematyka dla Ciekawych Świata (http://ciekawi.icm.edu.pl/) # Copyright (c) 2020-2021 Robert Ryszard Paciorek <rrp@opcode.eu.org> # # MIT License # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Soft...
70.6125
235
0.75146
808
5,649
5.25
0.543317
0.020745
0.019802
0.008487
0.033003
0
0
0
0
0
0
0.005557
0.171712
5,649
79
236
71.506329
0.90062
0.21048
0
0.125
0
0.4375
0.869056
0.018932
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c0218cff9ef5358d1f77627e13b84b7671f252b7
2,236
py
Python
parla/comps/sketchers/oblivious.py
rileyjmurray/parla
b1f638cb60913c98c75fd721ca002521344fc3cf
[ "BSD-3-Clause" ]
6
2021-12-07T16:52:26.000Z
2022-03-10T15:35:02.000Z
parla/comps/sketchers/oblivious.py
rileyjmurray/parla
b1f638cb60913c98c75fd721ca002521344fc3cf
[ "BSD-3-Clause" ]
1
2022-01-12T20:30:38.000Z
2022-01-12T23:04:34.000Z
parla/comps/sketchers/oblivious.py
rileyjmurray/parla
b1f638cb60913c98c75fd721ca002521344fc3cf
[ "BSD-3-Clause" ]
2
2021-10-04T05:26:07.000Z
2021-10-14T18:00:33.000Z
""" Data-oblivious sketching methods. Provide an OO interface around existing procedural implementations. Names of implementation classes take the form "SkOp[XY]", where XY = ON: orthonormal XY = GA: Gaussian X = S: sparse (need a sparse matrix data structure) Y = J: sparse J...
26.939759
75
0.668157
305
2,236
4.632787
0.337705
0.046001
0.055202
0.092003
0.297948
0.258316
0.258316
0.150743
0.116773
0.116773
0
0.002338
0.234794
2,236
82
76
27.268293
0.823495
0.40161
0
0.233333
0
0
0
0
0
0
0
0
0
1
0.366667
false
0
0.033333
0.166667
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
c026ee6b01dc27579ab3dfb9b88acc97f0bbd27f
1,480
py
Python
utils/components.py
matthewvanderson/MagicBot
fd17be01e1c19d7632f6b212c8efd46a786cc673
[ "MIT" ]
1
2022-03-20T01:18:43.000Z
2022-03-20T01:18:43.000Z
utils/components.py
matthewvanderson/MagicBot
fd17be01e1c19d7632f6b212c8efd46a786cc673
[ "MIT" ]
16
2022-02-01T06:06:00.000Z
2022-02-01T06:21:40.000Z
utils/components.py
matthewvanderson/MagicBot
fd17be01e1c19d7632f6b212c8efd46a786cc673
[ "MIT" ]
null
null
null
import disnake def create_components(current_page, embeds, print=False): length = len(embeds) if length == 1: return [] if not print: page_buttons = [ disnake.ui.Button(label="", emoji="◀️", style=disnake.ButtonStyle.grey, disabled=(current_page == 0), ...
43.529412
113
0.547297
155
1,480
5.180645
0.264516
0.089664
0.13076
0.174346
0.716065
0.684932
0.684932
0.684932
0.684932
0.684932
0
0.006883
0.312838
1,480
33
114
44.848485
0.772861
0
0
0.413793
0
0
0.069595
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.137931
0.068966
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c027973760fd3ae4366aaf0301f5e20fdcc07031
319
py
Python
Street View housing dataset/util_AB.py
azeembootwala/Deep-Learning-Projects
4748e4f9e2eafb62aff39c018d5f7fcbd0e1cc5c
[ "MIT" ]
null
null
null
Street View housing dataset/util_AB.py
azeembootwala/Deep-Learning-Projects
4748e4f9e2eafb62aff39c018d5f7fcbd0e1cc5c
[ "MIT" ]
null
null
null
Street View housing dataset/util_AB.py
azeembootwala/Deep-Learning-Projects
4748e4f9e2eafb62aff39c018d5f7fcbd0e1cc5c
[ "MIT" ]
null
null
null
from scipy.io import loadmat #Please change the path from where your file can be loaded , the dataset is not in this repository # You can download the dataset from Kaggle def getdata(): train = loadmat("../large_files/train_32x32.mat") test = loadmat("../large_files/test_32x32.mat") return train,test
31.9
99
0.730408
49
319
4.673469
0.673469
0.087336
0.148472
0
0
0
0
0
0
0
0
0.030651
0.181818
319
9
100
35.444444
0.846743
0.435737
0
0
0
0
0.335227
0.335227
0
0
0
0
0
1
0.2
false
0
0.2
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
0
0
1
0
0
2
c02999af5fc5a855aefe6d537c59952356098124
1,892
py
Python
reberbad.py
irhum31/LSTM-Embedded-Reber-Grammar-Detector
538d451a827e69b0f33c90f720150b4edd7e658b
[ "MIT" ]
1
2021-11-01T17:34:55.000Z
2021-11-01T17:34:55.000Z
reberbad.py
irhum/LSTM-Embedded-Reber-Grammar-Detector
538d451a827e69b0f33c90f720150b4edd7e658b
[ "MIT" ]
null
null
null
reberbad.py
irhum/LSTM-Embedded-Reber-Grammar-Detector
538d451a827e69b0f33c90f720150b4edd7e658b
[ "MIT" ]
1
2019-05-31T15:45:42.000Z
2019-05-31T15:45:42.000Z
"""Helper functions that generate a single string looking identical to, but not following Embedded Reber Grammar""" import random # Returns the non-embedded, internal string def reber_prime_bad(): string = "B" luck = random.random() if luck < 0.5: string = reber_phase_a_bad(string) l...
21.258427
79
0.544397
235
1,892
4.27234
0.221277
0.099602
0.159363
0.10757
0.634462
0.555777
0.52988
0.476096
0.350598
0.286853
0
0.01461
0.348837
1,892
89
80
21.258427
0.800325
0.190803
0
0.854839
1
0
0.019079
0
0
0
0
0
0
1
0.064516
false
0
0.016129
0
0.145161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c03b2920fbec99d6205e8ade87773bd176c400b8
20,732
py
Python
Server/serv.py
qxZap/Coliw
1a4a8319c36f1cbc5f8733b0df5ae5587d64d079
[ "MIT" ]
null
null
null
Server/serv.py
qxZap/Coliw
1a4a8319c36f1cbc5f8733b0df5ae5587d64d079
[ "MIT" ]
null
null
null
Server/serv.py
qxZap/Coliw
1a4a8319c36f1cbc5f8733b0df5ae5587d64d079
[ "MIT" ]
null
null
null
import socket import sys from thread import start_new_thread from InstagramAPI import InstagramAPI import subprocess import flickrapi import requests import MySQLdb import urllib2 def getIDbyUsername(uname): target_link="http://instagram.com/"+uname+"/" response=urllib2.urlopen(target_link) pa...
51.572139
181
0.400878
1,754
20,732
4.63626
0.155644
0.049434
0.034432
0.029513
0.531235
0.472946
0.385883
0.353419
0.333374
0.331899
0
0.020926
0.51365
20,732
402
182
51.572139
0.78558
0.039215
0
0.474474
0
0.012012
0.157317
0.011025
0
0
0
0
0
0
null
null
0.039039
0.027027
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c04036c9c0d6f6eb54fed3553561bac647b9577b
2,866
py
Python
backup/storage/common.py
svensp/backup
9ec43bf88e40cd5034d1cdd8312e63ef12a1cc4a
[ "MIT" ]
2
2021-01-20T21:17:32.000Z
2021-08-10T03:52:46.000Z
backup/storage/common.py
svensp/backup
9ec43bf88e40cd5034d1cdd8312e63ef12a1cc4a
[ "MIT" ]
null
null
null
backup/storage/common.py
svensp/backup
9ec43bf88e40cd5034d1cdd8312e63ef12a1cc4a
[ "MIT" ]
1
2020-08-09T18:20:48.000Z
2020-08-09T18:20:48.000Z
class Resort: def __init__(self): self._mysql = False self._postgres = False self._borg = False def name(self, name): self._name = name return self def appendName(self, text): return text+self._name return self def storage(self, storage): ...
26.293578
95
0.609909
289
2,866
5.875433
0.204152
0.056537
0.061249
0.09894
0.342756
0.301531
0.301531
0.195524
0.136631
0
0
0
0.292743
2,866
108
96
26.537037
0.837691
0
0
0.329268
0
0
0.039079
0
0
0
0
0
0
1
0.231707
false
0.060976
0
0.02439
0.402439
0.085366
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
c04140cf7071b13eeba1e17ab1f27b10c1673e80
553
py
Python
rendertools/rorender/migrations/0003_auto_20180706_1528.py
najar1412/rendertools
1295ac1eaa03401d9222f5baf9b7e8945e8e3cdd
[ "MIT" ]
null
null
null
rendertools/rorender/migrations/0003_auto_20180706_1528.py
najar1412/rendertools
1295ac1eaa03401d9222f5baf9b7e8945e8e3cdd
[ "MIT" ]
8
2020-01-04T21:28:15.000Z
2021-09-22T17:46:14.000Z
rendertools/rorender/migrations/0003_auto_20180706_1528.py
najar1412/rendertools
1295ac1eaa03401d9222f5baf9b7e8945e8e3cdd
[ "MIT" ]
null
null
null
# Generated by Django 2.0.7 on 2018-07-06 14:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rorender', '0002_machine_running'), ] operations = [ migrations.AddField( model_name='machine', name='corona_running...
23.041667
52
0.584087
54
553
5.87037
0.62963
0.113565
0.14511
0.170347
0.498423
0.498423
0
0
0
0
0
0.049351
0.303797
553
23
53
24.043478
0.774026
0.081374
0
0.470588
1
0
0.134387
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c0528e8c72c90da76f85635e3a3e0f3bf1d6f476
9,903
py
Python
tests/test_activity_recognition_metrics.py
darpa-sail-on/sail-on-client
1fd7c0ec359469040fd7af0c8e56fe53277d4a27
[ "Apache-2.0" ]
1
2021-04-12T17:20:54.000Z
2021-04-12T17:20:54.000Z
tests/test_activity_recognition_metrics.py
darpa-sail-on/sail-on-client
1fd7c0ec359469040fd7af0c8e56fe53277d4a27
[ "Apache-2.0" ]
92
2021-03-08T22:32:15.000Z
2022-03-25T03:53:01.000Z
tests/test_activity_recognition_metrics.py
darpa-sail-on/sail-on-client
1fd7c0ec359469040fd7af0c8e56fe53277d4a27
[ "Apache-2.0" ]
null
null
null
"""Tests for activity recognition metric class.""" from sail_on_client.evaluate.activity_recognition import ActivityRecognitionMetrics import os import pandas as pd import pytest @pytest.fixture(scope="function") def arm_metrics(): """Fixture for generated activity recognition metrics.""" gt_config = list(r...
33.231544
101
0.730688
1,288
9,903
5.255435
0.097826
0.076821
0.043877
0.024819
0.800709
0.710001
0.631851
0.590782
0.533905
0.502438
0
0.011175
0.195799
9,903
297
102
33.343434
0.838774
0.39695
0
0.401575
0
0
0.079226
0.039065
0
0
0
0
0.086614
1
0.125984
false
0
0.031496
0
0.188976
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c0533c8f244a963ab2f33b5724b23915b603ee20
5,293
py
Python
tencentcloud/asr/v20190614/errorcodes.py
PlasticMem/tencentcloud-sdk-python
666db85623d51d640a165907a19aef5fba53b38d
[ "Apache-2.0" ]
465
2018-04-27T09:54:59.000Z
2022-03-29T02:18:01.000Z
tencentcloud/asr/v20190614/errorcodes.py
PlasticMem/tencentcloud-sdk-python
666db85623d51d640a165907a19aef5fba53b38d
[ "Apache-2.0" ]
91
2018-04-27T09:48:11.000Z
2022-03-12T08:04:04.000Z
tencentcloud/asr/v20190614/errorcodes.py
PlasticMem/tencentcloud-sdk-python
666db85623d51d640a165907a19aef5fba53b38d
[ "Apache-2.0" ]
232
2018-05-02T08:02:46.000Z
2022-03-30T08:02:48.000Z
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
28.766304
101
0.843378
366
5,293
12.068306
0.497268
0.013584
0.005886
0.007245
0
0
0
0
0
0
0
0.003096
0.08464
5,293
183
102
28.923497
0.908566
0.230304
0
0
0
0
0.442168
0.412191
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c056b10dcf3fbd8fab22f3c5cb74398ec7b5fcbf
2,058
py
Python
setup.py
SarathkumarJ/snapboard
e19edd0e4bb53b3b8cce6b245cf12413e811852e
[ "BSD-3-Clause" ]
null
null
null
setup.py
SarathkumarJ/snapboard
e19edd0e4bb53b3b8cce6b245cf12413e811852e
[ "BSD-3-Clause" ]
null
null
null
setup.py
SarathkumarJ/snapboard
e19edd0e4bb53b3b8cce6b245cf12413e811852e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python from distutils.core import setup setup( name='snapboard', version='0.2.1', author='Bo Shi', maintainer='SNAPboard developers', maintainer_email='snapboard-discuss@googlegroups.com', url='http://code.google.com/p/snapboard/', description='Bulletin board application for Djang...
35.482759
94
0.654519
231
2,058
5.813853
0.709957
0.011169
0.035741
0
0
0
0
0
0
0
0
0.006989
0.23518
2,058
57
95
36.105263
0.846252
0.020894
0
0
0
0
0.761053
0.055142
0
0
0
0
0
1
0
true
0
0.019608
0
0.019608
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
fbfc121251731c0fc307302d4c646f35629b3f89
1,577
py
Python
stubs/micropython-v1_18-docstubs/errno.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
stubs/micropython-v1_18-docstubs/errno.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
stubs/micropython-v1_18-docstubs/errno.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
""" system error codes. See: https://docs.micropython.org/en/v1.18/library/errno.html |see_cpython_module| :mod:`python:errno` https://docs.python.org/3/library/errno.html . This module provides access to symbolic error codes for `OSError` exception. A particular inventory of codes depends on :term:`MicroPython port`...
37.547619
87
0.653773
210
1,577
4.885714
0.414286
0.068226
0.040936
0.052632
0.576023
0.576023
0.54386
0.54386
0.54386
0.54386
0
0.005785
0.23272
1,577
41
88
38.463415
0.842149
0.915663
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
220092cd17887fd6957ea64eb3dde4748ffe5282
1,217
py
Python
WMIAdventure/backend/WMIAdventure_backend/cards/migrations/0004_auto_20210507_1008.py
Michael-Czekanski/WMIAdventure-1
ea812b13de0cd6c47c541cbede2d016a7837b4b8
[ "Apache-2.0" ]
2
2021-05-26T15:12:33.000Z
2021-12-09T17:17:19.000Z
WMIAdventure/backend/WMIAdventure_backend/cards/migrations/0004_auto_20210507_1008.py
Michael-Czekanski/WMIAdventure-1
ea812b13de0cd6c47c541cbede2d016a7837b4b8
[ "Apache-2.0" ]
558
2021-05-27T05:41:23.000Z
2022-02-27T21:50:54.000Z
WMIAdventure/backend/WMIAdventure_backend/cards/migrations/0004_auto_20210507_1008.py
Michael-Czekanski/WMIAdventure-1
ea812b13de0cd6c47c541cbede2d016a7837b4b8
[ "Apache-2.0" ]
4
2021-05-26T15:09:29.000Z
2022-03-13T15:28:07.000Z
# Generated by Django 3.2 on 2021-05-07 08:08 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cards', '0003_cardleveleffects'), ] operations = [ migrations.AlterField( model_name='card', ...
34.771429
154
0.64092
116
1,217
6.655172
0.413793
0.090674
0.181347
0.150259
0.59715
0.59715
0.507772
0.507772
0.507772
0.507772
0
0.034557
0.239113
1,217
34
155
35.794118
0.799136
0.035333
0
0.428571
1
0
0.084471
0.017918
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2