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
54e639174a97601933059aabae1c3acdb2b90d00
323
py
Python
brute/brute_build.py
sweetsbeats/starter-snake-python
e7cb56a3a623a324f4b5ef956020990e8c61f871
[ "MIT" ]
null
null
null
brute/brute_build.py
sweetsbeats/starter-snake-python
e7cb56a3a623a324f4b5ef956020990e8c61f871
[ "MIT" ]
null
null
null
brute/brute_build.py
sweetsbeats/starter-snake-python
e7cb56a3a623a324f4b5ef956020990e8c61f871
[ "MIT" ]
2
2019-05-05T00:41:26.000Z
2019-05-05T00:46:45.000Z
from cffi import FFI ffibuilder = FFI() ffibuilder.cdef(""" int test(int t); """) ffibuilder.set_source("_pi_cffi", """ #include "brute.h" """, sources=['brute.c']) if __name__ == "__main__": ffibuilder.compile(verbose = Tru...
19
42
0.479876
30
323
4.8
0.766667
0.180556
0
0
0
0
0
0
0
0
0
0
0.374613
323
16
43
20.1875
0.712871
0
0
0
0
0
0.162055
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54e64db782245fc204cf4d668f6d515f9131a03b
2,392
py
Python
src/board.py
JNotelddim/python-snake
da95339d3a982040a84422e5f7b95453095a4450
[ "MIT" ]
null
null
null
src/board.py
JNotelddim/python-snake
da95339d3a982040a84422e5f7b95453095a4450
[ "MIT" ]
null
null
null
src/board.py
JNotelddim/python-snake
da95339d3a982040a84422e5f7b95453095a4450
[ "MIT" ]
null
null
null
"""Board Module""" import copy from typing import Tuple, List from src.coordinate import Coordinate from src.snake import Snake class Board: """Track the cooardinates for all snakes and food in the game.""" def __init__(self, data): self._data = data self._snakes = None self._foods = No...
37.375
85
0.633361
330
2,392
4.439394
0.263636
0.062116
0.01843
0.043003
0.168601
0.148805
0.118771
0.118771
0.118771
0.072355
0
0.0017
0.262124
2,392
63
86
37.968254
0.828329
0.192726
0
0.068182
0
0
0.025464
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.454545
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54e781207e20bd9e8679af88a83847cfe7947287
2,349
py
Python
personalized_nlp/datasets/wiki/base.py
CLARIN-PL/personalized-nlp
340294300f93d12cabc59b055ff2548df8f4081a
[ "MIT" ]
null
null
null
personalized_nlp/datasets/wiki/base.py
CLARIN-PL/personalized-nlp
340294300f93d12cabc59b055ff2548df8f4081a
[ "MIT" ]
1
2022-03-15T23:48:51.000Z
2022-03-15T23:48:51.000Z
personalized_nlp/datasets/wiki/base.py
CLARIN-PL/personalized-nlp
340294300f93d12cabc59b055ff2548df8f4081a
[ "MIT" ]
null
null
null
import os import zipfile from typing import List import pandas as pd import urllib from personalized_nlp.settings import STORAGE_DIR from personalized_nlp.utils.data_splitting import split_texts from personalized_nlp.datasets.datamodule_base import BaseDataModule class WikiDataModule(BaseDataModule): def __init...
32.178082
96
0.638995
288
2,349
4.920139
0.34375
0.073395
0.038814
0.056457
0.135498
0.084686
0.084686
0.084686
0.084686
0
0
0.00846
0.245211
2,349
73
97
32.178082
0.79075
0
0
0.037037
0
0
0.084681
0.02
0
0
0
0
0
1
0.111111
false
0
0.148148
0.018519
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54e789caffaeff5bc10488464b0b5f0c11ea3f0e
522
py
Python
App/migrations/0010_remove_user_percentage_preferences_user_preferences.py
dlanghorne0428/StudioMusicPlayer
54dabab896b96d90b68d6435edfd52fe6a866bc2
[ "MIT" ]
null
null
null
App/migrations/0010_remove_user_percentage_preferences_user_preferences.py
dlanghorne0428/StudioMusicPlayer
54dabab896b96d90b68d6435edfd52fe6a866bc2
[ "MIT" ]
44
2022-01-21T01:33:59.000Z
2022-03-26T23:35:25.000Z
App/migrations/0010_remove_user_percentage_preferences_user_preferences.py
dlanghorne0428/StudioMusicPlayer
54dabab896b96d90b68d6435edfd52fe6a866bc2
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-03-03 02:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('App', '0009_alter_song_holiday_alter_songfileinput_holiday'), ] operations = [ migrations.RemoveField( model_name='user', ...
22.695652
71
0.597701
51
522
5.941176
0.705882
0.059406
0.085809
0.112211
0
0
0
0
0
0
0
0.049046
0.296935
522
22
72
23.727273
0.776567
0.082375
0
0.25
1
0
0.199161
0.15304
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54e901540b5f6fa6fc62f5e51511aa0c656882ca
3,653
py
Python
venv/Lib/site-packages/captcha/conf/settings.py
Rudeus3Greyrat/admin-management
7e81d2b1908afa3ea57a82c542c9aebb1d0ffd23
[ "MIT" ]
1
2020-05-21T06:48:34.000Z
2020-05-21T06:48:34.000Z
venv/Lib/site-packages/captcha/conf/settings.py
Rudeus3Greyrat/admin-management
7e81d2b1908afa3ea57a82c542c9aebb1d0ffd23
[ "MIT" ]
3
2021-03-19T03:07:36.000Z
2021-04-08T20:33:38.000Z
venv/Lib/site-packages/captcha/conf/settings.py
Rudeus3Greyrat/admin-management
7e81d2b1908afa3ea57a82c542c9aebb1d0ffd23
[ "MIT" ]
1
2020-05-21T06:48:36.000Z
2020-05-21T06:48:36.000Z
import os import warnings from django.conf import settings CAPTCHA_FONT_PATH = getattr(settings, 'CAPTCHA_FONT_PATH', os.path.normpath(os.path.join(os.path.dirname(__file__), '..', 'fonts/Vera.ttf'))) CAPTCHA_FONT_SIZE = getattr(settings, 'CAPTCHA_FONT_SIZE', 22) CAPTCHA_LETTER_ROTATION = getattr(settings, 'CAPTCHA_L...
52.942029
141
0.800712
456
3,653
5.97807
0.221491
0.165077
0.234043
0.047689
0.319516
0.233309
0.152605
0.121056
0.121056
0.108217
0
0.006019
0.090337
3,653
68
142
53.720588
0.814324
0.028744
0
0.076923
0
0
0.288738
0.196444
0
0
0
0
0
1
0.076923
false
0
0.076923
0.019231
0.288462
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
54ea3d9d70532f8dc30f4d5946975cecc10f6326
11,009
py
Python
pilbox/test/app_test.py
joevandyk/pilbox
b84732a78e5bdb2d24bf7ef4177d45806ac03ea6
[ "Apache-2.0" ]
null
null
null
pilbox/test/app_test.py
joevandyk/pilbox
b84732a78e5bdb2d24bf7ef4177d45806ac03ea6
[ "Apache-2.0" ]
null
null
null
pilbox/test/app_test.py
joevandyk/pilbox
b84732a78e5bdb2d24bf7ef4177d45806ac03ea6
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import, division, print_function, \ with_statement import logging import os.path import time import tornado.escape import tornado.gen import tornado.ioloop from tornado.test.util import unittest from tornado.testing import AsyncHTTPTestCase, gen_test import tornado.web from pilbox...
39.887681
79
0.606504
1,433
11,009
4.51291
0.144452
0.064945
0.07345
0.061234
0.639709
0.565796
0.55559
0.552188
0.525282
0.524664
0
0.015445
0.235444
11,009
275
80
40.032727
0.752881
0
0
0.358407
0
0
0.126624
0.011173
0
0
0
0
0.137168
1
0.150442
false
0
0.084071
0.013274
0.300885
0.004425
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54eaca929e4c45b157fe05142cabf897db4cf571
1,202
py
Python
hackathon/darkmattertemperaturedistribution/example.py
Neelraj21/phython
68a2cedccae694eb84880f3aa55cc01d458e055e
[ "WTFPL" ]
6
2017-08-09T09:41:42.000Z
2021-04-22T05:10:17.000Z
hackathon/darkmattertemperaturedistribution/example.py
Neelraj21/phython
68a2cedccae694eb84880f3aa55cc01d458e055e
[ "WTFPL" ]
null
null
null
hackathon/darkmattertemperaturedistribution/example.py
Neelraj21/phython
68a2cedccae694eb84880f3aa55cc01d458e055e
[ "WTFPL" ]
5
2015-11-04T12:57:10.000Z
2020-10-18T17:32:25.000Z
#!/usr/bin/env python from scipy import * from pylab import * #from pylab import imshow #! #! Some graphical explorations of the Julia sets with python and pyreport #!######################################################################### #$ #$ We start by defining a function J: #$ \[ J_c : z \rightarrow z^2 + c \] #...
26.130435
75
0.584859
207
1,202
3.371981
0.478261
0.011461
0.04298
0.060172
0.126075
0.094556
0.04298
0
0
0
0
0.096174
0.195507
1,202
45
76
26.711111
0.625646
0.315308
0
0.483871
0
0
0.031165
0
0
0
0
0
0
1
0.032258
false
0
0.064516
0.032258
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54ec18e7d2fb320aa765697469037a76c03cbf50
535
py
Python
resources/migrations/0126_add_field_disallow_overlapping_reservations_per_user.py
codepointtku/respa
bb9cd8459d5562569f976dbc609ec41ceecc8023
[ "MIT" ]
1
2019-12-17T10:02:17.000Z
2019-12-17T10:02:17.000Z
resources/migrations/0126_add_field_disallow_overlapping_reservations_per_user.py
codepointtku/respa
bb9cd8459d5562569f976dbc609ec41ceecc8023
[ "MIT" ]
38
2020-01-24T11:30:53.000Z
2022-01-28T12:42:47.000Z
resources/migrations/0126_add_field_disallow_overlapping_reservations_per_user.py
digipointtku/respa
a529e0df4d3f072df7801adb5bf97a5f4abd1243
[ "MIT" ]
14
2020-02-26T08:17:34.000Z
2021-09-14T07:57:21.000Z
# Generated by Django 2.2.21 on 2021-06-23 12:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('resources', '0125_add_timmi_payload_model'), ] operations = [ migrations.AddField( model_name=...
26.75
126
0.676636
61
535
5.770492
0.688525
0.045455
0.130682
0.198864
0
0
0
0
0
0
0
0.048309
0.226168
535
19
127
28.157895
0.801932
0.085981
0
0
1
0
0.285421
0.143737
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54eceeb38625ac7f7302479b3298ad5a3adabd40
1,307
py
Python
src/lora_multihop/module_config.py
marv1913/lora_multihop
ef07493c2f763d07161fa25d4b884ef79b94afa4
[ "MIT" ]
null
null
null
src/lora_multihop/module_config.py
marv1913/lora_multihop
ef07493c2f763d07161fa25d4b884ef79b94afa4
[ "MIT" ]
1
2022-02-20T13:18:13.000Z
2022-02-24T18:32:23.000Z
src/lora_multihop/module_config.py
marv1913/lora_multihop
ef07493c2f763d07161fa25d4b884ef79b94afa4
[ "MIT" ]
null
null
null
import logging from lora_multihop import serial_connection, variables def config_module(configuration=variables.MODULE_CONFIG): if serial_connection.execute_command(configuration, [variables.STATUS_OK]): serial_connection.execute_command('AT+SEND=1', [variables.STATUS_OK]) serial_connection.execu...
39.606061
101
0.746748
173
1,307
5.387283
0.323699
0.171674
0.123391
0.160944
0.345494
0.309013
0.309013
0.208155
0.120172
0
0
0.003604
0.150727
1,307
32
102
40.84375
0.836036
0
0
0.16
0
0
0.161438
0
0
0
0
0
0
1
0.12
false
0
0.08
0
0.4
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
54ed860d4a6171f4dc1581a63c75ee95835b9b75
6,287
py
Python
eris/script/ferdian.py
ferdianap/Eris_test
c2a00d65f816ad6d48a65c14b4bea4f3d081b86b
[ "BSD-3-Clause" ]
1
2015-06-12T04:38:09.000Z
2015-06-12T04:38:09.000Z
eris/script/ferdian.py
ferdianap/eris
c2a00d65f816ad6d48a65c14b4bea4f3d081b86b
[ "BSD-3-Clause" ]
null
null
null
eris/script/ferdian.py
ferdianap/eris
c2a00d65f816ad6d48a65c14b4bea4f3d081b86b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2013-2014, Rethink Robotics # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # ...
34.543956
77
0.655798
858
6,287
4.69697
0.36014
0.015881
0.013896
0.011414
0.105707
0.087841
0.087841
0.058065
0.058065
0.058065
0
0.007852
0.250517
6,287
181
78
34.734807
0.847411
0.405122
0
0.043011
0
0
0.112983
0.025967
0
0
0
0
0
1
0.043011
false
0
0.075269
0
0.172043
0.053763
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54f048a7a0b7d058cdc56c1d7f2c7462bde0f3d6
4,461
py
Python
core/src/main/python/akdl/entry/base_entry.py
zhangjun0x01/Alink
c1cd3380bed29a4be4eb058a7462213869c02387
[ "Apache-2.0" ]
3,301
2018-10-01T16:30:44.000Z
2022-03-30T08:07:16.000Z
core/src/main/python/akdl/entry/base_entry.py
zhangjun0x01/Alink
c1cd3380bed29a4be4eb058a7462213869c02387
[ "Apache-2.0" ]
206
2019-11-27T14:04:42.000Z
2022-03-28T08:02:05.000Z
core/src/main/python/akdl/entry/base_entry.py
zhangjun0x01/Alink
c1cd3380bed29a4be4eb058a7462213869c02387
[ "Apache-2.0" ]
765
2018-10-09T02:02:19.000Z
2022-03-31T12:06:21.000Z
import abc from typing import Dict, Callable import tensorflow as tf from flink_ml_framework.context import Context from flink_ml_framework.java_file import * from ..runner import tf_helper, io_helper from ..runner.output_writer import DirectOutputWriter try: from flink_ml_tensorflow.tensorflow_context import TF...
36.867769
110
0.647837
546
4,461
5.007326
0.302198
0.043892
0.05267
0.03109
0.13899
0.110461
0.110461
0.03365
0
0
0
0.007268
0.259807
4,461
120
111
37.175
0.820715
0.091011
0
0.082353
0
0
0.079531
0.012715
0
0
0
0
0
1
0.070588
false
0.023529
0.141176
0.011765
0.258824
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54f164400ecea40c3dfdfcd5317d3f9f381a79ff
12,450
py
Python
corm-tests/test_corm_api.py
jbcurtin/cassandra-orm
2c5540de36166c81832c1ccd0ee40c52e598e05c
[ "MIT" ]
1
2021-03-25T01:21:19.000Z
2021-03-25T01:21:19.000Z
corm-tests/test_corm_api.py
jbcurtin/cassandra-orm
2c5540de36166c81832c1ccd0ee40c52e598e05c
[ "MIT" ]
null
null
null
corm-tests/test_corm_api.py
jbcurtin/cassandra-orm
2c5540de36166c81832c1ccd0ee40c52e598e05c
[ "MIT" ]
null
null
null
import pytest ENCODING = 'utf-8' @pytest.fixture(scope='function', autouse=True) def setup_case(request): def destroy_case(): from corm import annihilate_keyspace_tables, SESSIONS annihilate_keyspace_tables('mykeyspace') for keyspace_name, session in SESSIONS.copy().items(): if...
29.294118
110
0.67245
1,402
12,450
5.767475
0.13766
0.034628
0.027702
0.040811
0.538214
0.51348
0.466362
0.433094
0.421222
0.376824
0
0.011997
0.23004
12,450
424
111
29.363208
0.831525
0.029317
0
0.473016
0
0
0.06766
0.008696
0
0
0
0.002358
0.095238
1
0.053968
false
0.003175
0.168254
0
0.492063
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54f3bbb19576152c565203e49a32298c3f423ec9
6,337
py
Python
src/utilities/getInfo.py
UCSB-dataScience-ProjectGroup/movie_rating_prediction
c0c29c0463dccc6ad286bd59e77993fdf0d05fb2
[ "RSA-MD" ]
2
2017-12-15T23:10:11.000Z
2018-05-07T04:18:03.000Z
src/utilities/getInfo.py
UCSB-dataScience-ProjectGroup/movie_rating_prediction
c0c29c0463dccc6ad286bd59e77993fdf0d05fb2
[ "RSA-MD" ]
1
2018-02-26T06:23:32.000Z
2018-02-27T03:34:01.000Z
src/utilities/getInfo.py
UCSB-dataScience-ProjectGroup/movie_rating_prediction
c0c29c0463dccc6ad286bd59e77993fdf0d05fb2
[ "RSA-MD" ]
2
2017-10-19T21:50:24.000Z
2018-01-01T03:40:35.000Z
import json import os from utilities.SaveLoadJson import SaveLoadJson as SLJ from utilities.LineCount import LineCount as LC import subprocess from geolite2 import geolite2 class getData: #Get Data Functions ------------------------------------------------------ @staticmethod def getDATA(): resu...
37.276471
97
0.447373
527
6,337
5.377609
0.254269
0.058222
0.063514
0.06175
0.225476
0.175371
0.117149
0.117149
0.08892
0.08892
0
0.014523
0.402399
6,337
169
98
37.497041
0.733826
0.046236
0
0.183206
0
0
0.121644
0
0
0
0
0
0
1
0.053435
false
0
0.045802
0
0.160305
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54f4e0fec59282b2d1c7f1cba1c1b99fa606ce17
70
py
Python
nemo/collections/nlp/losses/__init__.py
KalifiaBillal/NeMo
4fc670ad0c886be2623247921d4311ba30f486f8
[ "Apache-2.0" ]
1
2021-01-26T21:54:36.000Z
2021-01-26T21:54:36.000Z
nemo/collections/nlp/losses/__init__.py
aiskumo/NeMo
b51a39f9834ad50db77c4246aeb6e2349695add5
[ "Apache-2.0" ]
null
null
null
nemo/collections/nlp/losses/__init__.py
aiskumo/NeMo
b51a39f9834ad50db77c4246aeb6e2349695add5
[ "Apache-2.0" ]
2
2021-02-04T14:45:50.000Z
2021-02-04T14:56:05.000Z
from nemo.collections.nlp.losses.sgd_loss import SGDDialogueStateLoss
35
69
0.885714
9
70
6.777778
1
0
0
0
0
0
0
0
0
0
0
0
0.057143
70
1
70
70
0.924242
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
54f75a0784cdbed72bcde377b44202a6cfd58c51
382
py
Python
netrunner/test_settings.py
MrAGi/netrunner-cambridge
bae0603486c2aa5a980e8e19207452fb01ec2193
[ "MIT" ]
null
null
null
netrunner/test_settings.py
MrAGi/netrunner-cambridge
bae0603486c2aa5a980e8e19207452fb01ec2193
[ "MIT" ]
null
null
null
netrunner/test_settings.py
MrAGi/netrunner-cambridge
bae0603486c2aa5a980e8e19207452fb01ec2193
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .settings import * DEBUG = True TEMPLATE_DEBUG = DEBUG DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ['LOCAL_DB_NAME'], 'USER': os.environ['LOCAL_DB_USER'], 'PASSWORD': os.environ['LOCAL_DB_PASSWORD']...
21.222222
59
0.568063
44
382
4.75
0.659091
0.129187
0.200957
0.229665
0
0
0
0
0
0
0
0.041522
0.243456
382
18
60
21.222222
0.681661
0.054974
0
0
0
0
0.363889
0.105556
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
54f79d31af30b3622247fe2c6abad64bc05814e8
231
py
Python
Python_Exercicios/calcula_terreno.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
null
null
null
Python_Exercicios/calcula_terreno.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
1
2021-11-29T18:37:14.000Z
2021-11-29T18:37:14.000Z
Python_Exercicios/calcula_terreno.py
thalles-dreissig20/Quebra_Cabeca
eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79
[ "MIT" ]
null
null
null
def area(larg, comp): a = larg * comp print(f'A dimensão é {a}') print('Controle de terrenos') print('-' * 20) l = float(input('qual a largura do terreno: ')) c = float(input('qual o comprimento do terreno: ')) area(l , c)
25.666667
51
0.627706
38
231
3.815789
0.605263
0.110345
0.193103
0
0
0
0
0
0
0
0
0.010753
0.194805
231
9
52
25.666667
0.768817
0
0
0
0
0
0.409483
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.375
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54f7f3b4bb05515aa800aef3ce44e23eb1933bf4
443
py
Python
Desafios/desafio_041.py
romulogoleniesky/Python_C_E_V
2dcf5fb3505a20443788a284c52114c6434118ce
[ "MIT" ]
null
null
null
Desafios/desafio_041.py
romulogoleniesky/Python_C_E_V
2dcf5fb3505a20443788a284c52114c6434118ce
[ "MIT" ]
null
null
null
Desafios/desafio_041.py
romulogoleniesky/Python_C_E_V
2dcf5fb3505a20443788a284c52114c6434118ce
[ "MIT" ]
null
null
null
import datetime ano = (datetime.datetime.now()).year nasc = int(input("Digite o seu ano de nascimento: ")) categoria = 0 if (ano - nasc) <= 9: categoria = str("MIRIM") elif 9 < (ano - nasc) <= 14: categoria = str("INFANTIL") elif 14 < (ano - nasc) <= 19 : categoria = str("JUNIOR") elif 19 < (ano - nasc) <= ...
26.058824
53
0.616253
62
443
4.403226
0.548387
0.21978
0
0
0
0
0
0
0
0
0
0.036932
0.205418
443
16
54
27.6875
0.738636
0
0
0
0
0
0.235294
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
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
54f89b5cd05a9ee6ba8e82764ddc7f2a5b7aea7d
1,689
py
Python
eval/metrics.py
RecoHut-Stanzas/S168471
7e0ac621c36f839e1df6876ec517d0ad00672790
[ "BSD-3-Clause" ]
37
2020-06-15T02:04:37.000Z
2022-02-09T06:26:42.000Z
eval/metrics.py
RecoHut-Stanzas/S168471
7e0ac621c36f839e1df6876ec517d0ad00672790
[ "BSD-3-Clause" ]
5
2020-08-06T13:16:34.000Z
2022-02-04T07:29:29.000Z
eval/metrics.py
RecoHut-Stanzas/S168471
7e0ac621c36f839e1df6876ec517d0ad00672790
[ "BSD-3-Clause" ]
11
2020-09-01T23:08:51.000Z
2022-02-09T06:26:44.000Z
import torch def ndcg_binary_at_k_batch_torch(X_pred, heldout_batch, k=100, device='cpu'): """ Normalized Discounted Cumulative Gain@k for for predictions [B, I] and ground-truth [B, I], with binary relevance. ASSUMPTIONS: all the 0's in heldout_batch indicate 0 relevance. """ batch_users = X_pre...
44.447368
118
0.674956
271
1,689
3.9631
0.284133
0.055866
0.05121
0.024209
0.284916
0.251397
0.16946
0.16946
0.122905
0.063315
0
0.020231
0.18058
1,689
37
119
45.648649
0.75578
0.184725
0
0.16
0
0
0.002242
0
0
0
0
0
0
1
0.08
false
0
0.04
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54f8ec657caa5b90b66baca8ce435c82f8e1413e
5,029
py
Python
simba/run_dash_tkinter.py
justinshenk/simba
a58ccd0ceeda201c1452d186033ce6b25fbab564
[ "MIT" ]
172
2019-12-18T22:19:42.000Z
2022-03-29T01:58:25.000Z
simba/run_dash_tkinter.py
justinshenk/simba
a58ccd0ceeda201c1452d186033ce6b25fbab564
[ "MIT" ]
165
2020-01-10T19:05:16.000Z
2022-03-31T16:08:36.000Z
simba/run_dash_tkinter.py
justinshenk/simba
a58ccd0ceeda201c1452d186033ce6b25fbab564
[ "MIT" ]
80
2019-12-20T00:01:43.000Z
2022-03-29T16:20:10.000Z
# All credit to https://stackoverflow.com/questions/46571448/tkinter-and-a-html-file - thanks DELICA - https://stackoverflow.com/users/7027346/delica from cefpython3 import cefpython as cef import ctypes try: import tkinter as tk from tkinter import messagebox except ImportError: import Tkinter as tk impo...
30.478788
149
0.644064
596
5,029
5.263423
0.342282
0.084157
0.02869
0.035065
0.079056
0.042078
0
0
0
0
0
0.015686
0.239411
5,029
164
150
30.664634
0.804444
0.096838
0
0.07563
0
0
0.101041
0.026811
0
0
0.001329
0.006098
0.016807
1
0.134454
false
0
0.07563
0
0.268908
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54fb3d7c53a19a5375f0b43976b42347774b6cca
1,010
py
Python
domain_data/mujoco_worlds/make_xml.py
sfpd/rlreloaded
650c64ec22ad45996c8c577d85b1a4f20aa1c692
[ "MIT" ]
null
null
null
domain_data/mujoco_worlds/make_xml.py
sfpd/rlreloaded
650c64ec22ad45996c8c577d85b1a4f20aa1c692
[ "MIT" ]
null
null
null
domain_data/mujoco_worlds/make_xml.py
sfpd/rlreloaded
650c64ec22ad45996c8c577d85b1a4f20aa1c692
[ "MIT" ]
null
null
null
import re def do_substitution(in_lines): lines_iter = iter(in_lines) defn_lines = [] while True: try: line = lines_iter.next() except StopIteration: raise RuntimeError("didn't find line starting with ---") if line.startswith('---'): break e...
25.897436
68
0.581188
135
1,010
4.192593
0.481481
0.061837
0.056537
0.074205
0
0
0
0
0
0
0
0.004138
0.282178
1,010
38
69
26.578947
0.776552
0
0
0
0
0
0.059406
0
0
0
0
0
0
1
0.030303
false
0
0.090909
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54fbc8636ea0532bcc0fa404a8de1597f6db3f5f
354
py
Python
myproject/apps/events/migrations/0002_alter_eventhero_options.py
cahyareza/django_admin_cookbook
6c82dbd3aebe455b68feb020d5cad7978b8191b7
[ "MIT" ]
null
null
null
myproject/apps/events/migrations/0002_alter_eventhero_options.py
cahyareza/django_admin_cookbook
6c82dbd3aebe455b68feb020d5cad7978b8191b7
[ "MIT" ]
null
null
null
myproject/apps/events/migrations/0002_alter_eventhero_options.py
cahyareza/django_admin_cookbook
6c82dbd3aebe455b68feb020d5cad7978b8191b7
[ "MIT" ]
null
null
null
# Generated by Django 3.2.12 on 2022-03-28 11:57 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('events', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='eventhero', options={'verbose_name_plural': ...
19.666667
60
0.601695
36
354
5.833333
0.861111
0
0
0
0
0
0
0
0
0
0
0.078431
0.279661
354
17
61
20.823529
0.745098
0.129944
0
0
1
0
0.189542
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54fcf0226ece66aeec4bb6bba4646c87e745e2e5
799
py
Python
hilton_sign_in.py
bmintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
2
2018-11-12T10:33:13.000Z
2019-02-24T05:01:40.000Z
hilton_sign_in.py
iomintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
null
null
null
hilton_sign_in.py
iomintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
2
2018-11-24T08:16:59.000Z
2019-02-24T04:41:30.000Z
#!/usr/bin/env python3 # encoding: utf-8 import sys import urllib.parse import selenium.webdriver def exit(): driver.quit() sys.exit(0) driver = selenium.webdriver.Firefox() # for some reason, detectportal.firefox.com and connectivitycheck.gstatic.com are not blocked # therefore, they cannot be used to detect con...
30.730769
93
0.779725
119
799
5.07563
0.630252
0.066225
0.112583
0.125828
0.241722
0.241722
0.192053
0.125828
0
0
0
0.006859
0.08761
799
25
94
31.96
0.821674
0.310388
0
0.133333
0
0
0.208791
0.045788
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54fd38f1410793bf1398c7ca975380689133f595
1,539
py
Python
src/figures/trends/leaf_response.py
rhyswhitley/savanna_iav
4eadf29a4e9c05d0b14d3b9c973eb8db3ea7edba
[ "CC0-1.0" ]
null
null
null
src/figures/trends/leaf_response.py
rhyswhitley/savanna_iav
4eadf29a4e9c05d0b14d3b9c973eb8db3ea7edba
[ "CC0-1.0" ]
null
null
null
src/figures/trends/leaf_response.py
rhyswhitley/savanna_iav
4eadf29a4e9c05d0b14d3b9c973eb8db3ea7edba
[ "CC0-1.0" ]
1
2019-09-01T04:15:21.000Z
2019-09-01T04:15:21.000Z
#!/usr/bin/env python import os from collections import OrderedDict import cPickle as pickle import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec from matplotlib.cm import get_cmap from matplotlib import style from scipy import stats from scipy import integrate ...
23.676923
83
0.684211
219
1,539
4.666667
0.420091
0.039139
0.054795
0.07045
0
0
0
0
0
0
0
0.020717
0.184535
1,539
64
84
24.046875
0.793626
0.066277
0
0.05
0
0
0.101257
0.046089
0
0
0
0
0
1
0.05
false
0
0.275
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54fe1eee5bca5dc248b6bf225d479bd8fc671965
1,041
py
Python
app/index.py
vprnet/school-closings
04c63170ea36cabe0a3486f0e58830952e1fd0a8
[ "Apache-2.0" ]
null
null
null
app/index.py
vprnet/school-closings
04c63170ea36cabe0a3486f0e58830952e1fd0a8
[ "Apache-2.0" ]
null
null
null
app/index.py
vprnet/school-closings
04c63170ea36cabe0a3486f0e58830952e1fd0a8
[ "Apache-2.0" ]
null
null
null
#!/usr/local/bin/python2.7 from flask import Flask import sys from flask_frozen import Freezer from upload_s3 import set_metadata from config import AWS_DIRECTORY app = Flask(__name__) app.config.from_object('config') from views import * # Serving from s3 leads to some complications in how static files are served i...
24.209302
76
0.668588
142
1,041
4.640845
0.450704
0.053111
0.060698
0.036419
0.039454
0
0
0
0
0
0
0.01107
0.21902
1,041
42
77
24.785714
0.799508
0.096061
0
0.066667
0
0
0.057508
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07010f1430c53be8c3d42e4a620d3fc295e28964
1,799
py
Python
proxyclient/linux.py
modwizcode/m1n1
96d133e854dfe878ea39f9c994545a2026a446a8
[ "MIT" ]
1
2021-06-05T08:30:21.000Z
2021-06-05T08:30:21.000Z
proxyclient/linux.py
modwizcode/m1n1
96d133e854dfe878ea39f9c994545a2026a446a8
[ "MIT" ]
null
null
null
proxyclient/linux.py
modwizcode/m1n1
96d133e854dfe878ea39f9c994545a2026a446a8
[ "MIT" ]
null
null
null
#!/usr/bin/python from setup import * payload = open(sys.argv[1], "rb").read() dtb = open(sys.argv[2], "rb").read() if len(sys.argv) > 3: initramfs = open(sys.argv[3], "rb").read() initramfs_size = len(initramfs) else: initramfs = None initramfs_size = 0 compressed_size = len(payload) compressed_addr...
24.310811
114
0.721512
269
1,799
4.635688
0.301115
0.096231
0.076985
0.067362
0.110666
0.070569
0.070569
0.070569
0
0
0
0.027724
0.137854
1,799
73
115
24.643836
0.776273
0.111173
0
0
0
0
0.128607
0
0
0
0.006901
0
0.022727
1
0
false
0
0.022727
0
0.022727
0.227273
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07027cec6982fe1f9197878d8796ee05b6d45b5e
1,313
py
Python
src/server.py
shizhongpwn/ancypwn
716146e4986c514754492c8503ab196eecb9466d
[ "MIT" ]
1
2021-06-29T03:41:27.000Z
2021-06-29T03:41:27.000Z
src/server.py
shizhongpwn/ancypwn
716146e4986c514754492c8503ab196eecb9466d
[ "MIT" ]
null
null
null
src/server.py
shizhongpwn/ancypwn
716146e4986c514754492c8503ab196eecb9466d
[ "MIT" ]
1
2021-06-18T05:36:28.000Z
2021-06-18T05:36:28.000Z
import json import os import multiprocessing import struct import importlib from socketserver import TCPServer, StreamRequestHandler def plugin_module_import(name): try: return importlib.import_module(name) except ModuleNotFoundError as e: prompt = 'plugin {} not found, please install it first...
31.261905
79
0.657273
140
1,313
6.035714
0.478571
0.028402
0.042604
0
0
0
0
0
0
0
0
0.002947
0.224676
1,313
41
80
32.02439
0.827112
0
0
0
0
0
0.113481
0
0
0
0
0
0
1
0.121212
false
0
0.272727
0
0.484848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0703c45ad1851ac29ed524b5ee1616259ba14bdb
537
py
Python
pytorch_utils/collection_utils.py
c-hofer/pytorch_utils
55278272690937ff1180c8d549bc866a63a5ac51
[ "MIT" ]
null
null
null
pytorch_utils/collection_utils.py
c-hofer/pytorch_utils
55278272690937ff1180c8d549bc866a63a5ac51
[ "MIT" ]
null
null
null
pytorch_utils/collection_utils.py
c-hofer/pytorch_utils
55278272690937ff1180c8d549bc866a63a5ac51
[ "MIT" ]
null
null
null
def keychain_value_iter(d, key_chain=None, allowed_values=None): key_chain = [] if key_chain is None else list(key_chain).copy() if not isinstance(d, dict): if allowed_values is not None: assert isinstance(d, allowed_values), 'Value needs to be of type {}!'.format( allowed_v...
38.357143
89
0.588454
72
537
4.166667
0.444444
0.16
0.113333
0
0
0
0
0
0
0
0
0
0.324022
537
14
90
38.357143
0.826446
0
0
0
0
0
0.053903
0
0
0
0
0
0.076923
1
0.076923
false
0
0
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
0
0
0
0
0
0
1
0
0704c30e12f5e2ffe2ea17cf59fe41a9fd37e4af
565
py
Python
speech_to_text/views.py
zace3d/video_analysis
9001486ae64160ca497f6b9a99df5d9a5c5422cc
[ "Apache-2.0" ]
null
null
null
speech_to_text/views.py
zace3d/video_analysis
9001486ae64160ca497f6b9a99df5d9a5c5422cc
[ "Apache-2.0" ]
9
2019-12-04T22:38:16.000Z
2021-06-10T17:51:32.000Z
speech_to_text/views.py
zace3d/video_analysis
9001486ae64160ca497f6b9a99df5d9a5c5422cc
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.contrib.auth.decorators import login_required from django.http import JsonResponse from django.views.decorators.csrf import csrf_exempt from . import helpers # Create your views here. @csrf_exempt def convert_video(request, version): # Get video video = reques...
25.681818
70
0.766372
72
565
5.930556
0.569444
0.093677
0
0
0
0
0
0
0
0
0
0.002101
0.157522
565
22
71
25.681818
0.894958
0.235398
0
0
0
0
0.011682
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
070792428b154808490c0fc141036d69c221ccfb
2,981
py
Python
security_monkey/watchers/vpc/vpn.py
boladmin/security_monkey
c28592ffd518fa399527d26262683fc860c30eef
[ "Apache-2.0" ]
4,258
2015-01-04T22:06:10.000Z
2022-03-31T23:40:27.000Z
security_monkey/watchers/vpc/vpn.py
boladmin/security_monkey
c28592ffd518fa399527d26262683fc860c30eef
[ "Apache-2.0" ]
1,013
2015-01-12T02:31:03.000Z
2021-09-16T19:09:03.000Z
security_monkey/watchers/vpc/vpn.py
boladmin/security_monkey
c28592ffd518fa399527d26262683fc860c30eef
[ "Apache-2.0" ]
965
2015-01-11T21:06:07.000Z
2022-03-17T16:53:57.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 # ...
37.2625
115
0.614223
334
2,981
5.353293
0.47006
0.033557
0.014541
0.017897
0
0
0
0
0
0
0
0.004632
0.275746
2,981
79
116
37.734177
0.823529
0.300235
0
0
0
0
0.175872
0.07655
0
0
0
0
0
1
0.116279
false
0
0.069767
0.023256
0.395349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0708030cc6b0ac486ef0bd568029e80e9873483c
2,332
py
Python
particle.py
coush001/Imperial-MSc-Group-Project-2
9309217895802d11c6fe9d2dca9b21f98fbc1c61
[ "MIT" ]
null
null
null
particle.py
coush001/Imperial-MSc-Group-Project-2
9309217895802d11c6fe9d2dca9b21f98fbc1c61
[ "MIT" ]
null
null
null
particle.py
coush001/Imperial-MSc-Group-Project-2
9309217895802d11c6fe9d2dca9b21f98fbc1c61
[ "MIT" ]
null
null
null
from itertools import count import numpy as np class Particle(object): """Object containing all the properties for a single particle""" _ids = count(0) def __init__(self, main_data=None, x=np.zeros(2)): self.id = next(self._ids) self.main_data = main_data self.x = np.array(x) ...
30.285714
107
0.551887
344
2,332
3.578488
0.264535
0.116978
0.10723
0.038993
0.090983
0
0
0
0
0
0
0.013208
0.318182
2,332
76
108
30.684211
0.761006
0.150086
0
0.037736
0
0
0.056273
0
0
0
0
0
0
1
0.226415
false
0
0.037736
0.018868
0.339623
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
0708b3e7b515fbe0913b6b5bb88c0fbd4c828abe
501
py
Python
app/main/form.py
hussein18149/PITCHBOARD
9aa515f8dd18464830bdf80488a317e8e791bd1b
[ "MIT" ]
null
null
null
app/main/form.py
hussein18149/PITCHBOARD
9aa515f8dd18464830bdf80488a317e8e791bd1b
[ "MIT" ]
null
null
null
app/main/form.py
hussein18149/PITCHBOARD
9aa515f8dd18464830bdf80488a317e8e791bd1b
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField,TextAreaField,SubmitField from wtforms.validators import Required class UpdateProfile(FlaskForm): about = TextAreaField('Tell us about you.',validators = [Required()]) submit = SubmitField('Submit') class PitchForm(FlaskForm): pitch = TextAre...
31.3125
73
0.754491
53
501
7.113208
0.509434
0.135279
0.183024
0.148541
0
0
0
0
0
0
0
0
0.147705
501
15
74
33.4
0.882904
0
0
0.25
0
0
0.141717
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
1
0
0
2
07092a144b2a5c13ba5ef9b78acec4dd39f5a15b
4,840
py
Python
soar_instruments/sami/adclass.py
soar-telescope/dragons-soar
a1c600074f532c1af6bd59bc2cc662a1aecd39c4
[ "MIT" ]
1
2017-10-31T21:02:59.000Z
2017-10-31T21:02:59.000Z
soar_instruments/sami/adclass.py
soar-telescope/dragons-soar
a1c600074f532c1af6bd59bc2cc662a1aecd39c4
[ "MIT" ]
null
null
null
soar_instruments/sami/adclass.py
soar-telescope/dragons-soar
a1c600074f532c1af6bd59bc2cc662a1aecd39c4
[ "MIT" ]
null
null
null
import re import astrodata from astrodata import (astro_data_tag, TagSet, astro_data_descriptor, returns_list) from astrodata.fits import FitsLoader, FitsProvider from ..soar import AstroDataSOAR class AstroDataSAMI(AstroDataSOAR): __keyword_dict = dict(data_section='DATASEC', gain='GAIN'...
33.846154
79
0.590083
612
4,840
4.576797
0.320261
0.038558
0.064263
0.052481
0.262406
0.209568
0.165655
0.131382
0.079971
0.079971
0
0.004763
0.305992
4,840
143
80
33.846154
0.829116
0.35186
0
0.151515
0
0
0.097991
0
0
0
0
0
0
1
0.19697
false
0
0.075758
0.030303
0.484848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0709b6cd82b1f84edf49917175e51ec7e1ae9747
264
py
Python
practice/src/design_pattern/TemplateMethod.py
t10471/python
75056454bfb49197eb44f6b4d6a1b0a0b4b408ec
[ "MIT" ]
null
null
null
practice/src/design_pattern/TemplateMethod.py
t10471/python
75056454bfb49197eb44f6b4d6a1b0a0b4b408ec
[ "MIT" ]
null
null
null
practice/src/design_pattern/TemplateMethod.py
t10471/python
75056454bfb49197eb44f6b4d6a1b0a0b4b408ec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #単なる継承 class Base(object): def __init__(self): pass def meth(self, int): return self._meth(int) def _meth(self, int): return int class Pow(Base): def _meth(self, int): return pow(int,int)
15.529412
30
0.556818
36
264
3.888889
0.416667
0.15
0.235714
0.3
0.428571
0
0
0
0
0
0
0.005435
0.30303
264
16
31
16.5
0.755435
0.098485
0
0.2
0
0
0
0
0
0
0
0
0
1
0.4
false
0.1
0
0.3
0.9
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
6
070a2f74e288d9e0f7d67adf9e2e415a8758caa2
1,957
py
Python
yoon/stage1_kernel.py
yoon28/realsr-noise-injection
402679490bf0972d09aaaadee3b5b9850c2a36e4
[ "Apache-2.0" ]
17
2020-07-29T11:08:19.000Z
2021-01-07T11:23:33.000Z
yoon/stage1_kernel.py
yoon28/realsr-noise-injection
402679490bf0972d09aaaadee3b5b9850c2a36e4
[ "Apache-2.0" ]
5
2020-08-04T02:51:39.000Z
2020-08-21T03:44:08.000Z
yoon/stage1_kernel.py
yoon28/realsr-noise-injection
402679490bf0972d09aaaadee3b5b9850c2a36e4
[ "Apache-2.0" ]
null
null
null
import os, sys import numpy as np import cv2 import random import torch from configs import Config from kernelGAN import KernelGAN from data import DataGenerator from learner import Learner import tqdm DATA_LOC = "/mnt/data/NTIRE2020/realSR/track2" # "/mnt/data/NTIRE2020/realSR/track1" DATA_X = "DPEDiphone-tr-x" # ...
30.107692
130
0.654573
294
1,957
4.156463
0.329932
0.03928
0.0491
0.06874
0.201309
0.201309
0.201309
0.141571
0.090835
0.090835
0
0.014678
0.199285
1,957
64
131
30.578125
0.765156
0.048033
0
0
0
0
0.095315
0.017771
0
0
0
0
0
1
0.038462
false
0
0.192308
0
0.25
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
070a513dc67a15b46d7b419d4ba1b638e56fb11a
731
py
Python
test/rdfa/test_non_xhtml.py
RDFLib/PyRDFa
efc24d4940910ca1e65900c25b62047301bbdcc7
[ "BSD-3-Clause" ]
8
2015-04-01T19:55:22.000Z
2020-04-25T08:50:05.000Z
test/rdfa/test_non_xhtml.py
DalavanCloud/PyRDFa
fd5c8826fb9e5f6f5a578564b1149fdae6c40aad
[ "BSD-3-Clause" ]
null
null
null
test/rdfa/test_non_xhtml.py
DalavanCloud/PyRDFa
fd5c8826fb9e5f6f5a578564b1149fdae6c40aad
[ "BSD-3-Clause" ]
1
2019-02-12T03:15:00.000Z
2019-02-12T03:15:00.000Z
from unittest import TestCase from pyRdfa import pyRdfa class NonXhtmlTest(TestCase): """ RDFa that is in not well-formed XHTML is passed through html5lib. These tests make sure that this RDFa can be processed both from a file, and from a URL. """ target1 = '<og:isbn>9780596516499</og:isbn>'...
33.227273
100
0.682627
105
731
4.67619
0.571429
0.020367
0.044807
0.057026
0.150713
0.09776
0
0
0
0
0
0.077703
0.19015
731
21
101
34.809524
0.751689
0.212038
0
0
0
0.090909
0.343013
0.22323
0
0
0
0
0.181818
1
0.181818
false
0
0.181818
0
0.636364
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
070a6926f75c6689b9bf183a8c81961b1ffe5bbd
1,150
py
Python
python/pyoai/setup.py
jr3cermak/robs-kitchensink
74b7eb1b1acd8b700d61c5a9ba0c69be3cc6763a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
python/pyoai/setup.py
jr3cermak/robs-kitchensink
74b7eb1b1acd8b700d61c5a9ba0c69be3cc6763a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
python/pyoai/setup.py
jr3cermak/robs-kitchensink
74b7eb1b1acd8b700d61c5a9ba0c69be3cc6763a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages from os.path import join, dirname setup( name='pyoai', version='2.4.6.b', author='Infrae', author_email='rob.cermak@gmail.com', url='https://github.com/jr3cermak/robs-kitchensink/tree/master/python/pyoai', classifiers=["Development Status :: 4 - Beta"...
35.9375
81
0.650435
133
1,150
5.511278
0.736842
0.04502
0.040928
0.051842
0
0
0
0
0
0
0
0.00655
0.203478
1,150
31
82
37.096774
0.793668
0
0
0
0
0
0.511304
0
0
0
0
0
0
1
0
true
0
0.068966
0
0.068966
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
070b402dc83b92f4ca29c79684b3e9fb26a6238f
4,201
py
Python
utils/functions.py
Roozbeh-Bazargani/CPSC-533R-project
453f093b23d2363f09c61079d1d4fbd878abf3be
[ "MIT" ]
null
null
null
utils/functions.py
Roozbeh-Bazargani/CPSC-533R-project
453f093b23d2363f09c61079d1d4fbd878abf3be
[ "MIT" ]
null
null
null
utils/functions.py
Roozbeh-Bazargani/CPSC-533R-project
453f093b23d2363f09c61079d1d4fbd878abf3be
[ "MIT" ]
null
null
null
import torch from torch import nn import math #0 left hip #1 left knee #2 left foot #3 right hip #4 right knee #5 right foot #6 middle hip #7 neck #8 nose #9 head #10 left shoulder #11 left elbow #12 left wrist #13 right shoulder #14 right elbow #15 right wrist def random_rotation(J3d): J = J3d # need copy???? ba...
42.434343
181
0.633183
778
4,201
3.352185
0.137532
0.041411
0.045629
0.039877
0.754218
0.704755
0.655291
0.639571
0.639571
0.592791
0
0.047715
0.176863
4,201
99
182
42.434343
0.706478
0.303023
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.09375
0
0.34375
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
070c8541550d5f85dceb7ec0adf8c900bec0c786
303
py
Python
Desafio Python/Aula 22 des109.py
ayresmajor/Curso-python
006229cec38ea365bf43b19e3ce93fbd32e1dca6
[ "MIT" ]
null
null
null
Desafio Python/Aula 22 des109.py
ayresmajor/Curso-python
006229cec38ea365bf43b19e3ce93fbd32e1dca6
[ "MIT" ]
null
null
null
Desafio Python/Aula 22 des109.py
ayresmajor/Curso-python
006229cec38ea365bf43b19e3ce93fbd32e1dca6
[ "MIT" ]
null
null
null
from des109 import moeda preco = float(input('Digite o preço pretendido: €')) print(f'''A metade do preço é {(moeda.metade(preco))} O dobro do preço é {(moeda.dobra(preco))} Aumentando o preço 10% temos {(moeda.aumentar(preco, 10))} Diminuindo o preço 13% temos {(moeda.aumentar(preco, 13))}''')
37.875
64
0.693069
48
303
4.395833
0.541667
0.085308
0.075829
0.123223
0
0
0
0
0
0
0
0.042471
0.145215
303
7
65
43.285714
0.76834
0
0
0
0
0
0.782178
0.30033
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
070d242ccbb22625007056e552b13c344fbecb38
474
py
Python
Chapter13_code/ch13_r05_using_the_rpc_api/xmlrpc.py
PacktPublishing/Odoo-Development-Cookbook
5553110c0bc352c4541f11904e236cad3c443b8b
[ "MIT" ]
55
2016-05-23T16:05:50.000Z
2021-07-19T00:16:46.000Z
Chapter13_code/ch13_r05_using_the_rpc_api/xmlrpc.py
kogkog098/Odoo-Development-Cookbook
166c9b98efbc9108b30d719213689afb1f1c294d
[ "MIT" ]
1
2016-12-09T02:14:21.000Z
2018-07-02T09:02:20.000Z
Chapter13_code/ch13_r05_using_the_rpc_api/xmlrpc.py
kogkog098/Odoo-Development-Cookbook
166c9b98efbc9108b30d719213689afb1f1c294d
[ "MIT" ]
52
2016-06-01T20:03:59.000Z
2020-10-31T23:58:25.000Z
#!/usr/bin/env python2 import xmlrpclib db = 'odoo9' user = 'admin' password = 'admin' uid = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/2/common')\ .authenticate(db, user, password, {}) odoo = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/2/object') installed_modules = odoo.execute_kw( db, uid, ...
31.6
69
0.681435
58
474
5.5
0.603448
0.125392
0.15047
0.206897
0.275862
0.275862
0.275862
0
0
0
0
0.028916
0.124473
474
14
70
33.857143
0.739759
0.044304
0
0
0
0
0.307522
0
0
0
0
0
0
0
null
null
0.25
0.083333
null
null
0.083333
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
1
0
0
1
0
0
0
0
0
3
070dfc39dd180a0fc71b0110b529e2e8beee6cea
10,971
py
Python
python/zzz/v1-all_feat_cnn/components/features.py
emorynlp/character-identification-old
f6519166dd30bd8140f05aa3e43225ab27c2ea6d
[ "Apache-2.0" ]
1
2019-09-03T13:38:08.000Z
2019-09-03T13:38:08.000Z
python/zzz/v1-all_feat_cnn/components/features.py
emorynlp/character-identification-old
f6519166dd30bd8140f05aa3e43225ab27c2ea6d
[ "Apache-2.0" ]
null
null
null
python/zzz/v1-all_feat_cnn/components/features.py
emorynlp/character-identification-old
f6519166dd30bd8140f05aa3e43225ab27c2ea6d
[ "Apache-2.0" ]
null
null
null
from abc import * import numpy as np ########################################################### class AbstractFeatureExtractor(object): @abstractmethod def extract(self, object): return ########################################################### class EntityFeatureExtractor(AbstractFeatureExtractor...
44.417004
120
0.668854
1,420
10,971
4.93662
0.107042
0.03495
0.046362
0.055777
0.385307
0.324964
0.25321
0.203852
0.189301
0.161626
0
0.009853
0.232158
10,971
246
121
44.597561
0.822293
0.090329
0
0.052326
0
0
0.000821
0
0
0
0
0
0
1
0.127907
false
0
0.011628
0.034884
0.284884
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
070fb86171845062c7fc24a28acd90660006212e
521
py
Python
ufdl-core-app/src/ufdl/core_app/models/mixins/_UserRestrictedQuerySet.py
waikato-ufdl/ufdl-backend
776fc906c61eba6c2f2e6324758e7b8a323e30d7
[ "Apache-2.0" ]
null
null
null
ufdl-core-app/src/ufdl/core_app/models/mixins/_UserRestrictedQuerySet.py
waikato-ufdl/ufdl-backend
776fc906c61eba6c2f2e6324758e7b8a323e30d7
[ "Apache-2.0" ]
85
2020-07-24T00:04:28.000Z
2022-02-10T10:35:15.000Z
ufdl-core-app/src/ufdl/core_app/models/mixins/_UserRestrictedQuerySet.py
waikato-ufdl/ufdl-backend
776fc906c61eba6c2f2e6324758e7b8a323e30d7
[ "Apache-2.0" ]
null
null
null
from django.db import models class UserRestrictedQuerySet(models.QuerySet): """ Query-set base class for models which apply per-instance permissions based on the user accessing them. """ def for_user(self, user): """ Filters the query-set to those instances that the given u...
28.944444
79
0.658349
61
521
5.52459
0.655738
0.071217
0
0
0
0
0
0
0
0
0
0
0.270633
521
17
80
30.647059
0.886842
0.483685
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
071028fc162506887f63334754f84e376a76520e
31,879
py
Python
sdk/python/pulumi_azure_native/eventgrid/partner_registration.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/eventgrid/partner_registration.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/eventgrid/partner_registration.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
51.584142
454
0.685624
3,730
31,879
5.579088
0.065952
0.068188
0.071985
0.065545
0.864825
0.820663
0.763671
0.710812
0.681691
0.61802
0
0.014617
0.225258
31,879
617
455
51.667747
0.827962
0.301546
0
0.445983
1
0
0.160628
0.104837
0
0
0
0
0
1
0.155125
false
0.00277
0.019391
0
0.277008
0
0
0
0
null
0
0
0
1
1
1
1
0
1
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
6
071099c9cb76fe44fe601d2109b5cad6021d0a3d
2,420
py
Python
_ar/masking_provement.py
TomKingsfordUoA/ResidualMaskingNetwork
6ce5ddf70f8ac8f1e6da2746b0bbeb9e457ceb7d
[ "MIT" ]
242
2020-01-09T11:06:21.000Z
2022-03-26T14:51:48.000Z
_ar/masking_provement.py
huyhnueit68/ResidualMaskingNetwork
b77abb6e548b9a09b5c96b1592d71332b45d050e
[ "MIT" ]
33
2020-01-09T08:42:10.000Z
2022-03-23T07:52:56.000Z
_ar/masking_provement.py
huyhnueit68/ResidualMaskingNetwork
b77abb6e548b9a09b5c96b1592d71332b45d050e
[ "MIT" ]
61
2020-01-19T02:20:37.000Z
2022-03-25T13:08:48.000Z
import os import glob import cv2 import numpy as np import torch from torchvision.transforms import transforms from natsort import natsorted from models import resmasking_dropout1 from utils.datasets.fer2013dataset import EMOTION_DICT from barez import show transform = transforms.Compose( [ transforms.ToPI...
26.021505
85
0.647934
343
2,420
4.457726
0.344023
0.014388
0.034009
0.010464
0.153695
0.064748
0.064748
0.043165
0.043165
0
0
0.057903
0.207851
2,420
92
86
26.304348
0.739697
0.183471
0
0.061538
0
0
0.064796
0.063265
0
0
0
0
0
1
0.015385
false
0
0.153846
0
0.184615
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07112b5b2ca5ebda12c4c78461b67e41243aa4a8
1,727
py
Python
Python/Gerenciador de pagamentos.py
Kauan677/Projetos-Python
62f6b476e6d250d9ff31c95808b31ebd3ab4fdbb
[ "MIT" ]
1
2022-03-03T23:19:57.000Z
2022-03-03T23:19:57.000Z
Python/Gerenciador de pagamentos.py
Kauan677/Projetos-Python
62f6b476e6d250d9ff31c95808b31ebd3ab4fdbb
[ "MIT" ]
null
null
null
Python/Gerenciador de pagamentos.py
Kauan677/Projetos-Python
62f6b476e6d250d9ff31c95808b31ebd3ab4fdbb
[ "MIT" ]
null
null
null
import time import colorama def gerenciador_de_pagamento(): preço = float(str(input('Preço das compras: R$'))) print('''Escolha de pagamento: [ 1 ]A vista dinheiro/cheque: 10% de desconto. [ 2 ]A vista no cartão: 5% de desconto. [ 3 ]Em até duas 2x no cartão: preço formal. [ 4 ]3x ou mais no car...
38.377778
105
0.59062
237
1,727
4.278481
0.341772
0.04142
0.043393
0.063116
0.2357
0.195266
0.149901
0.149901
0.149901
0.149901
0
0.038613
0.2652
1,727
44
106
39.25
0.760441
0
0
0.119048
0
0.047619
0.522319
0
0
0
0
0
0
1
0.02381
false
0.02381
0.047619
0
0.095238
0.309524
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0711bae755946fd50e5034659184b298bbe243f6
1,786
py
Python
src/scs_core/osio/data/abstract_topic.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
3
2019-03-12T01:59:58.000Z
2020-09-12T07:27:42.000Z
src/scs_core/osio/data/abstract_topic.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
1
2018-04-20T07:58:38.000Z
2021-03-27T08:52:45.000Z
src/scs_core/osio/data/abstract_topic.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
4
2017-09-29T13:08:43.000Z
2019-10-09T09:13:58.000Z
""" Created on 2 Apr 2017 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ from collections import OrderedDict from scs_core.data.json import JSONable # -------------------------------------------------------------------------------------------------------------------- class AbstractTopic(JSONable):...
23.194805
118
0.403135
132
1,786
5.212121
0.325758
0.069767
0.101744
0
0
0
0
0
0
0
0
0.003867
0.276036
1,786
76
119
23.5
0.528229
0.333707
0
0.151515
0
0
0.03169
0
0
0
0
0
0
1
0.212121
false
0
0.060606
0.151515
0.484848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
0711c47f68c0681b184df5cde182256dcc62322f
11,286
py
Python
sdk/python/pulumi_azure_native/notificationhubs/latest/get_namespace.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/notificationhubs/latest/get_namespace.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/notificationhubs/latest/get_namespace.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
37.003279
329
0.641148
1,318
11,286
5.243551
0.14264
0.016495
0.043988
0.082477
0.28158
0.166257
0.11677
0.079728
0.055853
0.032412
0
0.001668
0.256158
11,286
304
330
37.125
0.82156
0.125199
0
0.142157
1
0.009804
0.179446
0.020021
0
0
0
0
0
1
0.107843
false
0
0.029412
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0713544bf0325f76443f346f91d5551b3d2799f3
393
py
Python
chue/utils.py
naren-m/chue
6f77ad990c911353524c5c99bcf6e30155edaf97
[ "MIT" ]
null
null
null
chue/utils.py
naren-m/chue
6f77ad990c911353524c5c99bcf6e30155edaf97
[ "MIT" ]
null
null
null
chue/utils.py
naren-m/chue
6f77ad990c911353524c5c99bcf6e30155edaf97
[ "MIT" ]
null
null
null
import json from pygments import highlight from pygments.lexers import JsonLexer from pygments.formatters import TerminalFormatter def print_json_obj(json_object): json_str = json.dumps(json_object, indent=4, sort_keys=True) print(highlight(json_str, JsonLexer(), TerminalFormatter())) def print_json_str(jso...
28.071429
64
0.793893
51
393
5.901961
0.392157
0.116279
0.166113
0.192691
0.312292
0.312292
0
0
0
0
0
0.002874
0.114504
393
13
65
30.230769
0.862069
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0
0.666667
0.444444
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
1
0
4
0713bf1d16fde855bda0ed021b030d08feadd022
3,486
py
Python
selfdrive/car/chrysler/radar_interface.py
919bot/Tessa
9b48ff9020e8fb6992fc78271f2720fd19e01093
[ "MIT" ]
85
2019-06-14T17:51:31.000Z
2022-02-09T22:18:20.000Z
selfdrive/car/chrysler/radar_interface.py
919bot/Tessa
9b48ff9020e8fb6992fc78271f2720fd19e01093
[ "MIT" ]
4
2020-04-12T21:34:03.000Z
2020-04-15T22:22:15.000Z
selfdrive/car/chrysler/radar_interface.py
919bot/Tessa
9b48ff9020e8fb6992fc78271f2720fd19e01093
[ "MIT" ]
73
2018-12-03T19:34:42.000Z
2020-07-27T05:10:23.000Z
#!/usr/bin/env python3 import os from opendbc.can.parser import CANParser from cereal import car from selfdrive.car.interfaces import RadarInterfaceBase RADAR_MSGS_C = list(range(0x2c2, 0x2d4+2, 2)) # c_ messages 706,...,724 RADAR_MSGS_D = list(range(0x2a2, 0x2b4+2, 2)) # d_ messages LAST_MSG = max(RADAR_MSGS_C + RA...
37.085106
98
0.645439
520
3,486
4.126923
0.344231
0.062908
0.037279
0.029357
0.070829
0.031687
0
0
0
0
0
0.03624
0.240103
3,486
93
99
37.483871
0.773877
0.274527
0
0.03125
0
0
0.063651
0.019215
0
0
0.008006
0.010753
0
1
0.0625
false
0
0.0625
0
0.21875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0714065ddc085782b982ec392f121b65f95bc048
911
py
Python
mod/tools/ccmake.py
mattiasljungstrom/fips
8775e299f710ae5b977d49dc0672b607f2a10378
[ "MIT" ]
429
2015-01-06T18:44:20.000Z
2022-03-19T22:22:11.000Z
mod/tools/ccmake.py
mattiasljungstrom/fips
8775e299f710ae5b977d49dc0672b607f2a10378
[ "MIT" ]
254
2015-01-01T18:11:57.000Z
2022-03-22T09:55:51.000Z
mod/tools/ccmake.py
mattiasljungstrom/fips
8775e299f710ae5b977d49dc0672b607f2a10378
[ "MIT" ]
102
2015-01-17T11:41:16.000Z
2022-02-24T23:47:30.000Z
""" wrapper for ccmake command line tool """ import subprocess name = 'ccmake' platforms = ['linux', 'osx'] optional = True not_found = "required for 'fips config' functionality" #------------------------------------------------------------------------------- def check_exists(fips_dir) : """test if ccmake is in t...
26.794118
80
0.535675
93
911
5.172043
0.602151
0.049896
0.04158
0.049896
0.079002
0.079002
0
0
0
0
0
0.001376
0.201976
911
33
81
27.606061
0.660248
0.453348
0
0
0
0
0.170732
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
071593280ef30a4532ccbb4b6f3c6b4f7d728fa5
4,251
py
Python
image_quality/handlers/data_generator.py
mbartoli/image-quality-assessment
b957c781ac8a11f8668f58345524f33503338b3b
[ "Apache-2.0" ]
1
2021-03-27T15:09:30.000Z
2021-03-27T15:09:30.000Z
image_quality/handlers/data_generator.py
welcotravel/image-quality-assessment
b9e17de93578220e5ae142725d9153098759e7c8
[ "Apache-2.0" ]
null
null
null
image_quality/handlers/data_generator.py
welcotravel/image-quality-assessment
b9e17de93578220e5ae142725d9153098759e7c8
[ "Apache-2.0" ]
1
2020-10-05T03:20:53.000Z
2020-10-05T03:20:53.000Z
import os import numpy as np import tensorflow as tf from image_quality.utils import utils class TrainDataGenerator(tf.keras.utils.Sequence): '''inherits from Keras Sequence base object, allows to use multiprocessing in .fit_generator''' def __init__(self, samples, img_dir, batch_size, n_classes, basenet_preproc...
40.485714
106
0.713479
630
4,251
4.592063
0.188889
0.058071
0.034221
0.025925
0.887314
0.853094
0.853094
0.853094
0.853094
0.853094
0
0.009316
0.191955
4,251
104
107
40.875
0.832897
0.26088
0
0.760563
0
0
0.011261
0
0
0
0
0
0
1
0.140845
false
0
0.056338
0.028169
0.309859
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
07167e515430a27837434e8e166dc173dffdcc37
1,914
py
Python
codewars/4 kyu/strip-comments.py
sirken/coding-practice
9c5e23b2c24f525a89a5e1d15ce3aec3ad1a01ab
[ "MIT" ]
null
null
null
codewars/4 kyu/strip-comments.py
sirken/coding-practice
9c5e23b2c24f525a89a5e1d15ce3aec3ad1a01ab
[ "MIT" ]
null
null
null
codewars/4 kyu/strip-comments.py
sirken/coding-practice
9c5e23b2c24f525a89a5e1d15ce3aec3ad1a01ab
[ "MIT" ]
null
null
null
from Test import Test, Test as test ''' Complete the solution so that it strips all text that follows any of a set of comment markers passed in. Any whitespace at the end of the line should also be stripped out. Example: Given an input string of: apples, pears # and bananas grapes bananas !apples The output expecte...
31.9
171
0.640021
273
1,914
4.47619
0.384615
0.05401
0.03437
0.051555
0.104746
0.081833
0.081833
0.081833
0
0
0
0.001341
0.221003
1,914
59
172
32.440678
0.818243
0.143678
0
0.346154
0
0
0.198055
0.040672
0
0
0
0
0.115385
1
0.115385
false
0
0.038462
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0718f25c782fcd74f5e9c8f0ae638c3321dd5b08
6,221
py
Python
qat/interop/qiskit/quantum_channels.py
myQLM/myqlm-interop
9d77cb7c719f82be05d9f88493522940b8142124
[ "Apache-2.0" ]
5
2020-09-09T09:44:31.000Z
2021-07-02T09:49:21.000Z
qat/interop/qiskit/quantum_channels.py
myQLM/myqlm-interop
9d77cb7c719f82be05d9f88493522940b8142124
[ "Apache-2.0" ]
null
null
null
qat/interop/qiskit/quantum_channels.py
myQLM/myqlm-interop
9d77cb7c719f82be05d9f88493522940b8142124
[ "Apache-2.0" ]
3
2020-07-10T17:51:47.000Z
2021-04-13T16:33:44.000Z
# -*- coding: utf-8 -*- """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Versi...
37.70303
96
0.649735
758
6,221
5.24934
0.201847
0.030158
0.019603
0.03619
0.476502
0.463433
0.403368
0.353606
0.339533
0.306358
0
0.003289
0.266999
6,221
164
97
37.932927
0.869298
0.307185
0
0.536842
0
0
0.008219
0
0
0
0
0
0.010526
1
0.031579
false
0
0.042105
0
0.147368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0719b950e4a48282eaf1194cb80f0583e44f000f
2,061
py
Python
mne_nirs/simulation/_simulation.py
mshader/mne-nirs
d59a5436d162108226f31b33b194dfecada40d72
[ "BSD-3-Clause" ]
null
null
null
mne_nirs/simulation/_simulation.py
mshader/mne-nirs
d59a5436d162108226f31b33b194dfecada40d72
[ "BSD-3-Clause" ]
null
null
null
mne_nirs/simulation/_simulation.py
mshader/mne-nirs
d59a5436d162108226f31b33b194dfecada40d72
[ "BSD-3-Clause" ]
null
null
null
# Authors: Robert Luke <mail@robertluke.net> # # License: BSD (3-clause) import numpy as np from mne import Annotations, create_info from mne.io import RawArray def simulate_nirs_raw(sfreq=3., amplitude=1., sig_dur=300., stim_dur=5., isi_min=15., isi_max=45.): """ ...
29.442857
78
0.606016
251
2,061
4.828685
0.454183
0.044554
0.018152
0.021452
0.151815
0.108911
0.070957
0.070957
0
0
0
0.011822
0.30228
2,061
69
79
29.869565
0.831015
0.327511
0
0
0
0
0.036378
0
0
0
0
0
0
1
0.033333
false
0
0.166667
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
071a7e610b94fdc4f5c933fd228639d190c83b96
3,650
py
Python
build/lib/dataaccess/TransactionRepository.py
athanikos/cryptodataaccess
6189a44c65a9b03c02822a534e865740ab488809
[ "MIT" ]
null
null
null
build/lib/dataaccess/TransactionRepository.py
athanikos/cryptodataaccess
6189a44c65a9b03c02822a534e865740ab488809
[ "MIT" ]
null
null
null
build/lib/dataaccess/TransactionRepository.py
athanikos/cryptodataaccess
6189a44c65a9b03c02822a534e865740ab488809
[ "MIT" ]
null
null
null
from cryptomodel.cryptostore import user_notification, user_channel, user_transaction, operation_type from mongoengine import Q from cryptodataaccess import helpers from cryptodataaccess.helpers import if_none_raise, if_none_raise_with_id class TransactionRepository: def __init__(self, config, log_error): ...
42.44186
120
0.670137
448
3,650
5.167411
0.131696
0.04406
0.04406
0.051836
0.790929
0.743844
0.731749
0.711879
0.69892
0.69892
0
0.000366
0.252329
3,650
85
121
42.941176
0.84793
0
0
0.542857
0
0
0
0
0
0
0
0
0
1
0.171429
false
0
0.057143
0.071429
0.371429
0
0
0
0
null
0
0
0
0
1
1
1
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
4
071afc12457e1373ac1b61126e3c5e710f213fb9
1,536
py
Python
app/util/auth2.py
FSU-ACM/Contest-Server
00a71cdcee1a7e4d4e4d8e33b5d6decf27f02313
[ "MIT" ]
8
2019-01-13T21:57:53.000Z
2021-11-29T12:32:48.000Z
app/util/auth2.py
FSU-ACM/Contest-Server
00a71cdcee1a7e4d4e4d8e33b5d6decf27f02313
[ "MIT" ]
73
2018-02-13T00:58:39.000Z
2022-02-10T11:59:53.000Z
app/util/auth2.py
FSU-ACM/Contest-Server
00a71cdcee1a7e4d4e4d8e33b5d6decf27f02313
[ "MIT" ]
4
2018-02-08T18:56:54.000Z
2019-02-13T19:01:53.000Z
""" util.auth2: Authentication tools This module is based off of util.auth, except with the action paradigm removed. """ from flask import session from app.models import Account from app.util import course as course_util # Session keys SESSION_EMAIL = 'email' def create_account(email: str, password: str, f...
26.033898
76
0.670573
204
1,536
4.946078
0.406863
0.044599
0.038652
0.033697
0
0
0
0
0
0
0
0.003439
0.242839
1,536
58
77
26.482759
0.864144
0.464844
0
0
0
0
0.013605
0
0
0
0
0
0
1
0.086957
false
0.086957
0.130435
0
0.347826
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
071b7fe4a170335142cb957704dfc31f09df575c
1,125
py
Python
FeView/pstaticwidget.py
motiurce/FeView
8897b37062be88dd5ead2c8524f6b3b73451e25d
[ "MIT" ]
10
2021-04-09T02:32:23.000Z
2022-03-12T15:21:41.000Z
FeView/pstaticwidget.py
ElsevierSoftwareX/SOFTX-D-21-00063
50eca2a003e6281dea3f1cf43fee221b61f53978
[ "MIT" ]
2
2021-08-07T09:02:21.000Z
2022-02-25T09:30:22.000Z
FeView/pstaticwidget.py
motiurce/FeView
8897b37062be88dd5ead2c8524f6b3b73451e25d
[ "MIT" ]
7
2021-04-09T02:32:25.000Z
2022-03-12T15:21:45.000Z
from PyQt5.QtWidgets import * from matplotlib.backends.backend_qt5agg import FigureCanvas from matplotlib.figure import Figure from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar class PstaticWidget(QWidget): def __init__(self, parent=None): QWidget.__init__(self...
46.875
89
0.728889
133
1,125
5.902256
0.406015
0.101911
0.173248
0.107006
0.254777
0.183439
0
0
0
0
0
0.023835
0.179556
1,125
24
90
46.875
0.826652
0
0
0
0
0
0.009066
0
0
0
0
0
0
1
0.047619
false
0
0.190476
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
071b9acd086c7ba6412ea5c6a8e8d3fc44d05f5c
1,719
py
Python
pyallocation/solvers/exhaustive.py
julesy89/pyallocation
af80a8e2367a006121dd0702b55efa7b954bb039
[ "Apache-2.0" ]
null
null
null
pyallocation/solvers/exhaustive.py
julesy89/pyallocation
af80a8e2367a006121dd0702b55efa7b954bb039
[ "Apache-2.0" ]
null
null
null
pyallocation/solvers/exhaustive.py
julesy89/pyallocation
af80a8e2367a006121dd0702b55efa7b954bb039
[ "Apache-2.0" ]
null
null
null
import numpy as np from pymoo.core.algorithm import Algorithm from pymoo.core.population import Population from pymoo.util.termination.no_termination import NoTermination from pyallocation.allocation import FastAllocation from pyallocation.problem import AllocationProblem def exhaustively(problem): alloc = FastA...
26.859375
75
0.623618
221
1,719
4.760181
0.357466
0.072243
0.091255
0.076996
0.129278
0.102662
0.041825
0.041825
0.041825
0
0
0.014809
0.253636
1,719
63
76
27.285714
0.805144
0
0
0.044444
0
0
0
0
0
0
0
0
0.022222
1
0.133333
false
0
0.133333
0
0.355556
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
071d3f55a7b2c99140b70a77b17ee7b9f4ba705d
602
py
Python
config.py
yasminbraga/ufopa-reports
6d8b213eb0dfce6775d0bb0fd277e8dc09da041c
[ "MIT" ]
null
null
null
config.py
yasminbraga/ufopa-reports
6d8b213eb0dfce6775d0bb0fd277e8dc09da041c
[ "MIT" ]
null
null
null
config.py
yasminbraga/ufopa-reports
6d8b213eb0dfce6775d0bb0fd277e8dc09da041c
[ "MIT" ]
2
2019-11-24T13:30:35.000Z
2022-01-12T11:47:11.000Z
import os class Config: CSRF_ENABLED = True SECRET_KEY = 'your-very-very-secret-key' SQLALCHEMY_DATABASE_URI = 'postgresql:///flask_template_dev' SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_ECHO = True class Development(Config): ENV = 'development' DEBUG = True TESTING = False ...
27.363636
212
0.752492
65
602
6.784615
0.661538
0.040816
0.095238
0
0
0
0
0
0
0
0
0.111765
0.152824
602
21
213
28.666667
0.752941
0
0
0
0
0.066667
0.403654
0.348837
0
0
0
0
0
1
0
false
0
0.066667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
071dbe42fd5b14449158462daf2a890df418a73d
2,651
py
Python
heat/api/openstack/v1/views/stacks_view.py
noironetworks/heat
7cdadf1155f4d94cf8f967635b98e4012a7acfb7
[ "Apache-2.0" ]
265
2015-01-02T09:33:22.000Z
2022-03-26T23:19:54.000Z
heat/api/openstack/v1/views/stacks_view.py
noironetworks/heat
7cdadf1155f4d94cf8f967635b98e4012a7acfb7
[ "Apache-2.0" ]
8
2015-09-01T15:43:19.000Z
2021-12-14T05:18:23.000Z
heat/api/openstack/v1/views/stacks_view.py
noironetworks/heat
7cdadf1155f4d94cf8f967635b98e4012a7acfb7
[ "Apache-2.0" ]
295
2015-01-06T07:00:40.000Z
2021-09-06T08:05:06.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 # ...
33.556962
78
0.659751
366
2,651
4.598361
0.387978
0.067736
0.117647
0.033274
0.058229
0
0
0
0
0
0
0.003041
0.255753
2,651
78
79
33.987179
0.849975
0.311581
0
0.041667
0
0
0.028286
0
0
0
0
0.012821
0
1
0.0625
false
0
0.083333
0
0.229167
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
071ec6aa5cdf0ac5081a189dd02a7abf4954448d
3,571
py
Python
pykrev/formula/find_intersections.py
Kzra/pykrev
1a328fccded962f309e951c8509b87a82c3d3ae6
[ "MIT" ]
4
2021-02-18T10:19:13.000Z
2021-10-04T16:17:30.000Z
pykrev/formula/find_intersections.py
erikafreeman/pykrev
1a328fccded962f309e951c8509b87a82c3d3ae6
[ "MIT" ]
null
null
null
pykrev/formula/find_intersections.py
erikafreeman/pykrev
1a328fccded962f309e951c8509b87a82c3d3ae6
[ "MIT" ]
1
2021-09-23T16:03:03.000Z
2021-09-23T16:03:03.000Z
import itertools import numpy as np import pandas as pd def find_intersections(formula_lists,group_labels,exclusive = True): """ Docstring for function pyKrev.find_intersections ==================== This function compares n lists of molecular formula and outputs a dictionary containing the intersections...
46.376623
143
0.633436
463
3,571
4.794816
0.336933
0.044595
0.031081
0.021622
0.021622
0
0
0
0
0
0
0.008297
0.291235
3,571
77
144
46.376623
0.868827
0.434332
0
0.111111
0
0
0.027806
0
0
0
0
0
0
1
0.044444
false
0.022222
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
071ee3300e784ba72ea76c1cd34d240a111eb588
5,386
py
Python
Create Playlist.py
j4ck64/PlaylistDirectories
4a7caf0923620a84aea9bb91e643011e7ee118db
[ "MIT" ]
null
null
null
Create Playlist.py
j4ck64/PlaylistDirectories
4a7caf0923620a84aea9bb91e643011e7ee118db
[ "MIT" ]
null
null
null
Create Playlist.py
j4ck64/PlaylistDirectories
4a7caf0923620a84aea9bb91e643011e7ee118db
[ "MIT" ]
null
null
null
import os import glob import shutil from tinytag import TinyTag """ root = 'C:/' copy_to = '/copy to/folder' tag = TinyTag.get('C:/Users/jchap/OneDrive/Pictures/(VERYRAREBOYZ) (feat. $ki Mask The Slump God and Drugz).mp3') print(tag.artist) print('song duration: '+str(tag.duration)) """ f = [] f=glob.gl...
35.668874
133
0.604716
553
5,386
5.858951
0.271248
0.030864
0.044444
0.02963
0.108642
0.108642
0.094444
0.094444
0.051235
0.051235
0
0.003913
0.28834
5,386
151
134
35.668874
0.841378
0.131823
0
0.120879
0
0
0.073177
0.006958
0
0
0
0
0
1
0
false
0.010989
0.043956
0
0.043956
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
071fd543532fedf42da52e8b37bdf2f56e668e0e
1,636
py
Python
PyBank/main.py
Alexis-Kepano/python_challenge
2d86e0d891c549d5fba99bd48d612be80746e34b
[ "ADSL" ]
null
null
null
PyBank/main.py
Alexis-Kepano/python_challenge
2d86e0d891c549d5fba99bd48d612be80746e34b
[ "ADSL" ]
null
null
null
PyBank/main.py
Alexis-Kepano/python_challenge
2d86e0d891c549d5fba99bd48d612be80746e34b
[ "ADSL" ]
null
null
null
#import modules import os import csv #input csvpath = os.path.join('Resources', 'budget_data.csv') #output outfile = os.path.join('Analysis', 'pybankstatements.txt') #declare variables months = []; total_m = 1; net_total = 0; total_change = 0; monthly_changes = []; greatest_inc = ['', 0]; greatest_dec = ['', 0] #open...
28.206897
127
0.621027
224
1,636
4.330357
0.290179
0.079381
0.037113
0.041237
0.098969
0.065979
0
0
0
0
0
0.019747
0.226161
1,636
58
128
28.206897
0.746446
0.037286
0
0
0
0
0.211465
0.048408
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072012e3a0677e91ae06d829a2d1c70bfa487fe4
1,502
py
Python
bot/constants/messages.py
aasw0ng/thornode-telegram-bot
5f73b882381548f45fc9e690c6e4845def9600b7
[ "MIT" ]
15
2020-04-21T07:51:26.000Z
2021-11-02T05:45:48.000Z
bot/constants/messages.py
aasw0ng/thornode-telegram-bot
5f73b882381548f45fc9e690c6e4845def9600b7
[ "MIT" ]
78
2020-04-13T23:01:16.000Z
2021-05-09T11:46:25.000Z
bot/constants/messages.py
aasw0ng/thornode-telegram-bot
5f73b882381548f45fc9e690c6e4845def9600b7
[ "MIT" ]
5
2020-09-03T21:19:16.000Z
2021-11-20T00:17:56.000Z
from enum import Enum from constants.globals import HEALTH_EMOJIS NETWORK_ERROR = '😱 There was an error while getting data 😱\nAn API endpoint is down!' HEALTH_LEGEND = f'\n*Node health*:\n{HEALTH_EMOJIS[True]} - *healthy*\n{HEALTH_EMOJIS[False]} - *unhealthy*\n' \ f'{HEALTH_EMOJIS[None]} - *unknown*...
35.761905
112
0.631158
212
1,502
4.646226
0.353774
0.079188
0.077157
0.032487
0.292386
0.162437
0.162437
0.162437
0.162437
0.162437
0
0
0.216378
1,502
41
113
36.634146
0.774002
0
0
0
0
0.115385
0.482345
0.169221
0
0
0
0
0
1
0.115385
false
0
0.076923
0.076923
0.538462
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
07201c5460a410eeac1f4cdd74f83fabb16f4ba2
3,993
py
Python
src/interactive_conditional_samples.py
RanHerOver/cometaai
02d459da5bbc58536112cfe6343f5ceef4ff2356
[ "MIT" ]
null
null
null
src/interactive_conditional_samples.py
RanHerOver/cometaai
02d459da5bbc58536112cfe6343f5ceef4ff2356
[ "MIT" ]
null
null
null
src/interactive_conditional_samples.py
RanHerOver/cometaai
02d459da5bbc58536112cfe6343f5ceef4ff2356
[ "MIT" ]
null
null
null
import random import fire import json import os import numpy as np import tensorflow as tf import pytumblr import mysql.connector import datetime from random import seed import model, sample, encoder def interact_model( model_name='1558M', seed=None, nsamples=1, batch_size=1, length=None, tempe...
30.953488
143
0.599048
471
3,993
4.951168
0.447983
0.038593
0.046312
0.047599
0.070326
0.070326
0.070326
0.046312
0.046312
0
0
0.008514
0.294015
3,993
128
144
31.195313
0.81873
0.121463
0
0.04902
0
0
0.092444
0
0.009804
0
0
0
0.009804
1
0.009804
false
0.009804
0.107843
0
0.117647
0.098039
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0720bde47f5a6d668b162186b490b208d369a3a2
233
py
Python
desktop/core/ext-py/pyasn1-0.1.8/pyasn1/compat/iterfunc.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
422
2015-01-08T14:08:08.000Z
2022-02-07T11:47:37.000Z
desktop/core/ext-py/pyasn1-0.1.8/pyasn1/compat/iterfunc.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
581
2015-01-01T08:07:16.000Z
2022-02-23T11:44:37.000Z
desktop/core/ext-py/pyasn1-0.1.8/pyasn1/compat/iterfunc.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
115
2015-01-08T14:41:00.000Z
2022-02-13T12:31:17.000Z
from sys import version_info if version_info[0] <= 2 and version_info[1] <= 4: def all(iterable): for element in iterable: if not element: return False return True else: all = all
21.181818
49
0.579399
32
233
4.125
0.6875
0.25
0
0
0
0
0
0
0
0
0
0.02649
0.351931
233
10
50
23.3
0.847682
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
072173681d53ec2482387460364698d940573600
3,839
py
Python
src/cms/carousels/serializers.py
UniversitaDellaCalabria/uniCMS
b0af4e1a767867f0a9b3c135a5c84587e713cb71
[ "Apache-2.0" ]
6
2021-01-26T17:22:53.000Z
2022-02-15T10:09:03.000Z
src/cms/carousels/serializers.py
UniversitaDellaCalabria/uniCMS
b0af4e1a767867f0a9b3c135a5c84587e713cb71
[ "Apache-2.0" ]
5
2020-12-24T14:29:23.000Z
2021-08-10T10:32:18.000Z
src/cms/carousels/serializers.py
UniversitaDellaCalabria/uniCMS
b0af4e1a767867f0a9b3c135a5c84587e713cb71
[ "Apache-2.0" ]
2
2020-12-24T14:13:39.000Z
2020-12-30T16:48:52.000Z
from rest_framework import serializers from cms.api.serializers import UniCMSContentTypeClass, UniCMSCreateUpdateSerializer from cms.medias.serializers import MediaSerializer from . models import Carousel, CarouselItem, CarouselItemLink, CarouselItemLinkLocalization, CarouselItemLocalization class CarouselForeignK...
35.546296
117
0.657202
328
3,839
7.429878
0.204268
0.040624
0.032007
0.049241
0.551498
0.517029
0.517029
0.517029
0.436602
0.399261
0
0
0.260745
3,839
107
118
35.878505
0.858703
0.013024
0
0.602564
0
0
0.084016
0.005548
0
0
0
0
0
1
0.064103
false
0
0.051282
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072216b7c95085e52120d7afc6bcf448dd8b5843
7,298
py
Python
demos/colorization_demo/python/colorization_demo.py
mzegla/open_model_zoo
092576b4c598c1e301ebc38ad74b323972e54f3e
[ "Apache-2.0" ]
null
null
null
demos/colorization_demo/python/colorization_demo.py
mzegla/open_model_zoo
092576b4c598c1e301ebc38ad74b323972e54f3e
[ "Apache-2.0" ]
null
null
null
demos/colorization_demo/python/colorization_demo.py
mzegla/open_model_zoo
092576b4c598c1e301ebc38ad74b323972e54f3e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ Copyright (c) 2018-2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applic...
43.183432
109
0.639216
992
7,298
4.510081
0.298387
0.017211
0.018105
0.034198
0.09924
0.09924
0.085829
0.075548
0.057667
0.057667
0
0.021978
0.239381
7,298
168
110
43.440476
0.784003
0.080707
0
0.066667
0
0
0.152294
0.008071
0
0
0
0
0.016667
1
0.016667
false
0
0.091667
0
0.116667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07223524f59210dbb5356506e6de9ffb41f47883
8,174
py
Python
swagger_client/models/transfer.py
chbndrhnns/ahoi-client
8bd25f541c05af17c82904fa250272514b7971f2
[ "MIT" ]
null
null
null
swagger_client/models/transfer.py
chbndrhnns/ahoi-client
8bd25f541c05af17c82904fa250272514b7971f2
[ "MIT" ]
null
null
null
swagger_client/models/transfer.py
chbndrhnns/ahoi-client
8bd25f541c05af17c82904fa250272514b7971f2
[ "MIT" ]
null
null
null
# coding: utf-8 """ [AHOI cookbook](/ahoi/docs/cookbook/index.html) [Data Privacy](/sandboxmanager/#/privacy) [Terms of Service](/sandboxmanager/#/terms) [Imprint](https://sparkassen-hub.com/impressum/) &copy; 2016&dash;2017 Starfinanz - Ein Unternehmen der Finanz Informatik # noqa: E501 OpenAPI sp...
28.186207
277
0.565207
1,014
8,174
4.435897
0.162722
0.076478
0.08715
0.084037
0.483993
0.437305
0.417074
0.284349
0.197199
0.11205
0
0.032802
0.332395
8,174
289
278
28.283737
0.791461
0.390751
0
0.073171
0
0
0.101563
0
0
0
0
0
0
1
0.162602
false
0
0.03252
0
0.325203
0.01626
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07224ff81e97b5ee51932d0d9bca20ab01f96757
10,366
py
Python
external/trappy/tests/test_caching.py
vdonnefort/lisa
38e5f246e6c94201a60a8698e7f29277f11c425e
[ "Apache-2.0" ]
1
2020-11-30T16:14:02.000Z
2020-11-30T16:14:02.000Z
external/trappy/tests/test_caching.py
vdonnefort/lisa
38e5f246e6c94201a60a8698e7f29277f11c425e
[ "Apache-2.0" ]
null
null
null
external/trappy/tests/test_caching.py
vdonnefort/lisa
38e5f246e6c94201a60a8698e7f29277f11c425e
[ "Apache-2.0" ]
null
null
null
# Copyright 2015-2017 ARM Limited, Google and contributors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
38.535316
88
0.644125
1,295
10,366
4.987645
0.255598
0.031584
0.038706
0.041802
0.323115
0.297569
0.264747
0.216752
0.156681
0.129432
0
0.034637
0.267509
10,366
268
89
38.679104
0.816015
0.285067
0
0.262411
0
0
0.063126
0.002882
0
0
0
0
0.148936
1
0.092199
false
0
0.092199
0
0.198582
0.007092
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07229c65c61816346ca75d9d08af09c5eb62b6ff
6,813
py
Python
src/mf_horizon_client/client/pipelines/blueprints.py
MF-HORIZON/mf-horizon-python-client
67a4a094767cb8e5f01956f20f5ca7726781614a
[ "MIT" ]
null
null
null
src/mf_horizon_client/client/pipelines/blueprints.py
MF-HORIZON/mf-horizon-python-client
67a4a094767cb8e5f01956f20f5ca7726781614a
[ "MIT" ]
null
null
null
src/mf_horizon_client/client/pipelines/blueprints.py
MF-HORIZON/mf-horizon-python-client
67a4a094767cb8e5f01956f20f5ca7726781614a
[ "MIT" ]
null
null
null
from enum import Enum class BlueprintType(Enum): """ A blueprint is a pipeline template in horizon, and must be specified when creating a new pipeline Nonlinear =============================================================================================================== A nonlinear pipeline co...
39.842105
122
0.57405
697
6,813
5.591105
0.311334
0.05671
0.056454
0.053118
0.296638
0.283551
0.283551
0.253785
0.249423
0.214267
0
0.003441
0.189637
6,813
170
123
40.076471
0.702409
0.862322
0
0
0
0
0.304721
0.049356
0
0
0
0
0
1
0
false
0
0.076923
0
1
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0723f800260b47fe29201f275a3497c9e0250212
6,758
py
Python
pyChess/olaf/views.py
An-Alone-Cow/pyChess
2729a3a89e4d7d79659488ecb1b0bff9cac281a3
[ "MIT" ]
null
null
null
pyChess/olaf/views.py
An-Alone-Cow/pyChess
2729a3a89e4d7d79659488ecb1b0bff9cac281a3
[ "MIT" ]
18
2017-02-05T17:52:41.000Z
2017-02-16T09:04:39.000Z
pyChess/olaf/views.py
An-Alone-Cow/pyChess
2729a3a89e4d7d79659488ecb1b0bff9cac281a3
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django.shortcuts import render from django.urls import reverse from django.http import HttpResponseRedirect, HttpResponse from django.utils import timezone from olaf.models import * from olaf.forms import * from...
31.877358
175
0.683042
794
6,758
5.680101
0.185139
0.098004
0.12439
0.092683
0.383814
0.33082
0.322838
0.322838
0.322838
0.322838
0
0.000365
0.188369
6,758
212
176
31.877358
0.821878
0.002072
0
0.394118
0
0
0.178529
0.038701
0
0
0
0
0
1
0.064706
false
0.088235
0.058824
0
0.276471
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
072578f31e8482a3127fc3b417aa642b8388a425
2,343
py
Python
ce_vae_test/main_cetrainer.py
fgitmichael/SelfSupevisedSkillDiscovery
60eee11cfd67046190dd2784bf40e97bdbed9d40
[ "MIT" ]
null
null
null
ce_vae_test/main_cetrainer.py
fgitmichael/SelfSupevisedSkillDiscovery
60eee11cfd67046190dd2784bf40e97bdbed9d40
[ "MIT" ]
6
2021-02-02T23:00:02.000Z
2022-01-13T03:13:51.000Z
ce_vae_test/main_cetrainer.py
fgitmichael/SelfSupevisedSkillDiscovery
60eee11cfd67046190dd2784bf40e97bdbed9d40
[ "MIT" ]
null
null
null
from __future__ import print_function import argparse import torch import torch.utils.data import matplotlib.pyplot as plt from torch import nn, optim from torch.nn import functional as F from torchvision import datasets, transforms from torchvision.utils import save_image from torch.utils.tensorboard import SummaryWri...
32.09589
83
0.681605
294
2,343
5.285714
0.401361
0.034749
0.054698
0.025097
0.182754
0.182754
0.182754
0.063063
0
0
0
0.018359
0.20956
2,343
72
84
32.541667
0.820734
0
0
0.065574
0
0
0.130231
0
0
0
0
0
0
1
0
false
0
0.213115
0
0.213115
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07257aac63bf6240cc82f0f082448d6a6953f3dc
1,567
py
Python
appr/commands/logout.py
sergeyberezansky/appr
03168addf05c3efd779dad5168fb0a80d0512100
[ "Apache-2.0" ]
31
2017-07-05T07:25:31.000Z
2021-01-18T22:21:57.000Z
appr/commands/logout.py
sergeyberezansky/appr
03168addf05c3efd779dad5168fb0a80d0512100
[ "Apache-2.0" ]
48
2017-06-27T15:48:29.000Z
2021-01-26T21:02:27.000Z
appr/commands/logout.py
sergeyberezansky/appr
03168addf05c3efd779dad5168fb0a80d0512100
[ "Apache-2.0" ]
17
2017-07-05T07:25:38.000Z
2021-01-20T14:52:29.000Z
from __future__ import absolute_import, division, print_function from appr.auth import ApprAuth from appr.commands.command_base import CommandBase, PackageSplit class LogoutCmd(CommandBase): name = 'logout' help_message = "logout" def __init__(self, options): super(LogoutCmd, self).__init__(opti...
36.44186
94
0.640077
178
1,567
5.421348
0.410112
0.091192
0.082902
0.039378
0
0
0
0
0
0
0
0
0.25016
1,567
42
95
37.309524
0.821277
0
0
0
0
0
0.123165
0.017869
0
0
0
0
0
1
0.147059
false
0.029412
0.088235
0.058824
0.382353
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072580ae43bbd8ecd21160183d85274cfcb19e54
87
py
Python
musica/apps.py
webnowone/albumMusical
b9532ff0ef47b610f0f2b565f0dd77e54d638772
[ "Apache-2.0" ]
1
2021-02-02T03:58:48.000Z
2021-02-02T03:58:48.000Z
musica/apps.py
webnowone/albumMusical
b9532ff0ef47b610f0f2b565f0dd77e54d638772
[ "Apache-2.0" ]
52
2020-02-25T09:56:54.000Z
2021-09-22T18:40:50.000Z
musica/apps.py
webnowone/albumMusical
b9532ff0ef47b610f0f2b565f0dd77e54d638772
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class MusicaConfig(AppConfig): name = 'musica'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
072775cafe9ec9921c429b5df6eb75f74e95605d
10,370
py
Python
tzwhere/tzwhere.py
tuxiqae/pytzwhere
32d2bef9ff2d784741471fddb35fbb6732f556d5
[ "MIT" ]
115
2015-01-09T06:18:19.000Z
2021-12-28T07:07:45.000Z
tzwhere/tzwhere.py
tuxiqae/pytzwhere
32d2bef9ff2d784741471fddb35fbb6732f556d5
[ "MIT" ]
47
2015-04-15T20:23:44.000Z
2022-03-22T11:25:01.000Z
tzwhere/tzwhere.py
tuxiqae/pytzwhere
32d2bef9ff2d784741471fddb35fbb6732f556d5
[ "MIT" ]
46
2015-01-26T16:42:10.000Z
2022-01-04T15:26:57.000Z
#!/usr/bin/env python '''tzwhere.py - time zone computation from latitude/longitude. Ordinarily this is loaded as a module and instances of the tzwhere class are instantiated and queried directly ''' import collections try: import ujson as json # loads 2 seconds faster than normal json except: try: i...
39.884615
130
0.610993
985
10,370
6.322843
0.26802
0.009634
0.037091
0.007707
0.189949
0.159602
0.159602
0.100514
0.086063
0.086063
0
0.003374
0.314079
10,370
259
131
40.03861
0.872206
0.137608
0
0.176796
0
0
0.024763
0.005249
0
0
0
0
0.005525
1
0.049724
false
0
0.066298
0
0.19337
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07283cf3af01e90d346a6f3a53d9608574682da0
706
py
Python
tests/home_assistant/custom_features.py
jre21/mindmeld
6a88e4b0dfc7971f6bf9ae406b89dbc76f68af81
[ "Apache-2.0" ]
1
2021-01-06T23:39:57.000Z
2021-01-06T23:39:57.000Z
tests/home_assistant/custom_features.py
jre21/mindmeld
6a88e4b0dfc7971f6bf9ae406b89dbc76f68af81
[ "Apache-2.0" ]
1
2021-02-02T22:53:01.000Z
2021-02-02T22:53:01.000Z
tests/home_assistant/custom_features.py
jre21/mindmeld
6a88e4b0dfc7971f6bf9ae406b89dbc76f68af81
[ "Apache-2.0" ]
null
null
null
from mindmeld.models.helpers import register_query_feature @register_query_feature(feature_name='average-token-length') def extract_average_token_length(**args): """ Example query feature that gets the average length of normalized tokens in the query„ Returns: (function) A feature extraction func...
35.3
89
0.729462
89
706
5.606742
0.483146
0.132265
0.180361
0
0
0
0
0
0
0
0
0
0.196884
706
19
90
37.157895
0.878307
0.375354
0
0
0
0
0.096852
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
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
1
0
0
0
0
1
0
0
3
072aa22d56a355822d78b2d3df97e983fe4fb836
4,783
py
Python
source/statuscodes.py
woody2371/fishbowl-api
f34ff9267436b1278985870fbf19863febdb391b
[ "MIT" ]
6
2016-04-26T01:24:21.000Z
2021-05-13T07:48:15.000Z
source/statuscodes.py
USDev01/fishbowl-api
4d47e20d3385d5ebc001feec44aad321467a6d92
[ "MIT" ]
3
2015-10-29T21:34:39.000Z
2021-11-08T15:22:30.000Z
source/statuscodes.py
USDev01/fishbowl-api
4d47e20d3385d5ebc001feec44aad321467a6d92
[ "MIT" ]
12
2015-02-20T08:21:05.000Z
2021-11-06T22:27:04.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- def getstatus(code): if code == "1000": value = "Success!" elif code == "1001": value = "Unknown Message Received" elif code == "1002": value = "Connection to Fishbowl Server was lost" elif code == "1003": value = "Some Requests ...
37.367188
177
0.572653
596
4,783
4.595638
0.357383
0.172326
0.029573
0.035049
0.117196
0.045272
0.026287
0
0
0
0
0.076739
0.30253
4,783
127
178
37.661417
0.744305
0.007945
0
0
0
0.016129
0.480287
0
0
0
0
0
0
1
0.008065
false
0.016129
0.024194
0
0.040323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072b5dc94ce99e8f35df268838491f8bfa5d061f
239
py
Python
app/src/server/hoge/hoge_api.py
jacob327/docker-flask-nginx-uwsgi-mysql
4b0731f746d6fda7bfecd082ddef53a9c5ec8f75
[ "MIT" ]
null
null
null
app/src/server/hoge/hoge_api.py
jacob327/docker-flask-nginx-uwsgi-mysql
4b0731f746d6fda7bfecd082ddef53a9c5ec8f75
[ "MIT" ]
null
null
null
app/src/server/hoge/hoge_api.py
jacob327/docker-flask-nginx-uwsgi-mysql
4b0731f746d6fda7bfecd082ddef53a9c5ec8f75
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # [Import start] from flask import Blueprint, jsonify # [Import end] app = Blueprint( 'hoge', __name__, url_prefix='/hoge' ) @app.route('/test') def hoge(): return "\nhogehoge"
13.277778
36
0.606695
29
239
4.827586
0.793103
0
0
0
0
0
0
0
0
0
0
0.005263
0.205021
239
17
37
14.058824
0.731579
0.276151
0
0
0
0
0.142012
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.333333
0.222222
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
1
0
0
0
2
072b648fd224e151f6b9509016ac18b01f0c89c9
2,383
py
Python
preinstall_setup/makedeb-11.0.1-1-stable/src/makedeb/utils/missing_apt_dependencies.py
chipbuster/Energy-Languages-Setup
5b6192e1cc73f701a2310ac72520ed540d86c1ae
[ "BSD-3-Clause" ]
null
null
null
preinstall_setup/makedeb-11.0.1-1-stable/src/makedeb/utils/missing_apt_dependencies.py
chipbuster/Energy-Languages-Setup
5b6192e1cc73f701a2310ac72520ed540d86c1ae
[ "BSD-3-Clause" ]
null
null
null
preinstall_setup/makedeb-11.0.1-1-stable/src/makedeb/utils/missing_apt_dependencies.py
chipbuster/Energy-Languages-Setup
5b6192e1cc73f701a2310ac72520ed540d86c1ae
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import apt_pkg import sys from apt_pkg import CURSTATE_INSTALLED, version_compare from operator import lt, le, eq, ge, gt # Function mappings for relationship operators. relation_operators = {"<<": lt, "<=": le, "=": eq, ">=": ge, ">>": gt} # Set up APT cache. apt_pkg.init() cache = apt_pkg.Ca...
29.419753
118
0.661771
295
2,383
5.145763
0.342373
0.144928
0.065876
0.057312
0.081686
0.068511
0.068511
0.068511
0
0
0
0.004474
0.249685
2,383
80
119
29.7875
0.844519
0.206462
0
0.115385
0
0
0.038237
0.018056
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072bd117dea823ba3412148c4dbda51e774d2a1f
11,707
py
Python
cohorts_proj/datasets/migrations/0009_auto_20200824_0617.py
zferic/harmonization-website
f6a081481df3a3a62cb075fbb63ad0470b0d4e06
[ "MIT" ]
1
2020-09-20T02:32:01.000Z
2020-09-20T02:32:01.000Z
cohorts_proj/datasets/migrations/0009_auto_20200824_0617.py
zferic/harmonization-website
f6a081481df3a3a62cb075fbb63ad0470b0d4e06
[ "MIT" ]
20
2020-04-17T14:01:41.000Z
2022-03-12T00:30:23.000Z
cohorts_proj/datasets/migrations/0009_auto_20200824_0617.py
zferic/harmonization-website
f6a081481df3a3a62cb075fbb63ad0470b0d4e06
[ "MIT" ]
3
2020-10-08T00:24:51.000Z
2021-06-02T20:07:30.000Z
# Generated by Django 3.0.7 on 2020-08-24 06:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('datasets', '0008_auto_20200821_1427'), ] operations = [ migrations.AddField( model_name='rawdar', name='AsB', ...
33.353276
154
0.522337
1,096
11,707
5.468978
0.076642
0.099099
0.165165
0.209209
0.971471
0.971471
0.971471
0.954955
0.954955
0.954955
0
0.007698
0.345349
11,707
350
155
33.448571
0.7744
0.003844
0
0.787791
1
0
0.09494
0.003859
0
0
0
0
0
1
0
false
0
0.002907
0
0.011628
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
072ca26b4d1e4960c6363441b38a038bbb510a99
107
py
Python
test_hello.py
skvel/pynet_testx
46566e059e076cb763f8a10ed7f6ff9eac5b63b1
[ "Apache-2.0" ]
null
null
null
test_hello.py
skvel/pynet_testx
46566e059e076cb763f8a10ed7f6ff9eac5b63b1
[ "Apache-2.0" ]
null
null
null
test_hello.py
skvel/pynet_testx
46566e059e076cb763f8a10ed7f6ff9eac5b63b1
[ "Apache-2.0" ]
null
null
null
print "Hello World!" print "Trying my hand at Git!" print "Something else" for i in range(10): print i
17.833333
30
0.691589
19
107
3.894737
0.789474
0
0
0
0
0
0
0
0
0
0
0.023529
0.205607
107
5
31
21.4
0.847059
0
0
0
0
0
0.448598
0
0
0
0
0
0
0
null
null
0
0
null
null
0.8
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
072cc767332977c77810de1909be8f9a35cce2f6
3,784
py
Python
tasks/views.py
TheDim0n/ProjectManager
50d36e7e3fc71655aa5a82bb19eacc07172ba5e4
[ "MIT" ]
null
null
null
tasks/views.py
TheDim0n/ProjectManager
50d36e7e3fc71655aa5a82bb19eacc07172ba5e4
[ "MIT" ]
1
2020-09-08T11:10:53.000Z
2020-09-08T11:10:53.000Z
tasks/views.py
TheDim0n/ProjectManager
50d36e7e3fc71655aa5a82bb19eacc07172ba5e4
[ "MIT" ]
null
null
null
from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.views.generic import DetailView, ListView from projects.models import Project from status.models import Status from .models import Task from .forms import TaskForm, FilterForm ...
31.798319
79
0.636628
421
3,784
5.534442
0.220903
0.037768
0.036481
0.027039
0.239056
0.169957
0.111588
0.054936
0.054936
0.054936
0
0
0.252907
3,784
118
80
32.067797
0.824195
0
0
0.268041
0
0
0.081395
0.011628
0
0
0
0
0
1
0.082474
false
0
0.072165
0
0.463918
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072d2f9675748ff1a2131801c4afa2c1d8506223
2,083
py
Python
smoke/noaa/get_smokeplume_counts.py
minnieteng/smoke_project
cc3c8f16f7759fe29e46d3cec32a3ed6ca86bd5f
[ "Apache-2.0" ]
null
null
null
smoke/noaa/get_smokeplume_counts.py
minnieteng/smoke_project
cc3c8f16f7759fe29e46d3cec32a3ed6ca86bd5f
[ "Apache-2.0" ]
null
null
null
smoke/noaa/get_smokeplume_counts.py
minnieteng/smoke_project
cc3c8f16f7759fe29e46d3cec32a3ed6ca86bd5f
[ "Apache-2.0" ]
null
null
null
import os import math import time import geohash import geojson from geojson import MultiLineString from shapely import geometry import shapefile import numpy import datetime as dt import pandas as pd import logging logger = logging.getLogger(__name__) source_shape_file_path = "C:/temp/2018/" threshold = 60*60 cols = ...
45.282609
133
0.610178
275
2,083
4.396364
0.334545
0.06617
0.049628
0.062862
0.332506
0.263027
0.168734
0.079404
0.079404
0
0
0.023889
0.276524
2,083
46
134
45.282609
0.778368
0.037446
0
0
0
0
0.086327
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072d38a7e1316c182e6d46a18839cb0047e95249
3,965
py
Python
notes/OOBall/OOBall/main-demo.py
KRHS-GameProgramming-2015/Manpac
959bf7f5195a4edb528fbbf25b8896fcb28d5327
[ "BSD-2-Clause" ]
null
null
null
notes/OOBall/OOBall/main-demo.py
KRHS-GameProgramming-2015/Manpac
959bf7f5195a4edb528fbbf25b8896fcb28d5327
[ "BSD-2-Clause" ]
3
2016-01-19T17:26:16.000Z
2016-02-10T16:59:25.000Z
notes/OOBall/main-demo.py
KRHS-GameProgramming-2015/Manpac
959bf7f5195a4edb528fbbf25b8896fcb28d5327
[ "BSD-2-Clause" ]
null
null
null
import pygame_sdl2 pygame_sdl2.import_as_pygame() import pygame import os import random import math from Ball import Ball def save_state(balls): """ Saves the game state. """ stateString = "" with open("state.txt", "w") as f: for ball in balls: stateString += "{} {} {} {} {}".f...
28.941606
89
0.49256
427
3,965
4.498829
0.379391
0.01874
0.01874
0.021864
0.086934
0.043207
0
0
0
0
0
0.028145
0.408575
3,965
136
90
29.154412
0.791045
0.097604
0
0.138298
0
0
0.025092
0
0
0
0
0
0
1
0.042553
false
0
0.074468
0
0.138298
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072ddb9bbab8925228b0922af5e12f46301684b7
6,408
py
Python
sprt.py
vdbergh/pentanomial
d046e74acde3f961c7afd22fc4f82fa5aeb4c0fd
[ "MIT" ]
3
2020-02-05T12:39:59.000Z
2021-01-04T15:41:40.000Z
sprt.py
vdbergh/pentanomial
d046e74acde3f961c7afd22fc4f82fa5aeb4c0fd
[ "MIT" ]
2
2020-02-17T20:09:56.000Z
2021-11-21T12:47:33.000Z
sprt.py
vdbergh/pentanomial
d046e74acde3f961c7afd22fc4f82fa5aeb4c0fd
[ "MIT" ]
null
null
null
from __future__ import division import math, copy import argparse from brownian import Brownian import scipy import LLRcalc class sprt: def __init__(self, alpha=0.05, beta=0.05, elo0=0, elo1=5, elo_model="logistic"): assert elo_model in ("logistic", "normalized") self.elo_model = elo_model ...
33.726316
85
0.523096
821
6,408
3.970767
0.239951
0.039264
0.036503
0.020859
0.157669
0.096933
0.07362
0.07362
0.030675
0.030675
0
0.037343
0.339732
6,408
189
86
33.904762
0.73316
0.082553
0
0.089172
0
0
0.149307
0
0
0
0
0
0.019108
1
0.044586
false
0
0.038217
0
0.146497
0.095541
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072e395e8cbf167e556a1f0e76894f388e49246e
17,956
py
Python
tools/hci_throughput/hci.py
t3zeng/mynewt-nimble
e910132947d6b3cd61ef4732867382634178aa08
[ "Apache-2.0" ]
null
null
null
tools/hci_throughput/hci.py
t3zeng/mynewt-nimble
e910132947d6b3cd61ef4732867382634178aa08
[ "Apache-2.0" ]
null
null
null
tools/hci_throughput/hci.py
t3zeng/mynewt-nimble
e910132947d6b3cd61ef4732867382634178aa08
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
29.630363
80
0.695868
2,576
17,956
4.428183
0.117236
0.012273
0.014728
0.030245
0.467432
0.371263
0.3312
0.304199
0.272903
0.250022
0
0.028414
0.219926
17,956
605
81
29.679339
0.785964
0.047783
0
0.409664
0
0
0.009939
0
0
0
0.012542
0
0
1
0.107143
false
0
0.008403
0.004202
0.407563
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072e3ac42c4ae28edac6abdd5c5b9e36d1f69c84
1,253
py
Python
examples/dataproc/query.py
populationgenomics/analysis-runner
f42bedb1dc430a813350fb4b5514bcc7b845f0fc
[ "MIT" ]
null
null
null
examples/dataproc/query.py
populationgenomics/analysis-runner
f42bedb1dc430a813350fb4b5514bcc7b845f0fc
[ "MIT" ]
51
2021-01-26T07:09:54.000Z
2022-03-29T03:44:01.000Z
examples/dataproc/query.py
populationgenomics/analysis-runner
f42bedb1dc430a813350fb4b5514bcc7b845f0fc
[ "MIT" ]
2
2021-12-07T17:12:07.000Z
2022-03-23T00:50:44.000Z
"""Simple Hail query example.""" import click import hail as hl from bokeh.io.export import get_screenshot_as_png from analysis_runner import output_path GNOMAD_HGDP_1KG_MT = ( 'gs://gcp-public-data--gnomad/release/3.1/mt/genomes/' 'gnomad.genomes.v3.1.hgdp_1kg_subset_dense.mt' ) @click.command() @click.op...
30.560976
81
0.695132
194
1,253
4.175258
0.463918
0.069136
0.059259
0.044444
0.064198
0.064198
0.064198
0
0
0
0
0.016537
0.179569
1,253
40
82
31.325
0.771401
0.073424
0
0
0
0
0.171304
0.083478
0
0
0
0
0
1
0.035714
false
0
0.142857
0
0.178571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072e6fc797520341c47d9f0dd007069870cb1147
17,420
py
Python
ptpip/ptpip.py
darkarnium/ptpip
c54eed4d7509ecfc6973a00496a9e80fb7473fa2
[ "Apache-2.0" ]
null
null
null
ptpip/ptpip.py
darkarnium/ptpip
c54eed4d7509ecfc6973a00496a9e80fb7473fa2
[ "Apache-2.0" ]
null
null
null
ptpip/ptpip.py
darkarnium/ptpip
c54eed4d7509ecfc6973a00496a9e80fb7473fa2
[ "Apache-2.0" ]
null
null
null
import uuid import time import socket import struct class PtpIpConnection(object): """docstring for PtpIP""" def __init__(self): super(PtpIpConnection, self).__init__() self.session = None self.session_events = None self.session_id = None self.cmd_queue = [] se...
34.701195
99
0.644259
1,991
17,420
5.457559
0.220994
0.055678
0.044174
0.016749
0.361495
0.32818
0.298086
0.259249
0.246825
0.233757
0
0.054413
0.268886
17,420
501
100
34.770459
0.798759
0.231745
0
0.274368
0
0
0.023696
0.004833
0
0
0.007639
0.001996
0
1
0.115523
false
0.00722
0.01444
0.01444
0.263538
0.021661
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
072e9a202d69d5d6154bfb44a978d712661a1d52
869
py
Python
examples/morpho.py
jaideep-seth/PyOpenWorm
c36baeda9590334ba810296934973da34f0eab78
[ "MIT" ]
null
null
null
examples/morpho.py
jaideep-seth/PyOpenWorm
c36baeda9590334ba810296934973da34f0eab78
[ "MIT" ]
null
null
null
examples/morpho.py
jaideep-seth/PyOpenWorm
c36baeda9590334ba810296934973da34f0eab78
[ "MIT" ]
null
null
null
""" How to load morphologies of certain cells from the database. """ #this is an expected failure right now, as morphology is not implemented from __future__ import absolute_import from __future__ import print_function import PyOpenWorm as P from PyOpenWorm.context import Context from PyOpenWorm.worm import Worm from ...
34.76
118
0.749137
128
869
4.984375
0.585938
0.031348
0.050157
0
0
0
0
0
0
0
0
0.001376
0.163406
869
24
119
36.208333
0.876204
0.417722
0
0
0
0
0.080972
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
072eb9a21b6f104ebeda43ae8b0c58030a13066f
18,159
py
Python
corehq/apps/app_manager/tests/test_form_workflow.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2020-05-05T13:10:01.000Z
2020-05-05T13:10:01.000Z
corehq/apps/app_manager/tests/test_form_workflow.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2019-12-09T14:00:14.000Z
2019-12-09T14:00:14.000Z
corehq/apps/app_manager/tests/test_form_workflow.py
MaciejChoromanski/commcare-hq
fd7f65362d56d73b75a2c20d2afeabbc70876867
[ "BSD-3-Clause" ]
5
2015-11-30T13:12:45.000Z
2019-07-01T19:27:07.000Z
from __future__ import absolute_import from __future__ import unicode_literals from django.test import SimpleTestCase from corehq.apps.app_manager.const import ( AUTO_SELECT_RAW, AUTO_SELECT_CASE, WORKFLOW_FORM, WORKFLOW_MODULE, WORKFLOW_PREVIOUS, WORKFLOW_ROOT, WORKFLOW_PARENT_MODULE, ) fr...
43.546763
151
0.654937
2,267
18,159
4.937362
0.094398
0.057983
0.069597
0.084249
0.791477
0.736978
0.713839
0.671402
0.625838
0.578219
0
0.031453
0.220882
18,159
416
152
43.651442
0.759683
0.061402
0
0.517572
0
0
0.180579
0.064501
0
0
0
0
0.060703
1
0.057508
false
0
0.031949
0
0.102236
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
072f5247503c271ee10d989b45781d7bce312d75
19,888
py
Python
tensorflow/python/compiler/tensorrt/model_tests/model_handler.py
sboshin/tensorflow
77689016fb4c1373abeca36360f7b2dd9434c547
[ "Apache-2.0" ]
null
null
null
tensorflow/python/compiler/tensorrt/model_tests/model_handler.py
sboshin/tensorflow
77689016fb4c1373abeca36360f7b2dd9434c547
[ "Apache-2.0" ]
88
2020-11-24T08:18:10.000Z
2022-03-25T20:28:30.000Z
tensorflow/python/compiler/tensorrt/model_tests/model_handler.py
sboshin/tensorflow
77689016fb4c1373abeca36360f7b2dd9434c547
[ "Apache-2.0" ]
1
2020-12-18T08:51:32.000Z
2020-12-18T08:51:32.000Z
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
38.026769
86
0.71611
2,473
19,888
5.446826
0.140315
0.046028
0.03801
0.027765
0.552116
0.451596
0.409577
0.384558
0.363029
0.341203
0
0.006251
0.195646
19,888
522
87
38.099617
0.835782
0.150342
0
0.372283
0
0
0.043089
0.0015
0
0
0
0
0
1
0.130435
false
0
0.070652
0.05163
0.342391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07301aa37090337e8a2394da6cc20cd279418591
34
py
Python
Python/Python Evaluation/solution.py
arpitran/HackerRank_solutions
a3a77c858edd3955ea38530916db9051b1aa93f9
[ "MIT" ]
null
null
null
Python/Python Evaluation/solution.py
arpitran/HackerRank_solutions
a3a77c858edd3955ea38530916db9051b1aa93f9
[ "MIT" ]
null
null
null
Python/Python Evaluation/solution.py
arpitran/HackerRank_solutions
a3a77c858edd3955ea38530916db9051b1aa93f9
[ "MIT" ]
null
null
null
eval(input("Enter a expression "))
34
34
0.735294
5
34
5
1
0
0
0
0
0
0
0
0
0
0
0
0.088235
34
1
34
34
0.806452
0
0
0
0
0
0.542857
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
073032049203bfdc6f84f748cd2128bbc2872806
2,959
py
Python
kpca_iris.py
syamkakarla98/Kernel-PCA-Using-Different-Kernels-With-Classification
03302843bff9b0d87e2983bed1f37bc329e716c1
[ "MIT" ]
10
2018-07-12T11:46:21.000Z
2021-03-13T06:47:01.000Z
kpca_iris.py
syamkakarla98/Kernel-PCA-Using-Different-Kernels-With-Classification
03302843bff9b0d87e2983bed1f37bc329e716c1
[ "MIT" ]
null
null
null
kpca_iris.py
syamkakarla98/Kernel-PCA-Using-Different-Kernels-With-Classification
03302843bff9b0d87e2983bed1f37bc329e716c1
[ "MIT" ]
9
2018-09-19T11:57:44.000Z
2021-03-13T06:47:04.000Z
import numpy as np import matplotlib.pyplot as plt import pandas as pd # load dataset into Pandas DataFrame df = pd.read_csv("D:\Python_programs\ML\Iris Data\KPCA\iris.csv") #df.to_csv('iris.csv') from sklearn.preprocessing import StandardScaler features = ['sepal length', 'sepal width', 'petal length', 'petal width...
34.406977
78
0.584657
384
2,959
4.432292
0.385417
0.035253
0.03819
0.039953
0.077556
0.077556
0.044653
0.044653
0.044653
0.044653
0
0.021375
0.193647
2,959
85
79
34.811765
0.691953
0.224062
0
0.074074
0
0
0.155673
0.021108
0
0
0
0
0
1
0.018519
false
0
0.092593
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0730aed278d58141b67cbd8f8213146b99199686
13,377
py
Python
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/italian/dateperiod_extractor_config.py
felaray/Recognizers-Text
f514fd61c8d472ed92565261162712409f655312
[ "MIT" ]
null
null
null
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/italian/dateperiod_extractor_config.py
felaray/Recognizers-Text
f514fd61c8d472ed92565261162712409f655312
[ "MIT" ]
6
2021-12-20T17:13:35.000Z
2022-03-29T08:54:11.000Z
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/italian/dateperiod_extractor_config.py
felaray/Recognizers-Text
f514fd61c8d472ed92565261162712409f655312
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from typing import List, Pattern from recognizers_text.utilities import RegExpUtility from recognizers_number.number import BaseNumberParser from recognizers_number.number.italian.extractors import ItalianIntegerExtractor,...
38.329513
120
0.729984
1,394
13,377
6.584648
0.14132
0.104587
0.130733
0.150343
0.554962
0.475106
0.311036
0.2095
0.070269
0.041835
0
0.000283
0.208268
13,377
348
121
38.439655
0.866396
0.015026
0
0.229965
0
0
0
0
0
0
0
0.002874
0
1
0.1777
false
0
0.052265
0.167247
0.414634
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
0730d1a99c54c1eeab8095b4f4102da12e701b30
4,704
py
Python
pydbrepo/drivers/sqlite.py
danteay/pydbrepo
665ad5fe64a00697128f9943e0fc831ae485f136
[ "MIT" ]
2
2021-09-03T10:54:01.000Z
2022-01-08T18:48:20.000Z
pydbrepo/drivers/sqlite.py
danteay/pydbrepo
665ad5fe64a00697128f9943e0fc831ae485f136
[ "MIT" ]
null
null
null
pydbrepo/drivers/sqlite.py
danteay/pydbrepo
665ad5fe64a00697128f9943e0fc831ae485f136
[ "MIT" ]
1
2021-12-28T17:34:40.000Z
2021-12-28T17:34:40.000Z
"""SQLite Driver implementation.""" # pylint: disable=R0201 import os import sqlite3 from typing import Any, AnyStr, List, NoReturn, Optional, Tuple from pydbrepo.drivers.driver import Driver class SQLite(Driver): """SQLite Driver connection class. Environment variables: DATABASE_URL: Database fil...
28.682927
99
0.605655
524
4,704
5.276718
0.234733
0.023146
0.023146
0.01736
0.404702
0.404702
0.384448
0.384448
0.384448
0.347559
0
0.001775
0.281463
4,704
163
100
28.858896
0.816272
0.359694
0
0.323944
0
0
0.042779
0
0
0
0
0
0
1
0.197183
false
0
0.056338
0
0.366197
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07311f534338364dbf730b4dc400d2a729b73016
3,036
py
Python
Modules/BatchNormND.py
EmilPi/PuzzleLib
31aa0fab3b5e9472b9b9871ca52e4d94ea683fa9
[ "Apache-2.0" ]
52
2020-02-28T20:40:15.000Z
2021-08-25T05:35:17.000Z
Modules/BatchNormND.py
EmilPi/PuzzleLib
31aa0fab3b5e9472b9b9871ca52e4d94ea683fa9
[ "Apache-2.0" ]
2
2021-02-14T15:57:03.000Z
2021-10-05T12:21:34.000Z
Modules/BatchNormND.py
EmilPi/PuzzleLib
31aa0fab3b5e9472b9b9871ca52e4d94ea683fa9
[ "Apache-2.0" ]
8
2020-02-28T20:40:11.000Z
2020-07-09T13:27:23.000Z
import numpy as np from PuzzleLib import Config from PuzzleLib.Backend import gpuarray, Blas from PuzzleLib.Backend.Dnn import batchNormNd, batchNormNdBackward from PuzzleLib.Variable import Variable from PuzzleLib.Modules.Module import ModuleError, Module class BatchNormND(Module): def __init__(self, nd, maps, e...
27.351351
111
0.706522
421
3,036
5.066508
0.251781
0.030005
0.024379
0.048758
0.307548
0.212846
0.152836
0.152836
0.054384
0.054384
0
0.010998
0.161397
3,036
110
112
27.6
0.826787
0
0
0.171053
0
0
0.051713
0
0
0
0
0
0
1
0.105263
false
0
0.078947
0.026316
0.236842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
07315bfc850bee7d8e4dccfb243802584bf7ccf6
38
py
Python
python/testData/editing/enterInIncompleteTupleLiteral.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/editing/enterInIncompleteTupleLiteral.after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/editing/enterInIncompleteTupleLiteral.after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
xs = ('foo', 'bar', 'baz'<caret>
19
19
0.421053
5
38
3.2
1
0
0
0
0
0
0
0
0
0
0
0
0.263158
38
2
20
19
0.571429
0
0
0
0
0
0.230769
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
0731748ca4b74185c74c8c4352a8260f73831cf9
6,038
py
Python
model/server/server.py
waltzofpearls/reckon
533e47fd05f685024083ce7a823e9c26c35dd824
[ "MIT" ]
8
2019-09-01T12:57:38.000Z
2022-03-25T21:54:19.000Z
model/server/server.py
waltzofpearls/reckon
533e47fd05f685024083ce7a823e9c26c35dd824
[ "MIT" ]
3
2021-08-12T13:18:42.000Z
2022-03-12T00:59:15.000Z
model/server/server.py
waltzofpearls/reckon
533e47fd05f685024083ce7a823e9c26c35dd824
[ "MIT" ]
2
2021-12-22T06:56:56.000Z
2022-03-25T21:58:19.000Z
from concurrent import futures from forecaster.prophet import Forecaster as ProphetForecaster from multiprocessing import Event, Process, cpu_count from pythonjsonlogger import jsonlogger import contextlib import grpc import logging import model.api.forecast_pb2_grpc as grpc_lib import os import signal import socket im...
41.07483
101
0.625704
728
6,038
4.978022
0.287088
0.060706
0.030905
0.038631
0.203918
0.166943
0.085541
0.060706
0.022627
0.022627
0
0.006806
0.269957
6,038
146
102
41.356164
0.815336
0.05217
0
0.086614
0
0
0.092405
0.024151
0
0
0
0
0
1
0.086614
false
0
0.102362
0
0.267717
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0732a0a35499cb2f8dd3e3317232410829321054
191
py
Python
test/test_setupcall.py
jhgoebbert/jupyter-libertem-proxy
2f966744c08c14c534030c2623fe4a3a8590dabe
[ "BSD-3-Clause" ]
null
null
null
test/test_setupcall.py
jhgoebbert/jupyter-libertem-proxy
2f966744c08c14c534030c2623fe4a3a8590dabe
[ "BSD-3-Clause" ]
null
null
null
test/test_setupcall.py
jhgoebbert/jupyter-libertem-proxy
2f966744c08c14c534030c2623fe4a3a8590dabe
[ "BSD-3-Clause" ]
null
null
null
def test_setupcall(): """ Test the call of the setup function """ import jupyter_libertem_proxy as jx print("\nRunning test_setupcall...") print(jx.setup_libertem())
21.222222
40
0.659686
24
191
5.041667
0.666667
0.214876
0
0
0
0
0
0
0
0
0
0
0.225131
191
8
41
23.875
0.817568
0.183246
0
0
0
0
0.192857
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
6
0733497e7a5accdfb3af9d8db6169c656322604e
14,221
py
Python
launchpad/launch/worker_manager.py
LaudateCorpus1/launchpad
6068bbaff9da6d9d520c01314ef920d0d4978afc
[ "Apache-2.0" ]
null
null
null
launchpad/launch/worker_manager.py
LaudateCorpus1/launchpad
6068bbaff9da6d9d520c01314ef920d0d4978afc
[ "Apache-2.0" ]
1
2021-10-05T16:06:38.000Z
2021-10-05T16:06:38.000Z
launchpad/launch/worker_manager.py
LaudateCorpus1/launchpad
6068bbaff9da6d9d520c01314ef920d0d4978afc
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
33.779097
81
0.660713
1,774
14,221
5.071026
0.192221
0.022232
0.026456
0.016674
0.2241
0.16663
0.108382
0.093264
0.060805
0.056247
0
0.002841
0.257507
14,221
420
82
33.859524
0.849133
0.224738
0
0.327586
0
0
0.038401
0
0
0
0
0.002381
0.010345
1
0.089655
false
0.017241
0.055172
0.003448
0.172414
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0