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
961f8e0ded1739e7f84175c2bdac8bbf64966432
8,270
py
Python
test/xslt/borrowed/sm_20000304.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
6
2015-01-30T03:50:36.000Z
2022-03-20T16:09:58.000Z
test/xslt/borrowed/sm_20000304.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
2
2015-02-04T17:18:47.000Z
2019-09-27T23:39:52.000Z
test/xslt/borrowed/sm_20000304.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
6
2015-02-04T16:16:18.000Z
2019-10-30T20:07:48.000Z
######################################################################## # test/xslt/sm20000304.py # Example from Steve Muench <smuench@us.oracle.com> # to Jon Smirl <jonsmirl@mediaone.net> # on 4 March 2000 """ From: "Steve Muench" <smuench@us.oracle.com> To: <xsl-list@mulberrytech.com> Subject: Re: SVG charts and gr...
32.687747
143
0.606167
1,128
8,270
4.384752
0.257979
0.042256
0.057622
0.016175
0.220178
0.18055
0.170036
0.124141
0.047311
0.031541
0
0.048328
0.21185
8,270
252
144
32.81746
0.710494
0.072914
0
0.173653
0
0.071856
0.624723
0.131894
0
0
0.001774
0.003968
0
0
null
null
0
0.035928
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
9625303d504fb10bd57521a4e704cb6335319f31
984
py
Python
src/count_targets.py
kahvel/MAProject
1c17d0c3fde6d9acc7dd3861f926e8af0ddac222
[ "MIT" ]
null
null
null
src/count_targets.py
kahvel/MAProject
1c17d0c3fde6d9acc7dd3861f926e8af0ddac222
[ "MIT" ]
null
null
null
src/count_targets.py
kahvel/MAProject
1c17d0c3fde6d9acc7dd3861f926e8af0ddac222
[ "MIT" ]
null
null
null
from main import readData, getTrueLabels, binariseLabels, removePacketsAfterChange label_data = list() label_data.append(readData("..\\data\\test5_targets_1.csv")) label_data.append(readData("..\\data\\test5_targets_2.csv")) label_data.append(readData("..\\data\\test5_targets_3.csv")) labels = [getTrueLabels(label) ...
41
132
0.727642
134
984
5.186567
0.223881
0.172662
0.057554
0.161151
0.34964
0.34964
0.260432
0.204317
0.083453
0.083453
0
0.03237
0.120935
984
23
133
42.782609
0.771098
0
0
0.235294
0
0
0.109756
0.088415
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.058824
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
96262446beb9d081c0d44d53817c947e2939b91a
711
py
Python
src/actionsold.py
Grumpy-Old-Tech/WorkshopAssistant
704e8080e76ba6feabd6eee3e1965439336306ad
[ "MIT" ]
null
null
null
src/actionsold.py
Grumpy-Old-Tech/WorkshopAssistant
704e8080e76ba6feabd6eee3e1965439336306ad
[ "MIT" ]
null
null
null
src/actionsold.py
Grumpy-Old-Tech/WorkshopAssistant
704e8080e76ba6feabd6eee3e1965439336306ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python #This is different from AIY Kit's actions #Copying and Pasting AIY Kit's actions commands will not work from googleapiclient.discovery import build from googleapiclient.errors import HttpError from gmusicapi import Mobileclient from googletrans import Translator from gtts import gTTS import req...
19.75
61
0.819972
109
711
5.238532
0.577982
0.042032
0.073555
0.089317
0
0
0
0
0
0
0
0.001623
0.133615
711
35
62
20.314286
0.925325
0.254571
0
0
0
0
0.086372
0.069098
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8251357bc0686fc467cb6924c7a1a83a74692825
973
py
Python
ietf/utils/resources.py
wpjesus/codematch
eee7405259cce9239ea0545a2a1300ee1accfe94
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-09-02T19:53:12.000Z
2015-09-02T19:53:12.000Z
ietf/utils/resources.py
wpjesus/codematch
eee7405259cce9239ea0545a2a1300ee1accfe94
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ietf/utils/resources.py
wpjesus/codematch
eee7405259cce9239ea0545a2a1300ee1accfe94
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
# Autogenerated by the mkresources management command 2014-11-13 05:39 from tastypie.resources import ModelResource from tastypie.fields import CharField from tastypie.constants import ALL from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from ietf import api from ...
27.8
70
0.70298
102
973
6.696078
0.45098
0.052709
0.074671
0.101025
0.297218
0.248902
0
0
0
0
0
0.015686
0.213772
973
34
71
28.617647
0.877124
0.096608
0
0.307692
1
0
0.009143
0
0
0
0
0
0
1
0
false
0
0.269231
0
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
8253b8de6bfcb3c4b2705d87c3cbd83db498bfb5
1,129
py
Python
153_find_minimum_in_rotated_sorted_array.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
2
2018-04-24T19:17:40.000Z
2018-04-24T19:33:52.000Z
153_find_minimum_in_rotated_sorted_array.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
null
null
null
153_find_minimum_in_rotated_sorted_array.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
3
2020-06-17T05:48:52.000Z
2021-01-02T06:08:25.000Z
# 153. Find Minimum in Rotated Sorted Array # # Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. # # (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). # # Find the minimum element. # # You may assume no duplicate exists in the array. class Solution(object): # http://b...
26.255814
96
0.495128
169
1,129
3.260355
0.43787
0.021779
0.016334
0.021779
0.245009
0.245009
0.245009
0.219601
0.219601
0.15608
0
0.066384
0.372896
1,129
42
97
26.880952
0.711864
0.366696
0
0.761905
0
0
0.012559
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
8254e7450b3c4e0f6d891fdfe8c1ab7c064377f8
1,423
py
Python
babylon_server/babylon/config.py
ajponte/babylon
e743f5b3bb5b2eb864247414c4f51962eea9108e
[ "MIT" ]
null
null
null
babylon_server/babylon/config.py
ajponte/babylon
e743f5b3bb5b2eb864247414c4f51962eea9108e
[ "MIT" ]
2
2021-11-08T18:09:22.000Z
2021-11-09T19:22:33.000Z
babylon_server/babylon/config.py
ajponte/babylon
e743f5b3bb5b2eb864247414c4f51962eea9108e
[ "MIT" ]
null
null
null
import os class Config: # Statement for enabling the development environment DEBUG = True # Define the application directory BASE_DIR = os.path.abspath(os.path.dirname(__file__)) # Logging config. LOG_DIR = "logs" LOG_TYPE = ["LOG_TYPE", "watched"] LOG_LEVEL = "DEBUG" APP_LOG_NAM...
37.447368
185
0.709065
191
1,423
5.015707
0.513089
0.135699
0.029228
0.041754
0.048017
0
0
0
0
0
0
0.024306
0.190443
1,423
37
186
38.459459
0.807292
0.315531
0
0
0
0
0.365245
0.248699
0
0
0
0
0
1
0
false
0.086957
0.043478
0
0.869565
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
82559085472d1981739859824315a98440b83c6f
131
py
Python
etherscan_py/__init__.py
saltduck/etherscan_py
1a4ac48733d832d6dc4c8f74fafd7af4c3ce675e
[ "MIT" ]
6
2021-02-20T10:32:36.000Z
2022-02-10T17:00:00.000Z
etherscan_py/__init__.py
saltduck/etherscan_py
1a4ac48733d832d6dc4c8f74fafd7af4c3ce675e
[ "MIT" ]
2
2020-11-19T04:39:25.000Z
2021-03-05T12:40:21.000Z
etherscan_py/__init__.py
saltduck/etherscan_py
1a4ac48733d832d6dc4c8f74fafd7af4c3ce675e
[ "MIT" ]
3
2021-03-03T18:37:26.000Z
2021-04-04T14:14:05.000Z
"""Top-level package for etherscan-py.""" __author__ = """Julian Koh""" __email__ = 'juliankohtx@gmail.com' __version__ = '0.1.0'
21.833333
41
0.687023
17
131
4.588235
0.941176
0
0
0
0
0
0
0
0
0
0
0.025862
0.114504
131
5
42
26.2
0.646552
0.267176
0
0
0
0
0.4
0.233333
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
825ed7b070e5aaac9e764b86a1c9c4bdbe9ea988
4,656
py
Python
new_scraper.py
Baw25/HomeSavvy
e07fb6f78e6f68fb981c92b15df5eef981e4d0ea
[ "MIT" ]
null
null
null
new_scraper.py
Baw25/HomeSavvy
e07fb6f78e6f68fb981c92b15df5eef981e4d0ea
[ "MIT" ]
null
null
null
new_scraper.py
Baw25/HomeSavvy
e07fb6f78e6f68fb981c92b15df5eef981e4d0ea
[ "MIT" ]
null
null
null
#!/bin/python # -*- coding: utf-8 -*- # Droplet Name: ubuntu-512mb-sfo2-01 # IP Address: 138.68.252.152 # Username: root # Password: fbe29a96430704766b5054c4d9 # New Password: Rowing525 # https://medium.com/@hoppy/how-to-test-or-scrape-javascript-rendered-websites-with-python-selenium-a-beginner-step-by-c137892216aa ...
27.550296
131
0.649055
627
4,656
4.647528
0.323764
0.033631
0.057996
0.080302
0.333905
0.293754
0.269046
0.258751
0.23267
0.23267
0
0.026054
0.200387
4,656
168
132
27.714286
0.756648
0.135739
0
0.221311
0
0
0.174988
0.050674
0
0
0
0
0
0
null
null
0.065574
0.032787
null
null
0.07377
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
825ff6c34b7f590f5f9226ffd0a964d853a9a998
532
py
Python
gdsfactory/simulation/gmeep/__init__.py
gdsfactory/gdsfactory
ee761ae0b4429fbec7035bbea5d1e5206c66bea7
[ "MIT" ]
42
2020-05-25T09:33:45.000Z
2022-03-29T03:41:19.000Z
gdsfactory/simulation/gmeep/__init__.py
gdsfactory/gdsfactory
ee761ae0b4429fbec7035bbea5d1e5206c66bea7
[ "MIT" ]
133
2020-05-28T18:29:04.000Z
2022-03-31T22:21:42.000Z
gdsfactory/simulation/gmeep/__init__.py
gdsfactory/gdsfactory
ee761ae0b4429fbec7035bbea5d1e5206c66bea7
[ "MIT" ]
17
2020-06-30T07:07:50.000Z
2022-03-17T15:45:27.000Z
from gdsfactory.simulation.gmeep.add_monitors import add_monitors from gdsfactory.simulation.gmeep.get_simulation import get_simulation from gdsfactory.simulation.gmeep.get_transmission_2ports import ( get_transmission_2ports, plot2D, plot3D, ) from gdsfactory.simulation.gmeep.plot_xsection import plot_xsec...
25.333333
69
0.757519
60
532
6.3
0.333333
0.148148
0.253968
0.306878
0.343915
0
0
0
0
0
0
0.026549
0.150376
532
20
70
26.6
0.809735
0
0
0
0
0
0.208647
0.043233
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
827b053defe8919cad9935212546496cfc58073c
1,040
py
Python
kornia/constants.py
carlosb1/kornia
a2b34d497314e7ed65f114401efdd3cc9ba2077c
[ "ECL-2.0", "Apache-2.0" ]
1
2020-06-17T16:57:14.000Z
2020-06-17T16:57:14.000Z
kornia/constants.py
carlosb1/kornia
a2b34d497314e7ed65f114401efdd3cc9ba2077c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
kornia/constants.py
carlosb1/kornia
a2b34d497314e7ed65f114401efdd3cc9ba2077c
[ "ECL-2.0", "Apache-2.0" ]
1
2022-01-26T13:39:34.000Z
2022-01-26T13:39:34.000Z
from typing import Union, TypeVar from enum import Enum import torch pi = torch.tensor(3.14159265358979323846) T = TypeVar('T', bound='Resample') U = TypeVar('U', bound='BorderType') class Resample(Enum): NEAREST = 0 BILINEAR = 1 BICUBIC = 2 @classmethod def get(cls, value: Union[str, int, T]) ...
24.761905
65
0.567308
128
1,040
4.609375
0.320313
0.135593
0.122034
0.162712
0.59661
0.59661
0.59661
0.59661
0.474576
0.474576
0
0.039161
0.3125
1,040
41
66
25.365854
0.786014
0.099038
0
0.484848
0
0
0.021552
0
0
0
0
0
0
1
0.060606
false
0
0.090909
0
0.606061
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
8281775b2d035df5a898df5ea5c2730c011f5d85
109
py
Python
practice/practice_perfect/ex7.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
null
null
null
practice/practice_perfect/ex7.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
8
2017-12-29T21:19:00.000Z
2018-04-01T05:05:05.000Z
practice/practice_perfect/ex7.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
1
2017-12-27T23:45:58.000Z
2017-12-27T23:45:58.000Z
def remove_duplicates(lst): new = [] for x in lst: if x not in new: new.append(x) return new
15.571429
27
0.59633
19
109
3.368421
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.302752
109
6
28
18.166667
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
82857e9a33dbe718b0d5cc5a60fda6fb7a1add58
4,666
py
Python
env/lib/python3.8/site-packages/unidecode/x093.py
avdhari/enigma
b7e965a91ca5f0e929c4c719d695f15ccb8b5a2c
[ "MIT" ]
48
2021-11-20T08:17:53.000Z
2022-03-19T13:57:15.000Z
venv/lib/python3.6/site-packages/unidecode/x093.py
mrsaicharan1/iiita-updates
a22a0157b90d29b946d0f020e5f76744f73a6bff
[ "Apache-2.0" ]
392
2015-07-30T14:37:05.000Z
2022-03-21T16:56:09.000Z
venv/lib/python3.6/site-packages/unidecode/x093.py
mrsaicharan1/iiita-updates
a22a0157b90d29b946d0f020e5f76744f73a6bff
[ "Apache-2.0" ]
15
2015-10-01T21:31:08.000Z
2020-05-05T00:03:27.000Z
data = ( 'Lun ', # 0x00 'Kua ', # 0x01 'Ling ', # 0x02 'Bei ', # 0x03 'Lu ', # 0x04 'Li ', # 0x05 'Qiang ', # 0x06 'Pou ', # 0x07 'Juan ', # 0x08 'Min ', # 0x09 'Zui ', # 0x0a 'Peng ', # 0x0b 'An ', # 0x0c 'Pi ', # 0x0d 'Xian ', # 0x0e 'Ya ', # 0x0f 'Zhui ', # 0x10 'Le...
18.015444
21
0.388556
503
4,666
3.604374
0.827038
0
0
0
0
0
0
0
0
0
0
0.200697
0.384912
4,666
258
22
18.085271
0.43101
0.274111
0
0.593023
0
0
0.342173
0
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
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
82884c2f951413f34a94ee10615c1c83e1f50fe8
1,540
py
Python
utility_parseCMUMovie.py
bipulkumar22/pyTextClassification
7ed92949aa5648d3198588d0c5d6db89b48025ac
[ "Apache-2.0" ]
11
2016-09-16T10:38:19.000Z
2021-12-13T19:38:24.000Z
utility_parseCMUMovie.py
tyiannak/pyTextClassification
7ed92949aa5648d3198588d0c5d6db89b48025ac
[ "Apache-2.0" ]
null
null
null
utility_parseCMUMovie.py
tyiannak/pyTextClassification
7ed92949aa5648d3198588d0c5d6db89b48025ac
[ "Apache-2.0" ]
6
2016-11-19T15:35:13.000Z
2020-03-29T17:09:22.000Z
import os import csv import ast # used to generate folder-seperated corpus from CMUMovie dataset # just type python utility_parseCMUMovie.py in a terminal and the data will be downloaded and split to subfolders in the moviePlots/ path os.system("wget http://www.cs.cmu.edu/~ark/personas/data/MovieSummaries.tar.gz") o...
37.560976
143
0.595455
201
1,540
4.542289
0.477612
0.021906
0.05586
0.052574
0.079956
0.054765
0
0
0
0
0
0.017995
0.242208
1,540
40
144
38.5
0.764353
0.129221
0
0
1
0.03125
0.177877
0.065022
0
0
0
0
0
0
null
null
0
0.09375
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
828aa1df6ebc3553389f760e5439ccc3f6c4765d
981
py
Python
App/items/models/items.py
fmgar/BlackMarker-API
a185d61d518ad505d2fd8882f0e8cd15474786cb
[ "MIT" ]
null
null
null
App/items/models/items.py
fmgar/BlackMarker-API
a185d61d518ad505d2fd8882f0e8cd15474786cb
[ "MIT" ]
null
null
null
App/items/models/items.py
fmgar/BlackMarker-API
a185d61d518ad505d2fd8882f0e8cd15474786cb
[ "MIT" ]
null
null
null
"""Items model. """ # Django from django.db import models # Utilities from App.utils.models import BlackMarketModel # Models from .category import Category from .unit import Unit from .owner import Owner class Item(BlackMarketModel): """Items model. Is a model to items we goin to sell """ name = mode...
32.7
92
0.734964
137
981
5.138686
0.408759
0.06392
0.046875
0.072443
0.161932
0.161932
0.161932
0.161932
0.161932
0
0
0.012005
0.150866
981
29
93
33.827586
0.833133
0.090724
0
0
0
0
0.008
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0.0625
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8297797069048f1e64c87757d3ccf7043bd8704b
3,690
py
Python
src/tests/dao_test/guild_roles_dao_test.py
Veloxization/likahbot
24e22711f514fc0878cf6fb9e516ad44425ea6a7
[ "MIT" ]
null
null
null
src/tests/dao_test/guild_roles_dao_test.py
Veloxization/likahbot
24e22711f514fc0878cf6fb9e516ad44425ea6a7
[ "MIT" ]
null
null
null
src/tests/dao_test/guild_roles_dao_test.py
Veloxization/likahbot
24e22711f514fc0878cf6fb9e516ad44425ea6a7
[ "MIT" ]
null
null
null
import unittest import os from dao.guild_roles_dao import GuildRolesDAO from dao.guild_role_categories_dao import GuildRoleCategoriesDAO class TestGuildRolesDAO(unittest.TestCase): def setUp(self): self.db_addr = "database/test_db.db" os.popen(f"sqlite3 {self.db_addr} < database/schema.sql") ...
52.714286
103
0.746612
545
3,690
4.623853
0.113761
0.162698
0.134127
0.168651
0.730159
0.669444
0.657937
0.646032
0.622222
0.603968
0
0.054698
0.157724
3,690
69
104
53.478261
0.756113
0
0
0.419355
0
0
0.033875
0
0
0
0
0
0.209677
1
0.112903
false
0
0.064516
0
0.193548
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
829dd5cc20b5aa7c14726c3c740aa687c0a9650d
194
py
Python
Data_Analyst/Step_2_Intermediate_Python_and_Pandas/2_Data_Analysis_with_Pandas_Intermediate/3_Introduction_to_Pandas/7_Selecting_a_row/script.py
ustutz/dataquest
6fa64fc824a060b19649ef912d11bee9ed671025
[ "MIT" ]
8
2017-01-20T13:24:26.000Z
2019-04-05T19:02:13.000Z
Data_Analyst/Step_2_Intermediate_Python_and_Pandas/2_Data_Analysis_with_Pandas_Intermediate/3_Introduction_to_Pandas/7_Selecting_a_row/script.py
ustutz/dataquest
6fa64fc824a060b19649ef912d11bee9ed671025
[ "MIT" ]
null
null
null
Data_Analyst/Step_2_Intermediate_Python_and_Pandas/2_Data_Analysis_with_Pandas_Intermediate/3_Introduction_to_Pandas/7_Selecting_a_row/script.py
ustutz/dataquest
6fa64fc824a060b19649ef912d11bee9ed671025
[ "MIT" ]
25
2016-10-27T16:27:54.000Z
2021-07-06T14:36:40.000Z
import pandas as pandas_Pandas_Module class Script: @staticmethod def main(): food_info = pandas_Pandas_Module.read_csv("../food_info.csv") print(str(food_info.dtypes)) Script.main()
14.923077
63
0.752577
28
194
4.928571
0.571429
0.173913
0.26087
0
0
0
0
0
0
0
0
0
0.128866
194
13
64
14.923077
0.816568
0
0
0
0
0
0.082051
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
82a91b76040314d727ba1163f259b5cbea984d08
838
py
Python
vshare/user_/urls.py
jeyrce/vshare
269fe05a4dc36f6fbf831ddf5057af95312b75ca
[ "Apache-2.0" ]
4
2019-11-30T06:07:14.000Z
2020-10-27T08:48:23.000Z
vshare/user_/urls.py
jeeyshe/vshare
269fe05a4dc36f6fbf831ddf5057af95312b75ca
[ "Apache-2.0" ]
null
null
null
vshare/user_/urls.py
jeeyshe/vshare
269fe05a4dc36f6fbf831ddf5057af95312b75ca
[ "Apache-2.0" ]
null
null
null
# coding = utf-8 # env = python3.5.2 # author = lujianxin # time = 201x-xx-xx # purpose= - - - from django.urls import re_path from . import views urlpatterns = [ # 此模块下的路径映射 re_path(r'usercenter$', views.UserCenter.as_view()), re_path(r'details/(\d+)$', views.UserDetails.as_view()), re_path(r'...
27.032258
61
0.656325
121
838
4.272727
0.396694
0.139265
0.148936
0.232108
0.251451
0
0
0
0
0
0
0.009859
0.152745
838
30
62
27.933333
0.71831
0.120525
0
0
0
0
0.163237
0
0
0
0
0
0
1
0
false
0.058824
0.117647
0
0.117647
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
1
0
0
0
0
0
2
82aec0d620a3d2b504e341e4b1d842730a0ba06a
586
py
Python
config.py
laundmo/counter-generator
52b96ede55ea0d961c414102762c6430275d9fb9
[ "MIT" ]
null
null
null
config.py
laundmo/counter-generator
52b96ede55ea0d961c414102762c6430275d9fb9
[ "MIT" ]
4
2021-02-27T07:56:25.000Z
2021-02-27T08:00:10.000Z
config.py
laundmo/counter-generator
52b96ede55ea0d961c414102762c6430275d9fb9
[ "MIT" ]
null
null
null
from sys import platform try: from yaml import CSafeLoader as Loader # use the C loader when possible except ImportError: from yaml import SafeLoader as Loader import yaml with open("config.yml") as f: config = yaml.load(f, Loader=Loader) # load the config yaml if platform in ("linux", "linux2", "win32...
30.842105
83
0.721843
88
586
4.806818
0.613636
0.037825
0.066194
0
0
0
0
0
0
0
0
0.006494
0.211604
586
18
84
32.555556
0.909091
0.349829
0
0
0
0
0.085106
0
0
0
0
0.055556
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
82affa262e4e61eb46885268e69de57c9213002a
25,609
py
Python
pysnmp/CISCO-IETF-PW-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-IETF-PW-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-IETF-PW-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-IETF-PW-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-IETF-PW-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:43:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
130.658163
3,605
0.7545
2,910
25,609
6.639175
0.092784
0.010663
0.014752
0.018012
0.382816
0.304451
0.248395
0.240735
0.193944
0.191097
0
0.071517
0.082159
25,609
195
3,606
131.328205
0.750436
0.012808
0
0.026738
0
0
0.186174
0.031299
0
0
0
0
0
1
0
false
0
0.053476
0
0.053476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
82c5022208b58d4f46a1d7ce39f5bdeb44953f3f
566
py
Python
MechOS/simple_messages/int.py
PierceATronics/MechOS
8eeb68b65b8c20b642db52baad1379fd0847b362
[ "MIT" ]
null
null
null
MechOS/simple_messages/int.py
PierceATronics/MechOS
8eeb68b65b8c20b642db52baad1379fd0847b362
[ "MIT" ]
null
null
null
MechOS/simple_messages/int.py
PierceATronics/MechOS
8eeb68b65b8c20b642db52baad1379fd0847b362
[ "MIT" ]
null
null
null
''' ''' import struct class Int: ''' ''' def __init__(self): ''' ''' #construct the message format self.message_constructor = 'i' #number of bytes for this message self.size = 4 def _pack(self, message): ''' ''' encoded_message = ...
20.962963
77
0.556537
55
566
5.490909
0.454545
0.145695
0.218543
0
0
0
0
0
0
0
0
0.005222
0.323322
566
26
78
21.769231
0.78329
0.106007
0
0
0
0
0.002268
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.454545
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
82c56d7c16636bc69a537283da6c0edaf26dd821
377
py
Python
Curso Python/PythonExercicios/ex017.py
marcos-saba/Cursos
1c063392867e9ed86d141dad8861a2a35488b1c6
[ "MIT" ]
null
null
null
Curso Python/PythonExercicios/ex017.py
marcos-saba/Cursos
1c063392867e9ed86d141dad8861a2a35488b1c6
[ "MIT" ]
null
null
null
Curso Python/PythonExercicios/ex017.py
marcos-saba/Cursos
1c063392867e9ed86d141dad8861a2a35488b1c6
[ "MIT" ]
null
null
null
#from math import hypot import math print('='*5, 'Cálculo triângulo retângulo', '='*5) cat_op = float(input('Digite o comprimento do cateto oposto: ')) cat_adj = float(input('Digite o comprimento do cateto adjacente: ')) hip = math.hypot(cat_op, cat_adj) print(f'O comprimento da hipotenusa do triângulo retângulo, cujos...
47.125
121
0.729443
61
377
4.409836
0.508197
0.055762
0.118959
0.126394
0.267658
0.267658
0.267658
0
0
0
0
0.015198
0.127321
377
7
122
53.857143
0.802432
0.058355
0
0
0
0.166667
0.624294
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
82c9034910103390615809d1175c2317626103b0
4,705
py
Python
pysport/horseracing/lattice_calibration.py
notbanker/pysport
fbeb1f1efa493aa26ffb58156b86ce2aee3482bf
[ "MIT" ]
null
null
null
pysport/horseracing/lattice_calibration.py
notbanker/pysport
fbeb1f1efa493aa26ffb58156b86ce2aee3482bf
[ "MIT" ]
null
null
null
pysport/horseracing/lattice_calibration.py
notbanker/pysport
fbeb1f1efa493aa26ffb58156b86ce2aee3482bf
[ "MIT" ]
null
null
null
from .lattice import skew_normal_density, center_density,\ state_prices_from_offsets, densities_and_coefs_from_offsets, winner_of_many,\ expected_payoff, densities_from_offsets, implicit_state_prices, densitiesPlot import pandas as pd # todo: get rid of this dependency import numpy as np def dividend_implied_...
42.772727
160
0.671413
565
4,705
5.366372
0.247788
0.03628
0.043865
0.029683
0.193931
0.113456
0.096966
0.084433
0.084433
0.065963
0
0.015467
0.244208
4,705
110
161
42.772727
0.837177
0.035494
0
0.084507
0
0
0.003559
0
0
0
0
0.018182
0.028169
0
null
null
0
0.042254
null
null
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
1
0
0
0
0
0
0
0
0
2
82de56b86e1e73fa5d0bacfcbe9e4a18d9698647
1,256
py
Python
webpages/views.py
18praneeth/udayagiri-scl-maxo
67ac939265d7837e39329162d7dd935a52130978
[ "MIT" ]
8
2021-01-01T17:04:45.000Z
2021-06-24T05:53:13.000Z
webpages/views.py
18praneeth/udayagiri-scl-maxo
67ac939265d7837e39329162d7dd935a52130978
[ "MIT" ]
11
2021-01-01T15:04:04.000Z
2021-01-10T07:47:12.000Z
webpages/views.py
18praneeth/udayagiri-scl-maxo
67ac939265d7837e39329162d7dd935a52130978
[ "MIT" ]
7
2020-12-14T12:44:17.000Z
2021-01-15T14:29:13.000Z
from django.shortcuts import render, redirect from django.contrib import messages from .models import Contact from django.contrib.auth.decorators import login_required def home(request): if request.user.is_authenticated: return render(request, 'webpages/home.html') else: return render(request,...
26.166667
62
0.680732
143
1,256
5.937063
0.293706
0.09894
0.156655
0.222615
0.233216
0
0
0
0
0
0
0
0.210987
1,256
47
63
26.723404
0.85671
0
0
0.162162
0
0
0.152866
0.050159
0
0
0
0
0
1
0.162162
false
0
0.108108
0.108108
0.486486
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
82e49f1ad3ed1e40ba856944b5ae80363654a869
133
py
Python
ska_skeleton/__init__.py
Vinod-Sathe-Company-Limited/ska-skeleton
e93d131fc4d33d5b2f0cd715553fd5907955eccd
[ "BSD-3-Clause" ]
null
null
null
ska_skeleton/__init__.py
Vinod-Sathe-Company-Limited/ska-skeleton
e93d131fc4d33d5b2f0cd715553fd5907955eccd
[ "BSD-3-Clause" ]
null
null
null
ska_skeleton/__init__.py
Vinod-Sathe-Company-Limited/ska-skeleton
e93d131fc4d33d5b2f0cd715553fd5907955eccd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Module init code.""" __version__ = '0.0.0' __author__ = 'Your Name' __email__ = 'your.email@mail.com'
13.3
33
0.609023
18
133
3.833333
0.777778
0.057971
0
0
0
0
0
0
0
0
0
0.036036
0.165414
133
9
34
14.777778
0.585586
0.300752
0
0
0
0
0.37931
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7d5335d6ee6e5dd4d8013184f474bc8d3185581f
337
py
Python
mxfield/models.py
krescruz/django-mxfield
98855412d4414e239a74370380aed5d28b52eeb1
[ "MIT" ]
null
null
null
mxfield/models.py
krescruz/django-mxfield
98855412d4414e239a74370380aed5d28b52eeb1
[ "MIT" ]
null
null
null
mxfield/models.py
krescruz/django-mxfield
98855412d4414e239a74370380aed5d28b52eeb1
[ "MIT" ]
null
null
null
from django.db.models import CharField from django.utils.translation import ugettext_lazy as _ import validators class CURPField(CharField): default_validators = [validators.CURPValidator()] description = _("CURP") def __init__(self, *args, **kwargs): kwargs['max_length'] = 18 super(CURPField, self).__init__(...
25.923077
55
0.759644
40
337
6.075
0.675
0.082305
0
0
0
0
0
0
0
0
0
0.006734
0.118694
337
12
56
28.083333
0.811448
0
0
0
0
0
0.041543
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7d553204536b771ce8440161d9597d5690c1a810
2,804
py
Python
tests/components/test_power_output.py
Shivam60/j5
18069737644c8f1c95944386773c7643d5df5aeb
[ "MIT" ]
null
null
null
tests/components/test_power_output.py
Shivam60/j5
18069737644c8f1c95944386773c7643d5df5aeb
[ "MIT" ]
null
null
null
tests/components/test_power_output.py
Shivam60/j5
18069737644c8f1c95944386773c7643d5df5aeb
[ "MIT" ]
null
null
null
"""Tests for the power output classes.""" from typing import List, Optional, Type from j5.backends import Backend from j5.boards import Board from j5.components.power_output import PowerOutput, PowerOutputInterface class MockPowerOutputDriver(PowerOutputInterface): """A testing driver for power outputs.""" ...
30.813187
82
0.690442
334
2,804
5.643713
0.254491
0.128382
0.034483
0.05305
0.276393
0.201592
0.145358
0.145358
0.097613
0.097613
0
0.004511
0.209344
2,804
90
83
31.155556
0.845737
0.250713
0
0.125
0
0
0.020347
0
0
0
0
0
0.104167
1
0.3125
false
0.020833
0.083333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7d5889cacaec1535d87725d19f570fd238dc7beb
724
py
Python
autosa_tests/large/mm_int16/unroll.py
mfkiwl/AutoSA-SystolicArray
699742eefda66bd3fd6cac608f7c96f5bf60a2a0
[ "MIT" ]
102
2020-05-18T04:52:26.000Z
2022-03-29T06:53:10.000Z
autosa_tests/large/mm_int16/unroll.py
mfkiwl/AutoSA-SystolicArray
699742eefda66bd3fd6cac608f7c96f5bf60a2a0
[ "MIT" ]
14
2020-06-04T11:12:33.000Z
2022-03-14T20:55:00.000Z
autosa_tests/large/mm_int16/unroll.py
mfkiwl/AutoSA-SystolicArray
699742eefda66bd3fd6cac608f7c96f5bf60a2a0
[ "MIT" ]
26
2020-05-20T02:47:04.000Z
2022-03-16T15:09:41.000Z
import math # Modify the parameters here UNROLL_FACTOR = 32 DATA_T = 'unsigned short' # Generate the code data_type = DATA_T level = int(math.log2(UNROLL_FACTOR)) for layer in range(level - 1, -1, -1): pair = int(math.pow(2, layer)) for i in range(pair): # data_t tmp_[layer]_[pair] = tmp_[layer+1]_[pa...
36.2
114
0.592541
130
724
3.030769
0.323077
0.030457
0.030457
0.106599
0.314721
0.213198
0.213198
0.096447
0.096447
0
0
0.056995
0.200276
724
19
115
38.105263
0.623489
0.146409
0
0
1
0.214286
0.45114
0.035831
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7d6a678fc2e4bddc6ad3dc6d90062ac0ebecff7e
915
py
Python
Desafios Finais Python - Cognizant Data Cloud Engineer #2/Preenchimento de Vetor I.py
italocreator/heros-journey
76a867b3c9addf2c8b6c06999f9993e12a5b4e46
[ "MIT" ]
null
null
null
Desafios Finais Python - Cognizant Data Cloud Engineer #2/Preenchimento de Vetor I.py
italocreator/heros-journey
76a867b3c9addf2c8b6c06999f9993e12a5b4e46
[ "MIT" ]
null
null
null
Desafios Finais Python - Cognizant Data Cloud Engineer #2/Preenchimento de Vetor I.py
italocreator/heros-journey
76a867b3c9addf2c8b6c06999f9993e12a5b4e46
[ "MIT" ]
null
null
null
""" Desafio Você recebeu o desafio de ler um valor e criar um programa que coloque o valor lido na primeira posição de um vetor N[10]. Em cada posição subsequente, coloque o dobro do valor da posição anterior. Por exemplo, se o valor lido for 1, os valores do vetor devem ser 1,2,4,8 e assim sucessivamente. Mostre o ...
30.5
123
0.632787
164
915
3.530488
0.481707
0.041451
0.034542
0
0
0
0
0
0
0
0
0.030349
0.279781
915
29
124
31.551724
0.848255
0.877596
0
0
0
0
0.137615
0
0
0
0
0.034483
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
7d85c7a93fbd0155d7bd1fe3e1af5e36cc75c497
484
py
Python
sshspawner/tests/__init__.py
1kastner/SSHSpawner
2634b3ed863f1dcbc3b48d7bee1ac3d98042e75e
[ "BSD-3-Clause" ]
5
2019-09-23T19:04:59.000Z
2020-08-06T18:07:48.000Z
sshspawner/tests/__init__.py
1kastner/SSHSpawner
2634b3ed863f1dcbc3b48d7bee1ac3d98042e75e
[ "BSD-3-Clause" ]
1
2020-08-08T12:41:35.000Z
2020-08-10T18:21:48.000Z
sshspawner/tests/__init__.py
1kastner/SSHSpawner
2634b3ed863f1dcbc3b48d7bee1ac3d98042e75e
[ "BSD-3-Clause" ]
4
2020-02-25T22:37:02.000Z
2021-04-13T14:43:16.000Z
############################################################################### # Copyright (c) 2018, Lawrence Livermore National Security, LLC # Produced at the Lawrence Livermore National Laboratory # Written by Thomas Mendoza mendoza33@llnl.gov # LLNL-CODE-771750 # All rights reserved # # This file is part of SSHSpa...
37.230769
79
0.520661
45
484
5.6
0.866667
0.134921
0.198413
0
0
0
0
0
0
0
0
0.029613
0.092975
484
12
80
40.333333
0.544419
0.628099
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
7d8c64c1f1dba35610d7552ede42b4b2192a13c9
419
py
Python
augur/routes/__init__.py
Nayan-Das/augur
857f4a4e7d688fd54356aa0f546834071fbabbf2
[ "MIT" ]
3
2019-10-31T19:07:48.000Z
2019-11-20T23:14:15.000Z
augur/routes/__init__.py
Nayan-Das/augur
857f4a4e7d688fd54356aa0f546834071fbabbf2
[ "MIT" ]
3
2021-03-09T22:54:52.000Z
2021-05-10T19:19:00.000Z
augur/routes/__init__.py
Nayan-Das/augur
857f4a4e7d688fd54356aa0f546834071fbabbf2
[ "MIT" ]
4
2019-11-05T20:22:12.000Z
2019-12-12T18:08:30.000Z
import importlib import os import glob from .user import create_user_routes from .repo import create_repo_routes from .broker import create_broker_routes def create_routes(server): create_user_routes(server) create_repo_routes(server) create_broker_routes(server) # for plugin_name in server._augur._lo...
26.1875
55
0.778043
57
419
5.368421
0.350877
0.196078
0.176471
0
0
0
0
0
0
0
0
0
0.162291
419
15
56
27.933333
0.871795
0.291169
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.6
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7d9293e84f4a03376c976e40854cc463c3d0b2fe
529
py
Python
2808.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
6
2021-04-13T00:33:43.000Z
2022-02-10T10:23:59.000Z
2808.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
null
null
null
2808.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
3
2021-03-23T18:42:24.000Z
2022-02-10T10:24:07.000Z
def conv(s): if s[0] == 'a': v = '1' elif s[0] == 'b': v = '2' elif s[0] == 'c': v = '3' elif s[0] == 'd': v = '4' elif s[0] == 'e': v = '5' elif s[0] == 'f': v = '6' elif s[0] == 'g': v = '7' elif s[0] == 'h': v = '8' v += s[1] return v e = str(input()).split() a = conv(e[0]) b...
23
90
0.404537
109
529
1.963303
0.357798
0.074766
0.196262
0.093458
0
0
0
0
0
0
0
0.072386
0.294896
529
22
91
24.045455
0.50134
0
0
0
0
0
0.056711
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.095238
0.095238
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7da45f218ab8516fdf8f91e39f9a7c42a449c690
1,740
py
Python
model/kubernetes.py
adracus/cc-utils
dcd1ff544d8b18a391188903789d1cac929f50f9
[ "Apache-2.0" ]
null
null
null
model/kubernetes.py
adracus/cc-utils
dcd1ff544d8b18a391188903789d1cac929f50f9
[ "Apache-2.0" ]
null
null
null
model/kubernetes.py
adracus/cc-utils
dcd1ff544d8b18a391188903789d1cac929f50f9
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed # under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Licens...
31.071429
99
0.7
220
1,740
5.404545
0.440909
0.067283
0.050463
0.071489
0.238015
0.135408
0.060555
0.060555
0
0
0
0.006632
0.220115
1,740
55
100
31.636364
0.869565
0.405747
0
0.133333
0
0
0.206084
0.135427
0
0
0
0
0
1
0.266667
false
0
0.033333
0.266667
0.633333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
7da9f98f6db4dd526d7eaf26e1220f285a37877a
7,933
bzl
Python
util/import/raze/crates.bzl
silas-enf/rules_rust
41b39f0c9951dfda3bd0a95df31695578dd3f5ea
[ "Apache-2.0" ]
1
2017-06-12T02:10:48.000Z
2017-06-12T02:10:48.000Z
util/import/raze/crates.bzl
silas-enf/rules_rust
41b39f0c9951dfda3bd0a95df31695578dd3f5ea
[ "Apache-2.0" ]
null
null
null
util/import/raze/crates.bzl
silas-enf/rules_rust
41b39f0c9951dfda3bd0a95df31695578dd3f5ea
[ "Apache-2.0" ]
null
null
null
""" @generated cargo-raze generated Bazel file. DO NOT EDIT! Replaced on runs of cargo-raze """ load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load load("@bazel_tools//too...
41.103627
103
0.658767
988
7,933
5.035425
0.121457
0.074372
0.049648
0.072563
0.621106
0.499296
0.475176
0.397387
0.26593
0.135678
0
0.160847
0.202193
7,933
192
104
41.317708
0.625217
0.031388
0
0.325301
1
0.144578
0.573608
0.391446
0
0
0
0
0
1
0.006024
true
0
0.222892
0
0.228916
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
7dab84050bffe62a65b369edcbc5f292e22e4734
747
py
Python
scripts/print_thread_name.py
Satheeshcharon/Multithreading-python
4dcc18d5d417701d8f67f4d92ffa915e5c051a60
[ "MIT" ]
null
null
null
scripts/print_thread_name.py
Satheeshcharon/Multithreading-python
4dcc18d5d417701d8f67f4d92ffa915e5c051a60
[ "MIT" ]
null
null
null
scripts/print_thread_name.py
Satheeshcharon/Multithreading-python
4dcc18d5d417701d8f67f4d92ffa915e5c051a60
[ "MIT" ]
null
null
null
#!/usr/bin/python ## This program creates a thread, ## officially names it and ## tries to print the name import threading import time def ThreadFunction(): print(threading.currentThread().getName(), "Starting") time.sleep(2) print(threading.currentThread().getName(), "Exiting") def ServiceFunction(): prin...
16.977273
55
0.710843
84
747
6.22619
0.464286
0.107075
0.206501
0.260038
0.363289
0.363289
0.195029
0
0
0
0
0.00624
0.141901
747
43
56
17.372093
0.809672
0.129853
0
0.222222
0
0
0.107309
0
0
0
0
0
0
1
0.111111
false
0
0.074074
0
0.185185
0.148148
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7daf7e347025b6adafd5d8ff1bdd20e4296b68c6
15,533
py
Python
gcloud/bigtable/_generated/bigtable_table_service_messages_pb2.py
scrapinghub/gcloud-python
1ec6d636ebf2c4d618aca6b2485fbbfa5f0fde29
[ "Apache-2.0" ]
null
null
null
gcloud/bigtable/_generated/bigtable_table_service_messages_pb2.py
scrapinghub/gcloud-python
1ec6d636ebf2c4d618aca6b2485fbbfa5f0fde29
[ "Apache-2.0" ]
null
null
null
gcloud/bigtable/_generated/bigtable_table_service_messages_pb2.py
scrapinghub/gcloud-python
1ec6d636ebf2c4d618aca6b2485fbbfa5f0fde29
[ "Apache-2.0" ]
2
2017-07-30T16:18:23.000Z
2020-10-14T11:24:18.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/bigtable/admin/table/v1/bigtable_table_service_messages.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf impo...
39.224747
1,208
0.771905
1,865
15,533
6.130295
0.101877
0.034986
0.077145
0.082218
0.674101
0.6441
0.622321
0.62031
0.535642
0.513951
0
0.03132
0.107899
15,533
395
1,209
39.324051
0.79375
0.059229
0
0.652299
1
0.002874
0.26089
0.222945
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7db0ea31fec60827935b4f0a8b82bcb2927b7b8f
2,218
py
Python
discord_ui/errors.py
brotherelric/discord-ui
6f8cd994aff66fb51f385d23907b3a612546cbe9
[ "MIT" ]
26
2021-08-21T15:34:13.000Z
2022-03-26T13:50:48.000Z
discord_ui/errors.py
brotherelric/discord-ui
6f8cd994aff66fb51f385d23907b3a612546cbe9
[ "MIT" ]
12
2021-08-21T15:24:00.000Z
2022-02-25T02:49:01.000Z
discord_ui/errors.py
brotherelric/discord-ui
6f8cd994aff66fb51f385d23907b3a612546cbe9
[ "MIT" ]
10
2021-09-03T12:31:13.000Z
2022-03-29T06:24:06.000Z
from discord.ext.commands import BadArgument class InvalidLength(BadArgument): """This exception is thrown whenever a invalid length was provided""" def __init__(self, my_name, _min=None, _max=None, *args: object) -> None: if _min is not None and _max is not None: err = "Length of '" + my_n...
69.3125
171
0.656898
301
2,218
4.601329
0.295681
0.064982
0.103971
0.112635
0.418051
0.322744
0.293863
0.244043
0.06065
0.06065
0
0
0.213706
2,218
32
172
69.3125
0.794151
0.201984
0
0
0
0
0.184483
0
0
0
0
0
0
1
0.24
false
0
0.04
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7dd9c7a745a3b97ae9face412cad220abf628e7d
402
py
Python
certbot_dns_cfproxy/__init__.py
ProfFan/certbot-dns-cfproxy
999038999642e5ba070e7089d62146b4f05caa46
[ "Apache-1.1" ]
2
2019-02-04T06:06:00.000Z
2022-03-04T09:12:31.000Z
certbot_dns_cfproxy/__init__.py
ProfFan/certbot-dns-cfproxy
999038999642e5ba070e7089d62146b4f05caa46
[ "Apache-1.1" ]
null
null
null
certbot_dns_cfproxy/__init__.py
ProfFan/certbot-dns-cfproxy
999038999642e5ba070e7089d62146b4f05caa46
[ "Apache-1.1" ]
null
null
null
""" The `~certbot_dns_cfproxy.dns_cfproxy` plugin automates the process of completing a ``dns-01`` challenge (`~acme.challenges.DNS01`) by creating, and subsequently removing, TXT records using the CFProxy API. Examples -------- .. code-block:: bash :caption: To acquire a certificate for ``example.com`` certbo...
23.647059
77
0.699005
53
402
5.245283
0.698113
0.143885
0.122302
0.143885
0.194245
0
0
0
0
0
0
0.011869
0.161692
402
16
78
25.125
0.813056
0.970149
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
7dec49d76923ecb9be4b17a5cb4c2e8eb1b3a170
510
py
Python
lib/clckwrkbdgr/time.py
umi0451/dotfiles
c618811be788d995fe01f6a16b355828d7efdd36
[ "MIT" ]
2
2017-04-16T14:54:17.000Z
2020-11-12T04:15:00.000Z
lib/clckwrkbdgr/time.py
clckwrkbdgr/dotfiles
292dac8c3211248b490ddbae55fe2adfffcfcf58
[ "MIT" ]
null
null
null
lib/clckwrkbdgr/time.py
clckwrkbdgr/dotfiles
292dac8c3211248b490ddbae55fe2adfffcfcf58
[ "MIT" ]
null
null
null
from __future__ import absolute_import from time import * import datetime import six def get_utctimestamp(mtime=None): # pragma: no cover """ Converts local mtime (timestamp) to integer UTC timestamp. If mtime is None, returns current UTC time. """ if mtime is None: if six.PY2: return int((datetime.datetime.n...
31.875
88
0.754902
70
510
5.4
0.542857
0.169312
0.047619
0.068783
0
0
0
0
0
0
0
0.015766
0.129412
510
15
89
34
0.835586
0.235294
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7dee18b24646c7a504a2809135076549b5a544fa
135
py
Python
configutator/__version.py
innovate-invent/configutator
372b45c44a10171b8518e61f2a7974969304c33a
[ "MIT" ]
null
null
null
configutator/__version.py
innovate-invent/configutator
372b45c44a10171b8518e61f2a7974969304c33a
[ "MIT" ]
1
2017-09-22T05:52:54.000Z
2017-09-22T05:52:54.000Z
configutator/__version.py
innovate-invent/configutator
372b45c44a10171b8518e61f2a7974969304c33a
[ "MIT" ]
null
null
null
__version__ = [1, 0, 2] __versionstr__ = '.'.join([str(i) for i in __version__]) if __name__ == '__main__': print(__versionstr__)
22.5
56
0.666667
17
135
3.882353
0.823529
0
0
0
0
0
0
0
0
0
0
0.026549
0.162963
135
6
57
22.5
0.557522
0
0
0
0
0
0.066176
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
816115c45af8c3075e38530126280e891f465fb7
1,657
py
Python
level2/huge/split_huge_from_tar_strace.py
fishilico/sstic-2016
9a05bb18df4c8d2e76f1e30fda6b38b1bc930e8c
[ "Beerware" ]
null
null
null
level2/huge/split_huge_from_tar_strace.py
fishilico/sstic-2016
9a05bb18df4c8d2e76f1e30fda6b38b1bc930e8c
[ "Beerware" ]
null
null
null
level2/huge/split_huge_from_tar_strace.py
fishilico/sstic-2016
9a05bb18df4c8d2e76f1e30fda6b38b1bc930e8c
[ "Beerware" ]
1
2020-04-03T06:19:11.000Z
2020-04-03T06:19:11.000Z
#!/usr/bin/env python3 import codecs import re def trans_addr(addr): """Traduit une position de fichier en une adresse du programme""" if addr < 0x1000: return 0 if 0x0000000000001000 <= addr < 0x0000000000001000 + 0x00001ef000000000: return 0x00002b0000000000 + addr - 0x0000000000001000 ...
36.822222
76
0.569101
192
1,657
4.880208
0.5
0.01921
0.027748
0.01921
0
0
0
0
0
0
0
0.202962
0.307182
1,657
44
77
37.659091
0.61324
0.04647
0
0.054054
0
0
0.097158
0.01388
0
0
0.182419
0
0.054054
0
null
null
0
0.054054
null
null
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
1
0
0
0
0
0
0
0
0
2
817aa92cbced1c3e3227a2a7dec4ed035c84f33f
1,589
py
Python
Assignment 4/src/optim/lr_scheduler.py
vamsi3/CS763-IIT-Bombay
2c4650587eee8bb15944b95101b7434746ec03af
[ "MIT" ]
1
2022-01-28T12:21:36.000Z
2022-01-28T12:21:36.000Z
Assignment 4/src/optim/lr_scheduler.py
vamsi3/IITB-Computer-Vision
2c4650587eee8bb15944b95101b7434746ec03af
[ "MIT" ]
null
null
null
Assignment 4/src/optim/lr_scheduler.py
vamsi3/IITB-Computer-Vision
2c4650587eee8bb15944b95101b7434746ec03af
[ "MIT" ]
null
null
null
import math import torch from bisect import bisect_right class _LRScheduler: def __init__(self, optimizer, last_epoch=-1): self.optimizer = optimizer self.base_lr = optimizer.lr self.last_epoch = last_epoch def step(self): self.last_epoch += 1 self.optimizer.lr = self....
29.425926
120
0.668345
218
1,589
4.495413
0.165138
0.146939
0.061224
0.112245
0.629592
0.382653
0.360204
0.360204
0.360204
0.280612
0
0.010501
0.220894
1,589
53
121
29.981132
0.781099
0
0
0.289474
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0.078947
0.105263
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
817e1fdfe583e5b2b44c9f5c5fb7e9b12305519f
305
py
Python
list_s3_buckets.py
MarijaKalebota/aws-playground
2aaf3da65ba3f0cc5c2c222a10659d219f9136e8
[ "MIT" ]
null
null
null
list_s3_buckets.py
MarijaKalebota/aws-playground
2aaf3da65ba3f0cc5c2c222a10659d219f9136e8
[ "MIT" ]
null
null
null
list_s3_buckets.py
MarijaKalebota/aws-playground
2aaf3da65ba3f0cc5c2c222a10659d219f9136e8
[ "MIT" ]
null
null
null
from dotenv import load_dotenv load_dotenv() import os import boto3 #s3 = boto3.resource('s3') s3 = boto3.resource('s3', aws_access_key_id=os.environ.get("AWS_KEY_ID"), aws_secret_access_key=os.environ.get("AWS_SECRET_KEY")) for bucket in s3.buckets.all(): print(bucket.name)
23.461538
77
0.704918
48
305
4.229167
0.458333
0.118227
0.147783
0.167488
0
0
0
0
0
0
0
0.031496
0.167213
305
12
78
25.416667
0.767717
0.081967
0
0
0
0
0.09319
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
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
1
0
0
0
0
2
819ee9aceebbd56d2a4d4ed207f6ae47bb68ff70
5,468
py
Python
back/db.py
belshoff/Agenda
a9d3d1a80d6b3c00e4d0055847d5ed2bb6c6d7d1
[ "Apache-2.0" ]
null
null
null
back/db.py
belshoff/Agenda
a9d3d1a80d6b3c00e4d0055847d5ed2bb6c6d7d1
[ "Apache-2.0" ]
null
null
null
back/db.py
belshoff/Agenda
a9d3d1a80d6b3c00e4d0055847d5ed2bb6c6d7d1
[ "Apache-2.0" ]
null
null
null
import sqlite3 with sqlite3.connect('storage.db') as conn: cursor = conn.cursor() cursor.execute( """ CREATE TABLE IF NOT EXISTS Produtos ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, price REAL, compra_id INTEGER, ...
35.277419
126
0.492502
582
5,468
4.601375
0.118557
0.104556
0.0941
0.130695
0.797237
0.78118
0.771098
0.673264
0.619119
0.584018
0
0.014118
0.3782
5,468
155
127
35.277419
0.773529
0.004572
0
0.596639
0
0.02521
0.225436
0
0
0
0
0
0
1
0.117647
false
0
0.008403
0
0.193277
0.05042
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
81a62c5963fc9b6615ab457b4e524e86f8ffa6af
1,918
py
Python
src/plugins/database.py
Blitz-Raynor/Kiba
a73b5b6212a5446d218a80f1a6aba108e0a1912b
[ "MIT" ]
4
2022-01-24T05:33:34.000Z
2022-03-25T06:29:19.000Z
src/plugins/database.py
Blitz-Raynor/Kiba
a73b5b6212a5446d218a80f1a6aba108e0a1912b
[ "MIT" ]
null
null
null
src/plugins/database.py
Blitz-Raynor/Kiba
a73b5b6212a5446d218a80f1a6aba108e0a1912b
[ "MIT" ]
3
2022-02-08T13:24:59.000Z
2022-03-13T06:42:40.000Z
import aiosqlite import sqlite3 import asyncio import nonebot from nonebot.log import logger driver: nonebot.Driver = nonebot.get_driver() config: nonebot.config.Config = driver.config @driver.on_startup async def init_db(): config.db = await aiosqlite.connect("src/static/Kiba.db") logger.info("Kiba Kernel -...
53.277778
153
0.696038
258
1,918
5.05814
0.399225
0.09272
0.039847
0.041379
0.122605
0.078161
0.078161
0
0
0
0
0.000661
0.211157
1,918
36
154
53.277778
0.861864
0
0
0
0
0.125
0.630016
0
0
0
0
0
0
1
0
true
0.03125
0.15625
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
81ac62bd68434ff2ce3767d63cce77c07cbf51c7
305
py
Python
PyObjCTest/test_nspdfinfo.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nspdfinfo.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nspdfinfo.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
import AppKit from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSPDFInfo(TestCase): @min_os_level("10.9") def testMethods(self): self.assertResultIsBOOL(AppKit.NSPDFInfo.isFileExtensionHidden) self.assertArgIsBOOL(AppKit.NSPDFInfo.setFileExtensionHidden_, 0)
30.5
73
0.783607
32
305
7.3125
0.6875
0.094017
0.111111
0.153846
0
0
0
0
0
0
0
0.015152
0.134426
305
9
74
33.888889
0.871212
0
0
0
0
0
0.013115
0
0
0
0
0
0.285714
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
81b791765a1072aa2be9a40bf2e9fca71ca77b5d
555
py
Python
app/migrations/0010_auto_20200709_1512.py
RuijiaX/w3hacks
79e1eb81836b766737e8f053a26495ec2c6fd963
[ "MIT" ]
1
2020-08-30T04:49:20.000Z
2020-08-30T04:49:20.000Z
app/migrations/0010_auto_20200709_1512.py
RuijiaX/w3hacks
79e1eb81836b766737e8f053a26495ec2c6fd963
[ "MIT" ]
44
2020-06-21T03:10:35.000Z
2020-08-08T23:55:19.000Z
app/migrations/0010_auto_20200709_1512.py
RuijiaX/w3hacks
79e1eb81836b766737e8f053a26495ec2c6fd963
[ "MIT" ]
2
2020-07-01T16:54:58.000Z
2020-07-13T21:13:06.000Z
# Generated by Django 3.0.7 on 2020-07-09 22:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0009_auto_20200709_1430'), ] operations = [ migrations.AlterField( model_name='location', name='lat', ...
23.125
61
0.574775
57
555
5.508772
0.649123
0.127389
0.159236
0.184713
0.515924
0.515924
0.254777
0
0
0
0
0.080519
0.306306
555
23
62
24.130435
0.735065
0.081081
0
0.470588
1
0
0.094488
0.045276
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
81b9e4775c9ff677415dc6ea782a4181f1639a50
22,100
py
Python
python/scripts/wavsep/wavsep.py
rugheid/OSS-ZAP
d486dde326a9120c9ddd52a3d4dcf1b9a2b4d042
[ "Apache-2.0" ]
4
2016-08-11T05:35:26.000Z
2021-11-15T11:27:28.000Z
python/scripts/wavsep/wavsep.py
rugheid/OSS-ZAP
d486dde326a9120c9ddd52a3d4dcf1b9a2b4d042
[ "Apache-2.0" ]
1
2018-06-12T13:55:16.000Z
2018-06-12T15:27:59.000Z
python/scripts/wavsep/wavsep.py
rugheid/OSS-ZAP
d486dde326a9120c9ddd52a3d4dcf1b9a2b4d042
[ "Apache-2.0" ]
12
2018-05-15T10:14:00.000Z
2019-11-10T07:03:16.000Z
# Zed Attack Proxy (ZAP) and its related class files. # # ZAP is an HTTP/HTTPS proxy for assessing web application security. # # Copyright 2012 ZAP Development Team # # 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 c...
38.368056
170
0.611403
2,662
22,100
5.071751
0.196093
0.144434
0.059255
0.022517
0.332938
0.297385
0.266277
0.220206
0.176654
0.157025
0
0.014942
0.164208
22,100
575
171
38.434783
0.715987
0.156063
0
0.252294
0
0.009174
0.385995
0.092432
0
0
0
0
0
0
null
null
0.100917
0.004587
null
null
0.018349
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
81d02a1b1d708206e4f47e1ceb3bcbc7a7b7f3aa
4,386
py
Python
picklesize/test_picklesize.py
pydron/picklesize
c524ccae7beecfada663fbcf251c4166158f2995
[ "MIT" ]
null
null
null
picklesize/test_picklesize.py
pydron/picklesize
c524ccae7beecfada663fbcf251c4166158f2995
[ "MIT" ]
null
null
null
picklesize/test_picklesize.py
pydron/picklesize
c524ccae7beecfada663fbcf251c4166158f2995
[ "MIT" ]
null
null
null
''' Created on 20.07.2015 @author: stefan ''' import unittest import pickle import picklesize import copy_reg class TestEstimator(unittest.TestCase): def setUp(self): self.target = picklesize.PickleSize() def compare(self, obj): data = pickle.dumps(obj, protocol=pickle.HIGHEST_PROTOCOL)...
24.779661
110
0.564979
529
4,386
4.58034
0.206049
0.27239
0.09286
0.03508
0.459348
0.427982
0.350392
0.329757
0.310772
0.275279
0
0.052511
0.30529
4,386
177
111
24.779661
0.742698
0
0
0.192
0
0
0.03156
0
0
0
0.013822
0
0.024
0
null
null
0.016
0.056
null
null
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
1
0
0
0
0
0
0
0
0
2
81e5f55f1de69308bb6ff205c3967683e8097ccc
3,806
py
Python
gammapy/data/tests/test_pointing.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
155
2015-02-25T12:38:02.000Z
2022-03-13T17:54:30.000Z
gammapy/data/tests/test_pointing.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
3,131
2015-01-06T15:36:23.000Z
2022-03-31T17:30:57.000Z
gammapy/data/tests/test_pointing.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
158
2015-03-16T20:36:44.000Z
2022-03-30T16:05:37.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst from numpy.testing import assert_allclose from astropy.time import Time from gammapy.data import FixedPointingInfo, PointingInfo from gammapy.utils.testing import assert_time_allclose, requires_data @requires_data() class TestFixedPointingInfo: @clas...
34.6
69
0.679453
488
3,806
5.125
0.206967
0.117553
0.081567
0.031987
0.716513
0.660536
0.60016
0.547781
0.519792
0.519792
0
0.118434
0.214661
3,806
109
70
34.917431
0.7183
0.016027
0
0.528736
0
0
0.040075
0.022442
0
0
0
0
0.413793
1
0.218391
false
0
0.045977
0
0.287356
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
1
0
0
0
0
0
0
0
2
c48f34eb08cb0b005af06224c4565e27b18c0cb3
672
py
Python
pyTuplingUtils/io.py
umd-lhcb/pyTuplingUtils
dd2efe154f1418a70295eabd8919e16ace2785cc
[ "BSD-2-Clause" ]
null
null
null
pyTuplingUtils/io.py
umd-lhcb/pyTuplingUtils
dd2efe154f1418a70295eabd8919e16ace2785cc
[ "BSD-2-Clause" ]
7
2020-04-20T17:25:45.000Z
2021-06-13T21:05:14.000Z
pyTuplingUtils/io.py
umd-lhcb/pyTuplingUtils
dd2efe154f1418a70295eabd8919e16ace2785cc
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # # Author: Yipeng Sun # License: BSD 2-clause # Last Change: Sun May 09, 2021 at 02:52 AM +0200 import numpy as np ARRAY_TYPE = 'np' def read_branch(ntp, tree, branch, idx=None): data = ntp[tree][branch].array(library=ARRAY_TYPE) return data if not idx else data[idx] def read_bran...
23.172414
72
0.699405
109
672
4.229358
0.486239
0.091106
0.104121
0.091106
0.160521
0.160521
0.160521
0
0
0
0
0.029091
0.181548
672
28
73
24
0.809091
0.16369
0
0
0
0
0.003591
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c49cdbfcdbfea8b874ccc9f3311ef29e7510510a
716
py
Python
tests/test_primitive_roots.py
greysonDEV/rng
5af76f5edff4de1b502c21ca1c1ce93243a618c8
[ "MIT" ]
null
null
null
tests/test_primitive_roots.py
greysonDEV/rng
5af76f5edff4de1b502c21ca1c1ce93243a618c8
[ "MIT" ]
null
null
null
tests/test_primitive_roots.py
greysonDEV/rng
5af76f5edff4de1b502c21ca1c1ce93243a618c8
[ "MIT" ]
null
null
null
from prng.util.util import primitive_roots import pytest def test_primitive_roots(): prim_roots_sets = [ [3, [2]], [7, [3,5]], [13, [2,6,7,11]], [17, [3,5,6,7,10,11,12,14]], [19, [2,3,10,13,14,15]], [31, [3,11,12,13,17,21,22,24]], [53, [2,3,5,8,12,14,18,19,20...
37.684211
112
0.544693
165
716
2.315152
0.521212
0.020942
0.068063
0
0
0
0
0
0
0
0
0.420962
0.187151
716
18
113
39.777778
0.235395
0
0
0
0
0
0
0
0
0
0
0
0.0625
1
0.0625
false
0
0.125
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4a251a0e7e64524dd68b799ffbb2a257e20933b
894
py
Python
python-essential-training/4_operators/main.py
alexprodan99/python-workspace
8c805afc29fafe3916759d1cf07e597f945b8b45
[ "MIT" ]
null
null
null
python-essential-training/4_operators/main.py
alexprodan99/python-workspace
8c805afc29fafe3916759d1cf07e597f945b8b45
[ "MIT" ]
null
null
null
python-essential-training/4_operators/main.py
alexprodan99/python-workspace
8c805afc29fafe3916759d1cf07e597f945b8b45
[ "MIT" ]
null
null
null
def main(): # Arithmetic operators a = 7 b = 2 print(f'{a} + {b} = {a+b}') print(f'{a} - {b} = {a-b}') print(f'{a} * {b} = {a*b}') print(f'{a} / {b} = {a/b}') print(f'{a} // {b} = {a//b}') print(f'{a} % {b} = {a%b}') print(f'{a} ^ {b} = {a**b}') # Bitwise ...
21.804878
90
0.401566
133
894
2.639098
0.308271
0.136752
0.111111
0.273504
0.34188
0.34188
0.34188
0.34188
0.34188
0.34188
0
0.018364
0.329978
894
41
91
21.804878
0.567613
0.269575
0
0
0
0
0.384137
0
0
0
0.006221
0
0
1
0.047619
false
0
0
0
0.047619
0.714286
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
1
0
2
c4a4edff90f57692413fd77c390b6d607d322a51
251
py
Python
BasicPythonPrograms/PythonDestructor.py
Pushkar745/PythonProgramming
ea60e97b70d46fb63ef203913c8b3f9570232dd3
[ "Apache-2.0" ]
null
null
null
BasicPythonPrograms/PythonDestructor.py
Pushkar745/PythonProgramming
ea60e97b70d46fb63ef203913c8b3f9570232dd3
[ "Apache-2.0" ]
null
null
null
BasicPythonPrograms/PythonDestructor.py
Pushkar745/PythonProgramming
ea60e97b70d46fb63ef203913c8b3f9570232dd3
[ "Apache-2.0" ]
null
null
null
class Employee: #Initializaing def __init__(self): print('Employee created ') #Deleting (Calling destructor) def __del__(self): print('Destructor called,Employee deleted') obj=Employee() del obj
25.1
55
0.609562
24
251
6.041667
0.625
0.124138
0
0
0
0
0
0
0
0
0
0
0.298805
251
10
56
25.1
0.823864
0.167331
0
0
0
0
0.245192
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
c4ad485be7bdd5e1ac650e5ab444023836dc2e62
257
py
Python
protocols/tpkt.py
dparnishchev/s7scan
87a7aeeb3c932491745dfded2577d221083f87df
[ "Unlicense" ]
98
2018-10-12T10:36:55.000Z
2022-03-31T15:55:46.000Z
protocols/tpkt.py
FOGSEC/s7scan
d7f9c3bbd6a97a7f83991ea865be95b0e9280346
[ "Unlicense" ]
null
null
null
protocols/tpkt.py
FOGSEC/s7scan
d7f9c3bbd6a97a7f83991ea865be95b0e9280346
[ "Unlicense" ]
35
2018-10-12T17:08:25.000Z
2022-03-28T20:12:27.000Z
from scapy.fields import ByteField, ShortField from scapy.packet import Packet class TPKT(Packet): name = "TPKT" fields_desc = [ByteField("version", 3), ByteField("reserved", 0), ShortField("length", 0x0000)]
25.7
48
0.614786
27
257
5.814815
0.62963
0.11465
0
0
0
0
0
0
0
0
0
0.037433
0.272374
257
9
49
28.555556
0.802139
0
0
0
0
0
0.097276
0
0
0
0.023346
0
0
1
0
false
0
0.285714
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4b06868e47596162a61d75f212de04777f1a9b9
160
py
Python
git_management/clone.py
afsantaliestra/scripts
06f9a1c269749570061a42c5c5b586944e8c9a45
[ "MIT" ]
null
null
null
git_management/clone.py
afsantaliestra/scripts
06f9a1c269749570061a42c5c5b586944e8c9a45
[ "MIT" ]
null
null
null
git_management/clone.py
afsantaliestra/scripts
06f9a1c269749570061a42c5c5b586944e8c9a45
[ "MIT" ]
null
null
null
import os filepath = 'list.txt' with open(filepath) as fp: while line := fp.readline(): line = line.strip() os.system(f'git clone {line}')
20
38
0.6
23
160
4.173913
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.25
160
7
39
22.857143
0.8
0
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4d1976decbf19efd19f6e692e1b54b98d652ff7
2,422
py
Python
List_5/Task_1/instructions.py
Szpila123/Advanced_python_course
cd45506dec621768d59b2245aa0ae30b758160cc
[ "MIT" ]
null
null
null
List_5/Task_1/instructions.py
Szpila123/Advanced_python_course
cd45506dec621768d59b2245aa0ae30b758160cc
[ "MIT" ]
null
null
null
List_5/Task_1/instructions.py
Szpila123/Advanced_python_course
cd45506dec621768d59b2245aa0ae30b758160cc
[ "MIT" ]
null
null
null
import expressions import abc import copy class Instruction(abc.ABC): @abc.abstractmethod def __init__(): ... @abc.abstractmethod def wykonaj(self, zmienne) -> dict[str, int]: '''Evaluate the instruction''' ... @abc.abstractmethod def __str__(self): ... class If(Instruction...
28.833333
153
0.623865
302
2,422
4.735099
0.165563
0.053846
0.048951
0.073427
0.43007
0.386713
0.296504
0.246154
0.173427
0.173427
0
0.000552
0.252271
2,422
83
154
29.180723
0.789067
0.009909
0
0.416667
0
0.033333
0.105351
0.083612
0
0
0
0
0
1
0.25
false
0
0.05
0.033333
0.516667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c4d2c7e50ad2259a426f3b12ba7e12df56ef68ae
298
py
Python
frames/rocket/rocket_frames.py
rkinwork/dvmn_async-console-game
c8072a47a9cac1772c099436c91649ebf544dc70
[ "Unlicense" ]
null
null
null
frames/rocket/rocket_frames.py
rkinwork/dvmn_async-console-game
c8072a47a9cac1772c099436c91649ebf544dc70
[ "Unlicense" ]
null
null
null
frames/rocket/rocket_frames.py
rkinwork/dvmn_async-console-game
c8072a47a9cac1772c099436c91649ebf544dc70
[ "Unlicense" ]
null
null
null
from pathlib import Path def get_rockets_frames(): """Init rocket animation frames.""" frames_files = ['rocket_frame_1.txt', 'rocket_frame_2.txt'] frames = [(Path(__file__).resolve().parent / frame_file_name).read_text() for frame_file_name in frames_files] return tuple(frames)
29.8
114
0.728188
42
298
4.761905
0.619048
0.11
0.13
0
0
0
0
0
0
0
0
0.007874
0.147651
298
9
115
33.111111
0.779528
0.097315
0
0
0
0
0.136882
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c4e5c92095ff07343908dc4ad5fe4a10a7b5ac03
498
pyde
Python
sketches/noll/noll.pyde
kantel/processingpy
74aae222e46f68d1c8f06307aaede3cdae65c8ec
[ "MIT" ]
4
2018-06-03T02:11:46.000Z
2021-08-18T19:55:15.000Z
sketches/noll/noll.pyde
kantel/processingpy
74aae222e46f68d1c8f06307aaede3cdae65c8ec
[ "MIT" ]
null
null
null
sketches/noll/noll.pyde
kantel/processingpy
74aae222e46f68d1c8f06307aaede3cdae65c8ec
[ "MIT" ]
3
2019-12-23T19:12:51.000Z
2021-04-30T14:00:31.000Z
from random import randint margin = 5 def setup(): size(400, 600) this.surface.setTitle("Re-Enactment A. Michael Noll") noLoop() def draw(): background(235, 215, 182) strokeWeight(2) x1 = randint(margin, width - margin) y1 = randint(margin, height - margin) for _ in range(50): ...
22.636364
57
0.574297
66
498
4.318182
0.575758
0.22807
0.126316
0.168421
0
0
0
0
0
0
0
0.100865
0.303213
498
21
58
23.714286
0.720461
0
0
0
0
0
0.056225
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.166667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4f11548c4eb952f26c0dd99e9fd5c3f5a59fc56
376
py
Python
sqlitedb/settings.py
BelovN/orm
3dc9633a703369b99069a64fab3795c233a665cc
[ "Apache-2.0" ]
1
2021-02-10T13:49:36.000Z
2021-02-10T13:49:36.000Z
sqlitedb/settings.py
BelovN/orm
3dc9633a703369b99069a64fab3795c233a665cc
[ "Apache-2.0" ]
null
null
null
sqlitedb/settings.py
BelovN/orm
3dc9633a703369b99069a64fab3795c233a665cc
[ "Apache-2.0" ]
null
null
null
class BaseCommand: def __init__(self, table_name): self.table_name = table_name self._can_add = True @staticmethod def _convert_values(values): converted = [SQLType.convert(v) for v in values] return converted def check_intersection(self, other): return self.w...
22.117647
56
0.672872
46
376
5.195652
0.543478
0.112971
0.108787
0
0
0
0
0
0
0
0
0
0.244681
376
16
57
23.5
0.841549
0
0
0
0
0
0.029333
0
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c4f425e58c4e41f24eec096d7a9387bcf27859e2
3,619
py
Python
2020/src/day11.py
pantaryl/adventofcode
d53255c55be0447f3cef7bd93818c41b0eeae997
[ "MIT" ]
2
2021-12-01T05:23:25.000Z
2021-12-11T05:58:00.000Z
2020/src/day11.py
pantaryl/adventofcode
d53255c55be0447f3cef7bd93818c41b0eeae997
[ "MIT" ]
null
null
null
2020/src/day11.py
pantaryl/adventofcode
d53255c55be0447f3cef7bd93818c41b0eeae997
[ "MIT" ]
null
null
null
from collections import defaultdict from helpers import memoize from copy import deepcopy with open("../input/day11.txt", 'r') as inputFile: data = [x.rstrip() for x in inputFile.readlines()] #data = [int(x) for x in data] map = {} yMax = len(data) xMax = len(data[0]) for y in range(yMax): line = data[y] ...
28.496063
85
0.481625
458
3,619
3.80131
0.157205
0.020678
0.020678
0.013785
0.712234
0.677771
0.657094
0.624928
0.624928
0.624928
0
0.039947
0.370544
3,619
127
86
28.496063
0.72432
0.030395
0
0.75
0
0
0.01
0
0
0
0
0
0
1
0.05
false
0
0.03
0
0.14
0.05
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4f7c343c369e93c89a12020beddb2954ee8b536
485
py
Python
api/pub/sensor/ds18b20.py
rtaft/pi-sensor-dashboard
e7f711e8ecd9e4c32976583c32dbc716b165d56a
[ "MIT" ]
null
null
null
api/pub/sensor/ds18b20.py
rtaft/pi-sensor-dashboard
e7f711e8ecd9e4c32976583c32dbc716b165d56a
[ "MIT" ]
null
null
null
api/pub/sensor/ds18b20.py
rtaft/pi-sensor-dashboard
e7f711e8ecd9e4c32976583c32dbc716b165d56a
[ "MIT" ]
null
null
null
import flask from flask import request import flask_restful as restful from marshmallow import Schema, fields, validate from api.helpers import success, created from api.exceptions import NotFound from sensors.ds18b20 import lookup class DS18B20Query (restful.Resource): def __init__(self, *args, **kwargs): ...
26.944444
60
0.756701
61
485
5.868852
0.540984
0.108939
0.094972
0
0
0
0
0
0
0
0
0.019851
0.169072
485
17
61
28.529412
0.868486
0
0
0
0
0
0.028926
0
0
0
0
0
0
1
0.153846
false
0
0.538462
0
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c4fdb48e5cd50b1b15ab2ef20eb3414a3c36712f
1,402
py
Python
tfx/dsl/components/base/node_registry.py
johnPertoft/tfx
c6335684a54651adbcbe50aa52918b9b9948326e
[ "Apache-2.0" ]
null
null
null
tfx/dsl/components/base/node_registry.py
johnPertoft/tfx
c6335684a54651adbcbe50aa52918b9b9948326e
[ "Apache-2.0" ]
null
null
null
tfx/dsl/components/base/node_registry.py
johnPertoft/tfx
c6335684a54651adbcbe50aa52918b9b9948326e
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Google LLC. 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...
30.478261
74
0.745364
197
1,402
5.162437
0.507614
0.058997
0.029499
0.047198
0.060964
0.060964
0
0
0
0
0
0.006785
0.159058
1,402
45
75
31.155556
0.85581
0.57204
0
0
0
0
0.095575
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.0625
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f2082b7572a268703ff36753a9f8e86b4e7ec828
814
py
Python
step/lambdas/get_image_status.py
mbeacom/cloudendure-python
b854b1b2ea47c18a8ef03908abcdd653b77684ac
[ "MIT" ]
7
2019-06-28T23:30:47.000Z
2019-08-23T16:57:12.000Z
step/lambdas/get_image_status.py
mbeacom/cloudendure-python
b854b1b2ea47c18a8ef03908abcdd653b77684ac
[ "MIT" ]
27
2019-06-14T20:39:10.000Z
2019-08-30T17:20:40.000Z
step/lambdas/get_image_status.py
mbeacom/cloudendure-python
b854b1b2ea47c18a8ef03908abcdd653b77684ac
[ "MIT" ]
2
2019-08-23T16:50:20.000Z
2019-08-30T18:22:23.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Check the state of an AWS AMI.""" from __future__ import annotations import json from typing import Any, Dict import boto3 print("Loading function get_image_status") ec2_client = boto3.client("ec2") # { # "instance_id": "i-identifier", # "kms_id": "KMS ID", # ...
24.666667
86
0.683047
115
814
4.626087
0.565217
0.082707
0.097744
0.06015
0
0
0
0
0
0
0
0.011713
0.160934
814
32
87
25.4375
0.767204
0.367322
0
0
0
0
0.157258
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f2095b25bea143e9b82c7fbfb9522beac7c96f69
344
py
Python
starfish/types.py
kne42/starfish
78b348c9756f367221dcca725cfa5107e5520b33
[ "MIT" ]
null
null
null
starfish/types.py
kne42/starfish
78b348c9756f367221dcca725cfa5107e5520b33
[ "MIT" ]
null
null
null
starfish/types.py
kne42/starfish
78b348c9756f367221dcca725cfa5107e5520b33
[ "MIT" ]
null
null
null
# constants from starfish.core.types import ( # noqa: F401 Axes, Clip, Coordinates, CORE_DEPENDENCIES, Features, LOG, OverlapStrategy, PHYSICAL_COORDINATE_DIMENSION, PhysicalCoordinateTypes, STARFISH_EXTRAS_KEY, TransformType, ) from starfish.core.types import CoordinateValu...
21.5
69
0.715116
33
344
7.30303
0.727273
0.099585
0.13278
0.174274
0.224066
0
0
0
0
0
0
0.022305
0.218023
344
15
70
22.933333
0.873606
0.090116
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
2
f20f24fc882a6bfe17d609d7a92bcf0cfdf1dd3a
464
py
Python
learn-to-code-with-python/10-Lists-Iteration/iterate-in-reverse-with-the-reversed-function.py
MaciejZurek/python_practicing
0a426f2aed151573e1f8678e0239ff596d92bbde
[ "MIT" ]
null
null
null
learn-to-code-with-python/10-Lists-Iteration/iterate-in-reverse-with-the-reversed-function.py
MaciejZurek/python_practicing
0a426f2aed151573e1f8678e0239ff596d92bbde
[ "MIT" ]
null
null
null
learn-to-code-with-python/10-Lists-Iteration/iterate-in-reverse-with-the-reversed-function.py
MaciejZurek/python_practicing
0a426f2aed151573e1f8678e0239ff596d92bbde
[ "MIT" ]
null
null
null
the_simpsons = ["Homer", "Marge", "Bart", "Lisa", "Maggie"] print(the_simpsons[::-1]) for char in the_simpsons[::-1]: print(f"{char} has a total of {len(char)} characters.") print(reversed(the_simpsons)) print(type(reversed(the_simpsons))) # generator object for char in reversed(the_simpsons): # laduje za kazda...
33.142857
135
0.709052
71
464
4.549296
0.549296
0.204334
0.176471
0.080495
0.235294
0.235294
0.235294
0.235294
0.235294
0.235294
0
0.005025
0.142241
464
13
136
35.692308
0.806533
0.24569
0
0.25
0
0
0.32948
0
0
0
0
0
0
1
0
false
0
0
0
0
0.625
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
1
0
2
f22667e27e25306a81ed4197a3f3283e37b3daea
846
py
Python
NLP4CCB/migrations/0005_auto_20170415_2236.py
rossmechanic/know_your_nyms
805ca845121fa93a38088f09cd0a430ddb9f95cf
[ "BSD-3-Clause" ]
1
2020-02-12T13:24:15.000Z
2020-02-12T13:24:15.000Z
NLP4CCB/migrations/0005_auto_20170415_2236.py
rossmechanic/know_your_nyms
805ca845121fa93a38088f09cd0a430ddb9f95cf
[ "BSD-3-Clause" ]
null
null
null
NLP4CCB/migrations/0005_auto_20170415_2236.py
rossmechanic/know_your_nyms
805ca845121fa93a38088f09cd0a430ddb9f95cf
[ "BSD-3-Clause" ]
1
2017-10-25T11:24:51.000Z
2017-10-25T11:24:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-04-15 22:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("NLP4CCB", "0004_auto_20170330_0255")] operations = [ migrations.RenameField( model_name="userstat", old_name="index...
26.4375
78
0.582742
83
846
5.783133
0.542169
0.075
0.141667
0.16875
0.46875
0.46875
0.3125
0.3125
0.3125
0.3125
0
0.062081
0.295508
846
31
79
27.290323
0.743289
0.080378
0
0.565217
1
0
0.15871
0.029677
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1ef590187d92be6eb1062c6742984e4a21a536f0
212
py
Python
trainer/__init__.py
Greeser/gate-decorator-pruning
1069fc89099100091412b6f89ead0519d382c518
[ "Apache-2.0" ]
192
2019-09-18T10:02:16.000Z
2022-03-24T16:31:18.000Z
trainer/__init__.py
pawopawo/gate-decorator-pruning
d89021802fa56b1eba97921db3d8cadcacdd2073
[ "Apache-2.0" ]
25
2019-09-24T10:53:51.000Z
2022-01-18T07:13:52.000Z
trainer/__init__.py
pawopawo/gate-decorator-pruning
d89021802fa56b1eba97921db3d8cadcacdd2073
[ "Apache-2.0" ]
33
2019-09-19T02:21:58.000Z
2022-03-31T10:04:20.000Z
from trainer.normal import NormalTrainer from config import cfg def get_trainer(): pair = { 'normal': NormalTrainer } assert (cfg.train.trainer in pair) return pair[cfg.train.trainer]()
19.272727
40
0.679245
26
212
5.5
0.538462
0.111888
0.20979
0
0
0
0
0
0
0
0
0
0.226415
212
10
41
21.2
0.871951
0
0
0
0
0
0.028302
0
0
0
0
0
0.125
1
0.125
false
0
0.25
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1efb1e54ed275e79479018453c75c13bf653026c
330
py
Python
docs/api/conf.py
kagemeka/selext
1882e518f8698f6d257549cdb36c79e05e801d39
[ "MIT" ]
1
2022-02-15T12:02:02.000Z
2022-02-15T12:02:02.000Z
docs/api/conf.py
kagemeka/filesystem-python
565beb128326f5ee41a5bb2b3a751788d4a02e4c
[ "MIT" ]
6
2022-01-05T09:15:54.000Z
2022-01-09T05:48:43.000Z
docs/api/conf.py
kagemeka/python-algorithms
dface89b8c618845cf524429aa8e97c4b2b10ceb
[ "MIT" ]
null
null
null
import os import sys def find_docs_root() -> str: filepath = os.path.abspath(__file__) path_chunks = filepath.split(os.path.sep) while path_chunks[-1] != "docs": path_chunks.pop() return os.path.sep.join(path_chunks) sys.path.append(find_docs_root()) from _rtd_conf import * from _sphinx_conf...
20.625
45
0.70303
50
330
4.32
0.5
0.185185
0.111111
0
0
0
0
0
0
0
0
0.003676
0.175758
330
15
46
22
0.790441
0
0
0
0
0
0.012121
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
48126352dee9a8d203347caa05ca59556d920c18
268
py
Python
test.py
ewuerfel66/lambdata-mjh09
7f87f923ec351e7af139d098d84a320861632616
[ "MIT" ]
null
null
null
test.py
ewuerfel66/lambdata-mjh09
7f87f923ec351e7af139d098d84a320861632616
[ "MIT" ]
4
2020-03-24T17:42:54.000Z
2021-06-02T00:22:30.000Z
test.py
ewuerfel66/lambdata-mjh09
7f87f923ec351e7af139d098d84a320861632616
[ "MIT" ]
1
2019-08-14T15:17:22.000Z
2019-08-14T15:17:22.000Z
import unittest class TestSum(unittest.TestCase): def test_sum(self): self.assertEqual(sum([1,2,3]), 6, 'Should be 6') def test_sum_tuple(self): self.assertEqual(sum((1,2,2)), 6, 'Should be 6') if __name__ == '__main__': unittest.main()
22.333333
56
0.634328
40
268
3.975
0.5
0.08805
0.125786
0.27673
0.301887
0.301887
0
0
0
0
0
0.046729
0.201493
268
12
57
22.333333
0.696262
0
0
0
0
0
0.111524
0
0
0
0
0
0.25
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
481e2d50c4328a17ebca8a6fc8ec42de2e15ed63
3,986
py
Python
activatable_model/models.py
wesleykendall/django-activatable-model
e039db72e6a94f622293cabbbac47f88b1c1c4dc
[ "MIT" ]
null
null
null
activatable_model/models.py
wesleykendall/django-activatable-model
e039db72e6a94f622293cabbbac47f88b1c1c4dc
[ "MIT" ]
null
null
null
activatable_model/models.py
wesleykendall/django-activatable-model
e039db72e6a94f622293cabbbac47f88b1c1c4dc
[ "MIT" ]
null
null
null
from django.db import models from manager_utils import ManagerUtilsQuerySet, ManagerUtilsManager from activatable_model.signals import model_activations_changed class ActivatableQuerySet(ManagerUtilsQuerySet): """ Provides bulk activation/deactivation methods. """ def update(self, *args, **kwargs): ...
39.078431
120
0.699448
490
3,986
5.504082
0.295918
0.065258
0.074156
0.046348
0.265109
0.138673
0.138673
0.072673
0.072673
0.036337
0
0
0.230557
3,986
101
121
39.465347
0.879361
0.294782
0
0.188679
0
0
0.004038
0
0
0
0
0
0
1
0.188679
false
0
0.056604
0.113208
0.566038
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
48253cfafc062954525ca06fd5152e38d4e70a79
295
py
Python
Modulos/Modulo2/app3.py
Trallyan/Curso_Udemy
2a5c0becd14352f2cc2bf2362d1e5494edd6198d
[ "MIT" ]
null
null
null
Modulos/Modulo2/app3.py
Trallyan/Curso_Udemy
2a5c0becd14352f2cc2bf2362d1e5494edd6198d
[ "MIT" ]
null
null
null
Modulos/Modulo2/app3.py
Trallyan/Curso_Udemy
2a5c0becd14352f2cc2bf2362d1e5494edd6198d
[ "MIT" ]
null
null
null
idade = 18 carteiramotorista = True print (idade >= 18 and carteiramotorista == True) print ("Pode Dirigir") velocidade = 90 radar = 100 radarfuncionando = False print (velocidade > radar and radarfuncionando == True) print ("Não foi multado") velocidade1 = 101 print (velocidade1 >= radar)
18.4375
55
0.735593
34
295
6.382353
0.558824
0.124424
0.239631
0
0
0
0
0
0
0
0
0.056911
0.166102
295
16
56
18.4375
0.825203
0
0
0
0
0
0.091216
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
482eeb2176d1d54a0f7e399cf1d1c1710f4d9f12
454
py
Python
mintools/zmqmin/client.py
jtimon/elements-explorer
397089593e860c4bdceb3a1222687a9120db0022
[ "MIT" ]
9
2018-01-25T16:32:18.000Z
2018-10-10T18:47:33.000Z
mintools/zmqmin/client.py
jtimon/elements-explorer
397089593e860c4bdceb3a1222687a9120db0022
[ "MIT" ]
2
2018-03-13T20:50:33.000Z
2018-03-13T21:01:22.000Z
mintools/zmqmin/client.py
jtimon/elements-explorer
397089593e860c4bdceb3a1222687a9120db0022
[ "MIT" ]
2
2018-02-20T17:50:18.000Z
2018-02-26T07:29:15.000Z
# Copyright (c) 2012-2018 The Mintools developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import pyzmq from .messenger import Messenger class Client(Messenger): def _init_socket(self): self.socket = self.con...
26.705882
69
0.737885
60
454
5.5
0.666667
0.060606
0
0
0
0
0
0
0
0
0
0.021277
0.171806
454
16
70
28.375
0.856383
0.396476
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
484bd025db2a6036894e42cd251bae437f17440a
329
py
Python
python/__init__.py
seangal/xAODAnaHelpers
49f15c8525bf4aed9beceec2c58e58964d57e034
[ "Apache-2.0" ]
null
null
null
python/__init__.py
seangal/xAODAnaHelpers
49f15c8525bf4aed9beceec2c58e58964d57e034
[ "Apache-2.0" ]
null
null
null
python/__init__.py
seangal/xAODAnaHelpers
49f15c8525bf4aed9beceec2c58e58964d57e034
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*-, from __future__ import absolute_import from __future__ import print_function from . import logging as xAH_logging try: from .config import Config except: xAH_logging.logger.warning("xAH::Config could not be imported.") __version__ = "1.0.0" __all__ = ["utils", "...
21.933333
68
0.723404
46
329
4.73913
0.652174
0.091743
0.146789
0
0
0
0
0
0
0
0
0.014337
0.151976
329
14
69
23.5
0.767025
0.130699
0
0
0
0
0.176056
0
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
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
0
1
0
1
0
0
2
48544b3690b1859057fd2e593fbf385719c5db3e
14,076
py
Python
mainwin.py
hatmann1944/pyqt-http-file-svr
3e95a222dc7d662921da44654aadb1721cba0382
[ "Apache-2.0" ]
1
2015-08-27T13:22:42.000Z
2015-08-27T13:22:42.000Z
mainwin.py
hatmann1944/pyqt-http-file-svr
3e95a222dc7d662921da44654aadb1721cba0382
[ "Apache-2.0" ]
null
null
null
mainwin.py
hatmann1944/pyqt-http-file-svr
3e95a222dc7d662921da44654aadb1721cba0382
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/mnt/hgfs/tmpcode/pyqt-http/untitled.ui' # # Created: Fri Jun 5 10:59:33 2015 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui import socket import signal im...
32.210526
157
0.586957
1,549
14,076
5.274371
0.264687
0.02093
0.025704
0.017136
0.155936
0.103182
0.074419
0.031579
0.031579
0.031579
0
0.032123
0.287866
14,076
436
158
32.284404
0.782921
0.078005
0
0.184466
1
0
0.076447
0.00858
0
0
0.000464
0
0
0
null
null
0.003236
0.045307
null
null
0.064725
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
486e93474bb833e6c69bd39f0e367b929c5bddaf
2,442
py
Python
acestream/ACEStream/Core/RequestPolicy.py
GrandPaRPi/p2ptv-pi
6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3
[ "MIT" ]
null
null
null
acestream/ACEStream/Core/RequestPolicy.py
GrandPaRPi/p2ptv-pi
6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3
[ "MIT" ]
null
null
null
acestream/ACEStream/Core/RequestPolicy.py
GrandPaRPi/p2ptv-pi
6f79c00f9055a3763ddfe1dc41e14d2cb533f4c3
[ "MIT" ]
2
2018-04-17T17:34:39.000Z
2020-07-26T03:43:33.000Z
#Embedded file name: ACEStream\Core\RequestPolicy.pyo from ACEStream.Core.simpledefs import * from ACEStream.Core.exceptions import * from ACEStream.Core.BitTornado.BT1.MessageID import * DEBUG = False MAX_QUERIES_FROM_RANDOM_PEER = 1000 class AbstractRequestPolicy: def __init__(self): pass def allow...
30.525
99
0.700246
256
2,442
6.503906
0.308594
0.066066
0.068468
0.048048
0.216817
0.115315
0.115315
0.115315
0
0
0
0.0037
0.225225
2,442
79
100
30.911392
0.876321
0.021294
0
0.232143
0
0
0.004604
0
0
0
0
0
0
1
0.232143
false
0.017857
0.053571
0.089286
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
487b34c0ca841971125a8b74fe964b7cec0a6a76
13,227
py
Python
py_proto/modules/drivers/camera/proto/camera_conf_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
2
2019-03-04T02:11:04.000Z
2019-04-18T11:19:45.000Z
py_proto/modules/drivers/camera/proto/camera_conf_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
1
2019-03-15T08:37:53.000Z
2019-03-15T08:37:53.000Z
py_proto/modules/drivers/camera/proto/camera_conf_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
1
2019-03-04T02:11:09.000Z
2019-03-04T02:11:09.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: modules/drivers/camera/proto/camera_conf.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pro...
51.069498
1,613
0.730476
1,885
13,227
4.896552
0.127321
0.073673
0.063814
0.094258
0.686349
0.670531
0.588191
0.533044
0.518418
0.518418
0
0.06131
0.134346
13,227
258
1,614
51.267442
0.744803
0.019279
0
0.560669
1
0.004184
0.260913
0.223045
0
0
0
0
0
1
0
false
0
0.025105
0
0.025105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
48847182743877e2207fafdce5ef0b412ca3a606
55,929
py
Python
colour/colorimetry/tests/test_spectrum.py
aurelienpierre/colour
3ac45c12fbc0493e49ba4d4b2cb253df9fe14c47
[ "BSD-3-Clause" ]
null
null
null
colour/colorimetry/tests/test_spectrum.py
aurelienpierre/colour
3ac45c12fbc0493e49ba4d4b2cb253df9fe14c47
[ "BSD-3-Clause" ]
null
null
null
colour/colorimetry/tests/test_spectrum.py
aurelienpierre/colour
3ac45c12fbc0493e49ba4d4b2cb253df9fe14c47
[ "BSD-3-Clause" ]
null
null
null
"""Defines the unit tests for the :mod:`colour.colorimetry.spectrum` module.""" import colour import numpy as np import unittest import scipy from distutils.version import LooseVersion from colour.algebra import CubicSplineInterpolator from colour.colorimetry.spectrum import SPECTRAL_SHAPE_DEFAULT from colour.colorim...
27.687624
87
0.63248
6,027
55,929
5.758918
0.259831
0.017546
0.017517
0.061771
0.426748
0.400242
0.361174
0.201706
0.179003
0.162811
0
0.49085
0.246741
55,929
2,019
88
27.701337
0.333025
0.074291
0
0.172126
0
0
0.025573
0.005134
0
0
0
0.000991
0.048839
1
0.026206
false
0
0.005956
0
0.036927
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6f949785191c10e7a989c8350cfc26a75e30b461
3,967
py
Python
test/test_strings.py
harthur/celestial-snips-app
5dfb86002e0d109c16c8d01ee77b0e909c263270
[ "MIT" ]
1
2021-11-23T02:44:14.000Z
2021-11-23T02:44:14.000Z
test/test_strings.py
harthur/celestial-snips-app
5dfb86002e0d109c16c8d01ee77b0e909c263270
[ "MIT" ]
null
null
null
test/test_strings.py
harthur/celestial-snips-app
5dfb86002e0d109c16c8d01ee77b0e909c263270
[ "MIT" ]
null
null
null
import unittest from celestial import Celestial from strings import CelestialStrings from datetime import datetime import pytest import math class TestCelestial(unittest.TestCase): """Testing the CelestialStrings class for generating celestial answers for TTS to read aloud""" def setUp(self): ... ...
34.198276
125
0.633224
494
3,967
4.834008
0.242915
0.100503
0.207705
0.227806
0.592127
0.51005
0.407035
0.361809
0.31742
0.31742
0
0.061443
0.269725
3,967
115
126
34.495652
0.762858
0.022435
0
0.282609
0
0.01087
0.155733
0
0
0
0
0
0.173913
1
0.130435
false
0
0.065217
0
0.206522
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6f9bfb5d1846d96697c801d792f6539b53696861
75
py
Python
Lista5/Lista5ex1.py
hugo-paiva/IntroducaoCienciasDaComputacao
a563f2fd5b773acbffaf4c858b86423b1130ae1f
[ "MIT" ]
null
null
null
Lista5/Lista5ex1.py
hugo-paiva/IntroducaoCienciasDaComputacao
a563f2fd5b773acbffaf4c858b86423b1130ae1f
[ "MIT" ]
null
null
null
Lista5/Lista5ex1.py
hugo-paiva/IntroducaoCienciasDaComputacao
a563f2fd5b773acbffaf4c858b86423b1130ae1f
[ "MIT" ]
null
null
null
frase = input().split() for palavra in frase: print(palavra[2], end='')
25
29
0.64
11
75
4.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.015873
0.16
75
3
29
25
0.746032
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6faf92769295dcd3722767bcf2f74a8c180b6d9e
3,558
py
Python
src/pyshark/packet/fields.py
Lovemma/pyshark
06d00edacf75aa4a9abd77e0c8cab8de33ea27fb
[ "MIT" ]
10
2018-09-13T15:50:43.000Z
2021-01-30T19:55:36.000Z
src/pyshark/packet/fields.py
Lovemma/pyshark
06d00edacf75aa4a9abd77e0c8cab8de33ea27fb
[ "MIT" ]
1
2019-09-09T14:15:34.000Z
2019-09-09T14:15:34.000Z
src/pyshark/packet/fields.py
Lovemma/pyshark
06d00edacf75aa4a9abd77e0c8cab8de33ea27fb
[ "MIT" ]
9
2018-07-24T09:32:55.000Z
2021-01-22T21:23:06.000Z
import binascii from pyshark.packet.common import Pickleable, SlotsPickleable class LayerField(SlotsPickleable): """ Holds all data about a field of a layer, both its actual value and its name and nice representation. """ # Note: We use this object with slots and not just a dict because # it's mu...
29.65
124
0.603991
459
3,558
4.54902
0.313725
0.045977
0.028736
0.010536
0.139847
0.08908
0.08908
0.08908
0.08908
0.052682
0
0.005192
0.296234
3,558
120
125
29.65
0.828674
0.27656
0
0.181818
0
0
0.03339
0
0
0
0
0
0
1
0.227273
false
0
0.030303
0.060606
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6fb0bb046f2c82f4fc248ab9913d7e957fa16a08
1,397
py
Python
test_service.py
cmput401-fall2018/web-app-ci-cd-with-travis-ci-derek-repka
c724a2b921fdb1e6ba1200b477a4add291941107
[ "MIT" ]
null
null
null
test_service.py
cmput401-fall2018/web-app-ci-cd-with-travis-ci-derek-repka
c724a2b921fdb1e6ba1200b477a4add291941107
[ "MIT" ]
4
2018-10-09T17:16:38.000Z
2021-06-10T20:56:30.000Z
test_service.py
cmput401-fall2018/web-app-ci-cd-with-travis-ci-derek-repka
c724a2b921fdb1e6ba1200b477a4add291941107
[ "MIT" ]
null
null
null
from service import Service from unittest import TestCase from mock import patch import sys class TestService(TestCase): @patch('service.Service.bad_random', return_value=10) def test_bad_random(self, bad_random): self.assertEqual(bad_random(), 10) @patch('service.Service.bad_random', return_value=10) def test_...
27.94
58
0.740873
215
1,397
4.660465
0.15814
0.254491
0.159681
0.139721
0.616766
0.448104
0.424152
0.331337
0.331337
0.331337
0
0.044426
0.113815
1,397
50
59
27.94
0.764943
0
0
0.307692
0
0
0.055794
0.055794
0
0
0
0
0.435897
1
0.102564
false
0
0.102564
0
0.230769
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
6fb2b10f3d4883634b84a549a2f3de0c0993ed24
1,512
py
Python
libweasyl/libweasyl/alembic/versions/eff79a07a88d_use_timestamp_column_for_latest_.py
akash143143/weasyl
be42a2313e657e97c4a48432379e37b6a3d4a4af
[ "Apache-2.0" ]
111
2016-05-18T04:18:18.000Z
2021-11-03T02:05:19.000Z
libweasyl/libweasyl/alembic/versions/eff79a07a88d_use_timestamp_column_for_latest_.py
akash143143/weasyl
be42a2313e657e97c4a48432379e37b6a3d4a4af
[ "Apache-2.0" ]
1,103
2016-05-29T05:17:53.000Z
2022-03-31T18:12:40.000Z
libweasyl/libweasyl/alembic/versions/eff79a07a88d_use_timestamp_column_for_latest_.py
TheWug/weasyl
a568a542cc58c11e30621fb672c701531d4306a8
[ "Apache-2.0" ]
47
2016-05-29T20:48:37.000Z
2021-11-12T09:40:40.000Z
"""Use TIMESTAMP column for latest submission Revision ID: eff79a07a88d Revises: 83e6b2a46191 Create Date: 2017-01-08 22:20:43.814375 """ # revision identifiers, used by Alembic. revision = 'eff79a07a88d' down_revision = '83e6b2a46191' from alembic import op # lgtm[py/unused-import] import sqlalchemy as sa # lgt...
30.857143
130
0.707011
179
1,512
5.715084
0.385475
0.203324
0.234604
0.112414
0.517107
0.470186
0.467253
0.467253
0.379277
0.27566
0
0.042105
0.183201
1,512
48
131
31.5
0.786235
0.143519
0
0.363636
0
0
0.385992
0.225681
0
0
0
0
0
1
0.060606
false
0
0.121212
0
0.181818
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6fb7c5d5fb34e77d36095b18c408e6edbe184b8f
2,952
py
Python
experiments/2d_shallowwater/gen.py
flabowski/POD-UQNN
1c81be432e69d24ae894828f42918fbc1fe54bc1
[ "MIT" ]
15
2020-05-29T11:42:14.000Z
2022-03-20T03:53:44.000Z
experiments/2d_shallowwater/gen.py
flabowski/POD-UQNN
1c81be432e69d24ae894828f42918fbc1fe54bc1
[ "MIT" ]
null
null
null
experiments/2d_shallowwater/gen.py
flabowski/POD-UQNN
1c81be432e69d24ae894828f42918fbc1fe54bc1
[ "MIT" ]
11
2020-06-09T01:16:22.000Z
2021-04-27T08:53:02.000Z
"""POD-NN modeling for 1D, unsteady Burger Equation.""" #%% Imports import sys import os import pickle import numpy as np sys.path.append(os.path.join("..", "..")) from poduqnn.podnnmodel import PodnnModel from poduqnn.mesh import read_multi_space_sol_input_mesh from poduqnn.handling import clean_dir, split_dataset f...
50.033898
910
0.618225
552
2,952
3.166667
0.523551
0.051487
0.085812
0.111556
0.264302
0.264302
0.199657
0.155606
0.155606
0.155606
0
0.203872
0.177507
2,952
58
911
50.896552
0.516063
0.332656
0
0
0
0
0.087359
0.010791
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
1
0
0
0
0
2
6fb8b1b58b2f38e1b4575b537fc9d0698a19d441
565
py
Python
day1/ex4.py
dsky1990/python_30days
3a9d8a29bd32979be1f4ef01be44999073dab5c4
[ "MIT" ]
1
2018-10-20T14:45:31.000Z
2018-10-20T14:45:31.000Z
day1/ex4.py
dsky1990/python_30days
3a9d8a29bd32979be1f4ef01be44999073dab5c4
[ "MIT" ]
null
null
null
day1/ex4.py
dsky1990/python_30days
3a9d8a29bd32979be1f4ef01be44999073dab5c4
[ "MIT" ]
null
null
null
cars = 100 space_in_a_car = 4.0 drivers = 30 passengers = 90 cars_not_driven = cars -drivers cars_driven = drivers carpool_carpacity = cars_driven * space_in_a_car average_passengers_per_car = passengers / cars_driven print("There are", cars, "cars available") print("There are only", drivers, "drivers available") prin...
37.666667
79
0.771681
87
565
4.770115
0.425287
0.072289
0.086747
0.053012
0
0
0
0
0
0
0
0.018145
0.122124
565
15
79
37.666667
0.818548
0
0
0
0
0
0.303887
0
0
0
0
0
0
1
0
false
0.285714
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
2
6fbc9ebec03dc29c3a7fc5b24ded057f188d61a0
1,401
py
Python
FPN_Backend/api_utility/validators.py
DeeMATT/friendly-invention
c308168b088ad8e65ab6eddcdba22552a9c6987a
[ "MIT" ]
null
null
null
FPN_Backend/api_utility/validators.py
DeeMATT/friendly-invention
c308168b088ad8e65ab6eddcdba22552a9c6987a
[ "MIT" ]
null
null
null
FPN_Backend/api_utility/validators.py
DeeMATT/friendly-invention
c308168b088ad8e65ab6eddcdba22552a9c6987a
[ "MIT" ]
null
null
null
import re from data_transformer.views import stringIsInteger def validateEmailFormat(email): emailPattern = r'^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$' if(re.search(emailPattern, email)): return True return False def validatePhoneFormat(phone): if not stringIsInteger(phon...
24.155172
87
0.635974
161
1,401
5.478261
0.459627
0.05102
0.047619
0.013605
0.017007
0.017007
0
0
0
0
0
0.018885
0.206281
1,401
57
88
24.578947
0.774281
0.112777
0
0.058824
0
0.029412
0.087167
0.083939
0
0
0
0
0
1
0.205882
false
0
0.058824
0.058824
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6fca5a30c5488af2b1fdbc0fc7967e56d0f30371
619
py
Python
ypricemagic/magic.py
cartercarlson/ypricemagic
f17fec155db7fb44ee624cd6e75193f17c6238cf
[ "MIT" ]
1
2022-03-28T16:07:07.000Z
2022-03-28T16:07:07.000Z
ypricemagic/magic.py
cartercarlson/ypricemagic
f17fec155db7fb44ee624cd6e75193f17c6238cf
[ "MIT" ]
null
null
null
ypricemagic/magic.py
cartercarlson/ypricemagic
f17fec155db7fb44ee624cd6e75193f17c6238cf
[ "MIT" ]
null
null
null
import logging from typing import Optional from y import magic from y.datatypes import UsdPrice from y.typing import AnyAddressType, Block logger = logging.getLogger(__name__) def get_price(token: AnyAddressType, block: Optional[Block] = None) -> UsdPrice: logger.warn('ypricemagic is in the process of being mig...
36.411765
85
0.704362
90
619
4.766667
0.633333
0.034965
0.090909
0.083916
0
0
0
0
0
0
0
0
0.22294
619
16
86
38.6875
0.891892
0
0
0
0
0
0.38835
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6fe49f0a6289892c3834db40f35fd362645dee89
6,966
py
Python
botnet/fabfile.py
MrScytheLULZ/Simple-python-cnc
23adc7ae553239a0c23da63d6eb97da24054fd93
[ "MIT" ]
23
2016-05-31T22:42:07.000Z
2022-03-30T13:37:44.000Z
botnet/fabfile.py
MrScytheLULZ/Simple-python-cnc
23adc7ae553239a0c23da63d6eb97da24054fd93
[ "MIT" ]
null
null
null
botnet/fabfile.py
MrScytheLULZ/Simple-python-cnc
23adc7ae553239a0c23da63d6eb97da24054fd93
[ "MIT" ]
18
2017-03-15T08:22:33.000Z
2020-11-14T23:37:06.000Z
import os from fabric.api import env, run, sudo, execute, local, settings, \ hide, open_shell, parallel, serial, put from fabric.decorators import hosts from fabric.contrib.console import confirm import fabric.colors as fab_col import paramiko import getpass from tabulate import tabulate file_hosts = "hosts.txt" ...
28.904564
80
0.611111
913
6,966
4.547645
0.226725
0.06262
0.031792
0.020231
0.177505
0.109345
0.096821
0.096821
0.050096
0.033237
0
0.004315
0.268016
6,966
240
81
29.025
0.809963
0.083836
0
0.190141
0
0
0.095987
0
0
0
0
0
0
0
null
null
0.091549
0.056338
null
null
0.091549
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
6ff1787c0118af1f7695392c705c973f44490257
352
py
Python
src/rics/utility/perf/__init__.py
rsundqvist/rics
c67ff6703facb3170535dcf173d7e55734cedbc6
[ "MIT" ]
1
2022-02-24T22:12:13.000Z
2022-02-24T22:12:13.000Z
src/rics/utility/perf/__init__.py
rsundqvist/rics
c67ff6703facb3170535dcf173d7e55734cedbc6
[ "MIT" ]
26
2022-02-24T21:08:51.000Z
2022-03-19T19:55:26.000Z
src/rics/utility/perf/__init__.py
rsundqvist/rics
c67ff6703facb3170535dcf173d7e55734cedbc6
[ "MIT" ]
null
null
null
"""Performance testing utility.""" from ._format_perf_counter import format_perf_counter from ._multi_case_timer import MultiCaseTimer from ._util import plot_run, to_dataframe from ._wrappers import run_multivariate_test __all__ = [ "MultiCaseTimer", "run_multivariate_test", "format_perf_counter", "p...
23.466667
53
0.769886
42
352
5.880952
0.5
0.121457
0.206478
0.145749
0
0
0
0
0
0
0
0
0.144886
352
14
54
25.142857
0.820598
0.079545
0
0
0
0
0.232704
0.066038
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
b50e4ff7686cf0dbd4629ae146083491535bb7be
1,028
py
Python
precompressed/context_processors.py
EightMedia/django-precompressed
1b135b4784a96948237f93bf0648d3ab747fcfb3
[ "MIT" ]
4
2015-05-05T06:58:35.000Z
2018-10-15T18:53:50.000Z
precompressed/context_processors.py
EightMedia/django-precompressed
1b135b4784a96948237f93bf0648d3ab747fcfb3
[ "MIT" ]
2
2015-02-04T10:48:00.000Z
2020-01-27T15:36:39.000Z
precompressed/context_processors.py
EightMedia/django-precompressed
1b135b4784a96948237f93bf0648d3ab747fcfb3
[ "MIT" ]
1
2019-02-20T20:40:04.000Z
2019-02-20T20:40:04.000Z
# ***************************************************************************** # precompressed/context_processors.py # ***************************************************************************** """ A set of request processors that return dictionaries to be merged into a template context. Each function takes the re...
30.235294
79
0.539883
95
1,028
5.642105
0.578947
0.102612
0.059701
0
0
0
0
0
0
0
0
0
0.120623
1,028
33
80
31.151515
0.59292
0.73249
0
0
0
0
0.049793
0
0
0
0
0
0
1
0.2
false
0
0.6
0
1
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
82f077676382d093577f0c067da14ea95e4000cd
1,557
py
Python
core_get/actions/module.py
core-get/core-get
8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7
[ "MIT" ]
null
null
null
core_get/actions/module.py
core-get/core-get
8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7
[ "MIT" ]
null
null
null
core_get/actions/module.py
core-get/core-get
8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7
[ "MIT" ]
null
null
null
from typing import Dict, Type from injector import Module, Binder from core_get.actions.action import Action from core_get.actions.init.init import Init from core_get.actions.init.init_options import InitOptions from core_get.actions.install.install import Install from core_get.actions.install.install_options import ...
39.923077
80
0.787412
200
1,557
5.995
0.2
0.126772
0.174312
0.255213
0.386989
0.386989
0
0
0
0
0
0
0.150931
1,557
38
81
40.973684
0.906959
0
0
0
0
0
0
0
0
0
0
0
0
1
0.030303
false
0
0.636364
0
0.69697
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
1
0
0
0
0
2
82fd84aa8cc3e3cc7d56b2efc824a18ff2e55d25
368
py
Python
tests/Parser/701isNotSubtitleFile_test.py
Bas-Man/TVShowFile
2f341c97dcbe52eee0c0e71752173c9e9442450c
[ "MIT" ]
null
null
null
tests/Parser/701isNotSubtitleFile_test.py
Bas-Man/TVShowFile
2f341c97dcbe52eee0c0e71752173c9e9442450c
[ "MIT" ]
null
null
null
tests/Parser/701isNotSubtitleFile_test.py
Bas-Man/TVShowFile
2f341c97dcbe52eee0c0e71752173c9e9442450c
[ "MIT" ]
null
null
null
import unittest from context import parser class TVShowFileParserTests(unittest.TestCase): def setUp(self): self.filename = parser.Parser("test.2018.S01E01E02.mkv") def tearDown(self): self.filename = None def testisSubtitleFileSRT(self): self.assertFalse(self.filename.isSubs) ...
19.368421
64
0.69837
40
368
6.225
0.6
0.096386
0.128514
0
0
0
0
0
0
0
0
0.033898
0.19837
368
18
65
20.444444
0.810169
0
0
0
0
0
0.084239
0.0625
0
0
0
0
0.090909
1
0.272727
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d2013debcc235b195c7f8a356464f5f2511b9b80
4,173
py
Python
service_matcher_app/service_matcher/models.py
City-of-Turku/PaohServiceMatchEngine
39f580003f9c0d10708acd93644f796f764ec2f0
[ "MIT" ]
null
null
null
service_matcher_app/service_matcher/models.py
City-of-Turku/PaohServiceMatchEngine
39f580003f9c0d10708acd93644f796f764ec2f0
[ "MIT" ]
null
null
null
service_matcher_app/service_matcher/models.py
City-of-Turku/PaohServiceMatchEngine
39f580003f9c0d10708acd93644f796f764ec2f0
[ "MIT" ]
null
null
null
from datetime import datetime from pydantic import BaseModel from typing import Optional, List from fastapi import Query class Service(BaseModel): """ A class for single service """ id: str ptvId: Optional[str] = None type: Optional[str] = None subtype: Optional[str] = None organizati...
29.595745
148
0.671699
472
4,173
5.862288
0.230932
0.067582
0.081316
0.065052
0.606072
0.579689
0.52837
0.462956
0.426093
0.395013
0
0.005456
0.209442
4,173
140
149
29.807143
0.833283
0.146657
0
0.617978
0
0
0.057353
0.010588
0
0
0
0
0
1
0
true
0
0.044944
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
d2037084e3cebaba8f3eced7b0c24bf337957571
1,926
py
Python
build/scripts/gen_mx_table.py
r1nadeg/04_catboost
6755bbbd1496540b92ded57eea1974f64bef87c5
[ "Apache-2.0" ]
null
null
null
build/scripts/gen_mx_table.py
r1nadeg/04_catboost
6755bbbd1496540b92ded57eea1974f64bef87c5
[ "Apache-2.0" ]
null
null
null
build/scripts/gen_mx_table.py
r1nadeg/04_catboost
6755bbbd1496540b92ded57eea1974f64bef87c5
[ "Apache-2.0" ]
1
2018-08-06T14:13:12.000Z
2018-08-06T14:13:12.000Z
import sys tmpl = """ #include "yabs_mx_calc_table.h" #include <kernel/matrixnet/mn_sse.h> #include <library/archive/yarchive.h> #include <util/memory/blob.h> #include <util/generic/hash.h> #include <util/generic/ptr.h> #include <util/generic/singleton.h> using namespace NMatrixnet; extern "C" { extern const ...
25.342105
160
0.576324
244
1,926
4.385246
0.413934
0.04486
0.037383
0.042056
0
0
0
0
0
0
0
0.017409
0.254413
1,926
75
161
25.68
0.727716
0
0
0.109091
0
0.036364
0.728972
0.166667
0
0
0
0
0
0
null
null
0
0.018182
null
null
0.018182
0
0
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
1
0
0
0
0
0
0
0
0
2
d203709221f68ac2daa8de8a8dbe4b58bcd9f4f3
497
py
Python
Src/StdLib/Lib/test/xmltests.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
2,293
2015-01-02T12:46:10.000Z
2022-03-29T09:45:43.000Z
Src/StdLib/Lib/test/xmltests.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
1,074
2016-12-07T05:02:48.000Z
2022-03-22T02:09:11.000Z
Src/StdLib/Lib/test/xmltests.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
1,033
2015-01-04T07:48:40.000Z
2022-03-24T09:34:37.000Z
# Convenience test module to run all of the XML-related tests in the # standard library. import sys import test.test_support test.test_support.verbose = 0 def runtest(name): __import__(name) module = sys.modules[name] if hasattr(module, "test_main"): module.test_main() runtest("test.test_minidom...
22.590909
68
0.748491
74
497
4.783784
0.445946
0.20339
0.29661
0.101695
0.129944
0
0
0
0
0
0
0.002309
0.128773
497
21
69
23.666667
0.815242
0.169014
0
0
0
0
0.312195
0.05122
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.266667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d2054031cc7f367ae05b0c0f073e7b256fa4a564
238
py
Python
Aula 01/ConversaoMedidas.py
eduardojpsena/EstruturaDeDados-Python-IESP
97c22fc1411dfdae2d1085e9a3ca0c334ee07988
[ "MIT" ]
null
null
null
Aula 01/ConversaoMedidas.py
eduardojpsena/EstruturaDeDados-Python-IESP
97c22fc1411dfdae2d1085e9a3ca0c334ee07988
[ "MIT" ]
null
null
null
Aula 01/ConversaoMedidas.py
eduardojpsena/EstruturaDeDados-Python-IESP
97c22fc1411dfdae2d1085e9a3ca0c334ee07988
[ "MIT" ]
null
null
null
print("---CONVERSÃO DE MEDIDAS---") valor_metros = float(input("Informe o valor em metros à ser convertido: ")) valor_centimetros = valor_metros * 100 print("{} metros equivale a {} centimetros.".format(valor_metros, valor_centimetros))
39.666667
85
0.747899
31
238
5.580645
0.612903
0.190751
0
0
0
0
0
0
0
0
0
0.014218
0.113445
238
6
85
39.666667
0.805687
0
0
0
0
0
0.443515
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
d2057f4c0253aa5e357b86320d8d2148ad029e12
385
py
Python
src/easymql/__init__.py
vivek-shrikhande/easy-mql
8cbf6a77aed8230bd92cee5585227ea4a09001b8
[ "MIT" ]
null
null
null
src/easymql/__init__.py
vivek-shrikhande/easy-mql
8cbf6a77aed8230bd92cee5585227ea4a09001b8
[ "MIT" ]
null
null
null
src/easymql/__init__.py
vivek-shrikhande/easy-mql
8cbf6a77aed8230bd92cee5585227ea4a09001b8
[ "MIT" ]
null
null
null
from pyparsing import ParseException from easymql.exc import EasyMQLSyntaxError from easymql.pipeline import Pipeline, encode class EasyMQL: def parse(self, query_string): try: return encode(Pipeline.parse(query_string, explode=False)) except ParseException as e: raise Eas...
29.615385
85
0.724675
47
385
5.87234
0.574468
0.119565
0
0
0
0
0
0
0
0
0
0
0.207792
385
12
86
32.083333
0.904918
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d210d3e4fc7f26c1bc84d6a2851b1aad30445d94
2,185
py
Python
notebook/datetime_fromisoformat.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/datetime_fromisoformat.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/datetime_fromisoformat.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
import datetime s = '2018-12-31' d = datetime.date.fromisoformat(s) print(d) # 2018-12-31 print(type(d)) # <class 'datetime.date'> # print(datetime.date.fromisoformat('2018-12')) # ValueError: Invalid isoformat string: '2018-12' print(datetime.date.fromisoformat('2018-01-01')) # 2018-01-01 # print(datetime.date....
20.809524
71
0.707551
335
2,185
4.59403
0.119403
0.089669
0.08447
0.145549
0.701754
0.583496
0.45614
0.374269
0.263808
0.19883
0
0.223964
0.094737
2,185
104
72
21.009615
0.554095
0.498398
0
0.393939
0
0
0.189087
0.097836
0
0
0
0
0
1
0
false
0
0.030303
0
0.030303
0.545455
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
1
0
2
d220ea28079528b416680ff1ccebd74a80b37141
4,438
py
Python
python_modules/dagster/dagster_tests/core_tests/definitions_tests/test_input_defaults.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
1
2021-04-27T19:49:59.000Z
2021-04-27T19:49:59.000Z
python_modules/dagster/dagster_tests/core_tests/definitions_tests/test_input_defaults.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
7
2022-03-16T06:55:04.000Z
2022-03-18T07:03:25.000Z
python_modules/dagster/dagster_tests/core_tests/definitions_tests/test_input_defaults.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
null
null
null
import pytest from dagster import ( DagsterInvalidDefinitionError, InputDefinition, Nothing, Optional, composite_solid, execute_pipeline, execute_solid, lambda_solid, pipeline, ) def test_none(): @lambda_solid(input_defs=[InputDefinition("x", Optional[int], default_value=None)...
25.36
109
0.677332
569
4,438
5.031634
0.168717
0.075445
0.07335
0.151939
0.675864
0.643032
0.599721
0.555362
0.555362
0.527768
0
0.01398
0.21023
4,438
174
110
25.505747
0.802853
0.034024
0
0.516129
0
0
0.048086
0
0
0
0
0
0.145161
1
0.258065
false
0.008065
0.016129
0.137097
0.41129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
d22b9934bc74f943c4699852c43f6be8c7246c45
3,027
py
Python
insights/parsers/tests/test_zipl_conf.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
121
2017-05-30T20:23:25.000Z
2022-03-23T12:52:15.000Z
insights/parsers/tests/test_zipl_conf.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
1,977
2017-05-26T14:36:03.000Z
2022-03-31T10:38:53.000Z
insights/parsers/tests/test_zipl_conf.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
244
2017-05-30T20:22:57.000Z
2022-03-26T10:09:39.000Z
from insights.parsers.zipl_conf import ZiplConf from insights.tests import context_wrap from insights.parsers import ParseException import pytest ZIPL_CONF = """ [defaultboot] defaultauto prompt=1 timeout=5 default=linux target=/boot [linux] image=/boot/vmlinuz-3.10.0-693.el7.s390x ramdisk=/boot/initramfs-3.10...
41.465753
269
0.720846
476
3,027
4.518908
0.235294
0.018596
0.035797
0.040911
0.552301
0.480707
0.455602
0.455602
0.443515
0.443515
0
0.143128
0.127519
3,027
72
270
42.041667
0.671337
0
0
0.296875
0
0.078125
0.732739
0.405021
0
0
0
0
0.140625
1
0.03125
false
0
0.0625
0
0.09375
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d2366db96566571009998f46fd017359e1980f42
325
py
Python
comm_lib/import_lib.py
GUTLY/machine_learning_in_action
7820c948014c615ed10f693f03ea116a0f7d6b96
[ "Apache-2.0" ]
null
null
null
comm_lib/import_lib.py
GUTLY/machine_learning_in_action
7820c948014c615ed10f693f03ea116a0f7d6b96
[ "Apache-2.0" ]
null
null
null
comm_lib/import_lib.py
GUTLY/machine_learning_in_action
7820c948014c615ed10f693f03ea116a0f7d6b96
[ "Apache-2.0" ]
null
null
null
""" @Time : 12/4/2020 13:57 @Author : Young lee @File : import_lib @Project : machine_learning_in_action """ import collections import math import os import random import sys import tarfile import time import zipfile import operator from IPython import display from matplotlib import pyplot as plt import numpy a...
16.25
37
0.775385
49
325
5.061224
0.693878
0
0
0
0
0
0
0
0
0
0
0.040892
0.172308
325
19
38
17.105263
0.881041
0.329231
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2