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
15f3b785cb9961fa87557827d4473398f7509cf4
3,662
py
Python
msc_CollectData.py
waldu/AdPExT
99238119d170ead8cfc0fe5a5ff163d1fc0e9dbb
[ "MIT" ]
null
null
null
msc_CollectData.py
waldu/AdPExT
99238119d170ead8cfc0fe5a5ff163d1fc0e9dbb
[ "MIT" ]
null
null
null
msc_CollectData.py
waldu/AdPExT
99238119d170ead8cfc0fe5a5ff163d1fc0e9dbb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on: Sun May 21 05:09:40 2017 Author: Waldu Woensdregt Description: Code uses OpenWPM package to extract HTTPS responses from selected set of URLs (defined in GetListOfSiteURLsToExtract) and then splits the resulting data into individual ...
43.082353
118
0.66521
488
3,662
4.852459
0.42623
0.070946
0.120777
0.093328
0.271537
0.158361
0.092061
0.076858
0.048142
0.048142
0
0.020799
0.172856
3,662
84
119
43.595238
0.760977
0.201529
0
0
0
0.1
0.42886
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.1
0
0
0
null
0
0
0
0
0
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
15f3e6d11f8953cc11ced404d841621499083f56
2,545
py
Python
utils/generateLocation.py
mie-lab/change-detection
53f44d1e39405ab56be4e24da9e40cca31af8908
[ "MIT" ]
null
null
null
utils/generateLocation.py
mie-lab/change-detection
53f44d1e39405ab56be4e24da9e40cca31af8908
[ "MIT" ]
null
null
null
utils/generateLocation.py
mie-lab/change-detection
53f44d1e39405ab56be4e24da9e40cca31af8908
[ "MIT" ]
null
null
null
import pandas as pd import datetime import geopandas as gpd import os from tqdm import tqdm from shapely import wkt from config import config import trackintel as ti def generate_Location(df, epsilon, user): """Cluster staypoints to locations, with different parameters and distinguish 'user' and 'dataset'""" ...
35.84507
111
0.667191
362
2,545
4.497238
0.303867
0.061425
0.051597
0.031941
0.374693
0.300983
0.242015
0.242015
0.176904
0.176904
0
0.007501
0.161886
2,545
70
112
36.357143
0.755743
0.291552
0
0
1
0
0.196859
0.035895
0
0
0
0
0
1
0.026316
false
0
0.210526
0
0.236842
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15f8928949b14c3be24585b15f6516fd3a9db474
7,226
py
Python
tests/listings/test_views.py
meghabhoj/NEWBAZAAR
cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/listings/test_views.py
meghabhoj/NEWBAZAAR
cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/listings/test_views.py
meghabhoj/NEWBAZAAR
cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from __future__ import absolute_import from __future__ import unicode_literals from django.contrib.auth import get_user_model from django.core.urlresolvers import reverse from django.test import TestCase from django.utils.translation import ugettext as _ from bazaar.listings.models import Listing from rest_framework...
44.604938
119
0.691392
914
7,226
5.343545
0.16302
0.04095
0.053235
0.037674
0.674038
0.66769
0.652539
0.613432
0.605651
0.518018
0
0.00789
0.193191
7,226
161
120
44.881988
0.829846
0.130778
0
0.430108
0
0
0.12256
0.056897
0
0
0
0
0.225806
1
0.129032
false
0.096774
0.107527
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
15fc22916a07202affa161b6e886fa7702bd9a42
2,468
py
Python
2020/05/05.py
nhtsai/advent-of-code
d79ec16eb9014acc766805e9d922168aaa2809de
[ "MIT" ]
null
null
null
2020/05/05.py
nhtsai/advent-of-code
d79ec16eb9014acc766805e9d922168aaa2809de
[ "MIT" ]
null
null
null
2020/05/05.py
nhtsai/advent-of-code
d79ec16eb9014acc766805e9d922168aaa2809de
[ "MIT" ]
null
null
null
NUM_ROWS = 128 NUM_COLS = 8 """ Cool solution: https://github.com/tymofij/advent-of-code-2020/blob/master/05/seats.py Cool solution using str.translate: def seat_id(s, t=str.maketrans("FBLR", "0101")): return int(s.translate(t), 2) def max_seat_id(boarding_passes): return max(map(seat_id,...
25.443299
90
0.47812
402
2,468
2.708955
0.20398
0.027548
0.022039
0.022039
0.453627
0.400367
0.350781
0.350781
0.350781
0.350781
0
0.039216
0.400729
2,468
96
91
25.708333
0.697093
0.083874
0
0.730159
0
0
0.022472
0
0
0
0
0
0.063492
1
0.031746
false
0
0
0
0.095238
0.031746
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15ff677f5997837a0bb374dc2d35fd4c8a6040d2
301
py
Python
Curso de Python Completo e Proficional/Aulas/Aula 28 - Operadores de identidade Python.py
MauriSdL/Programs-in-Python
79e35bc9488fdd377f161b0faf573b2df765fdb3
[ "MIT" ]
null
null
null
Curso de Python Completo e Proficional/Aulas/Aula 28 - Operadores de identidade Python.py
MauriSdL/Programs-in-Python
79e35bc9488fdd377f161b0faf573b2df765fdb3
[ "MIT" ]
null
null
null
Curso de Python Completo e Proficional/Aulas/Aula 28 - Operadores de identidade Python.py
MauriSdL/Programs-in-Python
79e35bc9488fdd377f161b0faf573b2df765fdb3
[ "MIT" ]
null
null
null
# Operadores de identidade # serve para compara objetos não somente se eles sao iguais , mas sim se estao no mesmo local de memoria(na mesma variavel) x = ["apple", "banana"] y = ["apple", "banana"] z = x print(x is z) print(x is y) print(x == y) print(x is not z) print(x is not y) print(x != y)
20.066667
123
0.667774
57
301
3.526316
0.54386
0.179104
0.159204
0.089552
0
0
0
0
0
0
0
0
0.20598
301
15
124
20.066667
0.841004
0.48505
0
0
0
0
0.144737
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
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
c6093977665e22ed8590c36fa4cf3dd81037f912
4,721
py
Python
second_childwin.py
liwy27/similation_experiment_qt
20c0b7e9f2777fb828bf5b596985121ef517823a
[ "MIT" ]
null
null
null
second_childwin.py
liwy27/similation_experiment_qt
20c0b7e9f2777fb828bf5b596985121ef517823a
[ "MIT" ]
null
null
null
second_childwin.py
liwy27/similation_experiment_qt
20c0b7e9f2777fb828bf5b596985121ef517823a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'second_childwin.ui' # # Created by: PyQt5 UI code generator 5.15.0 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 i...
42.918182
76
0.644779
580
4,721
5.089655
0.210345
0.050813
0.039634
0.067073
0.365515
0.326897
0.199187
0.199187
0.155827
0.155827
0
0.064266
0.235332
4,721
109
77
43.311927
0.753463
0.059309
0
0.263158
1
0
0.055504
0
0
0
0
0
0
1
0.021053
false
0
0.010526
0
0.042105
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
c60b950c7ec0457cb6e2c5b50e37bb91e2cf7ca7
2,327
py
Python
tests/test_zad02.py
TestowanieAutomatyczneUG/laboratorium-12-SzymonWilczewski
18f0a6c8f5f4c304ef1497907edeb53a470dcf58
[ "MIT" ]
null
null
null
tests/test_zad02.py
TestowanieAutomatyczneUG/laboratorium-12-SzymonWilczewski
18f0a6c8f5f4c304ef1497907edeb53a470dcf58
[ "MIT" ]
null
null
null
tests/test_zad02.py
TestowanieAutomatyczneUG/laboratorium-12-SzymonWilczewski
18f0a6c8f5f4c304ef1497907edeb53a470dcf58
[ "MIT" ]
null
null
null
import unittest from unittest.mock import * from src.zad02.main import Subscriber class SubscriberTest(unittest.TestCase): def setUp(self): self.subscriber = Subscriber() def test_add_client(self): self.subscriber.add_client = MagicMock(return_value=["Andrzej"]) self.assertEqual(["An...
45.627451
119
0.72067
285
2,327
5.652632
0.175439
0.165115
0.111732
0.094351
0.734947
0.646183
0.524519
0.507759
0.431409
0.290503
0
0.002076
0.171895
2,327
50
120
46.54
0.833939
0
0
0.052632
0
0
0.150838
0
0
0
0
0
0.210526
1
0.263158
false
0
0.078947
0
0.368421
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
c60efea748edd359a502e1515888c7b36fe55c0f
1,397
py
Python
Util/Validation.py
SkyfallenHQ/CoProvider-Daemon
57cc2eb44f21c053db39313840c23c754a0143be
[ "MIT" ]
1
2021-03-01T07:43:32.000Z
2021-03-01T07:43:32.000Z
Util/Validation.py
SkyfallenHQ/CoProvider-Daemon
57cc2eb44f21c053db39313840c23c754a0143be
[ "MIT" ]
null
null
null
Util/Validation.py
SkyfallenHQ/CoProvider-Daemon
57cc2eb44f21c053db39313840c23c754a0143be
[ "MIT" ]
null
null
null
# ____ _ __ _ _ # # / ___|| | ___ _ / _| __ _| | | ___ _ __ # # \___ \| |/ / | | | |_ / _` | | |/ _ \ '_ \ # # ___) | <| |_| | _| (_| | | | __/ | | |# # |____/|_|\_\\__, |_| \__,_|_|_|\___|_| |_|# # |___/ ######### # ____ ____ ...
45.064516
76
0.286328
44
1,397
5.977273
0.840909
0
0
0
0
0
0
0
0
0
0
0.005263
0.455977
1,397
31
77
45.064516
0.340789
0.656407
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
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
c61623b37bddc297ff4efcaa0c5fed293a59e6f0
12,000
py
Python
model/tests.py
nosnhojn/poser
9585459377392b2662dcc63174d465ba5a7581f4
[ "BSD-3-Clause" ]
1
2016-05-11T18:37:56.000Z
2016-05-11T18:37:56.000Z
model/tests.py
nosnhojn/poser
9585459377392b2662dcc63174d465ba5a7581f4
[ "BSD-3-Clause" ]
null
null
null
model/tests.py
nosnhojn/poser
9585459377392b2662dcc63174d465ba5a7581f4
[ "BSD-3-Clause" ]
null
null
null
import unittest from model import Cell, Module, OutputType, CellType, Mux import random class CellTests (unittest.TestCase): def setUp(self): self.c = Cell() def tearDown(self): pass def testAsyncOutputFalseWhenBothInputsFalse(self): self.c.driveInputs([False, False]) self.assertFalse(self.c....
28.985507
91
0.694833
1,408
12,000
5.914773
0.102273
0.060639
0.079851
0.064842
0.68696
0.633525
0.56256
0.479107
0.435759
0.329251
0
0.025248
0.158333
12,000
413
92
29.05569
0.799307
0
0
0.546667
0
0
0.000667
0
0
0
0
0
0.233333
0
null
null
0.01
0.01
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
c6170afc30e453f2a312a63f60a55b9794498ce1
4,197
py
Python
tests/components/smarttub/test_config_flow.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/smarttub/test_config_flow.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
tests/components/smarttub/test_config_flow.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Test the smarttub config flow.""" from unittest.mock import patch from smarttub import LoginFailed from homeassistant import config_entries, data_entry_flow from homeassistant.components.smarttub.const import DOMAIN from homeassistant.const import CONF_EMAIL, CONF_PASSWORD from tests.common import MockConfigEntry...
33.309524
111
0.672147
506
4,197
5.310277
0.193676
0.066989
0.043543
0.062523
0.580945
0.534053
0.534053
0.439524
0.411611
0.377373
0
0.006352
0.212295
4,197
125
112
33.576
0.806413
0.026686
0
0.351064
0
0
0.141899
0.013158
0
0
0
0
0.191489
1
0
false
0.106383
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c61e8d5ec314a4c9be9e075977a63d201f07a9d2
502
py
Python
chapter2/code/concurrency/threadPoolConcurrency.py
abbbhucho/Mastering-Python-for-Networking-and-Security
f4fb1131253e9daad8da501c297758fdcedfbac3
[ "MIT" ]
98
2018-05-13T20:41:43.000Z
2022-03-31T00:24:01.000Z
chapter2/code/concurrency/threadPoolConcurrency.py
Cyb3rid10ts/Mastering-Python-for-Networking-and-Security
4cf04d1758f17ae378b5e3422404e5b7a174a243
[ "MIT" ]
null
null
null
chapter2/code/concurrency/threadPoolConcurrency.py
Cyb3rid10ts/Mastering-Python-for-Networking-and-Security
4cf04d1758f17ae378b5e3422404e5b7a174a243
[ "MIT" ]
62
2018-06-19T13:46:34.000Z
2022-02-11T05:47:24.000Z
#python 3 from concurrent.futures import ThreadPoolExecutor import threading import random def view_thread(): print("Executing Thread") print("Accesing thread : {}".format(threading.get_ident())) print("Thread Executed {}".format(threading.current_thread())) def main(): executor = ThreadPoolExecutor(m...
27.888889
66
0.731076
57
502
6.175439
0.508772
0.113636
0.153409
0.204545
0.176136
0
0
0
0
0
0
0.01171
0.149402
502
18
67
27.888889
0.812646
0.015936
0
0.142857
0
0
0.125506
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.357143
0.214286
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
c62d9b91a6c0cb24173d60044e7948da3e09c288
4,135
py
Python
bright/tests/test_bright.py
bright-dev/bright
af3ff83d37880787443b1a8e785f375142d42882
[ "WTFPL" ]
3
2016-05-08T06:13:10.000Z
2019-02-14T10:01:22.000Z
bright/tests/test_bright.py
bright-dev/bright
af3ff83d37880787443b1a8e785f375142d42882
[ "WTFPL" ]
null
null
null
bright/tests/test_bright.py
bright-dev/bright
af3ff83d37880787443b1a8e785f375142d42882
[ "WTFPL" ]
null
null
null
"""Bright general tests""" from unittest import TestCase import nose from nose.tools import assert_equal, assert_not_equal, assert_raises, raises, \ assert_almost_equal, assert_true, assert_false, with_setup import os import warnings import tables as tb import numpy as np from pyne import nucname import bright...
28.517241
81
0.728174
614
4,135
4.529316
0.141694
0.1726
0.151025
0.191298
0.642215
0.604099
0.568141
0.516721
0.434736
0.418914
0
0.074828
0.156469
4,135
144
82
28.715278
0.722477
0.008706
0
0.257143
0
0
0.061155
0
0
0
0
0
0.161905
1
0.152381
false
0
0.085714
0
0.247619
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
c631f8352fb062e1fdfef1179ba0676d0f9d2d26
489
py
Python
setup.py
ulicar/sentry-cli
c95a77f8b74ced7c41dc8ab61fd31fdf64c08880
[ "MIT" ]
null
null
null
setup.py
ulicar/sentry-cli
c95a77f8b74ced7c41dc8ab61fd31fdf64c08880
[ "MIT" ]
null
null
null
setup.py
ulicar/sentry-cli
c95a77f8b74ced7c41dc8ab61fd31fdf64c08880
[ "MIT" ]
null
null
null
#!/usr/bin/python from setuptools import setup setup( name = "python-sentry", version = "1.0", author = "Josip Domsic", author_email = "josip.domsic+github@gmail.com", description = ("Pure Python CLI for sentry, as well as client library"), license = "MIT", keywords = "python Sentry CLI", ...
23.285714
76
0.580777
57
489
4.947368
0.649123
0.095745
0
0
0
0
0
0
0
0
0
0.00551
0.257669
489
20
77
24.45
0.77135
0.03272
0
0
0
0
0.417373
0.061441
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
c6323bdd3e94514d523e80b9e992ba25f2230d0f
790
py
Python
crawler/src/config/config.py
HVHO/holiday-pharmacy
e641dca93ed0cc0e3ffa28f54a1da6a86c1cfe22
[ "MIT" ]
null
null
null
crawler/src/config/config.py
HVHO/holiday-pharmacy
e641dca93ed0cc0e3ffa28f54a1da6a86c1cfe22
[ "MIT" ]
null
null
null
crawler/src/config/config.py
HVHO/holiday-pharmacy
e641dca93ed0cc0e3ffa28f54a1da6a86c1cfe22
[ "MIT" ]
null
null
null
import json import os def load_config(): PYTHON_ENV = os.getenv("PYTHON_ENV", default="DEV") if PYTHON_ENV == "DEV": with open("./crawler/src/config/config-dev.json") as f: config = json.load(f) host = config["database_host"] name = config["database_name"] ...
34.347826
96
0.594937
100
790
4.45
0.29
0.107865
0.14382
0.085393
0
0
0
0
0
0
0
0
0.259494
790
22
97
35.909091
0.760684
0
0
0
0
0
0.274684
0.04557
0
0
0
0
0
1
0.052632
false
0.157895
0.105263
0
0.210526
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
c633041a2c7d19a40de6c87bb53ba1dfc7b15b1a
672
py
Python
alexandriadocs/core/tests/test_models.py
srtab/alexandria-docs
94b221a4140db23ad6d97a98c7cf521fbdefbc0a
[ "Apache-2.0" ]
2
2017-03-26T22:38:49.000Z
2017-04-22T11:28:07.000Z
alexandriadocs/core/tests/test_models.py
srtab/alexandriadocs
94b221a4140db23ad6d97a98c7cf521fbdefbc0a
[ "Apache-2.0" ]
22
2017-06-10T17:15:59.000Z
2018-08-06T14:57:44.000Z
alexandriadocs/core/tests/test_models.py
srtab/alexandriadocs
94b221a4140db23ad6d97a98c7cf521fbdefbc0a
[ "Apache-2.0" ]
1
2018-08-04T08:12:47.000Z
2018-08-04T08:12:47.000Z
# -*- coding: utf-8 -*- from django.test import SimpleTestCase from core.models import VisibilityMixin class VisibilityMixinTest(SimpleTestCase): def test_is_private(self): visibility = VisibilityMixin() self.assertTrue(visibility.is_private) visibility = VisibilityMixin( vis...
30.545455
58
0.714286
64
672
7.34375
0.34375
0.212766
0.038298
0.110638
0.297872
0.297872
0.297872
0.297872
0
0
0
0.001873
0.205357
672
21
59
32
0.878277
0.03125
0
0.4
0
0
0
0
0
0
0
0
0.266667
1
0.133333
false
0
0.133333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6392cb56f54b8d5c8c4d8010af78d820fc779d5
472
py
Python
main/migrations/0006_auto_20200120_1628.py
Code-and-Response/ISAC-SIMO-Repo-2
5b0cb0099e128dbacfdc53bf686ef2b069a51bc6
[ "PostgreSQL", "Apache-2.0" ]
5
2021-08-16T16:32:41.000Z
2022-02-22T03:47:49.000Z
main/migrations/0006_auto_20200120_1628.py
Code-and-Response/ISAC-SIMO-Repo-2
5b0cb0099e128dbacfdc53bf686ef2b069a51bc6
[ "PostgreSQL", "Apache-2.0" ]
7
2021-04-12T14:48:48.000Z
2022-02-14T08:30:57.000Z
main/migrations/0006_auto_20200120_1628.py
Code-and-Response/ISAC-SIMO-Repo-2
5b0cb0099e128dbacfdc53bf686ef2b069a51bc6
[ "PostgreSQL", "Apache-2.0" ]
1
2021-04-28T14:28:34.000Z
2021-04-28T14:28:34.000Z
# Generated by Django 3.0.2 on 2020-01-20 10:43 from django.db import migrations, models import main.models class Migration(migrations.Migration): dependencies = [ ('main', '0005_auto_20200120_1619'), ] operations = [ migrations.AlterField( model_name='user', nam...
23.6
123
0.637712
54
472
5.444444
0.722222
0.068027
0
0
0
0
0
0
0
0
0
0.086592
0.241525
472
19
124
24.842105
0.734637
0.095339
0
0
1
0
0.164706
0.108235
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
c6584a2c0e693053cb75307e5e476e2c82f9ab5b
900
py
Python
tripmining/model/coordinate.py
LinusDietz/tripmining
0bb57268d623ce7bc6d36f10db529f0bf9645bd6
[ "MIT" ]
3
2020-03-20T10:26:18.000Z
2021-03-12T11:25:31.000Z
tripmining/model/coordinate.py
LinusDietz/tripmining
0bb57268d623ce7bc6d36f10db529f0bf9645bd6
[ "MIT" ]
3
2020-03-19T15:01:44.000Z
2020-04-07T12:17:11.000Z
tripmining/model/coordinate.py
LinusDietz/tripmining
0bb57268d623ce7bc6d36f10db529f0bf9645bd6
[ "MIT" ]
1
2020-01-27T13:11:09.000Z
2020-01-27T13:11:09.000Z
import functools import math import operator class Coordinate: def __init__(self, lat, lng): f_lat = float(lat) if math.fabs(f_lat) > 180: raise ValueError(f'The latitude must be between -180 and 180 degrees, but was {f_lat}!') f_lng = float(lng) if math.fabs(f_lng) > 1...
29.032258
101
0.6
124
900
4.064516
0.362903
0.055556
0.059524
0.043651
0.230159
0.142857
0.142857
0.142857
0.142857
0.142857
0
0.028302
0.293333
900
30
102
30
0.764151
0
0
0
0
0
0.176667
0
0
0
0
0
0
1
0.166667
false
0
0.125
0.041667
0.541667
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
d65cc2e3aa44a8e72e75284f2813f4355fc088be
14,673
py
Python
g2p_aligner.py
ys10/Grapheme-PhonemeAlignment
b7108822bea6da6f1b14e9692affb05d24ae55cb
[ "MIT" ]
4
2018-05-31T02:52:47.000Z
2021-03-12T09:09:57.000Z
g2p_aligner.py
ys10/Grapheme-PhonemeAlignment
b7108822bea6da6f1b14e9692affb05d24ae55cb
[ "MIT" ]
1
2018-03-05T02:30:39.000Z
2018-03-05T02:30:39.000Z
g2p_aligner.py
ys10/Grapheme-PhonemeAlignment
b7108822bea6da6f1b14e9692affb05d24ae55cb
[ "MIT" ]
1
2020-04-22T07:06:33.000Z
2020-04-22T07:06:33.000Z
# coding=utf-8 import numpy as np from itertools import combinations_with_replacement from my_log import logging def load_transcription(transcription_file_name): """ :return: a list of tuple: [ (word: string, phones: list), (word: string, phones: list), ..., ...
37.146835
163
0.559395
1,777
14,673
4.380979
0.132808
0.056519
0.030572
0.006936
0.386898
0.334489
0.248298
0.202569
0.170841
0.152087
0
0.012682
0.33899
14,673
394
164
37.241117
0.789978
0.246371
0
0.318182
0
0
0.027892
0.005558
0.004132
0
0
0
0
1
0.078512
false
0.11157
0.012397
0
0.161157
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
d6608bea94750fd60f161e8edb1c0de3cbc454f4
2,113
py
Python
main.py
nizamphoenix/EDD2020
e8d05c38019b98cc8c5e34fd4bc50baceb8d608a
[ "MIT" ]
4
2020-06-08T03:19:57.000Z
2021-10-13T09:40:23.000Z
main.py
nizamphoenix/EDD2020
e8d05c38019b98cc8c5e34fd4bc50baceb8d608a
[ "MIT" ]
null
null
null
main.py
nizamphoenix/EDD2020
e8d05c38019b98cc8c5e34fd4bc50baceb8d608a
[ "MIT" ]
null
null
null
from torch.utils.data import DataLoader from torch.utils.data.sampler import SubsetRandomSampler from meditorch.nn.models import UNetResNet from torchsummary import summary import torch.optim as optim from torch.optim import lr_scheduler from meditorch.nn import Trainer from meditorch.utils.plot import plot_image_truem...
35.216667
119
0.75769
288
2,113
5.34375
0.385417
0.036387
0.018194
0.023392
0.146849
0.146849
0.05718
0.05718
0.05718
0.05718
0
0.039978
0.135826
2,113
59
120
35.813559
0.802848
0.059158
0
0.045455
0
0
0.089259
0.074634
0
0
0
0
0
0
null
null
0
0.25
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
d66bd0ab7aebd9b29dfa99993c201e892a501872
4,688
py
Python
calculate_iHSproportion.py
evodify/population-genetic-analyses
5295f9d68736ac02fc5f3ece43dadd5bf4e98e6f
[ "MIT" ]
3
2018-01-31T09:57:10.000Z
2021-02-03T18:34:01.000Z
calculate_iHSproportion.py
evodify/population-genetic-analyses
5295f9d68736ac02fc5f3ece43dadd5bf4e98e6f
[ "MIT" ]
null
null
null
calculate_iHSproportion.py
evodify/population-genetic-analyses
5295f9d68736ac02fc5f3ece43dadd5bf4e98e6f
[ "MIT" ]
1
2019-09-02T06:13:29.000Z
2019-09-02T06:13:29.000Z
#! /usr/bin/env python ''' This script calculates fractions of SNPs with iHS values above 2.0 over genomic windows of specified size. #Example input: #CHROM POS iHS chr1 14548 -3.32086 chr1 14670 -2.52 chr1 19796 0.977669 chr1 19798 3.604374 chr1 29412 -0.308192 chr1 29813 2.231736 chr1 29847 0.6594 chr1 29873 -2.0...
24.544503
73
0.600256
578
4,688
4.849481
0.377163
0.012843
0.02426
0.012843
0.2137
0.155548
0.155548
0.150196
0.121655
0.121655
0
0.141217
0.256826
4,688
190
74
24.673684
0.663318
0.06506
0
0.369565
0
0
0.078796
0
0
0
0
0
0
0
null
null
0
0.01087
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d66c1cc1ba3efab7c88083eacb18abf18bab0b53
1,049
py
Python
forexml.py
brawnydawg/forexml
62e623e6e7219ad8c7fbca05bf29ea79401741c5
[ "MIT" ]
2
2022-01-15T03:13:07.000Z
2022-01-15T03:13:14.000Z
forexml.py
brawnydawg/forex.ml
62e623e6e7219ad8c7fbca05bf29ea79401741c5
[ "MIT" ]
null
null
null
forexml.py
brawnydawg/forex.ml
62e623e6e7219ad8c7fbca05bf29ea79401741c5
[ "MIT" ]
null
null
null
import numpy from scipy import stats from modules import controler # To compile, us Auto Py to Exe: # Step 1 - install Auto Py to Exe, if not already done # To install the application run this line in cmd: # pip install auto-py-to-exe # To open the application run this line in cmd: # auto-py-to-exe # Step 2 - read the...
26.897436
74
0.653003
181
1,049
3.78453
0.392265
0.029197
0.051095
0.064234
0.491971
0.39562
0.39562
0.308029
0.308029
0.245255
0
0.110718
0.190658
1,049
39
75
26.897436
0.696113
0.375596
0
0.285714
0
0
0.182946
0.071318
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
0
0
0
null
0
0
0
0
0
0
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
d66c664f346efdc6281f1b27109ddcac09232372
694
py
Python
bench/bench_argcomplete.py
solackerman/pytest
0fc00c02a7a39ebd6c57886a85580ea3341e76eb
[ "MIT" ]
4
2020-09-09T15:28:01.000Z
2021-12-01T00:59:56.000Z
bench/bench_argcomplete.py
solackerman/pytest
0fc00c02a7a39ebd6c57886a85580ea3341e76eb
[ "MIT" ]
7
2018-04-04T19:02:43.000Z
2018-04-11T19:03:58.000Z
bench/bench_argcomplete.py
solackerman/pytest
0fc00c02a7a39ebd6c57886a85580ea3341e76eb
[ "MIT" ]
1
2021-04-06T20:06:58.000Z
2021-04-06T20:06:58.000Z
# 10000 iterations, just for relative comparison # 2.7.5 3.3.2 # FilesCompleter 75.1109 69.2116 # FastFilesCompleter 0.7383 1.0760 if __name__ == '__main__': import sys import timeit from argcomplete.completers import FilesCompleter from _pytest._argcomplete im...
34.7
80
0.631124
81
694
5.234568
0.592593
0.04717
0.066038
0.070755
0.193396
0.193396
0.193396
0.193396
0.193396
0.193396
0
0.071291
0.252161
694
19
81
36.526316
0.745665
0.259366
0
0
0
0
0.185771
0.043478
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d67095b77014549df9449d344e41a1c0d2d60ab6
374
py
Python
catalog/bindings/gmd/valid_time.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/gmd/valid_time.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/gmd/valid_time.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from bindings.gmd.time_edge_property_type import TimePrimitivePropertyType __NAMESPACE__ = "http://www.opengis.net/gml" @dataclass class ValidTime(TimePrimitivePropertyType): """ gml:validTime is a convenience property element. """ class Meta: name = "validT...
23.375
74
0.727273
40
374
6.625
0.625
0.098113
0.120755
0.173585
0.218868
0.218868
0
0
0
0
0
0
0.176471
374
15
75
24.933333
0.86039
0.128342
0
0
0
0
0.196774
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
d6769c3069694a7ae83fbef15106d40f42aed309
1,012
py
Python
tests/test_post.py
Alice-Githui/Blogger
1ae481cc9f2af78e459314c0f09d1bd0ccff614d
[ "MIT" ]
null
null
null
tests/test_post.py
Alice-Githui/Blogger
1ae481cc9f2af78e459314c0f09d1bd0ccff614d
[ "MIT" ]
null
null
null
tests/test_post.py
Alice-Githui/Blogger
1ae481cc9f2af78e459314c0f09d1bd0ccff614d
[ "MIT" ]
null
null
null
import unittest from app.models import Post,User from app import db class PostModelTest(unittest.TestCase): def setUp(self): self.user_Alice=User(username="Alice", password="potato", email="alice@ms.com") self.new_post=Post(id=1,category="All", title="Great Things Take Time", blog="User Tests for b...
37.481481
135
0.692688
147
1,012
4.605442
0.340136
0.072378
0.113737
0.135894
0.431315
0.141802
0
0
0
0
0
0.003619
0.18083
1,012
27
136
37.481481
0.813028
0
0
0.090909
0
0
0.124383
0
0
0
0
0
0.272727
1
0.227273
false
0.045455
0.136364
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d67a53433e748b3dfe2f8fbd06b9c917a36aef79
8,439
py
Python
Game.py
KRHS-GameProgramming-2015/Manpac
959bf7f5195a4edb528fbbf25b8896fcb28d5327
[ "BSD-2-Clause" ]
null
null
null
Game.py
KRHS-GameProgramming-2015/Manpac
959bf7f5195a4edb528fbbf25b8896fcb28d5327
[ "BSD-2-Clause" ]
3
2016-01-19T17:26:16.000Z
2016-02-10T16:59:25.000Z
Game.py
KRHS-GameProgramming-2015/Manpac
959bf7f5195a4edb528fbbf25b8896fcb28d5327
[ "BSD-2-Clause" ]
null
null
null
import sys, pygame, math, random from Wall import * from Ghost import * from Manpac import * from Norb import * from Score import * pygame.init() clock = pygame.time.Clock() width = 700 height = 700 size = width, height bgColor = r,g,b = 0, 0, 0 screen = pygame.display.set_mode(size) while True: ghosts = [Gh...
31.371747
87
0.426472
952
8,439
3.766807
0.131303
0.043503
0.039041
0.041829
0.344953
0.309258
0.30145
0.293921
0.273006
0.180145
0
0.189607
0.409409
8,439
268
88
31.488806
0.529896
0.000948
0
0.209877
0
0
0.017683
0.002611
0
0
0
0
0
0
null
null
0
0.024691
null
null
0.012346
0
0
0
null
0
0
0
0
0
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
d67b5cb25f09a20e3140a3f45e07da0db110f262
11,871
py
Python
SNDG/WebServices/Offtarget.py
ezequieljsosa/sndg-bio
5f709b5b572564ec1dfa40d090eca9a34295743e
[ "MIT" ]
null
null
null
SNDG/WebServices/Offtarget.py
ezequieljsosa/sndg-bio
5f709b5b572564ec1dfa40d090eca9a34295743e
[ "MIT" ]
null
null
null
SNDG/WebServices/Offtarget.py
ezequieljsosa/sndg-bio
5f709b5b572564ec1dfa40d090eca9a34295743e
[ "MIT" ]
1
2020-09-01T15:57:54.000Z
2020-09-01T15:57:54.000Z
import logging import multiprocessing import sys from Bio import Entrez from tqdm import tqdm from SNDG import execute, mkdir from SNDG.WebServices import download_file from SNDG.WebServices.NCBI import NCBI Entrez.email = 'A.N.Other@example.com' _log = logging.getLogger(__name__) from collections import defaultdi...
29.6775
190
0.701289
1,689
11,871
4.673771
0.28952
0.102356
0.018242
0.009501
0.154421
0.111477
0.088928
0.081834
0.060299
0.03775
0
0.242554
0.191138
11,871
399
191
29.75188
0.579567
0.018364
0
0.049315
0
0.019178
0.48708
0.044639
0
0
0
0
0
1
0.013699
false
0
0.041096
0
0.079452
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d67c4663259aa37ae4097e44e2683c283befb25b
1,307
py
Python
Level2/Lessons17687/gamjapark.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level2/Lessons17687/gamjapark.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level2/Lessons17687/gamjapark.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
1
2021-04-05T07:35:59.000Z
2021-04-05T07:35:59.000Z
# [3차] n진수 게임 import string tmp = string.digits+string.ascii_uppercase[:6] def convert(n, base): q, r = divmod(n, base) if q == 0: return tmp[r] else: return convert(q, base) + tmp[r] def solution(n, t, m, p): answer, nums = '', '' count, cur = 0, 0 while count < t * m: ...
22.534483
46
0.553175
297
1,307
2.518519
0.316498
0.104278
0.171123
0.042781
0.15508
0.128342
0.128342
0
0
0
0
0.23061
0.260138
1,307
58
47
22.534483
0.516029
0.008416
0
0
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d69d44bd20dc95ec5fff8e1985bdab256e11040d
6,931
py
Python
src/test.fastaHeaderMapper.py
dentearl/assemblAnalysis
c8524456dff720d37356c55d7640687415bc1df6
[ "MIT" ]
1
2020-11-12T06:32:26.000Z
2020-11-12T06:32:26.000Z
src/test.fastaHeaderMapper.py
dentearl/assemblAnalysis
c8524456dff720d37356c55d7640687415bc1df6
[ "MIT" ]
null
null
null
src/test.fastaHeaderMapper.py
dentearl/assemblAnalysis
c8524456dff720d37356c55d7640687415bc1df6
[ "MIT" ]
null
null
null
############################## # Copyright (C) 2009-2011 by # Dent Earl (dearl@soe.ucsc.edu, dent.earl@gmail.com) # Benedict Paten (benedict@soe.ucsc.edu, benedict.paten@gmail.com) # Mark Diekhans (markd@soe.ucsc.edu) # ... and other members of the Reconstruction Team of David Haussler's # lab (BME Dept. UCSC). # # ...
40.063584
87
0.578127
753
6,931
5.306773
0.317397
0.028529
0.04004
0.026026
0.489239
0.46972
0.462963
0.462963
0.462963
0.462963
0
0.016546
0.284952
6,931
172
88
40.296512
0.78975
0.219305
0
0.609756
0
0
0.208026
0
0
0
0
0
0.04065
0
null
null
0
0.073171
null
null
0.00813
0
0
0
null
0
0
0
0
0
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
d69dfab5d31344b304dc626b4e7eed938aa556de
369
py
Python
fivetran_api/Fivetran-REST-API-examples/connectorDetails.py
leootrusa/fivetran_example
50931b9fa9638a743531aae2cb10137284d6df17
[ "MIT" ]
35
2018-06-27T20:46:26.000Z
2022-01-03T01:46:12.000Z
fivetran_api/Fivetran-REST-API-examples/connectorDetails.py
dsdorazio/functions
d694ab4d1d0e68d5eaab8fd34df8decc66931cb9
[ "MIT" ]
6
2018-06-27T18:59:23.000Z
2021-06-09T04:47:51.000Z
fivetran_api/Fivetran-REST-API-examples/connectorDetails.py
dsdorazio/functions
d694ab4d1d0e68d5eaab8fd34df8decc66931cb9
[ "MIT" ]
18
2019-03-08T00:00:00.000Z
2022-02-21T22:29:14.000Z
# connectorDetails # Returns a connector object if a valid identifier was provided. # Reference: https://fivetran.com/docs/rest-api/connectors#retrieveconnectordetails import fivetran_api # Fivetran API URL (Replace {connector_id} with a valid connector id). url = "https://api.fivetran.com/v1/connectors/{connector_i...
33.545455
83
0.796748
51
369
5.647059
0.529412
0.152778
0
0
0
0
0
0
0
0
0
0.003003
0.097561
369
11
84
33.545455
0.861862
0.620596
0
0
0
0
0.392593
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d6a2fa9382a12764e6a860268ebbd0f92fa8f439
1,179
py
Python
objectModel/Python/tests/utilities/test_storage_utils.py
rt112000/CDM
34bd34f9260140a8f8aa02bd87c23033f3daad4c
[ "CC-BY-4.0", "MIT" ]
884
2019-05-10T02:09:10.000Z
2022-03-31T14:02:00.000Z
objectModel/Python/tests/utilities/test_storage_utils.py
spbast/CDM
bf97a3720c97ee4c9df3625084cf8b3bc65ff9c7
[ "CC-BY-4.0", "MIT" ]
171
2019-06-10T11:34:37.000Z
2022-03-31T22:50:12.000Z
objectModel/Python/tests/utilities/test_storage_utils.py
spbast/CDM
bf97a3720c97ee4c9df3625084cf8b3bc65ff9c7
[ "CC-BY-4.0", "MIT" ]
340
2019-05-07T18:00:16.000Z
2022-03-31T12:00:15.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. import unittest from cdm.utilities import StorageUtils class StorageUtilsTest(unittest.TestCase): """Test to validate StorageUtils functions""" def test...
39.3
94
0.724343
151
1,179
5.410596
0.364238
0.132191
0.132191
0.146879
0.198286
0.168911
0.080783
0
0
0
0
0.01833
0.167091
1,179
29
95
40.655172
0.813646
0.207803
0
0
0
0
0.112798
0.053145
0
0
0
0
0.588235
1
0.058824
false
0
0.117647
0
0.235294
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
d6a502bc2ef1837bff69e8101cd965f9cb6f8ad1
12,231
py
Python
com/vmware/esx/settings/depot_content/components_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
com/vmware/esx/settings/depot_content/components_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
com/vmware/esx/settings/depot_content/components_client.py
adammillerio/vsphere-automation-sdk-python
c07e1be98615201139b26c28db3aa584c4254b66
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2020 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.esx.settings.depot_content.components. #--------------------------------------------...
33.509589
94
0.575178
1,180
12,231
5.811864
0.215254
0.036454
0.024643
0.03033
0.333771
0.275882
0.265675
0.240012
0.164188
0.164188
0
0.000601
0.320334
12,231
364
95
33.601648
0.824371
0.351075
0
0.083333
1
0
0.177378
0.116437
0
0
0
0
0
1
0.035714
false
0
0.083333
0
0.172619
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
d6aa6ef6511d2d3e5cb122c0409356c3cc693f88
678
py
Python
clioude-server/app.py
ccw630/CliOuDE
743540c7c14d7f95455219efe8be01817e96f96b
[ "MIT" ]
3
2020-07-22T02:17:23.000Z
2021-03-10T12:48:46.000Z
app.py
ccw630/CLIOUDE-Server
4dc129e5bc57caead2df0107f02671d74c7808f1
[ "MIT" ]
5
2020-07-24T07:39:43.000Z
2022-02-27T08:32:49.000Z
app.py
ccw630/CLIOUDE-Server
4dc129e5bc57caead2df0107f02671d74c7808f1
[ "MIT" ]
null
null
null
import tornado.web import tornado.websocket import tornado.httpserver import tornado.ioloop from worker_gateway.server import WebSocketChannelHandler from heartbeat.handler import HeartbeatHandler from orm import Worker class Application(tornado.web.Application): def __init__(self): handlers = [ ...
25.111111
57
0.718289
71
678
6.605634
0.464789
0.110874
0.089552
0
0
0
0
0
0
0
0
0.007246
0.185841
678
26
58
26.076923
0.842391
0
0
0
0
0
0.044248
0
0
0
0
0
0
1
0.05
false
0
0.35
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d6ac10b06dc3d01a44335f8890a997f31547f906
1,536
py
Python
server.py
guoyunlong16/python-websocket-server
81ec842f750726f5e1044305fcabbba831eca098
[ "MIT" ]
null
null
null
server.py
guoyunlong16/python-websocket-server
81ec842f750726f5e1044305fcabbba831eca098
[ "MIT" ]
null
null
null
server.py
guoyunlong16/python-websocket-server
81ec842f750726f5e1044305fcabbba831eca098
[ "MIT" ]
null
null
null
import time from websocket_server import WebsocketServer # Called for every client connecting (after handshake) def new_client(client, server): print("New client connected and was given id %d" % client['id']) #server.send_message_to_all("Hey all, a new client has joined us") short_message = "" middle...
32
67
0.673828
206
1,536
4.84466
0.34466
0.096192
0.08517
0.092184
0.1002
0
0
0
0
0
0
0.014026
0.210938
1,536
47
68
32.680851
0.809406
0.125
0
0
0
0
0.120239
0.040329
0
0
0
0
0
0
null
null
0
0.055556
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
d6b14cabbd3bcb3a92d3115531acfa5bd337cbb3
36,170
py
Python
examples/tof-viewer/external/newton_host_driver/src/host_api/examples/python/generateBootImage.py
rick-yhchen1013/aditof-sdk-rework
911465dd1e05dd0b1c5107197b3b4dc3a10f77f9
[ "MIT" ]
5
2021-09-22T10:04:47.000Z
2022-02-08T17:55:09.000Z
examples/tof-viewer/external/newton_host_driver/src/host_api/examples/python/generateBootImage.py
rick-yhchen1013/aditof-sdk-rework
911465dd1e05dd0b1c5107197b3b4dc3a10f77f9
[ "MIT" ]
99
2021-02-01T12:45:09.000Z
2022-03-08T09:54:13.000Z
examples/tof-viewer/external/newton_host_driver/src/host_api/examples/python/generateBootImage.py
rick-yhchen1013/aditof-sdk-rework
911465dd1e05dd0b1c5107197b3b4dc3a10f77f9
[ "MIT" ]
4
2021-08-09T12:32:55.000Z
2021-12-13T05:38:55.000Z
#!/usr/bin/env python """ Newton Generate Boot Images Usage: generateBootImage.py <target> <file_name> [--sim][--frontdoor][--seed=<seed_value>][--count=<word_count>][--hsp_fw_0p97] Options: -h --help Shows this help message. Target is one of the following: useq_seq_ram : Microsequencer Sequence RAM ...
32.122558
161
0.617086
4,108
36,170
5.205696
0.066212
0.022446
0.040402
0.021604
0.737573
0.697872
0.647884
0.605518
0.569511
0.558382
0
0.023164
0.291042
36,170
1,125
162
32.151111
0.810787
0.030578
0
0.674883
1
0
0.047323
0.003425
0
0
0.003083
0
0
1
0.021127
false
0
0.016432
0
0.055164
0.026995
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
d6b3222fc09c6aa5941c479f3ee01b911f781151
332
py
Python
scienz/setup.py
Vibrant-Planet/aorist
067e119ef4d0d40802ce74a8e47d882e557ce195
[ "MIT" ]
16
2021-08-14T10:20:16.000Z
2022-03-31T04:19:26.000Z
hub/setup.py
scie-nz/aorist
ac1e31251af7d851c4491a310b417de880b79d09
[ "MIT" ]
5
2021-08-15T23:19:10.000Z
2021-09-26T20:50:41.000Z
scienz/setup.py
Vibrant-Planet/aorist
067e119ef4d0d40802ce74a8e47d882e557ce195
[ "MIT" ]
1
2022-01-06T01:26:24.000Z
2022-01-06T01:26:24.000Z
from setuptools import setup setup( name="scienz", version="0.0.1", packages=["scienz"], zip_safe=False, include_package_data=True, package_data={"scienz": ["scienz/*"],}, long_description=""" Common dataset definitions for aorist package. """, long_description_content_type="tex...
20.75
50
0.656627
39
332
5.384615
0.74359
0.104762
0
0
0
0
0
0
0
0
0
0.011194
0.192771
332
15
51
22.133333
0.772388
0
0
0
0
0
0.293051
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
d6c240b9e93cb9ac402108e702d6f69b681de912
545
py
Python
script_concurent_cpd_example.py
gmetsov/slow-momentum-fast-reversion
861c13ff2ea1d9e0b24523356c574c3ceaacf5bb
[ "MIT" ]
1
2022-03-25T11:37:31.000Z
2022-03-25T11:37:31.000Z
script_concurent_cpd_example.py
gmetsov/slow-momentum-fast-reversion
861c13ff2ea1d9e0b24523356c574c3ceaacf5bb
[ "MIT" ]
null
null
null
script_concurent_cpd_example.py
gmetsov/slow-momentum-fast-reversion
861c13ff2ea1d9e0b24523356c574c3ceaacf5bb
[ "MIT" ]
null
null
null
import multiprocessing import os from settings.default import QUANDL_TICKERS, CPD_QUANDL_OUTPUT_FOLDER_DEFAULT N_WORKERS = len(QUANDL_TICKERS) if not os.path.exists(CPD_QUANDL_OUTPUT_FOLDER_DEFAULT): os.mkdir(CPD_QUANDL_OUTPUT_FOLDER_DEFAULT) all_processes = [ f'python script_cpd_example.py "{ticker}" "{os....
32.058824
140
0.801835
81
545
5.061728
0.493827
0.087805
0.146341
0.204878
0.273171
0
0
0
0
0
0
0.032587
0.099083
545
16
141
34.0625
0.802444
0
0
0
0
0.083333
0.244037
0.126606
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
d6c46aa5da8525586e87f2b472570c93ecfc9915
369
py
Python
cowin_settings/models/cowin_custom_model_data.py
shangdinvxu/cowinaddons
4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0
[ "MIT" ]
null
null
null
cowin_settings/models/cowin_custom_model_data.py
shangdinvxu/cowinaddons
4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0
[ "MIT" ]
null
null
null
cowin_settings/models/cowin_custom_model_data.py
shangdinvxu/cowinaddons
4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from odoo import models, fields, api class Cowin_custom_model_data(models.Model): _name = 'cowin_settings.custome_model_data' # name = fields.Char(string=u'ID') model_name = fields.Char(string=u'model ID') _sql_constraints = [ ('model_name_key', 'UNIQ...
23.0625
75
0.639566
47
369
4.723404
0.553191
0.162162
0.126126
0.18018
0.189189
0
0
0
0
0
0
0.003472
0.219512
369
16
76
23.0625
0.767361
0.146341
0
0
0
0
0.315436
0.110738
0
0
0
0
0
1
0
false
0
0.142857
0
0.714286
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
d6ca2315271e77162aceabe261d43740120a7244
232
py
Python
nslocapysation/constants.py
resmio/nslocapysation
6643adf359b17212e2e2774de52904123ec2fcfd
[ "MIT" ]
1
2018-11-25T16:56:31.000Z
2018-11-25T16:56:31.000Z
nslocapysation/constants.py
resmio/nslocapysation
6643adf359b17212e2e2774de52904123ec2fcfd
[ "MIT" ]
null
null
null
nslocapysation/constants.py
resmio/nslocapysation
6643adf359b17212e2e2774de52904123ec2fcfd
[ "MIT" ]
null
null
null
# keys IMPLEMENTATION_FILE_PATHS_KEY = r'implementation_file_paths' LPROJ_DIR_PATHS_KEY = r'lproj_file_paths' KEY_KEY = r'key' TRANSLATION_KEY = r'translation' # file names LOCALIZABLE_STRINGS_FILE_NAME = r'Localizable.strings'
19.333333
60
0.818966
34
232
5.147059
0.382353
0.091429
0.262857
0
0
0
0
0
0
0
0
0
0.103448
232
11
61
21.090909
0.841346
0.064655
0
0
0
0
0.349057
0.117925
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
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
d6cba202761b7405679a5ca3b25903c5029105ec
5,871
py
Python
tests/test_denstatbank.py
gmohandas/denstatbank
c82cdbafb934de40d106c1f0f94ef58b0962e25c
[ "BSD-3-Clause-Clear" ]
1
2020-05-28T14:59:04.000Z
2020-05-28T14:59:04.000Z
tests/test_denstatbank.py
gmohandas/denstatbank
c82cdbafb934de40d106c1f0f94ef58b0962e25c
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/test_denstatbank.py
gmohandas/denstatbank
c82cdbafb934de40d106c1f0f94ef58b0962e25c
[ "BSD-3-Clause-Clear" ]
null
null
null
import pandas as pd import pytest from denstatbank.denstatbank import StatBankClient from denstatbank.utils import data_dict_to_df, add_list_to_dict from .mock_responses import ( mock_sub_resp_default, mock_sub_resp_2401, mock_tables_resp, mock_tableinfo_resp, mock_tableinfo_variable_resp, mock_...
33.169492
93
0.69971
793
5,871
4.984868
0.145019
0.076904
0.019479
0.043005
0.477865
0.426764
0.384012
0.327599
0.327599
0.245636
0
0.00999
0.18157
5,871
176
94
33.357955
0.812695
0.009368
0
0.234483
0
0
0.081411
0.00568
0
0
0
0
0.42069
1
0.158621
false
0
0.034483
0.041379
0.262069
0.006897
0
0
0
null
0
0
0
0
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
d6cc154da2b05275462754e08a6a4fdca86447f1
473
py
Python
258-add-digits/258-add-digits.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
258-add-digits/258-add-digits.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
258-add-digits/258-add-digits.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
class Solution(object): def addDigits(self, num): """ :type num: int :rtype: int """ s = str(num) l = list(s) sum = 0 for digit in l: sum += int(digit) if len(list(str(sum))) == 1: return sum else: r...
17.518519
38
0.46723
54
473
3.944444
0.518519
0
0
0
0
0
0
0
0
0
0
0.014286
0.408034
473
27
39
17.518519
0.746429
0
0
0
0
0
0.019231
0
0
0
0
0
0
0
null
null
0
0
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d6d066071d6280fd212953aa9288f12b50467f48
1,577
py
Python
sympy/solvers.py
Fernal73/LearnPython3
5288017c0dbf95633b84f1e6324f00dec6982d36
[ "MIT" ]
1
2021-12-17T11:03:13.000Z
2021-12-17T11:03:13.000Z
sympy/solvers.py
Fernal73/LearnPython3
5288017c0dbf95633b84f1e6324f00dec6982d36
[ "MIT" ]
1
2020-02-05T00:14:43.000Z
2020-02-06T09:22:49.000Z
sympy/solvers.py
Fernal73/LearnPython3
5288017c0dbf95633b84f1e6324f00dec6982d36
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from sympy import * x, y, z = symbols('x y z') init_printing(use_unicode=True) print(Eq(x, y)) print(solveset(Eq(x**2, 1), x)) print(solveset(Eq(x**2 - 1, 0), x)) print(solveset(x**2 - 1, x)) print(solveset(x**2 - x, x)) print(solveset(x - x, x, domain=S.Reals)) print(so...
31.54
64
0.551046
326
1,577
2.659509
0.190184
0.046136
0.027682
0.027682
0.202999
0.184544
0.062284
0.062284
0.062284
0
0
0.045489
0.163602
1,577
49
65
32.183673
0.611827
0.055168
0
0.05
0
0
0.012113
0
0
0
0
0
0
1
0
false
0
0.025
0
0.025
0.725
0
0
0
null
0
0
0
0
0
0
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
d6d18a1cdcb8a5f838db2879bdd4174a5798f34c
421
py
Python
setup.py
kelonye/python-twitter
9f8293b53c4f91de3f14510af8d18ad2ad7e8867
[ "MIT" ]
2
2015-05-29T02:10:56.000Z
2015-11-07T12:54:41.000Z
setup.py
kelonye/python-twitter
9f8293b53c4f91de3f14510af8d18ad2ad7e8867
[ "MIT" ]
null
null
null
setup.py
kelonye/python-twitter
9f8293b53c4f91de3f14510af8d18ad2ad7e8867
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='ptwitter', version='0.0.1', description="Tiny python library for Twitter's REST API.", author='Mitchel Kelonye', author_email='kelonyemitchel@gmail.com', url='https://github.com/kelonye/python-twitter', packages...
26.3125
62
0.674584
53
421
5.283019
0.773585
0
0
0
0
0
0
0
0
0
0
0.008571
0.168646
421
15
63
28.066667
0.791429
0.047506
0
0
0
0
0.415
0.06
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
d6d796c86f20ac0784cd2ab3c3a72578c896d385
1,674
py
Python
test/test_core_initializer.py
t-k-/tinynn
969eb96020406885d081a961084d9328e2939622
[ "MIT" ]
27
2019-09-16T01:54:19.000Z
2022-03-14T04:50:26.000Z
test/test_core_initializer.py
t-k-/tinynn
969eb96020406885d081a961084d9328e2939622
[ "MIT" ]
null
null
null
test/test_core_initializer.py
t-k-/tinynn
969eb96020406885d081a961084d9328e2939622
[ "MIT" ]
6
2019-09-16T01:54:33.000Z
2022-03-07T12:00:55.000Z
"""test unit for core/initializer.py""" import runtime_path # isort:skip from core.initializer import * TEST_SHAPE = (100000, 1) TOR = 1e-2 def test_get_fans(): fan_in, fan_out = get_fans(shape=(100, 10)) assert fan_in == 100 and fan_out == 10 fan_in, fan_out = get_fans(shape=(64, 5, 5, 128)) ass...
26.15625
65
0.643369
279
1,674
3.677419
0.204301
0.114035
0.101365
0.074074
0.518519
0.491228
0.440546
0.321637
0.177388
0.177388
0
0.052632
0.194146
1,674
63
66
26.571429
0.707932
0.026882
0
0.15
0
0
0
0
0
0
0
0
0.325
1
0.225
false
0
0.05
0
0.275
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
d6e576ee6650fb505b02888827826458811575c7
1,401
py
Python
tests/test_ftp_worker.py
BookOps-CAT/QCbotB
258a3dd4a0b346c0fee82fe332e368c0b5c91440
[ "MIT" ]
null
null
null
tests/test_ftp_worker.py
BookOps-CAT/QCbotB
258a3dd4a0b346c0fee82fe332e368c0b5c91440
[ "MIT" ]
15
2018-01-19T17:39:08.000Z
2020-12-16T17:57:12.000Z
tests/test_ftp_worker.py
BookOps-CAT/QCbotB
258a3dd4a0b346c0fee82fe332e368c0b5c91440
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from datetime import datetime, timedelta from context import aged_out_report, find_todays_file class Test_FTP_worker(unittest.TestCase): """ Test FTP_worker module functionality""" def test_find_today_file(self): self.assertIsNone( find_todays_fil...
30.456522
83
0.577445
169
1,401
4.56213
0.337278
0.045396
0.084306
0.201038
0.473411
0.405966
0.351492
0.329442
0.155642
0.155642
0
0.014793
0.276231
1,401
45
84
31.133333
0.745562
0.042113
0
0.060606
0
0
0.091386
0
0
0
0
0
0.151515
1
0.060606
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d6e603f00a28c8cca2ac1585a148b957b90cf6ad
4,815
py
Python
java/javaClass.py
skylarkgit/sql2java
befd55180969b0ec68e242991c3260272d755cc9
[ "MIT" ]
2
2019-10-23T08:27:30.000Z
2019-10-23T09:58:45.000Z
java/javaClass.py
skylarkgit/sql2java
befd55180969b0ec68e242991c3260272d755cc9
[ "MIT" ]
null
null
null
java/javaClass.py
skylarkgit/sql2java
befd55180969b0ec68e242991c3260272d755cc9
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from dialectUtil import * from java.javaProperty import JAVAProperty from java.javaSnippets import * from java.javaLink import JAVALink import constants as CONST JAVA_PROPERTIES = {} JAVA_PROPERTIES['JAVA_AUTO_IMPORTABLE'] = ['created_by','last_modified_by','created_date', 'last_modified_date'] clas...
51.223404
158
0.622638
512
4,815
5.808594
0.267578
0.03228
0.036315
0.046402
0.276059
0.214862
0.174176
0.113988
0.113988
0.080363
0
0.002736
0.240914
4,815
94
159
51.223404
0.810944
0.003531
0
0.093023
0
0.011628
0.17549
0.098791
0
0
0
0
0
1
0.069767
false
0
0.337209
0.011628
0.430233
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
d6eb33dfcb899869dc176ac912f3e58fd02bafeb
1,604
py
Python
nova/tests/unit/conductor/tasks/test_base.py
ebalduf/nova-backports
6bf97ec73467de522d34ab7a17ca0e0874baa7f9
[ "Apache-2.0" ]
5
2016-04-28T16:20:38.000Z
2021-04-25T11:19:03.000Z
nova/tests/unit/conductor/tasks/test_base.py
woraser/nova
fc3890667e4971e3f0f35ac921c2a6c25f72adec
[ "Apache-2.0" ]
132
2017-03-27T11:31:52.000Z
2022-03-30T08:45:02.000Z
nova/tests/unit/conductor/tasks/test_base.py
woraser/nova
fc3890667e4971e3f0f35ac921c2a6c25f72adec
[ "Apache-2.0" ]
8
2017-03-27T07:50:38.000Z
2020-02-14T16:55:56.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
29.703704
78
0.666459
200
1,604
5.24
0.505
0.057252
0.024809
0.030534
0.156489
0.156489
0.156489
0.085878
0
0
0
0.003328
0.250623
1,604
53
79
30.264151
0.868552
0.340399
0
0.354839
0
0
0.01534
0
0
0
0
0
0.064516
1
0.16129
false
0.096774
0.096774
0
0.322581
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
d6ed4a83976491832fc89d30d7ac8104322085ec
828
py
Python
tesseractApi/blur.py
MTES-MCT/Dossier-Facile-API
7b6dd5ae96b28fb1b2b3dffbd5e1bf9c92f2ae48
[ "MIT" ]
2
2021-05-31T10:14:08.000Z
2022-03-02T10:28:06.000Z
tesseractApi/blur.py
MTES-MCT/Dossier-Facile-API
7b6dd5ae96b28fb1b2b3dffbd5e1bf9c92f2ae48
[ "MIT" ]
6
2021-12-14T13:29:41.000Z
2022-02-17T10:33:13.000Z
tesseractApi/blur.py
MTES-MCT/Dossier-Facile-API
7b6dd5ae96b28fb1b2b3dffbd5e1bf9c92f2ae48
[ "MIT" ]
3
2021-05-31T10:14:20.000Z
2022-03-02T10:28:47.000Z
#!/usr/bin/env python # coding:utf-8 import cv2 from PIL import Image from PyPDF2 import PdfFileReader import logging Image.MAX_IMAGE_PIXELS = None log = logging.getLogger(__name__) def variance_of_laplacian(image): # compute the Laplacian of the image and then return the focus # measure, which is simply th...
26.709677
66
0.725845
119
828
4.915966
0.529412
0.068376
0.097436
0
0
0
0
0
0
0
0
0.01506
0.198068
828
30
67
27.6
0.865964
0.32971
0
0
0
0
0.00365
0
0
0
0
0
0
1
0.1875
false
0
0.25
0.0625
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d6f3ad28cff5e5298f763872e2703f17b36665e5
712
py
Python
very_scratch/dl_vs_vbo.py
ibrahemesam/Fos
f2f284a2c7bdc24dafafebb8aa3141ebf225e451
[ "BSD-3-Clause" ]
2
2016-08-03T10:33:08.000Z
2021-06-23T18:50:14.000Z
scratch/very_scratch/dl_vs_vbo.py
fos/fos-legacy
db6047668781a0615abcebc7d55a7164f3105047
[ "BSD-3-Clause" ]
null
null
null
scratch/very_scratch/dl_vs_vbo.py
fos/fos-legacy
db6047668781a0615abcebc7d55a7164f3105047
[ "BSD-3-Clause" ]
1
2021-07-11T00:16:46.000Z
2021-07-11T00:16:46.000Z
import numpy as np from fos.core.scene import Scene from fos.core.plots import Plot from fos.core.tracks import Tracks from fos.core.points import Points #data=200*np.random.rand(1000000,3) #colors=np.random.rand(1000000,4) data=[200*np.random.rand(int(np.round(30*np.random.rand()))+1,3).astype('float32') for i in...
24.551724
106
0.698034
126
712
3.936508
0.396825
0.080645
0.120968
0.060484
0.292339
0.215726
0.215726
0.129032
0.129032
0
0
0.092025
0.08427
712
28
107
25.428571
0.668712
0.370787
0
0
0
0
0.036446
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
0
0
1
d6f4d7ce78ee83568625e15f5b3230cc4dd9e69a
419
py
Python
src/ipyradiant/visualization/__init__.py
dfreeman06/ipyradiant
6298889eb0d28c0dda01c4fc9d422814b9858878
[ "BSD-3-Clause" ]
null
null
null
src/ipyradiant/visualization/__init__.py
dfreeman06/ipyradiant
6298889eb0d28c0dda01c4fc9d422814b9858878
[ "BSD-3-Clause" ]
7
2020-07-21T12:48:13.000Z
2020-07-24T15:27:26.000Z
src/ipyradiant/visualization/__init__.py
dfreeman06/ipyradiant
6298889eb0d28c0dda01c4fc9d422814b9858878
[ "BSD-3-Clause" ]
1
2020-07-20T20:45:49.000Z
2020-07-20T20:45:49.000Z
"""vis widgets """ # Copyright (c) 2020 ipyradiant contributors. # Distributed under the terms of the Modified BSD License. __all__ = [ "CytoscapeVisualizer", "DatashaderVisualizer", "VisualizerBase", "LayoutSelector", "NXBase", ] from .base import NXBase, VisualizerBase from .cytoscape import Cyto...
24.647059
58
0.75895
40
419
7.825
0.675
0
0
0
0
0
0
0
0
0
0
0.011331
0.157518
419
16
59
26.1875
0.875354
0.26969
0
0
0
0
0.244966
0
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
d6f5c1437a7d4728359f187da5b4e39080bc257e
722
py
Python
apps/badge/migrations/0010_auto_20161112_2017.py
lestrato/badgepack
7432c0ead1d5f63dd509620a0bb06bd76828b590
[ "MS-PL" ]
3
2016-10-21T01:35:46.000Z
2020-11-07T01:20:05.000Z
apps/badge/migrations/0010_auto_20161112_2017.py
lestrato/badgepack
7432c0ead1d5f63dd509620a0bb06bd76828b590
[ "MS-PL" ]
31
2016-10-31T19:28:53.000Z
2017-01-19T16:55:49.000Z
apps/badge/migrations/0010_auto_20161112_2017.py
lestrato/badgepack
7432c0ead1d5f63dd509620a0bb06bd76828b590
[ "MS-PL" ]
1
2020-11-07T01:20:07.000Z
2020-11-07T01:20:07.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-11-13 01:17 from __future__ import unicode_literals from django.db import migrations, models import randomslugfield.fields class Migration(migrations.Migration): dependencies = [ ('badge', '0009_auto_20161112_1649'), ] operations = [ ...
26.740741
122
0.628809
76
722
5.815789
0.723684
0.095023
0.085973
0.104072
0
0
0
0
0
0
0
0.064935
0.253463
722
26
123
27.769231
0.755102
0.094183
0
0.210526
1
0
0.110599
0.03533
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
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
ba3d6d86036397b9fc9ae01e0520c0aaed2cc04e
2,942
py
Python
AIRtaxi-server/taxi.py
manuelnaranjo/AIRtaxi
a168c3f239b01274bc5c85dbe1e05ddd28fb4596
[ "Apache-2.0" ]
1
2015-09-19T06:45:23.000Z
2015-09-19T06:45:23.000Z
AIRtaxi-server/taxi.py
manuelnaranjo/AIRtaxi
a168c3f239b01274bc5c85dbe1e05ddd28fb4596
[ "Apache-2.0" ]
null
null
null
AIRtaxi-server/taxi.py
manuelnaranjo/AIRtaxi
a168c3f239b01274bc5c85dbe1e05ddd28fb4596
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2011 Manuel Francisco Naranjo <manuel at aircable dot net> # # 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....
23.725806
77
0.657716
417
2,942
4.573141
0.446043
0.031463
0.018878
0.020451
0.029366
0.020975
0
0
0
0
0
0.010114
0.227056
2,942
123
78
23.918699
0.828496
0.218559
0
0.164706
0
0
0.159509
0
0
0
0
0
0
0
null
null
0
0.047059
null
null
0.129412
0
0
0
null
0
0
0
0
0
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
ba3fa1f81fc3f907994226a859f6bf6f9f5f75f2
1,149
py
Python
Estacionamento/core/migrations/0007_auto_20180826_1328.py
1ricardo66/Django2.0
e29afefc908723525d60ea40da353a7ab5b27d1c
[ "Apache-2.0" ]
1
2018-08-21T12:26:02.000Z
2018-08-21T12:26:02.000Z
Estacionamento/core/migrations/0007_auto_20180826_1328.py
1ricardo66/Django2.0
e29afefc908723525d60ea40da353a7ab5b27d1c
[ "Apache-2.0" ]
null
null
null
Estacionamento/core/migrations/0007_auto_20180826_1328.py
1ricardo66/Django2.0
e29afefc908723525d60ea40da353a7ab5b27d1c
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.7 on 2018-08-26 13:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0006_parametros'), ] operations = [ migrations.CreateModel( name='MovRotativo', ...
30.236842
114
0.562228
107
1,149
5.925234
0.626168
0.037855
0.044164
0.069401
0
0
0
0
0
0
0
0.026382
0.307224
1,149
37
115
31.054054
0.770101
0.039164
0
0.129032
1
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.064516
0
0.16129
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
ba4270166ab265fb092eb79d9e9b77ce2ea5445d
376
py
Python
code/glucocheck/homepage/migrations/0009_auto_20210316_2008.py
kmcgreg5/Glucocheck
4ab4ada7f967ae41c1241c94523d14e693e05dd4
[ "FSFAP" ]
null
null
null
code/glucocheck/homepage/migrations/0009_auto_20210316_2008.py
kmcgreg5/Glucocheck
4ab4ada7f967ae41c1241c94523d14e693e05dd4
[ "FSFAP" ]
null
null
null
code/glucocheck/homepage/migrations/0009_auto_20210316_2008.py
kmcgreg5/Glucocheck
4ab4ada7f967ae41c1241c94523d14e693e05dd4
[ "FSFAP" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-16 20:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('homepage', '0008_auto_20210316_0229'), ] operations = [ migrations.AlterField( model_name='insulin', name='dosage', ...
19.789474
48
0.590426
39
376
5.589744
0.846154
0
0
0
0
0
0
0
0
0
0
0.116981
0.295213
376
18
49
20.888889
0.70566
0.119681
0
0
1
0
0.133739
0.069909
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
ba45bd44680c7dc2e0849f1579c858f34a20a5ed
3,695
py
Python
feature/plot/label_window.py
yatszhash/kaggle-grasp-and-lift-eeg-detection
fd1785d20234579ab75e8bc3aa987baf46678cc9
[ "MIT" ]
null
null
null
feature/plot/label_window.py
yatszhash/kaggle-grasp-and-lift-eeg-detection
fd1785d20234579ab75e8bc3aa987baf46678cc9
[ "MIT" ]
null
null
null
feature/plot/label_window.py
yatszhash/kaggle-grasp-and-lift-eeg-detection
fd1785d20234579ab75e8bc3aa987baf46678cc9
[ "MIT" ]
null
null
null
import re from multiprocessing.pool import Pool from pathlib import Path from typing import Union import numpy as np import pandas as pd from google.cloud import storage from feature.plot.to_images import PlotWriter from utils.data.eegdataloader import EegDataLoader gs_client = storage.Client() LABEL_FILE_NAME = "ev...
39.731183
105
0.660081
506
3,695
4.509881
0.22332
0.059159
0.047327
0.04163
0.100351
0.067485
0.040316
0.040316
0
0
0
0.005178
0.215968
3,695
92
106
40.163043
0.782534
0.007848
0
0.027778
0
0
0.060606
0.006825
0
0
0
0.01087
0.013889
1
0.055556
false
0
0.125
0
0.263889
0.027778
0
0
0
null
0
0
0
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
ba495e193a583955eddeccb6fd82723a1f293193
1,217
py
Python
backend/apps/accounts/models.py
tingyeeh/Full-Backend
a4338019ed7e6c7e5059cb3c6f805d3c589588b1
[ "MIT" ]
null
null
null
backend/apps/accounts/models.py
tingyeeh/Full-Backend
a4338019ed7e6c7e5059cb3c6f805d3c589588b1
[ "MIT" ]
null
null
null
backend/apps/accounts/models.py
tingyeeh/Full-Backend
a4338019ed7e6c7e5059cb3c6f805d3c589588b1
[ "MIT" ]
null
null
null
from django.db import models class Account(models.Model): """ Account for or """ name = models.CharField(pgettext_lazy( "Name of Account", "Name"), max_length=64) email = models.EmailField() phone = PhoneNumberField(null=True) industry = models.CharField( _("Industry Type"), ...
32.026316
108
0.685292
146
1,217
5.479452
0.445205
0.07
0.08125
0.10625
0.2325
0.2325
0.2325
0.1125
0.1125
0
0
0.005133
0.199671
1,217
37
109
32.891892
0.816222
0
0
0
0
0
0.085998
0
0
0
0
0
0
0
null
null
0
0.041667
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
ba4bfbd9b48331c0a448707899792ff20164dd6d
4,557
py
Python
examples/salesforce_to_bigquery_example.py
Ressmann/starthinker
301c5cf17e382afee346871974ca2f4ae905a94a
[ "Apache-2.0" ]
138
2018-11-28T21:42:44.000Z
2022-03-30T17:26:35.000Z
examples/salesforce_to_bigquery_example.py
Ressmann/starthinker
301c5cf17e382afee346871974ca2f4ae905a94a
[ "Apache-2.0" ]
36
2019-02-19T18:33:20.000Z
2022-01-24T18:02:44.000Z
examples/salesforce_to_bigquery_example.py
Ressmann/starthinker
301c5cf17e382afee346871974ca2f4ae905a94a
[ "Apache-2.0" ]
54
2018-12-06T05:47:32.000Z
2022-02-21T22:01:01.000Z
########################################################################### # # Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/l...
42.194444
175
0.675664
559
4,557
5.427549
0.309481
0.047462
0.089651
0.055372
0.292024
0.218523
0.163151
0.140738
0.094265
0.035597
0
0.002877
0.160851
4,557
107
176
42.588785
0.790533
0.280448
0
0
0
0.035714
0.384253
0.018843
0
0
0
0
0
1
0.017857
false
0.071429
0.071429
0
0.089286
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
ba4f1ca539168f2211232cbdac786ec39f55d895
2,724
py
Python
data_management/test/test_network_data_prep/TestAddOrientationAngleToLines.py
conklinbd/solutions-geoprocessing-toolbox
7afab793ea34b7e7cb7e32757e8a150b6637ffd2
[ "Apache-2.0" ]
null
null
null
data_management/test/test_network_data_prep/TestAddOrientationAngleToLines.py
conklinbd/solutions-geoprocessing-toolbox
7afab793ea34b7e7cb7e32757e8a150b6637ffd2
[ "Apache-2.0" ]
null
null
null
data_management/test/test_network_data_prep/TestAddOrientationAngleToLines.py
conklinbd/solutions-geoprocessing-toolbox
7afab793ea34b7e7cb7e32757e8a150b6637ffd2
[ "Apache-2.0" ]
1
2018-10-25T15:52:41.000Z
2018-10-25T15:52:41.000Z
#------------------------------------------------------------------------------ # Copyright 2013 Esri # 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/LICENS...
33.62963
101
0.653451
328
2,724
5.414634
0.527439
0.033784
0.02027
0.018018
0.109234
0.109234
0.043919
0.043919
0.043919
0.043919
0
0.012184
0.18649
2,724
81
102
33.62963
0.78926
0.556535
0
0.181818
0
0
0.133503
0
0
0
0
0
0
1
0
false
0.060606
0.181818
0
0.212121
0.121212
0
0
0
null
0
0
0
0
0
0
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
ba6167c779919c2246e1ee1cf2219ff1f87621e9
9,594
py
Python
lib/plugins/pcap/pcapsummary.py
7h3rAm/rudra
bfbd5b81e6b262052e0810574a59d99903170f6a
[ "CC-BY-4.0" ]
22
2015-08-10T04:47:45.000Z
2021-02-28T06:15:30.000Z
lib/plugins/pcap/pcapsummary.py
7h3rAm/rudra
bfbd5b81e6b262052e0810574a59d99903170f6a
[ "CC-BY-4.0" ]
2
2015-11-22T15:48:37.000Z
2019-01-07T19:49:06.000Z
lib/plugins/pcap/pcapsummary.py
7h3rAm/rudra
bfbd5b81e6b262052e0810574a59d99903170f6a
[ "CC-BY-4.0" ]
19
2015-09-20T16:31:25.000Z
2020-03-04T10:04:48.000Z
from lib.external.PluginManager import PluginInterface, Manager from prettytable import PrettyTable from aayudh import utils, fileutils import sys import os current_dir = os.path.abspath(os.path.dirname(__file__)) root_dir = os.path.normpath(os.path.join(current_dir, "..")) sys.path.insert(0, root_dir) class pcaps...
52.42623
157
0.607046
1,086
9,594
5.274401
0.169429
0.059707
0.139665
0.080656
0.411662
0.26868
0.185056
0.092703
0.046089
0.030377
0
0.002482
0.202105
9,594
182
158
52.714286
0.745787
0.003231
0
0.080745
0
0
0.198138
0.002929
0
0
0
0
0
0
null
null
0
0.031056
null
null
0.006211
0
0
0
null
0
0
0
0
0
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
ba672fe8169d4c84126ede0b40af978dffb4452d
6,314
py
Python
src/output/statements.py
williamstein/jpython
31175f97f42381f612b0b9661beb6b5e5c356d5c
[ "BSD-2-Clause" ]
null
null
null
src/output/statements.py
williamstein/jpython
31175f97f42381f612b0b9661beb6b5e5c356d5c
[ "BSD-2-Clause" ]
null
null
null
src/output/statements.py
williamstein/jpython
31175f97f42381f612b0b9661beb6b5e5c356d5c
[ "BSD-2-Clause" ]
null
null
null
# vim:fileencoding=utf-8 # License: BSD Copyright: 2016, Kovid Goyal <kovid at kovidgoyal.net> from __python__ import hash_literals from ast import ( AST_Definitions, AST_Scope, AST_Method, AST_Except, AST_EmptyStatement, AST_Statement, AST_Seq, AST_BaseCall, AST_Dot, AST_Sub, AST_ItemAccess, AST_Condition...
35.077778
118
0.605163
779
6,314
4.70475
0.186136
0.040928
0.046385
0.026194
0.335607
0.318145
0.230559
0.168622
0.142428
0.1206
0
0.003302
0.280488
6,314
179
119
35.273743
0.803434
0.055432
0
0.384615
0
0
0.062469
0.010915
0
0
0
0
0.019231
0
null
null
0
0.012821
null
null
0.192308
0
0
0
null
0
0
0
0
0
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
ba6793f0192c80fc3bbd8b3d89303af7d816aba0
17,457
py
Python
obsolete/profile_vs_profile.py
861934367/cgat
77fdc2f819320110ed56b5b61968468f73dfc5cb
[ "BSD-2-Clause", "BSD-3-Clause" ]
87
2015-01-01T03:48:19.000Z
2021-11-23T16:23:24.000Z
obsolete/profile_vs_profile.py
861934367/cgat
77fdc2f819320110ed56b5b61968468f73dfc5cb
[ "BSD-2-Clause", "BSD-3-Clause" ]
189
2015-01-06T15:53:11.000Z
2019-05-31T13:19:45.000Z
obsolete/profile_vs_profile.py
CGATOxford/cgat
326aad4694bdfae8ddc194171bb5d73911243947
[ "BSD-2-Clause", "BSD-3-Clause" ]
56
2015-01-13T02:18:50.000Z
2022-01-05T10:00:59.000Z
################################################################################ # # MRC FGU Computational Genomics Group # # $Id$ # # Copyright (C) 2009 Andreas Heger # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as publish...
37.063694
156
0.539955
1,832
17,457
5.022926
0.219432
0.025864
0.016301
0.011737
0.26592
0.218757
0.159857
0.145077
0.123777
0.078679
0
0.014668
0.312654
17,457
470
157
37.142553
0.752229
0.102824
0
0.218182
0
0.014545
0.110702
0.014784
0
0
0
0
0
0
null
null
0.043636
0.050909
null
null
0.007273
0
0
0
null
0
0
0
0
0
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
ba6a125993c48f123b66d0160468797d1cdb1777
9,712
py
Python
rels/relations.py
sobolevn/rels
3b0afb11f2b4325c8ede961809f151dacfa257ef
[ "BSD-2-Clause-FreeBSD" ]
7
2015-04-05T19:21:06.000Z
2018-11-04T06:06:42.000Z
rels/relations.py
sobolevn/rels
3b0afb11f2b4325c8ede961809f151dacfa257ef
[ "BSD-2-Clause-FreeBSD" ]
2
2015-06-08T07:41:45.000Z
2018-11-03T07:15:40.000Z
rels/relations.py
sobolevn/rels
3b0afb11f2b4325c8ede961809f151dacfa257ef
[ "BSD-2-Clause-FreeBSD" ]
2
2015-06-17T11:35:11.000Z
2018-11-03T07:12:43.000Z
# coding: utf-8 # TODO: check full mapping of one enum to another (is every value of mapped enum has pair and vice versa) # TODO: pep8 # TODO: pylint # TODO: generate docs # TODO: rewrite exceptions texts & rename exception classes import random from rels import exceptions class Column(object): __slots__ = ('_cr...
33.034014
151
0.611717
1,059
9,712
5.334278
0.152975
0.026907
0.017525
0.019118
0.105682
0.077536
0.047796
0.047796
0.047796
0.032218
0
0.001185
0.304778
9,712
293
152
33.146758
0.835456
0.037685
0
0.160804
1
0
0.042843
0.013852
0
0
0
0.006826
0
1
0.125628
false
0
0.01005
0.035176
0.261307
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
ba7274fdeb109e756700ed964fe5bf59624cafdd
27,897
py
Python
reader/bidafv1/model.py
lixinsu/RCZoo
37fcb7962fbd4c751c561d4a0c84173881ea8339
[ "MIT" ]
166
2018-08-07T03:35:02.000Z
2022-01-11T10:40:09.000Z
reader/bidafv1/model.py
lixinsu/RCZoo
37fcb7962fbd4c751c561d4a0c84173881ea8339
[ "MIT" ]
16
2018-08-17T09:53:37.000Z
2019-06-17T12:58:00.000Z
reader/bidafv1/model.py
lixinsu/RCZoo
37fcb7962fbd4c751c561d4a0c84173881ea8339
[ "MIT" ]
45
2018-08-27T06:38:42.000Z
2021-01-17T11:12:39.000Z
#!/usr/bin/env python3 # Copyright 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. """DrQA Document Reader model""" import math import random import ipdb import torch import torch.optim as opt...
39.570213
90
0.521633
3,310
27,897
4.211782
0.141692
0.024675
0.018937
0.01119
0.375081
0.31246
0.275303
0.244387
0.230328
0.212539
0
0.008423
0.35735
27,897
704
91
39.62642
0.769188
0.089472
0
0.280665
0
0
0.036723
0.000971
0
0
0
0
0.002079
0
null
null
0.002079
0.027027
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
ba73f67adbc8b73a37bc38ab585323628b65c5c4
414
py
Python
firstApp/migrations/0006_alter_registration_degree.py
sayan706/SchoolWebsite
8a3faea4582e3c15f0d33347e6c0793a78481c52
[ "MIT" ]
null
null
null
firstApp/migrations/0006_alter_registration_degree.py
sayan706/SchoolWebsite
8a3faea4582e3c15f0d33347e6c0793a78481c52
[ "MIT" ]
null
null
null
firstApp/migrations/0006_alter_registration_degree.py
sayan706/SchoolWebsite
8a3faea4582e3c15f0d33347e6c0793a78481c52
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-01-10 09:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('firstApp', '0005_alter_registration_firstname'), ] operations = [ migrations.AlterField( model_name='registration', ...
21.789474
61
0.618357
44
414
5.704545
0.840909
0
0
0
0
0
0
0
0
0
0
0.069536
0.270531
414
18
62
23
0.761589
0.108696
0
0
1
0
0.160763
0.089918
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
ba7ad226bb8b4632a379714c4c4d790425eadeb6
390
py
Python
OptimizationAlgorithms/LearningAlgorithm.py
AhmedHani/Python-Neural-Networks-API
ead1e53403e078bb807dafceca70d785514507e1
[ "MIT" ]
1
2015-05-01T00:56:53.000Z
2015-05-01T00:56:53.000Z
OptimizationAlgorithms/LearningAlgorithm.py
AhmedHani/Python-Neural-Networks-API
ead1e53403e078bb807dafceca70d785514507e1
[ "MIT" ]
null
null
null
OptimizationAlgorithms/LearningAlgorithm.py
AhmedHani/Python-Neural-Networks-API
ead1e53403e078bb807dafceca70d785514507e1
[ "MIT" ]
2
2017-08-11T17:02:52.000Z
2018-07-21T10:40:43.000Z
__author__ = 'Ahmed Hani Ibrahim' import abc class LearningAlgorithm(object): # __metaclass__ = abc.ABCMeta @abc.abstractmethod def learn(self, learningRate, input, output, network): """ :param learningRate: double :param input: list :param output: list :param netwo...
21.666667
58
0.597436
36
390
6.25
0.666667
0.08
0
0
0
0
0
0
0
0
0
0
0.294872
390
17
59
22.941176
0.818182
0.364103
0
0
0
0
0.09375
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ba7c58e3f8b1ffafeeabbe872253fc40a288cb72
4,359
py
Python
backend/app/app/api/api_v1/endpoints/auth.py
dmitritruf/distiller-django-react
ec4c3837194306e725d8a2437ace10a899a254d2
[ "BSD-3-Clause" ]
2
2021-11-04T16:27:33.000Z
2021-11-04T20:09:19.000Z
backend/app/app/api/api_v1/endpoints/auth.py
OpenChemistry/distiller
67da87672654555f9821590f42b108d70a55c1a6
[ "BSD-3-Clause" ]
70
2021-11-04T16:34:52.000Z
2022-03-30T02:52:17.000Z
backend/app/app/api/api_v1/endpoints/auth.py
dmitritruf/distiller-django-react
ec4c3837194306e725d8a2437ace10a899a254d2
[ "BSD-3-Clause" ]
null
null
null
from datetime import datetime, timedelta, timezone from typing import Optional from fastapi import (APIRouter, Depends, HTTPException, Request, Response, status) from jose import JWTError, jwt from sqlalchemy.orm import Session from app.api.deps import get_current_user, get_db from app.api.utils ...
31.135714
88
0.699014
522
4,359
5.578544
0.252874
0.082418
0.037088
0.029876
0.350275
0.31456
0.27919
0.27919
0.209135
0.152473
0
0.004352
0.209222
4,359
139
89
31.359712
0.840441
0.004588
0
0.274336
0
0
0.08047
0.01614
0
0
0
0
0
1
0.017699
false
0.061947
0.106195
0
0.185841
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
ba808edd6b754acefb4ce6a96df843f114f8d03a
4,259
py
Python
samples/update_esxi_advanced_settings.py
whchoi98/whchoi_pyvmomi-community-samples
4bc90d0780267d9c14382ae72b50ef3475a96e46
[ "Apache-2.0" ]
null
null
null
samples/update_esxi_advanced_settings.py
whchoi98/whchoi_pyvmomi-community-samples
4bc90d0780267d9c14382ae72b50ef3475a96e46
[ "Apache-2.0" ]
null
null
null
samples/update_esxi_advanced_settings.py
whchoi98/whchoi_pyvmomi-community-samples
4bc90d0780267d9c14382ae72b50ef3475a96e46
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # William Lam # www.virtuallyghetto.com """ vSphere Python SDK program for updating ESXi Advanced Settings Usage: python update_esxi_advanced_settings.py -s 192.168.1.200 \ -u 'administrator@vsphere.local' \ -p VMware1! -c VSAN-Cluster -k VSAN.ClomRepairDelay -v 120 """ import argpa...
31.087591
76
0.532285
435
4,259
5.128736
0.356322
0.037651
0.053339
0.051546
0.127745
0.067234
0.067234
0.037651
0.037651
0
0
0.007934
0.378493
4,259
136
77
31.316176
0.834907
0.107537
0
0.206522
0
0
0.15036
0
0
0
0
0
0
1
0.032609
false
0.086957
0.076087
0
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ba860ef0bbb9998d184a5e1d2b2471f8886f1c2c
1,373
py
Python
plots.py
shreyasnikte/semi-supervised-learning-methods
b60409cdbcb441d7749934f8984fc31d74b86de6
[ "MIT" ]
2
2019-02-12T01:47:24.000Z
2019-02-12T01:47:30.000Z
plots.py
shreyasnikte/semi-supervised-learning-methods
b60409cdbcb441d7749934f8984fc31d74b86de6
[ "MIT" ]
null
null
null
plots.py
shreyasnikte/semi-supervised-learning-methods
b60409cdbcb441d7749934f8984fc31d74b86de6
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt n = [0,10,20,40,80,160,320,640] error_rate_knn = [0.352873876328,0.387737617135,0.453305017255,0.458524980174,0.474808757584,0.470144927536,0.473847774559,0.467094872065] error_rate_svm = [0.357722691365,0.355341365462,0.355402176799,0.352894528152,0.352941176471,0....
27.46
138
0.761835
220
1,373
4.645455
0.354545
0.07045
0.046967
0.03229
0.387476
0.336595
0.291585
0.244618
0.244618
0.086106
0
0.275316
0.079388
1,373
49
139
28.020408
0.533228
0
0
0.277778
0
0
0.150036
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba8b351fb6919d43ebf9cf7d016dae641fd9b448
14,346
py
Python
examples/learning_fix/analysis/run_analysis.py
bingrao/Bug-Transformer
9e39dc553c281f6372b7a8cfc8205aa186645899
[ "MIT" ]
null
null
null
examples/learning_fix/analysis/run_analysis.py
bingrao/Bug-Transformer
9e39dc553c281f6372b7a8cfc8205aa186645899
[ "MIT" ]
null
null
null
examples/learning_fix/analysis/run_analysis.py
bingrao/Bug-Transformer
9e39dc553c281f6372b7a8cfc8205aa186645899
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ usage: put under source folder, required files: evolving_state.txt, calib_state.txt, state.txt After first run, integration_states.txt, vio_states.txt are generated and figures are saved in current dir You can move the figures and state.txt, integration_states.txt, vio_states.txt into a fold...
33.59719
112
0.548724
1,894
14,346
4.029567
0.18321
0.018344
0.012972
0.015592
0.61098
0.575996
0.529481
0.481132
0.462133
0.445231
0
0.023652
0.295622
14,346
426
113
33.676056
0.731618
0.072215
0
0.484507
1
0
0.126872
0.014599
0
0
0
0
0
1
0.042254
false
0
0.033803
0
0.090141
0.011268
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
ba8d939b382a63a60f2698d61f7d191c80c42ac1
1,204
py
Python
CursoEmVideo/curso em video/ex45.py
elisio-ricardo/ExerciciosPythonCursoEmVideo
47a10b2118a76f4f95a762876ef9ab90e92f4fd3
[ "MIT" ]
null
null
null
CursoEmVideo/curso em video/ex45.py
elisio-ricardo/ExerciciosPythonCursoEmVideo
47a10b2118a76f4f95a762876ef9ab90e92f4fd3
[ "MIT" ]
null
null
null
CursoEmVideo/curso em video/ex45.py
elisio-ricardo/ExerciciosPythonCursoEmVideo
47a10b2118a76f4f95a762876ef9ab90e92f4fd3
[ "MIT" ]
null
null
null
from random import randint from time import sleep itens = ('Pedra', 'Papel', 'Tesoura') computador = randint(0, 2) print('''Suas opções: [ 0 ] PEDRA [ 1 ] PAPEL [ 2 ] TESOURA''') jogador = int(input('Qual é a sua jogada? ')) print('JO') sleep(1) print('KEN') sleep(1) print('POOO') print('#x#' * 13) print('O computador ...
26.173913
70
0.593023
156
1,204
4.576923
0.282051
0.092437
0.095238
0.063025
0.390756
0.193277
0.193277
0
0
0
0
0.044662
0.237542
1,204
46
71
26.173913
0.733115
0.036545
0
0.608696
0
0
0.292746
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.456522
0
0
0
null
0
0
0
0
0
0
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
ba90813dd087e4a5ae66ed2dd627c0ad91bad8ca
227
py
Python
s06_estruturas_de_repeticao/s06_exercicios/s06_exercicio_05.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s06_estruturas_de_repeticao/s06_exercicios/s06_exercicio_05.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s06_estruturas_de_repeticao/s06_exercicios/s06_exercicio_05.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
""" 5) Faça um programa que peça ao usuário para digitar 10 valores e some-os. """ soma = 0 for n in range(10): num = float(input(f'Digite o valor {n + 1} de 10 para ser somado \n')) soma = soma + num print(f'{soma}')
22.7
74
0.629956
43
227
3.325581
0.767442
0
0
0
0
0
0
0
0
0
0
0.051429
0.229075
227
9
75
25.222222
0.765714
0.325991
0
0
0
0
0.365517
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba93a8b482897b7fb3cc384944adb1b34a68cd4c
254
py
Python
easy_ThirdGreatest.py
GabrielGhe/CoderbyteChallenges
5601dbc24c95a65fed04896de2f534417c2e730d
[ "MIT" ]
1
2020-11-04T15:30:18.000Z
2020-11-04T15:30:18.000Z
easy_ThirdGreatest.py
GabrielGhe/CoderbyteChallenges
5601dbc24c95a65fed04896de2f534417c2e730d
[ "MIT" ]
null
null
null
easy_ThirdGreatest.py
GabrielGhe/CoderbyteChallenges
5601dbc24c95a65fed04896de2f534417c2e730d
[ "MIT" ]
null
null
null
""" Return the 3rd longest string in an array of strings """ def ThirdGreatest(strArr): #have to reverse because timsort is stable strArr = sorted(strArr, key = len, reverse = True) return strArr[2] print ThirdGreatest(raw_input())
21.166667
52
0.688976
34
254
5.117647
0.823529
0
0
0
0
0
0
0
0
0
0
0.010101
0.220472
254
11
53
23.090909
0.868687
0.161417
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
0
0
0
null
0
0
0
0
0
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
baa0b245e76c44193e4e6bd7bfd85355edd44a65
3,683
py
Python
py2neo/exceptions.py
AYCHTECH/PY2NEO
fa0d296c13acb1697f4e112995eea9492e8e6159
[ "Apache-2.0" ]
null
null
null
py2neo/exceptions.py
AYCHTECH/PY2NEO
fa0d296c13acb1697f4e112995eea9492e8e6159
[ "Apache-2.0" ]
null
null
null
py2neo/exceptions.py
AYCHTECH/PY2NEO
fa0d296c13acb1697f4e112995eea9492e8e6159
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2011-2013, Nigel Small # # 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...
25.054422
77
0.660874
413
3,683
5.600484
0.322034
0.067445
0.072633
0.06658
0.481193
0.45655
0.42888
0.393428
0.322525
0.285344
0
0.009441
0.25224
3,683
146
78
25.226027
0.830428
0.174857
0
0.588889
0
0
0.036718
0
0
0
0
0.006849
0.022222
1
0.2
false
0.033333
0.022222
0.133333
0.477778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
baa49d25bf46be87576157d1dc079d66786d0226
437
py
Python
ws_assets/routers.py
Ragnaruk/ws_assets
f593eb0e5c5fe2bf2945b488d7ab10be34d6b5cd
[ "MIT" ]
null
null
null
ws_assets/routers.py
Ragnaruk/ws_assets
f593eb0e5c5fe2bf2945b488d7ab10be34d6b5cd
[ "MIT" ]
null
null
null
ws_assets/routers.py
Ragnaruk/ws_assets
f593eb0e5c5fe2bf2945b488d7ab10be34d6b5cd
[ "MIT" ]
null
null
null
from fastapi import APIRouter from ws_assets.routes import ui from ws_assets.routes.api.v1 import websocket from ws_assets.settings import Settings settings = Settings() # /api/v1 api_v1_router = APIRouter(tags=["v1"]) for endpoints in (websocket,): api_v1_router.include_router(endpoints.router, prefix="/api/v1...
20.809524
68
0.759725
64
437
5.015625
0.296875
0.077882
0.11215
0.11215
0.211838
0
0
0
0
0
0
0.015707
0.125858
437
20
69
21.85
0.824607
0.022883
0
0
0
0
0.025943
0
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
bab5445b3741cb376b235a2b48c913eff62843e9
381
py
Python
phase_separation.py
wdecoster/read_length_SV_discovery
3d012995d011089521a96907d5645bbc7cad53fe
[ "MIT" ]
3
2019-10-15T20:21:45.000Z
2021-08-21T08:58:27.000Z
phase_separation.py
wdecoster/read_length_SV_discovery
3d012995d011089521a96907d5645bbc7cad53fe
[ "MIT" ]
null
null
null
phase_separation.py
wdecoster/read_length_SV_discovery
3d012995d011089521a96907d5645bbc7cad53fe
[ "MIT" ]
1
2020-07-22T01:30:44.000Z
2020-07-22T01:30:44.000Z
from Bio import SeqIO import sys with open("phase0.fasta", 'w') as phase0, open("phase1.fasta", 'w') as phase1: for record in SeqIO.parse(sys.argv[1], "fasta"): if record.id.endswith('0'): phase0.write(record.format("fasta")) elif record.id.endswith('1'): phase1.write(record...
31.75
78
0.593176
52
381
4.346154
0.519231
0.106195
0.070796
0.19469
0
0
0
0
0
0
0
0.03125
0.244094
381
11
79
34.636364
0.753472
0
0
0
0
0
0.112861
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.1
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
bab8a52d5c732186a4c6df87b8780ef2f9b9eb2b
332
py
Python
texasholdem/texasholdem/urls.py
stricoff92/games-hub
23bbd308fc12e214abd8813607ce92fd0a20fa8c
[ "MIT" ]
null
null
null
texasholdem/texasholdem/urls.py
stricoff92/games-hub
23bbd308fc12e214abd8813607ce92fd0a20fa8c
[ "MIT" ]
5
2021-03-19T04:38:06.000Z
2021-09-22T19:10:42.000Z
texasholdem/texasholdem/urls.py
stricoff92/games-hub
23bbd308fc12e214abd8813607ce92fd0a20fa8c
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls import url urlpatterns = [ url(r'^api-auth/', include('rest_framework.urls')), path('', include('lobby.urls')), path('', include('connectquatro.urls')), path('admin/', admin.si...
25.538462
55
0.695783
44
332
5.227273
0.454545
0.173913
0.121739
0
0
0
0
0
0
0
0
0
0.141566
332
12
56
27.666667
0.807018
0
0
0
0
0
0.189759
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
babc3fe8d7ed32b5021b112f40324e879f2c46d6
311
py
Python
pype/plugins/harmony/create/create_template.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
pype/plugins/harmony/create/create_template.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
pype/plugins/harmony/create/create_template.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
from avalon import harmony class CreateTemplate(harmony.Creator): """Composite node for publishing to templates.""" name = "templateDefault" label = "Template" family = "harmony.template" def __init__(self, *args, **kwargs): super(CreateTemplate, self).__init__(*args, **kwargs)
23.923077
61
0.681672
32
311
6.375
0.75
0.098039
0
0
0
0
0
0
0
0
0
0
0.192926
311
12
62
25.916667
0.812749
0.138264
0
0
0
0
0.148855
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.857143
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
bac182c6d94a947ac4d0cc7021002d21a2cbd719
1,384
py
Python
TabEL/client.py
seucs/entity-linker
0156ad9b9d6439ea15518828513da9d9699b9acd
[ "Apache-2.0" ]
4
2018-03-07T07:59:58.000Z
2019-10-19T09:31:44.000Z
TabEL/client.py
acmom/entity-linker
0156ad9b9d6439ea15518828513da9d9699b9acd
[ "Apache-2.0" ]
null
null
null
TabEL/client.py
acmom/entity-linker
0156ad9b9d6439ea15518828513da9d9699b9acd
[ "Apache-2.0" ]
2
2018-11-05T16:09:07.000Z
2019-11-07T00:22:37.000Z
#coding=utf8 import time, sys, Queue import MySQLdb from MySQLdb import cursors from multiprocessing.managers import BaseManager from multiprocessing.sharedctypes import RawArray from multiprocessing import Process, freeze_support, Array reload(sys) sys.setdefaultencoding('utf8') def work(server_addr): # 数据库连接 ...
25.62963
73
0.639451
173
1,384
4.982659
0.514451
0.066125
0.053364
0.034803
0.037123
0
0
0
0
0
0
0.021256
0.252168
1,384
54
74
25.62963
0.811594
0.015896
0
0.047619
0
0
0.097794
0
0
0
0
0
0
0
null
null
0.02381
0.166667
null
null
0.095238
0
0
0
null
0
0
0
0
0
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
bac2adf850f35e65296bb63e66cba39f424768ca
3,474
py
Python
Polis/vps.py
willll/masternodes
3e8e89898e340d51474edc817f5c6ba80d0ce8c1
[ "Unlicense" ]
null
null
null
Polis/vps.py
willll/masternodes
3e8e89898e340d51474edc817f5c6ba80d0ce8c1
[ "Unlicense" ]
null
null
null
Polis/vps.py
willll/masternodes
3e8e89898e340d51474edc817f5c6ba80d0ce8c1
[ "Unlicense" ]
2
2018-11-27T23:34:24.000Z
2018-12-28T03:03:58.000Z
from invoke.exceptions import UnexpectedExit from utils import execute_command, is_file_exists import logging ''' is_genkey_unique ''' def is_genkey_unique(config): is_unique = True duplicates = [] tmp = {} for conf in config["masternodes"] : if "private_key" in conf : if tmp.get(...
35.090909
175
0.563615
394
3,474
4.827411
0.36802
0.031546
0.025762
0.029443
0.235542
0.179811
0.159832
0.159832
0.065195
0.065195
0
0.009779
0.322971
3,474
98
176
35.44898
0.798895
0.020438
0
0.257576
0
0.015152
0.273185
0.008174
0
0
0
0.010204
0
1
0.075758
false
0
0.045455
0
0.19697
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
bac5271cebc525a305e4dcce861d0532699b554d
4,330
py
Python
src/cloudservice/azext_cloudservice/manual/_params.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
207
2017-11-29T06:59:41.000Z
2022-03-31T10:00:53.000Z
src/cloudservice/azext_cloudservice/manual/_params.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
4,061
2017-10-27T23:19:56.000Z
2022-03-31T23:18:30.000Z
src/cloudservice/azext_cloudservice/manual/_params.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
802
2017-10-11T17:36:26.000Z
2022-03-31T22:24:32.000Z
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
75.964912
119
0.638337
521
4,330
5.238004
0.412668
0.029681
0.032979
0.032979
0.233052
0.200073
0.177354
0.152437
0.152437
0.152437
0
0.001215
0.239723
4,330
56
120
77.321429
0.827764
0.116859
0
0
0
0.04878
0.641658
0.091815
0
0
0
0
0
1
0.02439
false
0
0.04878
0
0.073171
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
bac5979f60f7a78a72eff8a38edbf552a2696bf8
504
py
Python
examples/tutorial1/send.py
bufferx/stormed-amqp
6b29ae069a3cf62277ed1dffe7dd895a743f28e9
[ "MIT" ]
15
2015-03-06T12:35:52.000Z
2020-06-28T01:46:09.000Z
examples/tutorial1/send.py
brimcfadden/stormed-amqp
59e81bfa4632366dc3f20b3dff25df3331480798
[ "MIT" ]
14
2015-01-08T21:13:27.000Z
2016-03-09T13:22:01.000Z
examples/tutorial1/send.py
brimcfadden/stormed-amqp
59e81bfa4632366dc3f20b3dff25df3331480798
[ "MIT" ]
14
2015-01-11T22:25:37.000Z
2020-06-28T01:46:13.000Z
#! /usr/bin/env python import logging from tornado.ioloop import IOLoop from stormed import Connection, Message msg = Message('Hello World!') def on_connect(): ch = conn.channel() ch.queue_declare(queue='hello') ch.publish(msg, exchange='', routing_key='hello') conn.close(callback=done) def done(): ...
21
53
0.706349
69
504
5.057971
0.594203
0.051576
0
0
0
0
0
0
0
0
0
0
0.14881
504
23
54
21.913043
0.81352
0.041667
0
0
0
0
0.114108
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bad3f37859ea848ad6a1f4639c0e685321d4ab5a
2,471
py
Python
tests/test_run.py
greyside/errand-boy
4fe625cd35f123ac5a900acde8676e5303e0521c
[ "BSD-3-Clause" ]
35
2015-01-13T15:40:37.000Z
2022-01-14T10:18:41.000Z
tests/test_run.py
greyside/errand-boy
4fe625cd35f123ac5a900acde8676e5303e0521c
[ "BSD-3-Clause" ]
8
2015-09-01T15:13:27.000Z
2020-02-05T09:10:02.000Z
tests/test_run.py
greyside/errand-boy
4fe625cd35f123ac5a900acde8676e5303e0521c
[ "BSD-3-Clause" ]
8
2015-06-28T18:26:21.000Z
2019-11-28T08:39:44.000Z
import errand_boy from errand_boy import run from errand_boy.transports import unixsocket from .base import mock, BaseTestCase class MainTestCase(BaseTestCase): def test_client(self): argv = ['/srv/errand-boy/errand_boy/run.py', 'ls', '-al'] cmd = ' '.join(argv[1:]) with self.UNIXSocketT...
36.338235
139
0.673007
313
2,471
5.086262
0.204473
0.13191
0.120603
0.135678
0.739322
0.739322
0.66206
0.514447
0.465452
0.444095
0
0.022529
0.209632
2,471
67
140
36.880597
0.792627
0
0
0.340909
0
0
0.078947
0.040081
0
0
0
0
0.318182
1
0.068182
false
0
0.090909
0
0.181818
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
badb9d6a8cc85f5d75f39dfe563d385ac41373ff
513
py
Python
sudoku_solver/region.py
RobinDeHerdt/SudokuSolver
6f5b193705600001ceaedf5260a6a16bef19b843
[ "MIT" ]
null
null
null
sudoku_solver/region.py
RobinDeHerdt/SudokuSolver
6f5b193705600001ceaedf5260a6a16bef19b843
[ "MIT" ]
null
null
null
sudoku_solver/region.py
RobinDeHerdt/SudokuSolver
6f5b193705600001ceaedf5260a6a16bef19b843
[ "MIT" ]
null
null
null
class Region(object): def __init__(self, cells): self.cells = cells def print(self): print(self.cells) def get_missing_numbers(self): missing_numbers = [] for i in range(1, 10): if i in self.get_cell_values(): continue missing_numbe...
20.52
43
0.563353
61
513
4.52459
0.409836
0.130435
0.094203
0
0
0
0
0
0
0
0
0.009009
0.350877
513
24
44
21.375
0.81982
0
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.411765
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
badd5923a861d26eeb620a2d2c3c1017d42267b7
736
py
Python
setup.py
smherwig/cigarbox
7d455f36df2e2d56f38fd73d3223aa77d5922e73
[ "BSD-3-Clause" ]
null
null
null
setup.py
smherwig/cigarbox
7d455f36df2e2d56f38fd73d3223aa77d5922e73
[ "BSD-3-Clause" ]
null
null
null
setup.py
smherwig/cigarbox
7d455f36df2e2d56f38fd73d3223aa77d5922e73
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages # See: # https://packaging.python.org/guids/distruting-packages-using-setuptools setup( name="cigarbox", version="0.1.0", description="utility libraries", long_description="utility libraries", long_description_content_type="text/plain", url="https://...
28.307692
73
0.654891
81
736
5.851852
0.716049
0.050633
0.113924
0.130802
0.154008
0
0
0
0
0
0
0.013582
0.199728
736
25
74
29.44
0.791171
0.103261
0
0
0
0
0.4375
0
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
bae79c652b368a3b504f884924072fb2c0c8f259
6,412
py
Python
tests/environment.py
openpermissions/api-test-suite
982aec0abc04adc92245278ebd452aa1a8a2160c
[ "Apache-2.0" ]
3
2016-05-03T20:07:51.000Z
2019-05-20T01:43:53.000Z
tests/environment.py
openpermissions/api-test-suite
982aec0abc04adc92245278ebd452aa1a8a2160c
[ "Apache-2.0" ]
8
2016-05-04T13:11:44.000Z
2016-07-20T13:01:00.000Z
tests/environment.py
openpermissions/api-test-suite
982aec0abc04adc92245278ebd452aa1a8a2160c
[ "Apache-2.0" ]
1
2019-05-20T01:43:43.000Z
2019-05-20T01:43:43.000Z
# -*- coding: utf-8 -*- # Copyright 2016 Open Permissions Platform Coalition # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by appl...
30.533333
107
0.678571
786
6,412
5.358779
0.300254
0.044397
0.020893
0.020893
0.101852
0.062203
0.018993
0
0
0
0
0.002607
0.222396
6,412
209
108
30.679426
0.842158
0.119464
0
0.112
0
0
0.06074
0.006305
0
0
0
0.004785
0
0
null
null
0.024
0.088
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
baee7b5f4d21c9ddb2c468e07c7ee4ee65dafa1e
466
py
Python
hgapp/powers/templatetags/power_tags.py
shadytradesman/The-Contract-Website
d8b353064f91c53ebab951dec784a0a36caba260
[ "Apache-2.0" ]
6
2020-10-03T12:15:05.000Z
2021-10-15T04:43:36.000Z
hgapp/powers/templatetags/power_tags.py
shadytradesman/The-Contract-Website
d8b353064f91c53ebab951dec784a0a36caba260
[ "Apache-2.0" ]
99
2020-06-04T17:43:56.000Z
2022-03-12T01:07:20.000Z
hgapp/powers/templatetags/power_tags.py
shadytradesman/The-Contract-Website
d8b353064f91c53ebab951dec784a0a36caba260
[ "Apache-2.0" ]
9
2020-06-06T16:39:09.000Z
2020-10-02T16:24:17.000Z
from django import template from powers.models import Power register = template.Library() @register.simple_tag def player_can_edit_power(power, player): return power.parent_power.player_can_edit(player) @register.inclusion_tag('powers/power_badge_snippet.html') def power_badge(power_full): lat...
24.526316
59
0.73176
58
466
5.551724
0.413793
0.111801
0.139752
0.214286
0
0
0
0
0
0
0
0
0.182403
466
18
60
25.888889
0.845144
0
0
0
0
0
0.125
0.069196
0
0
0
0
0
1
0.153846
false
0
0.153846
0.076923
0.461538
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
baf94ecbeec1c5fbd0864b4aaf7b1fd72f812b4e
536
py
Python
src/EstudoPOOClasses/classesagreg.py
maberf/python
0d36f1586c5f52081c2b27d42a1d37cee13116b0
[ "MIT" ]
null
null
null
src/EstudoPOOClasses/classesagreg.py
maberf/python
0d36f1586c5f52081c2b27d42a1d37cee13116b0
[ "MIT" ]
null
null
null
src/EstudoPOOClasses/classesagreg.py
maberf/python
0d36f1586c5f52081c2b27d42a1d37cee13116b0
[ "MIT" ]
null
null
null
class CarrinhodeCompras: def __init__(self): self.produtos = [] #agregação na lista def inserir_produtos(self, produto): self.produtos.append(produto) def lista_produto(self): for produto in self.produtos: print(produto.nome, produto.preco) def soma_total(self): ...
23.304348
46
0.613806
62
536
5.129032
0.33871
0.150943
0.069182
0.100629
0.150943
0
0
0
0
0
0
0.002667
0.300373
536
22
47
24.363636
0.845333
0.033582
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0
0
0.470588
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
baf9dc87b1cbf4d1aa50d41f69704f39a0dd39bd
2,632
py
Python
adonai/user/crud.py
Egnod/adonai
b365d81c826fd7b626c9145154ee0136ea73fac1
[ "MIT" ]
6
2020-01-20T20:02:09.000Z
2020-02-24T08:40:23.000Z
adonai/user/crud.py
Egnod/adonai
b365d81c826fd7b626c9145154ee0136ea73fac1
[ "MIT" ]
null
null
null
adonai/user/crud.py
Egnod/adonai
b365d81c826fd7b626c9145154ee0136ea73fac1
[ "MIT" ]
null
null
null
from ..app.crud import CRUDBase from .models import ( User, UserGroup, UserGroupMember, UserGroupPermission, UserPermission, ) class UserCRUD(CRUDBase): model = User @classmethod def get_by_uuid(Cls, session, uuid: str): return User.query.filter_by(uuid=uuid).first() @cla...
26.059406
87
0.636018
313
2,632
5.13099
0.153355
0.0467
0.064757
0.059153
0.632628
0.603985
0.590909
0.561644
0.561644
0.473225
0
0
0.272036
2,632
100
88
26.32
0.838205
0
0
0.394737
0
0
0
0
0
0
0
0
0
1
0.144737
false
0
0.026316
0.105263
0.447368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
bafaf5113a885d4bb1ff67fe5b1ab222bec78783
11,440
py
Python
CS50x 2021/Final Project/application.py
moqdm/CS50x
7d9a4b4cbe96516383727dc70a1a274f2beb2d28
[ "MIT" ]
7
2021-10-05T16:06:09.000Z
2022-03-14T07:02:33.000Z
CS50x 2021/Final Project/application.py
moqdm/CS50x
7d9a4b4cbe96516383727dc70a1a274f2beb2d28
[ "MIT" ]
null
null
null
CS50x 2021/Final Project/application.py
moqdm/CS50x
7d9a4b4cbe96516383727dc70a1a274f2beb2d28
[ "MIT" ]
7
2021-10-10T12:35:32.000Z
2021-12-30T16:03:51.000Z
from flask import Flask, render_template, request, redirect, url_for, session from flask_session import Session from tempfile import mkdtemp from cs50 import SQL from random import randint from werkzeug.security import check_password_hash, generate_password_hash from functions import get_coms_count, get_pages_count im...
35.974843
139
0.664073
1,586
11,440
4.651324
0.122951
0.025214
0.075912
0.028331
0.543853
0.483394
0.413854
0.398265
0.320184
0.308527
0
0.010574
0.206381
11,440
318
140
35.974843
0.801961
0.095105
0
0.331658
0
0
0.237038
0.013373
0
0
0
0
0
1
0.065327
false
0.055276
0.040201
0
0.311558
0.01005
0
0
0
null
0
0
0
0
0
0
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
bafb62d0072c67956cf9e813dc026b729c141c6d
826
py
Python
sls/services/consthub.py
jayvdb/sls
c788815898b3665cfe5b316b7780190cb9bdacb9
[ "Apache-2.0" ]
null
null
null
sls/services/consthub.py
jayvdb/sls
c788815898b3665cfe5b316b7780190cb9bdacb9
[ "Apache-2.0" ]
null
null
null
sls/services/consthub.py
jayvdb/sls
c788815898b3665cfe5b316b7780190cb9bdacb9
[ "Apache-2.0" ]
null
null
null
import json from asyncy.hub.sdk.db.Service import Service from playhouse.shortcuts import dict_to_model class ConstServiceHub(): """ A constant service hub class that allows serving a pre-defined set of fixed services. """ def __init__(self, services): self.services = services @cla...
22.944444
73
0.615012
106
826
4.679245
0.509434
0.120968
0.108871
0
0
0
0
0
0
0
0
0
0.283293
826
35
74
23.6
0.837838
0.102906
0
0
0
0
0.020804
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0.047619
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bafc5b05c30d729aa0c87763ff7a80e4e8fdb5b7
721
py
Python
common/xrd-ui-tests-qautomate/common_lib/component_ss_version.py
nordic-institute/X-Road-tests
e030661a0ad8ceab74dd8122b751e88025a3474a
[ "MIT" ]
1
2019-02-09T00:16:54.000Z
2019-02-09T00:16:54.000Z
common/xrd-ui-tests-qautomate/common_lib/component_ss_version.py
nordic-institute/X-Road-tests
e030661a0ad8ceab74dd8122b751e88025a3474a
[ "MIT" ]
1
2018-06-06T08:33:32.000Z
2018-06-06T08:33:32.000Z
common/xrd-ui-tests-qautomate/common_lib/component_ss_version.py
nordic-institute/X-Road-tests
e030661a0ad8ceab74dd8122b751e88025a3474a
[ "MIT" ]
3
2018-07-09T08:51:00.000Z
2020-07-23T18:40:24.000Z
# -*- coding: utf-8 -*- from QAutoLibrary.extension import TESTDATA from selenium.webdriver.common.by import By from QAutoLibrary.QAutoSelenium import * from time import sleep from pagemodel.ss_version import Ss_version class Component_ss_version(CommonUtils): """ Components common to security server version v...
26.703704
64
0.690707
87
721
5.609195
0.528736
0.110656
0.086066
0
0
0
0
0
0
0
0
0.017825
0.221914
721
26
65
27.730769
0.85205
0.285714
0
0
0
0
0.111842
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.8
0.1
0
0
0
null
0
0
0
0
0
0
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
bafe0eef5fd0a69ec48227d8972b202fbd2f7b99
14,149
py
Python
line.py
vhgnguyen/Lane-detection-on-CARLA
f64ec7136509c69b47a2666f6eacae09226baadd
[ "MIT" ]
null
null
null
line.py
vhgnguyen/Lane-detection-on-CARLA
f64ec7136509c69b47a2666f6eacae09226baadd
[ "MIT" ]
null
null
null
line.py
vhgnguyen/Lane-detection-on-CARLA
f64ec7136509c69b47a2666f6eacae09226baadd
[ "MIT" ]
null
null
null
#!/usr/bin/python import numpy as np import math import cv2 import config as cf class Line(): def __init__(self, side, img_shape, polyDelta=cf.POLYFIT_MARGIN, nWindow=cf.N_WINDOWS, windowMargin=cf.WINDOW_MARGIN, reThresh=cf.RECENTER_WINDOW_THRESH): # side identifier self.side = s...
41.614706
131
0.574246
1,763
14,149
4.473057
0.115145
0.043748
0.065052
0.029673
0.691098
0.674233
0.651281
0.636318
0.627568
0.616282
0
0.022379
0.317832
14,149
340
132
41.614706
0.794654
0.15888
0
0.638393
0
0
0.000422
0
0
0
0
0
0
1
0.049107
false
0.004464
0.017857
0
0.084821
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
bafea4f06819b042c24926f389fbaced3bd0060b
1,585
py
Python
proxy/selenium_chrome_auth.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
null
null
null
proxy/selenium_chrome_auth.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
3
2021-09-08T01:11:16.000Z
2022-03-02T15:14:03.000Z
proxy/selenium_chrome_auth.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
1
2019-08-04T09:57:29.000Z
2019-08-04T09:57:29.000Z
from selenium import webdriver from selenium.webdriver.chrome.options import Options import zipfile ip = '127.0.0.1' port = 9743 username = 'foo' password = 'bar' manifest_json = """ { "version": "1.0.0", "manifest_version": 2, "name": "Chrome Proxy", "permissions": [ "proxy", "tabs", ...
22.971014
76
0.585489
157
1,585
5.783439
0.484076
0.085903
0.048458
0.052863
0
0
0
0
0
0
0
0.011874
0.256151
1,585
68
77
23.308824
0.75827
0
0
0
0
0
0.650473
0.062461
0
0
0
0
0
1
0
false
0.04918
0.04918
0
0.065574
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
2402994378b5cdd209243e1890f514a6977488f5
112
py
Python
_draft/x_7_2-b.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
null
null
null
_draft/x_7_2-b.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
1
2021-11-13T08:03:04.000Z
2021-11-13T08:03:04.000Z
_draft/x_7_2-b.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
null
null
null
# x_7_2 # # import re pattern = 'い' str = input('ひらがなの「い」のつく言葉を入力してください:') print(re.sub(pattern, 'レヽ', str))
10.181818
38
0.633929
18
112
3.833333
0.777778
0
0
0
0
0
0
0
0
0
0
0.021277
0.160714
112
10
39
11.2
0.712766
0.044643
0
0
0
0
0.252427
0.223301
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2403ee55fdd17cda62dc58821f423f42d3ddfd3d
1,172
py
Python
clipper_admin/keras_deployment.py
ivrt/clipper
66d0cc345e96323447a8ca575430715cb1d2ac93
[ "Apache-2.0" ]
null
null
null
clipper_admin/keras_deployment.py
ivrt/clipper
66d0cc345e96323447a8ca575430715cb1d2ac93
[ "Apache-2.0" ]
null
null
null
clipper_admin/keras_deployment.py
ivrt/clipper
66d0cc345e96323447a8ca575430715cb1d2ac93
[ "Apache-2.0" ]
null
null
null
from clipper_admin import ClipperConnection, DockerContainerManager from clipper_admin.deployers import keras as keras_deployer import keras clipper_conn = ClipperConnection(DockerContainerManager()) clipper_conn.connect() # if cluster exists inpt = keras.layers.Input(shape=(1,)) out = keras.layers.multiply([inpt, i...
33.485714
113
0.708191
151
1,172
5.298013
0.476821
0.11
0.045
0.0575
0
0
0
0
0
0
0
0.015544
0.176621
1,172
34
114
34.470588
0.813472
0.108362
0
0.25
0
0
0.061538
0
0
0
0
0
0
1
0.041667
false
0.083333
0.125
0.041667
0.208333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2409c8a96b204d611172fad52536ebfb9f4ebe27
29,735
py
Python
oldEngine.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
oldEngine.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
oldEngine.py
Dexter-Maine/Eeveaem
ba9b551971d64274a7e5dd5ac87f820a96ab5060
[ "MIT" ]
null
null
null
""" Open Test Arbatrage System USE AT YOUR OWN RISK! MULTIPLE EXCHANGE ACCEPTANCE ALLOWS 'USERS' TO CHOOSE THEIR OWN STRATEGY AS WELL AS TRADING COINS PROVIDES DETAILED INFORMATION ABOUT EXCHANGES & PLATFORMS ALLOWS USERS TO CONNECT IN A FRIENDLY ENVIRONMENT Author: ~Skrypt~ """ import sys import os impor...
54.360146
185
0.553422
3,872
29,735
4.183626
0.110795
0.078647
0.08982
0.07661
0.645595
0.588246
0.553491
0.506451
0.462498
0.431755
0
0.010784
0.310779
29,735
546
186
54.459707
0.779643
0.159711
0
0.398977
0
0.007673
0.183748
0.019261
0
0
0
0
0
0
null
null
0
0.051151
null
null
0.002558
0
0
0
null
0
0
0
0
0
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
240c0c5d000922b8465d3d55022a14bc72649051
158
py
Python
Fun Excercise/reverse file content.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
32
2020-04-05T08:29:40.000Z
2022-01-08T03:10:00.000Z
Fun Excercise/reverse file content.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2021-06-02T04:09:11.000Z
2022-03-02T14:55:03.000Z
Fun Excercise/reverse file content.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2020-07-13T05:44:04.000Z
2021-03-03T07:07:58.000Z
ip = open("input.txt","r") lst = ip.readlines() lst.reverse() lst.insert(1,'\n') ip.close() op = open("output.txt",'w') op.write("".join(lst)) op.close()
12.153846
27
0.594937
27
158
3.481481
0.62963
0
0
0
0
0
0
0
0
0
0
0.007143
0.113924
158
12
28
13.166667
0.664286
0
0
0
0
0
0.14557
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
241f3c603e35405488cc37103c843ad3e2397986
1,563
py
Python
RobotCode/RobotApi.py
HeapArt/DarkPaw
183c8943ed7bb3e771af019468566ff9d5ad6b2f
[ "MIT" ]
null
null
null
RobotCode/RobotApi.py
HeapArt/DarkPaw
183c8943ed7bb3e771af019468566ff9d5ad6b2f
[ "MIT" ]
null
null
null
RobotCode/RobotApi.py
HeapArt/DarkPaw
183c8943ed7bb3e771af019468566ff9d5ad6b2f
[ "MIT" ]
null
null
null
import json from flask import Blueprint, request from RobotCode import BehaviorDB from RobotCode.RobotModel import getRobotModel Robot_Api_BluePrint = Blueprint('Robot_Api_BluePrint', __name__, url_prefix="/robot_api") @Robot_Api_BluePrint.route('/getBehaviorMenu') def getBehaviorMenu(): return json.dumps(Behavior...
36.348837
117
0.726807
158
1,563
7.06962
0.329114
0.050134
0.091316
0.078782
0.270367
0.270367
0.270367
0.107431
0
0
0
0
0.143314
1,563
42
118
37.214286
0.834205
0
0
0.129032
0
0
0.206014
0.03071
0
0
0
0
0
1
0.129032
false
0
0.129032
0.064516
0.548387
0.096774
0
0
0
null
0
0
0
0
0
0
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
241f48c6616672f2a7e5001938c87fa2d8ef9975
2,126
py
Python
Rain/main.py
vanviethieuanh/art-with-python
dfd5e9b010a4d074ed01909474ff2876d5f3baaf
[ "MIT" ]
null
null
null
Rain/main.py
vanviethieuanh/art-with-python
dfd5e9b010a4d074ed01909474ff2876d5f3baaf
[ "MIT" ]
null
null
null
Rain/main.py
vanviethieuanh/art-with-python
dfd5e9b010a4d074ed01909474ff2876d5f3baaf
[ "MIT" ]
null
null
null
import pygame import random import math pygame.init() def newRain(width, rainlength): return (random.randint(-50,width),random.randint(-(rainlength),-(rainlength/2)),random.randint(1,3),0) def endpoint(start,length,angle): return ((start[0]+length*math.cos((angle/180)*math.pi)),(start[1])+length) ...
29.123288
110
0.540452
272
2,126
4.165441
0.286765
0.127096
0.080318
0.024713
0.09797
0.09797
0.084731
0.084731
0
0
0
0.044537
0.324083
2,126
73
111
29.123288
0.743911
0.004233
0
0.107143
0
0
0.009291
0
0
0
0
0
0
1
0.071429
false
0.071429
0.053571
0.017857
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
242215a9d56d1f78d8711fd6f634320bda681f1c
1,370
py
Python
helpers/midstate/midstate_test.py
mfkiwl/shapool-core
2223576a0cd6e52ffbc13f867600f0784f294b06
[ "BSD-3-Clause" ]
22
2018-05-28T15:17:10.000Z
2022-01-19T12:59:46.000Z
helpers/midstate/midstate_test.py
mfkiwl/shapool-core
2223576a0cd6e52ffbc13f867600f0784f294b06
[ "BSD-3-Clause" ]
24
2019-09-07T22:42:48.000Z
2021-08-04T15:31:34.000Z
helpers/midstate/midstate_test.py
mfkiwl/shapool-core
2223576a0cd6e52ffbc13f867600f0784f294b06
[ "BSD-3-Clause" ]
7
2018-05-14T15:56:00.000Z
2022-01-27T21:37:40.000Z
import binascii import midstate import pytest import struct def test_initial_state(): SHA256_H0 = bytes([ # Byte-swap 32-bit words 0x6a, 0x09, 0xe6, 0x67, 0xbb, 0x67, 0xae, 0x85, 0x3c, 0x6e, 0xf3, 0x72, 0xa5, 0x4f, 0xf5, 0x3a, 0x51, 0x0e, 0x52, 0x7f, 0x9b, 0...
28.541667
108
0.606569
158
1,370
5.151899
0.689873
0.017199
0.041769
0.029484
0.039312
0
0
0
0
0
0
0.296
0.270073
1,370
48
109
28.541667
0.518
0.016058
0
0.135135
0
0
0.098738
0.095026
0
0
0.240535
0
0.081081
1
0.054054
false
0
0.108108
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
242a238225ab546d0f4b2ffbed9eb41e67d70a41
1,165
py
Python
01-Introduction/index3.py
abhishekgahlot/competitive-programmer-handbook
bbb50c56fa1a2a35290cfc387f407c9b0cc3ec7e
[ "MIT" ]
133
2019-11-19T17:01:53.000Z
2022-03-22T09:28:48.000Z
01-Introduction/index3.py
abhishekgahlot/competitive-programmer-handbook
bbb50c56fa1a2a35290cfc387f407c9b0cc3ec7e
[ "MIT" ]
3
2019-12-30T04:31:22.000Z
2021-06-10T09:43:07.000Z
01-Introduction/index3.py
abhishekgahlot/competitive-programmer-handbook
bbb50c56fa1a2a35290cfc387f407c9b0cc3ec7e
[ "MIT" ]
54
2019-12-30T04:46:26.000Z
2022-03-23T19:29:48.000Z
# Python 3 version of index.py import math # Input -> 10 20 monkey a, b, c = input().split(' ') print(a, b, c) # Input with map -> 10 20 a, b = map(int, input().split(' ')) print(a, b) # Input with map -> 10, 20 a, b = map(int, input().split(',')) print(a, b) # Python has dynamic data type so integers, float are s...
19.098361
71
0.532189
234
1,165
2.649573
0.320513
0.032258
0.072581
0.077419
0.21129
0.183871
0.183871
0.132258
0.132258
0.132258
0
0.0899
0.226609
1,165
60
72
19.416667
0.598224
0.44721
0
0.066667
0
0
0.004808
0
0
0
0
0
0
1
0.033333
false
0
0.033333
0
0.166667
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1