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
6aa62343269180c72e1026d8bfdc9d3fa9196b1e
7,448
py
Python
gluon/contrib/pbkdf2_ctypes.py
Cwlowe/web2py
6ae4c3c274be1026cbc45b0fcd8d1180c74b9070
[ "BSD-3-Clause" ]
9
2018-04-19T05:08:30.000Z
2021-11-23T07:36:58.000Z
gluon/contrib/pbkdf2_ctypes.py
mohit3011/Quiz-Mate
17988a623abde439aef2b43fc8dc3162b5cae15e
[ "BSD-3-Clause" ]
98
2017-11-02T19:00:44.000Z
2022-03-22T16:15:39.000Z
gluon/contrib/pbkdf2_ctypes.py
mohit3011/Quiz-Mate
17988a623abde439aef2b43fc8dc3162b5cae15e
[ "BSD-3-Clause" ]
9
2017-10-24T21:53:36.000Z
2021-11-23T07:36:59.000Z
# -*- coding: utf-8 -*- """ pbkdf2_ctypes ~~~~~~ Fast pbkdf2. This module implements pbkdf2 for Python using crypto lib from openssl or commoncrypto. Note: This module is intended as a plugin replacement of pbkdf2.py by Armin Ronacher. Git repository: $ git clone https://github.c...
38.194872
88
0.569683
850
7,448
4.732941
0.223529
0.0609
0.041014
0.032811
0.49043
0.434999
0.338553
0.338553
0.272682
0.222719
0
0.034061
0.341702
7,448
194
89
38.391753
0.786457
0.116273
0
0.309353
0
0
0.054685
0
0
0
0
0
0
1
0.057554
false
0.05036
0.064748
0.021583
0.179856
0.014388
0
0
0
null
0
0
0
0
0
0
0
0
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
6aa7fd8436efabe5593a8174e9772f897fb7aec0
4,465
py
Python
sympy/polys/tests/test_sqfreetools.py
eriknw/sympy
b7544e2bb74c011f6098a7e886fd77f41776c2c4
[ "BSD-3-Clause" ]
7
2015-01-14T06:55:33.000Z
2018-08-11T14:43:52.000Z
sympy/polys/tests/test_sqfreetools.py
pbeltran/sympy-1
94f92b36731c2bebe6de1037c063c2a258a8a399
[ "BSD-3-Clause" ]
1
2018-02-19T04:56:04.000Z
2018-02-19T04:56:04.000Z
sympy/polys/tests/test_sqfreetools.py
pbeltran/sympy-1
94f92b36731c2bebe6de1037c063c2a258a8a399
[ "BSD-3-Clause" ]
1
2016-04-24T14:39:22.000Z
2016-04-24T14:39:22.000Z
"""Tests for square-free decomposition algorithms and related tools. """ from sympy.polys.rings import ring from sympy.polys.domains import FF, ZZ, QQ from sympy.polys.polyclasses import DMP from sympy.polys.specialpolys import f_polys from sympy.utilities.pytest import raises f_0, f_1, f_2, f_3, f_4, f_5, f_6 = f_p...
29.569536
100
0.519821
975
4,465
2.212308
0.082051
0.178489
0.12981
0.156699
0.662031
0.596198
0.504868
0.385257
0.29949
0.223459
0
0.088722
0.255319
4,465
150
101
29.766667
0.56
0.014558
0
0.135922
0
0
0.00774
0
0
0
0
0
0.572816
1
0.029126
false
0
0.048544
0
0.07767
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
6aa848925fe885025486d711e7226e473656a954
1,377
py
Python
ezno_convert/enums.py
ofersadan85/ezno_convert
4c5cf7d41c72698e5486068673f170d968a9de27
[ "MIT" ]
2
2021-02-07T21:27:04.000Z
2021-03-13T06:47:25.000Z
ezno_convert/enums.py
ofersadan85/ezno_convert
4c5cf7d41c72698e5486068673f170d968a9de27
[ "MIT" ]
1
2021-02-10T05:45:00.000Z
2021-02-10T05:45:00.000Z
ezno_convert/enums.py
ofersadan85/ezno_convert
4c5cf7d41c72698e5486068673f170d968a9de27
[ "MIT" ]
null
null
null
import enum from typing import Union @enum.unique class PPT(enum.Enum): # Source: https://docs.microsoft.com/en-us/office/vba/api/powerpoint.ppsaveasfiletype AnimatedGIF = 40 BMP = 19 Default = 11 EMF = 23 External = 64000 GIF = 16 JPG = 17 META = 15 MP4 = 39 OpenPresentati...
20.863636
114
0.611474
177
1,377
4.751412
0.553672
0.042806
0.085612
0.099881
0.237812
0.237812
0.237812
0.237812
0.237812
0.237812
0
0.065606
0.269426
1,377
65
115
21.184615
0.770378
0.251271
0
0.09434
0
0
0.079922
0.021443
0
0
0
0.015385
0
1
0
false
0
0.037736
0
0.924528
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
6ab5293b9595b159942c1bb0c1e2bfcef5e08aec
1,029
py
Python
solutions/PE4.py
KerimovEmil/ProjectEuler
bc9cb682181c1ac7889ee57c36d32beae7b441a8
[ "MIT" ]
1
2022-01-22T19:48:44.000Z
2022-01-22T19:48:44.000Z
solutions/PE4.py
KerimovEmil/ProjectEuler
bc9cb682181c1ac7889ee57c36d32beae7b441a8
[ "MIT" ]
null
null
null
solutions/PE4.py
KerimovEmil/ProjectEuler
bc9cb682181c1ac7889ee57c36d32beae7b441a8
[ "MIT" ]
null
null
null
""" PROBLEM A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. ANSWER: 906609 Solve time ~ 0.760 seconds """ from itertools import product import unittest fro...
21.4375
114
0.640428
144
1,029
4.458333
0.493056
0.042056
0.062305
0.074766
0.133956
0.133956
0.133956
0.133956
0.133956
0
0
0.050781
0.253644
1,029
47
115
21.893617
0.783854
0.252673
0
0
0
0
0.010512
0
0
0
0
0
0.041667
1
0.208333
false
0
0.125
0.041667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6ab606d6bade1bb254f8ee2b1905c9d3d07e2051
11,447
py
Python
ai_analysis.py
kwangilkimkenny/chatbot_seq2seq_flask
f2f3bda9311c5f2930aebc8ae4a6497597b190e1
[ "MIT" ]
null
null
null
ai_analysis.py
kwangilkimkenny/chatbot_seq2seq_flask
f2f3bda9311c5f2930aebc8ae4a6497597b190e1
[ "MIT" ]
null
null
null
ai_analysis.py
kwangilkimkenny/chatbot_seq2seq_flask
f2f3bda9311c5f2930aebc8ae4a6497597b190e1
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import re import pickle # plotting import seaborn as sns import matplotlib.pyplot as plt # Tune learning_rate from numpy import loadtxt from xgboost import XGBClassifier from sklearn.model_selection import GridSearchCV from sklearn.model_selection import Stratifie...
41.625455
3,675
0.653621
1,750
11,447
4.194286
0.326857
0.006812
0.00327
0.007084
0.107493
0.070845
0.06049
0.053951
0.053951
0.053951
0
0.011976
0.241373
11,447
275
3,676
41.625455
0.833026
0.451909
0
0.042553
0
0.007092
0.111929
0.024987
0
0
0
0
0
1
0.035461
false
0
0.156028
0.007092
0.22695
0.070922
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ac1a5f132a19c0dca01d22ddfd3613255dba8b5
4,258
py
Python
wce_triage/ops/create_image_runner.py
pfrouleau/wce-triage-v2
25610cda55f5cb2170e13e121ae1cbaa92ef7626
[ "MIT" ]
3
2019-07-25T03:24:23.000Z
2021-06-23T14:01:34.000Z
wce_triage/ops/create_image_runner.py
pfrouleau/wce-triage-v2
25610cda55f5cb2170e13e121ae1cbaa92ef7626
[ "MIT" ]
1
2019-12-20T16:04:19.000Z
2019-12-20T16:04:19.000Z
wce_triage/ops/create_image_runner.py
pfrouleau/wce-triage-v2
25610cda55f5cb2170e13e121ae1cbaa92ef7626
[ "MIT" ]
2
2019-07-25T03:24:26.000Z
2021-02-14T05:27:11.000Z
#!/usr/bin/env python3 # # Create disk image # import re, sys, traceback from .tasks import task_fetch_partitions, task_refresh_partitions, task_mount, task_remove_persistent_rules, task_remove_logs, task_fsck, task_shrink_partition, task_expand_partition, task_unmount from .partclone_tasks import task_create_disk_im...
35.190083
196
0.711837
593
4,258
4.903879
0.284992
0.079436
0.067056
0.071871
0.237276
0.18088
0.162311
0.162311
0.149243
0.134801
0
0.003726
0.180601
4,258
120
197
35.483333
0.829751
0.155707
0
0.27381
0
0
0.142457
0
0
0
0
0.008333
0
1
0.02381
false
0.130952
0.107143
0
0.142857
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
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
6ac3173f834c06ec5469554b76a1d8e391432cee
5,171
py
Python
demos/chicken_pasta/chicken_pasta.py
icaros-usc/wecook
27bbb6b78a48e04765a87d33cc8a5d3748d2d4cc
[ "BSD-3-Clause" ]
15
2019-09-15T05:24:19.000Z
2021-02-26T20:31:19.000Z
demos/chicken_pasta/chicken_pasta.py
icaros-usc/wecook
27bbb6b78a48e04765a87d33cc8a5d3748d2d4cc
[ "BSD-3-Clause" ]
16
2019-10-10T23:27:00.000Z
2020-05-14T02:30:56.000Z
demos/chicken_pasta/chicken_pasta.py
icaros-usc/wecook
27bbb6b78a48e04765a87d33cc8a5d3748d2d4cc
[ "BSD-3-Clause" ]
2
2020-02-01T16:31:29.000Z
2020-04-07T21:00:04.000Z
#!/usr/bin/env python3 import rospy from wecook.msg import ActionMsg, TaskMsg, SceneMsg, ObjectMsg, ContainingMsg, AgentMsg def talker(): pub = rospy.Publisher('WeCookDispatch', TaskMsg, queue_size=10) rospy.init_node('wecook_chicken_pasta', anonymous=True) scene_msg = SceneMsg([ObjectMsg('wall0', ...
55.010638
98
0.375169
482
5,171
3.927386
0.242739
0.058109
0.049128
0.243001
0.58056
0.349709
0.303222
0.231379
0.156366
0
0
0.11743
0.47631
5,171
93
99
55.602151
0.58161
0.010056
0
0.097561
0
0
0.243502
0.197772
0
0
0
0
0
1
0.012195
false
0.012195
0.02439
0
0.036585
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
6ac3c0aa131a8fbf4b061367a8fbb2e23790a4c8
3,777
py
Python
metricbeat/module/postgresql/test_postgresql.py
SHolzhauer/beats
39679a536a22e8a0d7534a2475504488909d19fd
[ "ECL-2.0", "Apache-2.0" ]
4
2020-11-17T06:29:30.000Z
2021-08-08T11:56:01.000Z
metricbeat/module/postgresql/test_postgresql.py
SHolzhauer/beats
39679a536a22e8a0d7534a2475504488909d19fd
[ "ECL-2.0", "Apache-2.0" ]
36
2021-02-02T14:18:40.000Z
2022-03-20T15:07:30.000Z
metricbeat/module/postgresql/test_postgresql.py
SHolzhauer/beats
39679a536a22e8a0d7534a2475504488909d19fd
[ "ECL-2.0", "Apache-2.0" ]
6
2021-03-10T05:38:32.000Z
2021-08-16T13:11:19.000Z
import metricbeat import os import pytest import sys import unittest class Test(metricbeat.BaseTest): COMPOSE_SERVICES = ['postgresql'] def common_checks(self, output): # Ensure no errors or warnings exist in the log. self.assert_no_logged_warnings() for evt in output: t...
32.843478
76
0.581943
380
3,777
5.626316
0.247368
0.028064
0.084191
0.064546
0.697381
0.623012
0.579046
0.579046
0.579046
0.579046
0
0.00224
0.290707
3,777
114
77
33.131579
0.795819
0.041038
0
0.556818
0
0
0.182432
0.008164
0
0
0
0
0.170455
1
0.056818
false
0.079545
0.056818
0
0.147727
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
6ac4ca9b00a8492410dc6166ad36ac8d64fdcffc
2,337
py
Python
rabbitmq/tests/common.py
jfmyers9/integrations-core
8793c784f1d5b2c9541b2dd4214dd91584793ced
[ "BSD-3-Clause" ]
1
2021-03-24T13:00:14.000Z
2021-03-24T13:00:14.000Z
rabbitmq/tests/common.py
jfmyers9/integrations-core
8793c784f1d5b2c9541b2dd4214dd91584793ced
[ "BSD-3-Clause" ]
null
null
null
rabbitmq/tests/common.py
jfmyers9/integrations-core
8793c784f1d5b2c9541b2dd4214dd91584793ced
[ "BSD-3-Clause" ]
null
null
null
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os from packaging import version from datadog_checks.base.utils.common import get_docker_hostname HERE = os.path.dirname(os.path.abspath(__file__)) ROOT = os.path.dirname(os.path.dirname(HERE)) ...
23.606061
64
0.618314
291
2,337
4.694158
0.323024
0.023426
0.070278
0.076135
0.489751
0.418009
0.418009
0.418009
0.418009
0.418009
0
0.027749
0.182713
2,337
98
65
23.846939
0.687435
0.046213
0
0.341772
0
0
0.402247
0.011236
0
0
0
0
0
1
0
false
0.088608
0.037975
0
0.037975
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
6ac55faf90a367de65f30a569842061f13204e0c
2,952
py
Python
module1-introduction-to-sql/query.py
jrslagle/DS-Unit-3-Sprint-2-SQL-and-Databases
8a6b3fd14b6a6833ee3a14b2d8a7db3bee494a14
[ "MIT" ]
null
null
null
module1-introduction-to-sql/query.py
jrslagle/DS-Unit-3-Sprint-2-SQL-and-Databases
8a6b3fd14b6a6833ee3a14b2d8a7db3bee494a14
[ "MIT" ]
null
null
null
module1-introduction-to-sql/query.py
jrslagle/DS-Unit-3-Sprint-2-SQL-and-Databases
8a6b3fd14b6a6833ee3a14b2d8a7db3bee494a14
[ "MIT" ]
null
null
null
# Look at the charactercreator_character table # GET_CHARACTERS = """ # SELECT * # FROM charactercreator_character; # """ # How many total Characters are there? (302) TOTAL_CHARACTERS = """ SELECT COUNT(*) as number_of_characters FROM charactercreator_character; """ # How many of each specific subclass? # TOTAL_SUBC...
28.941176
120
0.774051
404
2,952
5.445545
0.195545
0.109091
0.079545
0.084545
0.530455
0.464091
0.430909
0.337727
0.308636
0.265909
0
0.009827
0.138211
2,952
101
121
29.227723
0.854953
0.300474
0
0.328358
0
0
0.882353
0.267647
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ac7d878414c23d75e260d1c447ced1efb264340
2,420
py
Python
events_page/app.py
los-verdes/lv-event-pagenerator
88416b626ff2dca6e2d71fa60bff4823954b3131
[ "MIT" ]
null
null
null
events_page/app.py
los-verdes/lv-event-pagenerator
88416b626ff2dca6e2d71fa60bff4823954b3131
[ "MIT" ]
7
2022-01-16T15:36:40.000Z
2022-01-25T22:02:12.000Z
events_page/app.py
los-verdes/lv-event-pagenerator
88416b626ff2dca6e2d71fa60bff4823954b3131
[ "MIT" ]
null
null
null
#!/usr/bin/env python from zoneinfo import ZoneInfo import flask from dateutil.parser import parse from flask_assets import Bundle, Environment from logzero import logger, setup_logger from webassets.filter import get_filter from config import cfg from apis import calendar as gcal setup_logger(name=__name__) app =...
24.444444
87
0.648347
319
2,420
4.711599
0.413793
0.035928
0.033932
0.03992
0.141051
0.141051
0.086494
0.086494
0.086494
0.086494
0
0.008952
0.215289
2,420
98
88
24.693878
0.782517
0.06281
0
0.04
0
0
0.150133
0.0093
0
0
0
0.010204
0
1
0.08
false
0
0.106667
0.04
0.32
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
6aca7a5f520c3a19c81c989f925529d891ca4d67
661
py
Python
_doc/sphinxdoc/source/conf.py
Jerome-maker/ensae_teaching_cs
43ea044361ee60c00c85aea354a7b25c21c0fd07
[ "MIT" ]
null
null
null
_doc/sphinxdoc/source/conf.py
Jerome-maker/ensae_teaching_cs
43ea044361ee60c00c85aea354a7b25c21c0fd07
[ "MIT" ]
null
null
null
_doc/sphinxdoc/source/conf.py
Jerome-maker/ensae_teaching_cs
43ea044361ee60c00c85aea354a7b25c21c0fd07
[ "MIT" ]
null
null
null
import sys import os import sphinx_rtd_theme source_path = os.path.normpath( os.path.join( os.path.abspath( os.path.split(__file__)[0]))) try: from conf_base import * except ImportError: sys.path.append(source_path) from conf_base import * html_theme = 'sphinx_rtd_theme' html_the...
25.423077
74
0.741301
98
661
4.673469
0.428571
0.091703
0.091703
0.078603
0.152838
0.152838
0.152838
0.152838
0
0
0
0.00703
0.139183
661
25
75
26.44
0.797891
0
0
0.105263
0
0
0.151286
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6acc395ad3bfafbc612c2d532d32bbb5ce80e13f
4,123
py
Python
flink-ai-flow/lib/notification_service/notification_service/mongo_event_storage.py
lisy09/flink-ai-extended
011a5a332f7641f66086653e715d0596eab2e107
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
1
2021-08-06T04:24:36.000Z
2021-08-06T04:24:36.000Z
flink-ai-flow/lib/notification_service/notification_service/mongo_event_storage.py
sentimentist/flink-ai-extended
689d000f2db8919fd80e0725a1609918ca4a26f4
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
flink-ai-flow/lib/notification_service/notification_service/mongo_event_storage.py
sentimentist/flink-ai-extended
689d000f2db8919fd80e0725a1609918ca4a26f4
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
1
2021-05-20T02:17:11.000Z
2021-05-20T02:17:11.000Z
# # 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...
38.175926
97
0.64031
494
4,123
5.192308
0.311741
0.024561
0.026901
0.023392
0.051462
0.041326
0
0
0
0
0
0.004329
0.271647
4,123
107
98
38.53271
0.849817
0.182391
0
0.037975
0
0
0.063544
0.01253
0
0
0
0
0
1
0.101266
false
0.063291
0.101266
0
0.303797
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
6accba984dd52f022ed6544e1f7ad42db7180437
665
py
Python
setup.py
rrwen/search_google
e647868ba5da2803e787a3c06b32e09452068736
[ "MIT" ]
15
2017-08-24T18:44:55.000Z
2021-02-01T22:07:53.000Z
setup.py
rrwen/search_google
e647868ba5da2803e787a3c06b32e09452068736
[ "MIT" ]
5
2017-09-05T12:25:09.000Z
2021-10-18T06:45:24.000Z
setup.py
rrwen/search_google
e647868ba5da2803e787a3c06b32e09452068736
[ "MIT" ]
1
2018-02-20T13:44:44.000Z
2018-02-20T13:44:44.000Z
# -*- coding: utf-8 -*- from setuptools import setup import search_google as package def readme(): with open('README.rst') as f: return ''.join(f.readlines()[11:]) setup( name=package.__name__, version=package.__version__, description=package.__description__, long_description=readme(), author=pack...
24.62963
47
0.771429
77
665
5.844156
0.480519
0.044444
0
0
0
0
0
0
0
0
0
0.005119
0.118797
665
26
48
25.576923
0.762799
0.031579
0
0
0
0
0.015576
0
0
0
0
0
0
1
0.047619
true
0
0.095238
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
6ad2141e919181f75e53ccffa43344d1aae6eea7
346
py
Python
main.py
BenG49/sudoku
e4b14655e23d04c161feb16ceb1338537f519bdb
[ "MIT" ]
null
null
null
main.py
BenG49/sudoku
e4b14655e23d04c161feb16ceb1338537f519bdb
[ "MIT" ]
null
null
null
main.py
BenG49/sudoku
e4b14655e23d04c161feb16ceb1338537f519bdb
[ "MIT" ]
null
null
null
from sudoku import Sudoku def main(): s = Sudoku.parse( ''' ------------- | |2 | | | | 6 |4 3| | | 5| 7 | ------------- | 7 | 2|8 | |51 | 4|9 | | 9| 3| | ------------- | | 9| | | 2| | 98| | 83|1 |2 | ------------- ''' ) print(s) print(s.solve()) if __name...
12.814815
26
0.297688
38
346
2.5
0.605263
0.126316
0
0
0
0
0
0
0
0
0
0.105505
0.369942
346
26
27
13.307692
0.330275
0
0
0
0
0
0.062016
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6adc3f2423ac6cf2c778f44e1751ae2e595e05f5
74,159
py
Python
jss_figures_replication_script.py
Cole-vJ/AdvEMDpy
160cd44b371a2c8aa66961f23062c1d7305dd728
[ "Unlicense" ]
null
null
null
jss_figures_replication_script.py
Cole-vJ/AdvEMDpy
160cd44b371a2c8aa66961f23062c1d7305dd728
[ "Unlicense" ]
null
null
null
jss_figures_replication_script.py
Cole-vJ/AdvEMDpy
160cd44b371a2c8aa66961f23062c1d7305dd728
[ "Unlicense" ]
null
null
null
# ________ # / # \ / # \ / # \/ import random import textwrap import emd_mean import AdvEMDpy import emd_basis import emd_utils import numpy as np import pandas as pd import cvxpy as cvx import seaborn as sns import matplotlib.pyplot as plt from scipy.integrate import odeint from ...
48.949835
135
0.664141
12,802
74,159
3.621856
0.043196
0.016909
0.027498
0.012768
0.784416
0.728988
0.665711
0.613152
0.567192
0.53523
0
0.065736
0.149732
74,159
1,514
136
48.982166
0.66959
0.012662
0
0.425532
0
0.007092
0.114509
0.018518
0
0
0
0
0
1
0.000788
false
0.000788
0.016548
0
0.018125
0.007092
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
6adeb529cfb4e14bdceab8619cd0e9f75dad5fb6
615
py
Python
migrations/versions/0158_remove_rate_limit_default.py
cds-snc/notifier-api
90b385ec49efbaee7e607516fc7d9f08991af813
[ "MIT" ]
41
2019-11-28T16:58:41.000Z
2022-01-28T21:11:16.000Z
migrations/versions/0158_remove_rate_limit_default.py
cds-snc/notification-api
b1c1064f291eb860b494c3fa65ac256ad70bf47c
[ "MIT" ]
1,083
2019-07-08T12:57:24.000Z
2022-03-08T18:53:40.000Z
migrations/versions/0158_remove_rate_limit_default.py
cds-snc/notifier-api
90b385ec49efbaee7e607516fc7d9f08991af813
[ "MIT" ]
9
2020-01-24T19:56:43.000Z
2022-01-27T21:36:53.000Z
""" Revision ID: 0158_remove_rate_limit_default Revises: 0157_add_rate_limit_to_service Create Date: 2018-01-09 14:33:08.313893 """ import sqlalchemy as sa from alembic import op revision = "0158_remove_rate_limit_default" down_revision = "0157_add_rate_limit_to_service" def upgrade(): op.execute("ALTER TABLE ...
26.73913
82
0.785366
93
615
4.924731
0.430108
0.157205
0.122271
0.165939
0.720524
0.558952
0.388646
0.388646
0.209607
0
0
0.082552
0.133333
615
22
83
27.954545
0.776735
0.2
0
0
0
0
0.59751
0.124481
0
0
0
0
0
1
0.2
false
0
0.2
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
6ae016a3900fe6ed337451d458c99fc65e3be76f
888
py
Python
backend/core/api_urls.py
albeiks/omaralbeik.com
8d096130393919612863aac6280dffaf6e00961d
[ "MIT" ]
10
2020-05-05T16:20:04.000Z
2021-07-22T15:15:13.000Z
backend/core/api_urls.py
albeiks/omaralbeik.com
8d096130393919612863aac6280dffaf6e00961d
[ "MIT" ]
null
null
null
backend/core/api_urls.py
albeiks/omaralbeik.com
8d096130393919612863aac6280dffaf6e00961d
[ "MIT" ]
1
2020-05-06T22:31:48.000Z
2020-05-06T22:31:48.000Z
from django.conf.urls import url, include from core.routers import OptionalTrailingSlashRouter from blog import views as blogViews from snippets import views as snippetsViews from projects import views as projectsViews from tags import views as tagsViews from contents import views as contentsViews from contact import ...
35.52
71
0.824324
107
888
6.841122
0.411215
0.13388
0.143443
0
0
0
0
0
0
0
0
0.001245
0.095721
888
24
72
37
0.910336
0.047297
0
0
0
0
0.061611
0
0
0
0
0
0
1
0
false
0
0.421053
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0a77fdb1c15169709a632c8652ce9cffd62abd68
491
py
Python
jnpy/experiments/Qt/pyqtgraph_tutorial/codeloop_org_materials/c4_drawing_curves.py
jojoquant/jnpy
c874060af4b129ae09cee9f8542517b7b2f6573b
[ "MIT" ]
5
2020-05-19T07:32:39.000Z
2022-03-14T09:09:48.000Z
jnpy/experiments/Qt/pyqtgraph_tutorial/codeloop_org_materials/c4_drawing_curves.py
jojoquant/jnpy
c874060af4b129ae09cee9f8542517b7b2f6573b
[ "MIT" ]
null
null
null
jnpy/experiments/Qt/pyqtgraph_tutorial/codeloop_org_materials/c4_drawing_curves.py
jojoquant/jnpy
c874060af4b129ae09cee9f8542517b7b2f6573b
[ "MIT" ]
3
2020-04-02T08:30:17.000Z
2020-05-03T12:12:05.000Z
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # @Datetime : 2019/11/14 上午2:26 # @Author : Fangyang # @Software : PyCharm import sys from PyQt5.QtWidgets import QApplication import pyqtgraph as pg import numpy as np app = QApplication(sys.argv) x = np.arange(1000) y = np.random.normal(size=(3, 1000)) plotWidget = ...
19.64
47
0.678208
77
491
4.207792
0.714286
0
0
0
0
0
0
0
0
0
0
0.060976
0.164969
491
24
48
20.458333
0.729268
0.230143
0
0
0
0
0.067204
0
0
0
0
0
0
1
0
false
0.071429
0.285714
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
1
0
0
0
0
0
1
0a7f1dd168a64e7f7f19d3324731c892ec275922
1,845
py
Python
patch.py
silverhikari/romtools
2a09290fef85f35502a95c5c2874317029f0439c
[ "Apache-2.0" ]
5
2018-02-02T06:36:56.000Z
2020-12-21T20:17:20.000Z
patch.py
silverhikari/romtools
2a09290fef85f35502a95c5c2874317029f0439c
[ "Apache-2.0" ]
8
2017-10-10T17:50:47.000Z
2021-06-02T00:02:58.000Z
patch.py
silverhikari/romtools
2a09290fef85f35502a95c5c2874317029f0439c
[ "Apache-2.0" ]
2
2017-10-10T20:15:24.000Z
2021-12-17T04:50:16.000Z
""" Utils for creating xdelta patches. """ import logging from subprocess import check_output, CalledProcessError from shutil import copyfile from os import remove, path class PatchChecksumError(Exception): def __init__(self, message, errors): super(PatchChecksumError, self).__init__(message) class Patc...
27.132353
78
0.564228
190
1,845
5.352632
0.378947
0.129794
0.078663
0.070796
0.198623
0.108161
0.108161
0.108161
0.108161
0
0
0.002479
0.344173
1,845
67
79
27.537313
0.838017
0.106775
0
0.384615
0
0
0.040929
0
0
0
0
0.014925
0
1
0.076923
false
0
0.076923
0
0.192308
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
1
0
0
0
0
0
0
0
0
0
0
1
0a8741dde6ef103d06812289a7da5d5ee4748c1d
2,427
py
Python
src/tkdialog/dialog.py
KosukeMizuno/tkdialog
082fc106908bbbfa819d1a129929165f11d4e944
[ "MIT" ]
null
null
null
src/tkdialog/dialog.py
KosukeMizuno/tkdialog
082fc106908bbbfa819d1a129929165f11d4e944
[ "MIT" ]
null
null
null
src/tkdialog/dialog.py
KosukeMizuno/tkdialog
082fc106908bbbfa819d1a129929165f11d4e944
[ "MIT" ]
null
null
null
from pathlib import Path import pickle import tkinter as tk import tkinter.filedialog def open_dialog(**opt): """Parameters ---------- Options will be passed to `tkinter.filedialog.askopenfilename`. See also tkinter's document. Followings are example of frequently used options. - filetypes=[(l...
25.547368
79
0.622167
291
2,427
5.085911
0.285223
0.054054
0.032432
0.037838
0.713514
0.713514
0.677027
0.648649
0.547297
0.547297
0
0
0.23527
2,427
94
80
25.819149
0.797414
0.433045
0
0.5
0
0
0.050945
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.388889
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
0a89d9e3455e77e62d24b044c32fc90cbc464fc1
368
py
Python
setup.py
SilicalNZ/canvas
44d1eee02c334aae6b41aeba01ed0ecdf83aed21
[ "MIT" ]
7
2019-08-04T20:37:55.000Z
2020-03-05T08:36:10.000Z
setup.py
SilicalNZ/canvas
44d1eee02c334aae6b41aeba01ed0ecdf83aed21
[ "MIT" ]
1
2019-10-21T05:43:28.000Z
2019-10-21T05:43:28.000Z
setup.py
SilicalNZ/canvas
44d1eee02c334aae6b41aeba01ed0ecdf83aed21
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name = 'sili-canvas', version = '0.0.1', license = 'MIT', url = 'https://github.com/SilicalNZ/canvas', description = 'A series of easy to use classes to perform complex 2D array transformations', long_description = '', author = 'SilicalNZ', packages ...
26.285714
96
0.649457
43
368
5.534884
0.790698
0
0
0
0
0
0
0
0
0
0
0.013699
0.206522
368
13
97
28.307692
0.80137
0
0
0
0
0
0.459239
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0a8b4fc2b42148f674fa2146ee9800ea9e96f927
2,614
py
Python
surname_rnn/surname/containers.py
sudarshan85/nlpbook
41e59d706fb31f5185a0133789639ccffbddb41f
[ "Apache-2.0" ]
null
null
null
surname_rnn/surname/containers.py
sudarshan85/nlpbook
41e59d706fb31f5185a0133789639ccffbddb41f
[ "Apache-2.0" ]
null
null
null
surname_rnn/surname/containers.py
sudarshan85/nlpbook
41e59d706fb31f5185a0133789639ccffbddb41f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import pandas as pd from pathlib import Path from torch.utils.data import DataLoader class ModelContainer(object): def __init__(self, model, optimizer, loss_fn, scheduler=None): self.model = model self.optimizer = optimizer self.loss_fn = loss_fn self.scheduler = scheduler cl...
33.512821
100
0.729533
389
2,614
4.570694
0.210797
0.045557
0.043307
0.040495
0.22216
0.22216
0.189539
0.150169
0.053993
0
0
0.001366
0.159908
2,614
77
101
33.948052
0.808288
0.007651
0
0.101695
0
0
0.053627
0
0
0
0
0
0
1
0.152542
false
0
0.050847
0.101695
0.355932
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
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
0a95cfa206f2acf8636e2a3399ef4362d43aa15a
3,092
py
Python
pybm/commands/compare.py
nicholasjng/pybm
13e256ca5c2c8239f9d611b9849dab92f70b2834
[ "Apache-2.0" ]
12
2021-10-10T20:00:07.000Z
2022-02-09T11:29:07.000Z
pybm/commands/compare.py
nicholasjng/pybm
13e256ca5c2c8239f9d611b9849dab92f70b2834
[ "Apache-2.0" ]
20
2021-10-13T09:37:20.000Z
2022-03-07T15:14:00.000Z
pybm/commands/compare.py
nicholasjng/pybm
13e256ca5c2c8239f9d611b9849dab92f70b2834
[ "Apache-2.0" ]
1
2022-02-09T10:09:41.000Z
2022-02-09T10:09:41.000Z
from typing import List from pybm import PybmConfig from pybm.command import CLICommand from pybm.config import get_reporter_class from pybm.exceptions import PybmError from pybm.reporters import BaseReporter from pybm.status_codes import ERROR, SUCCESS from pybm.util.path import get_subdirs class CompareCommand(CLI...
32.893617
86
0.597025
351
3,092
5.11396
0.361823
0.031198
0.026741
0.035097
0.057939
0.057939
0.057939
0.057939
0
0
0
0.000474
0.317917
3,092
93
87
33.247312
0.85064
0.058215
0
0.056338
0
0
0.212509
0
0
0
0
0.010753
0
1
0.042254
false
0
0.112676
0
0.211268
0.014085
0
0
0
null
0
0
0
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
0a96a8a9570ed3b24a4bfee94944da9262d1bde3
449
py
Python
setup.py
nopipifish/bert4keras
d8fd065b9b74b8a82b381b7183f9934422e4caa9
[ "Apache-2.0" ]
1
2020-09-09T02:34:28.000Z
2020-09-09T02:34:28.000Z
setup.py
nopipifish/bert4keras
d8fd065b9b74b8a82b381b7183f9934422e4caa9
[ "Apache-2.0" ]
null
null
null
setup.py
nopipifish/bert4keras
d8fd065b9b74b8a82b381b7183f9934422e4caa9
[ "Apache-2.0" ]
null
null
null
#! -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='bert4keras', version='0.8.4', description='an elegant bert4keras', long_description='bert4keras: https://github.com/bojone/bert4keras', license='Apache License 2.0', url='https://github.com/bojone/bert4keras', ...
26.411765
72
0.674833
56
449
5.321429
0.642857
0.080537
0.09396
0.134228
0.201342
0
0
0
0
0
0
0.036842
0.153675
449
16
73
28.0625
0.747368
0.051225
0
0
0
0
0.411765
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0a98cfd9f20dfc0c1b38e64c743a29230c7a8c4f
195
py
Python
whoPay.py
susurigirl/susuri
cec96cc9abd5a25762e15db27c17e70a95ae874c
[ "MIT" ]
null
null
null
whoPay.py
susurigirl/susuri
cec96cc9abd5a25762e15db27c17e70a95ae874c
[ "MIT" ]
null
null
null
whoPay.py
susurigirl/susuri
cec96cc9abd5a25762e15db27c17e70a95ae874c
[ "MIT" ]
null
null
null
import random names_string = input("내기를 할 친구들의 이름을 적습니다. 콤마(,)로 분리해서 적습니다.\n") names = names_string.split(",") print(names) n = random.randint(0, len(names)) print(f"오늘 커피는 {names[n]}가 쏩니다!")
19.5
64
0.676923
35
195
3.714286
0.685714
0.169231
0
0
0
0
0
0
0
0
0
0.005952
0.138462
195
9
65
21.666667
0.767857
0
0
0
0
0
0.328205
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a99a93e656914b21bfd27861c1447d786a91bee
2,929
py
Python
MicroPython_BUILD/components/micropython/esp32/modules_examples/mqtt_example.py
FlorianPoot/MicroPython_ESP32_psRAM_LoBo
fff2e193d064effe36a7d456050faa78fe6280a8
[ "Apache-2.0" ]
838
2017-07-14T10:08:13.000Z
2022-03-22T22:09:14.000Z
MicroPython_BUILD/components/micropython/esp32/modules_examples/mqtt_example.py
FlorianPoot/MicroPython_ESP32_psRAM_LoBo
fff2e193d064effe36a7d456050faa78fe6280a8
[ "Apache-2.0" ]
395
2017-08-18T15:56:17.000Z
2022-03-20T11:28:23.000Z
MicroPython_BUILD/components/micropython/esp32/modules_examples/mqtt_example.py
FlorianPoot/MicroPython_ESP32_psRAM_LoBo
fff2e193d064effe36a7d456050faa78fe6280a8
[ "Apache-2.0" ]
349
2017-09-02T18:00:23.000Z
2022-03-31T23:26:22.000Z
import network def conncb(task): print("[{}] Connected".format(task)) def disconncb(task): print("[{}] Disconnected".format(task)) def subscb(task): print("[{}] Subscribed".format(task)) def pubcb(pub): print("[{}] Published: {}".format(pub[0], pub[1])) def datacb(msg): print("[{}] Data arrived...
33.284091
216
0.712188
347
2,929
5.965418
0.357349
0.02657
0.028986
0.031884
0.329469
0.315942
0.315942
0.236715
0.236715
0.236715
0
0.01428
0.115398
2,929
87
217
33.666667
0.784639
0.313418
0
0.162162
0
0
0.252552
0.11338
0
0
0
0
0
1
0.162162
false
0.054054
0.054054
0
0.216216
0.189189
0
0
0
null
0
0
0
0
0
0
0
0
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
0a9deb518dd12c6a3961ce613b76fcc3db2acd68
602
py
Python
algorithm_training/abc87.py
hirotosuzuki/algorithm_training
3134bad4ea2ea57a77e05be6f21ba776a558f520
[ "MIT" ]
null
null
null
algorithm_training/abc87.py
hirotosuzuki/algorithm_training
3134bad4ea2ea57a77e05be6f21ba776a558f520
[ "MIT" ]
null
null
null
algorithm_training/abc87.py
hirotosuzuki/algorithm_training
3134bad4ea2ea57a77e05be6f21ba776a558f520
[ "MIT" ]
null
null
null
class TaskA: def run(self): V, A, B, C = map(int, input().split()) pass class TaskB: def run(self): A = int(input()) B = int(input()) C = int(input()) X = int(input()) counter = 0 for a in range(A+1): for b in range(B+1): ...
21.5
54
0.413621
78
602
3.089744
0.410256
0.165975
0.124481
0
0
0
0
0
0
0
0
0.039394
0.451827
602
28
55
21.5
0.690909
0
0
0.208333
0
0
0.013267
0
0
0
0
0
0
1
0.125
false
0.083333
0
0
0.25
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0aaa92e8b56443a2b167621484f9881042d7391b
983
py
Python
ProgramFlow/functions/banner.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
ProgramFlow/functions/banner.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
ProgramFlow/functions/banner.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
def banner_text(text): screen_width = 80 if len(text) > screen_width - 4: print("EEK!!") print("THE TEXT IS TOO LONG TO FIT IN THE SPECIFIED WIDTH") if text == "*": print("*" * screen_width) else: centred_text = text.center(screen_width - 4) output_string = "**{0...
30.71875
67
0.66531
153
983
4.137255
0.496732
0.205371
0.047393
0.063191
0.129542
0.129542
0.129542
0.129542
0.129542
0.129542
0
0.017588
0.190234
983
31
68
31.709677
0.777638
0
0
0.076923
0
0
0.399797
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.038462
0.230769
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
0ab878278314d67f6d0be9f6568f133ce9e1ee76
8,119
py
Python
var/spack/repos/builtin/packages/openssl/package.py
vitodb/spack
b9ab1de4c5f7b21d9f9cb88b7251820a48e82d27
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/openssl/package.py
vitodb/spack
b9ab1de4c5f7b21d9f9cb88b7251820a48e82d27
[ "ECL-2.0", "Apache-2.0", "MIT" ]
1
2021-01-11T09:16:43.000Z
2021-01-12T20:07:23.000Z
var/spack/repos/builtin/packages/openssl/package.py
vitodb/spack
b9ab1de4c5f7b21d9f9cb88b7251820a48e82d27
[ "ECL-2.0", "Apache-2.0", "MIT" ]
1
2021-01-06T18:58:26.000Z
2021-01-06T18:58:26.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import llnl.util.tty as tty from spack import * import spack.architecture import os class Openssl(Package): # Uses F...
51.713376
96
0.711787
832
8,119
6.897837
0.419471
0.051577
0.032933
0.008887
0.041122
0.041122
0.023349
0.023349
0.023349
0.023349
0
0.263539
0.18352
8,119
156
97
52.044872
0.602202
0.204828
0
0
0
0.010204
0.498985
0.369942
0
0
0
0
0
1
0.040816
false
0
0.040816
0.010204
0.163265
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ab9be78769ca53a9456cd93a3fd3ab2a85a0c35
4,799
py
Python
vispy/util/profiler.py
izaid/vispy
402cf95bfef88d70c9c45bb27c532ed72944e14a
[ "BSD-3-Clause" ]
null
null
null
vispy/util/profiler.py
izaid/vispy
402cf95bfef88d70c9c45bb27c532ed72944e14a
[ "BSD-3-Clause" ]
null
null
null
vispy/util/profiler.py
izaid/vispy
402cf95bfef88d70c9c45bb27c532ed72944e14a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2014, Vispy Development Team. # Distributed under the (new) BSD License. See LICENSE.txt for more info. # Adapted from PyQtGraph import sys from . import ptime from .. import config class Profiler(object): """Simple profiler allowing directed, hierarchical measurement of ti...
34.52518
79
0.583663
587
4,799
4.599659
0.337308
0.018148
0.016296
0.013333
0.028889
0
0
0
0
0
0
0.0092
0.320483
4,799
138
80
34.775362
0.818767
0.356324
0
0.202532
0
0
0.034343
0
0
0
0
0
0
1
0.139241
false
0.050633
0.037975
0
0.329114
0.025316
0
0
0
null
0
0
0
0
0
0
0
0
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
0abcc62b08fba05c95b291d22e16bd5e45062b59
204
py
Python
Codility/python/tape_equilibrium.py
ajeet1308/code_problems
5d99839b6319295c6d81dd86775c46a536e7a1ca
[ "MIT" ]
61
2020-09-26T19:57:44.000Z
2022-03-09T18:51:44.000Z
Codility/python/tape_equilibrium.py
ajeet1308/code_problems
5d99839b6319295c6d81dd86775c46a536e7a1ca
[ "MIT" ]
88
2020-09-19T20:00:27.000Z
2021-10-31T09:41:57.000Z
Codility/python/tape_equilibrium.py
ajeet1308/code_problems
5d99839b6319295c6d81dd86775c46a536e7a1ca
[ "MIT" ]
218
2020-09-20T08:18:03.000Z
2022-01-30T23:13:16.000Z
def solution(A): total = sum(A) m = float('inf') left_sum = 0 for n in A[:-1]: left_sum += n v = abs(total - 2*left_sum) if v < m: m = v return m
15.692308
35
0.426471
33
204
2.545455
0.575758
0.25
0
0
0
0
0
0
0
0
0
0.026316
0.441176
204
12
36
17
0.710526
0
0
0
0
0
0.014778
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ac3e100821a287c22e2857e9d532f5d8e059c8b
2,723
py
Python
src/trusted/validator_arm/dgen_output.py
kapkic/native_client
51c8bc8c249d55606232ae011bdfc8b4cab3d794
[ "BSD-3-Clause" ]
1
2021-12-23T00:36:43.000Z
2021-12-23T00:36:43.000Z
src/trusted/validator_arm/dgen_output.py
kapkic/native_client
51c8bc8c249d55606232ae011bdfc8b4cab3d794
[ "BSD-3-Clause" ]
null
null
null
src/trusted/validator_arm/dgen_output.py
kapkic/native_client
51c8bc8c249d55606232ae011bdfc8b4cab3d794
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python2 # # Copyright (c) 2012 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # """ Some common boilerplates and helper functions for source code generation in files dgen_test_output.py and dgen_decode_out...
31.298851
76
0.693353
386
2,723
4.772021
0.373057
0.043974
0.022801
0.023887
0.12595
0.12595
0.12595
0.12595
0.12595
0.12595
0
0.008756
0.203085
2,723
86
77
31.662791
0.840092
0.319868
0
0.06383
0
0
0.194604
0.013777
0
0
0
0.011628
0.042553
1
0.12766
false
0
0
0
0.255319
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
0ac98e5cdb6676a542021f48c116aa5fa733e705
16,208
py
Python
convoy/crypto.py
hebinhuang/batch-shipyard
f87d94850380bee273eb51c5c35381952a5722b8
[ "MIT" ]
null
null
null
convoy/crypto.py
hebinhuang/batch-shipyard
f87d94850380bee273eb51c5c35381952a5722b8
[ "MIT" ]
null
null
null
convoy/crypto.py
hebinhuang/batch-shipyard
f87d94850380bee273eb51c5c35381952a5722b8
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation # # All rights reserved. # # MIT License # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights...
35.311547
79
0.653258
2,038
16,208
5.052012
0.185476
0.028166
0.022727
0.03312
0.41521
0.379856
0.32566
0.271465
0.221445
0.197358
0
0.006029
0.24272
16,208
458
80
35.388646
0.832817
0.296088
0
0.363636
0
0
0.120575
0.008142
0
0
0
0
0
1
0.064394
false
0.125
0.060606
0.003788
0.200758
0.049242
0
0
0
null
0
0
0
0
0
0
0
0
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
0acf1290742f590cb6015abc57d74458d907cabb
1,164
py
Python
soil/build/lib/soil/openstack/snapshot.py
JackDan9/soil
ae612a4634634aace834491fbdefbc69e6167674
[ "MIT" ]
1
2020-08-06T11:58:35.000Z
2020-08-06T11:58:35.000Z
soil/build/lib/soil/openstack/snapshot.py
JackDan9/soil
ae612a4634634aace834491fbdefbc69e6167674
[ "MIT" ]
4
2019-12-13T11:27:28.000Z
2022-02-27T11:58:38.000Z
soil/build/lib/soil/openstack/snapshot.py
JackDan9/soil
ae612a4634634aace834491fbdefbc69e6167674
[ "MIT" ]
null
null
null
# Copyright 2020 Soil, Inc. from soil.openstack.base import DataBase from soil.openstack.base import SourceBase class SnapshotData(DataBase): """A class for openstack snapshot data""" def __init__(self, data): self.data = data['snapshot'] class Snapshot(SourceBase): """A class for openstac...
25.304348
63
0.636598
138
1,164
5.108696
0.311594
0.102128
0.106383
0.059574
0.215603
0
0
0
0
0
0
0.0047
0.2689
1,164
45
64
25.866667
0.823737
0.079897
0
0.071429
0
0
0.029245
0
0
0
0
0
0
1
0.25
false
0.035714
0.071429
0.035714
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0acf5c8efa495629dab15411d7c1138e6f73ca8f
1,417
py
Python
data_structures/queue/queue_on_pseudo_stack.py
hank-chou/python
a9f729fa263bce599d2774f3f6afb5a18bcc9862
[ "MIT" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
data_structures/queue/queue_on_pseudo_stack.py
hank-chou/python
a9f729fa263bce599d2774f3f6afb5a18bcc9862
[ "MIT" ]
162
2021-03-09T01:52:11.000Z
2022-03-12T01:09:07.000Z
data_structures/queue/queue_on_pseudo_stack.py
hank-chou/python
a9f729fa263bce599d2774f3f6afb5a18bcc9862
[ "MIT" ]
18
2020-02-09T13:00:11.000Z
2021-03-11T08:47:36.000Z
"""Queue represented by a pseudo stack (represented by a list with pop and append)""" class Queue: def __init__(self): self.stack = [] self.length = 0 def __str__(self): printed = "<" + str(self.stack)[1:-1] + ">" return printed """Enqueues {@code item} @param item ...
24.431034
85
0.562456
180
1,417
4.383333
0.288889
0.152091
0.08365
0.076046
0.186312
0.058302
0
0
0
0
0
0.014463
0.316867
1,417
57
86
24.859649
0.80062
0.055752
0
0.133333
0
0
0.002158
0
0
0
0
0
0
1
0.233333
false
0
0
0.033333
0.4
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0ad19b186920402498e9734534abe48d50e505b7
2,154
py
Python
src/producers/connector.py
cvelas31/public_transportation_streaming
903a1a147645e1b0783555db4bfc02098f7941ae
[ "MIT" ]
null
null
null
src/producers/connector.py
cvelas31/public_transportation_streaming
903a1a147645e1b0783555db4bfc02098f7941ae
[ "MIT" ]
null
null
null
src/producers/connector.py
cvelas31/public_transportation_streaming
903a1a147645e1b0783555db4bfc02098f7941ae
[ "MIT" ]
null
null
null
"""Configures a Kafka Connector for Postgres Station data""" import json import logging import requests from settings import Settings logger = logging.getLogger(__name__) KAFKA_CONNECT_URL = f"{Settings.URLs.KAFKA_CONNECT_URL}/connectors" CONNECTOR_NAME = "stations" def configure_connector(): """Starts and co...
35.311475
98
0.679201
248
2,154
5.774194
0.532258
0.083799
0.041899
0.032123
0.065642
0.065642
0.065642
0
0
0
0
0.008656
0.19545
2,154
60
99
35.9
0.817657
0.243733
0
0
0
0
0.469603
0.220223
0
0
0
0.016667
0
1
0.025641
false
0.025641
0.102564
0
0.153846
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
0ad4a301cbaa49708e90318cda5d0db992bcc1f1
354
py
Python
controllers/albums.py
jeonginlee/groove_scheduler
84e61834e940e2ff138ffeeea61fd301f3c2a244
[ "MIT" ]
null
null
null
controllers/albums.py
jeonginlee/groove_scheduler
84e61834e940e2ff138ffeeea61fd301f3c2a244
[ "MIT" ]
null
null
null
controllers/albums.py
jeonginlee/groove_scheduler
84e61834e940e2ff138ffeeea61fd301f3c2a244
[ "MIT" ]
null
null
null
from flask import * albums = Blueprint('albums', __name__, template_folder='templates') @albums.route('/albums/edit') def albums_edit_route(): options = { "edit": True } return render_template("albums.html", **options) @albums.route('/albums') def albums_route(): options = { "edit": False } return render_...
19.666667
67
0.700565
42
354
5.666667
0.428571
0.138655
0.142857
0.218487
0.310924
0.310924
0
0
0
0
0
0
0.129944
354
18
68
19.666667
0.772727
0
0
0.285714
0
0
0.180282
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.357143
0.071429
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
0ad6db55250893c680ef209759e33e069cabdd9a
4,292
py
Python
modules/stackoverflow/models.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
1
2017-04-26T18:51:43.000Z
2017-04-26T18:51:43.000Z
modules/stackoverflow/models.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
null
null
null
modules/stackoverflow/models.py
tjsavage/polymer-dashboard
19bc467f1206613f8eec646b6f2bc43cc319ef75
[ "CNRI-Python", "Linux-OpenIB" ]
null
null
null
import fix_path import json import datetime from google.appengine.ext import ndb # Taken from http://stackoverflow.com/questions/455580/json-datetime-between-python-and-javascript dthandler = lambda obj: ( obj.isoformat() if isinstance(obj, datetime.datetime) or isinstance(obj, datetime.date) else Non...
40.490566
98
0.682199
467
4,292
6.012848
0.188437
0.209402
0.080128
0.064815
0.389601
0.259972
0.12963
0.032051
0
0
0
0.001807
0.226468
4,292
106
99
40.490566
0.843976
0.025862
0
0.16129
0
0
0.071839
0
0
0
0
0
0
1
0.043011
false
0
0.043011
0
0.344086
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
0add5b092c6c665d2b618a20a05d4cd299d00402
1,948
py
Python
src/handler.py
MrIgumnov96/ETL-CloudDeployment
666b85a9350460fba49f82ec90f5cddc0bdd0235
[ "Unlicense" ]
null
null
null
src/handler.py
MrIgumnov96/ETL-CloudDeployment
666b85a9350460fba49f82ec90f5cddc0bdd0235
[ "Unlicense" ]
null
null
null
src/handler.py
MrIgumnov96/ETL-CloudDeployment
666b85a9350460fba49f82ec90f5cddc0bdd0235
[ "Unlicense" ]
null
null
null
import boto3 import src.app as app import csv import psycopg2 as ps import os from dotenv import load_dotenv load_dotenv() dbname = os.environ["db"] host = os.environ["host"] port = os.environ["port"] user = os.environ["user"] password = os.environ["pass"] connection = ps.connect(dbname=dbname, ...
31.419355
185
0.587269
259
1,948
4.324324
0.42471
0.064286
0.046429
0.026786
0
0
0
0
0
0
0
0.017446
0.264374
1,948
62
186
31.419355
0.764131
0.325975
0
0
0
0.032258
0.186191
0
0
0
0
0
0
1
0.032258
false
0.064516
0.193548
0
0.258065
0.096774
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0ae19706ac78f27bbbf84e3668bc38423a4a2fcd
739
py
Python
feaas/runners/__init__.py
tsuru/varnishapi
d63a8c8c5f9c837855509fc5af59d8213c1c91d6
[ "BSD-3-Clause" ]
3
2015-05-04T03:20:09.000Z
2016-02-19T10:35:35.000Z
feaas/runners/__init__.py
tsuru/varnishapi
d63a8c8c5f9c837855509fc5af59d8213c1c91d6
[ "BSD-3-Clause" ]
3
2015-01-02T13:18:56.000Z
2021-02-08T20:17:14.000Z
feaas/runners/__init__.py
tsuru/varnishapi
d63a8c8c5f9c837855509fc5af59d8213c1c91d6
[ "BSD-3-Clause" ]
5
2015-01-02T13:11:45.000Z
2016-08-26T06:14:35.000Z
# Copyright 2014 varnishapi authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. import time from feaas import storage class Base(object): def __init__(self, manager, interval, *locks): self.manager = manager self.st...
24.633333
57
0.649526
96
739
4.90625
0.5625
0.070064
0.055202
0.080679
0
0
0
0
0
0
0
0.007421
0.270636
739
29
58
25.482759
0.866419
0.207037
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.388889
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
0ae880533e14de2255d5554b8a0bb6b7cbc5e1bb
1,089
py
Python
Assignment 1 n 2 Day 8.py
paju3125/LetsUpgrade-Python-B7
c5767361f60f1ec405ab235af85035e2bb9a71e3
[ "Apache-2.0" ]
null
null
null
Assignment 1 n 2 Day 8.py
paju3125/LetsUpgrade-Python-B7
c5767361f60f1ec405ab235af85035e2bb9a71e3
[ "Apache-2.0" ]
null
null
null
Assignment 1 n 2 Day 8.py
paju3125/LetsUpgrade-Python-B7
c5767361f60f1ec405ab235af85035e2bb9a71e3
[ "Apache-2.0" ]
null
null
null
# Assignment 1 Day 8 # write a decorator function for taking input for you # any kind of function you want to build def getInput(calculate_arg_fuc): def wrap_function(): print("Enter two numbers ") a=int(input("Enter first number = ")) b=int(input("Enter second number = ")) ...
22.22449
85
0.651974
146
1,089
4.821918
0.493151
0.090909
0.073864
0.080966
0
0
0
0
0
0
0
0.024067
0.236915
1,089
48
86
22.6875
0.823105
0.264463
0
0.137931
0
0
0.226542
0
0
0
0
0
0
1
0.206897
false
0
0
0
0.241379
0.206897
0
0
0
null
0
0
0
0
0
0
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
0af1a3c68967c05606abe6a22eb2bbc2a17f6f6f
1,164
py
Python
tests/serverless/checks/aws/test_AdminPolicyDocument.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
tests/serverless/checks/aws/test_AdminPolicyDocument.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
tests/serverless/checks/aws/test_AdminPolicyDocument.py
peaudecastor/checkov
a4804b61c1b1390b7abd44ab53285fcbc3e7e80b
[ "Apache-2.0" ]
null
null
null
import os import unittest from checkov.serverless.checks.function.aws.AdminPolicyDocument import check from checkov.serverless.runner import Runner from checkov.runner_filter import RunnerFilter class TestAdminPolicyDocument(unittest.TestCase): def test_summary(self): runner = Runner() current_di...
36.375
102
0.668385
137
1,164
5.445255
0.40146
0.080429
0.117962
0.064343
0.116622
0.116622
0.116622
0.116622
0
0
0
0.00441
0.22079
1,164
31
103
37.548387
0.818082
0.006014
0
0
0
0
0.232035
0.082251
0
0
0
0
0.181818
1
0.045455
false
0.090909
0.227273
0
0.318182
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
0af3eac5180ad01027c97600a407eb3106203f56
349
py
Python
pythonProject/MUNDO 2/Desafio 54.py
lucasjlgc/Aulas-de-Python-
6aaed1c660487a680e9c449210600ccdfa326612
[ "MIT" ]
null
null
null
pythonProject/MUNDO 2/Desafio 54.py
lucasjlgc/Aulas-de-Python-
6aaed1c660487a680e9c449210600ccdfa326612
[ "MIT" ]
1
2021-06-25T15:29:11.000Z
2021-06-25T15:29:11.000Z
pythonProject/MUNDO 2/Desafio 54.py
lucasjlgc/Aulas-de-Python-
6aaed1c660487a680e9c449210600ccdfa326612
[ "MIT" ]
null
null
null
#Leia o ano de nascimento de 7 pessoas e mostre quantas ja atingiram a maioridade e quantas ainda não for c in range(1,8): p=int(input('Qual o ano de seu nascimento? ')) a=2021-p if a>= 18: print('A pessoa numero {} já é maior de idade'.format(c)) else: print('A pessoa numero {} não é...
29.083333
101
0.638968
63
349
3.539683
0.619048
0.035874
0.053812
0.161435
0.179372
0.179372
0
0
0
0
0
0.034483
0.252149
349
11
102
31.727273
0.819923
0.286533
0
0
0
0
0.435484
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
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
0af8af43646ac075b324487dffc3942d97354220
1,145
py
Python
examples/rpc_server_side.py
calendar42/SleekXMPP--XEP-0080-
d7bd5fd29f26a5d7de872a49ff63a353b8043e49
[ "BSD-3-Clause" ]
1
2016-10-24T05:30:25.000Z
2016-10-24T05:30:25.000Z
examples/rpc_server_side.py
vijayp/SleekXMPP
b2e7f57334d27f140f079213c2016615b7168742
[ "BSD-3-Clause" ]
null
null
null
examples/rpc_server_side.py
vijayp/SleekXMPP
b2e7f57334d27f140f079213c2016615b7168742
[ "BSD-3-Clause" ]
null
null
null
""" SleekXMPP: The Sleek XMPP Library Copyright (C) 2011 Dann Martens This file is part of SleekXMPP. See the file LICENSE for copying permission. """ from sleekxmpp.plugins.xep_0009.remote import Endpoint, remote, Remote, \ ANY_ALL import threading class Thermostat(Endpoint): def FQN(s...
22.019231
73
0.627074
125
1,145
5.512
0.472
0.108853
0.113208
0.058055
0
0
0
0
0
0
0
0.012063
0.275983
1,145
52
74
22.019231
0.819059
0.125764
0
0.071429
0
0
0.067485
0
0
0
0
0
0
1
0.25
false
0
0.071429
0.071429
0.428571
0.035714
0
0
0
null
0
0
0
0
0
0
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
0afbde7fb6ef3a1d965ab24316c2720252ada994
970
py
Python
csv2googlesheets/to_google_sheets.py
AlexSkrn/csv2googlesheets
71656dcc6827b1c58ffe80bc55aa6f1ee816f216
[ "MIT" ]
null
null
null
csv2googlesheets/to_google_sheets.py
AlexSkrn/csv2googlesheets
71656dcc6827b1c58ffe80bc55aa6f1ee816f216
[ "MIT" ]
null
null
null
csv2googlesheets/to_google_sheets.py
AlexSkrn/csv2googlesheets
71656dcc6827b1c58ffe80bc55aa6f1ee816f216
[ "MIT" ]
null
null
null
"""This module provides a console interface to convert CSV to Google Sheets.""" from csv2googlesheets.gapi_authorization import auth_with_google from csv2googlesheets.gapi_create_sheet import create_sheet from csv2googlesheets.gapi_write_to_sheet import write_to_sheet from csv2googlesheets.parse_file import build_spr...
32.333333
79
0.786598
131
970
5.427481
0.351145
0.068917
0.101266
0.081575
0.098453
0
0
0
0
0
0
0.007308
0.153608
970
29
80
33.448276
0.858709
0.14433
0
0
0
0
0.009768
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e40169279b6d0abaccc4f8f3610827c98bbcceff
6,197
py
Python
Overview/11 - funktsioonid.py
priidupaomets/python_kursus
731ab386ca40c321288659db21db23912ca7f8dd
[ "MIT" ]
1
2021-02-19T15:21:28.000Z
2021-02-19T15:21:28.000Z
Overview/11 - funktsioonid.py
priidupaomets/python_kursus
731ab386ca40c321288659db21db23912ca7f8dd
[ "MIT" ]
null
null
null
Overview/11 - funktsioonid.py
priidupaomets/python_kursus
731ab386ca40c321288659db21db23912ca7f8dd
[ "MIT" ]
1
2018-03-24T11:01:46.000Z
2018-03-24T11:01:46.000Z
""" funktsioonid.py Funktsioonide ja protseduuride kasutamine """ # # Protseduur # def minu_funktsioon(): print("See on protseduur") # Kutsume funktsiooni välja minu_funktsioon() # # Funktsioon # def liida(num1, num2): return num1 + num2 sum = liida(3, 5) print(sum) # Näide vaikeväärtuste kasutamisest # ...
24.01938
116
0.606745
916
6,197
4.098253
0.209607
0.021843
0.022376
0.015983
0.51252
0.428609
0.393713
0.333777
0.313266
0.283165
0
0.072966
0.250282
6,197
257
117
24.11284
0.735041
0.272229
0
0.563636
0
0
0.022732
0
0
0
0
0
0
1
0.127273
false
0
0
0.030303
0.224242
0.406061
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e40722bed82cf8f0cac95ef9146f043dd3dc25ca
5,318
py
Python
05-Environments/hw02/hw02/hw02.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
2
2020-04-24T18:36:53.000Z
2020-04-25T00:15:55.000Z
05-Environments/hw02/hw02/hw02.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
null
null
null
05-Environments/hw02/hw02/hw02.py
ericchen12377/CS61A_LearningDoc
31f23962b0e2834795bf61eeb0f4884cc5da1809
[ "MIT" ]
null
null
null
""" Homework 2: Higher Order Functions""" HW_SOURCE_FILE = 'hw02.py' from operator import add, mul, sub square = lambda x: x * x identity = lambda x: x triple = lambda x: 3 * x increment = lambda x: x + 1 ###################### # Required Questions # ###################### def product(n, f): """Return the pr...
25.690821
92
0.548326
788
5,318
3.624365
0.178934
0.031863
0.046218
0.037815
0.382353
0.30042
0.248599
0.212185
0.212185
0.184874
0
0.057647
0.275856
5,318
206
93
25.815534
0.683978
0.587251
0
0.288136
0
0
0.150635
0
0
0
0
0
0
1
0.271186
false
0
0.016949
0.050847
0.559322
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
e409ad0c94dc67812d4ce4eb1f3a9b3b256b6a43
638
py
Python
acceptance/test/TestStartStopFeature.py
ismacaulay/qtcwatchdog
72f3588eef1019bac8788fa58c52722dfa7c4d28
[ "MIT" ]
null
null
null
acceptance/test/TestStartStopFeature.py
ismacaulay/qtcwatchdog
72f3588eef1019bac8788fa58c52722dfa7c4d28
[ "MIT" ]
12
2015-10-22T15:38:28.000Z
2016-03-22T18:53:57.000Z
acceptance/test/TestStartStopFeature.py
ismacaulay/qtcwatchdog
72f3588eef1019bac8788fa58c52722dfa7c4d28
[ "MIT" ]
null
null
null
from acceptance.harness.acceptance_test import WatchdogAcceptanceTest class TestStartStopFeature(WatchdogAcceptanceTest): def test_willStartObserverWhenWatchdogStarted(self): self.create_and_start_watchdog() self.assertTrue(self.fs_observer.running) def test_willStopObserverWhenWatchdogStop...
26.583333
69
0.761755
61
638
7.704918
0.393443
0.044681
0.089362
0.108511
0.476596
0.404255
0.285106
0.212766
0.212766
0.212766
0
0
0.166144
638
23
70
27.73913
0.883459
0
0
0.384615
0
0
0
0
0
0
0
0
0.230769
1
0.230769
false
0
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e409e1ff47556f0c395cedaf6538d4e9082df50c
1,243
py
Python
neural_spline_flows/nde/transforms/transform_test.py
VincentStimper/nsf
6bde505639ebcb67bffa227ea0021e3de235e03d
[ "MIT" ]
null
null
null
neural_spline_flows/nde/transforms/transform_test.py
VincentStimper/nsf
6bde505639ebcb67bffa227ea0021e3de235e03d
[ "MIT" ]
null
null
null
neural_spline_flows/nde/transforms/transform_test.py
VincentStimper/nsf
6bde505639ebcb67bffa227ea0021e3de235e03d
[ "MIT" ]
null
null
null
import torch import torchtestcase from neural_spline_flows.nde.transforms import base class TransformTest(torchtestcase.TorchTestCase): """Base test for all transforms.""" def assert_tensor_is_good(self, tensor, shape=None): self.assertIsInstance(tensor, torch.Tensor) self.assertFalse(torch....
37.666667
78
0.693484
149
1,243
5.630872
0.416107
0.042908
0.05006
0.064362
0.052443
0
0
0
0
0
0
0.001992
0.192277
1,243
32
79
38.84375
0.833665
0.023331
0
0
0
0
0.026534
0
0
0
0
0
0.5
1
0.136364
false
0
0.136364
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
e40c283a7830ae526fea47bfe3f1719fdb809be3
358
py
Python
directory-traversal/validate-file-extension-null-byte-bypass.py
brandonaltermatt/penetration-testing-scripts
433b5d000a5573e60b9d8e49932cedce74937ebc
[ "MIT" ]
null
null
null
directory-traversal/validate-file-extension-null-byte-bypass.py
brandonaltermatt/penetration-testing-scripts
433b5d000a5573e60b9d8e49932cedce74937ebc
[ "MIT" ]
null
null
null
directory-traversal/validate-file-extension-null-byte-bypass.py
brandonaltermatt/penetration-testing-scripts
433b5d000a5573e60b9d8e49932cedce74937ebc
[ "MIT" ]
null
null
null
""" https://portswigger.net/web-security/file-path-traversal/lab-validate-file-extension-null-byte-bypass """ import sys import requests site = sys.argv[1] if 'https://' in site: site = site.rstrip('/').lstrip('https://') url = f'''https://{site}/image?filename=../../../etc/passwd%00.png''' s = requests.Session...
21.058824
101
0.664804
52
358
4.576923
0.730769
0.067227
0
0
0
0
0
0
0
0
0
0.009288
0.097765
358
17
102
21.058824
0.727554
0.282123
0
0
0
0
0.292
0
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
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
7c0efca532f7042e0db58c5e7fb4f25f0274261b
3,437
py
Python
Assignment Day 2 .py
ShubhamKahlon57/Letsupgrade-python-Batch-7
7989c2d2f17e58dd4ee8f278c37d2c1d18e5e3af
[ "Apache-2.0" ]
null
null
null
Assignment Day 2 .py
ShubhamKahlon57/Letsupgrade-python-Batch-7
7989c2d2f17e58dd4ee8f278c37d2c1d18e5e3af
[ "Apache-2.0" ]
null
null
null
Assignment Day 2 .py
ShubhamKahlon57/Letsupgrade-python-Batch-7
7989c2d2f17e58dd4ee8f278c37d2c1d18e5e3af
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[ ]: #List and function # In[6]: # empty list my_list = [] # list of integers my_list = [1, 2, 3] # list with mixed data types my_list = [1, "Hello", 3.4] # In[7]: # nested list my_list = ["mouse", [8, 4, 6], ['a']] # In[11]: # List indexing my_list = ['p', '...
12.059649
66
0.607507
573
3,437
3.541012
0.289703
0.069
0.0414
0.016264
0.22622
0.207491
0.175456
0.089699
0.089699
0.080828
0
0.05208
0.195519
3,437
284
67
12.102113
0.681736
0.441082
0
0.347826
0
0
0.134021
0
0
0
0
0
0
1
0
false
0
0
0
0
0.405797
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7c0f552f843493e2753dc5c4baf8ccf2206f5f32
195
py
Python
hackerrank/pickingNumbers.py
irvandindaprakoso/online-test-py
a7a6cd98ba3e0b74558ecb7e431eb2729077a38a
[ "W3C" ]
null
null
null
hackerrank/pickingNumbers.py
irvandindaprakoso/online-test-py
a7a6cd98ba3e0b74558ecb7e431eb2729077a38a
[ "W3C" ]
null
null
null
hackerrank/pickingNumbers.py
irvandindaprakoso/online-test-py
a7a6cd98ba3e0b74558ecb7e431eb2729077a38a
[ "W3C" ]
null
null
null
def pickingNumbers(a): # Write your code here max = 0 for i in a: c = a.count(i) d = a.count(i-1) e = c+d if e>max: max = e return max
17.727273
26
0.435897
32
195
2.65625
0.59375
0.141176
0.164706
0
0
0
0
0
0
0
0
0.019048
0.461538
195
10
27
19.5
0.790476
0.102564
0
0
0
0
0
0
0
0
0
0.1
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7c18032075b4197ee9055f4f541529df445b2854
998
py
Python
tests/cli/conftest.py
Aahbree/reference-data-repository
f318c0532aaf941ec4f00c8375c9dea45c56f186
[ "MIT" ]
null
null
null
tests/cli/conftest.py
Aahbree/reference-data-repository
f318c0532aaf941ec4f00c8375c9dea45c56f186
[ "MIT" ]
5
2021-01-27T22:17:19.000Z
2021-12-14T17:13:58.000Z
tests/cli/conftest.py
Aahbree/reference-data-repository
f318c0532aaf941ec4f00c8375c9dea45c56f186
[ "MIT" ]
5
2021-12-08T02:33:44.000Z
2021-12-13T03:21:51.000Z
# This file is part of the Reference Data Repository (refdata). # # Copyright (C) 2021 New York University. # # refdata is free software; you can redistribute it and/or modify it under the # terms of the MIT License; see LICENSE file for more details. """Fixtures for testing the command-line interface.""" import os i...
30.242424
78
0.733467
148
998
4.885135
0.547297
0.055325
0.082988
0.099585
0.135546
0
0
0
0
0
0
0.004831
0.170341
998
32
79
31.1875
0.868357
0.450902
0
0
0
0
0.035849
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7c1a4912119b5eeaa02dc5d6942de0df8f969733
1,783
py
Python
python/jittor/utils/publish.py
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
4
2020-01-12T13:16:16.000Z
2020-01-12T15:43:54.000Z
python/jittor/utils/publish.py
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
null
null
null
python/jittor/utils/publish.py
Jittor/Jittor
bc945bae94bded917214b0afe12be6bf5b919dbe
[ "Apache-2.0" ]
1
2020-01-12T13:17:17.000Z
2020-01-12T13:17:17.000Z
#!/usr/bin/python3 # *************************************************************** # Copyright (c) 2022 Jittor. All Rights Reserved. # Maintainers: # Dun Liang <randonlang@gmail.com>. # # This file is subject to the terms and conditions defined in # file 'LICENSE.txt', which is part of this source code packag...
34.288462
144
0.647224
258
1,783
4.403101
0.403101
0.105634
0.098592
0.077465
0.498239
0.387324
0.285211
0.123239
0
0
0
0.029373
0.140774
1,783
52
145
34.288462
0.712141
0.326416
0
0.137931
0
0.137931
0.643098
0.296296
0
0
0
0
0.034483
1
0.103448
false
0
0.034483
0
0.137931
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7c1dfdf1304b0b11fe75fef3682da8277a3d5207
2,981
py
Python
racer/methods/genetic_programming/parameterized.py
max-eth/racer
952991aedec5d8229bb1126c9c066613f5c30146
[ "MIT" ]
1
2022-02-26T00:10:03.000Z
2022-02-26T00:10:03.000Z
racer/methods/genetic_programming/parameterized.py
max-eth/racer
952991aedec5d8229bb1126c9c066613f5c30146
[ "MIT" ]
null
null
null
racer/methods/genetic_programming/parameterized.py
max-eth/racer
952991aedec5d8229bb1126c9c066613f5c30146
[ "MIT" ]
null
null
null
import copy import numpy as np from racer.utils import load_pickle from racer.methods.genetic_programming.program_tree import ProgramTree class ParameterizedTree(ProgramTree): # This makes the assumption that all children of the underlying tree are in a field .children and that the underlying tree has the field ....
32.402174
146
0.637035
356
2,981
5.103933
0.255618
0.13869
0.089158
0.039626
0.226197
0.171712
0.171712
0.134287
0.134287
0.134287
0
0.002325
0.27843
2,981
91
147
32.758242
0.842399
0.051325
0
0.2
0
0
0.027965
0
0
0
0
0
0
1
0.214286
false
0
0.057143
0.1
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
1
0
0
0
0
0
0
0
1
7c28fc0563fc8f73fd257c1d3e24a953c2e9ec7c
1,780
py
Python
src/compas/datastructures/mesh/bbox.py
arpastrana/compas
ed677a162c14dbe562c82d72f370279259faf7da
[ "MIT" ]
2
2021-03-17T18:14:22.000Z
2021-09-19T13:50:02.000Z
src/compas/datastructures/mesh/bbox.py
arpastrana/compas
ed677a162c14dbe562c82d72f370279259faf7da
[ "MIT" ]
9
2019-09-11T08:53:19.000Z
2019-09-16T08:35:39.000Z
src/compas/datastructures/mesh/bbox.py
Licini/compas
34f65adb3d0abc3f403312ffba62aa76f3376292
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from compas.geometry import bounding_box from compas.geometry import bounding_box_xy __all__ = [ 'mesh_bounding_box', 'mesh_bounding_box_xy', ] def mesh_bounding_box(mesh): """Compute the (axis...
23.733333
148
0.561236
247
1,780
3.842105
0.206478
0.096944
0.110643
0.101159
0.514226
0.478398
0.404636
0.404636
0.404636
0.322445
0
0.061297
0.211798
1,780
74
149
24.054054
0.61511
0.538202
0
0
0
0
0.085592
0
0
0
0
0
0
1
0.095238
false
0
0.380952
0
0.571429
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
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
7c3522929deb4bb2524b97c1af2b5f08df9a050e
5,585
py
Python
backend/0_publish_audio.py
bmj-hackathon/ethberlinzwei-babelfish_3_0
e986ad1b9fa896f20d7cdd296d130d804f55ecfa
[ "Apache-2.0" ]
1
2019-08-28T12:12:09.000Z
2019-08-28T12:12:09.000Z
backend/0_publish_audio.py
bmj-hackathon/ethberlinzwei-babelfish_3_0
e986ad1b9fa896f20d7cdd296d130d804f55ecfa
[ "Apache-2.0" ]
8
2020-09-07T01:00:44.000Z
2022-03-02T05:19:32.000Z
backend/0_publish_audio.py
bmj-hackathon/ethberlinzwei-babelfish_3_0
e986ad1b9fa896f20d7cdd296d130d804f55ecfa
[ "Apache-2.0" ]
3
2019-08-24T20:36:08.000Z
2021-02-18T20:28:11.000Z
import sys import logging # loggers_dict = logging.Logger.manager.loggerDict # # logger = logging.getLogger() # logger.handlers = [] # # # Set level # logger.setLevel(logging.DEBUG) # # # FORMAT = "%(asctime)s - %(levelno)s - %(module)-15s - %(funcName)-15s - %(message)s" # # FORMAT = "%(asctime)s %(levelno)s: %(modul...
36.986755
128
0.708684
721
5,585
5.363384
0.306519
0.06827
0.039566
0.024825
0.138092
0.088699
0.049651
0.049651
0.03129
0
0
0.012566
0.116562
5,585
150
129
37.233333
0.77118
0.253715
0
0.067568
0
0
0.315175
0.062014
0
0
0.010214
0.006667
0.054054
1
0.013514
false
0.054054
0.175676
0
0.202703
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7c359f84b8ac8bafab4c67c76d69bd091361babb
3,613
py
Python
nexpose/nexpose_vulnerabilityexception.py
Patralos/nexpose-client-python
bec81da29883b1b004046e29a9e7f7a6686467c1
[ "BSD-3-Clause" ]
29
2017-06-27T04:44:03.000Z
2021-11-29T15:04:00.000Z
nexpose/nexpose_vulnerabilityexception.py
Patralos/nexpose-client-python
bec81da29883b1b004046e29a9e7f7a6686467c1
[ "BSD-3-Clause" ]
40
2017-06-21T18:00:49.000Z
2018-06-06T21:13:34.000Z
nexpose/nexpose_vulnerabilityexception.py
Patralos/nexpose-client-python
bec81da29883b1b004046e29a9e7f7a6686467c1
[ "BSD-3-Clause" ]
23
2017-07-18T16:40:57.000Z
2021-01-26T09:58:53.000Z
# Future Imports for py2/3 backwards compat. from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import object from .xml_utils import get_attribute, get_content_of from future import standard_library standard_library.install_aliases() def fix_null...
42.011628
164
0.715749
408
3,613
6.056373
0.245098
0.050992
0.084986
0.107649
0.231081
0.10603
0.062323
0
0
0
0
0.002406
0.194575
3,613
85
165
42.505882
0.846735
0.045115
0
0.114286
0
0
0.118211
0.015394
0
0
0
0.011765
0
1
0.071429
false
0
0.057143
0
0.442857
0.014286
0
0
0
null
0
0
0
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
7c4bb1688cf1e8399ddcf1585b39fc36418f8801
827
py
Python
modules/gitbox/files/asfgit/hooks/sync.py
Humbedooh/infrastructure-puppet
a85f797d847b80e877cd5b7c66513970f6f80703
[ "Apache-2.0" ]
1
2019-06-09T10:25:04.000Z
2019-06-09T10:25:04.000Z
modules/gitbox/files/asfgit/hooks/sync.py
Humbedooh/infrastructure-puppet
a85f797d847b80e877cd5b7c66513970f6f80703
[ "Apache-2.0" ]
1
2020-05-08T07:07:43.000Z
2020-05-08T07:07:43.000Z
modules/gitbox/files/asfgit/hooks/sync.py
Humbedooh/infrastructure-puppet
a85f797d847b80e877cd5b7c66513970f6f80703
[ "Apache-2.0" ]
1
2019-12-31T07:28:19.000Z
2019-12-31T07:28:19.000Z
#!/usr/local/bin/python import json import socket import sys import asfgit.cfg as cfg import asfgit.git as git import asfgit.log as log import asfgit.util as util import subprocess, os, time def main(): ghurl = "git@github:apache/%s.git" % cfg.repo_name os.chdir("/x1/repos/asf/%s.git" % cfg.repo_name) tr...
30.62963
98
0.613059
120
827
4.175
0.475
0.095808
0.027944
0.043912
0.283433
0.223553
0.223553
0
0
0
0
0.001565
0.227328
827
26
99
31.807692
0.782473
0.026602
0
0
0
0
0.16812
0.029888
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.428571
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7c5785c50891073f1d8d050a467303e1d02503f4
5,967
py
Python
fair/forcing/ozone_tr.py
znicholls/FAIR
599c44ed140b069968ba7d1ca99de40218e42545
[ "Apache-2.0" ]
1
2020-11-14T16:09:39.000Z
2020-11-14T16:09:39.000Z
fair/forcing/ozone_tr.py
znicholls/FAIR
599c44ed140b069968ba7d1ca99de40218e42545
[ "Apache-2.0" ]
1
2020-11-02T17:59:02.000Z
2020-11-02T17:59:02.000Z
fair/forcing/ozone_tr.py
znicholls/FAIR
599c44ed140b069968ba7d1ca99de40218e42545
[ "Apache-2.0" ]
2
2020-11-02T16:42:05.000Z
2020-12-15T16:36:24.000Z
from __future__ import division import numpy as np from ..constants import molwt def regress(emissions, beta=np.array([2.8249e-4, 1.0695e-4, -9.3604e-4, 99.7831e-4])): """Calculates tropospheric ozone forcing from precursor emissions. Inputs: (nt x 40) emissions array Keywords: beta...
36.384146
78
0.586224
911
5,967
3.731065
0.231614
0.015299
0.014122
0.014416
0.702265
0.702265
0.69138
0.644307
0.600177
0.558694
0
0.113499
0.306016
5,967
163
79
36.607362
0.707317
0.452321
0
0.56
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.04
0
0.2
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
7c67a7fccb58ad0744513e429cedf4044452005e
311
py
Python
databases/music.py
danielicapui/programa-o-avancada
d0e5b876b951ae04a46ffcda0dc0143e3f7114d9
[ "MIT" ]
null
null
null
databases/music.py
danielicapui/programa-o-avancada
d0e5b876b951ae04a46ffcda0dc0143e3f7114d9
[ "MIT" ]
null
null
null
databases/music.py
danielicapui/programa-o-avancada
d0e5b876b951ae04a46ffcda0dc0143e3f7114d9
[ "MIT" ]
null
null
null
from utills import * conn,cur=start('music') criarTabela("tracks","title text,plays integer") music=[('trunder',20), ('my way',15)] insertInto("tracks","title,plays",music) #cur.executemany("insert into tracks (title,plays) values (?,?)",music) buscaTabela("tracks","title") conn.commit() conn.close()
25.916667
71
0.691318
40
311
5.375
0.65
0.204651
0.148837
0
0
0
0
0
0
0
0
0.014235
0.096463
311
11
72
28.272727
0.75089
0.22508
0
0
0
0
0.316667
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
7c684d5c56bbbdacbeb8612a9b08130a83635f9a
13,250
py
Python
video_analysis/code/scene_postprocess.py
pdxcycling/carv.io
cce0f91a76d3ceed714b3625d415131fd9540899
[ "MIT" ]
null
null
null
video_analysis/code/scene_postprocess.py
pdxcycling/carv.io
cce0f91a76d3ceed714b3625d415131fd9540899
[ "MIT" ]
null
null
null
video_analysis/code/scene_postprocess.py
pdxcycling/carv.io
cce0f91a76d3ceed714b3625d415131fd9540899
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import re from collections import Counter from flow_preprocess import FlowPreprocess class ScenePostprocess(object): """ Heavy-lifting macro-feature class """ def __init__(self, flow_df, quality_df, remove_transitions=False): """ Default construct...
35.05291
128
0.60234
1,702
13,250
4.480024
0.174501
0.029508
0.035803
0.016787
0.309115
0.268459
0.229246
0.183475
0.153311
0.132852
0
0.006762
0.31917
13,250
377
129
35.145889
0.838488
0.367774
0
0.109489
0
0
0.066629
0.003146
0
0
0
0.013263
0
1
0.138686
false
0.007299
0.036496
0
0.313869
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
7c6cc14ec8ce3c7dc9875cccdf742d57d079973d
10,181
py
Python
diofant/tests/integrals/test_heurisch.py
Electric-tric/diofant
92c4bf0ef301e5d6f0cfab545b036e1cb7de3c0a
[ "BSD-3-Clause" ]
1
2021-08-22T09:34:15.000Z
2021-08-22T09:34:15.000Z
diofant/tests/integrals/test_heurisch.py
Electric-tric/diofant
92c4bf0ef301e5d6f0cfab545b036e1cb7de3c0a
[ "BSD-3-Clause" ]
null
null
null
diofant/tests/integrals/test_heurisch.py
Electric-tric/diofant
92c4bf0ef301e5d6f0cfab545b036e1cb7de3c0a
[ "BSD-3-Clause" ]
null
null
null
import pytest from diofant import (Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan) from ...
34.511864
112
0.534722
1,869
10,181
2.87801
0.107009
0.030117
0.072504
0.023796
0.466072
0.342443
0.232757
0.204313
0.189812
0.138873
0
0.047576
0.232001
10,181
294
113
34.629252
0.640363
0.122778
0
0.086957
0
0
0.00146
0
0
0
0
0.003401
0.467391
1
0.141304
false
0
0.016304
0.005435
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
7c70c6e774d6a8ca53417d3cc9999e257be28aad
1,093
py
Python
test/test_pipeline/components/classification/test_passive_aggressive.py
vardaan-raj/auto-sklearn
4597152e3a60cd6f6e32719a3bef26e13951b102
[ "BSD-3-Clause" ]
1
2021-02-21T16:44:44.000Z
2021-02-21T16:44:44.000Z
test/test_pipeline/components/classification/test_passive_aggressive.py
vardaan-raj/auto-sklearn
4597152e3a60cd6f6e32719a3bef26e13951b102
[ "BSD-3-Clause" ]
9
2021-02-12T17:52:34.000Z
2021-06-26T11:37:41.000Z
test/test_pipeline/components/classification/test_passive_aggressive.py
vardaan-raj/auto-sklearn
4597152e3a60cd6f6e32719a3bef26e13951b102
[ "BSD-3-Clause" ]
1
2021-07-06T23:02:42.000Z
2021-07-06T23:02:42.000Z
import sklearn.linear_model from autosklearn.pipeline.components.classification.passive_aggressive import \ PassiveAggressive from .test_base import BaseClassificationComponentTest class PassiveAggressiveComponentTest(BaseClassificationComponentTest): __test__ = True res = dict() res["default_iris...
30.361111
79
0.725526
123
1,093
6.105691
0.447154
0.11984
0.106525
0.026631
0
0
0
0
0
0
0
0.10989
0.167429
1,093
35
80
31.228571
0.715385
0
0
0
0
0
0.26624
0.15279
0
0
0
0
0
1
0
false
0.185185
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7c79d2fe84aae88ef213fa559ea2499797887d57
959
py
Python
doc/gallery-src/analysis/run_blockMcnpMaterialCard.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
1
2021-05-29T16:02:31.000Z
2021-05-29T16:02:31.000Z
doc/gallery-src/analysis/run_blockMcnpMaterialCard.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
null
null
null
doc/gallery-src/analysis/run_blockMcnpMaterialCard.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
null
null
null
""" Write MCNP Material Cards ========================= Here we load a test reactor and write each component of one fuel block out as MCNP material cards. Normally, code-specific utility code would belong in a code-specific ARMI plugin. But in this case, the need for MCNP materials cards is so pervasive that it made ...
31.966667
79
0.755996
136
959
5.308824
0.610294
0.055402
0.047091
0
0
0
0
0
0
0
0
0.002436
0.1439
959
29
80
33.068966
0.876979
0.402503
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7c7e5ef5e8a7277261b9729c9f251391fd2d29dc
1,415
py
Python
apps/goods/views_base.py
sunwei19910119/DjangoShop
188102dc8ef9f4751f4eeeb7574e95c8cc270484
[ "MIT" ]
3
2018-08-22T02:41:55.000Z
2022-03-03T08:49:38.000Z
apps/goods/views_base.py
sunwei19910119/DjangoShop
188102dc8ef9f4751f4eeeb7574e95c8cc270484
[ "MIT" ]
null
null
null
apps/goods/views_base.py
sunwei19910119/DjangoShop
188102dc8ef9f4751f4eeeb7574e95c8cc270484
[ "MIT" ]
1
2019-10-23T12:24:08.000Z
2019-10-23T12:24:08.000Z
# encoding: utf-8 from goods.models import Goods from django.views.generic.base import View class GoodsListView(View): def get(self, request): """ 通过django的view实现商品列表页 """ json_list = [] goods = Goods.objects.all()[:10] # for good in goods: # json_dict ...
32.159091
85
0.633922
159
1,415
5.45283
0.352201
0.073818
0.076125
0.089965
0.320646
0.129181
0
0
0
0
0
0.002913
0.272085
1,415
43
86
32.906977
0.838835
0.424735
0
0
0
0
0.005175
0
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7c81cc51df1ab53c03a469cdc7c5c3c8cd7e2980
508
py
Python
url_shortener/src/__init__.py
Andrelpoj/hire.me
79428e2094a6b56e762a7f958e1b75f395f59cef
[ "Apache-2.0" ]
null
null
null
url_shortener/src/__init__.py
Andrelpoj/hire.me
79428e2094a6b56e762a7f958e1b75f395f59cef
[ "Apache-2.0" ]
null
null
null
url_shortener/src/__init__.py
Andrelpoj/hire.me
79428e2094a6b56e762a7f958e1b75f395f59cef
[ "Apache-2.0" ]
null
null
null
from flask import Flask from .extensions import db from .routes import short from . import config def create_app(): """ Creates Flask App, connect to Database and register Blueprint of routes""" app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = config.DATABASE_CONNECTION_URI app.co...
28.222222
83
0.690945
64
508
5.25
0.484375
0.10119
0.113095
0
0
0
0
0
0
0
0
0
0.222441
508
18
84
28.222222
0.850633
0.139764
0
0
0
0
0.128019
0.128019
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7c82fafc5019f5e066e5d9af9ec1a1742645a993
27,180
py
Python
polyaxon_cli/cli/experiment.py
tiagopms/polyaxon-cli
eb13e3b8389ccf069a421a4dabc87aaa506ab61c
[ "MIT" ]
null
null
null
polyaxon_cli/cli/experiment.py
tiagopms/polyaxon-cli
eb13e3b8389ccf069a421a4dabc87aaa506ab61c
[ "MIT" ]
null
null
null
polyaxon_cli/cli/experiment.py
tiagopms/polyaxon-cli
eb13e3b8389ccf069a421a4dabc87aaa506ab61c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import sys import click import rhea from polyaxon_cli.cli.getters.experiment import ( get_experiment_job_or_local, get_project_experiment_or_local ) from polyaxon_cli.cli.upload import upload from polyaxon_cli.client imp...
33.84807
99
0.606659
2,827
27,180
5.659356
0.089848
0.048753
0.040378
0.051566
0.768986
0.705607
0.636852
0.606163
0.585349
0.570286
0
0.003379
0.281347
27,180
802
100
33.890274
0.815697
0.134106
0
0.587473
0
0
0.14221
0
0
0
0
0
0
1
0.049676
false
0.030238
0.034557
0
0.088553
0.146868
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
7c88b8dca0946deb62b53070c85ee8a8bd47974e
845
py
Python
initial_load.py
hongyuanChrisLi/RealEstateDBConvert
0fd04f5213ff3fd3548db3f322828bd80cf41791
[ "Apache-2.0" ]
null
null
null
initial_load.py
hongyuanChrisLi/RealEstateDBConvert
0fd04f5213ff3fd3548db3f322828bd80cf41791
[ "Apache-2.0" ]
null
null
null
initial_load.py
hongyuanChrisLi/RealEstateDBConvert
0fd04f5213ff3fd3548db3f322828bd80cf41791
[ "Apache-2.0" ]
null
null
null
from mysql_dao.select_dao import SelectDao as MysqlSelectDao from postgres_dao.ddl_dao import DdlDao from postgres_dao.dml_dao import DmlDao as PsqlDmlDao psql_ddl_dao = DdlDao() mysql_select_dao = MysqlSelectDao() psql_dml_dao = PsqlDmlDao() psql_ddl_dao.create_tables() county_data = mysql_select_dao.select_all_cou...
28.166667
60
0.857988
141
845
4.602837
0.241135
0.09245
0.138675
0.16641
0.365177
0.291217
0.098613
0
0
0
0
0
0.068639
845
29
61
29.137931
0.824651
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
7c8e9965cc893f149c68d0938c7cdd288fb5e3a7
980
py
Python
src/urh/ui/delegates/CheckBoxDelegate.py
awesome-archive/urh
c8c3aabc9d637ca660d8c72c3d8372055e0f3ec7
[ "Apache-2.0" ]
1
2017-06-21T02:37:16.000Z
2017-06-21T02:37:16.000Z
src/urh/ui/delegates/CheckBoxDelegate.py
dspmandavid/urh
30643c1a68634b1c97eb9989485a4e96a3b038ae
[ "Apache-2.0" ]
null
null
null
src/urh/ui/delegates/CheckBoxDelegate.py
dspmandavid/urh
30643c1a68634b1c97eb9989485a4e96a3b038ae
[ "Apache-2.0" ]
null
null
null
from PyQt5.QtCore import QModelIndex, QAbstractItemModel, Qt, pyqtSlot from PyQt5.QtWidgets import QItemDelegate, QWidget, QStyleOptionViewItem, QCheckBox class CheckBoxDelegate(QItemDelegate): def __init__(self, parent=None): super().__init__(parent) self.enabled = True def createEditor(self...
37.692308
94
0.715306
97
980
7.14433
0.443299
0.069264
0.063492
0
0
0
0
0
0
0
0
0.002503
0.184694
980
26
95
37.692308
0.864831
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7c9666a6d0704c6c5a1d15ed10e9ce79d7670676
3,215
py
Python
project/server/models.py
mvlima/flask-jwt-auth
6cb210b50888b1e9a41ea9e63a80eafcbe436560
[ "MIT" ]
null
null
null
project/server/models.py
mvlima/flask-jwt-auth
6cb210b50888b1e9a41ea9e63a80eafcbe436560
[ "MIT" ]
null
null
null
project/server/models.py
mvlima/flask-jwt-auth
6cb210b50888b1e9a41ea9e63a80eafcbe436560
[ "MIT" ]
null
null
null
# project/server/models.py import jwt import datetime from project.server import app, db, bcrypt class User(db.Model): """ User Model for storing user related details """ __tablename__ = "users" id = db.Column(db.Integer, primary_key=True, autoincrement=True) username = db.Column(db.String(255), uni...
32.806122
90
0.612753
368
3,215
5.211957
0.296196
0.050052
0.062565
0.04171
0.18561
0.163712
0.163712
0.095933
0.095933
0.052138
0
0.009961
0.281804
3,215
97
91
33.14433
0.820702
0.080871
0
0.115942
0
0
0.07058
0
0
0
0
0
0
1
0.086957
false
0.057971
0.043478
0.014493
0.492754
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
7ca33bba047d555eff412922059b6da8837f7980
270
py
Python
examples/setuptools-rust-starter/tests/test_setuptools_rust_starter.py
FriendRat/pyo3
5446fe2062cb3bf11bf61bd4a2c58a7ed8b408d2
[ "Apache-2.0" ]
1
2021-06-18T16:27:31.000Z
2021-06-18T16:27:31.000Z
examples/setuptools-rust-starter/tests/test_setuptools_rust_starter.py
FriendRat/pyo3
5446fe2062cb3bf11bf61bd4a2c58a7ed8b408d2
[ "Apache-2.0" ]
5
2021-11-08T22:05:41.000Z
2022-03-28T22:07:04.000Z
examples/setuptools-rust-starter/tests/test_setuptools_rust_starter.py
FriendRat/pyo3
5446fe2062cb3bf11bf61bd4a2c58a7ed8b408d2
[ "Apache-2.0" ]
null
null
null
from setuptools_rust_starter import PythonClass, ExampleClass def test_python_class() -> None: py_class = PythonClass(value=10) assert py_class.value == 10 def test_example_class() -> None: example = ExampleClass(value=11) assert example.value == 11
22.5
61
0.733333
35
270
5.428571
0.514286
0.073684
0
0
0
0
0
0
0
0
0
0.035874
0.174074
270
11
62
24.545455
0.816144
0
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
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
1
0
0
0
0
0
0
0
1
7caf56de8045038d74971a889dbed39c31d7bb50
1,306
py
Python
tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py
BReduardokramer/gaia
c00302cdcd435ab193e8365917cfc6abac9e4f2e
[ "Apache-2.0" ]
1
2021-11-09T00:27:34.000Z
2021-11-09T00:27:34.000Z
tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py
AmyYLee/gaia
a5dbae8235163d7f985bdeb7d649268f02749a8b
[ "Apache-2.0" ]
null
null
null
tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py
AmyYLee/gaia
a5dbae8235163d7f985bdeb7d649268f02749a8b
[ "Apache-2.0" ]
null
null
null
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from gaiatest import GaiaTestCase from gaiatest.apps.lockscreen.app import LockScreen class TestCameraUnlockWithPassco...
31.095238
90
0.717458
173
1,306
5.202312
0.520231
0.026667
0.046667
0.035556
0.195556
0.195556
0.195556
0.1
0
0
0
0.010427
0.19219
1,306
41
91
31.853659
0.842654
0.238897
0
0.105263
0
0
0.087221
0.061866
0
0
0
0
0.105263
1
0.105263
false
0.263158
0.105263
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7cb2d3d2cb22c43c3c911d744e22c33bc37cdf49
1,661
py
Python
landing/views.py
theflatladder/kyrsovaya
d6d661854cd955e544a199e201f325decc360cc1
[ "MIT" ]
null
null
null
landing/views.py
theflatladder/kyrsovaya
d6d661854cd955e544a199e201f325decc360cc1
[ "MIT" ]
null
null
null
landing/views.py
theflatladder/kyrsovaya
d6d661854cd955e544a199e201f325decc360cc1
[ "MIT" ]
null
null
null
from django.shortcuts import render, render_to_response, redirect from django.contrib import auth from django.contrib.auth.forms import UserCreationForm from django.template.context_processors import csrf from django.http import HttpResponseRedirect def login(request): args = {} args.update(csrf(request)) ...
31.339623
140
0.668874
186
1,661
5.876344
0.327957
0.060384
0.043916
0.040256
0.064044
0.064044
0.064044
0
0
0
0
0.000777
0.225166
1,661
52
141
31.942308
0.848485
0
0
0.25
0
0
0.123494
0
0
0
0
0
0
1
0.1
false
0.075
0.125
0.025
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7cb5817de3a17f08a3afdfbe15a3bbd0fbe2d1d8
346
py
Python
setup.py
GeorgeDittmar/MarkovTextGenerator
df6a56e23051e1f263ba22889dc3b5d0dc03e370
[ "Apache-2.0" ]
1
2021-11-26T15:49:31.000Z
2021-11-26T15:49:31.000Z
setup.py
GeorgeDittmar/Mimic
df6a56e23051e1f263ba22889dc3b5d0dc03e370
[ "Apache-2.0" ]
1
2019-06-24T17:30:41.000Z
2019-06-26T04:53:00.000Z
setup.py
GeorgeDittmar/MarkovTextGenerator
df6a56e23051e1f263ba22889dc3b5d0dc03e370
[ "Apache-2.0" ]
2
2020-05-04T07:57:17.000Z
2021-02-23T05:10:11.000Z
#!/usr/bin/env python from distutils.core import setup setup(name='Mimik', version='1.0', description='Python framework for markov models', author='George Dittmar', author_email='georgedittmar@gmail.com', url='https://www.python.org/sigs/distutils-sig/', packages=['distutils', 'dis...
26.615385
55
0.65896
41
346
5.536585
0.829268
0
0
0
0
0
0
0
0
0
0
0.007092
0.184971
346
12
56
28.833333
0.797872
0.057803
0
0
0
0
0.452308
0.070769
0
0
0
0
0
1
0
true
0
0.111111
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
1
0
0
0
0
0
0
1
7cb6009fc34f03127073ead641d466f1b2a5c978
2,313
py
Python
app/search/hot_eval/hl_reportable.py
don4apaev/anfisa
2e4bdd83c584c0000f037413ccc1f9067c07fa70
[ "Apache-2.0" ]
null
null
null
app/search/hot_eval/hl_reportable.py
don4apaev/anfisa
2e4bdd83c584c0000f037413ccc1f9067c07fa70
[ "Apache-2.0" ]
null
null
null
app/search/hot_eval/hl_reportable.py
don4apaev/anfisa
2e4bdd83c584c0000f037413ccc1f9067c07fa70
[ "Apache-2.0" ]
null
null
null
def evalRec(env, rec): """hl_reportable""" return (len(set(rec.Genes) & { 'ABHD12', 'ACTG1', 'ADGRV1', 'AIFM1', 'ATP6V1B1', 'BCS1L', 'BSND', 'CABP2', 'CACNA1D', 'CDC14A', '...
21.027273
32
0.253783
118
2,313
4.966102
0.983051
0
0
0
0
0
0
0
0
0
0
0.118221
0.601383
2,313
110
33
21.027273
0.517354
0.00562
0
0
0
0
0.234858
0
0
0
0
0
0
1
0.009174
false
0
0
0
0.018349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cc20f1f6a53dbfc79dbca785199d6d05868daf1
25,440
py
Python
tests/prep_post/test.py
Aslic/rmats_turbo_4.1.0
c651509a5d32799315054fa37a2210fab2aae5e5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/prep_post/test.py
Aslic/rmats_turbo_4.1.0
c651509a5d32799315054fa37a2210fab2aae5e5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/prep_post/test.py
Aslic/rmats_turbo_4.1.0
c651509a5d32799315054fa37a2210fab2aae5e5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import glob import os.path import subprocess import sys import unittest import tests.bam import tests.base_test import tests.gtf import tests.output_parser as output_parser import tests.test_config import tests.util class Test(tests.base_test.BaseTest): def setUp(self): super().setUp() self._tes...
39.75
83
0.553263
3,131
25,440
3.984031
0.067071
0.020683
0.025573
0.025814
0.797819
0.735289
0.662819
0.618086
0.568462
0.531666
0
0.031469
0.347956
25,440
639
84
39.812207
0.720521
0.006879
0
0.527531
0
0
0.070521
0
0
0
0
0
0.104796
1
0.046181
false
0.017762
0.019538
0.001776
0.078153
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
7cc57c915f6cace046e0bbe739957206038f009f
1,527
py
Python
nltk/align/util.py
kruskod/nltk
dba7b5431b1d57a75d50e048961c1a203b98c3da
[ "Apache-2.0" ]
1
2015-11-25T00:47:58.000Z
2015-11-25T00:47:58.000Z
nltk/align/util.py
kruskod/nltk
dba7b5431b1d57a75d50e048961c1a203b98c3da
[ "Apache-2.0" ]
null
null
null
nltk/align/util.py
kruskod/nltk
dba7b5431b1d57a75d50e048961c1a203b98c3da
[ "Apache-2.0" ]
null
null
null
# Natural Language Toolkit: Aligner Utilities # # Copyright (C) 2001-2015 NLTK Project # Author: Anna Garbar # URL: <http://www.nltk.org/> # For license information, see LICENSE.TXT from nltk.align.api import Alignment def pharaohtext2tuples(pharaoh_text): """ Converts pharaoh text format into an Alignment ob...
33.933333
81
0.642436
218
1,527
4.444954
0.348624
0.113519
0.070175
0.016512
0.335397
0.321981
0.321981
0.260062
0.260062
0.163055
0
0.058219
0.235102
1,527
44
82
34.704545
0.771404
0.693517
0
0
0
0
0.008357
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7cda6328ac58b61f05923cca8623aa6b42f94561
3,591
py
Python
lib/reindex/reporting.py
scality/utapi
29475f1b9aa25cf3c883262bfb6f4573f846a5b7
[ "Apache-2.0" ]
13
2016-10-07T20:25:11.000Z
2022-02-23T06:33:59.000Z
lib/reindex/reporting.py
scality/utapi
29475f1b9aa25cf3c883262bfb6f4573f846a5b7
[ "Apache-2.0" ]
427
2016-08-17T18:03:32.000Z
2022-03-31T10:46:12.000Z
lib/reindex/reporting.py
scality/utapi
29475f1b9aa25cf3c883262bfb6f4573f846a5b7
[ "Apache-2.0" ]
5
2017-04-25T21:13:03.000Z
2018-01-23T00:21:06.000Z
import requests import redis import json import ast import sys import time import urllib import re import sys from threading import Thread from concurrent.futures import ThreadPoolExecutor import argparse def get_options(): parser = argparse.ArgumentParser() parser.add_argument("-i", "--sentinel-ip", default=...
35.554455
114
0.634085
452
3,591
4.889381
0.292035
0.032579
0.038462
0.01086
0.184163
0.175113
0.158371
0.133937
0.133937
0.133937
0
0.021708
0.217488
3,591
101
115
35.554455
0.764769
0
0
0.109756
0
0
0.190145
0.076837
0
0
0
0
0
1
0.073171
false
0.073171
0.146341
0
0.292683
0.073171
0
0
0
null
0
0
0
0
0
0
0
0
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
7cdd5ddf7b7d2568fd208a60927251ae8e3ac857
10,399
py
Python
retargeting/models/Kinematics.py
yujiatay/deep-motion-editing
0a6fc5fd20059c5074f68a452cd49cf6ede36ea8
[ "BSD-2-Clause" ]
1
2021-07-06T14:34:12.000Z
2021-07-06T14:34:12.000Z
retargeting/models/Kinematics.py
bmd080/deep-motion-editing
19604abdc0ead66f8c82d9211b8c5862c6a68089
[ "BSD-2-Clause" ]
null
null
null
retargeting/models/Kinematics.py
bmd080/deep-motion-editing
19604abdc0ead66f8c82d9211b8c5862c6a68089
[ "BSD-2-Clause" ]
null
null
null
import torch import torch.nn as nn import numpy as np import math class ForwardKinematics: def __init__(self, args, edges): self.topology = [-1] * (len(edges) + 1) self.rotation_map = [] for i, edge in enumerate(edges): self.topology[edge[1]] = edge[0] self.rotation...
36.233449
131
0.521877
1,272
10,399
4.203616
0.121855
0.005985
0.020946
0.026931
0.715728
0.695156
0.683935
0.662615
0.634187
0.625771
0
0.036943
0.315415
10,399
286
132
36.36014
0.714145
0.026637
0
0.671171
0
0
0.009929
0
0
0
0
0
0.009009
1
0.067568
false
0
0.018018
0.004505
0.153153
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7ce0fee58832e03db2dedb448c80880f25c203aa
800
py
Python
mppi/Utilities/AttributeDict.py
marcodalessandro76/MPPI
ad60b73270b1f376ac501d47285146f1c3af457a
[ "MIT" ]
1
2019-05-04T09:26:36.000Z
2019-05-04T09:26:36.000Z
mppi/Utilities/AttributeDict.py
marcodalessandro76/MPPI
ad60b73270b1f376ac501d47285146f1c3af457a
[ "MIT" ]
null
null
null
mppi/Utilities/AttributeDict.py
marcodalessandro76/MPPI
ad60b73270b1f376ac501d47285146f1c3af457a
[ "MIT" ]
null
null
null
class AttributeDict(object): """ A class to convert a nested Dictionary into an object with key-values accessibly using attribute notation (AttributeDict.attribute) instead of key notation (Dict["key"]). This class recursively sets Dicts to objects, allowing you to recurse down nested dicts (like: A...
34.782609
77
0.62875
94
800
5.159574
0.531915
0.043299
0.045361
0
0
0
0
0
0
0
0
0
0.275
800
22
78
36.363636
0.836207
0.4125
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7ce3c5ddd55aea55c48d0f942c54f7645b346e45
24,690
py
Python
tests/test_date.py
andy-z/ged4py
2270bd8366174dcc98424cc6671bdaecf770fda0
[ "MIT" ]
10
2017-07-25T22:39:34.000Z
2022-03-01T04:40:38.000Z
tests/test_date.py
andy-z/ged4py
2270bd8366174dcc98424cc6671bdaecf770fda0
[ "MIT" ]
20
2018-03-25T10:25:40.000Z
2021-05-02T20:38:48.000Z
tests/test_date.py
andy-z/ged4py
2270bd8366174dcc98424cc6671bdaecf770fda0
[ "MIT" ]
6
2018-04-29T12:45:34.000Z
2021-09-14T14:30:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `ged4py.date` module.""" import unittest from ged4py.calendar import ( CalendarType, CalendarDate, FrenchDate, GregorianDate, HebrewDate, JulianDate, CalendarDateVisitor ) from ged4py.date import ( DateValue, DateValueAbout, DateValueAfter, DateV...
41.356784
108
0.637708
2,825
24,690
5.540177
0.095221
0.147594
0.127468
0.029519
0.685515
0.588844
0.440419
0.387196
0.343684
0.308223
0
0.067049
0.22981
24,690
596
109
41.426175
0.755995
0.047833
0
0.314943
0
0
0.096256
0
0
0
0
0
0.565517
1
0.075862
false
0
0.006897
0
0.124138
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
7ce4ea0979a0d8bcdfade749e59f8ad94da264f2
3,487
py
Python
var/spack/repos/builtin/packages/visionary-dev-tools/package.py
electronicvisions/spack
d6121eb35b4948f7d8aef7ec7a305a5123a7439e
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-10T13:47:48.000Z
2019-04-17T13:05:17.000Z
var/spack/repos/builtin/packages/visionary-dev-tools/package.py
einc-eu/spack
15468b92ed21d970c0111ae19144e85e66746433
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-05-28T06:39:59.000Z
2022-03-30T15:12:35.000Z
var/spack/repos/builtin/packages/visionary-dev-tools/package.py
einc-eu/spack
15468b92ed21d970c0111ae19144e85e66746433
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2018-04-06T09:04:11.000Z
2020-01-24T12:52:12.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os.path as osp class VisionaryDevTools(Package): """Developer convenience packages common to all visionary ...
33.854369
124
0.677086
474
3,487
4.805907
0.478903
0.288411
0.125549
0.014925
0.04741
0.04741
0.04741
0.04741
0.04741
0.04741
0
0.024756
0.177516
3,487
102
125
34.186275
0.769526
0.217666
0
0
0
0
0.34507
0.022239
0
0
0
0.009804
0
1
0.012195
false
0
0.012195
0
0.060976
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
7ceab378038506dba92e4b8d3ecd8a07fc74f4a2
1,469
py
Python
tests/unit/peapods/runtimes/remote/ssh/test_ssh_remote.py
yk/jina
ab66e233e74b956390f266881ff5dc4e0110d3ff
[ "Apache-2.0" ]
1
2020-12-23T12:34:00.000Z
2020-12-23T12:34:00.000Z
tests/unit/peapods/runtimes/remote/ssh/test_ssh_remote.py
yk/jina
ab66e233e74b956390f266881ff5dc4e0110d3ff
[ "Apache-2.0" ]
null
null
null
tests/unit/peapods/runtimes/remote/ssh/test_ssh_remote.py
yk/jina
ab66e233e74b956390f266881ff5dc4e0110d3ff
[ "Apache-2.0" ]
null
null
null
import pytest from jina.enums import RemoteAccessType from jina.flow import Flow from jina.parser import set_pea_parser, set_pod_parser from jina.peapods.pods import BasePod from jina.peapods.runtimes.remote.ssh import SSHRuntime from jina.proto import jina_pb2 @pytest.mark.skip('works locally, but until I findout h...
32.644444
96
0.701157
235
1,469
4.27234
0.297872
0.047809
0.083665
0.043825
0.681275
0.681275
0.666335
0.666335
0.610558
0.610558
0
0.042037
0.157931
1,469
44
97
33.386364
0.769604
0
0
0.451613
0
0
0.21307
0
0
0
0
0
0.193548
1
0.129032
false
0.032258
0.225806
0
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cf38c52d649f28843e5da3730409c34a52dc82f
8,026
py
Python
platform/gcutil/lib/google_compute_engine/gcutil_lib/address_cmds_test.py
IsaacHuang/google-cloud-sdk
52afa5d1a75dff08f4f5380c5cccc015bf796ca5
[ "Apache-2.0" ]
null
null
null
platform/gcutil/lib/google_compute_engine/gcutil_lib/address_cmds_test.py
IsaacHuang/google-cloud-sdk
52afa5d1a75dff08f4f5380c5cccc015bf796ca5
[ "Apache-2.0" ]
null
null
null
platform/gcutil/lib/google_compute_engine/gcutil_lib/address_cmds_test.py
IsaacHuang/google-cloud-sdk
52afa5d1a75dff08f4f5380c5cccc015bf796ca5
[ "Apache-2.0" ]
2
2020-07-25T05:03:06.000Z
2020-11-04T04:55:57.000Z
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
32.362903
75
0.705457
825
8,026
6.66303
0.193939
0.068219
0.040022
0.033473
0.698563
0.681281
0.652538
0.652538
0.64235
0.629252
0
0.006286
0.187391
8,026
247
76
32.493927
0.836553
0.076501
0
0.672316
0
0
0.128888
0.023803
0
0
0
0
0.175141
1
0.050847
false
0
0.045198
0
0.101695
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cfa416e684eef42a41f05552ac51704b017a9e1
1,471
py
Python
arguments_setting.py
Projectoy/ml_framework
f3d37d632a1aec314eb186a3da6d174a5dc4beee
[ "Apache-2.0" ]
null
null
null
arguments_setting.py
Projectoy/ml_framework
f3d37d632a1aec314eb186a3da6d174a5dc4beee
[ "Apache-2.0" ]
null
null
null
arguments_setting.py
Projectoy/ml_framework
f3d37d632a1aec314eb186a3da6d174a5dc4beee
[ "Apache-2.0" ]
null
null
null
import argparse, os class ArgumentManager: def __init__(self, model_list): self.model_list = model_list self.args = self.get_input_arguments() self.validate_arguments() def get_input_arguments(self): parser = argparse.ArgumentParser(description='Process some integers.') ...
36.775
119
0.680489
185
1,471
5.221622
0.302703
0.057971
0.040373
0.055901
0.045549
0
0
0
0
0
0
0
0.2155
1,471
40
120
36.775
0.837088
0
0
0
0
0
0.186821
0
0
0
0
0
0.096774
1
0.290323
false
0
0.032258
0.096774
0.483871
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
7cfaab0b77af0b6c7c138ff09a0a82244c391f57
12,133
py
Python
stage/configuration/test_amazon_s3_origin.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
null
null
null
stage/configuration/test_amazon_s3_origin.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
null
null
null
stage/configuration/test_amazon_s3_origin.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
1
2019-10-29T08:46:11.000Z
2019-10-29T08:46:11.000Z
import logging import pytest from streamsets.testframework.markers import aws, sdc_min_version from streamsets.testframework.utils import get_random_string logger = logging.getLogger(__name__) S3_SANDBOX_PREFIX = 'sandbox' LOG_FIELD_MAPPING = [{'fieldPath': '/date', 'group': 1}, {'fieldPath': '/...
46.84556
334
0.656556
1,539
12,133
4.925926
0.223522
0.050125
0.040628
0.049334
0.502308
0.45614
0.441367
0.397705
0.351801
0.311305
0
0.050808
0.193769
12,133
258
335
47.027132
0.724187
0.031979
0
0.26178
0
0.04712
0.359911
0.071111
0
0
0
0
0.005236
1
0.136126
false
0.120419
0.020942
0
0.167539
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
7cfcc11fbbb1d31705e442bed5fe7d622b04a2bd
4,472
py
Python
benchmark/AMS/HIGGSTES/TP.py
victor-estrade/SystGradDescent
822e7094290301ec47a99433381a8d6406798aff
[ "MIT" ]
2
2019-03-20T09:05:02.000Z
2019-03-20T15:23:44.000Z
benchmark/AMS/HIGGSTES/TP.py
victor-estrade/SystGradDescent
822e7094290301ec47a99433381a8d6406798aff
[ "MIT" ]
null
null
null
benchmark/AMS/HIGGSTES/TP.py
victor-estrade/SystGradDescent
822e7094290301ec47a99433381a8d6406798aff
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 from __future__ import print_function from __future__ import division from __future__ import absolute_import from __future__ import unicode_literals # Command line : # python -m benchmark.VAR.GG.TP import os import logging from config import SEED from config import _ERROR from co...
30.841379
97
0.687165
590
4,472
4.981356
0.283051
0.039809
0.04049
0.037428
0.059204
0.018374
0.018374
0
0
0
0
0.002498
0.19432
4,472
144
98
31.055556
0.812934
0.070662
0
0.06
0
0
0.046366
0.007486
0
0
0
0
0
1
0.07
false
0
0.31
0.01
0.43
0.07
0
0
0
null
0
0
0
0
0
0
0
0
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
6b00216e5015b612b495eca186f46004bdc92b04
1,824
py
Python
test/test_storage.py
jrabasco/PyPasser
3cc6ecdfa9b5fe22f5a88c221517fe09d2df9db6
[ "MIT" ]
null
null
null
test/test_storage.py
jrabasco/PyPasser
3cc6ecdfa9b5fe22f5a88c221517fe09d2df9db6
[ "MIT" ]
null
null
null
test/test_storage.py
jrabasco/PyPasser
3cc6ecdfa9b5fe22f5a88c221517fe09d2df9db6
[ "MIT" ]
null
null
null
#!/usr/bin/python3.4 __author__ = "Jeremy Rabasco" import sys import os sys.path.append("..") import unittest from modules import storage from modules.service import Service from modules.database import Database class TestStorage(unittest.TestCase): def setUp(self): self.service = Service() self...
35.076923
104
0.668311
215
1,824
5.553488
0.246512
0.100503
0.050251
0.065327
0.204355
0.058626
0.058626
0
0
0
0
0.008844
0.194079
1,824
52
105
35.076923
0.803401
0.010417
0
0.04878
0
0
0.077008
0
0
0
0
0
0.170732
1
0.097561
false
0.073171
0.146341
0
0.268293
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
6b01058178b8f414abe46085a609e4696e9cb097
1,096
py
Python
setup.py
ripiuk/fant_sizer
dcc0908c79ed76af3f4189ebd2a75cecf7a89e34
[ "MIT" ]
null
null
null
setup.py
ripiuk/fant_sizer
dcc0908c79ed76af3f4189ebd2a75cecf7a89e34
[ "MIT" ]
null
null
null
setup.py
ripiuk/fant_sizer
dcc0908c79ed76af3f4189ebd2a75cecf7a89e34
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from os.path import join, dirname setup( name="fant_sizer", version="0.7", author="Rypiuk Oleksandr", author_email="ripiuk96@gmail.com", description="fant_sizer command-line file-information", url="https://github.com/ripiuk/fan...
36.533333
76
0.581204
104
1,096
5.961538
0.673077
0.087097
0.041935
0.058065
0
0
0
0
0
0
0
0.009091
0.297445
1,096
29
77
37.793103
0.796104
0
0
0
0
0
0.457117
0.024635
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
6b04db30f6d56200725a9e9d3be9cbc67d645d65
2,074
py
Python
tests/python/unittest/test_tir_pass_inject_double_buffer.py
0xreza/tvm
f08d5d78ee000b2c113ac451f8d73817960eafd5
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
tests/python/unittest/test_tir_pass_inject_double_buffer.py
0xreza/tvm
f08d5d78ee000b2c113ac451f8d73817960eafd5
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
1
2020-07-29T00:21:19.000Z
2020-07-29T00:21:19.000Z
tests/python/unittest/test_tir_pass_inject_double_buffer.py
0xreza/tvm
f08d5d78ee000b2c113ac451f8d73817960eafd5
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
1
2021-07-22T17:33:16.000Z
2021-07-22T17:33:16.000Z
# 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 u...
36.385965
74
0.655738
318
2,074
4.18239
0.430818
0.03609
0.02406
0.031579
0.065414
0.041353
0.028571
0.028571
0
0
0
0.019171
0.220347
2,074
56
75
37.035714
0.80334
0.362584
0
0.055556
0
0
0.085824
0
0
0
0
0
0.083333
1
0.055556
false
0.083333
0.055556
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
1
0
0
0
0
0
1
6b0a2521796cb92f0d1e011306fd05dc969275cf
355
py
Python
origamibot/core/teletypes/poll_option.py
cmd410/OrigamiBot
03667d069f0c0b088671936ce36bf8f85a029b93
[ "MIT" ]
4
2020-06-30T10:32:54.000Z
2020-11-01T23:07:58.000Z
origamibot/core/teletypes/poll_option.py
cmd410/OrigamiBot
03667d069f0c0b088671936ce36bf8f85a029b93
[ "MIT" ]
6
2020-06-26T23:14:59.000Z
2020-07-26T11:48:07.000Z
origamibot/core/teletypes/poll_option.py
cmd410/OrigamiBot
03667d069f0c0b088671936ce36bf8f85a029b93
[ "MIT" ]
1
2020-07-28T08:52:51.000Z
2020-07-28T08:52:51.000Z
from .base import TelegramStructure, Field class PollOption(TelegramStructure): text = Field() voter_count = Field() def __init__(self, text: str, voter_count: int ): self.text = \ Field(text, [str]) self.voter_count = \ ...
19.722222
42
0.515493
33
355
5.30303
0.454545
0.228571
0.171429
0
0
0
0
0
0
0
0
0
0.388732
355
17
43
20.882353
0.806452
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.416667
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
6b0f57abb4c6963ae8d955c1ecf87495f2b1c219
12,193
py
Python
plugins/modules/oci_blockstorage_volume_backup_policy_facts.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_blockstorage_volume_backup_policy_facts.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_blockstorage_volume_backup_policy_facts.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2020, 2022 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
38.342767
157
0.584598
1,269
12,193
5.459417
0.253743
0.04157
0.046622
0.057592
0.365762
0.285508
0.182448
0.167436
0.141599
0.113453
0
0.012455
0.341507
12,193
317
158
38.463722
0.850417
0.033954
0
0.278986
0
0.018116
0.784652
0.055579
0
0
0
0
0
1
0.018116
false
0.003623
0.021739
0.01087
0.061594
0.003623
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b1abd24dcce5c1b223e996046c73de1b7c697fc
1,332
py
Python
Concurrent/PipelineDecomposingTask.py
rafagarciac/ParallelProgrammingPython
bba91984018688f41049fd63961d3b8872876336
[ "MIT" ]
null
null
null
Concurrent/PipelineDecomposingTask.py
rafagarciac/ParallelProgrammingPython
bba91984018688f41049fd63961d3b8872876336
[ "MIT" ]
null
null
null
Concurrent/PipelineDecomposingTask.py
rafagarciac/ParallelProgrammingPython
bba91984018688f41049fd63961d3b8872876336
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Artesanal example Pipe without Pipe class. """ __author__ = "Rafael García Cuéllar" __email__ = "r.gc@hotmail.es" __copyright__ = "Copyright (c) 2018 Rafael García Cuéllar" __license__ = "MIT" from concurrent.futures import ProcessPoolExecutor import time import random def worker(arg):...
27.183673
107
0.678679
152
1,332
5.703947
0.473684
0.055363
0.069204
0.055363
0.251442
0.251442
0.198385
0.10842
0
0
0
0.008531
0.207958
1,332
49
108
27.183673
0.81327
0.173423
0
0.060606
0
0
0.080111
0
0
0
0
0
0
1
0.212121
false
0
0.090909
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6b2889ee02cbc2db0ebf9270a48b091ad3ca3b59
8,237
py
Python
core/views.py
Neelamegam2000/QRcode-for-license
a6d4c9655c5ba52b24c1ea737797557f06e0fcbf
[ "MIT" ]
null
null
null
core/views.py
Neelamegam2000/QRcode-for-license
a6d4c9655c5ba52b24c1ea737797557f06e0fcbf
[ "MIT" ]
null
null
null
core/views.py
Neelamegam2000/QRcode-for-license
a6d4c9655c5ba52b24c1ea737797557f06e0fcbf
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.conf import settings from django.core.files.storage import FileSystemStorage,default_storage from django.core.mail import send_mail, EmailMessage from core.models import Document from core.forms import DocumentForm from django.contrib import messages import os...
42.901042
167
0.617701
1,016
8,237
4.889764
0.20374
0.059783
0.064815
0.038245
0.466787
0.367552
0.298712
0.285427
0.285427
0.253019
0
0.020186
0.2422
8,237
191
168
43.125654
0.775713
0
0
0.223684
0
0
0.124964
0.003171
0.013158
0
0.000577
0
0
1
0.046053
false
0.164474
0.098684
0.006579
0.210526
0.046053
0
0
0
null
0
0
0
0
0
0
0
0
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
6b2cec5a2588f39302333a5f4dacaf75c507b16b
3,344
py
Python
backend/api/management/commands/create_testdb.py
INSRapperswil/nornir-web
458e6b24bc373197044b4b7b5da74f16f93a9459
[ "MIT" ]
2
2021-06-01T08:33:04.000Z
2021-08-20T04:22:39.000Z
backend/api/management/commands/create_testdb.py
INSRapperswil/nornir-web
458e6b24bc373197044b4b7b5da74f16f93a9459
[ "MIT" ]
null
null
null
backend/api/management/commands/create_testdb.py
INSRapperswil/nornir-web
458e6b24bc373197044b4b7b5da74f16f93a9459
[ "MIT" ]
null
null
null
""" Setup DB with example data for tests """ from django.contrib.auth.hashers import make_password from django.contrib.auth.models import User, Group from django.core.management.base import BaseCommand from api import models class Command(BaseCommand): help = 'Setup DB with example data for tests' ...
54.819672
121
0.62201
387
3,344
5.21447
0.284238
0.06442
0.084242
0.035679
0.433598
0.35332
0.247275
0.173935
0.173935
0.098612
0
0.006486
0.262261
3,344
60
122
55.733333
0.811512
0.010766
0
0
0
0
0.283333
0.061728
0
0
0
0
0
1
0.023256
false
0.093023
0.093023
0
0.162791
0.139535
0
0
0
null
0
0
0
0
0
0
0
0
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
6b2e543e1da4f0dd04f05a16bdaaac83f262d6ce
1,505
py
Python
ipuz/puzzlekinds/__init__.py
maiamcc/ipuz
fbe6f663b28ad42754622bf2d3bbe59a26be2615
[ "MIT" ]
5
2015-06-23T17:18:41.000Z
2020-05-05T16:43:14.000Z
ipuz/puzzlekinds/__init__.py
maiamcc/ipuz
fbe6f663b28ad42754622bf2d3bbe59a26be2615
[ "MIT" ]
3
2015-08-21T05:17:22.000Z
2021-03-20T18:39:31.000Z
ipuz/puzzlekinds/__init__.py
maiamcc/ipuz
fbe6f663b28ad42754622bf2d3bbe59a26be2615
[ "MIT" ]
3
2018-01-15T17:28:10.000Z
2020-09-29T20:32:21.000Z
from .acrostic import IPUZ_ACROSTIC_VALIDATORS from .answer import IPUZ_ANSWER_VALIDATORS from .block import IPUZ_BLOCK_VALIDATORS from .crossword import IPUZ_CROSSWORD_VALIDATORS from .fill import IPUZ_FILL_VALIDATORS from .sudoku import IPUZ_SUDOKU_VALIDATORS from .wordsearch import IPUZ_WORDSEARCH_VALIDATORS IPUZ_...
23.153846
50
0.509635
120
1,505
6.15
0.15
0.094851
0.104336
0.170732
0.173442
0
0
0
0
0
0
0.007216
0.355482
1,505
64
51
23.515625
0.753608
0
0
0.403226
0
0
0.226578
0
0
0
0
0
0
1
0
false
0
0.112903
0
0.112903
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
6b385bed93debf4cc525192d73536e80c2566746
591
py
Python
python/ray/train/__init__.py
jamesliu/ray
11ab412db1fa3603a3006e8ed414e80dd1f11c0c
[ "Apache-2.0" ]
33
2020-05-27T14:25:24.000Z
2022-03-22T06:11:30.000Z
python/ray/train/__init__.py
jamesliu/ray
11ab412db1fa3603a3006e8ed414e80dd1f11c0c
[ "Apache-2.0" ]
227
2021-10-01T08:00:01.000Z
2021-12-28T16:47:26.000Z
python/ray/train/__init__.py
gramhagen/ray
c18caa4db36d466718bdbcb2229aa0b2dc03da1f
[ "Apache-2.0" ]
5
2020-08-06T15:53:07.000Z
2022-02-09T03:31:31.000Z
from ray.train.backend import BackendConfig from ray.train.callbacks import TrainingCallback from ray.train.checkpoint import CheckpointStrategy from ray.train.session import (get_dataset_shard, local_rank, load_checkpoint, report, save_checkpoint, world_rank, world_size) from ray.train.t...
42.214286
79
0.749577
64
591
6.640625
0.375
0.082353
0.141176
0.084706
0
0
0
0
0
0
0
0
0.153976
591
13
80
45.461538
0.85
0
0
0
0
0
0.258883
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6b3deda0113b8eb8f9bdf6272cc95e4fe0c53714
2,743
py
Python
jupyanno/sheets.py
betatim/jupyanno
11fbb1825c8e6966260620758768e0e1fa5cecc9
[ "Apache-2.0" ]
23
2018-08-24T16:48:20.000Z
2021-02-26T02:52:40.000Z
jupyanno/sheets.py
L3-data/jupyanno
6f6ec37e88b4d92f00bc359e7e39157b6b7f0eb5
[ "Apache-2.0" ]
73
2018-08-13T07:56:15.000Z
2018-10-09T13:55:20.000Z
jupyanno/sheets.py
L3-data/jupyanno
6f6ec37e88b4d92f00bc359e7e39157b6b7f0eb5
[ "Apache-2.0" ]
4
2018-08-13T07:55:50.000Z
2020-09-30T12:04:27.000Z
"""Code for reading and writing results to google sheets""" from bs4 import BeautifulSoup import requests import warnings import json import pandas as pd from six.moves.urllib.parse import urlparse, parse_qs from six.moves.urllib.request import urlopen _CELLSET_ID = "AIzaSyC8Zo-9EbXgHfqNzDxVb_YS_IIZBWtvoJ4" def get_...
33.45122
79
0.606635
367
2,743
4.370572
0.427793
0.018703
0.016833
0.022444
0.009975
0
0
0
0
0
0
0.018063
0.273423
2,743
81
80
33.864198
0.786754
0.063434
0
0
0
0.016949
0.101415
0.02555
0
0
0
0.012346
0
1
0.118644
false
0
0.118644
0.067797
0.372881
0.016949
0
0
0
null
0
0
0
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