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
c98db41b73da3e60c689142b57fda36cdb2eb85f
456
py
Python
article/migrations/0003_article_article_image.py
sanalkrlk/django-blog
4237a8a8427c89c80f7bc3e69ae53ec2dc21006d
[ "MIT" ]
null
null
null
article/migrations/0003_article_article_image.py
sanalkrlk/django-blog
4237a8a8427c89c80f7bc3e69ae53ec2dc21006d
[ "MIT" ]
1
2020-06-05T22:48:05.000Z
2020-06-05T22:48:05.000Z
article/migrations/0003_article_article_image.py
akaraoluk/django-blog
8e8bbcf00ea4c6b4ae1b57b1e968d442e90f0980
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-27 11:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0002_auto_20190827_1359'), ] operations = [ migrations.AddField( model_name='article', name='article_imag...
24
114
0.627193
51
456
5.470588
0.784314
0.078853
0
0
0
0
0
0
0
0
0
0.091176
0.254386
456
18
115
25.333333
0.729412
0.098684
0
0
1
0
0.183374
0.056235
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c98f8143539a1aa091a4c6fab1aa64c39c0e88aa
2,023
py
Python
login.py
evb91/vuforia-database-creator
fbd86ade198cb24d33c0db9678858c4bd29fc6a2
[ "MIT" ]
null
null
null
login.py
evb91/vuforia-database-creator
fbd86ade198cb24d33c0db9678858c4bd29fc6a2
[ "MIT" ]
8
2020-12-12T22:01:48.000Z
2020-12-12T23:07:07.000Z
login.py
evb91/vuforia-database-creator
fbd86ade198cb24d33c0db9678858c4bd29fc6a2
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys import os import uuid import time driver = webdriver.Safari() driver.implicitly_wait(10) driver.get("https://developer.vuforia.com/vui/auth/login") elem = driver.find_element_by_id("login_email") elem.send_keys(os.environ['VUFORIA_EMAIL_ADD...
35.491228
65
0.795848
311
2,023
4.858521
0.234727
0.112508
0.157512
0.236267
0.532098
0.516876
0.397088
0.211118
0.159497
0.159497
0
0.003178
0.066733
2,023
56
66
36.125
0.79714
0.00692
0
0.203704
0
0
0.211759
0.021923
0
0
0
0
0
1
0
false
0.037037
0.092593
0
0.092593
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c99222cc783518d128f0c396baf9a081067e8169
1,412
py
Python
gluon/cmd/api_tool.py
lfntac/ipv6
1cf305a5fe370e71157723a40833c73aeffdf35e
[ "Apache-2.0" ]
null
null
null
gluon/cmd/api_tool.py
lfntac/ipv6
1cf305a5fe370e71157723a40833c73aeffdf35e
[ "Apache-2.0" ]
null
null
null
gluon/cmd/api_tool.py
lfntac/ipv6
1cf305a5fe370e71157723a40833c73aeffdf35e
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 Nokia, Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
22.774194
78
0.703966
203
1,412
4.817734
0.492611
0.064417
0.079755
0.107362
0.168712
0
0
0
0
0
0
0.008889
0.203258
1,412
61
79
23.147541
0.860444
0.424929
0
0.193548
0
0
0.058971
0
0
0
0
0
0
1
0.16129
false
0.064516
0.16129
0
0.322581
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c9aa21abd375786e37d616376e87a348cb27606f
663
py
Python
wobbly-wombats/root/quiz/service.py
CaptainDynamight/summer-code-jam-2020
01d47a5f374ec33401065e75cdf2f7093ed538d5
[ "MIT" ]
null
null
null
wobbly-wombats/root/quiz/service.py
CaptainDynamight/summer-code-jam-2020
01d47a5f374ec33401065e75cdf2f7093ed538d5
[ "MIT" ]
null
null
null
wobbly-wombats/root/quiz/service.py
CaptainDynamight/summer-code-jam-2020
01d47a5f374ec33401065e75cdf2f7093ed538d5
[ "MIT" ]
null
null
null
import random from .data import adjectives from .models import PopularSite def gen_site_url(): """Returns a dict of url of a page at random interval and the year it was developed""" random_key = random.choice(PopularSite.objects.values_list('id', flat=True)) site = PopularSite.objects.get(id=random_key) ...
34.894737
90
0.698341
95
663
4.810526
0.526316
0.113786
0.105033
0.087527
0
0
0
0
0
0
0
0.039783
0.165913
663
18
91
36.833333
0.786618
0.120664
0
0
0
0
0.110919
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c9aa878eac01d2d1d007eee974743498959899cd
20,301
py
Python
ops/dataset.py
gitxdf/LSNet
ff82c17ac1c65f5888c1d1a5fda10aa6c2b1a9a3
[ "Apache-2.0" ]
null
null
null
ops/dataset.py
gitxdf/LSNet
ff82c17ac1c65f5888c1d1a5fda10aa6c2b1a9a3
[ "Apache-2.0" ]
null
null
null
ops/dataset.py
gitxdf/LSNet
ff82c17ac1c65f5888c1d1a5fda10aa6c2b1a9a3
[ "Apache-2.0" ]
null
null
null
# Code for "TSM: Temporal Shift Module for Efficient Video Understanding" # arXiv:1811.08383 # Ji Lin*, Chuang Gan, Song Han # {jilin, songhan}@mit.edu, ganchuang@csail.mit.edu import torch.utils.data as data from PIL import Image import os import numpy as np from numpy.random import randint import torch import cv2 i...
46.776498
130
0.559677
2,541
20,301
4.285714
0.113341
0.039394
0.050964
0.021855
0.548852
0.514509
0.485124
0.452433
0.424242
0.40955
0
0.018745
0.332545
20,301
433
131
46.884527
0.784945
0.074528
0
0.430723
0
0
0.046227
0.003273
0
0
0
0
0.006024
0
null
null
0
0.03012
null
null
0.036145
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9aac37a11feac42e198aacf47ae1b0801c9a644
476
py
Python
prototype/questions/migrations/0026_profile_goal.py
jalarimar/prototype-402
3550ba81cfe52f4eda78bb9b2e5ca7f6c1fb0539
[ "MIT" ]
null
null
null
prototype/questions/migrations/0026_profile_goal.py
jalarimar/prototype-402
3550ba81cfe52f4eda78bb9b2e5ca7f6c1fb0539
[ "MIT" ]
null
null
null
prototype/questions/migrations/0026_profile_goal.py
jalarimar/prototype-402
3550ba81cfe52f4eda78bb9b2e5ca7f6c1fb0539
[ "MIT" ]
null
null
null
# Generated by Django 2.0.4 on 2018-09-21 05:57 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('questions', '0025_question_buggy_program'), ] operations = [ migrations.AddField( model_name='prof...
23.8
107
0.644958
51
476
5.941176
0.745098
0.066007
0.132013
0
0
0
0
0
0
0
0
0.058011
0.239496
476
19
108
25.052632
0.779006
0.094538
0
0
1
0
0.109557
0.062937
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9aeed12baebd89c13371677e1b5314e07092e6a
18,608
py
Python
util/misc/multi_dim_analysis.py
tchlux/util
eff37464c7e913377398025adf76b057f9630b35
[ "MIT" ]
4
2021-04-22T20:19:40.000Z
2022-01-30T18:57:23.000Z
util/misc/multi_dim_analysis.py
tchlux/util
eff37464c7e913377398025adf76b057f9630b35
[ "MIT" ]
1
2022-01-24T14:10:27.000Z
2022-01-30T16:42:53.000Z
util/misc/multi_dim_analysis.py
tchlux/util
eff37464c7e913377398025adf76b057f9630b35
[ "MIT" ]
2
2019-05-19T07:44:28.000Z
2021-04-22T20:20:40.000Z
# This is a small module for creating a "Multi-Dimensional Analysis" # for some arbitrary data. This will generate a directory of files, # producing test cases for all combinations of columns of input data # of varying lengths (starting with all columns, working down to 1). # For each of those combinations, "NUM_SETS"...
49.097625
91
0.575828
2,351
18,608
4.426202
0.189281
0.019027
0.013838
0.006535
0.136652
0.076975
0.048241
0.030751
0.027292
0.019604
0
0.0072
0.343186
18,608
378
92
49.227513
0.844215
0.416488
0
0.15
1
0
0.061432
0
0
0
0
0
0
1
0.03
false
0
0.02
0.005
0.08
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9afcfe0be7d3ee52f949af8b8739822a02e5ce2
3,125
py
Python
old_source/modules/brain.py
Chippers255/bugs
5018c24c376eefcab5ea290b53f37ea1249ef863
[ "MIT" ]
null
null
null
old_source/modules/brain.py
Chippers255/bugs
5018c24c376eefcab5ea290b53f37ea1249ef863
[ "MIT" ]
null
null
null
old_source/modules/brain.py
Chippers255/bugs
5018c24c376eefcab5ea290b53f37ea1249ef863
[ "MIT" ]
null
null
null
import math import random class Brain(object): def __init__(self, input_size, hidden_size, output_size): random.seed() self.input_size = input_size self.hidden_size = hidden_size self.output_size = output_size self.inputs = [0.0] * input_size self.hidden ...
29.761905
97
0.54016
438
3,125
3.703196
0.09589
0.098644
0.147965
0.110974
0.694821
0.688656
0.646732
0.646732
0.646732
0.646732
0
0.01895
0.34144
3,125
105
98
29.761905
0.769193
0.05376
0
0.523077
0
0
0
0
0
0
0
0
0
1
0.123077
false
0
0.030769
0.046154
0.246154
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9b04baaa637609484fd8475bf1d97a5a3da8c9e
3,194
py
Python
importmap/core.py
dropseed/django-importmap
3ad705c96e42a15ccb800ddd55312457dfe17d3e
[ "MIT" ]
1
2022-03-09T08:59:12.000Z
2022-03-09T08:59:12.000Z
importmap/core.py
dropseed/django-importmap
3ad705c96e42a15ccb800ddd55312457dfe17d3e
[ "MIT" ]
null
null
null
importmap/core.py
dropseed/django-importmap
3ad705c96e42a15ccb800ddd55312457dfe17d3e
[ "MIT" ]
null
null
null
import hashlib import json import logging import os import tomli from marshmallow import Schema, fields from .generator import ImportmapGenerator logger = logging.getLogger(__name__) DEFAULT_CONFIG_FILENAME = "importmap.toml" DEFAULT_LOCK_FILENAME = "importmap.lock" class PackageSchema(Schema): name = fields...
28.265487
86
0.640263
390
3,194
5.074359
0.282051
0.060637
0.048509
0.036382
0.121779
0.041435
0
0
0
0
0
0.001269
0.259862
3,194
112
87
28.517857
0.835871
0.089856
0
0.083333
0
0
0.046584
0.007591
0
0
0
0.008929
0
1
0.111111
false
0
0.236111
0.027778
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
0
0
1
0
0
1
c9b35ea2e70a93c387ea6feb69c39a51b7a3e668
16,619
py
Python
pypy/objspace/std/model.py
woodrow/pyoac
b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7
[ "MIT" ]
1
2019-05-27T00:58:46.000Z
2019-05-27T00:58:46.000Z
pypy/objspace/std/model.py
woodrow/pyoac
b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7
[ "MIT" ]
null
null
null
pypy/objspace/std/model.py
woodrow/pyoac
b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7
[ "MIT" ]
null
null
null
""" The full list of which Python types and which implementation we want to provide in this version of PyPy, along with conversion rules. """ from pypy.objspace.std.multimethod import MultiMethodTable, FailedToImplement from pypy.interpreter.baseobjspace import W_Root, ObjSpace import pypy.interpreter.pycode import py...
46.163889
90
0.622781
1,595
16,619
6.194357
0.213166
0.073482
0.080466
0.098077
0.255769
0.031984
0
0
0
0
0
0.003265
0.299597
16,619
359
91
46.292479
0.845533
0.081834
0
0.075342
0
0
0.053893
0.031121
0
0
0
0
0.017123
0
null
null
0.003425
0.205479
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9b60bc9cb796c23f49935a68c1a55986c682e45
3,984
py
Python
In Class Projects/In Class Examples Fall 2019/Section 1/homeworkLayout.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
16
2019-01-10T18:54:13.000Z
2022-01-28T20:07:20.000Z
In Class Projects/In Class Examples Fall 2019/Section 1/homeworkLayout.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
null
null
null
In Class Projects/In Class Examples Fall 2019/Section 1/homeworkLayout.py
hunterluepke/Learn-Python-for-Stats-and-Econ
d580a8e27ba937fc8401ac6d0714b6488ac8bbb6
[ "MIT" ]
15
2019-01-24T17:11:20.000Z
2021-12-11T01:53:57.000Z
import numpy as np import decimal import string #homeworkLayout.py print(""" James Caton ECON 411 / 611 Homework """) print(""" 1. Record your name in an object (x = ...) and a description of yourself in another object. """) #first name first = "James" #middle name middle = "Lee" #last name last = "Caton" #full nam...
22.508475
92
0.711596
659
3,984
4.107739
0.288316
0.049871
0.073883
0.129294
0.384189
0.359438
0.350203
0.325822
0.325822
0.325822
0
0.026006
0.189257
3,984
176
93
22.636364
0.812074
0.060743
0
0.469027
0
0.00885
0.696677
0.04314
0
0
0
0
0
1
0
false
0
0.035398
0
0.035398
0.212389
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9bbbdb6950369f4e087b4758ef9c5e212637363
383
py
Python
tests/user_test.py
angelcarballo/shorty
c6ac565e7998f131ed48229ea859adfec87ed8aa
[ "BSD-2-Clause" ]
null
null
null
tests/user_test.py
angelcarballo/shorty
c6ac565e7998f131ed48229ea859adfec87ed8aa
[ "BSD-2-Clause" ]
null
null
null
tests/user_test.py
angelcarballo/shorty
c6ac565e7998f131ed48229ea859adfec87ed8aa
[ "BSD-2-Clause" ]
null
null
null
import pytest from .context import User class TestUser(object): def test_new_users_have_a_secure_token(self): user = User('test@test.com') assert(user.secure_token) def test_updating_token(self): user = User('test@test.com') previous_token = user.secure_token user.updat...
25.533333
51
0.681462
51
383
4.843137
0.431373
0.178138
0.182186
0.137652
0.453441
0.226721
0.226721
0
0
0
0
0
0.221932
383
14
52
27.357143
0.828859
0
0
0.181818
0
0
0.068063
0
0
0
0
0
0.181818
1
0.181818
false
0
0.181818
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
0
0
0
0
0
0
0
0
1
c9c4145b5d895256cf217be0b2ee74c95061471b
5,275
py
Python
DEPRECATED_PYTHON_SRC/component/hosts.py
17701253801/firefly-proxy
153e0d343d93d68a803bba6b89497f7bc2b96bc8
[ "BSD-2-Clause" ]
5,895
2015-01-01T14:33:17.000Z
2022-03-19T03:08:48.000Z
DEPRECATED_PYTHON_SRC/component/hosts.py
BIGMONK/firefly-proxy
60161af7b239ab400d39a23b61ab312f84b94570
[ "BSD-2-Clause" ]
626
2015-01-07T22:09:26.000Z
2022-03-24T01:56:50.000Z
DEPRECATED_PYTHON_SRC/component/hosts.py
BIGMONK/firefly-proxy
60161af7b239ab400d39a23b61ab312f84b94570
[ "BSD-2-Clause" ]
1,145
2015-01-04T06:50:54.000Z
2022-03-15T13:12:17.000Z
import os import codecs import json import collections from collections import defaultdict from gevent import socket from fnmatch import fnmatch if os.name == 'nt': import win_inet_pton socket.inet_pton = win_inet_pton.inet_pton socket.inet_ntop = win_inet_pton.inet_ntop from gsocks.smart_relay import For...
32.96875
86
0.5509
590
5,275
4.820339
0.242373
0.04571
0.049226
0.035865
0.206751
0.165963
0.147679
0.098453
0.046414
0.046414
0
0.007147
0.336872
5,275
160
87
32.96875
0.805889
0.027109
0
0.235294
0
0
0.039212
0
0
0
0
0
0
0
null
null
0.014706
0.073529
null
null
0.007353
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9d1d1114e0bf8d6bd40c016bd8fc62824b2c634
640
py
Python
ICHSA/2021/crypto/Baby_Homework/best_crypto_service.py
ruhan-islam/ctf-archives
8c2bf6a608c821314d1a1cfaa05a6cccef8e3103
[ "MIT" ]
1
2021-11-02T20:53:58.000Z
2021-11-02T20:53:58.000Z
ICHSA/2021/crypto/Baby_Homework/best_crypto_service.py
ruhan-islam/ctf-archives
8c2bf6a608c821314d1a1cfaa05a6cccef8e3103
[ "MIT" ]
null
null
null
ICHSA/2021/crypto/Baby_Homework/best_crypto_service.py
ruhan-islam/ctf-archives
8c2bf6a608c821314d1a1cfaa05a6cccef8e3103
[ "MIT" ]
null
null
null
#!/usr/local/bin/python2 from Crypto.Cipher.AES import AESCipher import os, random, binascii from sys import argv import string import sys def padding(data): pad_size = 16 - (len(data) % 16) data = data + "".join([random.choice(string.printable) for _ in range(pad_size)]) return data def e...
24.615385
86
0.678125
91
640
4.615385
0.582418
0.052381
0.057143
0
0
0
0
0
0
0
0
0.009597
0.185938
640
26
87
24.615385
0.796545
0.035938
0
0
0
0
0.094595
0
0
0
0
0
0
0
null
null
0
0.263158
null
null
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9d3021c5c290e0a131401f588412218bcc94dbb
2,220
py
Python
tools/uwhd-demo-py/uwhd-demo.py
jroelofs/uwh-display
d3639f1a5791ddec7bec3cb3f57d56b3b6f17fcd
[ "BSD-3-Clause" ]
null
null
null
tools/uwhd-demo-py/uwhd-demo.py
jroelofs/uwh-display
d3639f1a5791ddec7bec3cb3f57d56b3b6f17fcd
[ "BSD-3-Clause" ]
null
null
null
tools/uwhd-demo-py/uwhd-demo.py
jroelofs/uwh-display
d3639f1a5791ddec7bec3cb3f57d56b3b6f17fcd
[ "BSD-3-Clause" ]
null
null
null
#!/bin/env python import sys import uwhd import time import random # Start up the GPIO for talking to the 32x32 panels io = uwhd.GPIO() if not io.Init(): print 'Try running this as:' print '' print '$ sudo PYTHONPATH=path/to/build/lib python uwhd-demo.py' sys.exit(-1) print "GPIO inited" # number of rows of...
22.886598
74
0.710811
345
2,220
4.562319
0.443478
0.031131
0.017154
0.012706
0.03939
0.024142
0.024142
0
0
0
0
0.040907
0.185135
2,220
96
75
23.125
0.829187
0.326126
0
0
0
0
0.25
0.018919
0
0
0
0
0
0
null
null
0
0.074074
null
null
0.37037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9d8e4e83018122c6f89016f935cdfb3e90b64fb
4,551
py
Python
brainframe_qt/ui/resources/paths/qt_qss_paths.py
aotuai/brainframe-qt
082cfd0694e569122ff7c63e56dd0ec4b62d5bac
[ "BSD-3-Clause" ]
17
2021-02-11T18:19:22.000Z
2022-02-08T06:12:50.000Z
brainframe_qt/ui/resources/paths/qt_qss_paths.py
aotuai/brainframe-qt
082cfd0694e569122ff7c63e56dd0ec4b62d5bac
[ "BSD-3-Clause" ]
80
2021-02-11T08:27:31.000Z
2021-10-13T21:33:22.000Z
brainframe_qt/ui/resources/paths/qt_qss_paths.py
aotuai/brainframe-qt
082cfd0694e569122ff7c63e56dd0ec4b62d5bac
[ "BSD-3-Clause" ]
5
2021-02-12T09:51:34.000Z
2022-02-08T09:25:15.000Z
from .all_resource_paths import register_path ui_dir = register_path("brainframe_qt", "ui") ############################################################################### # Main Window ############################################################################### # MainWindow main_window_dir = register_path(ui_dir...
38.567797
79
0.633487
499
4,551
5.256513
0.1002
0.201296
0.142966
0.032406
0.401067
0.297751
0.126191
0.086161
0.030499
0
0
0
0.089211
4,551
117
80
38.897436
0.632811
0.067897
0
0
0
0
0.202385
0.028737
0
0
0
0
0
1
0
false
0
0.018868
0
0.018868
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9da0ce7abc54a9c7d534590ef04704f137997c9
25,097
py
Python
ghdata/ghtorrent.py
GouravSardana/ghdata
648855af2abae1bacb8c32dc16e90d234aa64773
[ "MIT" ]
null
null
null
ghdata/ghtorrent.py
GouravSardana/ghdata
648855af2abae1bacb8c32dc16e90d234aa64773
[ "MIT" ]
null
null
null
ghdata/ghtorrent.py
GouravSardana/ghdata
648855af2abae1bacb8c32dc16e90d234aa64773
[ "MIT" ]
null
null
null
#SPDX-License-Identifier: MIT import pandas as pd import sqlalchemy as s import numpy as np import re class GHTorrent(object): """Uses GHTorrent and other GitHub data sources and returns dataframes with interesting GitHub indicators""" def __init__(self, dbstr): """ Connect to GHTorrent ...
51.010163
368
0.635972
3,373
25,097
4.581678
0.09576
0.045425
0.025624
0.019412
0.611233
0.551767
0.514689
0.466805
0.429986
0.382878
0
0.002929
0.278918
25,097
491
369
51.114053
0.851025
0.229111
0
0.267559
0
0.070234
0.658061
0.143746
0
0
0
0.002037
0
1
0.06689
false
0
0.013378
0
0.16388
0.003344
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9dc2db52f6678820c1a053b85fac4cf5b9580a2
863
py
Python
Closure_Project/rest_api/serializers/CourseSerializer.py
ScDor/closure
2d616679047ad705c3d73207230bfd4c3aa3a0d6
[ "MIT" ]
2
2021-07-03T12:10:08.000Z
2021-07-13T10:54:07.000Z
Closure_Project/rest_api/serializers/CourseSerializer.py
ScDor/closure
2d616679047ad705c3d73207230bfd4c3aa3a0d6
[ "MIT" ]
103
2021-05-02T10:52:57.000Z
2021-08-28T19:45:44.000Z
Closure_Project/rest_api/serializers/CourseSerializer.py
ScDor/closure
2d616679047ad705c3d73207230bfd4c3aa3a0d6
[ "MIT" ]
13
2021-06-11T12:41:03.000Z
2021-08-23T23:35:48.000Z
from rest_api.serializers.DynamicSerializer import DynamicFieldsModelSerializer from rest_framework import serializers from rest_api.models import Course, Student from rest_api.rest_utils import get_course_type class CourseSerializer(DynamicFieldsModelSerializer): pk = serializers.PrimaryKeyRelatedField(source='i...
37.521739
109
0.706837
98
863
6.020408
0.530612
0.054237
0.055932
0
0
0
0
0
0
0
0
0
0.196987
863
22
110
39.227273
0.851371
0
0
0
0
0
0.114716
0
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c9e2209afc930ec2a5c177e4a8182811a1aea267
5,704
py
Python
ros/src/waypoint_updater/waypoint_updater.py
simonry14/SDC_Capstone
b09f076ed1e635343fe37c6f94c5df2a4c1e2cf2
[ "MIT" ]
null
null
null
ros/src/waypoint_updater/waypoint_updater.py
simonry14/SDC_Capstone
b09f076ed1e635343fe37c6f94c5df2a4c1e2cf2
[ "MIT" ]
null
null
null
ros/src/waypoint_updater/waypoint_updater.py
simonry14/SDC_Capstone
b09f076ed1e635343fe37c6f94c5df2a4c1e2cf2
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from geometry_msgs.msg import PoseStamped from styx_msgs.msg import Lane, Waypoint from std_msgs.msg import Int32 from scipy.spatial import KDTree import numpy as np import math ''' This node will publish waypoints from the car's current position to some `x` distance ahead. As ment...
33.751479
123
0.738604
887
5,704
4.612176
0.29876
0.038132
0.025666
0.024933
0.056465
0.014666
0
0
0
0
0
0.012343
0.176192
5,704
169
124
33.751479
0.858268
0.259642
0
0.041237
0
0
0.034126
0
0
0
0
0.011834
0
1
0.134021
false
0.010309
0.072165
0.010309
0.268041
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c9ff036d7d617456dc9c67b29372df9076e328bb
1,475
py
Python
operator-pipeline-images/tests/entrypoints/test_hydra.py
mgreczi/operator-pipelines
2fd5cfbb702cecce98b80a307decf9d27e337416
[ "Apache-2.0" ]
4
2021-10-12T20:35:36.000Z
2022-02-04T11:35:59.000Z
operator-pipeline-images/tests/entrypoints/test_hydra.py
mgreczi/operator-pipelines
2fd5cfbb702cecce98b80a307decf9d27e337416
[ "Apache-2.0" ]
93
2021-07-14T13:24:09.000Z
2022-03-31T20:27:58.000Z
operator-pipeline-images/tests/entrypoints/test_hydra.py
mgreczi/operator-pipelines
2fd5cfbb702cecce98b80a307decf9d27e337416
[ "Apache-2.0" ]
34
2021-07-13T14:14:17.000Z
2022-03-25T05:42:24.000Z
from typing import Any from unittest.mock import MagicMock, patch from operatorcert import hydra from requests import HTTPError, Response def test_get_session_basic_auth(monkeypatch: Any) -> None: monkeypatch.setenv("HYDRA_USERNAME", "user") monkeypatch.setenv("HYDRA_PASSWORD", "password") session = hyd...
30.729167
88
0.730847
201
1,475
5.089552
0.283582
0.062561
0.048876
0.073314
0.479961
0.479961
0.44086
0.314761
0.191593
0.191593
0
0.005469
0.132203
1,475
47
89
31.382979
0.79375
0
0
0.333333
0
0
0.181017
0.063051
0
0
0
0
0.151515
1
0.151515
false
0.060606
0.121212
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a00a19d9c0321f97dd91aae7fa65b7f2bfaea9db
612
py
Python
freshmaker/migrations/versions/d6de0409fc74_.py
mulaievaRH/freshmaker
809b435d7cab1907eb74ecd898693835a92db9d8
[ "MIT" ]
5
2020-06-17T11:29:16.000Z
2022-03-24T07:20:16.000Z
freshmaker/migrations/versions/d6de0409fc74_.py
ronnyhlim/freshmaker
b7635dcfe631759e917c85e6ef6654024a3fb91c
[ "MIT" ]
96
2020-06-29T15:01:23.000Z
2022-03-30T08:07:06.000Z
freshmaker/migrations/versions/d6de0409fc74_.py
ronnyhlim/freshmaker
b7635dcfe631759e917c85e6ef6654024a3fb91c
[ "MIT" ]
20
2020-06-16T01:30:08.000Z
2022-02-19T15:34:55.000Z
"""Add original_nvr and rebuilt_nvr columns. Revision ID: d6de0409fc74 Revises: 3f56425964cf Create Date: 2017-10-10 12:57:59.802658 """ # revision identifiers, used by Alembic. revision = 'd6de0409fc74' down_revision = '3f56425964cf' from alembic import op import sqlalchemy as sa def upgrade(): op.add_column...
24.48
91
0.746732
83
612
5.325301
0.481928
0.126697
0.180995
0.085973
0.371041
0.149321
0.149321
0
0
0
0
0.096834
0.122549
612
24
92
25.5
0.726257
0.277778
0
0
0
0
0.299539
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a00d4456620515e771096f3d28b2f5322548f33a
2,825
py
Python
ripe_tester.py
insidemountain/RIPE
8f66dbb1af31366c735b912dcb722636d1049d08
[ "MIT" ]
63
2015-03-10T02:23:33.000Z
2022-01-20T05:37:42.000Z
ripe_tester.py
insidemountain/RIPE
8f66dbb1af31366c735b912dcb722636d1049d08
[ "MIT" ]
5
2015-05-11T20:11:20.000Z
2021-06-02T01:43:11.000Z
ripe_tester.py
insidemountain/RIPE
8f66dbb1af31366c735b912dcb722636d1049d08
[ "MIT" ]
24
2015-02-18T08:12:20.000Z
2021-12-23T10:57:12.000Z
# Developed by Nick Nikiforakis to assist the automated testing # using the RIPE evaluation tool # # Released under the MIT license (see file named LICENSE) # # This program is part the paper titled # RIPE: Runtime Intrusion Prevention Evaluator # Authored by: John Wilander, Nick Nikiforakis, Yves Younan, # ...
25.917431
140
0.63469
373
2,825
4.689008
0.431635
0.044025
0.02287
0.04574
0.095483
0.069754
0
0
0
0
0
0.013914
0.211327
2,825
108
141
26.157407
0.771095
0.163894
0
0.076923
0
0
0.299787
0.021748
0
0
0
0
0
0
null
null
0
0.030769
null
null
0.107692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a00fab59e49a0642b34594b6b9b07acba3f70774
637
py
Python
tests/test_full_house.py
kellerroman/elekro_planner
8cba04c6743f4d02709336086f363f35b701227d
[ "MIT" ]
null
null
null
tests/test_full_house.py
kellerroman/elekro_planner
8cba04c6743f4d02709336086f363f35b701227d
[ "MIT" ]
null
null
null
tests/test_full_house.py
kellerroman/elekro_planner
8cba04c6743f4d02709336086f363f35b701227d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from elektro_planner.read_setup import read_setup from elektro_planner.create_roombook import create_roombook from elektro_planner.calc_kabel import calc_wires from elektro_planner.associate_anschluesse import associate_objects_to_walls_and_nodes from pytest import approx def test_fully_house(...
30.333333
86
0.77865
93
637
5.032258
0.397849
0.094017
0.153846
0.098291
0.288462
0.132479
0
0
0
0
0
0.016158
0.125589
637
20
87
31.85
0.824057
0.265306
0
0
0
0
0.032468
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a010c0d8d09975b5961a8f96a8d9067e383f5360
375
py
Python
glennopt/helpers/list_functions.py
kant/GlennOPT
ca816c3708a2db5b98f8f1a7885305a8e18e179e
[ "NASA-1.3" ]
null
null
null
glennopt/helpers/list_functions.py
kant/GlennOPT
ca816c3708a2db5b98f8f1a7885305a8e18e179e
[ "NASA-1.3" ]
null
null
null
glennopt/helpers/list_functions.py
kant/GlennOPT
ca816c3708a2db5b98f8f1a7885305a8e18e179e
[ "NASA-1.3" ]
null
null
null
from typing import List def check_if_duplicates(listOfElems:List[str]) -> bool: """Checks if list has any duplicates Args: listOfElems (List[str]): List of strings Returns: bool: True = duplicates present, False = no duplicates """ if len(listOfElems) == len(set(listOfElem...
20.833333
62
0.624
44
375
5.272727
0.590909
0.12931
0.155172
0
0
0
0
0
0
0
0
0
0.282667
375
18
63
20.833333
0.862454
0.413333
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a0129793a1f74782eb1367e14d0d6d1ccb341e51
4,751
py
Python
src/pre.py
Moonshile/freshData
e71eb1d5909b2e3566b1e2b84882cbf9e3863ba2
[ "Apache-2.0" ]
null
null
null
src/pre.py
Moonshile/freshData
e71eb1d5909b2e3566b1e2b84882cbf9e3863ba2
[ "Apache-2.0" ]
null
null
null
src/pre.py
Moonshile/freshData
e71eb1d5909b2e3566b1e2b84882cbf9e3863ba2
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 import os from config import TRAIN_USER, TRAIN_ITEM, TRAIN_USER_SORTED,\ TRAIN_USER_SAMPLES, LABEL_SAMPLES, ANSWER_SAMPLES,\ TRAN_USER_OFFLINE, LABEL_OFFLINE, ANSWER_OFFLINE,\ TRAIN_USER_PARTS from utils import read_from_csv, write_to_csv, sort_raw_data, retrieve_item_ids # 根据用户名、时间对原始数据集进行...
29.880503
101
0.602399
668
4,751
4.034431
0.232036
0.063451
0.033395
0.022263
0.413729
0.31243
0.30538
0.297959
0.222635
0.222635
0
0.032229
0.28815
4,751
158
102
30.06962
0.764636
0.049463
0
0.333333
0
0
0.142127
0
0
0
0
0
0
0
null
null
0
0.04878
null
null
0.01626
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a01e349e2c7bee243583c77cb0762b0f9bdfb8b1
2,665
py
Python
info.py
Andrey1994/game_inspector
9ecddf12cfb93dc425baf6a6d3d48c114d07ad69
[ "MIT" ]
29
2019-07-01T00:21:33.000Z
2022-03-08T23:32:33.000Z
info.py
Andrey1994/game_inspector
9ecddf12cfb93dc425baf6a6d3d48c114d07ad69
[ "MIT" ]
1
2019-06-25T11:13:04.000Z
2019-06-30T18:01:18.000Z
info.py
Andrey1994/game_inspector
9ecddf12cfb93dc425baf6a6d3d48c114d07ad69
[ "MIT" ]
6
2019-07-01T15:25:08.000Z
2021-07-05T08:51:12.000Z
import subprocess import webbrowser import kivy from kivy.app import App from kivy.uix.widget import Widget from kivy.uix.button import Button from kivy.uix.label import Label from kivy.uix.boxlayout import BoxLayout from kivy.uix.screenmanager import ScreenManager, Screen usage_guide = \ ''' [size=40][b]Usage Guide...
41.640625
153
0.739212
408
2,665
4.710784
0.377451
0.045786
0.058273
0.099896
0.197711
0.173777
0.149844
0.03642
0.03642
0
0
0.024123
0.144465
2,665
64
154
41.640625
0.81886
0
0
0
0
0
0.0469
0
0
0
0
0
0
1
0.103448
false
0
0.310345
0
0.448276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4e43a184770d3dc73c8c4db1be08fa3bf3398aad
1,100
py
Python
code/notes/utilities/pre_processing/py4j_newsreader/tok.py
ktwaco/nlproject
16f02158fecdfe55a73a2c5c1e78376da935b50d
[ "Apache-2.0" ]
null
null
null
code/notes/utilities/pre_processing/py4j_newsreader/tok.py
ktwaco/nlproject
16f02158fecdfe55a73a2c5c1e78376da935b50d
[ "Apache-2.0" ]
null
null
null
code/notes/utilities/pre_processing/py4j_newsreader/tok.py
ktwaco/nlproject
16f02158fecdfe55a73a2c5c1e78376da935b50d
[ "Apache-2.0" ]
null
null
null
"""Allows newsreader tokenization component to be accessed by python. """ from subprocess import Popen, PIPE, STDOUT from py4j.java_collections import JavaArray from py4j.java_gateway import JavaGateway from py4j.protocol import Py4JNetworkError import re import os import time import sys from gateway import GateWay...
18.965517
75
0.64
119
1,100
5.764706
0.563025
0.034985
0.034985
0
0
0
0
0
0
0
0
0.015464
0.294545
1,100
57
76
19.298246
0.868557
0.026364
0
0
0
0
0.096289
0
0
0
0
0
0
0
null
null
0.033333
0.3
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e44df4dba1220622395129688ddb6a7ecd10074
13,501
py
Python
premium-main/setting.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-17T03:35:03.000Z
2021-12-08T06:00:31.000Z
premium-main/setting.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
null
null
null
premium-main/setting.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-05T18:07:48.000Z
2022-02-24T21:25:07.000Z
########################################################################### # TEAM : ZEE K WORLD,MR.RISKY,WANSXGANS, # # SOSIAL : # # - Facebook : https://m.facebook.com/llovexnxx # # - WhatsApp : https://wa.me/6283143565470 # # - TeleGram : 6283143565470 # # - Github : ...
34.976684
390
0.59403
1,960
13,501
3.854592
0.202041
0.117538
0.1546
0.163071
0.57816
0.524289
0.499404
0.462078
0.392852
0.392852
0
0.082347
0.180579
13,501
385
391
35.067532
0.599205
0.089475
0
0.338235
0
0.029412
0.350266
0.032572
0.003676
0
0
0
0
1
0.022059
false
0.003676
0.297794
0
0.319853
0.033088
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e45c7aa63bdb6fe7f9280c8343f29963fa041e8
4,727
py
Python
boa3/analyser/importanalyser.py
DanPopa46/neo3-boa
e4ef340744b5bd25ade26f847eac50789b97f3e9
[ "Apache-2.0" ]
null
null
null
boa3/analyser/importanalyser.py
DanPopa46/neo3-boa
e4ef340744b5bd25ade26f847eac50789b97f3e9
[ "Apache-2.0" ]
null
null
null
boa3/analyser/importanalyser.py
DanPopa46/neo3-boa
e4ef340744b5bd25ade26f847eac50789b97f3e9
[ "Apache-2.0" ]
null
null
null
import ast import importlib.util import os from typing import Dict, List from boa3.analyser.astanalyser import IAstAnalyser from boa3.model.builtin.builtin import Builtin from boa3.model.symbol import ISymbol from boa3.model.type.type import Type class ImportAnalyser(IAstAnalyser): def __init__(self, import_tar...
37.816
103
0.591284
559
4,727
4.781753
0.220036
0.026936
0.020202
0.038159
0.188178
0.112608
0.112608
0.05275
0.05275
0.037411
0
0.006866
0.322192
4,727
124
104
38.120968
0.827403
0.058811
0
0.11236
0
0
0.015203
0
0
0
0
0.016129
0
1
0.078652
false
0
0.269663
0.033708
0.47191
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4e4640ff1d7df029c65cf5f8edb5dcd6d2984da1
1,330
py
Python
setup.py
tokyo/tokyo
61b6a911dc374b296f7b7907d95fef33b1fd97fc
[ "BSD-3-Clause" ]
16
2015-01-13T21:22:35.000Z
2020-01-20T23:44:28.000Z
setup.py
tokyo/tokyo
61b6a911dc374b296f7b7907d95fef33b1fd97fc
[ "BSD-3-Clause" ]
null
null
null
setup.py
tokyo/tokyo
61b6a911dc374b296f7b7907d95fef33b1fd97fc
[ "BSD-3-Clause" ]
3
2016-06-18T13:55:15.000Z
2021-09-30T18:51:02.000Z
#!/usr/bin/env python from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy as np ext_params = {} ext_params['include_dirs'] = [ '/usr/include', '/System/Library/Frameworks/vecLib.framework/Versions/A/Headers', np.get_include()] ext...
35
81
0.684962
174
1,330
5.022989
0.442529
0.133867
0.064073
0.072082
0.059497
0
0
0
0
0
0
0.001794
0.161654
1,330
37
82
35.945946
0.782063
0.229323
0
0
0
0
0.302852
0.060964
0
0
0
0.027027
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4e4c78917a4a29c8ef16383c28d13e5835d182e6
3,921
py
Python
mist_api/mist_api.py
interlegis/mist-api
dc8b3b868eafa6bb90e713d40e5da02f86fe5acf
[ "Apache-2.0" ]
null
null
null
mist_api/mist_api.py
interlegis/mist-api
dc8b3b868eafa6bb90e713d40e5da02f86fe5acf
[ "Apache-2.0" ]
null
null
null
mist_api/mist_api.py
interlegis/mist-api
dc8b3b868eafa6bb90e713d40e5da02f86fe5acf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import md5 import json import time import requests import argparse from datetime import datetime # MistServer API # http://mistserver.org/doxygen/api.html parser = argparse.ArgumentParser(description="""Get statistics from Mistserver, usage: python mi...
34.394737
79
0.58276
442
3,921
5.047511
0.321267
0.024653
0.03048
0.038996
0.167638
0.167638
0.132676
0.132676
0.132676
0.132676
0
0.003961
0.291762
3,921
113
80
34.699115
0.799424
0.083397
0
0.144578
0
0
0.210218
0.0067
0
0
0
0
0
1
0.060241
false
0.168675
0.072289
0
0.180723
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4e5f380e2b1dbae77bc60ed5ce26578eb90ba3d0
5,857
py
Python
bundle_cache/app_store/tk-flame/v1.14.4/python/startup/app_launcher.py
ColinKennedy/tk-config-default2-respawn
855fb8033daa549b92615792442f19a7f9c4f55c
[ "Linux-OpenIB" ]
4
2019-01-11T03:41:28.000Z
2019-09-12T06:57:17.000Z
bundle_cache/app_store/tk-flame/v1.14.4/python/startup/app_launcher.py
ColinKennedy/tk-config-default2-respawn
855fb8033daa549b92615792442f19a7f9c4f55c
[ "Linux-OpenIB" ]
null
null
null
bundle_cache/app_store/tk-flame/v1.14.4/python/startup/app_launcher.py
ColinKennedy/tk-config-default2-respawn
855fb8033daa549b92615792442f19a7f9c4f55c
[ "Linux-OpenIB" ]
2
2019-01-10T05:00:18.000Z
2020-02-15T16:32:56.000Z
# Copyright (c) 2014 Shotgun Software Inc. # # CONFIDENTIAL AND PROPRIETARY # # This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit # Source Code License included in this distribution package. See LICENSE. # By accessing, using, copying or modifying this work you indicate your # agreement to t...
43.385185
111
0.733652
869
5,857
4.771001
0.318757
0.047757
0.033767
0.032079
0.208394
0.165943
0.132899
0.116498
0.065605
0.043415
0
0.00426
0.198395
5,857
134
112
43.708955
0.878807
0.430767
0
0.127273
0
0
0.24186
0.100537
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.036364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e60439a088f2a1bd0fad2dd8b3b17cb8a0c35f0
1,195
py
Python
www/apis.py
Eonothem/webapp-python
ae5e0e278b27cf0a11b5af157021f6c631829da3
[ "MIT" ]
null
null
null
www/apis.py
Eonothem/webapp-python
ae5e0e278b27cf0a11b5af157021f6c631829da3
[ "MIT" ]
3
2017-11-02T15:25:37.000Z
2018-03-20T10:31:16.000Z
www/apis.py
Eonothem/webapp-python
ae5e0e278b27cf0a11b5af157021f6c631829da3
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Eonothem' ''' JSON API definition package the APIError for the request handler in coroweb. ''' import json, logging, inspect, functools class APIError(Exception): ''' the base APIError which contains error(required), data(optional) and messgae(optional)...
26.555556
97
0.727197
144
1,195
5.784722
0.423611
0.033613
0.052821
0.045618
0.067227
0.067227
0
0
0
0
0
0.000974
0.140586
1,195
44
98
27.159091
0.810127
0.282845
0
0.117647
0
0
0.090041
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4e7a093b04cc3d671ae413a630ff5921ccfd7b10
1,132
py
Python
diggen-annons-hrd/model.py
designgreenhouse/GoogleAppEngine
d436dcf8b2df42f0f698192ead4fa8be0a025006
[ "MIT" ]
null
null
null
diggen-annons-hrd/model.py
designgreenhouse/GoogleAppEngine
d436dcf8b2df42f0f698192ead4fa8be0a025006
[ "MIT" ]
null
null
null
diggen-annons-hrd/model.py
designgreenhouse/GoogleAppEngine
d436dcf8b2df42f0f698192ead4fa8be0a025006
[ "MIT" ]
null
null
null
from google.appengine.ext import db class Ad(db.Model): created = db.DateTimeProperty(auto_now_add=True) title = db.StringProperty() blurb = db.StringProperty(multiline=True) price = db.StringProperty() price2 = db.IntegerProperty() image = db.BlobProperty() image_thumb = db.BlobProperty() ...
31.444444
52
0.69788
128
1,132
6.078125
0.328125
0.161954
0.14653
0.061697
0.613111
0.613111
0.494859
0.494859
0.494859
0.494859
0
0.001083
0.184629
1,132
35
53
32.342857
0.84182
0
0
0.59375
0
0
0
0
0
0
0
0
0
1
0
false
0.03125
0.03125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4e7cb3e84b45c044e5d8c6be557700b8c646165d
247
py
Python
droput_authentication/tests/unittest/main/db_test.py
hosein-yousefii/DROPUT
99a714f03a92b14228a3691ca6568ece0f0ea48c
[ "Apache-2.0" ]
2
2022-03-17T08:08:07.000Z
2022-03-17T21:38:54.000Z
droput_authentication/tests/unittest/main/db_test.py
hosein-yousefii/DROPUT
99a714f03a92b14228a3691ca6568ece0f0ea48c
[ "Apache-2.0" ]
null
null
null
droput_authentication/tests/unittest/main/db_test.py
hosein-yousefii/DROPUT
99a714f03a92b14228a3691ca6568ece0f0ea48c
[ "Apache-2.0" ]
null
null
null
import pytest from droput_auth.droput_auth import db def test_database(app): with app.app_context(): result = db.engine.execute("SELECT * from user limit 1;").first() return result assert result[0] == "droput_auth"
20.583333
73
0.668016
34
247
4.705882
0.676471
0.1875
0
0
0
0
0
0
0
0
0
0.010471
0.226721
247
11
74
22.454545
0.827225
0
0
0
0
0
0.153846
0
0
0
0
0
0.142857
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4e7eb6fc7e9058191af5b9428f1780544d98e353
10,860
py
Python
adfd/model.py
ADFD/adfd
5e86e2f81b0824d86d67dfeee3688942474422af
[ "BSD-3-Clause" ]
null
null
null
adfd/model.py
ADFD/adfd
5e86e2f81b0824d86d67dfeee3688942474422af
[ "BSD-3-Clause" ]
3
2015-11-23T07:31:24.000Z
2020-12-24T09:10:31.000Z
adfd/model.py
ADFD/adfd
5e86e2f81b0824d86d67dfeee3688942474422af
[ "BSD-3-Clause" ]
null
null
null
import json import logging from functools import total_ordering, cached_property from typing import List, Union, Tuple, Optional import plumbum from pygments import highlight from pygments.formatters.html import HtmlFormatter from pygments.lexers import get_lexer_by_name from pygments.styles import get_style_by_name ...
27.014925
88
0.625322
1,268
10,860
5.175868
0.190852
0.073747
0.067347
0.018132
0.303063
0.220478
0.165168
0.135304
0.09904
0.09904
0
0.002533
0.272836
10,860
401
89
27.082294
0.828542
0.041436
0
0.350168
0
0
0.046696
0.027207
0
0
0
0.002494
0.020202
1
0.198653
false
0
0.050505
0.117845
0.498317
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
4e89732355a9627724576521db0942525fa68447
586
py
Python
nycTaxis/bin/addFileToDataFrame.py
Strandtasche/nycTaxis
88b4fcbf9030814f3ccd70fbd04004152da0ca7b
[ "MIT" ]
null
null
null
nycTaxis/bin/addFileToDataFrame.py
Strandtasche/nycTaxis
88b4fcbf9030814f3ccd70fbd04004152da0ca7b
[ "MIT" ]
null
null
null
nycTaxis/bin/addFileToDataFrame.py
Strandtasche/nycTaxis
88b4fcbf9030814f3ccd70fbd04004152da0ca7b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys from nycTaxis import core from nycTaxis import dataHandler assert len(sys.argv) == 2, "Usage: 1. Argument - path to csv file or folder" dataPath = sys.argv[1] dataFrameTotal = dataHandler.loadDataFrame('/home/tobi/Projects/BlueYonder/etc/data.h5') ...
25.478261
88
0.759386
79
586
5.632911
0.632911
0.053933
0.080899
0.116854
0.157303
0.157303
0.157303
0
0
0
0
0.015414
0.114334
586
22
89
26.636364
0.842004
0.073379
0
0
0
0
0.320965
0.155844
0
0
0
0
0.076923
1
0
false
0
0.307692
0
0.307692
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4e8d2143275f6761e6c256622875157854f96c75
846
py
Python
user/migrations/0007_alter_department_names.py
oriolclosa/kthack-app
50850686ee994d2dfe463bd3fda7d7cd71d94d13
[ "MIT" ]
1
2019-07-30T08:16:55.000Z
2019-07-30T08:16:55.000Z
user/migrations/0007_alter_department_names.py
oriolclosa/kthack-app
50850686ee994d2dfe463bd3fda7d7cd71d94d13
[ "MIT" ]
15
2019-08-04T12:07:31.000Z
2022-02-10T09:41:55.000Z
user/migrations/0007_alter_department_names.py
oriolclosa/kthack-app
50850686ee994d2dfe463bd3fda7d7cd71d94d13
[ "MIT" ]
1
2019-08-20T17:28:18.000Z
2019-08-20T17:28:18.000Z
# Generated by Django 2.2.4 on 2019-08-11 14:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("user", "0006_add_company_information")] operations = [ migrations.AlterField( model_name="department", name="type", f...
27.290323
61
0.413712
62
846
5.580645
0.854839
0
0
0
0
0
0
0
0
0
0
0.067391
0.456265
846
30
62
28.2
0.684783
0.053191
0
0
1
0
0.172716
0.035044
0
0
0
0
0
1
0
false
0
0.041667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e97598e05430efeb4495c70563ff48c1ce091dd
204
py
Python
540. Single Element in a Sorted Array/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
2
2019-10-05T09:48:20.000Z
2019-10-05T15:40:01.000Z
540. Single Element in a Sorted Array/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
null
null
null
540. Single Element in a Sorted Array/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
3
2020-09-27T05:48:30.000Z
2021-08-13T10:07:08.000Z
class Solution: def singleNonDuplicate(self, nums): """ :type nums: List[int] :rtype: int """ c=0 for num in nums: c=c^num return c
18.545455
39
0.446078
23
204
3.956522
0.695652
0
0
0
0
0
0
0
0
0
0
0.008929
0.45098
204
10
40
20.4
0.803571
0.161765
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ea4c4b0d99c6ab3fea7a21619105ea6a0b4adaf
2,014
py
Python
python/sklearn/examples/gaussian_process/gp_diabetes_dataset.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
1
2017-10-14T04:23:45.000Z
2017-10-14T04:23:45.000Z
python/sklearn/examples/gaussian_process/gp_diabetes_dataset.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
python/sklearn/examples/gaussian_process/gp_diabetes_dataset.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """ ======================================================================== Gaussian Processes regression: goodness-of-fit on the 'diabetes' dataset ======================================================================== This example consists in fitting a Gaussian Process m...
38.730769
79
0.698113
276
2,014
5.043478
0.481884
0.053879
0.05819
0.051724
0.10704
0.10704
0.079023
0.079023
0.079023
0
0
0.015873
0.155412
2,014
51
80
39.490196
0.802469
0.261668
0
0
0
0
0.145324
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ebfe33f899f57dfef48beafd6a22c317bf8dd60
522
py
Python
airflow/01-read-and-slice.py
pierrepita/fundamentos-big-data
fffc07357c4675ef159a83f2a16e02c7ee8b126c
[ "Apache-2.0" ]
null
null
null
airflow/01-read-and-slice.py
pierrepita/fundamentos-big-data
fffc07357c4675ef159a83f2a16e02c7ee8b126c
[ "Apache-2.0" ]
null
null
null
airflow/01-read-and-slice.py
pierrepita/fundamentos-big-data
fffc07357c4675ef159a83f2a16e02c7ee8b126c
[ "Apache-2.0" ]
1
2021-04-09T22:47:02.000Z
2021-04-09T22:47:02.000Z
import pyspark from pyspark.context import SparkContext from pyspark.sql.session import SparkSession sc = pyspark.SparkContext(master = "spark://node1:7077", appName='reading-and-slicing') spark = SparkSession(sc) # Lendo arquivo df = spark.read.csv('hdfs://node1:9000/raw/DNPBA2017.csv', header=True) # Separando v...
26.1
93
0.745211
66
522
5.893939
0.681818
0.056555
0.066838
0.082262
0.128535
0
0
0
0
0
0
0.048936
0.099617
522
19
94
27.473684
0.778723
0.128352
0
0
0
0
0.356347
0.164811
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4ecc45963b1b5a2f42c21aaed043329659cae254
359
py
Python
dataflow/DataObjects/Enumerations/MassBalanceIndexDailyEnumerations.py
GLAMOS/dataflow
af7ca2dea122b3bccee0bdfd4292190bd71eccca
[ "MIT" ]
1
2018-05-22T14:46:48.000Z
2018-05-22T14:46:48.000Z
dataflow/DataObjects/Enumerations/MassBalanceIndexDailyEnumerations.py
GLAMOS/dataflow
af7ca2dea122b3bccee0bdfd4292190bd71eccca
[ "MIT" ]
22
2018-05-18T15:28:48.000Z
2019-09-05T06:19:33.000Z
dataflow/DataObjects/Enumerations/MassBalanceIndexDailyEnumerations.py
GLAMOS/dataflow
af7ca2dea122b3bccee0bdfd4292190bd71eccca
[ "MIT" ]
4
2018-07-09T05:08:49.000Z
2021-03-23T08:19:36.000Z
''' Created on 22.03.2021 @author: elias ''' from enum import Enum, unique @unique class SurfaceTypeEnum(Enum): ''' Enumeration defining the value type of mass balance index. 0 = NotDefinedUnknown 1 = ice 2 = firn 3 = snow 4 = fresh snow ''' NotDefinedUnknown = 0 Ice = 1 ...
14.958333
62
0.598886
46
359
4.673913
0.717391
0
0
0
0
0
0
0
0
0
0
0.072874
0.311978
359
24
63
14.958333
0.797571
0.445682
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ecf4f44bd5e8cdda02de314a7642a7a31d6a9ca
2,167
py
Python
tests/test_file_handlers.py
DirksCGM/turbo-stream
dc297376726a6f68f3eafcce2244870d5e12fca7
[ "MIT" ]
1
2022-03-09T13:45:31.000Z
2022-03-09T13:45:31.000Z
tests/test_file_handlers.py
DirksCGM/turbo-stream
dc297376726a6f68f3eafcce2244870d5e12fca7
[ "MIT" ]
null
null
null
tests/test_file_handlers.py
DirksCGM/turbo-stream
dc297376726a6f68f3eafcce2244870d5e12fca7
[ "MIT" ]
null
null
null
""" Test turbo_stream.utils.file_handlers """ import os import unittest from turbo_stream.utils.file_handlers import load_file, write_file class TestFileHandlers(unittest.TestCase): """ Test turbo_stream.utils.file_handlers """ def test_load_file_json(self): """ Test if file_loader s...
29.684932
85
0.584679
259
2,167
4.698842
0.158301
0.066557
0.057518
0.103533
0.778143
0.746919
0.542317
0.423993
0.167625
0.167625
0
0
0.268574
2,167
72
86
30.097222
0.767823
0.195662
0
0.171429
0
0
0.203335
0.045542
0
0
0
0
0.2
1
0.2
false
0
0.085714
0
0.314286
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ecf8bb873a1035a25aaac627cf037c9748ed37f
273
py
Python
runner/action/feature/feature.py
PC-Trip/runner
e13291e25a2bc2962523a1de2d13725609497cb5
[ "MIT" ]
null
null
null
runner/action/feature/feature.py
PC-Trip/runner
e13291e25a2bc2962523a1de2d13725609497cb5
[ "MIT" ]
null
null
null
runner/action/feature/feature.py
PC-Trip/runner
e13291e25a2bc2962523a1de2d13725609497cb5
[ "MIT" ]
null
null
null
from runner.action.action import Action class Feature(Action): """Feature - action with value Args: value (object): value of the feature """ def __init__(self, value=None, **kwargs): super().__init__(**kwargs) self.value = value
19.5
45
0.619048
32
273
5.03125
0.5625
0.161491
0
0
0
0
0
0
0
0
0
0
0.260073
273
13
46
21
0.79703
0.274725
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ed1e49be2c541a15e1738885bfc0908a11bed28
266
py
Python
subplots.py
culdo/NPTU_AI_course
43cc227cbf85b442d4865fdf6985fe9f675fe476
[ "MIT" ]
null
null
null
subplots.py
culdo/NPTU_AI_course
43cc227cbf85b442d4865fdf6985fe9f675fe476
[ "MIT" ]
null
null
null
subplots.py
culdo/NPTU_AI_course
43cc227cbf85b442d4865fdf6985fe9f675fe476
[ "MIT" ]
1
2020-10-08T12:14:25.000Z
2020-10-08T12:14:25.000Z
import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(311) ax.plot(range(5)) ax = fig.add_subplot(323) ax.plot(range(6)) ax = fig.add_subplot(324) ax.plot(range(7)) # Second method ax = fig.add_subplot(3, 2, (5, 6)) ax.plot(range(8)) plt.show()
16.625
34
0.68797
51
266
3.509804
0.470588
0.111732
0.178771
0.335196
0
0
0
0
0
0
0
0.072961
0.12406
266
15
35
17.733333
0.695279
0.048872
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ed45fa41310e4cdbc80ebab8ad9b23f99921627
840
py
Python
esp8266/MicroPython ESP8266/CRAWLAB base/esp8266_MicroPy_main_boilerplate.py
DocVaughan/CRAWLAB-Code-Snippets
90c946bef0fbe37401f822d58ce5a6b3c5349616
[ "BSD-3-Clause" ]
12
2015-03-03T18:32:03.000Z
2021-03-13T18:50:37.000Z
esp8266/MicroPython ESP8266/CRAWLAB base/esp8266_MicroPy_main_boilerplate.py
DocVaughan/CRAWLAB-Code-Snippets
90c946bef0fbe37401f822d58ce5a6b3c5349616
[ "BSD-3-Clause" ]
null
null
null
esp8266/MicroPython ESP8266/CRAWLAB base/esp8266_MicroPy_main_boilerplate.py
DocVaughan/CRAWLAB-Code-Snippets
90c946bef0fbe37401f822d58ce5a6b3c5349616
[ "BSD-3-Clause" ]
7
2017-01-20T20:31:54.000Z
2021-12-28T16:52:48.000Z
#! /usr/bin/env python ############################################################################### # esp8266_MicroPy_main_boilerplate.py # # base main.py boilerplate code for MicroPython running on the esp8266 # Copy relevant parts and/or file with desired settings into main.py on the esp8266 # # The main.py file...
32.307692
84
0.583333
111
840
4.387387
0.675676
0.049281
0.049281
0.053388
0
0
0
0
0
0
0
0.035162
0.153571
840
26
85
32.307692
0.649789
0.669048
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4ed6b485cea952f46eb7497c81e230409d4d91b6
322
py
Python
Topics/Class/Who is who/main.py
the-rennegade/jet-brains-coffee-machine
cd7c395d748e951b2fd9c724a8121d0f076a4633
[ "MIT" ]
null
null
null
Topics/Class/Who is who/main.py
the-rennegade/jet-brains-coffee-machine
cd7c395d748e951b2fd9c724a8121d0f076a4633
[ "MIT" ]
null
null
null
Topics/Class/Who is who/main.py
the-rennegade/jet-brains-coffee-machine
cd7c395d748e951b2fd9c724a8121d0f076a4633
[ "MIT" ]
null
null
null
class Angel: color = "white" feature = "wings" home = "Heaven" class Demon: color = "red" feature = "horns" home = "Hell" my_angel = Angel() print(my_angel.color) print(my_angel.feature) print(my_angel.home) my_demon = Demon() print(my_demon.color) print(my_demon.feature) print(my_demon.home...
15.333333
23
0.670807
46
322
4.521739
0.304348
0.201923
0.173077
0
0
0
0
0
0
0
0
0
0.192547
322
20
24
16.1
0.8
0
0
0
0
0
0.086957
0
0
0
0
0
0
1
0
false
0
0
0
0.5
0.375
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ed6d9987fafe5a141a6f2ebb10432c73134a963
800
py
Python
feedback/reviews/migrations/0001_initial.py
goulartdev/udemy-django-course
f39ab36aacdf47d19f8c286c317cc54d8358dadc
[ "MIT" ]
null
null
null
feedback/reviews/migrations/0001_initial.py
goulartdev/udemy-django-course
f39ab36aacdf47d19f8c286c317cc54d8358dadc
[ "MIT" ]
null
null
null
feedback/reviews/migrations/0001_initial.py
goulartdev/udemy-django-course
f39ab36aacdf47d19f8c286c317cc54d8358dadc
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-09-09 22:59 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Review', fields=[ ...
32
151
0.63625
82
800
6.134146
0.634146
0.079523
0.159046
0.119284
0
0
0
0
0
0
0
0.037582
0.235
800
24
152
33.333333
0.784314
0.05625
0
0
1
0
0.046481
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ed85434100cc3a7af721edceeece2e230eaae45
699
py
Python
kde/frameworks/tier1/kwindowsystem/kwindowsystem.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-09-04T09:01:03.000Z
2022-01-04T20:09:00.000Z
kde/frameworks/tier1/kwindowsystem/kwindowsystem.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
14
2017-12-15T08:11:22.000Z
2020-12-29T19:11:13.000Z
kde/frameworks/tier1/kwindowsystem/kwindowsystem.py
wrobelda/craft-blueprints-kde
366f460cecd5baebdf3a695696767c8c0e5e7c7e
[ "BSD-2-Clause" ]
19
2017-09-05T19:16:21.000Z
2020-10-18T12:46:06.000Z
import info class subinfo(info.infoclass): def setTargets(self): self.versionInfo.setDefaultValues() self.description = "KWindowSystem" def setDependencies(self): self.buildDependencies["virtual/base"] = None self.buildDependencies["kde/frameworks/extra-cmake-modules"] = None...
26.884615
75
0.682403
66
699
7.106061
0.545455
0.147122
0.172708
0.191898
0
0
0
0
0
0
0
0.009058
0.2103
699
25
76
27.96
0.84058
0
0
0
0
0
0.16309
0.048641
0
0
0
0
0
1
0.176471
false
0
0.117647
0
0.411765
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ed85babf4786c6de6974618e9a2c1b635c878d7
445
py
Python
run/XYw_kmeans.py
ai-ku/uwsd
a74c5c8ebb668a2a1e6156a4b1570dfaa762e931
[ "MIT" ]
3
2015-08-23T04:12:38.000Z
2022-02-05T23:30:06.000Z
run/XYw_kmeans.py
ai-ku/uwsd
a74c5c8ebb668a2a1e6156a4b1570dfaa762e931
[ "MIT" ]
null
null
null
run/XYw_kmeans.py
ai-ku/uwsd
a74c5c8ebb668a2a1e6156a4b1570dfaa762e931
[ "MIT" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- __author__ = "Osman Baskaya" import sys from nlp_utils import find_files embeddings_path = sys.argv[1] output_path = sys.argv[2] subs_f = sys.argv[3] X_embeddings_path = "%s/X" % embeddings_path Y_embeddings_path = "%s/Y" % embeddings_path #aiku/on/km-p/n.XYv.km.%.gz: ai...
22.25
81
0.665169
82
445
3.414634
0.646341
0.25
0.078571
0
0
0
0
0
0
0
0
0.023622
0.14382
445
19
82
23.421053
0.711286
0.424719
0
0
0
0
0.083665
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4edcd067690bc7e70f25a2dbff5b73f524deea5b
1,153
py
Python
studyPython2/advanced_usage/higher_order_function/test_reduce.py
fairylyk/studyPy
b227b92ac5707fba665942adbaba6943940819fd
[ "Apache-2.0" ]
null
null
null
studyPython2/advanced_usage/higher_order_function/test_reduce.py
fairylyk/studyPy
b227b92ac5707fba665942adbaba6943940819fd
[ "Apache-2.0" ]
1
2021-03-25T22:44:19.000Z
2021-03-25T22:44:19.000Z
studyPython2/advanced_usage/higher_order_function/test_reduce.py
fairylyk/studyPy
b227b92ac5707fba665942adbaba6943940819fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # vim: set fileencoding=utf-8 : class TestReduce(object): """ reduce:对应的函数必须有两个参数,上次计算的结果为下一次执行fun的第一个参数 """ def add(self, x, y): return x+y def map(self, x): return def reduce_num(self, x, y): return x*10+y def test_reduce_num(self): l...
24.531915
68
0.510841
169
1,153
3.384615
0.278107
0.017483
0.020979
0.047203
0.263986
0.171329
0.171329
0.118881
0.118881
0.118881
0
0.08634
0.326973
1,153
47
69
24.531915
0.650773
0.152645
0
0.230769
0
0
0.017505
0
0
0
0
0
0
0
null
null
0
0
null
null
0.115385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14c62a3e665666e4544256e9f92481e462427015
471
py
Python
whatshouldibuild.py
rjbernaldo/python-projects
9f211200ccb1a2b79935874ba475dbfd020c3bf4
[ "MIT" ]
null
null
null
whatshouldibuild.py
rjbernaldo/python-projects
9f211200ccb1a2b79935874ba475dbfd020c3bf4
[ "MIT" ]
null
null
null
whatshouldibuild.py
rjbernaldo/python-projects
9f211200ccb1a2b79935874ba475dbfd020c3bf4
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import json from random import randint with open('ideas.json') as data_file: data = json.load(data_file) for index, item in enumerate(data): print index, item['category'] argument = raw_input('Please choose a topic: ') available_topics = data[int(argument)]['topics'] topic_ind...
21.409091
51
0.747346
69
471
4.956522
0.57971
0.175439
0.140351
0.146199
0.175439
0
0
0
0
0
0
0.004843
0.123142
471
21
52
22.428571
0.823245
0.042463
0
0
0
0
0.144444
0
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14c7affb62835ed94acfdca5f377591a5e52ddea
15,512
py
Python
run_exp_AB.py
bootphon/crossitlearn
7a6ba6952e5854536c18fa34748309266b79231c
[ "MIT" ]
4
2015-05-27T08:59:37.000Z
2020-03-17T22:26:59.000Z
run_exp_AB.py
bootphon/crossitlearn
7a6ba6952e5854536c18fa34748309266b79231c
[ "MIT" ]
1
2018-04-06T16:06:19.000Z
2018-04-10T04:24:39.000Z
run_exp_AB.py
bootphon/crossitlearn
7a6ba6952e5854536c18fa34748309266b79231c
[ "MIT" ]
2
2015-03-07T10:31:01.000Z
2019-10-05T07:38:40.000Z
"""Runs deep learning experiments on speech dataset. Usage: run_exp.py [--dataset-path=path] [--dataset-name=pascal1k] [--batch-size=100] [--init-lr=0.001] [--epochs=500] [--network-type=crossnet] [--trainer-type=adadelta] [--prefix-output-fname=my_prefix_42] [--debug-test] [--debug-print=0] [-...
40.186528
122
0.606563
1,968
15,512
4.558943
0.194614
0.022069
0.015604
0.011703
0.313754
0.26683
0.247436
0.19037
0.153255
0.145007
0
0.018652
0.284554
15,512
385
123
40.290909
0.789782
0.093669
0
0.174658
0
0
0.113331
0.011082
0
0
0
0.007792
0.010274
0
null
null
0
0.041096
null
null
0.14726
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14dbd607933317e3f051bf3c38a601a4f97ca9c7
941
py
Python
backend/faq/models.py
hellsayenci/ats
8c7166ac1f797d3cf2c6fc92d3ac2e78f550fb53
[ "Apache-2.0" ]
9
2019-12-22T09:43:45.000Z
2021-11-14T20:43:00.000Z
backend/faq/models.py
hellsayenci/ats
8c7166ac1f797d3cf2c6fc92d3ac2e78f550fb53
[ "Apache-2.0" ]
11
2020-06-06T01:01:39.000Z
2022-02-10T20:33:13.000Z
backend/faq/models.py
hellsayenci/ats
8c7166ac1f797d3cf2c6fc92d3ac2e78f550fb53
[ "Apache-2.0" ]
4
2019-12-22T05:26:50.000Z
2021-07-29T04:10:21.000Z
from django.db import models from django.utils.translation import gettext as _ class Faq(models.Model): title = models.CharField(max_length=250, verbose_name=_('faq title')) description = models.CharField(max_length=250, verbose_name=_('faq description')) is_published = models.BooleanField(default=True, v...
31.366667
85
0.680128
111
941
5.486486
0.441441
0.162562
0.08867
0.118227
0.197044
0.197044
0.197044
0.134647
0
0
0
0.013089
0.188098
941
29
86
32.448276
0.784031
0
0
0.095238
0
0
0.088204
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0.047619
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
14dca88076ae2d5fbd64d8cc4543cdb7397f8d62
1,442
py
Python
examples/market1501/feature_extract/extract_query_baseline.py
fqzhu001/caffe-pdh-reid-2016
fec51ff5c288f6e460a4848a6574130ed0809770
[ "BSD-2-Clause" ]
14
2017-05-08T09:34:28.000Z
2020-11-06T19:02:16.000Z
examples/market1501/feature_extract/extract_query_baseline.py
fqzhu001/caffe-pdh-reid-2016
fec51ff5c288f6e460a4848a6574130ed0809770
[ "BSD-2-Clause" ]
1
2017-05-02T08:42:35.000Z
2017-05-10T07:44:38.000Z
examples/market1501/feature_extract/extract_query_baseline.py
fqzhu001/caffe-pdh-reid-2016
fec51ff5c288f6e460a4848a6574130ed0809770
[ "BSD-2-Clause" ]
3
2017-05-23T14:41:51.000Z
2019-09-16T08:22:26.000Z
import numpy as np import sys import os from os import path caffe_root = '/home/dlutdip/caffe-master/' sys.path.insert(0, caffe_root + 'python') import caffe caffe.set_mode_gpu() net = caffe.Classifier(caffe_root + 'examples/market1501/prototxt/deploy.prototxt',caffe_root + 'examples/market1501/snapshot/baseline_512bit...
41.2
177
0.690014
202
1,442
4.727723
0.405941
0.04712
0.050262
0.06911
0.092147
0.092147
0.092147
0
0
0
0
0.039933
0.166436
1,442
34
178
42.411765
0.754576
0
0
0
0
0
0.2644
0.232477
0
0
0
0
0
0
null
null
0
0.151515
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14deee93887966c1e539e1e1e5b2d26519e29b36
1,571
py
Python
main.py
GoogleCloudPlatform/appengine-python-blobstore-cors-upload
8ac73c0a607165684163a1a409a3006294e7bb45
[ "Apache-2.0" ]
10
2015-06-09T05:51:16.000Z
2021-10-09T18:31:41.000Z
main.py
GoogleCloudPlatform/appengine-python-blobstore-cors-upload
8ac73c0a607165684163a1a409a3006294e7bb45
[ "Apache-2.0" ]
1
2015-09-23T19:06:39.000Z
2015-09-23T19:06:39.000Z
main.py
GoogleCloudPlatform/appengine-python-blobstore-cors-upload
8ac73c0a607165684163a1a409a3006294e7bb45
[ "Apache-2.0" ]
5
2016-07-12T02:10:52.000Z
2021-10-09T18:31:33.000Z
# Copyright 2015, Google, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use # this file except in compliance with the License. You may obtain a copy of the # License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable # law or agreed to in writing, software d...
40.282051
85
0.714831
203
1,571
5.453202
0.566502
0.054201
0.023487
0.028907
0
0
0
0
0
0
0
0.01105
0.193507
1,571
38
86
41.342105
0.862668
0.39529
0
0
0
0
0.101184
0.029064
0
0
0
0
0
1
0.095238
false
0
0.190476
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
14e6134170dbf18b083ab485063a8e4911419b5f
531
py
Python
doc/integrations/label-studioAPI/setup.py
novium258/cortx-1
ce5b939b33b8d24d89b31807ac3bcaa8f24096bc
[ "Apache-2.0" ]
552
2020-09-24T18:16:09.000Z
2022-03-25T06:21:55.000Z
doc/integrations/label-studioAPI/setup.py
novium258/cortx-1
ce5b939b33b8d24d89b31807ac3bcaa8f24096bc
[ "Apache-2.0" ]
722
2020-09-24T19:48:44.000Z
2022-03-31T17:42:41.000Z
doc/integrations/label-studioAPI/setup.py
novium258/cortx-1
ce5b939b33b8d24d89b31807ac3bcaa8f24096bc
[ "Apache-2.0" ]
442
2020-09-24T14:24:21.000Z
2022-03-25T10:40:16.000Z
from setuptools import setup setup( name='Cortx S3-Label Studio Integration', version='1.0.0', packages=[ '' ], url='', license='MIT ', author='sumit', author_email='vilaksh01@gmail.com', description='Cortx S3 integration with Label Studio, one of the best open-source data annotation too...
44.25
312
0.728814
72
531
5.361111
0.833333
0.036269
0
0
0
0
0
0
0
0
0
0.015982
0.175141
531
11
313
48.272727
0.865297
0
0
0
0
0.090909
0.451977
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
14e64b3a20f9962fcf14313a1a8701e4833f5d73
589
py
Python
API/ssc/SscData/pushNotif.py
jakdor/SSCAndroidApp
da3ab30508e1387f3b5e0446823227f4630e4993
[ "MIT" ]
null
null
null
API/ssc/SscData/pushNotif.py
jakdor/SSCAndroidApp
da3ab30508e1387f3b5e0446823227f4630e4993
[ "MIT" ]
null
null
null
API/ssc/SscData/pushNotif.py
jakdor/SSCAndroidApp
da3ab30508e1387f3b5e0446823227f4630e4993
[ "MIT" ]
null
null
null
from urllib2 import * import urllib import json import sys def pushNotification(messageTitle, messageBody): MY_API_KEY="AIzaSyCgSjnjxtYBGMOq7jNgnE_tbhpOJjU5nOo" data={ "to" : "/topics/sscapp", "data" : { "body" : messageBody, "title" : messageTitle, "icon" : "favicon", "vibration": "true", "led...
18.40625
53
0.641766
60
589
6.216667
0.7
0.02681
0.042895
0
0
0
0
0
0
0
0
0.00641
0.205433
589
31
54
19
0.790598
0
0
0
0
0
0.312394
0.066214
0
0
0
0
0
0
null
null
0
0.16
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14e77d32ebab530fc79d7273ed083b2b284aeff6
704
py
Python
backend/setup.py
fivaldi/pyladies-courseware
453f9c6f399b343aa8257c8b0232e56e952c2c79
[ "MIT" ]
13
2018-08-27T08:56:40.000Z
2022-02-10T15:59:18.000Z
backend/setup.py
fivaldi/pyladies-courseware
453f9c6f399b343aa8257c8b0232e56e952c2c79
[ "MIT" ]
198
2018-08-23T08:10:05.000Z
2022-02-17T20:46:42.000Z
backend/setup.py
fivaldi/pyladies-courseware
453f9c6f399b343aa8257c8b0232e56e952c2c79
[ "MIT" ]
30
2018-08-25T15:50:35.000Z
2021-11-12T14:28:34.000Z
#!/usr/bin/env python3 import sys from setuptools import setup, find_packages if sys.version_info < (3,6): sys.exit('Sorry, Python < 3.6 is not supported') setup( name='cw-backend', version='0.0.1', description='Pyladies Courseware - backend', classifiers=[ 'Programming Language :: Python...
22
54
0.565341
73
704
5.315068
0.69863
0.092784
0.041237
0.092784
0
0
0
0
0
0
0
0.019841
0.284091
704
31
55
22.709677
0.75
0.02983
0
0.111111
0
0
0.359238
0.054252
0
0
0
0
0
1
0
true
0
0.074074
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
14f09108fdb53fbdc0f0d050049b4a8d8869f657
994
py
Python
Generated/Names/generator.py
Password-Classified/Databases
81a273ea3e6d50569f4f28a03b908cda9608404a
[ "MIT" ]
3
2021-11-02T19:36:21.000Z
2021-11-07T20:16:52.000Z
Generated/Names/generator.py
Password-Classified/Dummy-SQL-Databases
81a273ea3e6d50569f4f28a03b908cda9608404a
[ "MIT" ]
null
null
null
Generated/Names/generator.py
Password-Classified/Dummy-SQL-Databases
81a273ea3e6d50569f4f28a03b908cda9608404a
[ "MIT" ]
null
null
null
import sqlite3 as sql from random import randrange with sql.connect("names.db") as db: cursor = db.cursor() cursor.execute('''CREATE TABLE IF NOT EXISTS people( id integer PRIMARY KEY, name text, sex text, age integer, bday integer, job text, street text, country text, company text);''') files = [ "country",...
26.157895
283
0.61167
140
994
4.342857
0.478571
0.026316
0
0
0
0
0
0
0
0
0
0.00949
0.151911
994
38
284
26.157895
0.711744
0
0
0
0
0.060606
0.601005
0.227136
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
090480ce104e62e8f8798bcdcf02b0a9d965144f
1,034
py
Python
examples/client/password.py
nichollsdave/hub-rest-api-python
21556c4d61f4c134bc6ebd9dcd355595121a8420
[ "Apache-2.0" ]
null
null
null
examples/client/password.py
nichollsdave/hub-rest-api-python
21556c4d61f4c134bc6ebd9dcd355595121a8420
[ "Apache-2.0" ]
null
null
null
examples/client/password.py
nichollsdave/hub-rest-api-python
21556c4d61f4c134bc6ebd9dcd355595121a8420
[ "Apache-2.0" ]
null
null
null
from blackduck import Client from blackduck.Client import HubSession from blackduck.Authentication import CookieAuth import argparse import logging from pprint import pprint logging.basicConfig( level=logging.DEBUG, format="[%(asctime)s] {%(module)s:%(lineno)d} %(levelname)s - %(message)s" ) parser = argpars...
30.411765
116
0.751451
139
1,034
5.503597
0.438849
0.054902
0.088889
0.07451
0.104575
0.104575
0.104575
0.104575
0
0
0
0.004338
0.108317
1,034
33
117
31.333333
0.82538
0
0
0
0
0.037037
0.213733
0.022244
0
0
0
0
0
1
0
false
0.074074
0.222222
0
0.222222
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
09058bb00f925440ddac75db829af9b87f80f271
4,167
py
Python
src/generated-spec/eks.py
wheerd/cloudformation-to-terraform
5411b33293e1f7d7673bb5d4cb52ff0537240db3
[ "MIT" ]
null
null
null
src/generated-spec/eks.py
wheerd/cloudformation-to-terraform
5411b33293e1f7d7673bb5d4cb52ff0537240db3
[ "MIT" ]
null
null
null
src/generated-spec/eks.py
wheerd/cloudformation-to-terraform
5411b33293e1f7d7673bb5d4cb52ff0537240db3
[ "MIT" ]
null
null
null
from . import * class AWS_EKS_Cluster_Provider(CloudFormationProperty): def write(self, w): with w.block("provider"): self.property(w, "KeyArn", "key_arn", StringValueConverter()) class AWS_EKS_Nodegroup_ScalingConfig(CloudFormationProperty): def write(self, w): with w.block("scaling_config"): ...
46.820225
132
0.733381
445
4,167
6.665169
0.238202
0.0971
0.105192
0.04855
0.422792
0.259272
0.237694
0.19555
0.094066
0.078894
0
0.000557
0.138229
4,167
88
133
47.352273
0.825397
0.12551
0
0.246377
0
0
0.25117
0.045717
0
0
0
0.011364
0
1
0.101449
false
0
0.014493
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0909ac6a8ae26aa0de80a38a5aadbea6fbec3ee4
489
py
Python
bdragon/language.py
headbangsmurf/CommunityDataDragon
cc3307280dbaf61b4a2cab4bc953edb192a077bb
[ "MIT" ]
3
2020-11-10T19:37:41.000Z
2022-03-18T11:37:15.000Z
bdragon/language.py
headbangsmurf/CommunityDataDragon
cc3307280dbaf61b4a2cab4bc953edb192a077bb
[ "MIT" ]
1
2020-11-30T00:46:44.000Z
2020-11-30T06:57:19.000Z
bdragon/language.py
headbangsmurf/CommunityDataDragon
cc3307280dbaf61b4a2cab4bc953edb192a077bb
[ "MIT" ]
null
null
null
import os import download import settings import utils def create_language_json(lang, path): # Returning Latest DDragon unless we can figure out how to merge trans.json files to match ddragon_language = download.download_versioned_ddragon_language(lang) language = { "type": "language", "...
25.736842
94
0.703476
61
489
5.508197
0.540984
0.133929
0
0
0
0
0
0
0
0
0
0
0.198364
489
18
95
27.166667
0.857143
0.179959
0
0
0
0
0.110276
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0909fec01e0259210c71a4d0ce6d731151fed39e
5,330
py
Python
server_logic.py
javierburgosv/starter-snake-python
4c8fa3cd3eabb695d9e59384b0f71fafdf11f102
[ "MIT" ]
null
null
null
server_logic.py
javierburgosv/starter-snake-python
4c8fa3cd3eabb695d9e59384b0f71fafdf11f102
[ "MIT" ]
null
null
null
server_logic.py
javierburgosv/starter-snake-python
4c8fa3cd3eabb695d9e59384b0f71fafdf11f102
[ "MIT" ]
null
null
null
import random from typing import List, Dict """ This file can be a nice home for your move logic, and to write helper functions. We have started this for you, with a function to help remove the 'neck' direction from the list of possible moves! """ def avoid_my_neck(my_head: Dict[str, int], my_body: List[dict], poss...
35.065789
136
0.630957
809
5,330
4.044499
0.2089
0.162897
0.069682
0.056235
0.308374
0.242971
0.219132
0.209658
0.209658
0.094132
0
0.008016
0.22758
5,330
152
137
35.065789
0.786738
0.403189
0
0.287879
0
0.015152
0.10402
0
0
0
0
0.026316
0
1
0.075758
false
0
0.030303
0
0.181818
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
090c388787832f3b8bf04c475a70d01aa570e58d
1,597
py
Python
run_slave.py
teratorn/twisted_conch_pytexas_12
a3603d181a14845a51f126eecbef82a720d10a97
[ "MIT" ]
3
2015-06-28T01:48:35.000Z
2021-08-13T05:18:43.000Z
run_slave.py
teratorn/twisted_conch_pytexas_12
a3603d181a14845a51f126eecbef82a720d10a97
[ "MIT" ]
null
null
null
run_slave.py
teratorn/twisted_conch_pytexas_12
a3603d181a14845a51f126eecbef82a720d10a97
[ "MIT" ]
2
2016-08-06T18:45:59.000Z
2020-03-15T22:19:17.000Z
#!/usr/bin/env python """ Connect to ADE server, call OfferShell command, and wait to handle SSH shell session requests from the server. """ from twisted.internet import reactor from twisted.python.filepath import FilePath from twisted.python import usage from twisted.python import log from ade import slave class ...
26.616667
77
0.625548
198
1,597
4.979798
0.494949
0.036511
0.051724
0.046653
0
0
0
0
0
0
0
0.003419
0.267376
1,597
59
78
27.067797
0.839316
0.030056
0
0
0
0
0.339398
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0918680a6313ef8d1a488e3b105ef8cce9c7caad
6,580
py
Python
common/fileutil.py
funnyzak/cms-scripting
6074acd3eaf734e8df43d245e6e6415a5500d01e
[ "MIT" ]
1
2021-11-03T02:09:15.000Z
2021-11-03T02:09:15.000Z
common/fileutil.py
funnyzak/cms-scripting
6074acd3eaf734e8df43d245e6e6415a5500d01e
[ "MIT" ]
null
null
null
common/fileutil.py
funnyzak/cms-scripting
6074acd3eaf734e8df43d245e6e6415a5500d01e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ created : The Jan 26 6:28 PM 2021 filename : fileutil.py author : Leon email : silenceace@gmail.com Description : """ __author__ = 'Leon' import os import codecs # 支持多国语言的编码解码 import chardet # 自动判别侦听文件字符集类型 class FileUtil: ""...
34.093264
138
0.573556
635
6,580
5.911811
0.311811
0.020245
0.041556
0.036761
0.326585
0.23708
0.198455
0.165157
0.104955
0.082046
0
0.013308
0.291945
6,580
192
139
34.270833
0.792445
0.359574
0
0.520661
0
0
0.045227
0.005951
0
0
0
0
0
1
0.090909
false
0.157025
0.024793
0
0.173554
0.066116
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
092230983985fa1b96f77ce2f27c60856eb7f6d1
1,426
py
Python
tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/improve.py
NickProgramm/gaia
975a35c0f5010df341e96d6c5ec60217f5347412
[ "Apache-2.0" ]
3
2016-08-17T08:52:51.000Z
2020-03-29T04:56:45.000Z
tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/improve.py
NickProgramm/gaia
975a35c0f5010df341e96d6c5ec60217f5347412
[ "Apache-2.0" ]
1
2017-02-21T21:36:12.000Z
2017-02-21T21:36:30.000Z
tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/improve.py
NickProgramm/gaia
975a35c0f5010df341e96d6c5ec60217f5347412
[ "Apache-2.0" ]
1
2021-11-18T21:21:19.000Z
2021-11-18T21:21:19.000Z
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from marionette_driver import expected, By, Wait from gaiatest.apps.base import Base class Improve(Base): _page_...
38.540541
95
0.72791
182
1,426
5.417582
0.406593
0.11359
0.073022
0.093306
0.418864
0.355984
0.317444
0.208925
0.105477
0
0
0.006723
0.165498
1,426
36
96
39.611111
0.821849
0.134642
0
0.083333
0
0
0.104065
0.080488
0
0
0
0
0
1
0.166667
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
0
0
0
0
0
1
0
0
1
09246420c1d5909131d085d4454a9511cef30911
1,816
py
Python
300-/764.py
yshshadow/Leetcode
5097f69bb0050d963c784d6bc0e88a7e871568ed
[ "MIT" ]
null
null
null
300-/764.py
yshshadow/Leetcode
5097f69bb0050d963c784d6bc0e88a7e871568ed
[ "MIT" ]
null
null
null
300-/764.py
yshshadow/Leetcode
5097f69bb0050d963c784d6bc0e88a7e871568ed
[ "MIT" ]
null
null
null
# In a 2D grid from (0, 0) to (N-1, N-1), every cell contains a 1, except those cells in the given list mines which are 0. What is the largest axis-aligned plus sign of 1s contained in the grid? Return the order of the plus sign. If there is none, return 0. # # An "axis-aligned plus sign of 1s of order k" has some cent...
26.705882
329
0.643722
317
1,816
3.684543
0.40694
0.054795
0.038527
0.03339
0.087329
0.087329
0
0
0
0
0
0.115751
0.248348
1,816
68
330
26.705882
0.739927
0.815529
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09296c0210ef007fa7d44c82d491508bb64d6091
394
py
Python
swepc.python/swepc/convergence.py
hertzsprung/seamless-wave-uq
10a9b2e18d11cf3f4e711a90523f85758e5fb531
[ "MIT" ]
null
null
null
swepc.python/swepc/convergence.py
hertzsprung/seamless-wave-uq
10a9b2e18d11cf3f4e711a90523f85758e5fb531
[ "MIT" ]
null
null
null
swepc.python/swepc/convergence.py
hertzsprung/seamless-wave-uq
10a9b2e18d11cf3f4e711a90523f85758e5fb531
[ "MIT" ]
null
null
null
import numpy as np class Convergence: def __init__(self, flow): self.oldWater = np.array(flow.water[:,0]) def __call__(self, flow): sumDiffSquared = 0.0 for new, old in zip(flow.water[:,0], self.oldWater): sumDiffSquared = sumDiffSquared + (new - old)**2 self.oldW...
23.176471
60
0.609137
50
394
4.64
0.48
0.155172
0.12931
0.163793
0.25
0.25
0.25
0
0
0
0
0.020548
0.258883
394
16
61
24.625
0.773973
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
092ba61aa9876bff7d8feacc8a009bcf659c90c8
430
py
Python
backend/ozon/base/default_data.py
archetipo/service-app
581c0a821d2e6ea0c00e94f43eb69942acf5eff7
[ "MIT" ]
2
2021-09-03T22:09:51.000Z
2022-03-31T06:59:44.000Z
backend/ozon/base/default_data.py
archetipo/service-app
581c0a821d2e6ea0c00e94f43eb69942acf5eff7
[ "MIT" ]
1
2022-03-01T09:24:11.000Z
2022-03-01T09:24:11.000Z
backend/ozon/base/default_data.py
archetipo/service-app
581c0a821d2e6ea0c00e94f43eb69942acf5eff7
[ "MIT" ]
2
2021-12-03T13:39:55.000Z
2022-03-01T08:30:00.000Z
import os basedir = os.path.abspath(os.path.dirname(__file__)) default_data = { "schema": f"{basedir}/schema/components.json", "datas": [ {"menu_group": f"{basedir}/data/menu_group.json"}, {"action_type": f"{basedir}/data/action_type.json"}, {"user_type": f"{basedir}/data/user_type.jso...
28.666667
60
0.604651
55
430
4.527273
0.345455
0.192771
0.240964
0.128514
0
0
0
0
0
0
0
0
0.181395
430
14
61
30.714286
0.707386
0
0
0
0
0
0.518605
0.4
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0937e9d6833ddacc9b2695c1bb6ae9b2138db324
984
py
Python
xlab/data/importer/iex/api/util.py
dayfine/xlab
2c51d84906d5eba568e5b5c70225c2eccb1b9fc3
[ "MIT" ]
2
2020-05-06T04:05:30.000Z
2020-11-10T16:23:50.000Z
xlab/data/importer/iex/api/util.py
dayfine/xlab
2c51d84906d5eba568e5b5c70225c2eccb1b9fc3
[ "MIT" ]
14
2020-05-06T06:37:50.000Z
2021-10-30T03:38:05.000Z
xlab/data/importer/iex/api/util.py
dayfine/xlab
2c51d84906d5eba568e5b5c70225c2eccb1b9fc3
[ "MIT" ]
null
null
null
from xlab.base import time from xlab.util.status import errors def _to_iex_api_date(date: time.CivilTime): return date.format('YYYYMMDD') def _get_shortest_historical_ranges(start_date: time.CivilTime) -> str: """Get the shortest API range string that covers the requested number of days for the time ...
29.818182
76
0.630081
142
984
4.225352
0.535211
0.105
0.12
0.06
0
0
0
0
0
0
0
0.051247
0.26626
984
32
77
30.75
0.779778
0.193089
0
0
0
0
0.105332
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.041667
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0943d1eb247b688081f327d00fede4024f6ae02b
389
py
Python
tests/integration/cattletest/core/test_network_service_provider.py
pranavs18/cattle
db64d9ffc782d82bbbc44709fb23e63b43c3c549
[ "Apache-2.0" ]
null
null
null
tests/integration/cattletest/core/test_network_service_provider.py
pranavs18/cattle
db64d9ffc782d82bbbc44709fb23e63b43c3c549
[ "Apache-2.0" ]
null
null
null
tests/integration/cattletest/core/test_network_service_provider.py
pranavs18/cattle
db64d9ffc782d82bbbc44709fb23e63b43c3c549
[ "Apache-2.0" ]
null
null
null
from common_fixtures import * # NOQA def test_network_service_provider_create(admin_client): network = create_and_activate(admin_client, 'network') assert_required_fields(admin_client.create_network_service_provider, networkId=network.id) create_and_activate(admin_client, 'ne...
32.416667
72
0.717224
41
389
6.365854
0.512195
0.168582
0.168582
0.168582
0.214559
0
0
0
0
0
0
0
0.218509
389
11
73
35.363636
0.858553
0.010283
0
0.285714
0
0
0.075718
0.057441
0
0
0
0
0.142857
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0945a52f7e98ce8f1e8bb90ee4622b7becfa3e02
373
py
Python
ex023.py
felipesch92/PythonExercicios
73edcbde6beaabcfc86af3dd6e58473f1eecabd3
[ "MIT" ]
null
null
null
ex023.py
felipesch92/PythonExercicios
73edcbde6beaabcfc86af3dd6e58473f1eecabd3
[ "MIT" ]
null
null
null
ex023.py
felipesch92/PythonExercicios
73edcbde6beaabcfc86af3dd6e58473f1eecabd3
[ "MIT" ]
null
null
null
#Faça um programa que leia um número de # 0 a 9999 e mostre na tela # cada um dos dígitos separados. n = int(input('Informe um número: ')) u = n // 1 % 10 d = n // 10 % 10 c = n // 100 % 10 m = n // 1000 % 10 print('Analisando o número {}'.format(n)) print('Unidade: {}'.format(u)) print('Dezena: {}'.format(d)) print('C...
26.642857
41
0.61126
64
373
3.5625
0.59375
0.070175
0
0
0
0
0
0
0
0
0
0.07541
0.182306
373
13
42
28.692308
0.672131
0.254692
0
0
0
0
0.301818
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0945e471e9ffe59ca3bc5fc9d0c2a3144b8e3ad6
4,000
py
Python
kNN.py
Hanumanth004/kNN
243cf364846a5aebe9f8d99b8a827828d687dad3
[ "MIT" ]
null
null
null
kNN.py
Hanumanth004/kNN
243cf364846a5aebe9f8d99b8a827828d687dad3
[ "MIT" ]
null
null
null
kNN.py
Hanumanth004/kNN
243cf364846a5aebe9f8d99b8a827828d687dad3
[ "MIT" ]
null
null
null
#!/usr/bin/python import csv import sys import numpy as np from sklearn.metrics import confusion_matrix count = 0 sample=[] X_pca=[] predicted=[] total_samples = 0 TN = 0.0 TP = 0.0 FN = 0.0 FP = 0.0 def confusion_matrixt(y_true, y_pred): return confusion_matrix(y_true, y_pred) def print_metrics(confusion_matrix...
26.143791
84
0.55675
558
4,000
3.833333
0.247312
0.126227
0.056101
0.037868
0.267415
0.245909
0.245909
0.197288
0.197288
0.197288
0
0.039788
0.246
4,000
152
85
26.315789
0.66943
0.13475
0
0.111111
0
0
0.019161
0
0
0
0
0
0
0
null
null
0
0.044444
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
09461ab46c6ebbf3c78b8acda31efabb8c722b8e
835
py
Python
L1Trigger/GlobalTriggerAnalyzer/python/L1ExtraInputTagSet_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1Trigger/GlobalTriggerAnalyzer/python/L1ExtraInputTagSet_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1Trigger/GlobalTriggerAnalyzer/python/L1ExtraInputTagSet_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
# Set of input tags for L1Extra in agreement with L1Reco_cff # # V.M. Ghete 2012-05-22 import FWCore.ParameterSet.Config as cms L1ExtraInputTagSet = cms.PSet( L1ExtraInputTags=cms.PSet( TagL1ExtraMuon=cms.InputTag("l1extraParticles"), TagL1ExtraIsoEG=cms.InputTag("l1extraParticles", "Isolate...
32.115385
74
0.695808
72
835
8.055556
0.611111
0.17069
0.418966
0
0
0
0
0
0
0
0
0.044053
0.184431
835
25
75
33.4
0.807636
0.095808
0
0
0
0
0.248
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09469c07a3ee4135a944a4c70a76f7e7c9f11e3a
349
py
Python
src/advance/expression_evaluator/nodes/binary_op_node.py
chuanhao01/Python_Expression_Evaluator
016f7c0a593f47a2139df5949b26d7f93c23fffe
[ "MIT" ]
null
null
null
src/advance/expression_evaluator/nodes/binary_op_node.py
chuanhao01/Python_Expression_Evaluator
016f7c0a593f47a2139df5949b26d7f93c23fffe
[ "MIT" ]
null
null
null
src/advance/expression_evaluator/nodes/binary_op_node.py
chuanhao01/Python_Expression_Evaluator
016f7c0a593f47a2139df5949b26d7f93c23fffe
[ "MIT" ]
null
null
null
'''Python Class BinaryOp_Node BinaryOp Node represents a binary operation with a left and right expression ''' # Import Token and AST from ..tokens import Token from .ast import AST class BinaryOp_Node(AST): def __init__(self, token: Token, left: AST, right: AST): self.token = token self.left = le...
26.846154
76
0.69914
50
349
4.76
0.42
0.151261
0.142857
0
0
0
0
0
0
0
0
0
0.22063
349
13
77
26.846154
0.875
0.361032
0
0
0
0
0
0
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0952d1dc8f26b0a669bb443872536096fc5f2b69
1,592
py
Python
cfp/migrations/0014_auto_20170605_1545.py
WebCampZg/conference-web
76ccae83924fdcd040d9280db5cf3a249d668606
[ "BSD-3-Clause" ]
4
2015-03-03T17:48:14.000Z
2019-02-27T20:28:42.000Z
cfp/migrations/0014_auto_20170605_1545.py
WebCampZg/conference-web
76ccae83924fdcd040d9280db5cf3a249d668606
[ "BSD-3-Clause" ]
104
2015-02-25T18:09:15.000Z
2019-06-21T10:02:53.000Z
cfp/migrations/0014_auto_20170605_1545.py
WebCampZg/conference-web
76ccae83924fdcd040d9280db5cf3a249d668606
[ "BSD-3-Clause" ]
9
2015-03-01T18:59:14.000Z
2019-06-10T06:48:45.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-05 13:45 from __future__ import unicode_literals import cfp.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cfp', '0013_auto_20170523_1609'), ] operations = [ migrat...
43.027027
276
0.663945
195
1,592
5.287179
0.605128
0.077595
0.096993
0.112512
0.217265
0.162949
0
0
0
0
0
0.03862
0.235553
1,592
36
277
44.222222
0.808546
0.042714
0
0.413793
1
0.103448
0.395135
0.015122
0
0
0
0
0
1
0
false
0
0.103448
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
117c95c2c5c5e8ce01ae5afe60f2e415cb9e1631
609
py
Python
posts/tests/test_models/test_post.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
null
null
null
posts/tests/test_models/test_post.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
1
2020-06-05T19:21:04.000Z
2020-06-05T19:21:04.000Z
posts/tests/test_models/test_post.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
null
null
null
from django.test import TestCase from posts.models import Post class TestPost(TestCase): list_url_name = 'post-list' detail_url_name = 'post-detail' test_title = "This is a random title" test_contents = "This is not a random text" test_post = { "title": test_title, "contents": test...
30.45
63
0.656814
78
609
4.923077
0.358974
0.09375
0.057292
0.119792
0
0
0
0
0
0
0
0
0.254516
609
19
64
32.052632
0.845815
0
0
0
0
0
0.131363
0
0
0
0
0
0.125
1
0.0625
false
0
0.125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
11812b83bd623c9a550ba182d471126019ac85e2
1,925
py
Python
episode_5/Jack.py
ChucklesJM/Three-Hundred-Lines
9c0d59eeeffcb5565175fe24d95952fb1b34ffa1
[ "MIT" ]
1
2020-08-16T05:04:41.000Z
2020-08-16T05:04:41.000Z
episode_5/Jack.py
jackmitcheltree/Three-Hundred-Lines
9c0d59eeeffcb5565175fe24d95952fb1b34ffa1
[ "MIT" ]
null
null
null
episode_5/Jack.py
jackmitcheltree/Three-Hundred-Lines
9c0d59eeeffcb5565175fe24d95952fb1b34ffa1
[ "MIT" ]
1
2020-08-16T05:05:28.000Z
2020-08-16T05:05:28.000Z
#Full disclosure, I had to look this up. import time import winsound import threading as th S = time.time() def play(): winsound.PlaySound('jazz.wav', winsound.SND_ALIAS) check = True while check == True: thread = th.Thread(target = play) thread.start() time.sleep(3) print('hello...') ...
29.166667
87
0.581818
305
1,925
3.668852
0.409836
0.104558
0.116175
0.174263
0.223414
0.189455
0.189455
0.189455
0.189455
0.189455
0
0.040462
0.281039
1,925
65
88
29.615385
0.768064
0.057662
0
0.389831
0
0
0.427835
0.013746
0
0
0
0
0
1
0.016949
false
0
0.050847
0
0.067797
0.322034
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1185f61c4557c8c38be8f3bbd8e81f82d45c98f3
808
py
Python
redash/handlers/base.py
steedos/redash
46d954843f229d74b5712384e74b4b0fdcef621b
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
redash/handlers/base.py
steedos/redash
46d954843f229d74b5712384e74b4b0fdcef621b
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
redash/handlers/base.py
steedos/redash
46d954843f229d74b5712384e74b4b0fdcef621b
[ "BSD-2-Clause-FreeBSD" ]
1
2021-07-27T06:27:29.000Z
2021-07-27T06:27:29.000Z
from flask import request from flask.ext.restful import Resource, abort from flask_login import current_user, login_required from redash import statsd_client class BaseResource(Resource): decorators = [login_required] def __init__(self, *args, **kwargs): super(BaseResource, self).__init__(*args, **k...
27.862069
100
0.685644
98
808
5.418367
0.479592
0.07533
0.052731
0
0
0
0
0
0
0
0
0.004695
0.209158
808
28
101
28.857143
0.826291
0
0
0
0
0
0.017327
0
0
0
0
0
0
1
0.2
false
0
0.2
0.05
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
118e6d6bacfbac5b306c79c3a340ae930bc87bb5
2,186
py
Python
problems/759.Employee_Free_Time/li.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/759.Employee_Free_Time/li.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/759.Employee_Free_Time/li.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
# coding=utf-8 # Author: Jianghan LI # Question: Q3 # Complexity: O(N) # Date: 2018-01-07 0:20:05 - 1:17:34, 1 wrong try # Definition for an interval. class Interval(object): def __init__(self, s=0, e=0): self.start = s self.end = e class Solution(object): def employeeFreeTime(self, avail...
31.228571
72
0.402104
267
2,186
3.277154
0.423221
0.045714
0.022857
0.027429
0.059429
0.059429
0
0
0
0
0
0.128909
0.400274
2,186
69
73
31.681159
0.53852
0.12763
0
0.116279
0
0
0.001706
0
0
0
0
0
0
0
null
null
0
0
null
null
0.069767
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11900714c7e820423253b08b590aa800a61be3aa
2,208
py
Python
especialidades/migrations/0001_initial.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
6
2020-03-16T02:51:16.000Z
2020-11-10T00:58:01.000Z
especialidades/migrations/0001_initial.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
204
2019-09-19T02:00:57.000Z
2022-02-10T10:48:52.000Z
especialidades/migrations/0001_initial.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
3
2019-09-16T22:59:24.000Z
2022-03-21T22:52:44.000Z
# Generated by Django 2.2.4 on 2019-11-16 16:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('centros_de_salud', '0010_auto_20191111_2348'), ('pacientes', '0008_consulta_especialidad'), ...
49.066667
165
0.644022
233
2,208
5.927039
0.377682
0.034757
0.050688
0.079652
0.517741
0.517741
0.517741
0.517741
0.517741
0.517741
0
0.025161
0.225996
2,208
44
166
50.181818
0.782914
0.02038
0
0.405405
1
0
0.233688
0.109209
0
0
0
0
0
1
0
false
0
0.054054
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11917720a62aa732e29f79f5b04fab76adb7d9ad
2,047
py
Python
vagrant/momandpops_bagel_shop/views.py
jonanone/APIProject
46ab425104aa8cccbe55bdf4efbb332e5ba624d7
[ "MIT" ]
null
null
null
vagrant/momandpops_bagel_shop/views.py
jonanone/APIProject
46ab425104aa8cccbe55bdf4efbb332e5ba624d7
[ "MIT" ]
null
null
null
vagrant/momandpops_bagel_shop/views.py
jonanone/APIProject
46ab425104aa8cccbe55bdf4efbb332e5ba624d7
[ "MIT" ]
null
null
null
from flask import Flask, jsonify, request, url_for, abort, g from flask.ext.httpauth import HTTPBasicAuth from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, sessionmaker from sqlalchemy import create_engine from models import Base, User, Bagel auth = HTTPBasicAuth() engin...
31.015152
68
0.669761
248
2,047
5.431452
0.33871
0.048998
0.062361
0.029696
0.075724
0.075724
0.075724
0.075724
0.075724
0.075724
0
0.010526
0.211041
2,047
65
69
31.492308
0.823529
0.015144
0
0.111111
0
0
0.059116
0.010929
0
0
0
0
0
1
0.055556
false
0.111111
0.111111
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1191c9f874f01568097dd610950dd1022853362b
10,818
py
Python
demo/advanced_demo2.py
peterbe/configman
724d80b25a0ebbb2e75ad69e92a6611494cd68b4
[ "BSD-3-Clause" ]
null
null
null
demo/advanced_demo2.py
peterbe/configman
724d80b25a0ebbb2e75ad69e92a6611494cd68b4
[ "BSD-3-Clause" ]
null
null
null
demo/advanced_demo2.py
peterbe/configman
724d80b25a0ebbb2e75ad69e92a6611494cd68b4
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozil...
40.516854
79
0.599556
1,195
10,818
5.348954
0.277824
0.011733
0.008448
0.011264
0.151283
0.103567
0.072278
0.061952
0.054756
0.047247
0
0.002433
0.23997
10,818
266
80
40.669173
0.774994
0.339434
0
0.235294
0
0
0.227622
0.056906
0
0
0
0
0
0
null
null
0.02521
0.02521
null
null
0.12605
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11957cab36dfb5a5502872061e05dd971c036941
864
py
Python
real_trade/api/coincheck/bankaccount.py
taka-mochi/cryptocurrency-autotrading
16677018c793d7bd3fffdcd3575aecb3535dbd04
[ "BSD-3-Clause" ]
3
2018-05-22T22:45:23.000Z
2020-02-13T16:45:03.000Z
real_trade/api/coincheck/bankaccount.py
taka-mochi/cryptocurrency-autotrading
16677018c793d7bd3fffdcd3575aecb3535dbd04
[ "BSD-3-Clause" ]
null
null
null
real_trade/api/coincheck/bankaccount.py
taka-mochi/cryptocurrency-autotrading
16677018c793d7bd3fffdcd3575aecb3535dbd04
[ "BSD-3-Clause" ]
null
null
null
from coincheck.servicebase import ServiceBase class BankAccount(ServiceBase): baseUrl = '/api/bank_accounts' def create(self, params = {}): defaults = { 'bank_name': "", 'branch_name': "", 'bank_account_type': "", 'number': "", 'name': ""...
30.857143
112
0.570602
81
864
5.987654
0.382716
0.115464
0.117526
0.160825
0.42268
0.42268
0.334021
0.334021
0.334021
0.334021
0
0
0.291667
864
27
113
32
0.792484
0
0
0.26087
0
0
0.081019
0
0
0
0
0
0
1
0.130435
false
0
0.043478
0.043478
0.391304
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
119707a39259afc7217cd12a7822cc563dd0e270
3,032
py
Python
generate_cosmicvisions_baselines.py
sjforeman/RadioFisher
fe25f969de9a700c5697168ba9e0d2645c55ed81
[ "AFL-3.0" ]
3
2020-12-05T11:28:47.000Z
2021-07-09T02:42:21.000Z
generate_cosmicvisions_baselines.py
sjforeman/RadioFisher
fe25f969de9a700c5697168ba9e0d2645c55ed81
[ "AFL-3.0" ]
null
null
null
generate_cosmicvisions_baselines.py
sjforeman/RadioFisher
fe25f969de9a700c5697168ba9e0d2645c55ed81
[ "AFL-3.0" ]
2
2021-07-09T02:42:23.000Z
2021-11-30T06:37:47.000Z
#!/usr/bin/python """ Calculate binned, circularly-averaged baseline distribution for a regular rectangular array of antennas. """ import numpy as np import pylab as P import scipy.integrate import scipy.spatial # Array specification and reference frequency root = "CV256x256" Ddish = 6. Dmin = 6. Nx = 128 # FIXME: 25...
26.831858
78
0.594657
469
3,032
3.782516
0.383795
0.012401
0.012401
0.024803
0.057497
0.027058
0
0
0
0
0
0.035842
0.263852
3,032
112
79
27.071429
0.758961
0.21504
0
0.037037
0
0
0.058956
0.012353
0
0
0
0.008929
0
0
null
null
0
0.074074
null
null
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11a42a8b33938da0dc91cb096812c75d3d1f7cdb
1,265
py
Python
open_in_audacity.py
lcabrini/gpodder-extensions
a8e8264a5b32a374958a8e0bf0609bc66d024eaa
[ "MIT" ]
null
null
null
open_in_audacity.py
lcabrini/gpodder-extensions
a8e8264a5b32a374958a8e0bf0609bc66d024eaa
[ "MIT" ]
null
null
null
open_in_audacity.py
lcabrini/gpodder-extensions
a8e8264a5b32a374958a8e0bf0609bc66d024eaa
[ "MIT" ]
null
null
null
import logging import shutil import os import subprocess import gpodder from gpodder import util logger = logging.getLogger(__name__) _ = gpodder.gettext __title__ = _('Open With Audacity') __description__ = _('Adds a context menu to open episode with Audacity') __authors__ = 'Lorenzo Cabrini <lorenzo.cabrini@gmail.co...
27.5
72
0.647431
151
1,265
5.125828
0.463576
0.0323
0.054264
0.033592
0
0
0
0
0
0
0
0.004255
0.256917
1,265
45
73
28.111111
0.819149
0
0
0.157895
0
0
0.149407
0.021344
0
0
0
0
0
1
0.157895
false
0.052632
0.157895
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
11aa592fd9a2a93384d4848c7b2fea86f3c47671
281
py
Python
presentation/imgs/copylocal.py
psorus/oan
7d1b05e58e3ae470aab04bc806764f52d20b9b5b
[ "MIT" ]
null
null
null
presentation/imgs/copylocal.py
psorus/oan
7d1b05e58e3ae470aab04bc806764f52d20b9b5b
[ "MIT" ]
null
null
null
presentation/imgs/copylocal.py
psorus/oan
7d1b05e58e3ae470aab04bc806764f52d20b9b5b
[ "MIT" ]
null
null
null
from shutil import copyfile as copy base="C:\\Users\\User\\m\\" files=[base+"c4\\01\\simple"] names=["rocbyc"] for fil,nam in zip(files,names): try: copy(fil+".png",nam+".png") except:pass try: copy(fil+".pdf",nam+".pdf") except:pass print("copied", nam)
13.380952
35
0.608541
44
281
3.886364
0.659091
0.081871
0.116959
0
0
0
0
0
0
0
0
0.012821
0.16726
281
20
36
14.05
0.717949
0
0
0.333333
0
0
0.223827
0
0
0
0
0
0
1
0
false
0.166667
0.083333
0
0.083333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
11acca8af8548c9ff376f349c9ce8a41ba7be4ec
1,376
py
Python
src/tester.py
cheperboy/home_alarm
27a8f68f32be054ee61f5a53fdb9026c026b592c
[ "MIT" ]
null
null
null
src/tester.py
cheperboy/home_alarm
27a8f68f32be054ee61f5a53fdb9026c026b592c
[ "MIT" ]
null
null
null
src/tester.py
cheperboy/home_alarm
27a8f68f32be054ee61f5a53fdb9026c026b592c
[ "MIT" ]
null
null
null
# -*- coding: ISO-8859-1 -*- from gevent import monkey monkey.patch_all() # import eventlet # eventlet.monkey_patch() import os, click from web import create_app, db from utils.emails import EmailGateway, EmailAlarmAlert from utils.sms import SmsGateway, SmsAlarmAlert # from web.models import User, DB...
24.571429
63
0.628634
153
1,376
5.54902
0.379085
0.058893
0.056537
0.089517
0.212014
0.212014
0.212014
0.212014
0.212014
0.212014
0
0.004634
0.215843
1,376
56
64
24.571429
0.782206
0.399709
0
0.166667
0
0
0.094203
0
0
0
0
0
0
1
0.166667
false
0.083333
0.25
0
0.416667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
11ace477b1744c51054e4685ab636e3fb0858874
547
py
Python
src/python/src/decorator/decorator_return_result.py
showerMuggle/klose911.github.io
e2ee6ae57dd91e8a5e5637b4bf20dc83b7704387
[ "Apache-2.0" ]
1
2020-05-11T09:28:29.000Z
2020-05-11T09:28:29.000Z
src/python/src/decorator/decorator_return_result.py
showerMuggle/klose911.github.io
e2ee6ae57dd91e8a5e5637b4bf20dc83b7704387
[ "Apache-2.0" ]
null
null
null
src/python/src/decorator/decorator_return_result.py
showerMuggle/klose911.github.io
e2ee6ae57dd91e8a5e5637b4bf20dc83b7704387
[ "Apache-2.0" ]
2
2019-08-23T05:36:00.000Z
2022-02-09T02:25:40.000Z
#!/usr/bin/python # -*- coding:utf-8 -*- #Filename: decorator_return_result.py def printdebug(func): def __decorator(user): print('enter the login') result = func(user) print('exit the login') return result #在装饰器函数返回调用func的结果 return __decorator @printdebug de...
22.791667
50
0.6234
63
547
5.31746
0.507937
0.080597
0
0
0
0
0
0
0
0
0
0.012136
0.246801
547
23
51
23.782609
0.800971
0.212066
0
0
0
0
0.150943
0
0
0
0
0
0
1
0.1875
false
0
0
0
0.375
0.4375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
11ad061d30dec1a58d80337a8da171742b87a6db
3,113
py
Python
PhysicsTools/HeppyCore/python/framework/analyzer.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
PhysicsTools/HeppyCore/python/framework/analyzer.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
PhysicsTools/HeppyCore/python/framework/analyzer.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2014 Colin Bernet # https://github.com/cbernet/heppy/blob/master/LICENSE import os import logging from PhysicsTools.HeppyCore.statistics.counter import Counters from PhysicsTools.HeppyCore.statistics.average import Averages class Analyzer(object): """Base Analyzer class. Used in Looper. Your...
37.059524
86
0.646322
387
3,113
5.121447
0.372093
0.042381
0.030272
0.040868
0.08779
0.072654
0.072654
0.051463
0.051463
0
0
0.002594
0.256987
3,113
83
87
37.506024
0.854302
0.075169
0
0.046512
0
0
0.022258
0
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11b19642bfa58a0bd144b907782b41738b622aef
1,005
py
Python
test.py
tanupoo/jwtdecoder
d6f5cc50d476b26f694f5898dff7af40c985663b
[ "MIT" ]
null
null
null
test.py
tanupoo/jwtdecoder
d6f5cc50d476b26f694f5898dff7af40c985663b
[ "MIT" ]
null
null
null
test.py
tanupoo/jwtdecoder
d6f5cc50d476b26f694f5898dff7af40c985663b
[ "MIT" ]
null
null
null
import jwtdecoder as jwd vecs = [ """ eyJ0eXAiOiJKV1QiLA0KICJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk """ , """ eyJhbGciOiJSUzI1NiJ9 . eyJpc3MiOiJqb2UiLA0KICJl...
33.5
183
0.764179
67
1,005
11.268657
0.671642
0.010596
0.015894
0.02649
0.055629
0
0
0
0
0
0
0.121834
0.175124
1,005
29
184
34.655172
0.788902
0
0
0.222222
0
0
0.004149
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.222222
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11b2cef3d2fbf390f53367bf08c2c78ffcba5a3b
322
py
Python
ddcz/migrations/0047_quests_rename.py
Nathaka/graveyard
dcc5ba2fa1679318e65c0078f734cbfeeb287c32
[ "MIT" ]
6
2018-06-10T09:47:50.000Z
2022-02-13T12:22:07.000Z
ddcz/migrations/0047_quests_rename.py
Nathaka/graveyard
dcc5ba2fa1679318e65c0078f734cbfeeb287c32
[ "MIT" ]
268
2018-05-30T21:54:50.000Z
2022-01-08T21:00:03.000Z
ddcz/migrations/0047_quests_rename.py
jimmeak/graveyard
4c0f9d5e8b6c965171d9dc228c765b662f5b7ab4
[ "MIT" ]
4
2018-09-14T03:50:08.000Z
2021-04-19T19:36:23.000Z
# Generated by Django 2.0.13 on 2020-11-09 17:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("ddcz", "0046_quests"), ] operations = [ migrations.RenameModel( old_name="Dobrodruzstvi", new_name="Quest", ), ...
17.888889
48
0.583851
34
322
5.441176
0.852941
0
0
0
0
0
0
0
0
0
0
0.088889
0.301242
322
17
49
18.941176
0.733333
0.142857
0
0
1
0
0.120438
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11b708310ed5980f052c1923b87e23ef05d83f5f
392
py
Python
ai/preprocessing.py
akkinasrikar/Machine-learning-from-scratch
8e1bc5b28b2c1a819d25ba89364947a6c35bd9da
[ "MIT" ]
2
2020-08-09T03:41:34.000Z
2021-01-28T08:04:54.000Z
ai/preprocessing.py
akkinasrikar/Machine-learning-from-scratch
8e1bc5b28b2c1a819d25ba89364947a6c35bd9da
[ "MIT" ]
null
null
null
ai/preprocessing.py
akkinasrikar/Machine-learning-from-scratch
8e1bc5b28b2c1a819d25ba89364947a6c35bd9da
[ "MIT" ]
null
null
null
import pandas as pd class LabelEncoder: def fit_transform(self,data): duplicate_list=list(data) unique=list(set(data)) l=len(unique) numbers=list(range(0,l)) for i in range(len(data)): ind=unique.index(duplicate_list[i]) duplicate_list[i]=numb...
32.666667
48
0.59949
51
392
4.509804
0.529412
0.226087
0.121739
0
0
0
0
0
0
0
0
0.00361
0.293367
392
12
49
32.666667
0.826715
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11c53da6f583bc9435f490fc44912558aaf3aadc
2,112
py
Python
nightly_build.py
perrante/coolprop
c67ecc570e545d624c18feaf2a01e48b63ae1501
[ "MIT" ]
12
2015-04-21T07:43:09.000Z
2021-11-09T08:35:58.000Z
nightly_build.py
perrante/coolprop
c67ecc570e545d624c18feaf2a01e48b63ae1501
[ "MIT" ]
32
2015-01-04T05:05:05.000Z
2017-12-13T18:03:29.000Z
nightly_build.py
perrante/coolprop
c67ecc570e545d624c18feaf2a01e48b63ae1501
[ "MIT" ]
8
2015-01-01T21:15:37.000Z
2020-08-05T13:31:50.000Z
""" A script for making nightly builds. Uses whatever the default python distro is on the building computer To Use: - SSH key should be uploaded to SF servers and key managed by pageant on building computer - Add a shortcut to the .ppk private key file to the Startup folder in windows so that pageant will be starte...
35.2
184
0.65767
292
2,112
4.633562
0.452055
0.031042
0.035477
0.039911
0.172949
0.125647
0.082779
0.082779
0.082779
0.082779
0
0.010956
0.222064
2,112
60
185
35.2
0.812538
0.035511
0
0.108108
0
0.027027
0.204654
0.068446
0
0
0
0
0
0
null
null
0.027027
0.027027
null
null
0.108108
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11ccffbdc48c5d4a6bdc50afae8411e653b4420b
3,463
py
Python
pythingspeak/pythingspeak.py
mdauphin/pythingspeak
d5971e9347b17a14221564a368fe032ca6acaa03
[ "MIT" ]
null
null
null
pythingspeak/pythingspeak.py
mdauphin/pythingspeak
d5971e9347b17a14221564a368fe032ca6acaa03
[ "MIT" ]
null
null
null
pythingspeak/pythingspeak.py
mdauphin/pythingspeak
d5971e9347b17a14221564a368fe032ca6acaa03
[ "MIT" ]
null
null
null
#-*-coding: utf-8-*- import requests class Channel(object): def __init___(self, channel_id=None): self.channel_id = channel_id class ThingSpeak(object): RESPONSE_FORMAT = { 'TEXT' : '', 'JSON' : '.json', 'XML' : '.xml' } def __init__(self, channel_id=None, api_key=None, url='http://api.thingspeak.com'): ...
33.298077
122
0.670517
502
3,463
4.484064
0.141434
0.066637
0.069303
0.063527
0.713016
0.686806
0.665482
0.623723
0.623723
0.602843
0
0.001751
0.17557
3,463
104
123
33.298077
0.78669
0.134277
0
0.472973
0
0
0.123764
0.052506
0
0
0
0
0
1
0.189189
false
0
0.013514
0
0.405405
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11d13a29e80cd9b468c85aa7afdf1ae59d8e0ba4
1,758
py
Python
src/patent_client/uspto/fulltext/published_application/settings.py
parkerhancock/python-ip
046c1ebbe31e9058a0e421659a3300e8a578fd41
[ "Apache-2.0" ]
15
2018-10-23T01:15:29.000Z
2022-02-01T19:53:44.000Z
src/patent_client/uspto/fulltext/published_application/settings.py
grimmer0125/patent_client
8943ca970d174ecf8aad10669a95ceddd75f5e13
[ "Apache-2.0" ]
33
2018-10-26T03:48:51.000Z
2022-01-17T09:16:07.000Z
src/patent_client/uspto/fulltext/published_application/settings.py
grimmer0125/patent_client
8943ca970d174ecf8aad10669a95ceddd75f5e13
[ "Apache-2.0" ]
7
2019-02-14T20:25:20.000Z
2021-05-24T07:49:34.000Z
SEARCH_PARAMS = { "Sect1": "PTO2", "Sect2": "HITOFF", "p": "1", "u": "/netahtml/PTO/search-adv.html", "r": "0", "f": "S", "l": "50", "d": "PG01", "Query": "query", } SEARCH_FIELDS = { "document_number": "DN", "publication_date": "PD", "title": "TTL", "abstract": "ABS...
29.3
95
0.622867
202
1,758
5.133663
0.589109
0.038573
0.005786
0.034716
0.07136
0.07136
0.07136
0.07136
0
0
0
0.018634
0.175768
1,758
59
96
29.79661
0.697032
0
0
0
0
0.035714
0.627986
0.249716
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11d7b15eaa98fd2f49901008e934f43bdfc06bd8
1,895
py
Python
burn/server.py
Tethik/burn-after-reading
af22e9fcb7b8fb7768105cf4216bf6c4eb9e35cd
[ "MIT" ]
22
2015-11-10T13:16:27.000Z
2021-02-14T09:20:26.000Z
burn/server.py
Tethik/burn-after-reading
af22e9fcb7b8fb7768105cf4216bf6c4eb9e35cd
[ "MIT" ]
26
2016-11-22T22:18:30.000Z
2020-08-31T23:56:41.000Z
burn/server.py
Tethik/burn-after-reading
af22e9fcb7b8fb7768105cf4216bf6c4eb9e35cd
[ "MIT" ]
5
2019-12-21T13:49:36.000Z
2021-12-19T10:27:23.000Z
from flask import Flask, render_template, send_from_directory, jsonify from burn.api import json_api import uuid app = Flask(__name__) @app.after_request def add_security_headers(response): # For reference: https://securityheaders.com # CSP set to disallow anything but images and scripts from this same doma...
33.245614
151
0.720844
262
1,895
5.118321
0.51145
0.0522
0.067114
0.028337
0
0
0
0
0
0
0
0.016917
0.157784
1,895
56
152
33.839286
0.823308
0.312929
0
0
0
0.033333
0.272446
0.03483
0
0
0
0
0
1
0.2
false
0
0.1
0.133333
0.5
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
11dd3f357bc0e509266a32cf18e4cb4927e49092
1,299
py
Python
statechart/runtime.py
leighmck/pystatechart
6ab531851161746dc776654e152a7e9eaf33e746
[ "0BSD" ]
8
2016-08-11T21:26:28.000Z
2021-05-26T03:16:20.000Z
statechart/runtime.py
leighmck/pystatechart
6ab531851161746dc776654e152a7e9eaf33e746
[ "0BSD" ]
3
2016-08-29T12:32:01.000Z
2021-02-11T17:21:08.000Z
statechart/runtime.py
leighmck/pystatechart
6ab531851161746dc776654e152a7e9eaf33e746
[ "0BSD" ]
2
2018-11-07T02:56:38.000Z
2021-03-25T22:56:30.000Z
# -*- coding: utf-8 -*- # # Copyright (c) 2016, Leigh McKenzie # All rights reserved. # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE...
39.363636
79
0.747498
188
1,299
5.095745
0.574468
0.037578
0
0
0
0
0
0
0
0
0
0.004798
0.197845
1,299
32
80
40.59375
0.914587
0.810624
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11dff2cb60fb0d70582bc5c83d2452f85abad8c4
2,248
py
Python
chris_backend/uploadedfiles/models.py
jbernal0019/ChRIS_ultron_backEnd
bea8065222d231f626763df2e38b0e046c6a5adf
[ "MIT" ]
26
2016-05-26T14:09:35.000Z
2022-01-28T19:12:43.000Z
chris_backend/uploadedfiles/models.py
jbernal0019/ChRIS_ultron_backEnd
bea8065222d231f626763df2e38b0e046c6a5adf
[ "MIT" ]
168
2016-06-24T11:07:15.000Z
2022-03-21T12:33:43.000Z
chris_backend/uploadedfiles/models.py
jbernal0019/ChRIS_ultron_backEnd
bea8065222d231f626763df2e38b0e046c6a5adf
[ "MIT" ]
45
2017-08-16T16:41:40.000Z
2022-03-31T18:12:14.000Z
from django.db import models import django_filters from django_filters.rest_framework import FilterSet from core.utils import filter_files_by_n_slashes def uploaded_file_path(instance, filename): # file will be stored to Swift at: # SWIFT_CONTAINER_NAME/<username>/uploads/<upload_path> return instance.o...
42.415094
89
0.670374
266
2,248
5.387218
0.409774
0.081647
0.080251
0.078158
0.251919
0.200279
0.200279
0.200279
0.101884
0.101884
0
0.001769
0.245552
2,248
52
90
43.230769
0.84316
0.163256
0
0.0625
0
0
0.120153
0
0
0
0
0
0
1
0.09375
false
0
0.125
0.0625
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
0
0
1
0
0
1