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
cf052a32edbefb301b17e6119e736b8fec671a94
283
py
Python
bottleneck_transformer_pytorch/mish_activ.py
mydre/MultiLayerGRU
00ad86c5aee4a88413ba575f0b5543c13e61338a
[ "MIT" ]
null
null
null
bottleneck_transformer_pytorch/mish_activ.py
mydre/MultiLayerGRU
00ad86c5aee4a88413ba575f0b5543c13e61338a
[ "MIT" ]
null
null
null
bottleneck_transformer_pytorch/mish_activ.py
mydre/MultiLayerGRU
00ad86c5aee4a88413ba575f0b5543c13e61338a
[ "MIT" ]
null
null
null
import pdb import torch from torch import nn import torch.nn.functional as F class Mish(nn.Module): def __init__(self): super().__init__() print('Mish activation loaded....') def forward(self, x): x = x * (torch.tanh(F.softplus(x))) return x
21.769231
43
0.621908
40
283
4.2
0.575
0.130952
0
0
0
0
0
0
0
0
0
0
0.250883
283
13
44
21.769231
0.792453
0
0
0
0
0
0.091549
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0
0.727273
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cf0bcbd1d40fd95e6c7389bd33b674c73b9b64e9
1,475
py
Python
aggregator/static_importer.py
olivmaurel/termsearch
eaf661154a87cfcbe76bb720a9ab64e1ca3b8466
[ "Apache-2.0" ]
null
null
null
aggregator/static_importer.py
olivmaurel/termsearch
eaf661154a87cfcbe76bb720a9ab64e1ca3b8466
[ "Apache-2.0" ]
5
2020-02-12T00:51:44.000Z
2021-12-13T19:47:49.000Z
aggregator/static_importer.py
olivmaurel/termsearch
eaf661154a87cfcbe76bb720a9ab64e1ca3b8466
[ "Apache-2.0" ]
null
null
null
import csv import os import logging import sys import django LOCAL_DIR = os.path.dirname(os.path.dirname(__file__)) sys.path.append(os.path.abspath(os.path.dirname('../'))) sys.path.append(os.path.abspath(os.path.dirname('.'))) django.setup() from aggregator.models import Language # Get an instance of a logger lo...
25.431034
86
0.668475
195
1,475
4.820513
0.389744
0.051064
0.055319
0.031915
0.129787
0.129787
0.082979
0.082979
0.082979
0
0
0.005111
0.204068
1,475
57
87
25.877193
0.795571
0.053559
0
0.055556
0
0
0.122933
0.048167
0
0
0
0.017544
0
1
0.083333
false
0.055556
0.277778
0
0.361111
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
1
0
0
0
0
0
2
cf18e615b1a92fc427babcf50f9a86e1775cc9f4
2,375
py
Python
toolkit/autodiff/scalar/FloatScalar.py
joseph-ai/aitoolkit
e07b0a8be9f6a6a3506bb75a0a2be7f2001653d8
[ "MIT" ]
null
null
null
toolkit/autodiff/scalar/FloatScalar.py
joseph-ai/aitoolkit
e07b0a8be9f6a6a3506bb75a0a2be7f2001653d8
[ "MIT" ]
null
null
null
toolkit/autodiff/scalar/FloatScalar.py
joseph-ai/aitoolkit
e07b0a8be9f6a6a3506bb75a0a2be7f2001653d8
[ "MIT" ]
null
null
null
import toolkit.autodiff.math.scalar as am import toolkit.autodiff.math as m from ..math import IdentityOp from ..CalcFlow import CalcFlow class FloatScalar(CalcFlow): def __init__(self, value): super().__init__(value) def _calc_unary(self, func): calc_val = FloatScalar(func.calculate()) ...
20.833333
71
0.637053
302
2,375
4.63245
0.188742
0.108649
0.080057
0.081487
0.604003
0.575411
0.575411
0.575411
0.502502
0.502502
0
0
0.265684
2,375
113
72
21.017699
0.802179
0
0
0.383333
0
0
0.028222
0
0
0
0
0
0
1
0.233333
false
0
0.066667
0.033333
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
cf27f001152e68c84d35f1a52d8971711625c694
1,360
py
Python
tests/core/config/models/bdk_server_config_test.py
symphony-elias/symphony-bdk-python
0d1cd94a9982e3687ea52c49acdb5f942ecd9bec
[ "Apache-2.0" ]
17
2018-09-06T09:58:18.000Z
2021-07-13T12:54:20.000Z
tests/core/config/models/bdk_server_config_test.py
symphony-elias/symphony-bdk-python
0d1cd94a9982e3687ea52c49acdb5f942ecd9bec
[ "Apache-2.0" ]
59
2018-11-21T15:17:57.000Z
2021-08-03T10:00:43.000Z
tests/core/config/models/bdk_server_config_test.py
symphony-elias/symphony-bdk-python
0d1cd94a9982e3687ea52c49acdb5f942ecd9bec
[ "Apache-2.0" ]
37
2018-09-01T03:07:48.000Z
2021-07-06T10:21:50.000Z
from symphony.bdk.core.config.model.bdk_server_config import BdkServerConfig, BdkProxyConfig def test_get_base_path(): config = BdkServerConfig(scheme="https", host="dev.symphony.com", port=123, context="context") assert config.get_base_path() == "https://dev.symphony.com:123/context" def test_wrong_input_t...
32.380952
98
0.719118
180
1,360
5.172222
0.261111
0.090226
0.112782
0.080559
0.411386
0.411386
0.283566
0.176155
0.100967
0.100967
0
0.029889
0.138971
1,360
41
99
33.170732
0.765158
0
0
0.076923
0
0
0.173529
0.020588
0
0
0
0
0.461538
1
0.192308
false
0.076923
0.038462
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
2
cf2f3d69b57cb34128b65d8cb67c2ad8392ec6f4
1,110
py
Python
oldqa/qa/src/core_tests/Core_Tests.py
KDahlgren/pyLDFI
5a900392a18ab763d02046d13392e97f7c141f4e
[ "MIT" ]
6
2016-10-16T04:36:43.000Z
2017-05-04T05:18:45.000Z
oldqa/qa/src/core_tests/Core_Tests.py
KDahlgren/pyldfi
5a900392a18ab763d02046d13392e97f7c141f4e
[ "MIT" ]
9
2016-11-01T23:12:09.000Z
2017-05-06T22:27:08.000Z
oldqa/qa/src/core_tests/Core_Tests.py
KDahlgren/pyldfi
5a900392a18ab763d02046d13392e97f7c141f4e
[ "MIT" ]
1
2018-12-15T08:03:37.000Z
2018-12-15T08:03:37.000Z
#!/usr/bin/env python ''' Core_Tests.py Defines unit tests for core. ''' ############# # IMPORTS # ############# # standard python packages import inspect, os, sqlite3, sys, unittest from StringIO import StringIO # ------------------------------------------------------ # # import sibling packages HERE!!! sys.pat...
19.821429
69
0.467568
91
1,110
5.483516
0.67033
0.054108
0.052104
0.068136
0
0
0
0
0
0
0
0.002137
0.156757
1,110
55
70
20.181818
0.530983
0.335135
0
0
0
0
0.077381
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cf613341ad592597164215b60f22939232816a33
8,779
py
Python
atom.py
greats3an/quicktimeatoms
5bb51cabb2c9dfd2390bee8b933556d8a7e15f18
[ "Apache-2.0" ]
1
2020-07-10T02:46:05.000Z
2020-07-10T02:46:05.000Z
atom.py
greats3an/quicktimeatoms
5bb51cabb2c9dfd2390bee8b933556d8a7e15f18
[ "Apache-2.0" ]
null
null
null
atom.py
greats3an/quicktimeatoms
5bb51cabb2c9dfd2390bee8b933556d8a7e15f18
[ "Apache-2.0" ]
null
null
null
''' # atom Module Unpacks a video's QuickTime ATOM (`moov`) info via its ATOM header / footer reference:https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap2/qtff2.html (fig.2-3) ''' import struct import io class _ATOM: whences = { 'ATOM_SIZE': ('I', 4), 'ATOM...
30.695804
166
0.593462
1,116
8,779
4.536738
0.239247
0.027652
0.04128
0.056291
0.35157
0.302587
0.21193
0.178353
0.171835
0.156824
0
0.013381
0.301971
8,779
286
167
30.695804
0.812663
0.380567
0
0.33758
0
0
0.087018
0.013264
0
0
0
0
0
1
0.210191
false
0.121019
0.012739
0.019108
0.324841
0.031847
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
cf7c4512ab3fde1e89a7481e4b26aafef15ba92c
3,152
py
Python
rtm.py
Ultronixon/rtmpy
49a8df22679489cc3174f02d5e771cacf60a434d
[ "MIT" ]
11
2016-05-28T13:22:12.000Z
2021-12-15T19:45:36.000Z
rtm.py
ajayws/rtmpy
49a8df22679489cc3174f02d5e771cacf60a434d
[ "MIT" ]
null
null
null
rtm.py
ajayws/rtmpy
49a8df22679489cc3174f02d5e771cacf60a434d
[ "MIT" ]
9
2016-11-25T16:27:22.000Z
2021-01-14T10:06:42.000Z
# -*- coding: utf-8 -*- """ @author: Adi Wijaya """ from __future__ import division import finite_difference as fd import numpy as np def rtm1d(v,seis,dt,dz): nt = len(seis) nx = len(v) a = fd.alpha(v,dt,dz) ul, u, up = np.zeros((3,nx)) data = np.zeros((nt,nx)) g = np.zeros(u.shape) g[0]...
31.207921
93
0.397525
727
3,152
1.716644
0.099037
0.108173
0.112179
0.0625
0.398237
0.227564
0.116987
0.060897
0.044872
0.027244
0
0.146089
0.326777
3,152
100
94
31.52
0.442036
0.023477
0
0.054054
0
0
0
0
0
0
0
0
0
1
0.027027
false
0
0.040541
0
0.094595
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d83edea3c09ff3c56150b6f735ad659c03cbfaf8
1,026
py
Python
tests/optionparser_tests.py
Anavros/malt
d972ce9851f0174160c1ae73b9d54b56575fe5c0
[ "MIT" ]
null
null
null
tests/optionparser_tests.py
Anavros/malt
d972ce9851f0174160c1ae73b9d54b56575fe5c0
[ "MIT" ]
8
2015-12-05T17:28:39.000Z
2016-12-09T18:41:25.000Z
tests/optionparser_tests.py
Anavros/malt
d972ce9851f0174160c1ae73b9d54b56575fe5c0
[ "MIT" ]
null
null
null
import pytest from malt.parser.optionparser import parse, parse_all from malt.exceptions import EmptyOptionString def test_signature(): """ Parsing takes an option string and creates a Signature. Basic operation test. """ option = "pow i:number i:power=2" result = parse(option) assert result....
26.307692
81
0.657895
135
1,026
4.933333
0.414815
0.198198
0.216216
0.102102
0
0
0
0
0
0
0
0.014907
0.2154
1,026
38
82
27
0.812422
0.185185
0
0
0
0
0.067174
0
0
0
0
0
0.5
1
0.136364
false
0
0.136364
0
0.272727
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
1
0
0
0
0
0
0
0
0
0
2
d846b37c54f850e208e7a3a7f5663c8ff8f37ab6
1,478
py
Python
AutomationKit_InfrastructureServices@SVU/SampleTomcatBuild.py
dipAch/Infrastructure-Automation-Kit
34fdf9815376028985056229dafd56fb3ff58f16
[ "Apache-2.0" ]
null
null
null
AutomationKit_InfrastructureServices@SVU/SampleTomcatBuild.py
dipAch/Infrastructure-Automation-Kit
34fdf9815376028985056229dafd56fb3ff58f16
[ "Apache-2.0" ]
null
null
null
AutomationKit_InfrastructureServices@SVU/SampleTomcatBuild.py
dipAch/Infrastructure-Automation-Kit
34fdf9815376028985056229dafd56fb3ff58f16
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Use-Case: Sample `TOMCAT` & `JDK / JRE` Downloader and Installation script. # Author: Dipankar Achinta, <@tweeting_dipa> """ This is a sample `TOMCAT` Installation Use-Case script. Do not use this file. Just take this as a reference on how to use the Automation-Kit to install the s...
44.787879
111
0.641407
167
1,478
5.634731
0.562874
0.070138
0.05101
0.076514
0
0
0
0
0
0
0
0.000785
0.138024
1,478
32
112
46.1875
0.737834
0.605548
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
2
d84ee74ad34085c4340cb6e4cd1d33ea97bb1888
391
py
Python
tests/aqmesh/test_scraper_aq.py
openghg/gather
0096cfe66b0093cdd294fa2a67c060d7fc28d2fa
[ "Apache-2.0" ]
null
null
null
tests/aqmesh/test_scraper_aq.py
openghg/gather
0096cfe66b0093cdd294fa2a67c060d7fc28d2fa
[ "Apache-2.0" ]
null
null
null
tests/aqmesh/test_scraper_aq.py
openghg/gather
0096cfe66b0093cdd294fa2a67c060d7fc28d2fa
[ "Apache-2.0" ]
null
null
null
from pathlib import Path def test_scrape(aqmesh_scraper_setup, tmpdir): data = Path(aqmesh_scraper_setup["co2"]["data"]) metadata = Path(aqmesh_scraper_setup["co2"]["metadata"]) assert data.exists() assert metadata.exists() assert data.name == "20210515_20211024_CO2_AQMesh_Scaled_Dataset_PPM.csv...
30.076923
77
0.751918
51
391
5.431373
0.470588
0.140794
0.194946
0.158845
0.180505
0
0
0
0
0
0
0.106509
0.13555
391
12
78
32.583333
0.713018
0
0
0
0
0
0.273657
0.227621
0
0
0
0
0.5
1
0.125
false
0
0.125
0
0.25
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
1
0
0
0
0
0
0
0
0
0
2
d8693bc351633fe58c5b5d1e346b066ac63a4a6e
110
py
Python
UNIVESPalgortimo_1/testeparagit.py
joaorobsonR/algoritmo1
9e6ef6ee8967b771d20d7ebf96478412b0a7940f
[ "MIT" ]
null
null
null
UNIVESPalgortimo_1/testeparagit.py
joaorobsonR/algoritmo1
9e6ef6ee8967b771d20d7ebf96478412b0a7940f
[ "MIT" ]
null
null
null
UNIVESPalgortimo_1/testeparagit.py
joaorobsonR/algoritmo1
9e6ef6ee8967b771d20d7ebf96478412b0a7940f
[ "MIT" ]
null
null
null
def tabuada(n): for i in range(0, 11): res = n * i print(n ,'x', i, '=', res) tabuada(5)
15.714286
34
0.445455
19
110
2.578947
0.684211
0
0
0
0
0
0
0
0
0
0
0.056338
0.354545
110
6
35
18.333333
0.633803
0
0
0
0
0
0.018182
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d87b3eb807d52561410e5985c597fca68cba2bce
2,297
py
Python
chp1/dictAttack.py
farhan3/violent-python
0cb4b9f51b864daa953f5e06d478fab184ac8443
[ "Apache-2.0" ]
null
null
null
chp1/dictAttack.py
farhan3/violent-python
0cb4b9f51b864daa953f5e06d478fab184ac8443
[ "Apache-2.0" ]
null
null
null
chp1/dictAttack.py
farhan3/violent-python
0cb4b9f51b864daa953f5e06d478fab184ac8443
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Perform Dictionary Attack using the provided password file and dictionary, along with the algorithm, e.g. DES, SHA512. Usage: dictAttack.py dictAttack [-v] <passwdFileName> <dictionary> <algorithm> dictAttack.py dictAttackExample [-v] dictAttack.py -h | --help dictAttack.py ...
25.808989
78
0.632129
263
2,297
5.475285
0.403042
0.041667
0.030556
0.055556
0
0
0
0
0
0
0
0.005831
0.253374
2,297
88
79
26.102273
0.833819
0.008707
0
0
0
0
0.149086
0
0
0
0
0
0
0
null
null
0.358974
0.102564
null
null
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
d88e1a90cfaa1625ba0e711749bbe65407cc53fa
3,522
py
Python
interlinks/scripts/JudaicaLink-interlink-04.py
judaicalink/judaicalink-generators
845dbd6886fa82ec45adf16ba08fad9d26169419
[ "MIT" ]
1
2020-09-20T17:00:05.000Z
2020-09-20T17:00:05.000Z
interlinks/scripts/JudaicaLink-interlink-04.py
wisslab/judaicalink-generators
845dbd6886fa82ec45adf16ba08fad9d26169419
[ "MIT" ]
null
null
null
interlinks/scripts/JudaicaLink-interlink-04.py
wisslab/judaicalink-generators
845dbd6886fa82ec45adf16ba08fad9d26169419
[ "MIT" ]
null
null
null
# Maral Dadvar #This code extracts further information from GND for the authors of Freimann collection who have an GND-ID assigned to them. #15/01/2018 #Ver. 01 import rdflib from rdflib import Namespace, URIRef, Graph , Literal from SPARQLWrapper import SPARQLWrapper2, XML , RDF , JSON from rdflib.namespace import RD...
32.018182
124
0.695627
511
3,522
4.790607
0.268102
0.068627
0.085784
0.098039
0.518791
0.511438
0.4375
0.355392
0.303105
0.156046
0
0.042921
0.113572
3,522
109
125
32.311927
0.741192
0.314026
0
0
0
0.017241
0.610856
0.043006
0
0
0
0
0
0
null
null
0
0.086207
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d893dd5d6ce61c3a579c54acd95783bdf278f415
622
py
Python
applanga.py
applanga/applanga-cli
6ca7218f30ff8ea62f660eeebf6e0db3ac908267
[ "MIT" ]
2
2018-06-27T12:28:19.000Z
2021-10-05T04:31:38.000Z
applanga.py
applanga/applanga-cli
6ca7218f30ff8ea62f660eeebf6e0db3ac908267
[ "MIT" ]
null
null
null
applanga.py
applanga/applanga-cli
6ca7218f30ff8ea62f660eeebf6e0db3ac908267
[ "MIT" ]
2
2020-01-24T16:49:34.000Z
2021-06-10T11:08:40.000Z
#!/usr/bin/env python import click from lib import constants import commands @click.group() @click.version_option(constants.VERSION_NUMBER) @click.option('--debug/--no-debug', default=False) @click.pass_context def cli(ctx, debug): ctx.obj['DEBUG'] = debug # Add all the commands we support cli.add_command(comma...
23.923077
50
0.77492
90
622
5.166667
0.466667
0.077419
0.167742
0.270968
0
0
0
0
0
0
0
0
0.093248
622
25
51
24.88
0.824468
0.136656
0
0
0
0
0.058052
0
0
0
0
0
0
1
0.058824
false
0.058824
0.176471
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d89c917749df843e678ab278bedd554356ea115f
20,407
py
Python
Chapter04/references/musicvae.py
loftwah/hands-on-music-generation-with-magenta
82562b518a08872b0ff4c6c0c0384352e7935157
[ "MIT" ]
null
null
null
Chapter04/references/musicvae.py
loftwah/hands-on-music-generation-with-magenta
82562b518a08872b0ff4c6c0c0384352e7935157
[ "MIT" ]
null
null
null
Chapter04/references/musicvae.py
loftwah/hands-on-music-generation-with-magenta
82562b518a08872b0ff4c6c0c0384352e7935157
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """MusicVAE.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/notebooks/magenta/music_vae/music_vae.ipynb Copyright 2017 Google LLC. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except...
53.421466
606
0.779585
3,316
20,407
4.621532
0.167672
0.015269
0.01292
0.01044
0.603263
0.551974
0.517912
0.466166
0.451354
0.447961
0
0.035425
0.129906
20,407
382
607
53.421466
0.827664
0.176753
0
0.165746
1
0
0.150812
0.069804
0
0
0
0
0.01105
0
null
null
0
0.060773
null
null
0.066298
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d8a159915b88fb732f2539896c9562b6d3c9e68f
219
py
Python
configuration/defaults.py
Wildertrek/gamechanger-data
d087044594c722bd373cce1a48293d1a6da5d24e
[ "MIT" ]
18
2021-04-20T20:34:01.000Z
2021-11-08T10:28:17.000Z
configuration/defaults.py
Wildertrek/gamechanger-data
d087044594c722bd373cce1a48293d1a6da5d24e
[ "MIT" ]
15
2021-04-20T20:31:33.000Z
2022-03-18T16:00:44.000Z
configuration/defaults.py
dod-advana/gamechanger-data
1cdba2a3dbc1072f5991dcfe1daea6310c8ae42b
[ "MIT" ]
8
2021-04-23T11:38:26.000Z
2021-11-17T22:42:38.000Z
from . import RENDERED_DIR from pathlib import Path DEFAULT_APP_CONFIG_NAME = "local" DEFAULT_ES_CONFIG_NAME = "local" RENDERED_DEFAULTS_PATH = Path(RENDERED_DIR, "defaults.json") TEMPLATE_FILENAME_SUFFIX = '.template'
31.285714
60
0.821918
30
219
5.6
0.566667
0.130952
0.178571
0
0
0
0
0
0
0
0
0
0.09589
219
7
61
31.285714
0.848485
0
0
0
0
0
0.145455
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
2
d8bcc84fe92ab8f6a58d2e8f12879faa3f2f5350
6,266
py
Python
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py
JunhoPark0314/DCNet
4b8b11701ae05903ecae779cb72949d320f134a7
[ "MIT" ]
93
2021-03-20T13:48:47.000Z
2022-03-31T09:35:00.000Z
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py
JunhoPark0314/DCNet
4b8b11701ae05903ecae779cb72949d320f134a7
[ "MIT" ]
19
2021-05-19T06:19:52.000Z
2022-03-26T07:56:24.000Z
maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py
JunhoPark0314/DCNet
4b8b11701ae05903ecae779cb72949d320f134a7
[ "MIT" ]
19
2021-05-29T09:36:56.000Z
2022-03-31T09:35:02.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from maskrcnn_benchmark.modeling import registry from torch import nn import torch @registry.ROI_BOX_PREDICTOR.register("FastRCNNPredictor") class FastRCNNPredictor(nn.Module): def __init__(self, config, in_channels): super(FastRCNNPre...
42.053691
128
0.646824
894
6,266
4.257271
0.120805
0.057015
0.081976
0.056753
0.771414
0.712822
0.684971
0.652654
0.631897
0.602733
0
0.020952
0.24593
6,266
148
129
42.337838
0.78455
0.082349
0
0.567568
0
0
0.010457
0
0
0
0
0
0.009009
1
0.081081
false
0
0.027027
0
0.216216
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d8c15d858707f061dbb201d910b0dc4b0243630c
13,505
py
Python
venv/Lib/site-packages/tensorflow/contrib/tpu/proto/tpu_embedding_config_pb2.py
caiovini/Image_reader_api
7fae630a17195d3415eb739278ef21a3b58cae76
[ "MIT" ]
3
2019-04-01T11:03:04.000Z
2019-12-31T02:17:15.000Z
venv/Lib/site-packages/tensorflow/contrib/tpu/proto/tpu_embedding_config_pb2.py
wlsl4239/Tacotron-Wavenet-Vocoder
afc60aac989f1fed827e9cf8f7df0c0c05c67885
[ "MIT" ]
1
2021-04-15T18:46:45.000Z
2021-04-15T18:46:45.000Z
venv/Lib/site-packages/tensorflow/contrib/tpu/proto/tpu_embedding_config_pb2.py
wlsl4239/Tacotron-Wavenet-Vocoder
afc60aac989f1fed827e9cf8f7df0c0c05c67885
[ "MIT" ]
1
2021-09-23T13:43:07.000Z
2021-09-23T13:43:07.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: tensorflow/contrib/tpu/proto/tpu_embedding_config.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from g...
45.318792
1,246
0.78408
1,491
13,505
6.811536
0.139504
0.040173
0.104766
0.041355
0.627412
0.545786
0.458054
0.41601
0.402816
0.378692
0
0.032325
0.108923
13,505
297
1,247
45.47138
0.811617
0.042133
0
0.61194
1
0.003731
0.254429
0.219076
0
0
0
0
0
1
0
false
0
0.022388
0
0.022388
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d8c2e15e8844f7ba425a1df76ca1d00bc775a76d
272
py
Python
yah/types/responses.py
sunsx0/yah
c073015dfa1fb2b5232c3ec4a9b9dbae571f7053
[ "MIT" ]
null
null
null
yah/types/responses.py
sunsx0/yah
c073015dfa1fb2b5232c3ec4a9b9dbae571f7053
[ "MIT" ]
null
null
null
yah/types/responses.py
sunsx0/yah
c073015dfa1fb2b5232c3ec4a9b9dbae571f7053
[ "MIT" ]
null
null
null
import typing import dataclasses as dc from .household import Household @dc.dataclass class ResponseBase: status: str request_id: str @dc.dataclass class HouseholdsResponse(ResponseBase): households: typing.List[Household] = dc.field(default_factory=list)
18.133333
71
0.779412
33
272
6.363636
0.606061
0.104762
0.152381
0
0
0
0
0
0
0
0
0
0.147059
272
14
72
19.428571
0.905172
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
d8cc98fabc826feb90693dfcdcbb994346ad9e2f
462
py
Python
globus_search_cli/commands/index/role/delete.py
globus/globus-search-cli
bfba945e511f7f60836b363fbe7352f623830fae
[ "ECL-2.0", "Apache-2.0" ]
1
2020-01-28T19:14:41.000Z
2020-01-28T19:14:41.000Z
globus_search_cli/commands/index/role/delete.py
globus/globus-search-cli
bfba945e511f7f60836b363fbe7352f623830fae
[ "ECL-2.0", "Apache-2.0" ]
4
2018-04-23T14:49:02.000Z
2021-02-22T15:53:42.000Z
globus_search_cli/commands/index/role/delete.py
globus/globus-search-cli
bfba945e511f7f60836b363fbe7352f623830fae
[ "ECL-2.0", "Apache-2.0" ]
1
2019-01-08T22:37:04.000Z
2019-01-08T22:37:04.000Z
import click from globus_search_cli.config import get_search_client from globus_search_cli.parsing import globus_cmd, index_argument from globus_search_cli.printing import format_output @globus_cmd("delete", help="Delete a role (requires admin or owner)") @index_argument @click.argument("ROLE_ID") def delete_cmd(ind...
33
84
0.807359
72
462
4.847222
0.402778
0.137536
0.137536
0.163324
0
0
0
0
0
0
0
0.002387
0.093074
462
13
85
35.538462
0.830549
0
0
0
0
0
0.188312
0.075758
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0.1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d8d83c9e82d482f4108d20161ef4a7f1f63b83ee
9,692
py
Python
rllib_integration/sensors/sensor.py
rsuwa/rllib-integration
a3ff4fd415cd9dbf33d67f01b95d7ca8447b410f
[ "MIT" ]
22
2021-02-01T23:18:38.000Z
2022-03-16T04:13:49.000Z
rllib_integration/sensors/sensor.py
rsuwa/rllib-integration
a3ff4fd415cd9dbf33d67f01b95d7ca8447b410f
[ "MIT" ]
4
2021-02-26T09:55:54.000Z
2022-02-25T02:44:06.000Z
rllib_integration/sensors/sensor.py
rsuwa/rllib-integration
a3ff4fd415cd9dbf33d67f01b95d7ca8447b410f
[ "MIT" ]
7
2021-02-25T17:59:26.000Z
2021-11-21T22:09:15.000Z
#!/usr/bin/env python # Copyright (c) 2021 Computer Vision Center (CVC) at the Universitat Autonoma de # Barcelona (UAB). # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ Here are defined all the CARLA sensors """ import copy import math import...
37.1341
123
0.578931
1,026
9,692
5.245614
0.205653
0.089186
0.132479
0.167038
0.559829
0.537718
0.498142
0.476774
0.45838
0.410814
0
0.006965
0.200062
9,692
260
124
37.276923
0.687218
0.251444
0
0.469388
0
0
0.007813
0
0
0
0
0
0.006803
1
0.258503
false
0.006803
0.027211
0.034014
0.496599
0.027211
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
d8d87be0b727ec2f73ca826c2540102950916be9
418
py
Python
stock_portfolio/models/junction.py
katcosgrove/stock-portfolio
ffa87a4e4d9af5e5685b30f0c027b8154a4b3c5b
[ "MIT" ]
null
null
null
stock_portfolio/models/junction.py
katcosgrove/stock-portfolio
ffa87a4e4d9af5e5685b30f0c027b8154a4b3c5b
[ "MIT" ]
2
2019-12-26T16:42:40.000Z
2020-01-06T18:53:29.000Z
stock_portfolio/models/junction.py
katcosgrove/stock-portfolio
ffa87a4e4d9af5e5685b30f0c027b8154a4b3c5b
[ "MIT" ]
null
null
null
from sqlalchemy import ( Index, Column, Integer, String, ForeignKey, ) # from sqlalchemy.orm import relationship from .meta import Base class Junction(Base): __tablename__ = 'user_portfolios' id = Column(Integer, primary_key=True) stock_id = Column(String, ForeignKey('stocks.symbol'),...
23.222222
80
0.712919
47
418
6.170213
0.617021
0.165517
0.096552
0.165517
0
0
0
0
0
0
0
0
0.184211
418
17
81
24.588235
0.85044
0.093301
0
0
0
0
0.119363
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
d8e2732739488b7cb65ab19d16549fee4d97d5cf
178
py
Python
async_scrapy_api/__init__.py
QYLGitHub/async_scrapyd_api
3b061bfe414ebda2b3e5667cdfe21e77ce06955a
[ "BSD-3-Clause" ]
null
null
null
async_scrapy_api/__init__.py
QYLGitHub/async_scrapyd_api
3b061bfe414ebda2b3e5667cdfe21e77ce06955a
[ "BSD-3-Clause" ]
null
null
null
async_scrapy_api/__init__.py
QYLGitHub/async_scrapyd_api
3b061bfe414ebda2b3e5667cdfe21e77ce06955a
[ "BSD-3-Clause" ]
null
null
null
"""" scrapyd api 的异步实现 """ from .client import ScrapyApi as _ScrapyApi class AsyncScrapyApi(_ScrapyApi): pass version = __version__ = '0.0.1' __all_ = ["AsyncScrapyApi"]
13.692308
43
0.707865
20
178
5.85
0.75
0
0
0
0
0
0
0
0
0
0
0.02027
0.168539
178
12
44
14.833333
0.77027
0.106742
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0.2
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d8fb589afafd915da6bb2d32ac39e64dcb5a97ae
364
py
Python
tests/test_final.py
justanr/objtoolz
68aee9a932f8bbf1b120a5da200368feec5258c5
[ "MIT" ]
1
2015-10-23T00:53:52.000Z
2015-10-23T00:53:52.000Z
tests/test_final.py
justanr/objtoolz
68aee9a932f8bbf1b120a5da200368feec5258c5
[ "MIT" ]
null
null
null
tests/test_final.py
justanr/objtoolz
68aee9a932f8bbf1b120a5da200368feec5258c5
[ "MIT" ]
null
null
null
from objtoolz.metas.final import Final import pytest def test_cant_inherit_from_final(): class FinalTest(object): pass FinalTest = Final('FinalTest', (FinalTest,), {}) with pytest.raises(TypeError) as err: class SubclassedFinalTest(FinalTest): pass assert 'Attempting to ...
22.75
69
0.68956
43
364
5.744186
0.604651
0.089069
0.129555
0.17004
0
0
0
0
0
0
0
0
0.222527
364
15
70
24.266667
0.872792
0
0
0.2
0
0
0.129121
0
0
0
0
0
0.1
1
0.1
false
0.2
0.2
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d8fc0f8003380d5672062d5a73b6c46f23d3c623
489
py
Python
Module 3/Chapter 4/urlsqli.py
kongjiexi/Python-Penetration-Testing-for-Developers
8cfecc3e968e7b063b4f4053dd4e05ea281e81be
[ "MIT" ]
34
2016-11-16T15:37:47.000Z
2022-01-15T06:19:27.000Z
Module 3/Chapter 4/urlsqli.py
kongjiexi/Python-Penetration-Testing-for-Developers-Code
8cfecc3e968e7b063b4f4053dd4e05ea281e81be
[ "MIT" ]
null
null
null
Module 3/Chapter 4/urlsqli.py
kongjiexi/Python-Penetration-Testing-for-Developers-Code
8cfecc3e968e7b063b4f4053dd4e05ea281e81be
[ "MIT" ]
35
2016-10-30T10:13:04.000Z
2022-03-26T21:36:49.000Z
import requests url = "http://127.0.0.1/SQL/sqli-labs-master/Less-1/index.php?id=" initial = "'" print "Testing "+ url first = requests.post(url+initial) if "mysql" in first.text.lower(): print "Injectable MySQL detected" elif "native client" in first.text.lower(): print "Injectable MSSQL detected" elif "syntax er...
28.764706
66
0.725971
72
489
4.930556
0.527778
0.078873
0.123944
0.180282
0.349296
0.349296
0
0
0
0
0
0.016393
0.126789
489
17
67
28.764706
0.814988
0
0
0
0
0.066667
0.453061
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.4
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d8fea0fd5bc42fec034c839e66cb8c9b98b0916d
3,796
py
Python
pims/filters/global_histogram.py
hurondp/pims
7d08bc4246375255611011d465db9de89fdc6ce9
[ "Apache-2.0" ]
2
2022-01-19T08:58:12.000Z
2022-01-28T14:40:41.000Z
pims/filters/global_histogram.py
hurondp/pims
7d08bc4246375255611011d465db9de89fdc6ce9
[ "Apache-2.0" ]
18
2021-09-20T08:47:11.000Z
2022-03-14T15:51:37.000Z
pims/filters/global_histogram.py
Cytomine-ULiege/pims
3c13f054be3ce9b6755428ccd9c5e0c1a8fb02d4
[ "Apache-2.0" ]
1
2022-02-14T18:28:31.000Z
2022-02-14T18:28:31.000Z
# * Copyright (c) 2020-2021. Authors: see NOTICE file. # * # * 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 ...
27.507246
95
0.707587
422
3,796
6.248815
0.353081
0.079636
0.045127
0.051195
0.315131
0.267728
0.14562
0.077361
0.077361
0.077361
0
0.004025
0.2147
3,796
137
96
27.708029
0.880577
0.190727
0
0.41573
0
0
0.055974
0
0
0
0
0
0
1
0.258427
false
0.011236
0.089888
0.213483
0.674157
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
2b158a6db190fb329c2cc20a9a617aebee252556
520
py
Python
src/sima/riflex/generatortorquefault.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/generatortorquefault.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/generatortorquefault.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# Generated with GeneratorTorqueFault # from enum import Enum from enum import auto class GeneratorTorqueFault(Enum): """""" NONE = auto() LOSS = auto() BACKUP = auto() def label(self): if self == GeneratorTorqueFault.NONE: return "No generator torque fault" if self ==...
28.888889
72
0.648077
54
520
6.240741
0.481481
0.053412
0.231454
0
0
0
0
0
0
0
0
0
0.271154
520
18
72
28.888889
0.889182
0.067308
0
0
1
0
0.222689
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.769231
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2b2baf221b274ad6177ff6293ac8f0428320fca1
105
py
Python
exercise 6.5.py
tuyanyang/python_exercise
c1027c2451d7f3c0fd00152a5430386d930ef9ef
[ "Apache-2.0" ]
null
null
null
exercise 6.5.py
tuyanyang/python_exercise
c1027c2451d7f3c0fd00152a5430386d930ef9ef
[ "Apache-2.0" ]
null
null
null
exercise 6.5.py
tuyanyang/python_exercise
c1027c2451d7f3c0fd00152a5430386d930ef9ef
[ "Apache-2.0" ]
null
null
null
str = 'X-DSPAM-Confidence: 0.8475' colpos = str.find(':') number = float(str[colpos+1:]) print(number)
15
34
0.657143
16
105
4.3125
0.75
0
0
0
0
0
0
0
0
0
0
0.065217
0.12381
105
6
35
17.5
0.684783
0
0
0
0
0
0.262136
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2b2cebbcac1f1afd76fdf43b2ba64aac87d6c0c6
895
py
Python
Build_Web_With_Flask/Building web applications with Flask_Code/chapter03/chapter03/ex01.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
Build_Web_With_Flask/Building web applications with Flask_Code/chapter03/chapter03/ex01.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
Build_Web_With_Flask/Building web applications with Flask_Code/chapter03/chapter03/ex01.py
abacuspix/NFV_project
f5585a6750119b1f954fea65c37a14badad1fd62
[ "MIT" ]
null
null
null
# coding:utf-8 with open('parent.html', 'w') as file: file.write(""" {% block template %}parent.html{% endblock %} =========== I am a powerful psychic and will tell you your past {#- "past" is the block identifier #} {% block past %} You had pimples by the age of 12. {%- endblock %} Tremble before my power!!! ""...
21.829268
60
0.668156
121
895
4.92562
0.479339
0.100671
0.02349
0.036913
0.067114
0.067114
0
0
0
0
0
0.005305
0.157542
895
40
61
22.375
0.785146
0.013408
0
0.344828
0
0
0.624291
0
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.103448
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
2b3d0e7153dbe61db26c71f7afad69aa78f7a01e
765
py
Python
accounts/migrations/0007_auto_20200708_2235.py
Ascensiony/Software-Dev-Project
85513737ae4a4b76fa0cfdab579b037d33b72faf
[ "MIT" ]
2
2020-02-05T02:47:32.000Z
2020-02-22T12:11:40.000Z
accounts/migrations/0007_auto_20200708_2235.py
yabhi0807/Software-Dev-Project
85513737ae4a4b76fa0cfdab579b037d33b72faf
[ "MIT" ]
7
2021-04-08T21:12:42.000Z
2022-03-12T00:13:59.000Z
accounts/migrations/0007_auto_20200708_2235.py
venky012/ase-1-site
877e36344c82567d3ebc7b0f29a2757da2a7f071
[ "MIT" ]
4
2020-02-17T09:47:39.000Z
2020-02-22T12:11:18.000Z
# Generated by Django 2.2.10 on 2020-07-08 17:05 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0006_user_summary'), ] operations = [ migrations.AddField( model_name='user', ...
30.6
235
0.622222
89
765
5.258427
0.651685
0.042735
0.08547
0.115385
0.311966
0.311966
0.162393
0
0
0
0
0.065744
0.244444
765
24
236
31.875
0.743945
0.060131
0
0.333333
1
0
0.217573
0
0
0
0
0
0
1
0
false
0.055556
0.111111
0
0.277778
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
1
0
0
0
0
0
2
2b415380261e34d510fb8b47a7448850a1452aa3
771
py
Python
back-end/api/migrations/0009_auto_20161114_0228.py
tuftsjumbocode/bostonathleticsassociation
4a01607bd530e9f4973d3b345a442b4eceafa8e1
[ "MIT" ]
2
2017-01-30T01:33:07.000Z
2017-02-12T22:00:19.000Z
back-end/api/migrations/0009_auto_20161114_0228.py
tuftsjumbocode/bostonathleticsassociation
4a01607bd530e9f4973d3b345a442b4eceafa8e1
[ "MIT" ]
90
2017-02-02T01:56:30.000Z
2017-05-07T02:58:46.000Z
back-end/api/migrations/0009_auto_20161114_0228.py
tuftsjumbocode/bostonathleticsassociation
4a01607bd530e9f4973d3b345a442b4eceafa8e1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-11-14 02:28 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0008_merge_20161114_0228'), ] operations = [ migrations.AlterField( ...
24.870968
50
0.581064
78
771
5.538462
0.615385
0.138889
0.173611
0.201389
0.493056
0.291667
0
0
0
0
0
0.070764
0.303502
771
30
51
25.7
0.733706
0.088197
0
0.391304
1
0
0.115714
0.034286
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2b48136d7862045c57146a5998c792c07510b7e0
4,167
py
Python
Peach/Agent/linux.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
null
null
null
Peach/Agent/linux.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
null
null
null
Peach/Agent/linux.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
1
2020-07-26T03:57:45.000Z
2020-07-26T03:57:45.000Z
# # Copyright (c) Michael Eddington # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, d...
25.564417
137
0.686345
588
4,167
4.845238
0.443878
0.030888
0.01053
0.008424
0.033696
0.016848
0
0
0
0
0
0.00761
0.211663
4,167
162
138
25.722222
0.859665
0.304536
0
0.226415
0
0
0.163374
0.042178
0
0
0
0.006173
0
0
null
null
0.056604
0.056604
null
null
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
2b57bde216736d2a123846b6eb7ecbcbf1a11cbb
2,467
py
Python
teachers_notes/api_example.py
kchiv/data_science_basics
a869200d26068a8fa26c82cf76dcd8de0f0636b3
[ "MIT" ]
26
2015-04-14T11:47:06.000Z
2019-11-19T23:28:27.000Z
teachers_notes/api_example.py
kchiv/data_science_basics
a869200d26068a8fa26c82cf76dcd8de0f0636b3
[ "MIT" ]
null
null
null
teachers_notes/api_example.py
kchiv/data_science_basics
a869200d26068a8fa26c82cf76dcd8de0f0636b3
[ "MIT" ]
14
2015-08-26T23:07:16.000Z
2019-03-31T17:19:42.000Z
# show how product information is collected from an API # first import packages import urllib2 import json import pandas as pd # this is your api information my_api_key = "XXXXXXXXXXX" # build the api url, passing in your api key url = "http://api.shopstyle.com/api/v2/" ties = "{}products?pid={}&cat=mens-ties&limit...
25.968421
118
0.647345
343
2,467
4.635569
0.411079
0.006289
0.015723
0.053459
0.149057
0.103145
0.098742
0.030189
0
0
0
0.01
0.189299
2,467
94
119
26.244681
0.785
0.232266
0
0.366667
0
0
0.252396
0.055911
0
0
0
0
0
0
null
null
0.083333
0.05
null
null
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
2b711d2c515aeb03ecc84e8f77b1294d06dd0582
7,664
py
Python
odvm/cuboids.py
pmp-p/odvm
90df59ac584690a70658477ccf109c143c250d9d
[ "MIT" ]
3
2020-03-03T22:52:12.000Z
2021-11-26T18:12:55.000Z
odvm/cuboids.py
pmp-p/odvm
90df59ac584690a70658477ccf109c143c250d9d
[ "MIT" ]
null
null
null
odvm/cuboids.py
pmp-p/odvm
90df59ac584690a70658477ccf109c143c250d9d
[ "MIT" ]
3
2018-10-09T03:52:15.000Z
2022-01-17T00:19:11.000Z
def ijk1b_to_idx0_7( i, j, k ): assert( 0 <= i <= 1 and 0 <= j <= 1 and 0 <= k <= 1 ) return ((k&1)<<2)|((j&1)<<1)|(i&1) def idx0_7_to_ijk1b( idx ): assert( 0 <= idx <= 7 ) return ( idx&1, (idx&2)>>1, (idx&4)>>2 ) def ijk2b_to_idx0_63( i, j, k ): assert( 0 <= i <= 3 and 0 <= j <= 3 and 0 <...
41.204301
94
0.489823
1,441
7,664
2.446912
0.056211
0.034033
0.035735
0.047646
0.678389
0.576007
0.473625
0.420023
0.384855
0.321895
0
0.209625
0.322156
7,664
185
95
41.427027
0.469105
0
0
0.230769
0
0
0
0
0
0
0
0
0.044872
1
0.096154
false
0
0
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2b76a09d6c19ff0401ccd8d6eaec58ee76b85e84
263
py
Python
src/models/items/item.py
prajesh-ananthan/web-store
b21fe3db232986f2e8576d79a3c9cb08ccbb8300
[ "MIT" ]
null
null
null
src/models/items/item.py
prajesh-ananthan/web-store
b21fe3db232986f2e8576d79a3c9cb08ccbb8300
[ "MIT" ]
null
null
null
src/models/items/item.py
prajesh-ananthan/web-store
b21fe3db232986f2e8576d79a3c9cb08ccbb8300
[ "MIT" ]
null
null
null
__author__ = "Prajesh Ananthan" class Item(object): def __init__(self, name, price, url): self.name = name self.price = price self.url = url def __repr__(self): return "<Item {} with url: {}".format(self.name, self.url)
21.916667
66
0.593156
33
263
4.363636
0.484848
0.166667
0
0
0
0
0
0
0
0
0
0
0.273764
263
11
67
23.909091
0.753927
0
0
0
0
0
0.140684
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
99259798e06bca0c8d5104316f0b7091fd32554c
239
py
Python
2017/day_01/day_01.py
viddrobnic/adventofcode
8f06f4ad3ed6744d20d222b050a15b8ff0ff9c82
[ "MIT" ]
null
null
null
2017/day_01/day_01.py
viddrobnic/adventofcode
8f06f4ad3ed6744d20d222b050a15b8ff0ff9c82
[ "MIT" ]
null
null
null
2017/day_01/day_01.py
viddrobnic/adventofcode
8f06f4ad3ed6744d20d222b050a15b8ff0ff9c82
[ "MIT" ]
1
2020-12-01T16:49:12.000Z
2020-12-01T16:49:12.000Z
l = list(map(int, input())) s_1, s_2 = 0, 0 for i in range(len(l)): s_1 += l[i] if l[i] == l[(i + 1) % len(l)] else 0 s_2 += l[i] if l[i] == l[(i + len(l) // 2) % len(l)] else 0 print('Part One: {}\nPart Two: {}'.format(s_1, s_2))
34.142857
63
0.48954
57
239
1.947368
0.385965
0.108108
0.054054
0.072072
0.144144
0.144144
0.144144
0
0
0
0
0.065217
0.230126
239
6
64
39.833333
0.538043
0
0
0
0
0
0.108787
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
992ab76271b6f11aaf6de75c004acface2dadb22
2,351
py
Python
tests/utils/utils.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
tests/utils/utils.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
43
2019-06-01T23:08:32.000Z
2022-02-07T22:24:53.000Z
tests/utils/utils.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
import logging import random import string from typing import Dict import requests from requests.models import Response from sqlalchemy.orm import Session from starlette.testclient import TestClient from ultron8.api import settings logger = logging.getLogger(__name__) def random_lower_string() -> str: return ...
27.022989
111
0.698852
303
2,351
5.174917
0.313531
0.063776
0.084184
0.095663
0.353316
0.353316
0.353316
0.311224
0.311224
0.311224
0
0.006792
0.185878
2,351
86
112
27.337209
0.812435
0.167163
0
0.346154
0
0
0.193515
0.074791
0
0
0
0.011628
0
1
0.134615
false
0.057692
0.173077
0.038462
0.442308
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
1
0
0
0
0
0
2
992ad31b8f65b89db6ebc34115bf9b9c80c947ea
1,815
py
Python
src/v1/views.py
Diaga/Spekit_Tech_Project
77abc8f21386e842c602c7eec6b7fb841fcc5a49
[ "MIT" ]
null
null
null
src/v1/views.py
Diaga/Spekit_Tech_Project
77abc8f21386e842c602c7eec6b7fb841fcc5a49
[ "MIT" ]
null
null
null
src/v1/views.py
Diaga/Spekit_Tech_Project
77abc8f21386e842c602c7eec6b7fb841fcc5a49
[ "MIT" ]
null
null
null
from rest_framework.viewsets import GenericViewSet, mixins from . import models from . import serializers from . import filters class TopicViewSet(GenericViewSet, mixins.CreateModelMixin, mixins.RetrieveModelMixin, mixins.ListModelMixin, mix...
34.903846
58
0.640771
122
1,815
9.467213
0.311475
0.103896
0.155844
0.181818
0.64329
0.487446
0.487446
0.361039
0.361039
0.361039
0
0
0.30303
1,815
51
59
35.588235
0.913043
0
0
0.475
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.525
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
99437185c3d9580b96da9f2f04c5000abbcdcea8
11,276
py
Python
scripts/startup.py
red61/docker-nginx-loadbalancer
f65b8ea4f79802cdf46f9ae4675c57e893416570
[ "MIT" ]
91
2015-01-24T08:15:22.000Z
2021-11-30T08:47:44.000Z
scripts/startup.py
red61/docker-nginx-loadbalancer
f65b8ea4f79802cdf46f9ae4675c57e893416570
[ "MIT" ]
14
2015-02-24T14:18:18.000Z
2021-03-30T16:36:50.000Z
scripts/startup.py
red61/docker-nginx-loadbalancer
f65b8ea4f79802cdf46f9ae4675c57e893416570
[ "MIT" ]
43
2015-02-24T11:11:52.000Z
2021-06-24T03:32:40.000Z
#!/usr/bin/python ''' This script will be run on start-up to evaluate the Docker link environment variables and automatically generate upstream and location modules for reverse-proxying and load-balancing. It looks for environment variables in the following formats: <service-name>_<service-instance-id>_PORT_80_TCP_ADD...
41.003636
445
0.648989
1,464
11,276
4.793033
0.198087
0.051732
0.013966
0.011116
0.25823
0.19581
0.162463
0.159612
0.12655
0.122702
0
0.022377
0.223217
11,276
274
446
41.153285
0.778742
0.006474
0
0.082192
1
0.041096
0.334736
0.059615
0
0
0
0
0.10274
0
null
null
0
0.054795
null
null
0.054795
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
996037beee7e9ffc25ce367bea927d14deb9d6fa
1,659
py
Python
flask/wsgi.py
jSm449g4d/web_by_flask
57ca1a028f0596d7973dd3b68b0c14d5e485d353
[ "MIT" ]
null
null
null
flask/wsgi.py
jSm449g4d/web_by_flask
57ca1a028f0596d7973dd3b68b0c14d5e485d353
[ "MIT" ]
null
null
null
flask/wsgi.py
jSm449g4d/web_by_flask
57ca1a028f0596d7973dd3b68b0c14d5e485d353
[ "MIT" ]
null
null
null
# coding: utf-8 import sys import os import flask from flask import redirect,request,render_template_string,render_template from werkzeug.utils import secure_filename import importlib import zipfile import threading import random from datetime import datetime import pytz import time from sqlalchemy import...
29.625
98
0.736588
234
1,659
4.965812
0.444444
0.061962
0.036145
0.051635
0.074871
0.074871
0
0
0
0
0
0.018195
0.138638
1,659
55
99
30.163636
0.794962
0.053647
0
0
0
0
0.108609
0.015894
0
0
0
0
0
1
0.066667
false
0
0.422222
0
0.533333
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
996f544153a410cb2acd21e8234e729018189fd2
3,388
py
Python
app/forms.py
ruppatel115/Local_Music
d58d91427e3252eb9df4eb2862ff749de2d1ff48
[ "MIT" ]
null
null
null
app/forms.py
ruppatel115/Local_Music
d58d91427e3252eb9df4eb2862ff749de2d1ff48
[ "MIT" ]
null
null
null
app/forms.py
ruppatel115/Local_Music
d58d91427e3252eb9df4eb2862ff749de2d1ff48
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm, Form from wtforms import StringField, PasswordField, BooleanField, SubmitField, DateField, SelectField, SelectMultipleField, \ TextAreaField from wtforms.validators import ValidationError, DataRequired, Email, EqualTo from app.models import User,Artist, Venue, Event, ArtistToEvent ...
34.927835
121
0.697757
346
3,388
6.742775
0.280347
0.132019
0.027861
0.030004
0.301757
0.201029
0.126447
0.094728
0.094728
0.094728
0
0.001798
0.179162
3,388
96
122
35.291667
0.837109
0.196871
0
0.125
0
0
0.123891
0
0
0
0
0
0
1
0.083333
false
0.104167
0.083333
0
0.708333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
998284325b06feea22d55df850032a7982abf471
253
py
Python
tools/unit_test/iter_next.py
HAOCHENYE/yehc_mmdet
491cc13c6ff769996b7a23b871b10f9a5a1c56fa
[ "Apache-2.0" ]
1
2021-12-25T13:22:39.000Z
2021-12-25T13:22:39.000Z
tools/unit_test/iter_next.py
HAOCHENYE/yehc_mmdet
491cc13c6ff769996b7a23b871b10f9a5a1c56fa
[ "Apache-2.0" ]
null
null
null
tools/unit_test/iter_next.py
HAOCHENYE/yehc_mmdet
491cc13c6ff769996b7a23b871b10f9a5a1c56fa
[ "Apache-2.0" ]
1
2021-02-01T13:33:26.000Z
2021-02-01T13:33:26.000Z
class A(object): def __init__(self): self.array = [1, 2, 3] self.index = 0 def __iter__(self): return self def __next__(self): self.index += 1 return self.array[self.index] x = A() iter print(next(x))
19.461538
37
0.549407
36
253
3.527778
0.472222
0.212598
0
0
0
0
0
0
0
0
0
0.028902
0.316206
253
13
38
19.461538
0.705202
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.083333
0.5
0.083333
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
1
0
0
0
0
0
0
0
2
998331c1d7906f77dd7f2d742a336347f4b62b18
252
py
Python
Beginner_Day_1_14/Day5/Exc4/main.py
fredtheninja/100-Days-of-Code
d66b156d307c14d3b9d93559030d58294cc736bb
[ "MIT" ]
null
null
null
Beginner_Day_1_14/Day5/Exc4/main.py
fredtheninja/100-Days-of-Code
d66b156d307c14d3b9d93559030d58294cc736bb
[ "MIT" ]
null
null
null
Beginner_Day_1_14/Day5/Exc4/main.py
fredtheninja/100-Days-of-Code
d66b156d307c14d3b9d93559030d58294cc736bb
[ "MIT" ]
null
null
null
#Write your code below this row 👇 for number in range(1,101): if number%3 == 0 and number%5 == 0: print("FizzBuzz") elif number%3 == 0: print("Fizz") elif number%5 == 0: print("Buzz") else: print(number)
22.909091
39
0.539683
38
252
3.605263
0.631579
0.131387
0.116788
0.189781
0
0
0
0
0
0
0
0.069767
0.31746
252
11
40
22.909091
0.72093
0.126984
0
0
0
0
0.072727
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
998a9df752b1306dd5cad2f5ce1ba534bde286ee
1,306
py
Python
magmap/tests/unit_testing.py
clifduhn/magellanmapper
2d9230b7374719d6cba9b626145f9e81f09c42bf
[ "BSD-3-Clause" ]
null
null
null
magmap/tests/unit_testing.py
clifduhn/magellanmapper
2d9230b7374719d6cba9b626145f9e81f09c42bf
[ "BSD-3-Clause" ]
null
null
null
magmap/tests/unit_testing.py
clifduhn/magellanmapper
2d9230b7374719d6cba9b626145f9e81f09c42bf
[ "BSD-3-Clause" ]
null
null
null
# MagellanMapper unit testing # Author: David Young, 2018, 2020 """Unit testing for the MagellanMapper package. """ import unittest from magmap.cv import stack_detect from magmap.io import cli from magmap.io import importer from magmap.settings import config TEST_IMG = "test.czi" class TestImageStackProcessing(uni...
31.095238
76
0.674579
158
1,306
5.360759
0.455696
0.076741
0.028335
0.042503
0
0
0
0
0
0
0
0.037773
0.229709
1,306
41
77
31.853659
0.804175
0.080398
0
0
0
0
0.026823
0
0
0
0
0
0.074074
1
0.111111
false
0
0.37037
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
1
0
1
0
0
2
99903ac4cc7ff7f51ea4d24bd45b74fe05a35860
1,076
py
Python
envisage/ui/action/i_action_manager_builder.py
anshsrtv/envisage
e50ab70146ed9927d684e2dd093cf2934b029691
[ "BSD-3-Clause" ]
null
null
null
envisage/ui/action/i_action_manager_builder.py
anshsrtv/envisage
e50ab70146ed9927d684e2dd093cf2934b029691
[ "BSD-3-Clause" ]
null
null
null
envisage/ui/action/i_action_manager_builder.py
anshsrtv/envisage
e50ab70146ed9927d684e2dd093cf2934b029691
[ "BSD-3-Clause" ]
null
null
null
# (C) Copyright 2007-2020 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in LICENSE.txt and may be redistributed only under # the conditions described in the aforementioned license. The license # is also available online at...
29.888889
78
0.737918
147
1,076
5.367347
0.578231
0.098859
0.038023
0.053232
0.091255
0.091255
0
0
0
0
0
0.009185
0.19052
1,076
35
79
30.742857
0.89667
0.724907
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
999231c822ba01743c5a7fe006758dc07a5abdfe
181
py
Python
main.py
Inspirateur/fm-helper
2ae7d9006b7f56265c3157babd6b1fd2d76a56bd
[ "MIT" ]
2
2020-11-02T14:42:34.000Z
2020-11-09T17:21:22.000Z
main.py
Inspirateur/fm-helper
2ae7d9006b7f56265c3157babd6b1fd2d76a56bd
[ "MIT" ]
null
null
null
main.py
Inspirateur/fm-helper
2ae7d9006b7f56265c3157babd6b1fd2d76a56bd
[ "MIT" ]
3
2020-10-15T15:46:49.000Z
2021-03-27T02:17:03.000Z
import dofus_protocol as dp from fm_state import FMState def packet_handle(pkt: dp.DofusPacket): state.update(pkt) state = FMState() listener = dp.DofusListener(packet_handle)
16.454545
42
0.790055
26
181
5.346154
0.653846
0.172662
0
0
0
0
0
0
0
0
0
0
0.127072
181
10
43
18.1
0.879747
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
99a1e05bc90f9693934b750be4573b2e1d3f5471
263
py
Python
tests/test_toml_sort.py
kasium/toml-sort
aeefd8787b76d030fbd5577060e8317cee72857f
[ "MIT" ]
34
2019-08-06T23:10:27.000Z
2022-03-20T08:49:12.000Z
tests/test_toml_sort.py
kasium/toml-sort
aeefd8787b76d030fbd5577060e8317cee72857f
[ "MIT" ]
13
2019-08-06T17:15:08.000Z
2022-03-31T00:15:47.000Z
tests/test_toml_sort.py
kasium/toml-sort
aeefd8787b76d030fbd5577060e8317cee72857f
[ "MIT" ]
8
2020-04-17T11:45:16.000Z
2022-03-10T14:48:12.000Z
"""Test the toml_sort module.""" from toml_sort import TomlSort def test_sort_toml_is_str() -> str: """Take a TOML string, sort it, and return the sorted string.""" sorted_result = TomlSort("[hello]").sorted() assert isinstance(sorted_result, str)
26.3
68
0.703422
38
263
4.657895
0.578947
0.090395
0
0
0
0
0
0
0
0
0
0
0.1673
263
9
69
29.222222
0.808219
0.323194
0
0
0
0
0.041916
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
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
1
0
0
0
0
0
0
0
2
99a96b582474b0ce24aa7df030a211dd5e77af0e
1,817
py
Python
src/book.py
psikon/pitft-scripts
13ff4b9676495d0ca89ce38ab826ffec28ed4737
[ "MIT" ]
null
null
null
src/book.py
psikon/pitft-scripts
13ff4b9676495d0ca89ce38ab826ffec28ed4737
[ "MIT" ]
null
null
null
src/book.py
psikon/pitft-scripts
13ff4b9676495d0ca89ce38ab826ffec28ed4737
[ "MIT" ]
null
null
null
class Book: '''class for storing all relevant informations for playing a audio book and show informations in the interfaces. The seperated chapter of audio books are stored together for ensure an unbroken playback''' def __init__(self, path, title, artist, album, chapter, chapter_playtime, total...
30.283333
81
0.645019
235
1,817
4.876596
0.27234
0.052356
0.059337
0.024433
0.033159
0
0
0
0
0
0
0.000754
0.270226
1,817
60
82
30.283333
0.863499
0.326362
0
0
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0
0
0.676471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
41d05f152c704525023e909671a5d2355e6edf18
5,288
py
Python
src/tests/decision_tree_test.py
kafkasl/cart_and_random_forests
2d5f2634c929509cf32bf8e083c8f3acdc84cbf6
[ "MIT" ]
null
null
null
src/tests/decision_tree_test.py
kafkasl/cart_and_random_forests
2d5f2634c929509cf32bf8e083c8f3acdc84cbf6
[ "MIT" ]
null
null
null
src/tests/decision_tree_test.py
kafkasl/cart_and_random_forests
2d5f2634c929509cf32bf8e083c8f3acdc84cbf6
[ "MIT" ]
null
null
null
import os import sys import unittest sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from decision_tree import * from decision_tree import DecisionTree class DecisionTreeTests(unittest.TestCase): def test_read_data(self): result_data = [['FALSE', 'high', 'hot', 'sunn...
43.702479
119
0.500378
645
5,288
4.009302
0.170543
0.016241
0.009281
0.007734
0.529389
0.487239
0.487239
0.449343
0.446249
0.446249
0
0.261425
0.304841
5,288
121
120
43.702479
0.442057
0.375378
0
0
0
0
0.106748
0.010123
0
0
0
0
0.052632
1
0.140351
false
0
0.087719
0
0.245614
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
41def3a70512b835e1aa5235dd49438d15f566da
1,385
py
Python
21_excel/02_obtendo_linhas_colunas.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
null
null
null
21_excel/02_obtendo_linhas_colunas.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
9
2019-11-15T14:21:43.000Z
2020-03-15T14:37:13.000Z
21_excel/02_obtendo_linhas_colunas.py
smartao/estudos_python
252a2e592ff929dfc6c06fc09b42cb7063ad0b5a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import openpyxl from openpyxl.utils import get_column_letter, column_index_from_string # Porque usar o util https://is.gd/YrDuST wb = openpyxl.load_workbook('example.xlsx') sheet = wb.get_sheet_by_name('Sheet1') print('Obtendo a letra da coluna a partir de um inteiro') print(get_column_l...
31.477273
71
0.72852
210
1,385
4.652381
0.42381
0.064483
0.107472
0.102354
0.198567
0.118731
0.059365
0
0
0
0
0.017949
0.155235
1,385
43
72
32.209302
0.817094
0.274368
0
0
0
0
0.242105
0
0
0
0
0.023256
0
1
0
false
0
0.090909
0
0.090909
0.681818
0
0
0
null
0
0
0
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
1
0
2
41ee7d160b54c4827152427a786f6334b5f12fbe
161
py
Python
health.py
oliviamao/first-python
2051730c793a6618ef7be15d399c753515fc7670
[ "MIT" ]
null
null
null
health.py
oliviamao/first-python
2051730c793a6618ef7be15d399c753515fc7670
[ "MIT" ]
null
null
null
health.py
oliviamao/first-python
2051730c793a6618ef7be15d399c753515fc7670
[ "MIT" ]
null
null
null
import random health = 50 difficulty = 3 potion_health = int(random.randint(25,50)/ difficulty) health = health + potion_health print (health) import math
11.5
54
0.745342
22
161
5.363636
0.545455
0.20339
0
0
0
0
0
0
0
0
0
0.052239
0.167702
161
13
55
12.384615
0.828358
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
1
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
2
41f134d41cd44c4c7f382ce4b474219871bc7354
332
py
Python
HackerRank/30 Days Of Code/Python/Day26_NestedLogic.py
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
1
2021-07-13T01:49:25.000Z
2021-07-13T01:49:25.000Z
HackerRank/30 Days Of Code/Python/Day26_NestedLogic.py
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
null
null
null
HackerRank/30 Days Of Code/Python/Day26_NestedLogic.py
AdityaChirravuri/CompetitiveProgramming
642550e8916b3f7939a1fdd52d10f5f8ae43f161
[ "MIT" ]
null
null
null
d, m, y = map(int, input().split()) dd, dm, dy = map(int, input().split()) if dy == y: if dm < m: hackos = 500*(m-dm) elif dm == m: if dd < d: hackos = 15*(d-dd) else: hackos = 0 else: hackos = 0 elif dy > y: hackos = 0 else: hackos = 10000 pr...
17.473684
38
0.445783
50
332
2.96
0.38
0.202703
0.148649
0.216216
0
0
0
0
0
0
0
0.064677
0.394578
332
18
39
18.444444
0.671642
0
0
0.352941
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.058824
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
41f2c25c0cabc45d73f08a2dbd1b240d7fa0bba5
1,252
py
Python
envisage/plugins/debug/fbi_plugin_definition.py
janvonrickenbach/Envisage_wxPhoenix_py3
cf79e5b2a0c3b46898a60b5fe5a2fb580604808b
[ "BSD-3-Clause" ]
null
null
null
envisage/plugins/debug/fbi_plugin_definition.py
janvonrickenbach/Envisage_wxPhoenix_py3
cf79e5b2a0c3b46898a60b5fe5a2fb580604808b
[ "BSD-3-Clause" ]
1
2017-05-22T21:15:22.000Z
2017-05-22T21:15:22.000Z
envisage/plugins/debug/fbi_plugin_definition.py
janvonrickenbach/Envisage_wxPhoenix_py3
cf79e5b2a0c3b46898a60b5fe5a2fb580604808b
[ "BSD-3-Clause" ]
1
2019-10-01T07:03:58.000Z
2019-10-01T07:03:58.000Z
#------------------------------------------------------------------------------- # # FBI (Frame Based Inspector) Plugin. # # Written by: David C. Morrill # # Date: 1/4/2006 # # (c) Copyright 2006 by Enthought, Inc. # #------------------------------------------------------------------------------- #----------------...
30.536585
80
0.422524
99
1,252
5.282828
0.525253
0.068834
0.095602
0.087954
0
0
0
0
0
0
0
0.011872
0.125399
1,252
40
81
31.3
0.465753
0.646166
0
0
0
0
0.300948
0.163507
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
41fcdf8313a68a315c00f4e58f60e9e4648932e4
416
py
Python
sanitize_temperatures.py
mscalora/Plugin-Examples
bd88fc80e1300251b9867c1b85538a176e0fc541
[ "MIT" ]
14
2015-01-15T14:29:22.000Z
2021-03-08T08:06:57.000Z
sanitize_temperatures.py
mscalora/Plugin-Examples
bd88fc80e1300251b9867c1b85538a176e0fc541
[ "MIT" ]
4
2015-10-15T07:12:40.000Z
2019-02-05T12:46:11.000Z
sanitize_temperatures.py
mscalora/Plugin-Examples
bd88fc80e1300251b9867c1b85538a176e0fc541
[ "MIT" ]
22
2016-01-20T16:48:47.000Z
2022-03-23T22:12:52.000Z
# coding=utf-8 def sanitize_temperatures(comm, parsed_temps): return dict((k, v) for k, v in parsed_temps.items() if isinstance(v, tuple) and len(v) == 2 and is_sane(v[0])) def is_sane(actual): return 1.0 <= actual <= 300.0 __plugin_name__ = "Sanitize Temperatures" __plugin_pythoncompat__ = ">=2.7,<4"...
27.733333
71
0.713942
61
416
4.52459
0.606557
0.217391
0
0
0
0
0
0
0
0
0
0.033898
0.149038
416
14
72
29.714286
0.745763
0.028846
0
0
0
0
0.18408
0.11194
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.1
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
1
0
0
0
2
510063cadb5ae76249b7d4dd58710dcdfa858df3
153
py
Python
5 - synthetic-data-applications/time-series/missing-values-imputation/factors.py
ydataai/Blog
7994727deb1e1ca35e06c6fe4680482920b95855
[ "MIT" ]
null
null
null
5 - synthetic-data-applications/time-series/missing-values-imputation/factors.py
ydataai/Blog
7994727deb1e1ca35e06c6fe4680482920b95855
[ "MIT" ]
null
null
null
5 - synthetic-data-applications/time-series/missing-values-imputation/factors.py
ydataai/Blog
7994727deb1e1ca35e06c6fe4680482920b95855
[ "MIT" ]
null
null
null
import json def save_json(data, fpath): "Stores data as a JSON in the provided filepath." with open(fpath, 'w') as f: json.dump(data, f)
25.5
53
0.647059
26
153
3.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.24183
153
6
54
25.5
0.844828
0.30719
0
0
0
0
0.311688
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
51083b17ea48767b3e6b1710a87c4d9f3cdc4c59
30,927
py
Python
pysnmp-with-texts/HH3C-DOT11-ACMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/HH3C-DOT11-ACMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/HH3C-DOT11-ACMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HH3C-DOT11-ACMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-DOT11-ACMT-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:26:09 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
145.882075
3,846
0.796877
3,507
30,927
7.026804
0.136584
0.058921
0.103112
0.011525
0.437568
0.301384
0.241935
0.200381
0.162724
0.156069
0
0.098969
0.090439
30,927
211
3,847
146.57346
0.777071
0.010735
0
0
0
0.054187
0.29301
0.016805
0
0
0
0
0
1
0
false
0
0.039409
0
0.039409
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
510b1816aadb08db6d1f61f359595b65bf3dcb84
17,970
py
Python
emka_trans/accounts/tests/tests_view.py
mmamica/ERP-system
121648b1e4f8090d22a72a7bc01e6b08ab00f603
[ "BSD-2-Clause" ]
null
null
null
emka_trans/accounts/tests/tests_view.py
mmamica/ERP-system
121648b1e4f8090d22a72a7bc01e6b08ab00f603
[ "BSD-2-Clause" ]
7
2020-02-11T23:36:31.000Z
2022-03-11T23:37:53.000Z
emka_trans/accounts/tests/tests_view.py
mmamica/ERP-system
121648b1e4f8090d22a72a7bc01e6b08ab00f603
[ "BSD-2-Clause" ]
2
2018-10-31T12:03:19.000Z
2019-02-09T10:53:09.000Z
from selenium.webdriver.common.keys import Keys from selenium import webdriver from django.test import LiveServerTestCase from django.test import TestCase from django.urls import reverse from accounts.models import UserProfileInfo, User from admin_app.models import Magazine, Truck from accounts.forms import UserForm, U...
48.567568
148
0.611018
1,950
17,970
5.408718
0.113846
0.054613
0.08647
0.095572
0.75832
0.717645
0.691476
0.654025
0.646724
0.578269
0
0.037476
0.267947
17,970
369
149
48.699187
0.764272
0.001169
0
0.534722
0
0
0.167047
0.017217
0
0
0
0
0.170139
1
0.125
false
0.104167
0.038194
0
0.201389
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
51156d70f18ce9f6f2d804656e00437bd9a53d5b
293
py
Python
rin/models/message/components/cache.py
an-dyy/Rin
70066f04157a20a08cfe65ce9235ce65d35f8be3
[ "MIT" ]
13
2022-01-15T17:29:17.000Z
2022-02-17T05:43:39.000Z
rin/models/message/components/cache.py
an-dyy/Rin
70066f04157a20a08cfe65ce9235ce65d35f8be3
[ "MIT" ]
3
2022-01-16T18:05:58.000Z
2022-02-18T03:55:50.000Z
rin/models/message/components/cache.py
an-dyy/Rin
70066f04157a20a08cfe65ce9235ce65d35f8be3
[ "MIT" ]
6
2022-01-16T16:45:45.000Z
2022-02-12T18:49:20.000Z
from __future__ import annotations from typing import TYPE_CHECKING from ...cacheable import Cache, Cacheable if TYPE_CHECKING: from .actionrow import Component __all__ = ("ComponentCache",) class ComponentCache(Cacheable): """A components cache.""" cache: Cache[Component]
17.235294
41
0.750853
32
293
6.5625
0.53125
0.114286
0.152381
0
0
0
0
0
0
0
0
0
0.163823
293
16
42
18.3125
0.857143
0.064846
0
0
0
0
0.052239
0
0
0
0
0
0
1
0
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5116f134d5b70a2517b9cb34c36624bb9a056fd7
259
py
Python
food/addforms.py
SandeshGhi/FoodApp
bb934758b172bdc95f42f3e0a26d4d6b4d601a97
[ "Apache-2.0" ]
null
null
null
food/addforms.py
SandeshGhi/FoodApp
bb934758b172bdc95f42f3e0a26d4d6b4d601a97
[ "Apache-2.0" ]
null
null
null
food/addforms.py
SandeshGhi/FoodApp
bb934758b172bdc95f42f3e0a26d4d6b4d601a97
[ "Apache-2.0" ]
4
2021-10-01T04:11:31.000Z
2021-10-01T05:49:12.000Z
from django import forms from django.db import models from django.forms import fields from .models import Item class ItemForm(forms.ModelForm): class Meta: model = Item fields = ['itemName', 'itemDescription', 'itemPrice', 'itemImage']
21.583333
74
0.710425
31
259
5.935484
0.548387
0.163043
0
0
0
0
0
0
0
0
0
0
0.200772
259
11
75
23.545455
0.888889
0
0
0
0
0
0.159533
0
0
0
0
0
0
1
0
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
511962009f8395b0974d07d152debb8280d460e6
393
py
Python
apiApp/models.py
ToneHome/fetchYapi
4d70480e4c27a9b10176ecf2f9d00f3c8126ff1b
[ "MIT" ]
null
null
null
apiApp/models.py
ToneHome/fetchYapi
4d70480e4c27a9b10176ecf2f9d00f3c8126ff1b
[ "MIT" ]
null
null
null
apiApp/models.py
ToneHome/fetchYapi
4d70480e4c27a9b10176ecf2f9d00f3c8126ff1b
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class ProjectCat(models.Model): ProjectId = models.IntegerField() CarId = models.IntegerField() CartName = models.CharField(max_length=225) class ApiName(models.Model): ProjectId = models.IntegerField() CarId = models.IntegerField() Api...
26.2
47
0.73028
44
393
6.477273
0.477273
0.315789
0.140351
0.182456
0.617544
0.42807
0.42807
0.42807
0
0
0
0.018293
0.165394
393
15
48
26.2
0.85061
0.061069
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
511c141cba1190c91adec51bceaea921673a851e
948
bzl
Python
deps/ts_proto_deps.bzl
heartless-clown/rules_proto
99c0d0c7a00c1df7221afc3331b5d859a02c420f
[ "Apache-2.0" ]
249
2018-10-24T21:11:08.000Z
2022-03-31T03:28:34.000Z
deps/ts_proto_deps.bzl
heartless-clown/rules_proto
99c0d0c7a00c1df7221afc3331b5d859a02c420f
[ "Apache-2.0" ]
147
2018-12-05T18:58:13.000Z
2022-03-26T15:41:07.000Z
deps/ts_proto_deps.bzl
heartless-clown/rules_proto
99c0d0c7a00c1df7221afc3331b5d859a02c420f
[ "Apache-2.0" ]
126
2018-11-20T22:34:48.000Z
2022-03-18T13:42:05.000Z
""" GENERATED FILE - DO NOT EDIT (created via @build_stack_rules_proto//cmd/depsgen) """ load("@build_bazel_rules_nodejs//:index.bzl", "npm_install", "yarn_install") def _maybe(repo_rule, name, **kwargs): if name not in native.existing_rules(): repo_rule(name = name, **kwargs) def ts_proto_deps(): np...
29.625
99
0.661392
128
948
4.53125
0.367188
0.072414
0.12931
0.172414
0.303448
0.303448
0.17931
0.17931
0.17931
0.17931
0
0
0.204641
948
31
100
30.580645
0.769231
0.10654
0
0.086957
1
0
0.359189
0.309069
0
0
0
0
0
1
0.173913
false
0
0
0
0.173913
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5a93266e151b71c20d94dc0af62d4dc94cf8cc07
720
py
Python
django/first_project/first_app/models.py
SandraCoburn/python-django
0370d2020b2048a5e821c79611d5cb41ba59243f
[ "MIT" ]
null
null
null
django/first_project/first_app/models.py
SandraCoburn/python-django
0370d2020b2048a5e821c79611d5cb41ba59243f
[ "MIT" ]
null
null
null
django/first_project/first_app/models.py
SandraCoburn/python-django
0370d2020b2048a5e821c79611d5cb41ba59243f
[ "MIT" ]
null
null
null
from django.db import models ''' SuperUser information: User: Sandra Email: sandra.g.coburn@gmail.com Password: testpassword ''' # Create your models here. class Topic(models.Model): top_name = models.CharField(max_length=264, unique=True) def __str__(self) -> str: return self.top_name class Webpage(mo...
24
61
0.726389
97
720
5.206186
0.453608
0.055446
0.059406
0.077228
0.310891
0.273267
0.273267
0.273267
0
0
0
0.009852
0.154167
720
29
62
24.827586
0.819376
0.033333
0
0.1875
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.0625
0.1875
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
5aa3dd6b3b880a8d353aa0f7734bc125bd4dcab9
977
py
Python
stable_nalu/layer/gumbel_nalu.py
wlm2019/Neural-Arithmetic-Units
f9de9d004bb2dc2ee28577cd1760d0a00c185836
[ "MIT" ]
147
2019-10-07T11:01:54.000Z
2021-11-16T02:51:18.000Z
stable_nalu/layer/gumbel_nalu.py
wlm2019/Neural-Arithmetic-Units
f9de9d004bb2dc2ee28577cd1760d0a00c185836
[ "MIT" ]
1
2019-12-03T12:40:21.000Z
2019-12-03T12:40:21.000Z
stable_nalu/layer/gumbel_nalu.py
wlm2019/Neural-Arithmetic-Units
f9de9d004bb2dc2ee28577cd1760d0a00c185836
[ "MIT" ]
19
2019-12-21T15:58:44.000Z
2021-09-03T08:32:38.000Z
from .gumbel_nac import GumbelNACLayer from .gumbel_mnac import GumbelMNACLayer from ._abstract_nalu import AbstractNALULayer from ._abstract_recurrent_cell import AbstractRecurrentCell class GumbelNALULayer(AbstractNALULayer): """Implements the Gumbel NALU (Neural Arithmetic Logic Unit) Arguments: i...
37.576923
94
0.755374
107
977
6.570093
0.373832
0.045519
0.081081
0.065434
0.384068
0.236131
0.236131
0.136558
0
0
0
0
0.172979
977
25
95
39.08
0.87005
0.344933
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5aa402eced1886a2333bbc823ddf1ddda7bd064c
606
py
Python
src/clincoded/upgrade/annotation.py
ClinGen/clincoded
5624c74546ce2a44eda00ee632a8de8c2099da10
[ "MIT" ]
30
2015-09-23T20:38:57.000Z
2021-03-10T03:12:46.000Z
src/clincoded/upgrade/annotation.py
ClinGen/clincoded
5624c74546ce2a44eda00ee632a8de8c2099da10
[ "MIT" ]
2,132
2015-06-08T21:50:35.000Z
2022-02-15T22:44:18.000Z
src/clincoded/upgrade/annotation.py
ClinGen/clincoded
5624c74546ce2a44eda00ee632a8de8c2099da10
[ "MIT" ]
10
2015-09-25T20:11:25.000Z
2020-12-09T02:58:44.000Z
from contentbase.upgrader import upgrade_step @upgrade_step('annotation', '1', '2') def annotation_1_2(value, system): # https://github.com/ClinGen/clincoded/issues/453 value['status'] = 'in progress' @upgrade_step('annotation', '2', '3') def annotation_2_3(value, system): # https://github.com/ClinGen/c...
30.3
57
0.722772
80
606
5.35
0.4375
0.102804
0.147196
0.154206
0.497664
0.497664
0.329439
0.329439
0
0
0
0.044231
0.141914
606
20
58
30.3
0.778846
0.409241
0
0.2
0
0
0.150142
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
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
1
0
0
0
1
0
0
0
2
5ab81f3a0084747b8880d277c0798cecbf24e4d5
313
py
Python
ex2/operations/operations.py
hentt30/lab7-ces22
d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad
[ "MIT" ]
null
null
null
ex2/operations/operations.py
hentt30/lab7-ces22
d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad
[ "MIT" ]
null
null
null
ex2/operations/operations.py
hentt30/lab7-ces22
d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad
[ "MIT" ]
null
null
null
""" Interface for operations that the system can perform """ from abc import ABC, abstractclassmethod,abstractmethod class Operation(ABC): """ Abstract class representing a generic operation """ @abstractmethod def execute(self): """ Execute operation """ pass
20.866667
55
0.642173
30
313
6.7
0.766667
0
0
0
0
0
0
0
0
0
0
0
0.271566
313
15
56
20.866667
0.881579
0.376997
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
5ac08c84cef5b9df546094049e054ad236e0ee7a
4,601
py
Python
webapp/routes.py
LSanten/mixbase_live
4fd98b80cde1348f441e4f5224b42381e04d400e
[ "MIT" ]
null
null
null
webapp/routes.py
LSanten/mixbase_live
4fd98b80cde1348f441e4f5224b42381e04d400e
[ "MIT" ]
3
2020-03-24T17:46:11.000Z
2021-08-23T20:23:16.000Z
webapp/routes.py
LSanten/mixbase_live
4fd98b80cde1348f441e4f5224b42381e04d400e
[ "MIT" ]
null
null
null
from flask import render_template, url_for, flash, redirect from webapp import app, db, bcrypt from webapp.forms import RegistrationForm, LoginForm, PairForm, SingleForm from webapp.models import User, Pair from flask_login import login_user, current_user from sqlalchemy import func, desc import time @app.route('/', ...
56.802469
328
0.713323
632
4,601
5.115506
0.246835
0.038973
0.04949
0.037117
0.39901
0.298484
0.253944
0.236622
0.217445
0.205382
0
0.010516
0.152576
4,601
80
329
57.5125
0.818671
0.201261
0
0.223881
0
0.029851
0.172149
0.036732
0
0
0
0.0125
0
1
0.119403
false
0.059701
0.104478
0.029851
0.432836
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
1
0
0
0
0
0
2
5ac0a7df619712917103d8cfe5b3961b7dbec4cb
481
py
Python
tudo/ex109/teste.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
1
2021-07-08T00:35:57.000Z
2021-07-08T00:35:57.000Z
tudo/ex109/teste.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
null
null
null
tudo/ex109/teste.py
Ramon-Erik/Exercicios-Python
158a7f1846dd3d486aa0517fa337d46d73aab649
[ "MIT" ]
null
null
null
from moeda import * preço = float(input('Informe um valor R$')) resp = str(input('Você deseja apreentar o preço como R$? ')).lower() if resp == 's': resp = True else: resp = False print('=' * 30) print(f'A metade de {moeda(preço)} é {metade(preço, resp)}') print(f'A dobro de {moeda(preço)} é {dobro(preço, re...
30.0625
76
0.654886
77
481
4.090909
0.493506
0.07619
0.152381
0.08254
0
0
0
0
0
0
0
0.024631
0.155925
481
15
77
32.066667
0.751232
0
0
0
0
0
0.602911
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.416667
0
0
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
1
0
2
5ad4fe317ef71b350bc445a9417d48a167ee5ea0
3,922
py
Python
movingpandas/tests/test_geometry_utils.py
DeemanOne/movingpandas
441d48f7aa98c861f1a66dcad486b9332b08e0b8
[ "BSD-3-Clause" ]
null
null
null
movingpandas/tests/test_geometry_utils.py
DeemanOne/movingpandas
441d48f7aa98c861f1a66dcad486b9332b08e0b8
[ "BSD-3-Clause" ]
null
null
null
movingpandas/tests/test_geometry_utils.py
DeemanOne/movingpandas
441d48f7aa98c861f1a66dcad486b9332b08e0b8
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import pytest from math import sqrt from shapely.geometry import MultiPoint, Point from movingpandas.geometry_utils import ( azimuth, calculate_initial_compass_bearing, angular_difference, mrr_diagonal, measure_distance_geodesic, measure_distance_euclidean, measure_d...
33.237288
83
0.663692
513
3,922
4.812866
0.191033
0.079384
0.039692
0.068044
0.426893
0.394897
0.345079
0.338194
0.26934
0.192386
0
0.088284
0.2231
3,922
117
84
33.521368
0.722022
0.026262
0
0.083333
0
0
0
0
0
0
0
0
0.285714
1
0.333333
false
0.130952
0.047619
0
0.392857
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
1
0
0
0
0
0
2
5ad7257362d74a560d40456e36c57f455a0144c3
391
py
Python
fast_tmp/depends/pageing.py
Chise1/fast-tmp2
0dd34ac3ec7ea5452c1e4b8d922a40665264f42b
[ "Apache-2.0" ]
1
2021-07-02T09:14:12.000Z
2021-07-02T09:14:12.000Z
fast_tmp/depends/pageing.py
Chise1/fast-tmp2
0dd34ac3ec7ea5452c1e4b8d922a40665264f42b
[ "Apache-2.0" ]
null
null
null
fast_tmp/depends/pageing.py
Chise1/fast-tmp2
0dd34ac3ec7ea5452c1e4b8d922a40665264f42b
[ "Apache-2.0" ]
null
null
null
# -*- encoding: utf-8 -*- """ @File : pageing.py @Time : 2021/1/18 10:11 @Author : chise @Email : chise123@live.com @Software: PyCharm @info :分页 """ from pydantic.main import BaseModel class PageDepend(BaseModel): # 分页 perPage: int = 10 page: int = 1 def page_depend(perPage: int = 10, page: int...
19.55
64
0.641944
53
391
4.716981
0.660377
0.08
0.096
0.128
0.16
0.16
0
0
0
0
0
0.068182
0.212276
391
19
65
20.578947
0.743506
0.393862
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
5afbcdfdd4f42ab6ed7324796c829f336e8621b4
402
py
Python
app/models.py
stefanbschneider/feelya
842ce4733509fc583e40f0eb90f3dd80d1783a7a
[ "MIT" ]
1
2020-11-24T19:29:31.000Z
2020-11-24T19:29:31.000Z
app/models.py
stefanbschneider/feelya
842ce4733509fc583e40f0eb90f3dd80d1783a7a
[ "MIT" ]
null
null
null
app/models.py
stefanbschneider/feelya
842ce4733509fc583e40f0eb90f3dd80d1783a7a
[ "MIT" ]
1
2022-01-23T15:56:16.000Z
2022-01-23T15:56:16.000Z
import datetime from django.db import models from django.urls import reverse from django.contrib.auth.models import User class Entry(models.Model): name = models.CharField(max_length=100) date = models.DateField('date tracked', default=datetime.date.today) owner = models.ForeignKey(User, on_delete=models...
26.8
84
0.748756
56
402
5.267857
0.642857
0.101695
0
0
0
0
0
0
0
0
0
0.008824
0.154229
402
14
85
28.714286
0.858824
0
0
0
0
0
0.029851
0
0
0
0
0
0
1
0.1
false
0
0.4
0.1
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
851635e67fa9ea38575f6c67e2a4cdde2a5fd16e
4,375
py
Python
data/normalize/normalize.py
18645956947/TripleIE
326e0844ed2cd167a084658bd89703ed94a6e484
[ "MIT" ]
null
null
null
data/normalize/normalize.py
18645956947/TripleIE
326e0844ed2cd167a084658bd89703ed94a6e484
[ "MIT" ]
1
2019-04-02T06:51:07.000Z
2019-04-02T11:14:38.000Z
data/normalize/normalize.py
18645956947/TripleIE
326e0844ed2cd167a084658bd89703ed94a6e484
[ "MIT" ]
1
2019-04-02T02:11:08.000Z
2019-04-02T02:11:08.000Z
import re with open('question.txt', 'r', encoding='utf-8') as f: questions = f.readlines() def select_question(question): global normalize_list # 是否为并列问题, 拆分成多个问题, '和'关键字 m_and_1 = re.search(r'(.*)(和)+(.*)', question) if m_and_1: question_list = deal_and_question(question) return q...
33.396947
83
0.581029
506
4,375
4.913043
0.243083
0.321802
0.425583
0.090507
0.160901
0.148833
0.148833
0.148833
0.148833
0.148833
0
0.004301
0.256
4,375
130
84
33.653846
0.759447
0.018057
0
0.156863
0
0.019608
0.100023
0.031243
0
0
0
0
0
1
0.029412
false
0
0.009804
0
0.078431
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
85181976cf2212dae56bfa06c72c4c5df61bc677
200
py
Python
solutions/official/utils.py
kurazu/pycon_quiz
d7670d1bc29aaa5ef18dfd276b8da72700d1ac3d
[ "MIT" ]
null
null
null
solutions/official/utils.py
kurazu/pycon_quiz
d7670d1bc29aaa5ef18dfd276b8da72700d1ac3d
[ "MIT" ]
null
null
null
solutions/official/utils.py
kurazu/pycon_quiz
d7670d1bc29aaa5ef18dfd276b8da72700d1ac3d
[ "MIT" ]
null
null
null
from functools import wraps def cached(func): cache = {} @wraps(func) def cached_wrapper(*args): if args not in cache: cache[args] = func(*args) return cache[args] return cached_wrapper
15.384615
28
0.7
29
200
4.758621
0.482759
0.130435
0
0
0
0
0
0
0
0
0
0
0.19
200
12
29
16.666667
0.851852
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
852132f29ef3eda6023d4ad3457683e85fa09e60
3,414
py
Python
temp.py
CAES-Python/Coffee_maker_analog
d0f0d3cf3b82a29e59975b5b839f9d8543a059ad
[ "MIT" ]
null
null
null
temp.py
CAES-Python/Coffee_maker_analog
d0f0d3cf3b82a29e59975b5b839f9d8543a059ad
[ "MIT" ]
null
null
null
temp.py
CAES-Python/Coffee_maker_analog
d0f0d3cf3b82a29e59975b5b839f9d8543a059ad
[ "MIT" ]
null
null
null
# -*- coding: cp850 -*- from kivy.app import App from kivy.clock import Clock from kivy.clock import Clock as clock from kivy.config import Config from kivy.gesture import Gesture,GestureDatabase from kivy.graphics.vertex_instructions import (Rectangle, Ellipse) from ki...
23.544828
113
0.753368
494
3,414
5.006073
0.261134
0.071169
0.063081
0.027497
0.317428
0.201375
0.187626
0.165791
0.147998
0.0833
0
0.010981
0.146456
3,414
144
114
23.708333
0.83768
0.140305
0
0.144578
0
0
0.034589
0
0
0
0
0
0
0
null
null
0.036145
0.349398
null
null
0.048193
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
2
852ba8c214d6fadfdb2dfc66dcb69c3b0744074b
1,028
py
Python
hwilib/devices/trezorlib/messages/MessageType.py
tomatoskittles/HWI
ccb55228a80725ff85b96d55874acc688320b30b
[ "MIT" ]
9
2019-04-23T01:10:28.000Z
2022-02-21T02:25:06.000Z
hwilib/devices/trezorlib/messages/MessageType.py
tomatoskittles/HWI
ccb55228a80725ff85b96d55874acc688320b30b
[ "MIT" ]
null
null
null
hwilib/devices/trezorlib/messages/MessageType.py
tomatoskittles/HWI
ccb55228a80725ff85b96d55874acc688320b30b
[ "MIT" ]
1
2020-07-17T18:49:34.000Z
2020-07-17T18:49:34.000Z
# Automatically generated by pb2py # fmt: off Initialize = 0 Ping = 1 Success = 2 Failure = 3 ChangePin = 4 WipeDevice = 5 GetEntropy = 9 Entropy = 10 LoadDevice = 13 ResetDevice = 14 Features = 17 PinMatrixRequest = 18 PinMatrixAck = 19 Cancel = 20 ClearSession = 24 ApplySettings = 25 ButtonRequest = 26 ButtonAck = 27...
17.724138
34
0.775292
116
1,028
6.87069
1
0
0
0
0
0
0
0
0
0
0
0.128655
0.168288
1,028
57
35
18.035088
0.803509
0.039883
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0.072727
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
518f082250bf7df254171306b64050f6ae32ef37
388
py
Python
NewsSentiment/knowledge/knowledgeutils.py
jamie-iai/NewsMTSC
912d2a84b2c81962c06729a31d974bdf95d33dc9
[ "MIT" ]
46
2021-04-09T11:53:40.000Z
2022-03-31T14:41:13.000Z
NewsSentiment/knowledge/knowledgeutils.py
jamie-iai/NewsMTSC
912d2a84b2c81962c06729a31d974bdf95d33dc9
[ "MIT" ]
14
2021-05-25T12:44:52.000Z
2022-01-12T08:51:58.000Z
NewsSentiment/knowledge/knowledgeutils.py
jamie-iai/NewsMTSC
912d2a84b2c81962c06729a31d974bdf95d33dc9
[ "MIT" ]
7
2021-05-23T11:40:27.000Z
2022-03-28T03:13:26.000Z
def find_key_original_or_lc(data: dict, data_keys_lower: dict, key: str): # try to get the key as it is from the dict if key in data.keys(): return data[key] # if not contained, try whether if using case insensitivity we find an entry if key.lower() in data_keys_lower.keys(): return data...
38.8
80
0.677835
66
388
3.833333
0.5
0.126482
0.15415
0
0
0
0
0
0
0
0
0
0.237113
388
9
81
43.111111
0.85473
0.350515
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
519f505a2acdac1a265a10dbcf52641204ea29eb
486
py
Python
__Training__/Python - HackerRank/3. Strings/Text Wrap.py
JUD210/Study-Note
2add9db3f11d99370f49878f0c19e9caa60d2d02
[ "MIT" ]
null
null
null
__Training__/Python - HackerRank/3. Strings/Text Wrap.py
JUD210/Study-Note
2add9db3f11d99370f49878f0c19e9caa60d2d02
[ "MIT" ]
null
null
null
__Training__/Python - HackerRank/3. Strings/Text Wrap.py
JUD210/Study-Note
2add9db3f11d99370f49878f0c19e9caa60d2d02
[ "MIT" ]
null
null
null
# https://www.hackerrank.com/challenges/text-wrap/problem import textwrap def wrap(string, max_width): # return "\n".join(string[i:i+max_width] for i in range(0, len(string), max_width)) return textwrap.fill(string, max_width) if __name__ == "__main__": string, max_width = input(), int(input()) # ...
18.692308
87
0.633745
63
486
4.666667
0.634921
0.163265
0.238095
0.122449
0
0
0
0
0
0
0
0.005376
0.234568
486
25
88
19.44
0.784946
0.409465
0
0
0
0
0.029091
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0.142857
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
1
0
0
0
2
51be430814db5aef3c2a1510f5367724b352fac9
587
py
Python
tests/scrape/test_loaders.py
gudeg-united/mishapp-ds
66549e1ff883258ef6c8094dcb5ea19e95a765fe
[ "BSD-3-Clause" ]
null
null
null
tests/scrape/test_loaders.py
gudeg-united/mishapp-ds
66549e1ff883258ef6c8094dcb5ea19e95a765fe
[ "BSD-3-Clause" ]
1
2015-01-31T03:51:53.000Z
2015-01-31T03:51:53.000Z
tests/scrape/test_loaders.py
gudeg-united/mishapp-ds
66549e1ff883258ef6c8094dcb5ea19e95a765fe
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import pytest @pytest.mark.parametrize("value, format_, expectation", [ ("01-Jan-15 10:00:00 +07:00", "DD-MMM-YY HH:mm:ss Z", "2015-01-01T03:00:00+00:00"), # noqa ...
36.6875
97
0.735945
97
587
4.14433
0.443299
0.079602
0.159204
0.039801
0.343284
0.208955
0.149254
0.149254
0.149254
0.149254
0
0.132813
0.127768
587
15
98
39.133333
0.652344
0.015332
0
0
0
0
0.293913
0.086957
0
0
0
0
0.083333
1
0.083333
false
0
0.5
0
0.583333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
51c0a4f5de78cee2df010d6bc4e3fe8f95a99666
29,499
py
Python
housecanary/apiclient.py
SpainTrain/hc-api-python
2bb9e2208b34e8617575de45934357ee33b8531c
[ "MIT" ]
18
2017-04-12T20:34:37.000Z
2021-09-12T01:21:19.000Z
housecanary/apiclient.py
SpainTrain/hc-api-python
2bb9e2208b34e8617575de45934357ee33b8531c
[ "MIT" ]
13
2016-12-02T01:38:52.000Z
2021-06-07T15:10:51.000Z
housecanary/apiclient.py
SpainTrain/hc-api-python
2bb9e2208b34e8617575de45934357ee33b8531c
[ "MIT" ]
8
2017-07-06T15:36:23.000Z
2021-10-10T17:31:29.000Z
from __future__ import print_function import os from builtins import object from housecanary.output import ResponseOutputGenerator from housecanary.requestclient import RequestClient import housecanary.exceptions import housecanary.constants as constants from requests.auth import HTTPBasicAuth class ApiClient(object)...
39.756065
100
0.64748
3,541
29,499
5.185541
0.085004
0.036488
0.081037
0.083052
0.625259
0.572813
0.522982
0.430236
0.375286
0.277148
0
0.013641
0.261907
29,499
741
101
39.809717
0.829697
0.394759
0
0.189964
0
0.003584
0.147924
0.060745
0
0
0
0
0
1
0.265233
false
0
0.028674
0
0.605735
0.017921
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
51e75ed211be3ebb606b3e0d4eccdaac10f9e48b
3,000
py
Python
macro/render/page/search.py
cloudmattcloud/Macro-Explain-o-Matic
d17e53ff6a81830333d7a7672d71ad1c65cab573
[ "Apache-2.0" ]
2
2021-09-03T14:06:01.000Z
2021-09-23T07:17:30.000Z
macro/render/page/search.py
cloudmattcloud/Macro-Explain-o-Matic
d17e53ff6a81830333d7a7672d71ad1c65cab573
[ "Apache-2.0" ]
1
2021-05-23T12:19:45.000Z
2021-05-23T12:19:45.000Z
macro/render/page/search.py
cloudmattcloud/Macro-Explain-o-Matic
d17e53ff6a81830333d7a7672d71ad1c65cab573
[ "Apache-2.0" ]
6
2015-09-15T21:59:03.000Z
2022-03-21T14:51:25.000Z
''' Collection of shared tools for appengine page rendering. ''' # My modules from macro.render.defs import * from macro.render.util import render_template from macro.data.appengine.savedmacro import SavedMacroOps # Generate a search results page. def generate_search_page(path, terms, p...
42.253521
106
0.4
259
3,000
4.474903
0.378378
0.05522
0.041415
0.041415
0.132873
0.048318
0
0
0
0
0
0.003584
0.535
3,000
70
107
42.857143
0.82724
0.172667
0
0.05
0
0
0.066639
0
0
0
0
0.014286
0
1
0.025
false
0
0.075
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
51f2c249ffd5004f20ba6ffdcff0d6cdd14b6965
274
py
Python
deps_report/models/runtime_informations.py
MeilleursAgents/deps-report
97d0519790fc3e6b65d64065aa19c02ea6726cf5
[ "MIT" ]
null
null
null
deps_report/models/runtime_informations.py
MeilleursAgents/deps-report
97d0519790fc3e6b65d64065aa19c02ea6726cf5
[ "MIT" ]
2
2021-10-15T15:39:18.000Z
2022-01-20T08:39:44.000Z
deps_report/models/runtime_informations.py
MeilleursAgents/deps-report
97d0519790fc3e6b65d64065aa19c02ea6726cf5
[ "MIT" ]
null
null
null
from dataclasses import dataclass from datetime import date @dataclass class RuntimeInformations: name: str current_version: str latest_version: str current_version_is_outdated: bool current_version_eol_date: date current_version_is_eol_soon: bool
21.076923
37
0.791971
35
274
5.857143
0.514286
0.273171
0.165854
0
0
0
0
0
0
0
0
0
0.178832
274
12
38
22.833333
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.9
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
1
0
0
0
0
0
0
2
51fc4021ea9108510c25a8c199624a66ae73bc8e
1,044
py
Python
src/konfetti/exceptions.py
samarcan/konfetti
77bd06ae0971e854a0241b5b097d004d3c81e3de
[ "MIT" ]
23
2019-07-01T09:31:46.000Z
2021-07-19T11:38:47.000Z
src/konfetti/exceptions.py
samarcan/konfetti
77bd06ae0971e854a0241b5b097d004d3c81e3de
[ "MIT" ]
33
2019-06-30T17:08:16.000Z
2022-02-10T12:23:57.000Z
src/konfetti/exceptions.py
kiwicom/kwonfig
f80d175301e0a2ad3178e6ded60a6a3d8525d9d9
[ "MIT" ]
2
2019-07-23T13:02:19.000Z
2020-01-09T16:20:30.000Z
class KonfettiError(Exception): """Common error for all errors in `konfetti`.""" class MissingError(AttributeError, KonfettiError): """Config option is missing in the given settings module.""" # Should be inherited from AttributeError because tools like Celery rely # on this behavior class Settings...
30.705882
98
0.751916
122
1,044
6.434426
0.622951
0.019108
0.081529
0
0
0
0
0
0
0
0
0
0.159962
1,044
33
99
31.636364
0.895097
0.569923
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
51fee3e2c74163e2c22a7d645d2cfe06c6fd63e7
399
py
Python
ch02/question_3.py
dhrey112/IntroToPython_Deitel
7ecbff931d05c467ad64da0bd829f79fedf729ba
[ "MIT" ]
null
null
null
ch02/question_3.py
dhrey112/IntroToPython_Deitel
7ecbff931d05c467ad64da0bd829f79fedf729ba
[ "MIT" ]
null
null
null
ch02/question_3.py
dhrey112/IntroToPython_Deitel
7ecbff931d05c467ad64da0bd829f79fedf729ba
[ "MIT" ]
null
null
null
"""3. 2.3 (Fill in the missing code) Replace *** in the following code with a statement that will print a message like 'Congratulations! Your grade of 91 earns you an A in this course'. Your statement should print the value stored in the variable grade:""" grade = int(input('Enter your grade: ')) if grade >= 90: ...
44.333333
83
0.724311
67
399
4.313433
0.537313
0.051903
0.16609
0.179931
0.15917
0.15917
0.15917
0
0
0
0
0.021407
0.180451
399
9
83
44.333333
0.862385
0.626566
0
0
0
0
0.534722
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cf940ba1da4e58a06ad2a6cfe84b3eecfa8988a1
393
py
Python
python_developer_tools/python/obj_utils.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
32
2021-06-21T04:49:48.000Z
2022-03-29T05:46:59.000Z
python_developer_tools/python/obj_utils.py
HonestyBrave/python_developer_tools
fc0dcf5c4ef088e2e535206dc82f09bbfd01f280
[ "Apache-2.0" ]
1
2021-11-12T03:45:55.000Z
2021-11-12T03:45:55.000Z
python_developer_tools/python/obj_utils.py
HonestyBrave/python_developer_tools
fc0dcf5c4ef088e2e535206dc82f09bbfd01f280
[ "Apache-2.0" ]
10
2021-06-03T08:05:05.000Z
2021-12-13T03:10:42.000Z
# !/usr/bin/env python # -- coding: utf-8 -- # @Author zengxiaohui # Datatime:4/29/2021 8:38 PM # @File:obj_utils from python_developer_tools.python.string_utils import str_is_null def obj_is_null(obj): """判断对象是否为空""" if obj is None: return True if isinstance(obj, list) and len(obj) == 0: ...
23.117647
66
0.659033
61
393
4.081967
0.606557
0.072289
0.072289
0.176707
0.200803
0
0
0
0
0
0
0.039088
0.21883
393
16
67
24.5625
0.771987
0.287532
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
cfab25148f073fae83b538feabbc088bad0fc440
239
py
Python
res/py/3/Context/http/scrape/_DEFAULT.py
ytyaru0/Python.TemplateFileMaker.20180314204216
4849f982acea5d86b711c5dec4cc046016ab1031
[ "CC0-1.0" ]
null
null
null
res/py/3/Context/http/scrape/_DEFAULT.py
ytyaru0/Python.TemplateFileMaker.20180314204216
4849f982acea5d86b711c5dec4cc046016ab1031
[ "CC0-1.0" ]
2
2018-08-11T09:17:45.000Z
2018-12-17T03:05:03.000Z
src/db/template/_command/do/py/3/Context/http/scrape/_DEFAULT.py
ytyaru0/RaspberryPi.Home.Root.20180318143826
1515ee6bd40eeb42c7426136743644b2ea968788
[ "CC0-1.0" ]
null
null
null
import urllib.request from bs4 import BeautifulSoup url = 'https://www.google.co.jp' with urllib.request.urlopen(url) as res: soup = BeautifulSoup(res.read(), 'html.parser') print(soup.select('title')[0].text) # `<title>*</title>`
34.142857
60
0.698745
34
239
4.911765
0.735294
0.155689
0
0
0
0
0
0
0
0
0
0.009479
0.117155
239
6
61
39.833333
0.781991
0.075314
0
0
0
0
0.182648
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
cfb6c2d44e87f82b0dcfd7dcbb5cffa1bf61579e
839
py
Python
thermosteam/utils/decorators/thermo_user.py
yoelcortes/thermotree
7d7c045ed7324ff7fd69188f3176207be08d7070
[ "MIT" ]
2
2020-01-10T14:23:08.000Z
2020-02-21T20:36:49.000Z
thermosteam/utils/decorators/thermo_user.py
yoelcortes/thermotree
7d7c045ed7324ff7fd69188f3176207be08d7070
[ "MIT" ]
3
2019-12-09T08:10:41.000Z
2019-12-09T08:40:52.000Z
thermosteam/utils/decorators/thermo_user.py
yoelcortes/thermotree
7d7c045ed7324ff7fd69188f3176207be08d7070
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020-2021, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details...
25.424242
75
0.733015
109
839
5.477064
0.513761
0.083752
0.070352
0.100503
0
0
0
0
0
0
0
0.012821
0.16329
839
33
76
25.424242
0.837607
0.365912
0
0.15
0
0
0.021236
0
0
0
0
0
0
1
0.25
false
0
0.05
0.15
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
cfce31b8841b6aa45156739c4f02237933c41105
653
py
Python
dekit/run_once.py
algobot76/dekit
37a25a570bc029e5d1f74953350deb387a8aaf25
[ "MIT" ]
null
null
null
dekit/run_once.py
algobot76/dekit
37a25a570bc029e5d1f74953350deb387a8aaf25
[ "MIT" ]
null
null
null
dekit/run_once.py
algobot76/dekit
37a25a570bc029e5d1f74953350deb387a8aaf25
[ "MIT" ]
null
null
null
import functools def run_once(func): """ The decorated function will only run once. Other calls to it will return None. The original implementation can be found on StackOverflow(https://stackoverflow.com/questions/4103773/efficient-way-of-having-a-function-only-execute-once-in-a-loop) :param func: the fu...
32.65
182
0.699847
92
653
4.869565
0.521739
0.122768
0.09375
0.113839
0
0
0
0
0
0
0
0.013566
0.209801
653
19
183
34.368421
0.854651
0.520674
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
cfd12cfac670298b5b079686279f19f12215b44e
331
py
Python
scripts/hackathon/create_all_sts.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
25
2018-03-03T11:57:57.000Z
2022-01-16T21:19:54.000Z
scripts/hackathon/create_all_sts.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
385
2018-02-21T16:52:06.000Z
2022-02-17T07:44:56.000Z
scripts/hackathon/create_all_sts.py
mikiec84/delphi
2e517f21e76e334c7dfb14325d25879ddf26d10d
[ "Apache-2.0" ]
19
2018-03-20T01:08:11.000Z
2021-09-29T01:04:49.000Z
""" Get all preassembled statements, prune away unneeded information, pickle them. """ import sys import pickle from delphi.utils.indra import get_statements_from_json_file if __name__ == "__main__": all_sts = get_statements_from_json_file(sys.argv[1]) with open(sys.argv[2], "wb") as f: pickle.dump(a...
25.461538
76
0.734139
50
331
4.5
0.62
0.115556
0.151111
0.186667
0.222222
0
0
0
0
0
0
0.007194
0.160121
331
12
77
27.583333
0.802158
0.23565
0
0
0
0
0.040816
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
cfd47951b954d9313cfafc82e6080b6fd28f970f
427
py
Python
pixelpal/callbacks/model_checkpoint.py
mparusinski/pixelpal
70db54b9c413cb54daf8f4975c9011557d638e97
[ "BSD-2-Clause" ]
1
2020-05-02T14:14:24.000Z
2020-05-02T14:14:24.000Z
pixelpal/callbacks/model_checkpoint.py
mparusinski/pixelpal
70db54b9c413cb54daf8f4975c9011557d638e97
[ "BSD-2-Clause" ]
null
null
null
pixelpal/callbacks/model_checkpoint.py
mparusinski/pixelpal
70db54b9c413cb54daf8f4975c9011557d638e97
[ "BSD-2-Clause" ]
null
null
null
from tensorflow.keras.callbacks import ModelCheckpoint import os def produce_callback(): checkpoint_filepath = "./run/weights-improvement-{epoch:02d}-{val_psnr_metric:.2f}-{val_ssim_metric:.2f}.hdf5" os.makedirs(os.path.dirname(checkpoint_filepath), exist_ok=True) model_checkpoint = ModelCheckpoint(checkp...
42.7
123
0.786885
56
427
5.75
0.714286
0.167702
0
0
0
0
0
0
0
0
0
0.015504
0.093677
427
9
124
47.444444
0.816537
0
0
0
0
0
0.227166
0.201405
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
cff7fd989b3b05a665bdc7a1ac0ef3ac8f838fe5
875
py
Python
insights/combiners/multinode.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
1
2020-02-19T06:36:22.000Z
2020-02-19T06:36:22.000Z
insights/combiners/multinode.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
10
2018-04-16T15:38:04.000Z
2018-05-15T18:43:02.000Z
insights/combiners/multinode.py
lhuett/insights-core
1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8
[ "Apache-2.0" ]
null
null
null
from insights import combiner from insights.combiners.hostname import hostname from insights.core.context import create_product from insights.parsers.metadata import MetadataJson from insights.specs import Specs @combiner(MetadataJson, [hostname, Specs.machine_id]) def multinode_product(md, hn, machine_id): hn = ...
24.305556
58
0.740571
114
875
5.596491
0.298246
0.094044
0.15047
0.169279
0.376176
0.376176
0
0
0
0
0
0.001374
0.168
875
35
59
25
0.875
0
0
0.32
0
0
0.019429
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
320164ba0cd393e9f2e3e44f3b2c24ff047bad49
144
py
Python
Desafios/Desafio 049.py
tiagosm1/Pyhton_CEV
67bae36169922fe2168505393cc47b1bab50c39b
[ "MIT" ]
null
null
null
Desafios/Desafio 049.py
tiagosm1/Pyhton_CEV
67bae36169922fe2168505393cc47b1bab50c39b
[ "MIT" ]
null
null
null
Desafios/Desafio 049.py
tiagosm1/Pyhton_CEV
67bae36169922fe2168505393cc47b1bab50c39b
[ "MIT" ]
null
null
null
num = int(input('Escolha um número para saber sua tabuada:')) tab = 0 for c in range(1, 11): print('{} x {:2} = {:2}'.format(num, c, num*c))
36
61
0.590278
27
144
3.148148
0.814815
0.094118
0
0
0
0
0
0
0
0
0
0.051282
0.1875
144
4
62
36
0.675214
0
0
0
0
0
0.393103
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
320d808f2f8fb6f4fe661f8153bbe76e08918a12
917
py
Python
setpasswd/src/__init__.py
Haehnchen/enigma2-plugins
23007eb0b78665cd3a2faf98d1d6145b4f0ada3f
[ "OLDAP-2.3" ]
1
2020-01-27T22:53:56.000Z
2020-01-27T22:53:56.000Z
setpasswd/src/__init__.py
Haehnchen/enigma2-plugins
23007eb0b78665cd3a2faf98d1d6145b4f0ada3f
[ "OLDAP-2.3" ]
null
null
null
setpasswd/src/__init__.py
Haehnchen/enigma2-plugins
23007eb0b78665cd3a2faf98d1d6145b4f0ada3f
[ "OLDAP-2.3" ]
null
null
null
# -*- coding: ISO-8859-1 -*- from Components.Language import language from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_LANGUAGE import os,gettext PluginLanguageDomain = "SetPasswd" PluginLanguagePath = "SystemPlugins/SetPasswd/locale" def localeInit(): lang = language.getLanguage()[:2] # ge...
36.68
113
0.706652
101
917
6.336634
0.534653
0.04375
0.084375
0
0
0
0
0
0
0
0
0.008119
0.194111
917
24
114
38.208333
0.857916
0.17012
0
0
0
0
0.161376
0.039683
0
0
0
0
0
0
null
null
0.222222
0.166667
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
5c59931e8101019f62886ed46e5dbb59d44d2984
597
py
Python
lib/logic/persistence_handler.py
SBC2000/excel-scripts
4b2fff52941670bc66e130742c1b131261c3c579
[ "Apache-2.0" ]
null
null
null
lib/logic/persistence_handler.py
SBC2000/excel-scripts
4b2fff52941670bc66e130742c1b131261c3c579
[ "Apache-2.0" ]
null
null
null
lib/logic/persistence_handler.py
SBC2000/excel-scripts
4b2fff52941670bc66e130742c1b131261c3c579
[ "Apache-2.0" ]
1
2021-01-12T22:01:02.000Z
2021-01-12T22:01:02.000Z
import os import pickle from lib.model.model import Model class PersistenceHandler: def __init__(self, folder): self.__model_file_name = os.path.join("model.bin") def store_model(self, model): """ @type model: Model @return: None """ with open(s...
23.88
64
0.576214
71
597
4.535211
0.43662
0.111801
0.121118
0.158385
0.15528
0.15528
0
0
0
0
0
0
0.319933
597
24
65
24.875
0.793103
0.077052
0
0
0
0
0.027542
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5c6d6954f46e5dfaae04b0d6ce40fb79be398d53
801
py
Python
django/prof_education/students/migrations/0003_auto_20210418_0504.py
sergeymirasov/h-edu
6e4557af7b55f73028149e48cec06ac0974e2253
[ "MIT" ]
null
null
null
django/prof_education/students/migrations/0003_auto_20210418_0504.py
sergeymirasov/h-edu
6e4557af7b55f73028149e48cec06ac0974e2253
[ "MIT" ]
null
null
null
django/prof_education/students/migrations/0003_auto_20210418_0504.py
sergeymirasov/h-edu
6e4557af7b55f73028149e48cec06ac0974e2253
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-18 02:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('students', '0002_auto_20210418_0405'), ] operations = [ migrations.AlterField( model_name='student', name='admitted_at...
27.62069
90
0.594257
81
801
5.728395
0.518519
0.12931
0.161638
0.1875
0.491379
0.491379
0.232759
0.232759
0.232759
0.232759
0
0.052724
0.289638
801
28
91
28.607143
0.762742
0.053683
0
0.409091
1
0
0.165344
0.030423
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5c6ef009055b212f7f653fda9f9a1b3685c18bde
3,301
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/TessellatedBuildIssueType.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/TessellatedBuildIssueType.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/TessellatedBuildIssueType.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class TessellatedBuildIssueType(Enum, IComparable, IFormattable, IConvertible): """ Issues,which can be encountered while building a polymesh, or a shell,or a solid from data,describing tessellated shapes. enum TessellatedBuildIssueType,values: AllFine (0),DegenOriginalLoop (18),EdgeTraver...
40.256098
989
0.720085
265
3,301
8.611321
0.449057
0.035057
0.03681
0.039439
0.056529
0.056529
0.056529
0.049518
0.049518
0.049518
0
0.021796
0.193881
3,301
81
990
40.753086
0.835776
0.438655
0
0.178571
0
0
0
0
0
0
0
0
0
1
0.178571
false
0.178571
0
0
0.821429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
5c709116af363a2932fce471601bf5bbf1573414
1,368
py
Python
src/models.py
akkapakasaikiran/fooling-NNs
d14281b829108f41ca295a41c31f2313c1b37f74
[ "MIT" ]
null
null
null
src/models.py
akkapakasaikiran/fooling-NNs
d14281b829108f41ca295a41c31f2313c1b37f74
[ "MIT" ]
null
null
null
src/models.py
akkapakasaikiran/fooling-NNs
d14281b829108f41ca295a41c31f2313c1b37f74
[ "MIT" ]
null
null
null
from torch import nn class NeuralNetwork(nn.Module): def __init__(self, h1, h2, num_classes=10, name='NN'): super().__init__() self.name = name self.flatten = nn.Flatten() self.linear_relu_stack = nn.Sequential( nn.Linear(28*28, h1), nn.ReLU(), nn.Linear(h1, h2), nn.ReLU(), nn.Linear(h2, 10)...
22.42623
78
0.650585
226
1,368
3.783186
0.238938
0.014035
0.042105
0.035088
0.559064
0.559064
0.411696
0.367251
0.367251
0.367251
0
0.042228
0.186404
1,368
60
79
22.8
0.725966
0
0
0.5
0
0
0.021199
0
0
0
0
0
0
1
0.208333
false
0
0.020833
0.125
0.354167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
5c77004d220b34c8285b551d4704cd10bc121018
798
py
Python
jobs.py
honmaple/flask-apscheduler
9122f7af04cacf9c461688c0a67fb9bf6379e13d
[ "BSD-3-Clause" ]
1
2017-03-05T22:54:01.000Z
2017-03-05T22:54:01.000Z
jobs.py
honmaple/scheduler
9122f7af04cacf9c461688c0a67fb9bf6379e13d
[ "BSD-3-Clause" ]
1
2017-04-11T06:51:48.000Z
2017-05-06T14:14:28.000Z
jobs.py
honmaple/scheduler
9122f7af04cacf9c461688c0a67fb9bf6379e13d
[ "BSD-3-Clause" ]
1
2017-04-11T06:46:12.000Z
2017-04-11T06:46:12.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ************************************************************************** # Copyright © 2017 jianglin # File Name: jobs.py # Author: jianglin # Email: mail@honmaple.com # Created: 2017-02-02 14:28:16 (CST) # Last Update: Sunday 2018-09-30 17:50:05 (CST) # By: # ...
19.463415
76
0.47619
84
798
4.488095
0.72619
0.127321
0
0
0
0
0
0
0
0
0
0.057364
0.191729
798
40
77
19.95
0.525581
0.551378
0
0
0
0
0.145695
0
0
0
0
0
0
1
0.363636
false
0
0.090909
0
0.454545
0.454545
0
0
0
null
0
0
0
0
0
0
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
1
0
2
5c7acf00d4b56f7d990ed6160e824fbd92f1a51e
2,202
py
Python
src/camera/test_run.py
jphacks/TK_1804
b71e5ee95ea60476758979845f3ebfd5a4355d41
[ "MIT" ]
1
2018-11-19T14:46:38.000Z
2018-11-19T14:46:38.000Z
src/camera/test_run.py
jphacks/TK_1804
b71e5ee95ea60476758979845f3ebfd5a4355d41
[ "MIT" ]
11
2018-10-27T09:31:41.000Z
2018-11-13T07:05:11.000Z
src/camera/test_run.py
jphacks/TK_1804
b71e5ee95ea60476758979845f3ebfd5a4355d41
[ "MIT" ]
1
2021-08-10T04:41:55.000Z
2021-08-10T04:41:55.000Z
import numpy as np from head_vector import HeadVector from select_speakers import SelectSpeakers if __name__ == '__main__': face_landmark_path = './src/camera/shape_predictor_68_face_landmarks.dat' K = [6.523417721418979909e+02, 0.0, 3.240992613348381610e+02, 0.0, 6.314784883620466189e+02, 2.369864861...
44.04
136
0.470027
276
2,202
3.648551
0.322464
0.0715
0.114201
0.137041
0.321748
0.321748
0.114201
0.0715
0.0715
0.0715
0
0.434845
0.36921
2,202
49
137
44.938776
0.290137
0
0
0
0
0
0.02634
0.022707
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5c8cfd07bf06a0280e134ff2d237573ccf99038a
229
py
Python
Curso de Cisco/Actividades/Ejemplos de tuplas.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/Ejemplos de tuplas.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/Ejemplos de tuplas.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
# Ejemplo 1 t1 = (1, 2, 3) for elem in t1: print(elem) # Ejemplo 2 t2 = (1, 2, 3, 4) print(5 in t2) print(5 not in t2) # Ejemplo 3 t3 = (1, 2, 3, 5) print(len(t3)) # Ejemplo 4 t4 = t1 + t2 t5 = t3 * 2 print(t4) print(t5)
11.45
18
0.554585
51
229
2.509804
0.352941
0.046875
0.070313
0
0
0
0
0
0
0
0
0.190476
0.266376
229
20
19
11.45
0.565476
0.170306
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
5c8dd36488779bcc54fa7be52923f50a16392a2f
152
py
Python
Week6/pandas-intro.py
aliahari/python-lecture
8a69a138852a0f5939905e40357c99d6c9c5652d
[ "Apache-2.0" ]
1
2020-08-08T12:24:46.000Z
2020-08-08T12:24:46.000Z
Week6/pandas-intro.py
aliahari/python-lecture
8a69a138852a0f5939905e40357c99d6c9c5652d
[ "Apache-2.0" ]
null
null
null
Week6/pandas-intro.py
aliahari/python-lecture
8a69a138852a0f5939905e40357c99d6c9c5652d
[ "Apache-2.0" ]
null
null
null
import pandas as pd data = pd.read_csv('grades.csv') data["Total"]= (0.25*data["Final"]+0.75*data["MidTerm"]) print(data) data.to_csv("new-grades.csv")
25.333333
56
0.690789
28
152
3.678571
0.607143
0.174757
0
0
0
0
0
0
0
0
0
0.042553
0.072368
152
5
57
30.4
0.687943
0
0
0
0
0
0.269737
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5c99e94e663a9a685124e2ad527f1ba5cc877e45
942
py
Python
external_push/admin.py
fossabot/fermentrack
3070bc14791b1482ec661607005ebda961ca3a8f
[ "MIT" ]
114
2017-03-19T22:51:45.000Z
2022-01-18T06:00:23.000Z
external_push/admin.py
fossabot/fermentrack
3070bc14791b1482ec661607005ebda961ca3a8f
[ "MIT" ]
392
2017-03-12T17:09:16.000Z
2022-03-31T22:08:45.000Z
external_push/admin.py
fossabot/fermentrack
3070bc14791b1482ec661607005ebda961ca3a8f
[ "MIT" ]
67
2017-03-19T18:11:54.000Z
2022-01-31T12:12:17.000Z
from django.contrib import admin from external_push.models import GenericPushTarget, BrewersFriendPushTarget, BrewfatherPushTarget, ThingSpeakPushTarget, GrainfatherPushTarget @admin.register(GenericPushTarget) class GenericPushTargetAdmin(admin.ModelAdmin): list_display = ('name', 'status', 'target_host') @adm...
37.68
142
0.814225
87
942
8.597701
0.356322
0.086898
0.127005
0.173797
0.387701
0.387701
0.291444
0.291444
0.291444
0.291444
0
0
0.081741
942
24
143
39.25
0.86474
0
0
0.176471
0
0
0.166667
0.070064
0
0
0
0
0
1
0
false
0
0.117647
0
0.705882
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2