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
4ec60709ae75be1061393322597eb2f093875569
323
py
Python
software/old_stuff/other/sleep_tester.py
84ace/esp32_smart_keezer
48f13ab377de82d3eea2c7a769ff3f82ff48fdd9
[ "MIT" ]
1
2022-01-27T21:30:10.000Z
2022-01-27T21:30:10.000Z
software/old_stuff/other/sleep_tester.py
84ace/esp32_smart_keezer
48f13ab377de82d3eea2c7a769ff3f82ff48fdd9
[ "MIT" ]
null
null
null
software/old_stuff/other/sleep_tester.py
84ace/esp32_smart_keezer
48f13ab377de82d3eea2c7a769ff3f82ff48fdd9
[ "MIT" ]
null
null
null
from machine import Pin, deepsleep, reset_cause, DEEPSLEEP_RESET from time import sleep print("running") sys_ok_led = Pin(25, Pin.OUT, Pin.PULL_UP) sys_ok_led.value(1) sys_ok_led.PULL_HOLD sleep(2) sys_ok_led = Pin(25, Pin.OUT) sys_ok_led.PULL_UP sys_ok_led.value(1) sys_ok_led.PULL_HOLD print("sleeping") deepsleep(500...
21.533333
64
0.795666
63
323
3.761905
0.380952
0.147679
0.236287
0.151899
0.464135
0.464135
0.464135
0.303797
0.303797
0.303797
0
0.037543
0.092879
323
14
65
23.071429
0.771331
0
0
0.307692
0
0
0.04644
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.153846
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
4ed185a6aa580e057b1b626aaf48cd181773431f
2,268
py
Python
normalization.py
jwieckowski/mcda
1f26f091d9b945702c2e1077d5ba26eefc5d56cb
[ "MIT" ]
null
null
null
normalization.py
jwieckowski/mcda
1f26f091d9b945702c2e1077d5ba26eefc5d56cb
[ "MIT" ]
null
null
null
normalization.py
jwieckowski/mcda
1f26f091d9b945702c2e1077d5ba26eefc5d56cb
[ "MIT" ]
null
null
null
""" script to matrix normalization """ from functools import reduce import math as m import numpy as np def minmax_normalization(x, type): """ :param x: column of matrix data :param type: type of normalization :return: min max normalized column of matrix data """ if min(x) == max(x): ...
24.12766
89
0.600529
313
2,268
4.322684
0.194888
0.059128
0.103474
0.133038
0.570584
0.524021
0.486327
0.459719
0.459719
0.459719
0
0.006611
0.266314
2,268
93
90
24.387097
0.80649
0.345679
0
0.194444
0
0
0.033988
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.583333
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ed2045cb0630a3c2bc0951feddc5d9125886606
12,039
py
Python
cvat/apps/engine/models.py
ItayHoresh/improvedCvat
b0fc79a574d74643b93955a4fc6a1969f49685d1
[ "MIT" ]
null
null
null
cvat/apps/engine/models.py
ItayHoresh/improvedCvat
b0fc79a574d74643b93955a4fc6a1969f49685d1
[ "MIT" ]
6
2020-03-25T11:49:12.000Z
2020-06-06T01:35:38.000Z
cvat/apps/engine/models.py
OperationalBina/Cvat
b0fc79a574d74643b93955a4fc6a1969f49685d1
[ "MIT" ]
1
2020-12-02T12:27:33.000Z
2020-12-02T12:27:33.000Z
# Copyright (C) 2018 Intel Corporation # # SPDX-License-Identifier: MIT from django.db import models from django.conf import settings from django.contrib.auth.models import User from django.contrib.postgres.fields import ArrayField, JSONField from io import StringIO from enum import Enum import shlex ...
31.598425
89
0.684442
1,336
12,039
6.031437
0.183383
0.073467
0.064284
0.086001
0.49305
0.431745
0.386076
0.289154
0.201167
0.151899
0
0.009999
0.210815
12,039
380
90
31.681579
0.838122
0.014038
0
0.37234
0
0
0.021334
0.002264
0
0
0
0.002632
0
1
0.074468
false
0.028369
0.035461
0.042553
0.787234
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
4ed6eea1269dd672a7dba597496446456118e212
1,209
py
Python
tests/parser_test.py
mwawrzos/schwab_parser
d10fae6350e946c5cd5fc783a2d39d500e08221c
[ "MIT" ]
null
null
null
tests/parser_test.py
mwawrzos/schwab_parser
d10fae6350e946c5cd5fc783a2d39d500e08221c
[ "MIT" ]
null
null
null
tests/parser_test.py
mwawrzos/schwab_parser
d10fae6350e946c5cd5fc783a2d39d500e08221c
[ "MIT" ]
null
null
null
import pytest import schwab_parser.parsers as p def split_csv(txt): return [row.split(',') for row in txt.strip().splitlines()] @pytest.fixture def espp_deposit_lines(): deposit_lines = ''' "Date","Action","Symbol","Description","Quantity"''' \ ''',"Fees & Commissions","Disbursement Election","Amount" "200...
22.811321
74
0.694789
158
1,209
5.132911
0.367089
0.133169
0.138101
0.092478
0.110974
0
0
0
0
0
0
0.013752
0.157982
1,209
52
75
23.25
0.782908
0
0
0.096774
0
0
0.126479
0.044586
0
0
0
0
0.032258
1
0.258065
false
0
0.064516
0.064516
0.451613
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
4ed80d9e723d0602fd36fe88eff92607a6308572
683
py
Python
hackerearth/Algorithms/Studious Amit and His New College/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerearth/Algorithms/Studious Amit and His New College/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerearth/Algorithms/Studious Amit and His New College/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here t = int(input()) for _ in range(t): n, ...
28.458333
101
0.594436
89
683
4.539326
0.595506
0.059406
0.049505
0.079208
0.168317
0.168317
0
0
0
0
0
0.004082
0.282577
683
23
102
29.695652
0.820408
0.389458
0
0
0
0
0
0
0
0
0
0.043478
0
1
0
false
0
0
0
0
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
14c137e566915a3bc62061ce8c460dbe8a9ae3df
7,223
py
Python
analyse_functions.py
kcotar/Abundance_space_dimensionality
c0f686cc653a2431dd0f9efdc04dab69103ab3e0
[ "MIT" ]
null
null
null
analyse_functions.py
kcotar/Abundance_space_dimensionality
c0f686cc653a2431dd0f9efdc04dab69103ab3e0
[ "MIT" ]
null
null
null
analyse_functions.py
kcotar/Abundance_space_dimensionality
c0f686cc653a2431dd0f9efdc04dab69103ab3e0
[ "MIT" ]
null
null
null
import os, imp import matplotlib if os.environ.get('DISPLAY') is None: # enables figure saving on clusters with ssh connection matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np imp.load_source('helper', '../tSNE_test/helper_functions.py') from helper import get_spectra # ---------------...
47.834437
130
0.617334
1,079
7,223
3.846154
0.227989
0.022892
0.019277
0.023133
0.269398
0.188675
0.114458
0.095422
0.072289
0.072289
0
0.02008
0.241589
7,223
150
131
48.153333
0.737495
0.137893
0
0.050847
0
0
0.049347
0.00516
0
0
0
0
0
0
null
null
0
0.042373
null
null
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14c7044d2f2fb71f73adab6d19b29718d2dc4b9e
2,231
py
Python
historic/singleCOUNTYdiffMILES.py
adambreznicky/smudge_python
af7ba221890253ac6fe7f38691b351861f8b3d96
[ "MIT" ]
1
2017-05-24T02:05:20.000Z
2017-05-24T02:05:20.000Z
historic/singleCOUNTYdiffMILES.py
adambreznicky/smudge_python
af7ba221890253ac6fe7f38691b351861f8b3d96
[ "MIT" ]
null
null
null
historic/singleCOUNTYdiffMILES.py
adambreznicky/smudge_python
af7ba221890253ac6fe7f38691b351861f8b3d96
[ "MIT" ]
null
null
null
# Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 ## Type "copyright", "credits" or "license()" for more information. # **************************************************************** # Personal firewall software may warn about the connection IDLE # makes to its subproce...
33.80303
101
0.678619
274
2,231
5.412409
0.562044
0.040459
0.004046
0.037761
0
0
0
0
0
0
0
0.022349
0.137606
2,231
65
102
34.323077
0.748441
0.278351
0
0
0
0.027778
0.232851
0.029578
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14c8f2d388c536f89dae85228fddd5235084827f
3,769
py
Python
nylas/util/debug.py
nylas/nylas-production-python
a0979cd104a43f80750b2361aa580516b8dbfcfc
[ "Apache-2.0", "MIT" ]
19
2015-11-20T12:38:34.000Z
2022-01-13T15:40:25.000Z
nylas/util/debug.py
nylas/nylas-production-python
a0979cd104a43f80750b2361aa580516b8dbfcfc
[ "Apache-2.0", "MIT" ]
null
null
null
nylas/util/debug.py
nylas/nylas-production-python
a0979cd104a43f80750b2361aa580516b8dbfcfc
[ "Apache-2.0", "MIT" ]
10
2016-03-12T00:38:54.000Z
2018-12-13T05:58:13.000Z
import sys import time import traceback import collections import gevent._threading import greenlet from nylas.logging import get_logger MAX_BLOCKING_TIME = 5 class Tracer(object): """Log if a greenlet blocks the event loop for too long, and optionally log statistics on time spent in individual greenlets. ...
38.459184
79
0.619528
455
3,769
4.841758
0.281319
0.057195
0.054471
0.032683
0.098048
0.030867
0.030867
0
0
0
0
0.00344
0.305917
3,769
97
80
38.85567
0.838685
0.066331
0
0.056338
0
0
0.015944
0
0
0
0
0
0
0
null
null
0
0.098592
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
14c9b4e861ed5f48d139647844a7176fb3725629
2,423
py
Python
test/fixtures/goldstandard/benchmark_confirm.py
nachogentile/PatentsProcessor
43ae7a727d3368811c828eeca6d6e484af8cb2f6
[ "BSD-2-Clause" ]
53
2015-01-19T17:46:40.000Z
2022-03-28T21:15:42.000Z
test/fixtures/goldstandard/benchmark_confirm.py
kwanghui/patents
fa124bbfbc5950885757a738367dc4d1c6e7fa89
[ "BSD-2-Clause" ]
4
2015-05-11T14:59:13.000Z
2019-03-05T19:12:46.000Z
test/fixtures/goldstandard/benchmark_confirm.py
kwanghui/patents
fa124bbfbc5950885757a738367dc4d1c6e7fa89
[ "BSD-2-Clause" ]
40
2015-02-10T04:28:49.000Z
2022-01-04T21:53:27.000Z
import sqlite3 as sql import os import sys import logging # bmVerify(['final_r7', 'final_r8'], filepath="/home/ysun/disambig/newcode/all/", outdir = "/home/ayu/results_v2/") # Text Files txt_file = 'patentlist.txt' opened_file = open(txt_file, 'U') log_file = 'benchmark_results.log' # Logging logging.basicC...
26.922222
128
0.63021
327
2,423
4.461774
0.376147
0.043866
0.071282
0.039068
0.12817
0.082248
0.082248
0.082248
0.082248
0
0
0.012821
0.259596
2,423
89
129
27.224719
0.800446
0.147338
0
0
0
0
0.250736
0.036801
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14cb0535053d48dd9a27d1222c4f575d4f8a51d4
4,597
py
Python
examples/generate_soundscapes/generate_eval_var_onset.py
turpaultn/DESED
99abdb478442eaee7fad79b2e7be1b5b1a7e8730
[ "MIT" ]
69
2020-02-04T21:06:37.000Z
2022-03-31T12:26:21.000Z
examples/generate_soundscapes/generate_eval_var_onset.py
turpaultn/DESED
99abdb478442eaee7fad79b2e7be1b5b1a7e8730
[ "MIT" ]
15
2020-02-05T10:49:37.000Z
2021-06-07T19:27:54.000Z
examples/generate_soundscapes/generate_eval_var_onset.py
turpaultn/DESED
99abdb478442eaee7fad79b2e7be1b5b1a7e8730
[ "MIT" ]
12
2020-03-24T13:47:43.000Z
2021-12-20T12:33:18.000Z
# -*- coding: utf-8 -*- import functools import glob import logging import time import argparse import os.path as osp import pandas as pd from pprint import pformat from desed.generate_synthetic import SoundscapesGenerator from desed.utils import create_folder, modify_fg_onset, modify_jams from desed.post_process impo...
30.852349
98
0.665869
639
4,597
4.44288
0.283255
0.057062
0.029588
0.022191
0.252906
0.201479
0.201479
0.201479
0.180345
0.148644
0
0.032086
0.227105
4,597
148
99
31.060811
0.766958
0.08462
0
0.201681
1
0
0.090211
0.007438
0
0
0
0
0
1
0
false
0
0.10084
0
0.10084
0.008403
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
14d84b0ae86c65a2c39b5813f9ed1aaab2a9c62d
639
py
Python
blockchains-cryptos/BTC_P2PKH_sigvef_eg.py
black-wolfie/blockchain-with-python-3
0c90f4a4b83f525791e2dc5d95924d657a8ff469
[ "MIT" ]
2
2018-06-17T19:10:48.000Z
2019-08-07T18:20:36.000Z
blockchains-cryptos/BTC_P2PKH_sigvef_eg.py
black-wolfie/blockchain-with-python-3
0c90f4a4b83f525791e2dc5d95924d657a8ff469
[ "MIT" ]
null
null
null
blockchains-cryptos/BTC_P2PKH_sigvef_eg.py
black-wolfie/blockchain-with-python-3
0c90f4a4b83f525791e2dc5d95924d657a8ff469
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Jul 4 22:46:11 2018 """ import BTC_P2PKH_sigvef as bv # verifying two P2PKH Bitcoin signed messages address = 'bitcoin:16vqGo3KRKE9kTsTZxKoJKLzwZGTodK3ce' signature = ('HPDs1TesA48a9up4QORIuub67VHBM37X66skAYz0Esg23gdfMu'+ 'CTYDFORc6XGpKZ2/flJ2h/DUF569FJxGoVZ50=') me...
30.428571
69
0.769953
62
639
7.83871
0.725806
0.045267
0.032922
0.053498
0
0
0
0
0
0
0
0.120072
0.126761
639
20
70
31.95
0.750896
0.159624
0
0
0
0
0.522727
0.477273
0
0
0
0
0
1
0
false
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14ebfaa2ad860c7993ac2db8937d3f192c2ac3b5
389
py
Python
app/blueprints/sample_h5_api/v_user.py
lvyaoo/wx-open-project
6f6683c5267fac50b6c8479c148aa1f35cf0f930
[ "MIT" ]
null
null
null
app/blueprints/sample_h5_api/v_user.py
lvyaoo/wx-open-project
6f6683c5267fac50b6c8479c148aa1f35cf0f930
[ "MIT" ]
null
null
null
app/blueprints/sample_h5_api/v_user.py
lvyaoo/wx-open-project
6f6683c5267fac50b6c8479c148aa1f35cf0f930
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import g from . import bp_sample_h5_api from .decorators import login_required from ...api_utils import * @bp_sample_h5_api.route('/current_user/', methods=['GET']) @login_required def get_current_user(): """ 获取当前微信用户详情 :return: """ data = { 'wx_user': ...
18.52381
58
0.660668
53
389
4.54717
0.566038
0.06639
0.116183
0.13278
0.157676
0
0
0
0
0
0
0.009646
0.200514
389
20
59
19.45
0.765273
0.107969
0
0
0
0
0.073395
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
14f5c9e03d94deb1db87f2eb9f5ff73759f097cc
663
py
Python
task_0/3_euclidean_distance.py
Shobuj-Paul/Strawberry-Stacker
b1f85b0901d3697ec116280a258aa738b290f4b1
[ "BSD-3-Clause" ]
null
null
null
task_0/3_euclidean_distance.py
Shobuj-Paul/Strawberry-Stacker
b1f85b0901d3697ec116280a258aa738b290f4b1
[ "BSD-3-Clause" ]
null
null
null
task_0/3_euclidean_distance.py
Shobuj-Paul/Strawberry-Stacker
b1f85b0901d3697ec116280a258aa738b290f4b1
[ "BSD-3-Clause" ]
null
null
null
#Given 2 points (x1,y1) and (x2,y2), where x1, x2 are x-coordinates #and y1, y2 are y-coordinates of the points. #Your task is to compute the Euclidean distance between them. #The distance computed should be precise up to 2 decimal places. from math import sqrt def compute_distance(x1, y1, x2, y2): distance = sq...
28.826087
68
0.622926
111
663
3.630631
0.513514
0.039702
0.044665
0.059553
0.17866
0.17866
0
0
0
0
0
0.060429
0.226244
663
23
69
28.826087
0.725146
0.351433
0
0.133333
0
0
0.053864
0
0
0
0
0
0
1
0.133333
false
0.066667
0.066667
0
0.266667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
09092049ffe8603bc1f434625af1001a4a8955c1
557
py
Python
Project/dailyFresh/myDailyFresh/apps/goods/migrations/0002_auto_20210305_1756.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
Project/dailyFresh/myDailyFresh/apps/goods/migrations/0002_auto_20210305_1756.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
Project/dailyFresh/myDailyFresh/apps/goods/migrations/0002_auto_20210305_1756.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.17 on 2021-03-05 09:56 from django.db import migrations import tinymce.models class Migration(migrations.Migration): dependencies = [ ('goods', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='goodstest', options={'v...
23.208333
72
0.588869
55
557
5.854545
0.672727
0.102484
0
0
0
0
0
0
0
0
0
0.050251
0.285458
557
23
73
24.217391
0.758794
0.082585
0
0.117647
1
0
0.157171
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
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
090acf6659f953cc203f373453b9f75243d22748
1,160
py
Python
py3odb/cli/command.py
opus49/py3odb
79a4abceacd124cd0c63441f65c40b41afb3216b
[ "MIT" ]
1
2019-12-12T04:42:06.000Z
2019-12-12T04:42:06.000Z
py3odb/cli/command.py
opus49/py3odb
79a4abceacd124cd0c63441f65c40b41afb3216b
[ "MIT" ]
6
2019-09-26T20:48:10.000Z
2020-11-20T02:52:07.000Z
py3odb/cli/command.py
opus49/py3odb
79a4abceacd124cd0c63441f65c40b41afb3216b
[ "MIT" ]
1
2019-10-09T20:19:13.000Z
2019-10-09T20:19:13.000Z
"""Module for abstract Command class to support argument parsing.""" from abc import ABC, abstractmethod from argparse import RawTextHelpFormatter class Command(ABC): """Abstract class that defines a command for argument parsing.""" help_text = None def __init__(self, subparsers): self.subparsers...
30.526316
80
0.656897
128
1,160
5.804688
0.40625
0.040377
0.043069
0
0
0
0
0
0
0
0
0.001139
0.243103
1,160
37
81
31.351351
0.845103
0.260345
0
0.166667
0
0
0.039903
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0
0.458333
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
0913d716230a76dc596827d14aa102096df8ae55
4,131
py
Python
rattube.py
wormholesepiol/RatTube
65d8704adbd1c27127904a82685015e53705ea6f
[ "Apache-2.0" ]
3
2020-08-25T00:49:05.000Z
2021-02-22T02:39:41.000Z
rattube.py
wormholesepiol/RatTube
65d8704adbd1c27127904a82685015e53705ea6f
[ "Apache-2.0" ]
null
null
null
rattube.py
wormholesepiol/RatTube
65d8704adbd1c27127904a82685015e53705ea6f
[ "Apache-2.0" ]
null
null
null
# rattube.py # # Copyright 2020 Sam Sepiol <sam@debian> # from termcolor import cprint from pyfiglet import figlet_format from pytube import YouTube import time from os import system, name import sys from colorama import init init(strip=not sys.stdout.isatty()) class RatTube: def limpiar_Pantal...
32.273438
133
0.687001
578
4,131
4.847751
0.397924
0.037116
0.035689
0.025696
0.04354
0.04354
0.04354
0.04354
0.04354
0.04354
0
0.009355
0.223675
4,131
127
134
32.527559
0.864359
0.012104
0
0.184615
0
0.015385
0.190476
0
0
0
0
0.094488
0
1
0.123077
false
0
0.107692
0
0.246154
0.138462
0
0
0
null
0
0
0
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
091641b3bc5f8d76576004a82f8c2e19203e45b1
266
py
Python
django-api/rasaApp/urls.py
raghavwadhwa/RasaReactBOT
3bde045e300f6fc82459e48758c0e7c0887cb916
[ "MIT" ]
null
null
null
django-api/rasaApp/urls.py
raghavwadhwa/RasaReactBOT
3bde045e300f6fc82459e48758c0e7c0887cb916
[ "MIT" ]
null
null
null
django-api/rasaApp/urls.py
raghavwadhwa/RasaReactBOT
3bde045e300f6fc82459e48758c0e7c0887cb916
[ "MIT" ]
null
null
null
from rest_framework import routers from .api import * from . import api from django.urls import path urlpatterns = [ path('translate/', api.TranslateViewSet.as_view(), name='translate'), path('response/', api.ResponseViewSet.as_view(), name='response'), ]
24.181818
73
0.725564
33
266
5.757576
0.515152
0.063158
0.105263
0
0
0
0
0
0
0
0
0
0.135338
266
10
74
26.6
0.826087
0
0
0
0
0
0.135338
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0917fc6403d37c4c072f994435674ebe193cf140
1,042
py
Python
src/ipdasite.theme/src/ipdasite/theme/tests/test_viewlets.py
NASA-PDS/planetarydata.org
16731a251c22408b433117f7f01e29d004f11467
[ "Apache-2.0" ]
null
null
null
src/ipdasite.theme/src/ipdasite/theme/tests/test_viewlets.py
NASA-PDS/planetarydata.org
16731a251c22408b433117f7f01e29d004f11467
[ "Apache-2.0" ]
5
2021-03-19T21:41:19.000Z
2022-02-11T14:55:14.000Z
src/ipdasite.theme/src/ipdasite/theme/tests/test_viewlets.py
NASA-PDS/planetarydata.org
16731a251c22408b433117f7f01e29d004f11467
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 # Copyright 2012 California Institute of Technology. ALL RIGHTS # RESERVED. U.S. Government Sponsorship acknowledged. from ipdasite.theme.testing import IPDA_SITE_THEME_INTEGRATION_TESTING from Products.Five.browser import BrowserView as View from zope.component import getMultiAdapter from zope.viewl...
38.592593
70
0.773512
119
1,042
6.588235
0.579832
0.030612
0.043367
0.061224
0.079082
0
0
0
0
0
0
0.006742
0.145873
1,042
26
71
40.076923
0.874157
0.173704
0
0
0
0
0.031653
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0926d24fd2448ee05f7afd7e3506f501e92a216c
3,409
py
Python
ooppython3/modalidade.py
mpeschke/PARADIG-PROG-N1-OOP-PYTHON3
2c96a9c6ff65a6c491cc2a09abe799e6eee429a8
[ "MIT" ]
null
null
null
ooppython3/modalidade.py
mpeschke/PARADIG-PROG-N1-OOP-PYTHON3
2c96a9c6ff65a6c491cc2a09abe799e6eee429a8
[ "MIT" ]
null
null
null
ooppython3/modalidade.py
mpeschke/PARADIG-PROG-N1-OOP-PYTHON3
2c96a9c6ff65a6c491cc2a09abe799e6eee429a8
[ "MIT" ]
null
null
null
# coding=UTF-8 """ Módulo: Fornece a superclasse com todos os métodos necessários para implementar uma modalidade de competição de olimpíadas. """ from ooppython3.adversario import Adversario class Modalidade: """ Superclasse representando uma modalidade de competição das olimpíadas. """ _adversarios ...
30.711712
77
0.60927
321
3,409
6.367601
0.34891
0.023483
0.034247
0.033757
0.07681
0.03816
0
0
0
0
0
0.001281
0.312995
3,409
110
78
30.990909
0.871477
0.382224
0
0.081633
0
0
0.011293
0
0
0
0
0.009091
0
1
0.163265
false
0
0.020408
0
0.530612
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
092e5046f933b7067ca64b74d87981bba239e21a
210
py
Python
ratings/urls.py
daltonamitchell/rating-dashboard
8387155feafb7b8fa26266021aa43b66f7af95c4
[ "MIT" ]
1
2015-10-21T17:13:49.000Z
2015-10-21T17:13:49.000Z
ratings/urls.py
daltonamitchell/rating-dashboard
8387155feafb7b8fa26266021aa43b66f7af95c4
[ "MIT" ]
null
null
null
ratings/urls.py
daltonamitchell/rating-dashboard
8387155feafb7b8fa26266021aa43b66f7af95c4
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^new/$', views.create, name='new'), url(r'^store/', views.store, name='store'), url(r'^$', views.index, name='index'), ]
21
47
0.614286
30
210
4.3
0.466667
0.093023
0
0
0
0
0
0
0
0
0
0
0.166667
210
9
48
23.333333
0.737143
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0931cd06d58595b4b54503ca612cf9e892fc2295
1,726
py
Python
Dictionary.py
FatalWhite/Python3Lab
2d914e41f7c0b2f52c06f27804e28e8648a9e048
[ "Apache-2.0" ]
null
null
null
Dictionary.py
FatalWhite/Python3Lab
2d914e41f7c0b2f52c06f27804e28e8648a9e048
[ "Apache-2.0" ]
null
null
null
Dictionary.py
FatalWhite/Python3Lab
2d914e41f7c0b2f52c06f27804e28e8648a9e048
[ "Apache-2.0" ]
null
null
null
# 딕셔너리 : 매핑 자료구조 # 키key에 값value을 연결시키는 방식으로 데이터를 다루는 방법 제공 # 키는 저장된 데이터를 식별하기 위한 번호나 이름 # 값은 각 키에 연결되어 저장된 테이터 # 따라서 키만 알면 데이터를 바로 찾을 수 있음 # 딕셔너리는 {} 에 키:값 형태로 이용 # 키:값이 여러개 존재할 경우, 로 구분 menu = { '1': 'newSungJuk', '2': 'showSungJuk', '3': 'modifySungJuk' } # 키는 다양한 자료형으로 사용 book = { 'bookid': '1', ...
21.308642
59
0.547509
259
1,726
3.629344
0.486486
0.162766
0.051064
0.060638
0.110638
0
0
0
0
0
0
0.034762
0.283314
1,726
81
60
21.308642
0.725141
0.265933
0
0.288462
0
0
0.208703
0
0
0
0
0
0
1
0
false
0
0
0
0
0.403846
0
0
0
null
0
0
0
0
0
0
0
0
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
093abf4040be6a5c9c2a5ad2ed8261431ecd76a8
653
py
Python
Loops/ForLoop1.py
lytranp/Tutoring-PythonIntroduction
90b02d2ccfcca50d299a54d8cad9c29dd491e1bf
[ "MIT" ]
null
null
null
Loops/ForLoop1.py
lytranp/Tutoring-PythonIntroduction
90b02d2ccfcca50d299a54d8cad9c29dd491e1bf
[ "MIT" ]
null
null
null
Loops/ForLoop1.py
lytranp/Tutoring-PythonIntroduction
90b02d2ccfcca50d299a54d8cad9c29dd491e1bf
[ "MIT" ]
null
null
null
## There are 2 types of loops: # definite iteration # and indefinite iteration until the program determines to stop it ## for loop: control statement that most easily supports definite iteration for eachPass in range(4): print("It's alive!", end = " ") number = 2 exponential = 3 product = 1 for i in range(expone...
26.12
82
0.701378
97
653
4.721649
0.57732
0.045852
0.056769
0.069869
0
0
0
0
0
0
0
0.013436
0.202144
653
24
83
27.208333
0.865643
0.404288
0
0
0
0
0.155673
0
0
0
0
0
0
1
0
false
0.071429
0
0
0
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
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
093caee87a52c0531f7755c320f5bc3d0bef7ce1
727
py
Python
components/footer.py
nt409/dash_template
b19661e54e3a776ecd0487d91aff5168e8bf59c7
[ "MIT" ]
null
null
null
components/footer.py
nt409/dash_template
b19661e54e3a776ecd0487d91aff5168e8bf59c7
[ "MIT" ]
null
null
null
components/footer.py
nt409/dash_template
b19661e54e3a776ecd0487d91aff5168e8bf59c7
[ "MIT" ]
null
null
null
import dash_html_components as html footer = html.Footer([ html.Div( html.Div([ html.A("Home", href="/", className="footer-navlink"), html.A("Model", href="/model", className="footer-navlink"), html.A("Data", href="/data"...
27.961538
83
0.419532
58
727
5.224138
0.37931
0.29703
0.108911
0.092409
0.178218
0
0
0
0
0
0
0
0.444292
727
26
84
27.961538
0.75
0
0
0.45
0
0
0.211538
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
093e18f7f9bd2c7ce3163bedaeff20243a5b4bbe
4,063
py
Python
src/models/components/utils.py
philip-mueller/lovt
91cf2094a0e140b8431b8e4ebadc56547a8df6b2
[ "MIT" ]
3
2021-12-15T07:53:36.000Z
2022-01-05T17:02:45.000Z
src/models/components/utils.py
philip-mueller/lovt
91cf2094a0e140b8431b8e4ebadc56547a8df6b2
[ "MIT" ]
null
null
null
src/models/components/utils.py
philip-mueller/lovt
91cf2094a0e140b8431b8e4ebadc56547a8df6b2
[ "MIT" ]
3
2021-12-14T11:17:43.000Z
2021-12-16T07:35:43.000Z
from abc import ABC, abstractmethod from dataclasses import dataclass from functools import partial from typing import Optional, Union, Tuple, Any import torch from omegaconf import MISSING from torch import nn import torch.nn.functional as F from torch.utils.data.dataloader import default_collate from common.datacla...
33.03252
111
0.658134
490
4,063
5.232653
0.226531
0.046802
0.035101
0.028081
0.24532
0.094774
0.048362
0.048362
0.048362
0.048362
0
0.003
0.261629
4,063
122
112
33.303279
0.851667
0.022151
0
0.2
0
0
0.020642
0
0
0
0
0
0.010526
1
0.094737
false
0
0.105263
0.010526
0.515789
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
093fec499d5415a752be8817502a292464bb91dd
1,846
py
Python
Patterns/Adapter_solution.py
alex123012/Coursera_Python_and_Django
384d92ef385c9e4d23e4061f46a0d3d25dc271d1
[ "BSL-1.0" ]
null
null
null
Patterns/Adapter_solution.py
alex123012/Coursera_Python_and_Django
384d92ef385c9e4d23e4061f46a0d3d25dc271d1
[ "BSL-1.0" ]
null
null
null
Patterns/Adapter_solution.py
alex123012/Coursera_Python_and_Django
384d92ef385c9e4d23e4061f46a0d3d25dc271d1
[ "BSL-1.0" ]
null
null
null
class MappingAdapter: def __init__(self, adaptee): self.adaptee = adaptee def lighten(self, grid): lights, obtacles = self.__find_all(grid) height, width = len(grid[0]), len(grid) self.adaptee.set_dim((height, width)) self.adaptee.set_lights(lights) self.adaptee....
30.262295
78
0.533044
224
1,846
4.200893
0.232143
0.070138
0.025505
0.038257
0.138151
0.138151
0.138151
0.116897
0.116897
0.116897
0
0.016667
0.349946
1,846
60
79
30.766667
0.7675
0.031419
0
0.12766
0
0
0.004487
0
0
0
0
0
0
1
0.212766
false
0
0
0.021277
0.340426
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
0948ff700308aa5daecf5673876829ee5bf9ed29
848
py
Python
setup.py
ASKBOT/askbot-slack
7261b7a89109f0c02fa8a99c80f690d8302afc77
[ "MIT" ]
3
2016-01-30T06:27:00.000Z
2021-06-17T18:56:42.000Z
setup.py
ASKBOT/askbot-slack
7261b7a89109f0c02fa8a99c80f690d8302afc77
[ "MIT" ]
null
null
null
setup.py
ASKBOT/askbot-slack
7261b7a89109f0c02fa8a99c80f690d8302afc77
[ "MIT" ]
1
2018-09-29T13:06:31.000Z
2018-09-29T13:06:31.000Z
from setuptools import setup setup( name="askbot-slack", version="0.1.3", classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Lang...
33.92
135
0.660377
99
848
5.575758
0.717172
0.07971
0.13587
0.141304
0
0
0
0
0
0
0
0.013413
0.208726
848
24
136
35.333333
0.80924
0
0
0
0
0.043478
0.549528
0
0
0
0
0
0
1
0
true
0
0.043478
0
0.043478
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
09553abb1d7c3ca856d0dee09203b6c1429a7249
666
py
Python
contentcuration/contentcuration/migrations/0040_file_assessment_item.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
1
2019-03-30T18:14:25.000Z
2019-03-30T18:14:25.000Z
contentcuration/contentcuration/migrations/0040_file_assessment_item.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-05-06T17:19:30.000Z
2019-03-15T01:51:24.000Z
contentcuration/contentcuration/migrations/0040_file_assessment_item.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
4
2016-10-18T22:49:08.000Z
2019-09-17T11:20:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-11-07 22:29 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations from django.db import models class Migration(migrations.Migration): dependencies = [ ('contentcuration', '0039_auto_20161101_1...
27.75
103
0.642643
74
666
5.621622
0.675676
0.076923
0.067308
0.105769
0
0
0
0
0
0
0
0.063872
0.247748
666
23
104
28.956522
0.766467
0.100601
0
0
1
0
0.154362
0.088926
0
0
0
0
0
1
0
false
0
0.25
0
0.4375
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
095614f23250b7177f1ad2452b360dfd913a032f
3,620
py
Python
xnr/WeiboCrawler.py
BingquLee/spiders
66e42b59aa692ab531e6ca347708d46b189c0047
[ "Apache-2.0" ]
null
null
null
xnr/WeiboCrawler.py
BingquLee/spiders
66e42b59aa692ab531e6ca347708d46b189c0047
[ "Apache-2.0" ]
null
null
null
xnr/WeiboCrawler.py
BingquLee/spiders
66e42b59aa692ab531e6ca347708d46b189c0047
[ "Apache-2.0" ]
null
null
null
import time from selenium import webdriver from SinaLauncher import SinaLauncher class WeiboCrawler(object): def __init__(self): self.driver = webdriver.Firefox() def get_present_time(self): present_time_stamp = time.localtime(int(time.time())) present_time = time.strftime("%Y-%m-%d ...
39.78022
126
0.620166
420
3,620
5.083333
0.245238
0.044965
0.08993
0.04918
0.46089
0.343794
0.24637
0.186417
0.09274
0.09274
0
0.006739
0.262155
3,620
90
127
40.222222
0.792587
0.03453
0
0
0
0
0.1572
0.069421
0
0
0
0
0
0
null
null
0.046154
0.046154
null
null
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0961a4445d68759a8532bc3b6d9a55c609303e4b
376
py
Python
demo/demo/urls.py
JanMalte/processlib
3c8c938479a85b5ad82258244b3c5eeaa537641e
[ "BSD-3-Clause" ]
1
2020-07-14T10:42:55.000Z
2020-07-14T10:42:55.000Z
demo/demo/urls.py
JanMalte/processlib
3c8c938479a85b5ad82258244b3c5eeaa537641e
[ "BSD-3-Clause" ]
2
2019-07-12T14:22:11.000Z
2019-07-30T07:27:20.000Z
demo/demo/urls.py
JanMalte/processlib
3c8c938479a85b5ad82258244b3c5eeaa537641e
[ "BSD-3-Clause" ]
2
2018-08-22T11:09:06.000Z
2019-07-12T14:16:00.000Z
from django.conf.urls import url, include from rest_framework import routers from crm_inbox.flows import * # noqa from processlib.views import (ProcessViewSet) router = routers.DefaultRouter() router.register('process', ProcessViewSet) urlpatterns = [ url(r'^process/', include('processlib.urls', namespace='pr...
23.5
74
0.742021
45
376
6.155556
0.555556
0.028881
0
0
0
0
0
0
0
0
0
0
0.125
376
15
75
25.066667
0.841945
0.010638
0
0
0
0
0.124324
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
116da3199d4c56a0ba7d173db88f53353e29f4e5
685
py
Python
home/migrations/0004_auto_20180517_0440.py
marcanuy/keraban
c9824a65cc3e6f54f3b68ba272fe556ccded0a11
[ "MIT" ]
4
2020-04-20T05:35:17.000Z
2020-11-27T13:52:49.000Z
home/migrations/0004_auto_20180517_0440.py
marcanuy/keraban
c9824a65cc3e6f54f3b68ba272fe556ccded0a11
[ "MIT" ]
12
2018-05-22T14:04:21.000Z
2022-03-11T23:20:57.000Z
home/migrations/0004_auto_20180517_0440.py
marcanuy/keraban
c9824a65cc3e6f54f3b68ba272fe556ccded0a11
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-17 04:40 from django.db import migrations import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('home', '0003_standardpage_subtitle'), ] operations = [ migrations...
31.136364
270
0.687591
75
685
6.24
0.613333
0.117521
0.108974
0
0
0
0
0
0
0
0
0.033808
0.179562
685
21
271
32.619048
0.798932
0.065693
0
0
1
0
0.12069
0.040752
0
0
0
0
0
1
0
false
0
0.266667
0
0.466667
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
117acf06b8076391853a84b41dc32ee6a37c68d4
2,082
py
Python
acceptance_tests/utilities/collex_helper.py
ONSdigital/ssdc-rm-acceptance-tests
eb842405a58ce24acd3c2972d39221cbcf0cbdf8
[ "MIT" ]
null
null
null
acceptance_tests/utilities/collex_helper.py
ONSdigital/ssdc-rm-acceptance-tests
eb842405a58ce24acd3c2972d39221cbcf0cbdf8
[ "MIT" ]
50
2021-06-21T06:52:19.000Z
2021-11-20T15:54:16.000Z
acceptance_tests/utilities/collex_helper.py
ONSdigital/ssdc-rm-acceptance-tests
eb842405a58ce24acd3c2972d39221cbcf0cbdf8
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import requests from acceptance_tests.utilities.event_helper import get_emitted_collection_exercise_update from acceptance_tests.utilities.test_case_helper import test_helper from config import Config def add_collex(survey_id, collection_instrument_selection_rules): coll...
44.297872
113
0.700768
238
2,082
5.815126
0.306723
0.130058
0.156069
0.146676
0.277457
0.228324
0.228324
0
0
0
0
0.007697
0.188761
2,082
46
114
45.26087
0.811723
0
0
0
0
0
0.229107
0.081172
0
0
0
0
0.171429
1
0.028571
false
0.057143
0.142857
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
117bab60f251619a9899cdbb7ed43889651f5971
4,079
py
Python
src/api/resources/light_curve/light_curve.py
alercebroker/ztf-api-apf
916f02009a07e43d6ed26bdb1e2b0ec7f41321f1
[ "Apache-2.0" ]
null
null
null
src/api/resources/light_curve/light_curve.py
alercebroker/ztf-api-apf
916f02009a07e43d6ed26bdb1e2b0ec7f41321f1
[ "Apache-2.0" ]
null
null
null
src/api/resources/light_curve/light_curve.py
alercebroker/ztf-api-apf
916f02009a07e43d6ed26bdb1e2b0ec7f41321f1
[ "Apache-2.0" ]
null
null
null
from flask_restx import Namespace, Resource from .parsers import survey_id_parser from .models import ( light_curve_model, detection_model, non_detection_model, ) from dependency_injector.wiring import inject, Provide from dependency_injector.providers import Factory from api.container import AppContainer f...
32.373016
79
0.68963
442
4,079
6.076923
0.205882
0.047655
0.036485
0.041698
0.707372
0.651154
0.620625
0.620625
0.620625
0.620625
0
0.005581
0.209365
4,079
125
80
32.632
0.827287
0.018142
0
0.605505
0
0
0.099873
0.018551
0
0
0
0
0
1
0.027523
false
0
0.091743
0
0.174312
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
117e82a77fd4cfd6a4225976b6971de8246ce5fb
4,813
py
Python
c_gan.py
webcok/CGANHumanTrajectory
6c624654b2b847e7e9afa98c35607d3867f2d554
[ "MIT" ]
1
2019-07-17T05:13:22.000Z
2019-07-17T05:13:22.000Z
c_gan.py
webcok/CGANHumanTrajectory
6c624654b2b847e7e9afa98c35607d3867f2d554
[ "MIT" ]
null
null
null
c_gan.py
webcok/CGANHumanTrajectory
6c624654b2b847e7e9afa98c35607d3867f2d554
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data import numpy as np import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import os import random def plot(samples): fig = plt.figure() plt.gca().set_color_cycle(['blue', 'red','green', 'black']) plt.plo...
21.486607
89
0.6337
851
4,813
3.336075
0.20329
0.056358
0.045086
0.056358
0.307503
0.211694
0.147235
0.08031
0.044382
0
0
0.042581
0.214419
4,813
223
90
21.58296
0.708278
0.035944
0
0
0
0
0.015128
0
0
0
0
0
0
0
null
null
0
0.057851
null
null
0.057851
0
0
0
null
0
0
0
0
0
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
1185bb89e20b745d8a8ba86e2d3fb5f3dc0e11f3
5,415
py
Python
earthquakes_package/scripts/dbmanager.py
saramakosa/earthquakes
6275d2fb18e8878919ff0d6cee84f6383a416d4c
[ "Apache-2.0" ]
null
null
null
earthquakes_package/scripts/dbmanager.py
saramakosa/earthquakes
6275d2fb18e8878919ff0d6cee84f6383a416d4c
[ "Apache-2.0" ]
9
2020-08-24T08:15:52.000Z
2020-09-07T16:37:57.000Z
earthquakes_package/scripts/dbmanager.py
saramakosa/earthquakes
6275d2fb18e8878919ff0d6cee84f6383a416d4c
[ "Apache-2.0" ]
null
null
null
"""This module helps a user to manage the database. Only one table ("users") is available and new users can me added or the existing ones can be removed. See the argparse options for more information.""" import sqlite3 import argparse import os import random import hashlib conn = None cursor = None db_abs_path = 'ea...
30.59322
79
0.632872
727
5,415
4.638239
0.255846
0.013345
0.02847
0.039146
0.206406
0.096679
0.051601
0.032028
0.032028
0.032028
0
0.009613
0.269991
5,415
176
80
30.767045
0.84341
0.317636
0
0.27
0
0
0.229772
0.010995
0
0
0
0
0
1
0.07
false
0.13
0.05
0
0.18
0.05
0
0
0
null
0
0
0
0
0
0
0
0
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
118a58b5ccf1c5dd48fa96884e45f13486fbfb07
2,137
py
Python
main.py
Fovik/Translater
f5eaa4841ba3ec0da44d653e76d3ca23aa2fc7a8
[ "MIT" ]
null
null
null
main.py
Fovik/Translater
f5eaa4841ba3ec0da44d653e76d3ca23aa2fc7a8
[ "MIT" ]
null
null
null
main.py
Fovik/Translater
f5eaa4841ba3ec0da44d653e76d3ca23aa2fc7a8
[ "MIT" ]
null
null
null
import wx import wx.adv import yaml from lib import clipboard TRAY_TOOLTIP = 'System Tray Demo' ID_MENU_ABOUT = 1025 TRANSLATE_EVENTS_START = 2000 __version__ = '0.0.1' def ShowAbout(event): dialog = wx.MessageDialog(None, "Создал Pavlov Artemiy", caption="О программе", style=wx.OK|wx.CENTRE, pos=wx.DefaultPositi...
22.978495
166
0.729059
311
2,137
4.797428
0.385852
0.042225
0.077078
0.026139
0.122654
0
0
0
0
0
0
0.007035
0.135236
2,137
92
167
23.228261
0.800325
0.064577
0
0.037037
0
0
0.089679
0.012525
0
0
0
0.01087
0
1
0.092593
false
0
0.074074
0
0.203704
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
1
0
0
0
0
0
0
0
0
0
0
1
118ba8945ca0ddc59adeb454b0eec2f0434cf4f8
1,545
py
Python
todo-tags.py
jerheff/pre-commit
2e511312ae07938cc224f2ed40ba5d2a14f8575f
[ "MIT" ]
null
null
null
todo-tags.py
jerheff/pre-commit
2e511312ae07938cc224f2ed40ba5d2a14f8575f
[ "MIT" ]
null
null
null
todo-tags.py
jerheff/pre-commit
2e511312ae07938cc224f2ed40ba5d2a14f8575f
[ "MIT" ]
2
2019-06-20T10:28:37.000Z
2021-06-02T20:30:12.000Z
#!/usr/bin/env python3 -s # Searches passed files for TODO comments. # # Prints out (and exits non-zero) if any TODO comments are not in the form: # # TODO(DEV-1234): some text # # Ensuring all TODOs are either complete when opening the PR, or have a JIRA # ticket to track the future change. import argparse imp...
27.105263
76
0.595469
223
1,545
4.09417
0.470852
0.03943
0.05586
0
0
0
0
0
0
0
0
0.008764
0.261489
1,545
56
77
27.589286
0.791411
0.295146
0
0.064516
0
0
0.2
0.020465
0
0
0
0.017857
0
1
0
false
0
0.096774
0
0.096774
0.032258
0
0
0
null
0
0
0
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
118f57c314eed3e702d8b2c54f88a0b4b54cebff
2,621
py
Python
tests.py
horoshenkih/artm
b5b5d83eec06f0caa62163bd4dab3f8ebf3637d7
[ "MIT" ]
null
null
null
tests.py
horoshenkih/artm
b5b5d83eec06f0caa62163bd4dab3f8ebf3637d7
[ "MIT" ]
null
null
null
tests.py
horoshenkih/artm
b5b5d83eec06f0caa62163bd4dab3f8ebf3637d7
[ "MIT" ]
null
null
null
from utils import * from algorithms import nmf import numpy as np import sys w = 200 d = 100 t = 6 beta0 = 0.01 # const n_iter = 300 results = open(sys.argv[1], "w") for run in range(1): seeds = [30+run,40+run] for alpha0 in [0.01, 0.02, 0.05]: #for alpha0 in [0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0...
37.442857
113
0.54979
366
2,621
3.898907
0.224044
0.100911
0.071479
0.071479
0.515767
0.515767
0.484933
0.484933
0.42747
0.42747
0
0.058885
0.274323
2,621
69
114
37.985507
0.691378
0.065624
0
0.327273
0
0
0.105565
0
0
0
0
0
0
0
null
null
0
0.072727
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
119137065395550441202dc6c34e770e4c92c7ec
2,457
py
Python
tests/helpers.py
floatingpurr/sync_with_poetry
d7456aaa0f70302d9ef76430c35f545227b2a322
[ "MIT" ]
9
2021-12-19T21:51:28.000Z
2022-03-31T14:17:40.000Z
tests/helpers.py
floatingpurr/sync_with_poetry
d7456aaa0f70302d9ef76430c35f545227b2a322
[ "MIT" ]
5
2021-12-20T19:47:42.000Z
2022-03-29T09:16:13.000Z
tests/helpers.py
floatingpurr/sync_with_poetry
d7456aaa0f70302d9ef76430c35f545227b2a322
[ "MIT" ]
2
2022-03-04T12:24:02.000Z
2022-03-14T15:13:10.000Z
from typing import Optional import yaml # A lock file LOCK_CONTENT = ( "[[package]]\n" 'name = "mypy"\n' 'version = "0.910"\n' 'description = "Optional static typing for Python"\n' 'category = "dev"\n' "optional = false\n" 'python-versions = ">=3.5"\n' "[[package]]\n" 'name = "flak...
26.138298
81
0.529508
330
2,457
3.89697
0.336364
0.027994
0.027216
0.034992
0.2014
0.171851
0.134526
0.134526
0.11042
0.11042
0
0.025773
0.289377
2,457
93
82
26.419355
0.710767
0.086691
0
0.246575
0
0
0.621609
0.01085
0
0
0
0
0
1
0.013699
false
0
0.027397
0
0.068493
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
119aa2dd30c7f22f49d1a7369eb2525a8cec3773
8,491
py
Python
codes/utilities/gan_tournament_selection.py
roddtalebi/ezCGP
a93df7ae91fd5905df368661b86ae653c3d08869
[ "MIT" ]
null
null
null
codes/utilities/gan_tournament_selection.py
roddtalebi/ezCGP
a93df7ae91fd5905df368661b86ae653c3d08869
[ "MIT" ]
null
null
null
codes/utilities/gan_tournament_selection.py
roddtalebi/ezCGP
a93df7ae91fd5905df368661b86ae653c3d08869
[ "MIT" ]
null
null
null
''' tournament to rank refiners + discriminators for simgan ''' import numpy as np import pandas as pd import torch def get_graph_ratings(refiners, discriminators, validation_data, device, starting_rating=1500, ...
52.73913
155
0.608644
1,073
8,491
4.635601
0.233924
0.031363
0.028146
0.016888
0.224769
0.126659
0.092481
0.092481
0.052674
0.052674
0
0.011183
0.304911
8,491
160
156
53.06875
0.831583
0.407961
0
0.036585
0
0
0.03469
0
0
0
0
0.01875
0
1
0.036585
false
0
0.036585
0
0.109756
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
119bd049d8fc02fc13a226e4f6d8aae885ecd556
6,056
py
Python
VRPTWObjectiveFunction.py
tweinyan/hsavrptw
075d30ddb86d1c151bbe2165fa68be491b4769ea
[ "BSD-3-Clause" ]
2
2022-03-10T13:02:27.000Z
2022-03-17T02:51:02.000Z
VRPTWObjectiveFunction.py
Twein89/hsavrptw
075d30ddb86d1c151bbe2165fa68be491b4769ea
[ "BSD-3-Clause" ]
null
null
null
VRPTWObjectiveFunction.py
Twein89/hsavrptw
075d30ddb86d1c151bbe2165fa68be491b4769ea
[ "BSD-3-Clause" ]
2
2018-06-19T00:59:09.000Z
2021-10-07T18:30:18.000Z
#!/usr/bin/python """hsa Usage: hsa.py <problem_instance> --hms=<hms> --hmcr=<hmcr> --parmax=<par> --parmin=<parmin> --ni=<ni> Options: --hms=<hms> Harmony memory size e.g. 10, 20, 30... --hmcr=<hmcr> Harmony memory consideration rate e.g. 0.6, 0.7, 0.8 --ni=<ni> Number of improvisations e...
35.00578
140
0.610799
827
6,056
4.291415
0.23942
0.067061
0.08115
0.080304
0.236123
0.235841
0.190476
0.174697
0.166244
0.165117
0
0.020751
0.291777
6,056
172
141
35.209302
0.806715
0.136394
0
0.2
0
0
0.022087
0
0
0
0
0.005814
0
0
null
null
0.009091
0.063636
null
null
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
119fc6d8ca2a2378a6f5057609510e167a28b101
729
py
Python
homedisplay/info_timers/migrations/0006_auto_20160224_1522.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2016-11-28T04:35:06.000Z
2016-11-28T04:35:06.000Z
homedisplay/info_timers/migrations/0006_auto_20160224_1522.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
160
2015-01-01T20:59:29.000Z
2016-04-25T13:36:52.000Z
homedisplay/info_timers/migrations/0006_auto_20160224_1522.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2015-02-25T21:24:01.000Z
2015-02-25T21:24:01.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-24 13:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('info_timers', '0005_auto_20160213_1439'), ] operations = [ migrations.Remove...
24.3
53
0.58299
73
729
5.60274
0.657534
0.066015
0.102689
0.132029
0.400978
0.176039
0
0
0
0
0
0.062992
0.303155
729
29
54
25.137931
0.742126
0.091907
0
0.454545
1
0
0.132018
0.066768
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
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
11a614675f93ef652e453d295c4174a1e608fadc
1,212
py
Python
auth_app/migrations/0003_auto_20220120_2339.py
Afeez1131/Referral_contest
8511516758e1a63909be333d1890594d32fdd51c
[ "MIT" ]
null
null
null
auth_app/migrations/0003_auto_20220120_2339.py
Afeez1131/Referral_contest
8511516758e1a63909be333d1890594d32fdd51c
[ "MIT" ]
null
null
null
auth_app/migrations/0003_auto_20220120_2339.py
Afeez1131/Referral_contest
8511516758e1a63909be333d1890594d32fdd51c
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2022-01-20 21:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("auth", "0012_alter_user_first_name_max_length"), ("auth_app", "0002_businessowner_is_superuser"), ] operations = [ migrations.AddField...
31.076923
126
0.549505
118
1,212
5.432203
0.533898
0.074883
0.071763
0.084243
0.408736
0.408736
0.271451
0.137285
0.137285
0.137285
0
0.028133
0.354785
1,212
38
127
31.894737
0.79156
0.035479
0
0.5
1
0
0.283633
0.058269
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
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
11a875dc5548d065e8fb8bd7af00a04364f67e6b
28,350
py
Python
genpairs.py
TestCreator/GenPairs
d38e1e207cb055665bc22a6b204a938003290d7c
[ "BSD-3-Clause" ]
null
null
null
genpairs.py
TestCreator/GenPairs
d38e1e207cb055665bc22a6b204a938003290d7c
[ "BSD-3-Clause" ]
null
null
null
genpairs.py
TestCreator/GenPairs
d38e1e207cb055665bc22a6b204a938003290d7c
[ "BSD-3-Clause" ]
null
null
null
# Generate an all-pairs covering test suite # # (c) 2007 University of Oregon and Michal Young # All rights reserved. # License = """ (C) 2007,2017 University of Oregon and Michal Young. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that...
36.160714
80
0.594956
3,265
28,350
5.119449
0.208576
0.002692
0.007897
0.015136
0.134011
0.11367
0.08292
0.071313
0.053605
0.041161
0
0.007711
0.277213
28,350
783
81
36.206897
0.808013
0.234109
0
0.175601
1
0.001848
0.223444
0.008572
0
0
0
0
0
1
0.057301
false
0
0.012939
0.009242
0.125693
0.081331
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
11b2f1074e825e44e13f96564021ae3a4a5ed240
2,071
py
Python
proj01_ifelse/proj01.py
tristank23/vsa2018-
744d45869a98b6efd662be56fe3b082d56bfdf01
[ "MIT" ]
null
null
null
proj01_ifelse/proj01.py
tristank23/vsa2018-
744d45869a98b6efd662be56fe3b082d56bfdf01
[ "MIT" ]
null
null
null
proj01_ifelse/proj01.py
tristank23/vsa2018-
744d45869a98b6efd662be56fe3b082d56bfdf01
[ "MIT" ]
null
null
null
# Name: # Date: # proj01: A Simple Program # Part I: # This program asks the user for his/her name and grade. #Then, it prints out a sentence that says the number of years until they graduate. #var name user_name = raw_input("Enter your name: ") # user_grade = raw_input("Enter your grade: ") # grad_year = 12 - int(us...
26.551282
101
0.707871
352
2,071
3.951705
0.28125
0.040259
0.051761
0.061107
0.229331
0.122214
0.094896
0.054637
0.054637
0.054637
0
0.017459
0.197972
2,071
77
102
26.896104
0.819988
0.315307
0
0.114286
0
0
0.286328
0
0
0
0
0
0
0
null
null
0
0
null
null
0.228571
0
0
0
null
0
0
0
0
0
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
11b68f5224e0a9ef64b8b7eb62f15ea013e5438d
2,739
py
Python
main.py
vtlanglois/01-Interactive-Fiction
d24a65370a1d1df304dce5c32d4b2fd8aeb094c3
[ "MIT" ]
null
null
null
main.py
vtlanglois/01-Interactive-Fiction
d24a65370a1d1df304dce5c32d4b2fd8aeb094c3
[ "MIT" ]
null
null
null
main.py
vtlanglois/01-Interactive-Fiction
d24a65370a1d1df304dce5c32d4b2fd8aeb094c3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys import json import os assert sys.version_info >= (3,9), "This script requires at least Python 3.9" # ---------------------------------------------------------------- def select_game(): #Get all json filenames within the json folder path_to_json_files = "json/" json_files = [po...
29.138298
102
0.627236
336
2,739
4.96131
0.291667
0.161968
0.061188
0.067187
0.160768
0.085183
0
0
0
0
0
0.003954
0.16904
2,739
93
103
29.451613
0.728471
0.222709
0
0.16129
0
0
0.152246
0
0
0
0
0
0.016129
1
0.080645
false
0.112903
0.048387
0
0.241935
0.129032
0
0
0
null
0
0
0
0
0
0
0
0
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
11baa65bbad59571185da309e4557a9fe2ff7651
1,258
py
Python
setup.py
mtskelton/django-simple-export
34d708dcefcea8c68b11e4992c3066ccd0c9e3f9
[ "BSD-2-Clause" ]
null
null
null
setup.py
mtskelton/django-simple-export
34d708dcefcea8c68b11e4992c3066ccd0c9e3f9
[ "BSD-2-Clause" ]
null
null
null
setup.py
mtskelton/django-simple-export
34d708dcefcea8c68b11e4992c3066ccd0c9e3f9
[ "BSD-2-Clause" ]
null
null
null
from distutils.core import setup setup(name='django-simple-export', version='0.1', license='BSD', packages=['simple_export'], include_package_data=True, description='Simple import / export utility for Django with large data support. Compatible with Mongoengine.', author='Mark Skelto...
46.592593
120
0.591415
120
1,258
6.1
0.625
0.114754
0.102459
0.081967
0.098361
0
0
0
0
0
0
0.010989
0.27663
1,258
26
121
48.384615
0.793407
0
0
0
0
0
0.541335
0.091415
0
0
0
0
0
1
0
true
0
0.115385
0
0.115385
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
11bfcb0fe1e6cd4a520a020fab9026ea9db05bb9
8,814
py
Python
Codes/PC-Interface/erts.py
eyantra/Border_Surveillance_Robot_using_Firebird_ATmega2560
8e8b1b5a9dbeaec02c0ee20ae9046b2cf8f5b826
[ "MIT" ]
1
2017-08-28T16:04:20.000Z
2017-08-28T16:04:20.000Z
Codes/PC-Interface/erts.py
eyantra/Border_Surveillance_Robot_using_Firebird_ATmega2560
8e8b1b5a9dbeaec02c0ee20ae9046b2cf8f5b826
[ "MIT" ]
null
null
null
Codes/PC-Interface/erts.py
eyantra/Border_Surveillance_Robot_using_Firebird_ATmega2560
8e8b1b5a9dbeaec02c0ee20ae9046b2cf8f5b826
[ "MIT" ]
null
null
null
"""************************************************************************************************** Platform: Python 2.x and 2.x.x Title: Border Surveillance Bot Author: 1.Harish Tummalacherla 2.Sameer Mohammed **********************************************************************************************...
36.271605
192
0.628659
1,129
8,814
4.878654
0.345438
0.017429
0.012709
0.009078
0.159586
0.114016
0.108206
0.108206
0.075527
0.075527
0
0.020596
0.234286
8,814
242
193
36.421488
0.795525
0.252893
0
0.371212
0
0
0.060048
0.008273
0
0
0.001068
0
0
0
null
null
0
0.030303
null
null
0.037879
0
0
0
null
0
0
0
0
0
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
11c7e3de2a1a5ea9d43aa2de9d2847bc468826db
21,421
py
Python
dragonkeeper/utils.py
chriskr/dragonkeeper
21e6a9a35f7ea8ba8a405e815dd0346f5a4a90ba
[ "Apache-2.0" ]
5
2015-05-21T09:18:07.000Z
2020-05-30T18:25:45.000Z
dragonkeeper/utils.py
chriskr/dragonkeeper
21e6a9a35f7ea8ba8a405e815dd0346f5a4a90ba
[ "Apache-2.0" ]
null
null
null
dragonkeeper/utils.py
chriskr/dragonkeeper
21e6a9a35f7ea8ba8a405e815dd0346f5a4a90ba
[ "Apache-2.0" ]
9
2015-06-05T08:54:27.000Z
2020-06-28T19:19:01.000Z
import re from common import Singleton from maps import status_map, format_type_map, message_type_map, message_map def _parse_json(msg): payload = None try: payload = eval(msg.replace(",null", ",None")) except: print "failed evaling message in parse_json" return payload try...
39.160878
95
0.514775
2,358
21,421
4.404156
0.094148
0.035243
0.020799
0.026577
0.311218
0.22311
0.184208
0.150794
0.131728
0.118247
0
0.007296
0.379347
21,421
546
96
39.232601
0.773825
0.023575
0
0.215768
0
0
0.063163
0.001338
0
0
0
0
0
0
null
null
0.006224
0.010373
null
null
0.13278
0
0
0
null
0
0
0
0
0
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
11cd496ffc080cf4f7748780da68b43177ae6c7d
1,344
py
Python
dogqc/querylib.py
cakebytheoceanLuo/dogqc
163618becdb57bd952a1ac5ba346d3c7ec163e04
[ "MIT" ]
12
2020-02-08T10:41:50.000Z
2022-02-25T13:21:52.000Z
dogqc/querylib.py
cakebytheoceanLuo/dogqc
163618becdb57bd952a1ac5ba346d3c7ec163e04
[ "MIT" ]
62
2021-12-02T03:08:20.000Z
2022-03-31T14:05:58.000Z
dogqc/querylib.py
cakebytheoceanLuo/dogqc
163618becdb57bd952a1ac5ba346d3c7ec163e04
[ "MIT" ]
4
2020-03-15T03:34:10.000Z
2022-03-18T07:51:37.000Z
from dogqc.code import Code # includes def getIncludes (): code = Code() code.add("#include <list>") code.add("#include <unordered_map>") code.add("#include <vector>") code.add("#include <iostream>") code.add("#include <ctime>") code.add("#include <limits.h>") code.add("#include <float....
24.888889
60
0.651042
158
1,344
5.348101
0.367089
0.099408
0.198817
0.112426
0.202367
0.136095
0
0
0
0
0
0
0.190476
1,344
53
61
25.358491
0.776654
0.013393
0
0.102564
0
0
0.28279
0.034117
0
0
0
0
0
1
0.051282
false
0
0.025641
0
0.641026
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
11d484035c038e983e22b804ea7fd4566b92940e
4,966
py
Python
webservices/common/models/costs.py
18F/openFEC
ee7b7368e0934f50c391789fb55444f811c1a2f7
[ "CC0-1.0" ]
246
2015-01-07T16:59:42.000Z
2020-01-18T20:35:05.000Z
webservices/common/models/costs.py
18F/openFEC
ee7b7368e0934f50c391789fb55444f811c1a2f7
[ "CC0-1.0" ]
2,532
2015-01-02T16:22:46.000Z
2018-03-08T17:30:53.000Z
webservices/common/models/costs.py
18F/openFEC
ee7b7368e0934f50c391789fb55444f811c1a2f7
[ "CC0-1.0" ]
75
2015-02-01T00:46:56.000Z
2021-02-14T10:51:34.000Z
from sqlalchemy.dialects.postgresql import TSVECTOR from .base import db class CommunicationCost(db.Model): __tablename__ = 'ofec_communication_cost_mv' sub_id = db.Column(db.Integer, primary_key=True) original_sub_id = db.Column('orig_sub_id', db.Integer, index=True) candidate_id = db.Column('cand_...
58.423529
282
0.745469
745
4,966
4.707383
0.216107
0.143713
0.070431
0.092102
0.368121
0.314799
0.216139
0.145423
0.083832
0.083832
0
0.003033
0.136931
4,966
84
283
59.119048
0.815212
0.00886
0
0.111111
0
0.041667
0.261735
0.032717
0
0
0
0
0
1
0.013889
false
0
0.027778
0.013889
0.986111
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
11ead1d62b366e3c794f7d8c58bc59a3adeb1649
687
py
Python
server/etes/migrations/0024_auto_20181119_1213.py
ethanmnrd/TicketXchnge
5f0671eea79455a49e2956e635bc3876d607350b
[ "Apache-2.0" ]
null
null
null
server/etes/migrations/0024_auto_20181119_1213.py
ethanmnrd/TicketXchnge
5f0671eea79455a49e2956e635bc3876d607350b
[ "Apache-2.0" ]
34
2018-10-03T17:33:11.000Z
2022-03-21T22:27:10.000Z
server/etes/migrations/0024_auto_20181119_1213.py
ethanmnrd/TicketXchnge
5f0671eea79455a49e2956e635bc3876d607350b
[ "Apache-2.0" ]
2
2018-10-02T05:46:20.000Z
2018-11-27T01:11:47.000Z
# Generated by Django 2.1.3 on 2018-11-19 20:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('etes', '0023_auto_20181119_1203'), ] operations = [ migrations.AddField( model_name='ticket', name='ticket_address',...
27.48
132
0.611354
75
687
5.453333
0.746667
0.0978
0.07335
0.09291
0.122249
0
0
0
0
0
0
0.074899
0.280932
687
24
133
28.625
0.753036
0.065502
0
0.222222
1
0
0.209375
0.035938
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11f19c9f3f64245865914c29f406bb44221cc7f8
1,189
py
Python
scripts/mongodb_store.py
coastrock/CEBD1261-2019-fall-group-project
ef3c9dd841c9d57cb580cbd6650bb62d50dfc585
[ "MIT" ]
1
2020-05-03T04:57:48.000Z
2020-05-03T04:57:48.000Z
scripts/mongodb_store.py
khalilhanna/Big_Data_Infrastructure
c947c5cb446335ff34638ea4e648444471f1b063
[ "CC-BY-4.0" ]
null
null
null
scripts/mongodb_store.py
khalilhanna/Big_Data_Infrastructure
c947c5cb446335ff34638ea4e648444471f1b063
[ "CC-BY-4.0" ]
null
null
null
try: from pyspark import SparkContext, SparkConf from pyspark.sql import SparkSession import pyspark.sql.functions as f # from operator import add except Exception as e: print(e) ## http://www.hongyusu.com/imt/technology/spark-via-python-basic-setup-count-lines-and-word-counts.html def push_mongo():...
29.725
105
0.656013
150
1,189
5.106667
0.58
0.039164
0.046997
0.057441
0.159269
0.159269
0.159269
0.159269
0.159269
0.159269
0
0.010549
0.202691
1,189
39
106
30.487179
0.797468
0.175778
0
0
0
0
0.337461
0.251806
0
0
0
0
0
1
0.043478
false
0.086957
0.130435
0
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
11fa58317cd19f859df54afd059d012257e9d48e
3,029
py
Python
rigidsearch/cli.py
robopsi/rigidsearch
d6b1a40f77e6c3ee25f79c78def2abbbab1f7ed1
[ "BSD-3-Clause" ]
9
2016-01-23T07:28:51.000Z
2019-01-08T10:36:51.000Z
rigidsearch/cli.py
robopsi/rigidsearch
d6b1a40f77e6c3ee25f79c78def2abbbab1f7ed1
[ "BSD-3-Clause" ]
1
2017-02-22T00:24:41.000Z
2017-03-01T21:12:19.000Z
rigidsearch/cli.py
getsentry/rigidsearch
c77fb8d74bc41628a5041fa89b69b57af38051d5
[ "BSD-3-Clause" ]
4
2017-01-10T22:52:56.000Z
2021-03-03T11:24:29.000Z
# coding: utf-8 import os import shutil import json import click from werkzeug.utils import cached_property class Context(object): def __init__(self): self.config_filename = os.environ.get('RIGIDSEARCH_CONFIG') @cached_property def app(self): from rigidsearch.app import create_app ...
29.125
76
0.653681
419
3,029
4.591885
0.315036
0.074844
0.025988
0.046778
0.10499
0.068607
0.068607
0.068607
0.034304
0.034304
0
0.015077
0.189832
3,029
103
77
29.407767
0.768949
0.042918
0
0.089744
0
0
0.160876
0
0
0
0
0
0
1
0.102564
false
0.089744
0.115385
0
0.24359
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
11fd49f5b9631a0e559ae95cd62ac4868297a256
550
py
Python
src/project/urls.py
kottenator/code.kottenator.com
e73c5a133d30d621c79689422f8c2970a42926fd
[ "MIT" ]
null
null
null
src/project/urls.py
kottenator/code.kottenator.com
e73c5a133d30d621c79689422f8c2970a42926fd
[ "MIT" ]
null
null
null
src/project/urls.py
kottenator/code.kottenator.com
e73c5a133d30d621c79689422f8c2970a42926fd
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include import project.auth.urls import project.core.urls from project.core.views import bad_request, permission_denied, page_not_found, server_error import project.projects.urls urlpatterns = [ path('admin/', admin.site.urls), path('projects/', ...
25
91
0.769091
72
550
5.736111
0.388889
0.079903
0.072639
0.106538
0
0
0
0
0
0
0
0.024845
0.121818
550
21
92
26.190476
0.830228
0
0
0
0
0
0.027273
0
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
11fdf1f5001c89358feefd8510a29e38bcd9f530
395
py
Python
rdfframework/processors/__init__.py
KnowledgeLinks/rdfframework
c6b6408b6e90dd166b4981aeaf3a768e46c22ce0
[ "MIT" ]
7
2016-11-09T07:59:43.000Z
2019-02-19T01:34:29.000Z
rdfframework/processors/__init__.py
KnowledgeLinks/rdfframework
c6b6408b6e90dd166b4981aeaf3a768e46c22ce0
[ "MIT" ]
22
2018-01-10T15:03:22.000Z
2019-12-17T12:00:10.000Z
rdfframework/processors/__init__.py
KnowledgeLinks/rdfframework
c6b6408b6e90dd166b4981aeaf3a768e46c22ce0
[ "MIT" ]
null
null
null
""" RDF Proccessors =============== Processors are used to manipulate rdf date within the framework. :copyright: Copyright (c) 2016 by Michael Stabile and Jeremy Nelson. :license: To be determined, see LICENSE.txt for details. """ from .propertyprocessors import PropertyProcessor from .classprocessors import ClassPr...
23.235294
68
0.751899
48
395
6.020833
0.791667
0.083045
0
0
0
0
0
0
0
0
0
0.020588
0.139241
395
16
69
24.6875
0.829412
0.567089
0
0
0
0
0.196319
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ee9665391d341d781d75cf51be12c400232007d1
426
py
Python
tests/unit/test_user.py
gnott/h
77a0452b8196f7efb97d4a400ce7583062d620e6
[ "MIT" ]
null
null
null
tests/unit/test_user.py
gnott/h
77a0452b8196f7efb97d4a400ce7583062d620e6
[ "MIT" ]
null
null
null
tests/unit/test_user.py
gnott/h
77a0452b8196f7efb97d4a400ce7583062d620e6
[ "MIT" ]
null
null
null
from unittest import TestCase from h.models import User from . import AppTestCase class UserTest(AppTestCase): def test_password_encrypt(self): """make sure user passwords are stored encrypted """ u1 = User(username=u'test', password=u'test', email=u'test@example.org') assert u1.p...
22.421053
80
0.640845
55
426
4.927273
0.563636
0.055351
0.118081
0.147601
0
0
0
0
0
0
0
0.012461
0.246479
426
18
81
23.666667
0.831776
0.105634
0
0.2
0
0
0.088154
0
0
0
0
0
0.2
1
0.1
false
0.4
0.3
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ee96bc3f5163c15f01742590dfea693457ac852f
1,869
py
Python
tagannotator/base/migrations/0005_auto_20200113_0518.py
kixlab/suggestbot-instagram-context-annotator
c49947906d647f5cc6000ea2d35938f0c9ff4c68
[ "MIT" ]
null
null
null
tagannotator/base/migrations/0005_auto_20200113_0518.py
kixlab/suggestbot-instagram-context-annotator
c49947906d647f5cc6000ea2d35938f0c9ff4c68
[ "MIT" ]
null
null
null
tagannotator/base/migrations/0005_auto_20200113_0518.py
kixlab/suggestbot-instagram-context-annotator
c49947906d647f5cc6000ea2d35938f0c9ff4c68
[ "MIT" ]
null
null
null
# Generated by Django 2.2.7 on 2020-01-13 05:18 import base.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('base'...
33.981818
133
0.576779
186
1,869
5.650538
0.44086
0.05138
0.074215
0.085633
0.186489
0.186489
0
0
0
0
0
0.026296
0.287854
1,869
54
134
34.611111
0.763336
0.024077
0
0.375
1
0
0.09056
0.012623
0
0
0
0
0
1
0
false
0
0.083333
0
0.145833
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
ee9e0cfbca1c26a22401839d9c702339f080c0b2
1,580
py
Python
scraper/scraper/main_page.py
tomirendo/BenYehuda
f559840cff21d791ccc5204a5125b16130bdbfbf
[ "CC0-1.0" ]
null
null
null
scraper/scraper/main_page.py
tomirendo/BenYehuda
f559840cff21d791ccc5204a5125b16130bdbfbf
[ "CC0-1.0" ]
null
null
null
scraper/scraper/main_page.py
tomirendo/BenYehuda
f559840cff21d791ccc5204a5125b16130bdbfbf
[ "CC0-1.0" ]
null
null
null
""" Class for parsing the main Ben Yehuda site page """ from urllib import request from urllib import parse as urlparse from bs4 import BeautifulSoup from .helpers import NamedLink, clean_text class MainPage(object): """ Parses and gets information from the main index page. Mostly used to get links for a...
28.727273
77
0.606329
204
1,580
4.622549
0.460784
0.04666
0.033934
0
0
0
0
0
0
0
0
0.002717
0.301266
1,580
54
78
29.259259
0.851449
0.293038
0
0.148148
0
0
0.043562
0
0
0
0
0
0
1
0.111111
false
0
0.148148
0
0.518519
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
eea08529e75eede9122bfa69f33faf84db0f4338
1,163
py
Python
tinylinks/urls.py
gosuai/django-tinylinks
6506f3950240542431787e1d18fe39ec73d767f2
[ "MIT" ]
11
2016-11-27T15:46:42.000Z
2021-07-31T14:03:54.000Z
tinylinks/urls.py
gosuai/django-tinylinks
6506f3950240542431787e1d18fe39ec73d767f2
[ "MIT" ]
2
2016-12-27T19:53:59.000Z
2017-05-26T07:12:02.000Z
tinylinks/urls.py
gosuai/django-tinylinks
6506f3950240542431787e1d18fe39ec73d767f2
[ "MIT" ]
5
2015-02-01T01:10:31.000Z
2015-10-29T18:48:59.000Z
"""URLs for the ``django-tinylinks`` app.""" from django.conf.urls import url from django.views.generic import TemplateView from .views import ( StatisticsView, TinylinkCreateView, TinylinkDeleteView, TinylinkListView, TinylinkRedirectView, TinylinkUpdateView, ) urlpatterns = [ url( ...
20.051724
70
0.561479
111
1,163
5.738739
0.405405
0.043956
0.094192
0.169545
0
0
0
0
0
0
0
0.005931
0.27515
1,163
57
71
20.403509
0.749703
0.032674
0
0.297872
0
0
0.229669
0.10277
0
0
0
0
0
1
0
false
0
0.06383
0
0.06383
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
eea2ffda2b75f776aeb94ea3e59e84d31505c099
818
py
Python
rainy_project/mainpage/migrations/0018_survey.py
osamhack2020/WEB_HeavyReading_Rainy
58b7429e88931175ddceab2c280161a267149a15
[ "MIT" ]
2
2021-08-15T02:17:43.000Z
2022-01-31T14:46:20.000Z
rainy_project/mainpage/migrations/0018_survey.py
habijung/WEB_HeavyReading_Rainy
58b7429e88931175ddceab2c280161a267149a15
[ "MIT" ]
null
null
null
rainy_project/mainpage/migrations/0018_survey.py
habijung/WEB_HeavyReading_Rainy
58b7429e88931175ddceab2c280161a267149a15
[ "MIT" ]
2
2020-11-17T09:37:24.000Z
2021-10-04T05:59:02.000Z
# Generated by Django 2.1 on 2020-10-29 14:45 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('mainpage', '0017_auto_20201025_2232'), ] operation...
31.461538
114
0.610024
84
818
5.785714
0.690476
0.041152
0.065844
0.08642
0
0
0
0
0
0
0
0.0599
0.265281
818
25
115
32.72
0.748752
0.052567
0
0
1
0
0.078913
0.029754
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
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
eea4a50152769f0fd5069dcce35df83f9e64e212
1,684
py
Python
code.py
priyanshnama/Hackerrank-Automation-Prototype
457302d17d3a48fafd3f49cc86e5475a69acc2ab
[ "BSD-Source-Code" ]
null
null
null
code.py
priyanshnama/Hackerrank-Automation-Prototype
457302d17d3a48fafd3f49cc86e5475a69acc2ab
[ "BSD-Source-Code" ]
null
null
null
code.py
priyanshnama/Hackerrank-Automation-Prototype
457302d17d3a48fafd3f49cc86e5475a69acc2ab
[ "BSD-Source-Code" ]
null
null
null
import string import urllib3 import random import json # log file log = open("log.txt", "a+") Head = ["firstname\t", "lastname\t", "email\t\t\t", "college\t", "city\t", "phone\t\t", "password\t", "refral\t"] log.writelines(Head) code = input("Enter Your Refral code: ") points = int((int(input("how much point you wan...
30.071429
113
0.58076
206
1,684
4.73301
0.480583
0.006154
0.028718
0.051282
0
0
0
0
0
0
0
0.022013
0.244656
1,684
55
114
30.618182
0.744497
0.008907
0
0.041667
0
0
0.246098
0
0
0
0
0
0
1
0
false
0.0625
0.083333
0
0.083333
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
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
eea9e3f0dee601406be6f779504b4c20b2328f42
953
py
Python
examples/1827402009.py
lobo0616/bysj
c90bf1de8328cf44acb6faaaac4b575b83ef11a1
[ "MIT" ]
1
2020-03-30T15:33:25.000Z
2020-03-30T15:33:25.000Z
examples/1827402009.py
lobo0616/bysj
c90bf1de8328cf44acb6faaaac4b575b83ef11a1
[ "MIT" ]
null
null
null
examples/1827402009.py
lobo0616/bysj
c90bf1de8328cf44acb6faaaac4b575b83ef11a1
[ "MIT" ]
1
2020-04-02T14:37:26.000Z
2020-04-02T14:37:26.000Z
# 学号:1827402009 # 姓名:肖鹏 # IP:192.168.157.232 # 上传时间:2018/11/12 15:22:55 import math def func1(a,b): if a>=b or int(a)!=a or int(b)!=b : return None else: d=1 for i in range(a,b): d=d*i c=len(str(d)) x=1 for j in range(1,x+1): ...
20.276596
52
0.392445
147
953
2.496599
0.408163
0.027248
0.049046
0.038147
0.212534
0.212534
0.141689
0.141689
0.141689
0.141689
0
0.105159
0.471144
953
46
53
20.717391
0.621032
0
0
0.25
0
0
0.009592
0
0
0
0
0
0
0
null
null
0.027778
0.027778
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
eeac7ad208b873a0cb2a58623ede27e27431d2d3
1,392
py
Python
WIP/urls.py
kodi-sk/CSI-WIP
edde6cfac2cd7e573fb51182514990dc4eeb8184
[ "MIT" ]
null
null
null
WIP/urls.py
kodi-sk/CSI-WIP
edde6cfac2cd7e573fb51182514990dc4eeb8184
[ "MIT" ]
null
null
null
WIP/urls.py
kodi-sk/CSI-WIP
edde6cfac2cd7e573fb51182514990dc4eeb8184
[ "MIT" ]
null
null
null
"""WIP URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based ...
37.621622
79
0.703305
212
1,392
4.580189
0.306604
0.049434
0.111226
0.148301
0.237899
0.176107
0.07724
0.07724
0
0
0
0.012637
0.14727
1,392
36
80
38.666667
0.805392
0.451868
0
0
0
0
0.185185
0.107143
0
0
0
0
0
1
0
false
0
0.45
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eeae0a066d2fc3e7fc852e883168268a58589d85
39,188
py
Python
src/Honeybee_EnergyPlus Window Shade Generator.py
rdzeldenrust/Honeybee
e91e58badc1c9b082596d2cf97baeccdb6d7d0af
[ "CC-BY-3.0" ]
1
2016-03-04T09:47:42.000Z
2016-03-04T09:47:42.000Z
src/Honeybee_EnergyPlus Window Shade Generator.py
rdzeldenrust/Honeybee
e91e58badc1c9b082596d2cf97baeccdb6d7d0af
[ "CC-BY-3.0" ]
null
null
null
src/Honeybee_EnergyPlus Window Shade Generator.py
rdzeldenrust/Honeybee
e91e58badc1c9b082596d2cf97baeccdb6d7d0af
[ "CC-BY-3.0" ]
null
null
null
# This component creates shades for Honeybee Zones # By Chris Mackey # Chris@MackeyArchitecture.com # Ladybug started by Mostapha Sadeghipour Roudsari is licensed # under a Creative Commons Attribution-ShareAlike 3.0 Unported License. """ Use this component to generate shades for Honeybee zone windows. The component h...
53.682192
546
0.634608
4,346
39,188
5.695352
0.169811
0.018584
0.017453
0.010504
0.310561
0.270362
0.250808
0.211902
0.196913
0.178248
0
0.012082
0.28399
39,188
729
547
53.75583
0.87006
0.109268
0
0.216216
0
0.015444
0.182133
0.006017
0
0
0
0
0
0
null
null
0.005792
0.023166
null
null
0.042471
0
0
0
null
0
0
0
0
0
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
eeaebf60b737a1faa715b7553a85c9a0b8fcbed5
360
py
Python
editor/readsave/test.py
Atrosha/APOC-Editor
aa3ef629d7764de60dd78cccca2b0e96c3c4d7f3
[ "MIT" ]
4
2020-02-15T09:26:22.000Z
2021-05-12T22:27:50.000Z
editor/readsave/test.py
Atrosha/APOC-Editor
aa3ef629d7764de60dd78cccca2b0e96c3c4d7f3
[ "MIT" ]
3
2020-07-05T09:00:05.000Z
2020-07-14T18:43:28.000Z
editor/readsave/test.py
Atrosha/APOC-Editor
aa3ef629d7764de60dd78cccca2b0e96c3c4d7f3
[ "MIT" ]
3
2020-07-05T08:12:50.000Z
2020-07-14T11:24:17.000Z
x1=10 y1=10 x2=9 y2=10 x=(x1*x1+y1*y1) y=(x2*x2+y2*y2) xyz=(x+y)//2 average_x=(x1+x2)//2 average_y=(y1+y2)//2 average_x_2=average_x*average_x average_y_2=average_y*average_y average=average_x_2+average_y_2 new_x=(x1+x2)-average_x new_y=(y1+y2)-average_y new_2=new_x*new_x+new_y*new_y d...
12
32
0.675
82
360
2.670732
0.170732
0.219178
0.123288
0.146119
0
0
0
0
0
0
0
0.119205
0.161111
360
29
33
12.413793
0.60596
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.058824
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
eeb01cd5b8ad54fc2b1ba6ceff624ebb0e412d35
18,834
py
Python
src/plot_AGs_results.py
syhw/contextual_word_segmentation
401ce2030db814783b9447534006d6b7387527e4
[ "MIT" ]
2
2016-06-29T10:32:49.000Z
2020-11-17T20:18:43.000Z
src/plot_AGs_results.py
syhw/contextual_word_segmentation
401ce2030db814783b9447534006d6b7387527e4
[ "MIT" ]
null
null
null
src/plot_AGs_results.py
syhw/contextual_word_segmentation
401ce2030db814783b9447534006d6b7387527e4
[ "MIT" ]
null
null
null
import numpy as np import pylab as pl import matplotlib import matplotlib.pyplot as plt from collections import defaultdict import glob import readline # otherwise the wrong readline is imported by rpy2 SAGE_XPS = 11 SAGE = 12 EAGE = 31 N_MONTHS = EAGE-SAGE+1 #TYPES = ["basic", "single-context", "topics"] #TYPES = ["b...
42.804545
228
0.598598
2,693
18,834
4.008541
0.156331
0.041686
0.022418
0.026401
0.411857
0.347383
0.260676
0.186383
0.150255
0.128393
0
0.015665
0.233992
18,834
439
229
42.90205
0.732585
0.162685
0
0.195592
0
0.013774
0.28969
0.100096
0
0
0
0.002278
0
0
null
null
0
0.041322
null
null
0.077135
0
0
0
null
0
0
0
0
0
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
eeb1865d37452420899e5d6b88ec6f6bebfede08
2,476
py
Python
supports/pyload/src/pyload/plugins/accounts/LinkifierCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
1
2020-04-02T17:03:39.000Z
2020-04-02T17:03:39.000Z
supports/pyload/src/pyload/plugins/accounts/LinkifierCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
supports/pyload/src/pyload/plugins/accounts/LinkifierCom.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import hashlib import json import pycurl from ..base.multi_account import MultiAccount class LinkifierCom(MultiAccount): __name__ = "LinkifierCom" __type__ = "account" __version__ = "0.01" __status__ = "testing" __pyload_version__ = "0.5" __description__ = """Linki...
31.74359
83
0.592892
271
2,476
5.177122
0.461255
0.062723
0.034212
0.042766
0.264433
0.241625
0.241625
0.241625
0.241625
0.084105
0
0.023179
0.268174
2,476
77
84
32.155844
0.751104
0.008481
0
0.098361
0
0
0.236445
0.023645
0
0
0
0
0
1
0.065574
false
0.131148
0.065574
0
0.393443
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
eeb4d485f3fc9a2d1a7708a4611390f306eb3262
4,544
py
Python
code/config.py
SimonSuster/rc-cnn-dailymail
ddf614d3c9815346a17a6974bd6daba6b2ce9202
[ "MIT" ]
325
2016-06-10T19:10:23.000Z
2022-03-26T13:34:39.000Z
code/config.py
SimonSuster/rc-cnn-dailymail
ddf614d3c9815346a17a6974bd6daba6b2ce9202
[ "MIT" ]
6
2016-06-14T01:19:28.000Z
2021-04-29T10:02:40.000Z
code/config.py
SimonSuster/rc-cnn-dailymail
ddf614d3c9815346a17a6974bd6daba6b2ce9202
[ "MIT" ]
88
2016-06-13T05:55:16.000Z
2021-01-17T11:13:23.000Z
import theano import argparse _floatX = theano.config.floatX def str2bool(v): return v.lower() in ('yes', 'true', 't', '1', 'y') def get_args(): parser = argparse.ArgumentParser() parser.register('type', 'bool', str2bool) # Basics parser.add_argument('--debug', type='...
32
99
0.43662
402
4,544
4.813433
0.325871
0.111628
0.210853
0.054264
0.15814
0.053747
0
0
0
0
0
0.0107
0.465229
4,544
141
100
32.22695
0.785597
0.011224
0
0.352381
0
0
0.224426
0
0
0
0
0
0
1
0.019048
false
0
0.019048
0.009524
0.057143
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
eeb7db02e382745c955438b58b5047060998355a
10,492
py
Python
hmm_for_baxter_using_only_success_trials/anomaly_identification.py
HongminWu/HMM
f6df6e99231e4148ad948cb6b68de2269e03ced3
[ "BSD-3-Clause" ]
3
2018-05-08T11:40:16.000Z
2019-05-25T05:35:03.000Z
hmm_for_baxter_using_only_success_trials/anomaly_identification.py
HongminWu/HMM
f6df6e99231e4148ad948cb6b68de2269e03ced3
[ "BSD-3-Clause" ]
null
null
null
hmm_for_baxter_using_only_success_trials/anomaly_identification.py
HongminWu/HMM
f6df6e99231e4148ad948cb6b68de2269e03ced3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import os import numpy as np from sklearn.externals import joblib from matplotlib import pyplot as plt import util import training_config import pandas as pd import random import ipdb def run(anomaly_data_path_for_testing, model_save_path, figure_save_path,): ''' 1. l...
48.35023
214
0.62724
1,262
10,492
4.825674
0.208399
0.02069
0.030706
0.029885
0.396388
0.344992
0.249425
0.218227
0.165517
0.095895
0
0.00801
0.286027
10,492
216
215
48.574074
0.804966
0.083683
0
0.179688
0
0
0.117029
0.063911
0
0
0
0
0
0
null
null
0.015625
0.09375
null
null
0.054688
0
0
0
null
0
0
0
0
0
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
eec09698296b287e522d6f8fbcce6bc1ab0f66eb
3,565
py
Python
sdk/python/pulumi_cloudamqp/get_plugins.py
pulumi/pulumi-cloudamqp
1d411fb0076c257b51a6b133aaedb9292efa2373
[ "ECL-2.0", "Apache-2.0" ]
2
2020-09-23T11:53:33.000Z
2021-12-01T20:56:35.000Z
sdk/python/pulumi_cloudamqp/get_plugins.py
pulumi/pulumi-cloudamqp
1d411fb0076c257b51a6b133aaedb9292efa2373
[ "ECL-2.0", "Apache-2.0" ]
53
2019-12-09T20:12:27.000Z
2022-03-31T15:21:00.000Z
sdk/python/pulumi_cloudamqp/get_plugins.py
pulumi/pulumi-cloudamqp
1d411fb0076c257b51a6b133aaedb9292efa2373
[ "ECL-2.0", "Apache-2.0" ]
1
2019-12-11T09:29:16.000Z
2019-12-11T09:29:16.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
31.548673
125
0.668443
411
3,565
5.59854
0.355231
0.078227
0.020861
0.039113
0
0
0
0
0
0
0
0.000367
0.235905
3,565
112
126
31.830357
0.844347
0.358205
0
0.089286
1
0
0.13761
0.042771
0
0
0
0
0
1
0.107143
false
0
0.107143
0.035714
0.339286
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
eec137431a7d92f40a971323561a5172786d8738
614
py
Python
measure_mate/migrations/0010_measurement_target_rating.py
niche-tester/measure-mate
c3acba57747bcb89fe0c6b9509ec90f04a581506
[ "MIT" ]
15
2015-12-14T02:20:31.000Z
2022-01-30T04:36:39.000Z
measure_mate/migrations/0010_measurement_target_rating.py
rloomans/measure-mate
e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2
[ "MIT" ]
1,403
2017-02-16T01:00:04.000Z
2022-03-15T21:12:13.000Z
measure_mate/migrations/0010_measurement_target_rating.py
rloomans/measure-mate
e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2
[ "MIT" ]
10
2015-12-18T01:30:46.000Z
2022-01-30T04:36:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-01-30 00:57 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('measure_mate', '0009_auto_20160124_1245'), ] operat...
27.909091
166
0.675896
73
614
5.479452
0.671233
0.06
0.07
0.11
0
0
0
0
0
0
0
0.065574
0.205212
614
21
167
29.238095
0.754098
0.109121
0
0
1
0
0.178309
0.042279
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eec56e0012076fd1607914988641fa6f588b2eec
1,801
py
Python
hyquest/verifiers/timemap.py
Edmonton-Public-Library/centennial
b67283c579038a0ab0d991f0ca3f8178913a8692
[ "MIT" ]
null
null
null
hyquest/verifiers/timemap.py
Edmonton-Public-Library/centennial
b67283c579038a0ab0d991f0ca3f8178913a8692
[ "MIT" ]
null
null
null
hyquest/verifiers/timemap.py
Edmonton-Public-Library/centennial
b67283c579038a0ab0d991f0ca3f8178913a8692
[ "MIT" ]
null
null
null
from hyquest.verifiers.common import getTaskResultSet, getUserAction from hyquest.constants import TASK_TIMEMAP # This handles matching up TimeMap state to associated TimeMap Tasks def matchingTimeMapTasks(user, timeMapState): tasks = getTaskResultSet(user).filter(type=TASK_TIMEMAP) activeTasks = [] other...
39.152174
112
0.647973
208
1,801
5.600962
0.336538
0.025751
0.038627
0.081545
0.160515
0.101288
0.101288
0.101288
0.101288
0.101288
0
0.002937
0.243753
1,801
45
113
40.022222
0.852423
0.036646
0
0.125
0
0
0.115407
0
0
0
0
0
0
0
null
null
0
0.05
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
eeccce1dc62774745e4df86d9bacf4ce36e2157f
878
py
Python
pytglib/api/types/push_message_content_location.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/push_message_content_location.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/push_message_content_location.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class PushMessageContentLocation(Object): """ A message with a location Attributes: ID (:obj:`str`): ``PushMessageContentLocation`` Args: is_live (:obj:`bool`): True, if the location is live is_pinned (:obj:`bool`): True,...
23.72973
79
0.613895
97
878
5.371134
0.402062
0.092131
0.076775
0.107486
0.06142
0
0
0
0
0
0
0
0.283599
878
36
80
24.388889
0.828299
0.398633
0
0
0
0
0.146237
0.111828
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
eed5ab3296f7ebdddae7ece52c320b74365f12c4
669
py
Python
MLSD/Transformers/Text_Transformers.py
HaoranXue/Machine_Learning_For_Structured_Data
376fb2b78ba5dea4d6214931f6a60e3b4477c883
[ "MIT" ]
4
2017-09-03T23:09:02.000Z
2017-09-15T13:01:38.000Z
MLSD/Transformers/Text_Transformers.py
HaoranXue/SDM
376fb2b78ba5dea4d6214931f6a60e3b4477c883
[ "MIT" ]
null
null
null
MLSD/Transformers/Text_Transformers.py
HaoranXue/SDM
376fb2b78ba5dea4d6214931f6a60e3b4477c883
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from sklearn.base import TransformerMixin from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer class BasicText(TransformerMixin): def __init__(self, Dreduction= None, *args,**kwargs): self.Dreduction = Dreduction def fit(self, X, y =No...
26.76
82
0.693572
82
669
5.585366
0.439024
0.058952
0.061135
0
0
0
0
0
0
0
0
0
0.198804
669
24
83
27.875
0.854478
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.266667
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
eed8392874152bda8ca2de221d5a95bfbb2a6425
11,762
py
Python
payloadcode/phototest.py
debragail/n3m0
3abfb77b2bb9505d411f65032a25524fe1e8adad
[ "MIT" ]
21
2018-02-02T21:49:46.000Z
2019-11-21T09:00:03.000Z
payloadcode/phototest.py
debragail/n3m0
3abfb77b2bb9505d411f65032a25524fe1e8adad
[ "MIT" ]
15
2018-02-15T14:14:00.000Z
2018-03-20T22:56:15.000Z
payloadcode/phototest.py
debragail/n3m0
3abfb77b2bb9505d411f65032a25524fe1e8adad
[ "MIT" ]
19
2018-02-05T18:04:17.000Z
2020-05-22T22:29:11.000Z
print "Here we go!" # Import DroneKit-Python from dronekit import connect, VehicleMode, LocationGlobalRelative, LocationGlobal from pymavlink import mavutil # Needed for command message definitions from picamera import PiCamera import time import math import requests # Connect to the Vehicle. print("\nConnecting to v...
42.007143
177
0.658221
1,483
11,762
5.145651
0.268375
0.020967
0.01376
0.027519
0.301402
0.24335
0.212685
0.183986
0.171144
0.16433
0
0.022196
0.222411
11,762
279
178
42.157706
0.812158
0.215014
0
0.07483
0
0
0.166989
0.018797
0
0
0
0
0
0
null
null
0.006803
0.040816
null
null
0.176871
0
0
0
null
0
0
0
0
0
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
eee0315763159b37578d458b611f25d8cbf409e3
473
py
Python
example.py
ipconfiger/result2
7e05054cefd051bd5ae3d3199348c988af4bac7c
[ "MIT" ]
4
2016-10-19T23:56:46.000Z
2021-01-19T23:14:10.000Z
example.py
ipconfiger/result2
7e05054cefd051bd5ae3d3199348c988af4bac7c
[ "MIT" ]
null
null
null
example.py
ipconfiger/result2
7e05054cefd051bd5ae3d3199348c988af4bac7c
[ "MIT" ]
null
null
null
#coding=utf8 from result2 import Result, Ok, Err def get_valid_user_by_email(email): """ Return user instance """ user = get_user(email) if user: if user.valid is False: return Err("user not valid") return Ok(user) return Err("user not exists") result = user = ge...
20.565217
60
0.640592
68
473
4.338235
0.485294
0.061017
0.074576
0.108475
0
0
0
0
0
0
0
0.005714
0.260042
473
22
61
21.5
0.837143
0.167019
0
0
0
0
0.146479
0.064789
0
0
0
0
0
0
null
null
0
0.090909
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
eee3cd082c56ee56e37346359e61bc1480f86092
1,311
py
Python
restApi/helpers/ride_helpers.py
Kitingu/restplus
f9f5d36f376b08bed4305020259f2be7d689705a
[ "MIT" ]
null
null
null
restApi/helpers/ride_helpers.py
Kitingu/restplus
f9f5d36f376b08bed4305020259f2be7d689705a
[ "MIT" ]
5
2019-10-21T17:05:46.000Z
2021-06-01T22:35:47.000Z
restApi/helpers/ride_helpers.py
Kitingu/restplus
f9f5d36f376b08bed4305020259f2be7d689705a
[ "MIT" ]
1
2018-09-04T14:17:43.000Z
2018-09-04T14:17:43.000Z
import datetime from flask_restplus import reqparse class RideParser: parser = reqparse.RequestParser() parser.add_argument('start_point', type=str, required=True, location='json', help="Please enter a valid starti...
40.96875
102
0.463768
119
1,311
5.042017
0.436975
0.075
0.141667
0.2
0.563333
0.516667
0.516667
0.373333
0.373333
0.223333
0
0.002703
0.435545
1,311
31
103
42.290323
0.808108
0
0
0.482759
0
0
0.183066
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.137931
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
eee5b49dac615698e1a53c43d70eb48b6ae88c3d
9,661
py
Python
src/third_party/swiftshader/third_party/subzero/pydir/run-pnacl-sz.py
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
src/third_party/swiftshader/third_party/subzero/pydir/run-pnacl-sz.py
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
src/third_party/swiftshader/third_party/subzero/pydir/run-pnacl-sz.py
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
#!/usr/bin/env python2 import argparse import itertools import os import re import subprocess import sys import tempfile from utils import FindBaseNaCl, GetObjdumpCmd, shellcmd def TargetAssemblerFlags(target, sandboxed): # TODO(reed kotler). Need to find out exactly we need to # add here for Mips32. flags = ...
43.518018
80
0.566505
1,091
9,661
4.897342
0.269478
0.044919
0.074864
0.042673
0.235448
0.18922
0.109489
0.047165
0.036309
0.036309
0
0.010512
0.300901
9,661
221
81
43.714932
0.780574
0.079805
0
0.108696
0
0
0.248563
0.027248
0
0
0
0.00905
0
0
null
null
0.016304
0.043478
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
eeedb5bb7e8142af3151226abfbbb446034a9517
4,113
py
Python
database/test_code/test_scrape_wiki_mysql.py
Coslate/NBA_Win_Predictor
c8f4fb5a12fdd36bd43e573510bfb2307f37ec1f
[ "MIT" ]
null
null
null
database/test_code/test_scrape_wiki_mysql.py
Coslate/NBA_Win_Predictor
c8f4fb5a12fdd36bd43e573510bfb2307f37ec1f
[ "MIT" ]
null
null
null
database/test_code/test_scrape_wiki_mysql.py
Coslate/NBA_Win_Predictor
c8f4fb5a12fdd36bd43e573510bfb2307f37ec1f
[ "MIT" ]
null
null
null
#! /usr/bin/env python3.6 import pymysql import re import random import datetime import sys import argparse import os ######################### # Main-Routine # ######################### def main(): #Initialization print('> Crawler Initialization...') iter_num = 0 crawler_nba.init() #Argu...
37.733945
141
0.666667
546
4,113
4.728938
0.282051
0.061967
0.034082
0.043377
0.178156
0.082881
0.082881
0.082881
0.082881
0.082881
0
0.006534
0.181376
4,113
108
142
38.083333
0.760321
0.075128
0
0.026316
0
0.013158
0.241734
0.014905
0
0
0
0
0
1
0.026316
false
0.092105
0.131579
0
0.157895
0.144737
0
0
0
null
0
0
0
0
0
0
0
0
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
e10701e29d3d3b86809b61fddff1336c48662e8f
962
py
Python
app/auth_app/views.py
ganggas95/simdus_app
0c57e11c712912f61d29ca4b63dfa1fe38bb067c
[ "MIT" ]
null
null
null
app/auth_app/views.py
ganggas95/simdus_app
0c57e11c712912f61d29ca4b63dfa1fe38bb067c
[ "MIT" ]
null
null
null
app/auth_app/views.py
ganggas95/simdus_app
0c57e11c712912f61d29ca4b63dfa1fe38bb067c
[ "MIT" ]
1
2020-02-12T09:23:08.000Z
2020-02-12T09:23:08.000Z
from flask import ( render_template, request, redirect, url_for) from flask_login import login_user, logout_user from app.helpers import BaseView from .models import LoginForm, User class AuthView(BaseView): def dispatch_request(self): form = LoginForm(request.form) if request.meth...
28.294118
60
0.633056
112
962
5.232143
0.366071
0.075085
0.095563
0.102389
0.331058
0.228669
0.116041
0.116041
0
0
0
0
0.280665
962
33
61
29.151515
0.846821
0
0
0.137931
0
0
0.066528
0.028067
0
0
0
0
0
1
0.068966
false
0.068966
0.137931
0
0.413793
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e10e001d696580474a2da60cd6717c0fe71b9160
3,583
py
Python
worknoteBookHelpers.py
JanKrAppel/worknoteBook
abc5b57dbdc5ee48750115ac09c82f7049e04f8c
[ "MIT" ]
null
null
null
worknoteBookHelpers.py
JanKrAppel/worknoteBook
abc5b57dbdc5ee48750115ac09c82f7049e04f8c
[ "MIT" ]
null
null
null
worknoteBookHelpers.py
JanKrAppel/worknoteBook
abc5b57dbdc5ee48750115ac09c82f7049e04f8c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Sep 2 18:06:23 2015 @author: appel """ def parse_index(index): from worknote.items import parse_index return parse_index(index)[0:2] def gen_index(index): try: return u':'.join([str(i) for i in index[0:2]]) except TypeError: return unico...
30.623932
84
0.578565
443
3,583
4.519187
0.255079
0.05994
0.027473
0.023976
0.145854
0.124875
0.124875
0.088911
0.051948
0.051948
0
0.009603
0.331566
3,583
116
85
30.887931
0.826305
0.005861
0
0.247423
0
0
0.01371
0
0
0
0
0
0
0
null
null
0.020619
0.113402
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
e110989ec3b6f5618ace71e920b8fcc9d7d625b7
667
py
Python
models/support_vector_machine_regression_poly3.py
jtbai/glo-7027
956be4b9c474bade4f28c2b2d7267ae55002f0a5
[ "MIT" ]
null
null
null
models/support_vector_machine_regression_poly3.py
jtbai/glo-7027
956be4b9c474bade4f28c2b2d7267ae55002f0a5
[ "MIT" ]
null
null
null
models/support_vector_machine_regression_poly3.py
jtbai/glo-7027
956be4b9c474bade4f28c2b2d7267ae55002f0a5
[ "MIT" ]
null
null
null
from models.basemodel import BaseModel from sklearn import model_selection, svm class SupportVectorMachineRegressionPoly3(BaseModel): def _train(self, X_train, y_train): parametres = {'gamma': [0.01, 0.1, 1], 'C': [1, 10, 100], 'degree': [2,3,4,5,6]} grid_search = model_selection.GridSearchCV(svm...
44.466667
109
0.731634
101
667
4.485149
0.504951
0.07947
0.09713
0.05298
0.13245
0.13245
0.13245
0.13245
0.13245
0.13245
0
0.035461
0.154423
667
14
110
47.642857
0.767731
0
0
0
0
0
0.023988
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e1144a5f1579260d56da88cc51ba08002c22bd14
670
py
Python
src/player.py
thacd/tennis-scoring-system
3da177dcb58bb1a83f753744f93c9b9194dbaf4a
[ "MIT" ]
null
null
null
src/player.py
thacd/tennis-scoring-system
3da177dcb58bb1a83f753744f93c9b9194dbaf4a
[ "MIT" ]
null
null
null
src/player.py
thacd/tennis-scoring-system
3da177dcb58bb1a83f753744f93c9b9194dbaf4a
[ "MIT" ]
null
null
null
class Player: def __init__(self, name, set_point=0, game_point=0): self.name = name self.set_point = set_point self.game_point = game_point @property def set_point(self): return self.__set_point @set_point.setter def set_point(self, value): if value < 0: ...
25.769231
66
0.625373
87
670
4.494253
0.229885
0.184143
0.092072
0.076726
0.445013
0.230179
0.230179
0.230179
0.230179
0
0
0.008439
0.292537
670
25
67
26.8
0.816456
0
0
0.190476
0
0
0.1
0
0
0
0
0
0
1
0.238095
false
0
0
0.095238
0.380952
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
e1164ec863fc9ddc0a390d808f5b1ed51f8fb3a3
2,429
py
Python
example.py
jlenain/PhotALPsConv
23e0103b06ed5a0c4c1f3d8ab0b11f049cdbaa35
[ "Unlicense" ]
1
2021-03-08T20:08:11.000Z
2021-03-08T20:08:11.000Z
example.py
jlenain/PhotALPsConv
23e0103b06ed5a0c4c1f3d8ab0b11f049cdbaa35
[ "Unlicense" ]
null
null
null
example.py
jlenain/PhotALPsConv
23e0103b06ed5a0c4c1f3d8ab0b11f049cdbaa35
[ "Unlicense" ]
null
null
null
#Example script to show use of PhotALPsConv.calc_conversion module. # ---- Imports ------------------------------------- # import numpy as np import matplotlib.pyplot as plt import PhotALPsConv.calc_conversion as CC from PhotALPsConv.tools import median_contours from optparse import OptionParser # --------------------...
35.202899
141
0.673117
382
2,429
4.217277
0.434555
0.018622
0.01676
0.024209
0.099938
0.099938
0.042831
0
0
0
0
0.023981
0.141622
2,429
68
142
35.720588
0.748681
0.320708
0
0
0
0
0.112745
0
0
0
0
0
0
0
null
null
0
0.128205
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
e120d4384c0bf00782cac4d6d975b5b6aa2fb80d
5,556
py
Python
_untuned_modeling.py
mcvenkat/Python-Programs
2ff66bbd5b07c8e093b11360e1dcac06740a5024
[ "CC0-1.0", "MIT" ]
1
2015-11-08T05:19:43.000Z
2015-11-08T05:19:43.000Z
microsoft malware/code/_untuned_modeling.py
bikash/kaggleCompetition
c168f5a713305f6cf6ef41db60d8b1f4cdceb2b1
[ "Apache-2.0" ]
5
2020-05-22T14:10:02.000Z
2022-03-25T19:13:05.000Z
_untuned_modeling.py
mcvenkat/Python-Programs
2ff66bbd5b07c8e093b11360e1dcac06740a5024
[ "CC0-1.0", "MIT" ]
null
null
null
###################################################### # _untuned_modeling.py # author: Gert Jacobusse, gert.jacobusse@rogatio.nl # licence: FreeBSD """ Copyright (c) 2015, Gert Jacobusse All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that...
32.491228
98
0.632829
760
5,556
4.580263
0.357895
0.013789
0.013789
0.010342
0.175237
0.133295
0.108589
0.099971
0.099971
0.086182
0
0.024296
0.207343
5,556
171
99
32.491228
0.766122
0.051476
0
0.142857
0
0
0.042263
0
0
0
0
0
0.011905
0
null
null
0
0.059524
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0105926de08e8f802f7487829d9ce5d81d679c0c
5,059
py
Python
sdk/python/pulumi_okta/app/get_app.py
brinnehlops/pulumi-okta
798be92b13233d23736016b7ae78f256d5c95c06
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_okta/app/get_app.py
brinnehlops/pulumi-okta
798be92b13233d23736016b7ae78f256d5c95c06
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_okta/app/get_app.py
brinnehlops/pulumi-okta
798be92b13233d23736016b7ae78f256d5c95c06
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from .. import ...
33.065359
187
0.632734
604
5,059
5.066225
0.211921
0.064706
0.036601
0.068627
0.208824
0.156209
0.067974
0.040523
0
0
0
0.000267
0.258944
5,059
152
188
33.282895
0.815951
0.203993
0
0.123711
1
0
0.12741
0.011204
0
0
0
0
0
1
0.103093
false
0
0.051546
0.020619
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
010bf88fb919033106128ff0c4090c73684db639
3,427
py
Python
transcrypt/development/automated_tests/transcrypt/classes/__init__.py
JMCanning78/Transcrypt
8a8dabe831240414fdf1d5027fa2b0d71ab45d05
[ "Apache-2.0" ]
1
2017-08-11T01:51:51.000Z
2017-08-11T01:51:51.000Z
transcrypt/development/automated_tests/transcrypt/classes/__init__.py
JMCanning78/Transcrypt
8a8dabe831240414fdf1d5027fa2b0d71ab45d05
[ "Apache-2.0" ]
2
2021-03-11T07:09:19.000Z
2021-05-12T11:26:23.000Z
transcrypt/development/automated_tests/transcrypt/classes/__init__.py
JMCanning78/Transcrypt
8a8dabe831240414fdf1d5027fa2b0d71ab45d05
[ "Apache-2.0" ]
1
2021-02-07T00:22:12.000Z
2021-02-07T00:22:12.000Z
def run (autoTester): autoTester.check ('<br>General<br>') class A: p = 123 def __init__ (self, x): self.x = x autoTester.check (self.p) def show (self, label): autoTester.check ('A.show', label, self.x) def show2 (self, label): ...
32.951923
92
0.531369
419
3,427
4.26969
0.212411
0.251537
0.062605
0.053661
0.364449
0.334265
0.334265
0.212409
0.135271
0.135271
0
0.017203
0.338488
3,427
104
93
32.951923
0.771945
0.036767
0
0.185185
0
0
0.062519
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.17284
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
010fa01d0a45b7317bc523c6e20fcfc2c422280c
584
py
Python
test/mocks/mock_direct_receiver.py
markgreene74/mite
339bdfc39be30534ea2169d8257469bd0ff535fb
[ "MIT" ]
17
2019-11-14T22:32:56.000Z
2022-02-01T15:38:03.000Z
test/mocks/mock_direct_receiver.py
markgreene74/mite
339bdfc39be30534ea2169d8257469bd0ff535fb
[ "MIT" ]
35
2020-01-08T10:50:31.000Z
2022-02-17T17:00:34.000Z
test/mocks/mock_direct_receiver.py
markgreene74/mite
339bdfc39be30534ea2169d8257469bd0ff535fb
[ "MIT" ]
4
2019-11-14T14:48:18.000Z
2020-05-06T22:09:25.000Z
from mite.utils import pack_msg class DirectReceiverMock: def __init__(self): self._listeners = [] self._raw_listeners = [] def __call__(self, msg): return def add_listener(self, listener): self._listeners.append(listener) def add_raw_listener(self, raw_listener): ...
24.333333
48
0.650685
70
584
5.028571
0.314286
0.15625
0.136364
0.102273
0
0
0
0
0
0
0
0
0.267123
584
23
49
25.391304
0.82243
0
0
0
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.058824
0.470588
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
011188121b98fbdab001ca4571f26a1494830f39
3,185
py
Python
users/schema.py
theNegativeEntropy/digitalmenu
ae28932bbf00607e484a965ca90043250708f32c
[ "MIT" ]
null
null
null
users/schema.py
theNegativeEntropy/digitalmenu
ae28932bbf00607e484a965ca90043250708f32c
[ "MIT" ]
5
2021-03-30T13:48:07.000Z
2021-09-22T19:14:57.000Z
users/schema.py
theNegativeEntropy/digitalmenu
ae28932bbf00607e484a965ca90043250708f32c
[ "MIT" ]
null
null
null
from django.contrib.auth import authenticate, login import graphene import django_filters from graphene_django import DjangoObjectType, DjangoListField from graphene_django.filter import DjangoFilterConnectionField from graphql_jwt.decorators import login_required from .models import User class UserType(DjangoObject...
26.106557
62
0.685086
346
3,185
6.16474
0.213873
0.056259
0.059072
0.070323
0.456634
0.423347
0.398969
0.37459
0.37459
0.332396
0
0
0.225118
3,185
121
63
26.322314
0.864263
0.021036
0
0.373494
0
0
0.003851
0
0
0
0
0
0
1
0.072289
false
0.036145
0.084337
0
0.60241
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
011a2d37b429568b08c7ca154548d14667c2cc03
4,024
py
Python
benchmarks/ligra-partition/graphtools/cilkpub_v105/perf_scripts/perf_summarize_file.py
jordanjohnston/manseglib
00723792c9b16f6518e25095569d77f2ed7b6d22
[ "MIT" ]
4
2020-06-11T05:50:25.000Z
2022-01-08T14:45:53.000Z
graphtools/cilkpub_v105/perf_scripts/perf_summarize_file.py
Jaiwen/GraphGrind
50997613d820576b5c6f7c27cec14fbbecd773b6
[ "MIT" ]
null
null
null
graphtools/cilkpub_v105/perf_scripts/perf_summarize_file.py
Jaiwen/GraphGrind
50997613d820576b5c6f7c27cec14fbbecd773b6
[ "MIT" ]
2
2018-02-07T09:49:57.000Z
2020-04-02T06:22:18.000Z
# Copyright (C) 2013 Intel Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, this list of cond...
34.991304
77
0.663767
534
4,024
4.88015
0.382022
0.051804
0.018419
0.021873
0.1934
0.155794
0.155794
0.107444
0.052187
0.052187
0
0.004637
0.249751
4,024
114
78
35.298246
0.858562
0.533797
0
0.090909
0
0
0.156336
0.012068
0
0
0
0
0
0
null
null
0
0.113636
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
011be8ed48d6c05bbc6a472ff4a019bf132bd95a
1,473
py
Python
pybiotools4p/utils.py
btrspg/pybiotools4p
b12bdea26570fc52fa8823f0a2cfeed8491ac4c1
[ "Apache-2.0" ]
null
null
null
pybiotools4p/utils.py
btrspg/pybiotools4p
b12bdea26570fc52fa8823f0a2cfeed8491ac4c1
[ "Apache-2.0" ]
null
null
null
pybiotools4p/utils.py
btrspg/pybiotools4p
b12bdea26570fc52fa8823f0a2cfeed8491ac4c1
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: utils.ipynb (unless otherwise specified). __all__ = ['load_config', 'config', 'load_yaml', 'default_yaml', 'dict_to_paras'] # Cell import pkg_resources import configparser import yaml # Cell def load_config(*configs): config = configparser.ConfigParser() config.r...
29.46
100
0.700611
192
1,473
5.125
0.307292
0.132114
0.081301
0.113821
0.441057
0.441057
0.441057
0.385163
0.227642
0
0
0.003314
0.180584
1,473
49
101
30.061224
0.81193
0.09165
0
0.125
1
0
0.2
0
0
0
0
0
0
1
0.15625
false
0
0.09375
0
0.46875
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
011c989704e404b282f7db787cb9f11514d4b2f6
2,035
py
Python
oembed/tests/tests/base.py
ericholscher/djangoembed
8d6c3edcde782285076445577c4a2ad1c96a0350
[ "MIT" ]
1
2015-11-08T11:31:47.000Z
2015-11-08T11:31:47.000Z
oembed/tests/tests/base.py
ericholscher/djangoembed
8d6c3edcde782285076445577c4a2ad1c96a0350
[ "MIT" ]
null
null
null
oembed/tests/tests/base.py
ericholscher/djangoembed
8d6c3edcde782285076445577c4a2ad1c96a0350
[ "MIT" ]
null
null
null
import simplejson from django.conf import settings from django.core.urlresolvers import reverse, NoReverseMatch from django.test import TestCase import oembed from oembed.providers import BaseProvider from oembed.resources import OEmbedResource from oembed.tests.settings import MEDIA_ROOT, MEDIA_URL class BaseOEmbe...
37.685185
117
0.700737
272
2,035
5.091912
0.430147
0.045487
0.040433
0.036823
0.129964
0
0
0
0
0
0
0.017348
0.20688
2,035
53
118
38.396226
0.840768
0.19312
0
0
0
0.030303
0.226643
0
0
0
0
0
0.060606
1
0.121212
false
0
0.242424
0.030303
0.69697
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
011e5d2af6936449eaca4f5f863b78187b91981b
865
py
Python
archives/histograma01.py
LBarros77/Python
283b383d9d14c8d7b907b80f03f7cdc5dbd1e8af
[ "MIT" ]
null
null
null
archives/histograma01.py
LBarros77/Python
283b383d9d14c8d7b907b80f03f7cdc5dbd1e8af
[ "MIT" ]
null
null
null
archives/histograma01.py
LBarros77/Python
283b383d9d14c8d7b907b80f03f7cdc5dbd1e8af
[ "MIT" ]
null
null
null
''' Pasos: Pida al usuario el nombre del archivo de entrada. Lea el archivo (si es posible) y cuente todas las letras latinas (las letras mayúsculas y minúsculas se tratan como iguales). Imprima un histograma simple en orden alfabético (solo se deben presentar recuentos distintos de cero). Questión: Crea un archivo de...
27.03125
125
0.623121
138
865
3.913043
0.630435
0.033333
0.062963
0.066667
0.088889
0.088889
0
0
0
0
0
0.004724
0.265896
865
32
126
27.03125
0.844094
0
0
0.285714
0
0
0.118791
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.142857
0
0
0
null
0
0
0
0
0
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
0126f285aad491be0f49bf245c5abe040649c681
3,435
py
Python
test/testers/winforms/panel-regression.py
ABEMBARKA/monoUI
5fda266ad2db8f89580a40b525973d86cd8de939
[ "MIT" ]
1
2019-08-13T15:22:12.000Z
2019-08-13T15:22:12.000Z
test/testers/winforms/panel-regression.py
ABEMBARKA/monoUI
5fda266ad2db8f89580a40b525973d86cd8de939
[ "MIT" ]
null
null
null
test/testers/winforms/panel-regression.py
ABEMBARKA/monoUI
5fda266ad2db8f89580a40b525973d86cd8de939
[ "MIT" ]
1
2019-08-13T15:22:17.000Z
2019-08-13T15:22:17.000Z
#!/usr/bin/env python # vim: set tabstop=4 shiftwidth=4 expandtab ############################################################################## # Written by: Cachen Chen <cachen@novell.com> # Date: 10/21/2008 # Description: main test script of panel # ../samples/winforms/panel.py is the test sampl...
31.805556
79
0.669578
409
3,435
5.589242
0.374083
0.126422
0.034996
0.020997
0.228784
0.206912
0.206912
0.13692
0.106737
0.106737
0
0.018913
0.137991
3,435
107
80
32.102804
0.753124
0.381659
0
0.204082
0
0
0.17301
0
0
0
0
0
0.020408
0
null
null
0.020408
0.102041
null
null
0.040816
0
0
0
null
0
0
0
0
0
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
0130492a33ff793abd1a6fbad0ec6bceeb02c4a2
3,316
py
Python
udacity.py
davidvartanian/dand-ml-identify-fraud-enron-email
31c7bbc0de3c86af95086f4a04715969cb9116ef
[ "MIT" ]
null
null
null
udacity.py
davidvartanian/dand-ml-identify-fraud-enron-email
31c7bbc0de3c86af95086f4a04715969cb9116ef
[ "MIT" ]
null
null
null
udacity.py
davidvartanian/dand-ml-identify-fraud-enron-email
31c7bbc0de3c86af95086f4a04715969cb9116ef
[ "MIT" ]
null
null
null
""" Code provided by Udacity """ import numpy as np def featureFormat( dictionary, features, remove_NaN=True, remove_all_zeroes=True, remove_any_zeroes=False, sort_keys = False): """ convert dictionary to numpy array of features remove_NaN = True will convert "NaN" string to 0.0 remove_all_zeroes...
34.541667
126
0.600422
437
3,316
4.478261
0.338673
0.024527
0.022994
0.021461
0.099131
0.099131
0.099131
0.075626
0.075626
0
0
0.006809
0.335645
3,316
96
127
34.541667
0.881525
0.142039
0
0.130435
0
0
0.022658
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
0132a7c3b813048a3f0497b4a6c6dc1af3474169
3,806
py
Python
tests/test_ark.py
DerekRies/arkpy
b8305c8bbbe7c1772b262d7fdaa9d05e0a1728d0
[ "MIT" ]
19
2016-07-14T00:47:21.000Z
2022-03-30T15:22:59.000Z
tests/test_ark.py
DerekRies/arkpy
b8305c8bbbe7c1772b262d7fdaa9d05e0a1728d0
[ "MIT" ]
23
2016-07-19T06:53:16.000Z
2021-03-25T21:44:57.000Z
tests/test_ark.py
DerekRies/arkpy
b8305c8bbbe7c1772b262d7fdaa9d05e0a1728d0
[ "MIT" ]
5
2017-02-06T13:11:43.000Z
2022-03-28T21:04:25.000Z
import pytest import pep8 import random import os from context import arktypes, ark, binary, utils data_dir = 'data/' output_dir = 'tests/output/' class TestArkProfile: def test_write_read(self): profile = ark.ArkProfile() profile.map_name = ark.GameMapMap.the_center profile.map_path =...
34.6
77
0.63505
449
3,806
5.200445
0.260579
0.053961
0.024411
0.013705
0.191863
0.138758
0.108779
0.087366
0.087366
0.052248
0
0.019813
0.270625
3,806
109
78
34.917431
0.821326
0.024698
0
0.202247
0
0
0.102184
0.044756
0
0
0
0.009174
0.191011
0
null
null
0
0.05618
null
null
0.022472
0
0
0
null
0
0
0
0
0
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
01403998e83e19f44f09d9b2953c2281e2f9d253
263
py
Python
polymorphism.py
Sp-X/PCAP
f34cf9415262178bd6dfd7941512ff695876d3da
[ "MIT" ]
null
null
null
polymorphism.py
Sp-X/PCAP
f34cf9415262178bd6dfd7941512ff695876d3da
[ "MIT" ]
null
null
null
polymorphism.py
Sp-X/PCAP
f34cf9415262178bd6dfd7941512ff695876d3da
[ "MIT" ]
null
null
null
class One: def do_it(self): print("do_it from One") def doanything(self): self.do_it() class Two(One): def do_it(self): print("do_it from Two") one = One() two = Two() one.doanything() two.doanything()
13.842105
32
0.536122
38
263
3.605263
0.289474
0.145985
0.116788
0.145985
0.394161
0.394161
0.394161
0.394161
0.394161
0
0
0
0.323194
263
18
33
14.611111
0.764045
0
0
0.166667
0
0
0.114754
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
0
0
0
null
0
0
0
0
0
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
0141bbe139684939082c52119c7d51706e749465
1,560
py
Python
setup.py
btcfy/cloudify-utilities-plugin
e68fe065b4fa06bc7797e22e9788b852f69a25f4
[ "Apache-2.0" ]
null
null
null
setup.py
btcfy/cloudify-utilities-plugin
e68fe065b4fa06bc7797e22e9788b852f69a25f4
[ "Apache-2.0" ]
null
null
null
setup.py
btcfy/cloudify-utilities-plugin
e68fe065b4fa06bc7797e22e9788b852f69a25f4
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 GigaSpaces Technologies Ltd. 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...
36.27907
79
0.650641
181
1,560
5.502762
0.624309
0.060241
0.026104
0.032129
0
0
0
0
0
0
0
0.01705
0.248077
1,560
42
80
37.142857
0.832055
0.432051
0
0
0
0
0.471132
0.224018
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
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
0144085f1871bf713a57c2e63247361e81d6891b
1,775
py
Python
setup.py
ndraeger/rt1
8cf30a3b3604b78b1422388e479b28c921d01c09
[ "Apache-2.0" ]
null
null
null
setup.py
ndraeger/rt1
8cf30a3b3604b78b1422388e479b28c921d01c09
[ "Apache-2.0" ]
null
null
null
setup.py
ndraeger/rt1
8cf30a3b3604b78b1422388e479b28c921d01c09
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- """ This file is part of RT1. (c) 2016- Raphael Quast For COPYING and LICENSE details, please refer to the LICENSE file """ from setuptools import setup #from setuptools import find_packages from rt1 import __version__ setup(name='rt1', version=__version__, description='RT1 - bi...
30.084746
79
0.602254
195
1,775
5.389744
0.65641
0.057088
0.038059
0.038059
0.057088
0.057088
0.057088
0
0
0
0
0.023938
0.270423
1,775
58
80
30.603448
0.787645
0.202254
0
0
0
0
0.471092
0.05853
0
0
0
0
0
1
0
true
0
0.068966
0
0.068966
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
015016b855af877f2f113f8e14e6784456016cb8
1,396
py
Python
p100-109/p105.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
1
2015-10-11T15:53:00.000Z
2015-10-11T15:53:00.000Z
p100-109/p105.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
null
null
null
p100-109/p105.py
kbrose/project_euler
f582ef1887f44628997e05d88253adad0822d6b9
[ "Unlicense" ]
null
null
null
from itertools import combinations f = open("p105_text.txt") fr = f.readline() sets = [] while fr: fs = (fr.strip()).split() for i in range(len(fs)): fs[i] = int(fs[i]) fs.sort() sets.append(fs) fr = f.readline() def test_rest(set, com): ret_set = list(set) for num in com: ...
24.068966
69
0.553725
236
1,396
3.148305
0.283898
0.040377
0.059219
0.07537
0.083445
0
0
0
0
0
0
0.023884
0.310172
1,396
57
70
24.491228
0.747664
0.182665
0
0.186047
0
0
0.011474
0
0
0
0
0
0
0
null
null
0
0.023256
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