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
7bae82bc72b01194d974e2c28f568155f7db4987
21,186
py
Python
pysnmp/LANPLEX-OPT-FDDI-MIB-1-2-2.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/LANPLEX-OPT-FDDI-MIB-1-2-2.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/LANPLEX-OPT-FDDI-MIB-1-2-2.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 LANPLEX-OPT-FDDI-MIB-1-2-2 (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LANPLEX-OPT-FDDI-MIB-1-2-2 # Produced by pysmi-0.3.4 at Mon Apr 29 19:55:14 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version ...
159.293233
2,744
0.767299
2,269
21,186
7.162627
0.103129
0.008984
0.012183
0.016244
0.498339
0.451944
0.417056
0.399951
0.359894
0.353126
0
0.074089
0.074955
21,186
132
2,745
160.5
0.755179
0.016332
0
0
0
0
0.223561
0.079113
0
0
0
0
0
1
0
false
0
0.064
0
0.064
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
7bba093c74d72506d336655febc27221a5fefadd
1,652
py
Python
application/urls.py
openspending/cosmopolitan
f9cdfcee5138fb7157f511db18f631008a273fa5
[ "MIT" ]
4
2015-11-25T14:21:22.000Z
2017-04-07T08:05:58.000Z
application/urls.py
openspending/cosmopolitan
f9cdfcee5138fb7157f511db18f631008a273fa5
[ "MIT" ]
21
2015-11-29T16:23:52.000Z
2017-06-06T10:24:49.000Z
application/urls.py
openspending/cosmopolitan
f9cdfcee5138fb7157f511db18f631008a273fa5
[ "MIT" ]
4
2016-01-21T19:06:03.000Z
2021-05-07T16:12:57.000Z
from django.conf.urls import include from django.conf.urls import url from django.contrib.staticfiles.urls import staticfiles_urlpatterns from rest_framework import routers from cosmopolitan.viewsets import ContinentViewSet from cosmopolitan.viewsets import CountryViewSet from cosmopolitan.viewsets import RegionViewS...
40.292683
77
0.815375
181
1,652
7.375691
0.325967
0.11985
0.179775
0.224719
0.035955
0
0
0
0
0
0
0.000669
0.095642
1,652
40
78
41.3
0.892905
0.042373
0
0
0
0
0.115823
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.4375
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
7bc197261aa9f2a039ad52ef34655a45acade53e
199
py
Python
digits/inference/__init__.py
ojmakhura/DIGITS
f34e62c245054b51ea51fcb8949d2ca777f162d1
[ "BSD-3-Clause" ]
null
null
null
digits/inference/__init__.py
ojmakhura/DIGITS
f34e62c245054b51ea51fcb8949d2ca777f162d1
[ "BSD-3-Clause" ]
null
null
null
digits/inference/__init__.py
ojmakhura/DIGITS
f34e62c245054b51ea51fcb8949d2ca777f162d1
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. from .images import ImageInferenceJob from .job import InferenceJob __all__ = [ 'InferenceJob', 'ImageInferenceJob', ]
18.090909
68
0.733668
20
199
7.1
0.75
0
0
0
0
0
0
0
0
0
0
0.04878
0.175879
199
10
69
19.9
0.817073
0.331658
0
0
0
0
0.221374
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
c87c5293cbe66b911bbde612277e23469319fd58
7,299
py
Python
filtering_posts/models.py
Unkorunk/filtering-posts
3182e8541290365dc9a97c7875925f8c8d08ee81
[ "MIT" ]
null
null
null
filtering_posts/models.py
Unkorunk/filtering-posts
3182e8541290365dc9a97c7875925f8c8d08ee81
[ "MIT" ]
null
null
null
filtering_posts/models.py
Unkorunk/filtering-posts
3182e8541290365dc9a97c7875925f8c8d08ee81
[ "MIT" ]
null
null
null
from django.db import models import datetime class Region(models.Model): name = models.CharField(max_length=200) class University(models.Model): address = models.CharField(max_length=255) affilation_name = models.CharField(max_length=255) author_count = models.IntegerField(default=0) city = mode...
42.684211
97
0.756542
937
7,299
5.701174
0.155816
0.19094
0.229128
0.305504
0.745601
0.603332
0.356234
0.259641
0.228566
0.210221
0
0.039343
0.132895
7,299
170
98
42.935294
0.804708
0.007398
0
0.176471
0
0
0.002761
0
0
0
0
0
0
1
0
false
0
0.014706
0
0.992647
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c87f1975b0c6e64129c5a3412255e6d7f228699f
418
py
Python
zvt/domain/quotes/coin/coin_tick_kdata.py
manstiilin/zvt
5a37c19f4837c0250b04d9f41ead910f42b72ce4
[ "MIT" ]
1
2019-12-09T12:13:09.000Z
2019-12-09T12:13:09.000Z
zvt/domain/quotes/coin/coin_tick_kdata.py
manstiilin/zvt
5a37c19f4837c0250b04d9f41ead910f42b72ce4
[ "MIT" ]
2
2019-12-05T00:46:06.000Z
2019-12-15T12:22:07.000Z
zvt/domain/quotes/coin/coin_tick_kdata.py
manstiilin/zvt
5a37c19f4837c0250b04d9f41ead910f42b72ce4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from sqlalchemy.ext.declarative import declarative_base # 数字货币tick from zvdata.contract import register_schema from zvt.domain.quotes.coin import CoinTickCommon CoinTickKdataBase = declarative_base() class CoinTickKdata(CoinTickKdataBase, CoinTickCommon): __tablename__ = 'coin_tick_kdata...
26.125
93
0.808612
47
418
6.893617
0.617021
0.092593
0.080247
0
0
0
0
0
0
0
0
0.002653
0.098086
418
15
94
27.866667
0.856764
0.07177
0
0
0
0
0.088312
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c8906d8561cd8c9918ea995c80cc6befce7df3c4
3,801
py
Python
iseq/gencode.py
EBI-Metagenomics/iseq
3c28fc92e5af05c91c6669d7f1a28d1ce857f3f1
[ "MIT" ]
null
null
null
iseq/gencode.py
EBI-Metagenomics/iseq
3c28fc92e5af05c91c6669d7f1a28d1ce857f3f1
[ "MIT" ]
1
2021-07-02T10:24:19.000Z
2021-07-02T10:24:19.000Z
deciphon/gencode.py
EBI-Metagenomics/deciphon-py
81df946c4f2f53c55ac96fc78ed2f95958b291d8
[ "MIT" ]
null
null
null
# NCBI genetic code table version 4.6 from dataclasses import dataclass from typing import Dict, List, Optional, Tuple __all__ = ["GeneticCode"] genetic_codes: List[Tuple[str, str, int]] = [] names: Dict[str, int] = {} alt_names: Dict[str, int] = {} ids: Dict[int, int] = {} @dataclass class GeneticCode: name: s...
17.597222
86
0.636938
425
3,801
5.418824
0.305882
0.138515
0.188884
0.279635
0.142857
0.100304
0.071646
0.05254
0.05254
0.036474
0
0.020782
0.253091
3,801
215
87
17.67907
0.790419
0.009208
0
0.274286
0
0
0.249734
0
0
0
0
0
0.005714
1
0.011429
false
0
0.011429
0
0.057143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c89a3bdc5ddf916f75dde9c62c444cfcdbb94ce2
216
py
Python
gem/constants.py
praekeltfoundation/Molo-Merge-CMS-Scratchpad
cad49b4fa57028e473af134851b95112a885b8b2
[ "BSD-2-Clause" ]
1
2017-08-03T22:35:36.000Z
2017-08-03T22:35:36.000Z
gem/constants.py
praekeltfoundation/Molo-Merge-CMS-Scratchpad
cad49b4fa57028e473af134851b95112a885b8b2
[ "BSD-2-Clause" ]
3
2017-02-27T09:08:37.000Z
2017-02-28T14:55:39.000Z
gem/constants.py
praekeltfoundation/Molo-Merge-CMS-Scratchpad
cad49b4fa57028e473af134851b95112a885b8b2
[ "BSD-2-Clause" ]
1
2018-03-28T02:07:34.000Z
2018-03-28T02:07:34.000Z
from django.utils.translation import ugettext_lazy as _ MALE = "m" FEMALE = "f" UNSPECIFIED = "-" GENDERS = {(MALE, _("male")), (FEMALE, _("female")), (UNSPECIFIED, _("don't want to answer"))}
24
55
0.592593
24
216
5.125
0.791667
0
0
0
0
0
0
0
0
0
0
0
0.226852
216
8
56
27
0.736527
0
0
0
0
0
0.152778
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
c8bb26fd0e0ed19c6948df0c0b0c977a8f2b9f63
314
py
Python
src/DNAAnimBuilding.py
Toonerz/libdna
9729a4cee7a43f869353b6ecc84ec02f071a6f30
[ "MIT" ]
1
2021-02-23T12:05:39.000Z
2021-02-23T12:05:39.000Z
src/DNAAnimBuilding.py
Toonerz/libdna
9729a4cee7a43f869353b6ecc84ec02f071a6f30
[ "MIT" ]
null
null
null
src/DNAAnimBuilding.py
Toonerz/libdna
9729a4cee7a43f869353b6ecc84ec02f071a6f30
[ "MIT" ]
null
null
null
from pandac.PandaModules import * from panda3d.core import * from DNAInteractiveProp import DNAInteractiveProp class DNAAnimBuilding(DNAInteractiveProp): def __init__(self): DNAInteractiveProp.__init__(self) self.anim = '' def setAnim(self, anim): self.anim = anim def getAnim(self): return self.anim
22.428571
49
0.77707
36
314
6.555556
0.444444
0.135593
0
0
0
0
0
0
0
0
0
0.00369
0.136943
314
14
50
22.428571
0.867159
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.272727
0.090909
0.727273
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
c8cfd807cd71c3a6c47429a289ed0f15ab918f7d
341
py
Python
accounts/urls.py
rattletat/homework-server
abfac831ed45cc567a6a1610edee934200ffada7
[ "Unlicense" ]
1
2020-06-03T14:54:38.000Z
2020-06-03T14:54:38.000Z
accounts/urls.py
rattletat/homework-server
abfac831ed45cc567a6a1610edee934200ffada7
[ "Unlicense" ]
null
null
null
accounts/urls.py
rattletat/homework-server
abfac831ed45cc567a6a1610edee934200ffada7
[ "Unlicense" ]
null
null
null
from django.contrib.auth.views import LogoutView from django.urls import path from accounts.views import login, send_login_email app_name = 'accounts' urlpatterns = [ path("send_login_email", send_login_email, name="send_login_email"), path("login", login, name="login"), path('logout', LogoutView.as_view(...
28.416667
72
0.741935
47
341
5.170213
0.404255
0.148148
0.230453
0
0
0
0
0
0
0
0
0
0.1261
341
11
73
31
0.815436
0
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c8d68df15d295f289a04c6566757d988ddf2a3dd
441
py
Python
contentstore/migrations/0011_message_metadata.py
praekeltfoundation/seed-stage-based-messaging
c1d39601c0d16fb32cebe7c2e288076c1dc4225b
[ "BSD-3-Clause" ]
1
2017-08-17T14:17:53.000Z
2017-08-17T14:17:53.000Z
contentstore/migrations/0011_message_metadata.py
praekelt/seed-stage-based-messaging
c1d39601c0d16fb32cebe7c2e288076c1dc4225b
[ "BSD-3-Clause" ]
69
2016-02-19T06:58:00.000Z
2018-11-26T09:43:42.000Z
contentstore/migrations/0011_message_metadata.py
praekeltfoundation/seed-stage-based-messaging
c1d39601c0d16fb32cebe7c2e288076c1dc4225b
[ "BSD-3-Clause" ]
2
2016-09-28T09:32:00.000Z
2017-08-18T06:18:36.000Z
# Generated by Django 2.1.2 on 2019-02-20 15:47 import django.contrib.postgres.fields.jsonb from django.db import migrations class Migration(migrations.Migration): dependencies = [("contentstore", "0010_auto_20181126_1104")] operations = [ migrations.AddField( model_name="message", ...
24.5
79
0.666667
50
441
5.8
0.74
0.089655
0.144828
0.186207
0.22069
0
0
0
0
0
0
0.090379
0.222222
441
17
80
25.941176
0.755102
0.102041
0
0
1
0
0.126904
0.058376
0
0
0
0
0
1
0
false
0
0.181818
0
0.454545
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
c8dacdfc463fb218f5435f48bc290d2246a98709
101
py
Python
output/models/ms_data/additional/test102433_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/additional/test102433_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/additional/test102433_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.additional.test102433_xsd.test102433 import Bar __all__ = [ "Bar", ]
16.833333
74
0.752475
13
101
5.384615
0.846154
0
0
0
0
0
0
0
0
0
0
0.137931
0.138614
101
5
75
20.2
0.666667
0
0
0
0
0
0.029703
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
c8e70402285ca70dc55d33edfbf229501ff28cdc
1,306
py
Python
deeppavlov/tasks/paraphrases/__init__.py
deepmipt/kpi2017
0f6b13c6ea76e544804ce66ba372c66d5ef9ee30
[ "Apache-2.0" ]
3
2018-02-19T15:34:44.000Z
2018-06-05T10:02:00.000Z
deeppavlov/tasks/paraphrases/__init__.py
deepmipt/kpi2017
0f6b13c6ea76e544804ce66ba372c66d5ef9ee30
[ "Apache-2.0" ]
null
null
null
deeppavlov/tasks/paraphrases/__init__.py
deepmipt/kpi2017
0f6b13c6ea76e544804ce66ba372c66d5ef9ee30
[ "Apache-2.0" ]
1
2021-03-22T09:06:52.000Z
2021-03-22T09:06:52.000Z
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
48.37037
120
0.770291
214
1,306
4.700935
0.542056
0.059642
0.025845
0.031809
0.057654
0
0
0
0
0
0
0.010166
0.171516
1,306
27
121
48.37037
0.919593
0.974732
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
c8f6a477bfa14cc41565987d51e8c5c56e449ae7
325
py
Python
money_legos/uniswap/contracts.py
gokhanbaydar/py-money-legos
3d71885e2befeb3e6415177ea2220339c6082088
[ "MIT" ]
3
2021-02-21T03:15:54.000Z
2021-06-19T10:01:54.000Z
money_legos/uniswap/contracts.py
gokhanbaydar/py-money-legos
3d71885e2befeb3e6415177ea2220339c6082088
[ "MIT" ]
null
null
null
money_legos/uniswap/contracts.py
gokhanbaydar/py-money-legos
3d71885e2befeb3e6415177ea2220339c6082088
[ "MIT" ]
null
null
null
from .. import util exchangeAbi = util.read_json("./uniswap/abi/Exchange.json") factoryAbi = util.read_json("./uniswap/abi/Factory.json") contracts = { "factory": { "address": "0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95", "abi": factoryAbi, }, "exchange": { "abi": exchangeAbi, ...
21.666667
64
0.627692
28
325
7.214286
0.5
0.079208
0.118812
0.188119
0.217822
0
0
0
0
0
0
0.081712
0.209231
325
14
65
23.214286
0.70428
0
0
0
0
0
0.378462
0.292308
0
0
0.129231
0
0
1
0
false
0
0.083333
0
0.083333
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c8fad183c8c394c6c9130a7ccde8091426ce3dd0
227
py
Python
ch09/complexity.py
ricjuanflores/practice-of-the-python
a668efb3310a4cb3ce66c6438121d7a38d9314dd
[ "MIT" ]
319
2019-09-21T05:03:59.000Z
2022-03-28T03:28:51.000Z
ch09/complexity.py
ricjuanflores/practice-of-the-python
a668efb3310a4cb3ce66c6438121d7a38d9314dd
[ "MIT" ]
5
2020-04-12T06:09:42.000Z
2020-06-24T14:04:43.000Z
ch09/complexity.py
ricjuanflores/practice-of-the-python
a668efb3310a4cb3ce66c6438121d7a38d9314dd
[ "MIT" ]
131
2020-01-03T12:07:47.000Z
2022-02-23T17:12:06.000Z
def has_long_words(sentence): if isinstance(sentence, str): # <1> sentence = sentence.split(' ') for word in sentence: # <2> if len(word) > 10: # <3> return True return False # <4>
22.7
40
0.537445
28
227
4.285714
0.75
0
0
0
0
0
0
0
0
0
0
0.039474
0.330396
227
9
41
25.222222
0.75
0.066079
0
0
0
0
0.004831
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
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
cd9d3640e24857162ea8e0dfcdf47b38e5d2ea25
260
py
Python
kiv_bit_rsa/hash/__init__.py
miroslavkrysl/kiv-bit-rsa
48c996aa797f07dec2ea25fd2607ab04d151d9dc
[ "MIT" ]
null
null
null
kiv_bit_rsa/hash/__init__.py
miroslavkrysl/kiv-bit-rsa
48c996aa797f07dec2ea25fd2607ab04d151d9dc
[ "MIT" ]
null
null
null
kiv_bit_rsa/hash/__init__.py
miroslavkrysl/kiv-bit-rsa
48c996aa797f07dec2ea25fd2607ab04d151d9dc
[ "MIT" ]
null
null
null
"""Hashing module A simple module for hashing. Contains base class :py:class:`Hash` from which all hash implementations inherits. For now contains only MD5 hash class :py:class:`Md5` """ from .hash import Hash from .md5 import Md5 __all__ = ["Hash", "Md5"]
20
52
0.734615
40
260
4.675
0.475
0.074866
0.128342
0
0
0
0
0
0
0
0
0.022831
0.157692
260
12
53
21.666667
0.83105
0.692308
0
0
0
0
0.09589
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cda6028511b73e3811db6c9681bbdd73337d2969
2,189
py
Python
supports/pyload/src/pyload/plugins/accounts/PremiumizeMe.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
1
2020-04-02T17:03:39.000Z
2020-04-02T17:03:39.000Z
supports/pyload/src/pyload/plugins/accounts/PremiumizeMe.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
supports/pyload/src/pyload/plugins/accounts/PremiumizeMe.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import json from ..base.multi_account import MultiAccount class PremiumizeMe(MultiAccount): __name__ = "PremiumizeMe" __type__ = "account" __version__ = "0.30" __status__ = "testing" __pyload_version__ = "0.5" __config__ = [ ("mh_mode", "all;listed;unlisted"...
28.802632
88
0.57926
239
2,189
5.07113
0.48954
0.069307
0.039604
0.049505
0.160891
0.160891
0.139439
0.139439
0.092409
0.092409
0
0.019339
0.267702
2,189
75
89
29.186667
0.736744
0.04614
0
0.08
0
0
0.242322
0.023992
0
0
0
0.013333
0
1
0.08
false
0.16
0.04
0
0.42
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
cdb58c025ce1f81e588941581ff984b5bcd2ae7e
4,412
py
Python
peacecorps/contenteditor/forms.py
cmc333333/peacecorps-site
6779b9ac7a8f1013aaa4aa302ad78c992ea2b3e4
[ "CC0-1.0" ]
8
2015-01-06T15:38:12.000Z
2016-05-02T23:55:39.000Z
peacecorps/contenteditor/forms.py
cmc333333/peacecorps-site
6779b9ac7a8f1013aaa4aa302ad78c992ea2b3e4
[ "CC0-1.0" ]
61
2015-01-05T18:20:57.000Z
2016-01-28T22:08:03.000Z
peacecorps/contenteditor/forms.py
cmc333333/peacecorps-site
6779b9ac7a8f1013aaa4aa302ad78c992ea2b3e4
[ "CC0-1.0" ]
12
2015-02-04T21:15:41.000Z
2021-02-17T11:03:27.000Z
import logging from django import forms from django.contrib.admin.forms import AdminAuthenticationForm from django.contrib.auth.forms import ( AdminPasswordChangeForm, PasswordChangeForm, UserCreationForm) from django.utils.translation import ugettext_lazy as _ from contenteditor import models class LoggingAuth...
39.392857
78
0.650499
476
4,412
5.951681
0.241597
0.037063
0.042358
0.033886
0.695729
0.695729
0.695729
0.693611
0.693611
0.693611
0
0.005247
0.265639
4,412
111
79
39.747748
0.869136
0.149819
0
0.632911
0
0
0.260022
0
0
0
0
0
0
1
0.075949
false
0.417722
0.075949
0
0.316456
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
cdc1d2b21917158c689db6c9f35dc71e3b3f31e9
594
py
Python
graphsignal/graphsignal_test.py
graphsignal/graphsignal
ac7b55355d2cc52d75deca403c5ac15e4f68972c
[ "Apache-2.0" ]
84
2021-04-14T14:21:18.000Z
2022-03-25T08:15:11.000Z
graphsignal/graphsignal_test.py
graphsignal/graphsignal-python
ac7b55355d2cc52d75deca403c5ac15e4f68972c
[ "Apache-2.0" ]
null
null
null
graphsignal/graphsignal_test.py
graphsignal/graphsignal-python
ac7b55355d2cc52d75deca403c5ac15e4f68972c
[ "Apache-2.0" ]
3
2021-05-11T07:08:34.000Z
2021-08-03T04:32:30.000Z
import unittest import logging import sys from unittest.mock import patch, Mock import graphsignal logger = logging.getLogger('graphsignal') class GraphsignalTest(unittest.TestCase): def setUp(self): if len(logger.handlers) == 0: logger.addHandler(logging.StreamHandler(sys.stdout)) g...
25.826087
68
0.715488
69
594
6.028986
0.521739
0.048077
0.038462
0.139423
0.168269
0
0
0
0
0
0
0.006148
0.178451
594
22
69
27
0.846311
0
0
0
0
0
0.025253
0
0
0
0
0
0.125
1
0.1875
false
0
0.3125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cdd16856bcb1424cfe6a502555ecc08b93e8a3fd
730
py
Python
lib/mvc/notification_window/controller.py
realmar/gnome-quota-indicator
0ecdf46f785d9e30973bfbe515954174f84aaccc
[ "MIT" ]
null
null
null
lib/mvc/notification_window/controller.py
realmar/gnome-quota-indicator
0ecdf46f785d9e30973bfbe515954174f84aaccc
[ "MIT" ]
null
null
null
lib/mvc/notification_window/controller.py
realmar/gnome-quota-indicator
0ecdf46f785d9e30973bfbe515954174f84aaccc
[ "MIT" ]
null
null
null
"""Controller of the notification window.""" from lib.mvc.bases import ControllerBase from lib.mvc.notification_window.model import NotificationWindowModel from lib.mvc.notification_window.view import NotificationWindowView from lib.exception_feedback import add_default_exception_handling from functools import partia...
36.5
78
0.775342
80
730
6.8375
0.4875
0.131627
0.054845
0.09872
0.223035
0
0
0
0
0
0
0.00319
0.141096
730
19
79
38.421053
0.869219
0.157534
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
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
cdd35e21371017624e6172476486c78ddfd34c9a
21,721
py
Python
models/windows81_general_configuration.py
MIchaelMainer/msgraph-v10-models-python
adad66363ebe151be2332f3ef74a664584385748
[ "MIT" ]
1
2021-03-07T07:02:22.000Z
2021-03-07T07:02:22.000Z
models/windows81_general_configuration.py
MIchaelMainer/msgraph-v10-models-python
adad66363ebe151be2332f3ef74a664584385748
[ "MIT" ]
null
null
null
models/windows81_general_configuration.py
MIchaelMainer/msgraph-v10-models-python
adad66363ebe151be2332f3ef74a664584385748
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' # Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. # # This file was generated and any changes will be overwritten. ''' from __future__ import unicode_literals from ..model.internet_site_...
34.206299
151
0.66903
1,853
21,721
7.494873
0.101457
0.070277
0.104551
0.049251
0.469758
0.286722
0.211982
0.158554
0.075605
0.02621
0
0.001196
0.26868
21,721
634
152
34.260252
0.873088
0.201556
0
0.339564
0
0
0.222645
0.19603
0
0
0
0
0
1
0.208723
false
0.161994
0.018692
0
0.451713
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
cdd62176aa5dc9d7d2ea8806567a8941ba12b5b3
155
py
Python
recipes/Python/286229_Remove_control_character_M_opened_html/recipe-286229.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/286229_Remove_control_character_M_opened_html/recipe-286229.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/286229_Remove_control_character_M_opened_html/recipe-286229.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
import string class Stripper( SGMLParser ) : ... def handle_data( self, data ) : data = string.replace( data, '\r', '' ) ...
17.222222
47
0.509677
15
155
5.2
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.335484
155
8
48
19.375
0.757282
0
0
0.333333
0
0
0.012903
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
a81378e94079f8ebcd5e51864a191bc66f91df8f
220
py
Python
iot/rmq/config.py
aabdulwahed/Sitechain_paper_performanceAnalysis
eabdef94bd9fde2c0c7aa97ee7158e553c2b2e0f
[ "Apache-2.0" ]
null
null
null
iot/rmq/config.py
aabdulwahed/Sitechain_paper_performanceAnalysis
eabdef94bd9fde2c0c7aa97ee7158e553c2b2e0f
[ "Apache-2.0" ]
null
null
null
iot/rmq/config.py
aabdulwahed/Sitechain_paper_performanceAnalysis
eabdef94bd9fde2c0c7aa97ee7158e553c2b2e0f
[ "Apache-2.0" ]
null
null
null
import os import sys from ConfigParser import ConfigParser def configLoader(filename): if os.path.exists(filename): _config = ConfigParser() _config.read(filename) return _config._sections else: return False
18.333333
37
0.777273
27
220
6.185185
0.62963
0
0
0
0
0
0
0
0
0
0
0
0.15
220
11
38
20
0.893048
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
a814a898ccf30c50e036a571e626619159bafb22
288
py
Python
reachy_pyluos_hal/device.py
pollen-robotics/reachy_pyluos_hal
dcd2ddc937c60170907f258994590fc9ecfe5d7f
[ "Apache-2.0" ]
null
null
null
reachy_pyluos_hal/device.py
pollen-robotics/reachy_pyluos_hal
dcd2ddc937c60170907f258994590fc9ecfe5d7f
[ "Apache-2.0" ]
2
2021-04-07T15:34:45.000Z
2022-01-26T09:03:44.000Z
reachy_pyluos_hal/device.py
pollen-robotics/reachy_pyluos_hal
dcd2ddc937c60170907f258994590fc9ecfe5d7f
[ "Apache-2.0" ]
null
null
null
"""Device type annotation.""" from typing import Union from .dynamixel import DynamixelMotor from .fan import Fan from .force_sensor import ForceSensor from .joint import Joint from .orbita import OrbitaActuator Device = Union[Fan, Joint, DynamixelMotor, ForceSensor, OrbitaActuator]
22.153846
71
0.802083
35
288
6.571429
0.457143
0
0
0
0
0
0
0
0
0
0
0
0.131944
288
12
72
24
0.92
0.079861
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
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
a8249466b439d54d52593e4bcb410efc504eb66b
253
py
Python
tests/test_shadow_maya_system.py
rBrenick/shadow-maya
d34b00838f17dc9b1940331f6fb305838dcc71e9
[ "MIT" ]
1
2022-01-13T02:08:23.000Z
2022-01-13T02:08:23.000Z
tests/test_shadow_maya_system.py
rBrenick/shadow-maya
d34b00838f17dc9b1940331f6fb305838dcc71e9
[ "MIT" ]
null
null
null
tests/test_shadow_maya_system.py
rBrenick/shadow-maya
d34b00838f17dc9b1940331f6fb305838dcc71e9
[ "MIT" ]
null
null
null
from maya import cmds from base import MayaBaseTestCase import shadow_maya.shadow_maya_system as system class TestShadowMayaSystem(MayaBaseTestCase): def test_system(self): """Test system in some fashion""" return True
14.055556
47
0.72332
30
253
5.966667
0.633333
0.111732
0
0
0
0
0
0
0
0
0
0
0.225296
253
17
48
14.882353
0.913265
0.106719
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
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
a82d3d64066177fb5e3a6b34d029d66311438ae3
18,520
py
Python
pymelet/point_stat/point_stat_continuous.py
wqshen/pymelet
bfb6b75929f2199dc1aaf3751de57b584a414e3b
[ "MIT" ]
2
2020-06-11T00:24:04.000Z
2021-12-05T03:36:01.000Z
pymelet/point_stat/point_stat_continuous.py
wqshen/pymelet
bfb6b75929f2199dc1aaf3751de57b584a414e3b
[ "MIT" ]
null
null
null
pymelet/point_stat/point_stat_continuous.py
wqshen/pymelet
bfb6b75929f2199dc1aaf3751de57b584a414e3b
[ "MIT" ]
1
2021-03-05T08:13:56.000Z
2021-03-05T08:13:56.000Z
# -*- coding: utf-8 -*- # @Author: wqshen # @Email: wqshen91@gmail.com # @Date: 2020/6/10 14:43 # @Last Modified by: wqshen import numpy as np from logzero import logger from .point_stat_base import PointStatBase class ContinuousVariableVerification(PointStatBase): def __init__(self, forecast=None, obs=None, fc...
35.075758
129
0.615173
2,460
18,520
4.545935
0.146341
0.014307
0.027184
0.016096
0.415363
0.278995
0.175355
0.147277
0.121077
0.107127
0
0.012363
0.275
18,520
527
130
35.142315
0.820511
0.590605
0
0.259259
0
0
0.037436
0
0
0
0
0
0
1
0.259259
false
0
0.030864
0
0.549383
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
b51866fd54d67db1b8ada70e2324402a59194ea5
245
py
Python
w02/e25.py
Luccifer/PythonCoruseraHSE
653d6a24325789342f0d033717ba548dc6e90483
[ "Unlicense" ]
1
2020-01-12T12:55:07.000Z
2020-01-12T12:55:07.000Z
w02/e25.py
Luccifer/PythonCourseraHSE
653d6a24325789342f0d033717ba548dc6e90483
[ "Unlicense" ]
null
null
null
w02/e25.py
Luccifer/PythonCourseraHSE
653d6a24325789342f0d033717ba548dc6e90483
[ "Unlicense" ]
null
null
null
# Список квадратов def list_of_squares(num): i = 1 squares = [] while i**2 <= num: squares.append(i**2) i += 1 return squares if __name__ == '__main__': num = int(input()) print(*list_of_squares(num))
15.3125
32
0.559184
33
245
3.787879
0.575758
0.096
0.208
0.256
0
0
0
0
0
0
0
0.023256
0.297959
245
15
33
16.333333
0.703488
0.065306
0
0
0
0
0.035242
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b53453849ed9784884888ac8a297e6b2f1ed1dcd
944
py
Python
py/py_0113_non-bouncy_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0113_non-bouncy_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0113_non-bouncy_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
# Solution of; # Project Euler Problem 113: Non-bouncy numbers # https://projecteuler.net/problem=113 # # Working from left-to-right if no digit is exceeded by the digit to its left # it is called an increasing number; for example, 134468. Similarly if no # digit is exceeded by the digit to its right it is called a ...
33.714286
79
0.730932
152
944
4.473684
0.546053
0.070588
0.070588
0.032353
0.1
0.1
0.1
0.1
0.1
0.1
0
0.077836
0.197034
944
27
80
34.962963
0.819261
0.807203
0
0
0
0
0.048193
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b5380897ef9921fdd181488523bf325ed2ab7c6f
104
py
Python
run.py
Anglelengyug/MagiChaum
588697aa0c949a0fa098db0d198ccde52df4b422
[ "MIT" ]
null
null
null
run.py
Anglelengyug/MagiChaum
588697aa0c949a0fa098db0d198ccde52df4b422
[ "MIT" ]
null
null
null
run.py
Anglelengyug/MagiChaum
588697aa0c949a0fa098db0d198ccde52df4b422
[ "MIT" ]
null
null
null
import bot if __name__ == '__main__': zonbot = bot.Bot('!', pm_help = True) zonbot.run(zonbot.token)
17.333333
38
0.673077
15
104
4.066667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.153846
104
5
39
20.8
0.693182
0
0
0
0
0
0.086538
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
b54030bd1b18bb0a67f0c29f4ae8b7d618d9fa73
855
py
Python
utilities/cleaner.py
asdfhkga/Neutra
532d03430fc8d77b4a5891d3f044d8e17846c3a8
[ "MIT" ]
11
2021-08-04T09:40:26.000Z
2022-01-30T20:10:05.000Z
utilities/cleaner.py
asdfhkga/Neutra
532d03430fc8d77b4a5891d3f044d8e17846c3a8
[ "MIT" ]
9
2021-08-15T15:49:42.000Z
2021-11-26T18:11:25.000Z
utilities/cleaner.py
asdfhkga/Neutra
532d03430fc8d77b4a5891d3f044d8e17846c3a8
[ "MIT" ]
8
2021-08-13T10:31:14.000Z
2022-02-28T04:01:51.000Z
# Module for cleaning messages from all unwanted content import re def clean_all(msg): msg = clean_invite_embed(msg) msg = clean_backticks(msg) msg = clean_mentions(msg) msg = clean_emojis(msg) return msg def clean_invite_embed(msg): """Prevents invites from embedding""" return msg.repl...
23.108108
81
0.642105
116
855
4.612069
0.405172
0.08972
0.082243
0.071028
0
0
0
0
0
0
0
0.032624
0.175439
855
36
82
23.75
0.726241
0.264327
0
0
0
0
0.179104
0.05141
0
0
0
0
0
1
0.352941
false
0
0.058824
0
0.764706
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
b55168a74138a6b1aaf33ec9c2d9ef719c9ee017
149
py
Python
BOJ_Solved/BOJ-21633.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
7
2021-11-19T14:50:59.000Z
2022-02-25T20:00:20.000Z
BOJ_Solved/BOJ-21633.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
null
null
null
BOJ_Solved/BOJ-21633.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
null
null
null
""" 백준 21633번 : Bank Transfer """ k = int(input()) fee = 25 + k * 0.01 fee = 2000 if fee > 2000 else fee fee = 100 if fee < 100 else fee print(fee)
14.9
33
0.604027
28
149
3.214286
0.571429
0.155556
0
0
0
0
0
0
0
0
0
0.214286
0.248322
149
10
34
14.9
0.589286
0.167785
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b570ac44b0150e11ce6d2c13cba7a97eff39973c
1,181
py
Python
site/blog/views.py
marcus-crane/site
33287005d19287f2851837e38bca974b4e6682bd
[ "MIT" ]
2
2018-04-10T05:12:46.000Z
2018-05-06T20:12:31.000Z
site/blog/views.py
marcus-crane/site
33287005d19287f2851837e38bca974b4e6682bd
[ "MIT" ]
8
2017-10-27T09:00:58.000Z
2017-11-19T09:58:17.000Z
site/blog/views.py
marcus-crane/site
33287005d19287f2851837e38bca974b4e6682bd
[ "MIT" ]
null
null
null
import datetime from django.contrib.syndication.views import Feed from django.utils import timezone from django.urls import reverse from django.views import generic from .models import Post class PostDetailView(generic.DetailView): model = Post queryset = Post.objects.exclude(status='D') template_name = '...
28.119048
76
0.6884
150
1,181
5.306667
0.433333
0.050251
0.070352
0.045226
0
0
0
0
0
0
0
0.002125
0.203218
1,181
42
77
28.119048
0.843783
0.047417
0
0
0
0
0.094812
0
0
0
0
0
0
1
0.193548
false
0
0.193548
0.16129
0.935484
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
b576dd7de14cf810a9f8c4c0f706a59c55bce904
366
py
Python
__init__.py
karttur/geoimagine02-ancillary
b553c3a50d65091aeabd7aee2bed6f898f8529c3
[ "BSD-3-Clause" ]
null
null
null
__init__.py
karttur/geoimagine02-ancillary
b553c3a50d65091aeabd7aee2bed6f898f8529c3
[ "BSD-3-Clause" ]
null
null
null
__init__.py
karttur/geoimagine02-ancillary
b553c3a50d65091aeabd7aee2bed6f898f8529c3
[ "BSD-3-Clause" ]
null
null
null
""" ancillary ========================================== Package belonging to Karttur´s GeoImagine Framework. Author ------ Thomas Gumbricht (thomas.gumbricht@karttur.com) """ from .version import __version__, VERSION, metadataD from .ancillary import ProcessAncillary from .searchjson import SearchJsonTandemX, Un...
19.263158
59
0.696721
33
366
7.515152
0.666667
0.120968
0
0
0
0
0
0
0
0
0
0
0.106557
366
19
60
19.263158
0.755352
0.461749
0
0
0
0
0.084656
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b5798634b5a4889211d523e0fc77c6764dcbb024
1,452
py
Python
src/data_analysis/background_subtractors.py
otimgren/centrex-data-analysis
114252cb61e0ec73a423467cee59b29677decfc5
[ "MIT" ]
null
null
null
src/data_analysis/background_subtractors.py
otimgren/centrex-data-analysis
114252cb61e0ec73a423467cee59b29677decfc5
[ "MIT" ]
null
null
null
src/data_analysis/background_subtractors.py
otimgren/centrex-data-analysis
114252cb61e0ec73a423467cee59b29677decfc5
[ "MIT" ]
null
null
null
""" Objects used for subtracting background from camera images """ from abc import ABC, abstractmethod from dataclasses import dataclass import numpy as np import pandas as pd class BackgroundSubtractor: """ Subtracts background from an image """ @abstractmethod def subtract_background(self, ima...
25.473684
85
0.67562
157
1,452
6.101911
0.401274
0.073069
0.056367
0.052192
0.162839
0.100209
0.100209
0.100209
0.100209
0
0
0.000909
0.242424
1,452
56
86
25.928571
0.87
0.273416
0
0.1
0
0
0.010493
0
0
0
0
0.017857
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
b594eba6ba7a76342bcea96056db78dcdb48b73c
445
py
Python
groupon_data.py
AndrewSLowe/yipitdata
011be508d88645ea63a4cb968d221256740d3f5d
[ "MIT" ]
1
2021-12-30T01:31:03.000Z
2021-12-30T01:31:03.000Z
groupon_data.py
AndrewSLowe/yipitdata
011be508d88645ea63a4cb968d221256740d3f5d
[ "MIT" ]
null
null
null
groupon_data.py
AndrewSLowe/yipitdata
011be508d88645ea63a4cb968d221256740d3f5d
[ "MIT" ]
1
2021-12-30T01:31:09.000Z
2021-12-30T01:31:09.000Z
import pandas as pd file_name = r'/Users/andrewlowe/yipitdata/Q4_2013_Groupon_North_America_Data_XLSX.xlsx' df = pd.read_excel(file_name) # Q4_13_NA dataframe Q4_13_NA = df # (138534, 7) There are 138534 items in the dataframe. Q4_13_NA.shape Q4_13_NA.describe() Q4_13_NA.describe(exclude='number') Q4_13_NA[] se...
20.227273
87
0.757303
79
445
3.886076
0.455696
0.130293
0.19544
0.127036
0.214984
0.156352
0.156352
0.156352
0
0
0
0.121519
0.11236
445
21
88
21.190476
0.655696
0.159551
0
0
0
0
0.275676
0.194595
0
0
0
0
0
0
null
null
0
0.090909
null
null
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b5a3dabc153141cf227c44803d4d3c863b2986f8
318
py
Python
Editor/Noriter/Noriter/UI/SideWindow.py
RangHo/pini-engine
e1407724de32a433b7b46e0ee2469240b70d960b
[ "MIT" ]
null
null
null
Editor/Noriter/Noriter/UI/SideWindow.py
RangHo/pini-engine
e1407724de32a433b7b46e0ee2469240b70d960b
[ "MIT" ]
null
null
null
Editor/Noriter/Noriter/UI/SideWindow.py
RangHo/pini-engine
e1407724de32a433b7b46e0ee2469240b70d960b
[ "MIT" ]
null
null
null
from PySide import QtCore,QtGui from Noriter.UI.Layout import * from Noriter.UI import NoriterWindow as nWin class SideWindow (nWin.NoriterWindow, QtGui.QWidget): def __init__(self): super(SideWindow, self).__init__() self.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) @LayoutGUI def GUI(self): pass
19.875
56
0.779874
40
318
6
0.6
0.091667
0.108333
0
0
0
0
0
0
0
0
0
0.128931
318
15
57
21.2
0.866426
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.1
0.3
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
b5ac798e9157ff29157f28ce1d688a72fde632c6
308
py
Python
pylon/aws/_bases.py
ch41rmn/pylon-oss
c9ad06438e4d6c8b496b92eabd07d2b12e661e6e
[ "Apache-2.0" ]
3
2020-09-27T02:09:52.000Z
2022-02-25T02:30:24.000Z
pylon/aws/_bases.py
ch41rmn/pylon-oss
c9ad06438e4d6c8b496b92eabd07d2b12e661e6e
[ "Apache-2.0" ]
8
2020-09-24T07:47:14.000Z
2020-10-16T08:48:38.000Z
pylon/aws/_bases.py
ch41rmn/pylon-oss
c9ad06438e4d6c8b496b92eabd07d2b12e661e6e
[ "Apache-2.0" ]
4
2020-09-24T07:41:23.000Z
2020-09-27T02:07:01.000Z
"""Some base classes for AWS""" class BaseMixin: def __init__(self, name: str): self.name = name def __repr__(self): return '<{module}.{cls} {name}>'.format( module=self.__class__.__module__, cls=self.__class__.__name__, name=self.name )
23.692308
48
0.564935
34
308
4.411765
0.5
0.16
0
0
0
0
0
0
0
0
0
0
0.301948
308
12
49
25.666667
0.697674
0.081169
0
0
0
0
0.083032
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
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
a90f20261953e6e9408a86ab0c6b0fbff6862b42
3,049
py
Python
src/filter_structs.py
mimirblockchainsolutions/w3aio
ec5880a53970bf3946c5feaa2c20119b48fb77d1
[ "MIT" ]
3
2018-10-18T18:43:31.000Z
2020-10-01T23:45:20.000Z
src/filter_structs.py
mimirblockchainsolutions/w3aio
ec5880a53970bf3946c5feaa2c20119b48fb77d1
[ "MIT" ]
null
null
null
src/filter_structs.py
mimirblockchainsolutions/w3aio
ec5880a53970bf3946c5feaa2c20119b48fb77d1
[ "MIT" ]
null
null
null
from .types import Types import logging log = logging.getLogger(__name__) """ { "addressFilter":<address> OPTIONAL, "bnFilter":<uint256> OPTIONAL, "abiFilters": OPTIONAL [ { name STRING REQUIRED rvalue HEXSTR OR INT REQUIRED type STRING REQUIRED op STRING...
24.392
95
0.61266
375
3,049
4.746667
0.205333
0.01573
0.026966
0.047753
0.162921
0.104494
0.104494
0.076404
0.076404
0.04382
0
0.002676
0.264677
3,049
124
96
24.58871
0.791258
0.00656
0
0.1375
0
0
0.051524
0
0
0
0
0
0.0375
1
0.2
false
0
0.025
0.125
0.5125
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
a9173021e179a6716850dc700d1cb85812aabfd3
497
py
Python
easy/python3/c0050_204_count-primes/00_leetcode_0050.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
easy/python3/c0050_204_count-primes/00_leetcode_0050.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
easy/python3/c0050_204_count-primes/00_leetcode_0050.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
3
2018-02-09T02:46:48.000Z
2021-02-20T08:32:03.000Z
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #204. Count Primes #Description: #Count the number of prime numbers less than a non-negative number, n. #Credits: #Special thanks to @mithmatt for adding ...
27.611111
81
0.704225
66
497
5.30303
0.772727
0.057143
0.074286
0
0
0
0
0
0
0
0
0.007653
0.211268
497
18
82
27.611111
0.885204
0.933602
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
a9194f565509c6ec2be436653edd8ad483b8d75a
309
py
Python
pymyenergi/ct.py
CJNE/pymyenergi
ab381e4a5f7ed79e0847fa66a9bd99de931e90ca
[ "MIT" ]
5
2021-08-31T06:52:04.000Z
2021-11-13T23:53:21.000Z
pymyenergi/ct.py
CJNE/pymyenergi
ab381e4a5f7ed79e0847fa66a9bd99de931e90ca
[ "MIT" ]
2
2021-09-09T11:02:17.000Z
2021-11-04T13:13:38.000Z
pymyenergi/ct.py
CJNE/pymyenergi
ab381e4a5f7ed79e0847fa66a9bd99de931e90ca
[ "MIT" ]
1
2021-10-30T23:06:00.000Z
2021-10-30T23:06:00.000Z
class CT: def __init__(self, name, value) -> None: self._name = name self._value = value @property def name(self): """Name of CT clamp""" return self._name @property def power(self): """Power reading of CT clamp in W""" return self._value
20.6
44
0.550162
39
309
4.153846
0.410256
0.197531
0.111111
0
0
0
0
0
0
0
0
0
0.339806
309
14
45
22.071429
0.794118
0.152104
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
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
1
0
0
0
0
1
0
0
2
a9384cd27739db7ffa5922d664ce06d61874d19b
1,362
py
Python
tests/test_pyspark_hb_app_processor.py
ChinmaySKulkarni/hb-data
9660ac3e5096c181d76ea81e352e2f4a4576180b
[ "Apache-2.0" ]
null
null
null
tests/test_pyspark_hb_app_processor.py
ChinmaySKulkarni/hb-data
9660ac3e5096c181d76ea81e352e2f4a4576180b
[ "Apache-2.0" ]
null
null
null
tests/test_pyspark_hb_app_processor.py
ChinmaySKulkarni/hb-data
9660ac3e5096c181d76ea81e352e2f4a4576180b
[ "Apache-2.0" ]
null
null
null
import unittest from unittest.mock import Mock from app_processor.pyspark_hb_app_processor import parse_configs, get_or_generate_spark_session class TestAppProcessor(unittest.TestCase): def test_parse_configs(self): conf = parse_configs("test-conf.yml") self.assertEqual('value1', conf['key1']) ...
41.272727
119
0.745962
181
1,362
5.160221
0.359116
0.154176
0.154176
0.221627
0.22591
0.072805
0
0
0
0
0
0.008803
0.165932
1,362
32
120
42.5625
0.81338
0.060206
0
0
1
0
0.08529
0
0
0
0
0
0.304348
1
0.086957
false
0
0.130435
0
0.26087
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
a940bf95fb05e1ce9f0689a646220d33e709747c
560
py
Python
tests/test_cli.py
wizardsoftheweb/gitflow-easyrelease
ee02b124ec6b18c565198937a8e4d52516a58ff8
[ "0BSD" ]
null
null
null
tests/test_cli.py
wizardsoftheweb/gitflow-easyrelease
ee02b124ec6b18c565198937a8e4d52516a58ff8
[ "0BSD" ]
null
null
null
tests/test_cli.py
wizardsoftheweb/gitflow-easyrelease
ee02b124ec6b18c565198937a8e4d52516a58ff8
[ "0BSD" ]
null
null
null
# pylint: disable=missing-docstring from __future__ import print_function from mock import patch from gitflow_easyrelease import cli @patch('gitflow_easyrelease.cli_file.ColorOutput') @patch('gitflow_easyrelease.cli_file.Subcommand') @patch('gitflow_easyrelease.cli_file.Application') def test_execution(mock_app, ...
25.454545
51
0.792857
77
560
5.337662
0.402597
0.175182
0.167883
0.189781
0.218978
0
0
0
0
0
0
0.002024
0.117857
560
21
52
26.666667
0.82996
0.058929
0
0
0
0
0.226667
0.226667
0
0
0
0
0.428571
1
0.071429
false
0
0.214286
0
0.285714
0.071429
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
a940c528a2a9e7e02f80671f54c14fa59e3604c9
2,239
py
Python
lib/command.py
GrimHacker/hashcatter
f17c1c6ef072301cf72a14e1bd264953a6f30d94
[ "Unlicense" ]
2
2016-01-19T14:31:01.000Z
2019-04-26T07:47:54.000Z
lib/command.py
GrimHacker/hashcatter
f17c1c6ef072301cf72a14e1bd264953a6f30d94
[ "Unlicense" ]
null
null
null
lib/command.py
GrimHacker/hashcatter
f17c1c6ef072301cf72a14e1bd264953a6f30d94
[ "Unlicense" ]
null
null
null
''' .1111... | Title: command .10000000000011. .. | Author: Oliver Morton .00 000... | Email: grimhacker@grimhacker.com 1 01.. | Description: .. | executes a command as a subprocess .. | GrimHacker .. | ...
35.539683
116
0.498883
239
2,239
4.60251
0.41841
0.031818
0.041818
0.036364
0.181818
0.181818
0.134545
0.092727
0.092727
0.092727
0
0.026804
0.350156
2,239
63
117
35.539683
0.72921
0.173292
0
0.076923
0
0
0.029623
0
0
0
0
0.015873
0
0
null
null
0
0.115385
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
a95952878e7279050dc2b8cfaddb8f59469ee0f9
448
py
Python
examples/example_publisher_subscriber/consumer.py
vladcalin/pymicroservice
325a49d17621b9d45ffd2b5eca6f0de284de8ba4
[ "MIT" ]
2
2016-12-17T13:09:14.000Z
2016-12-31T18:38:57.000Z
examples/example_publisher_subscriber/consumer.py
vladcalin/pymicroservice
325a49d17621b9d45ffd2b5eca6f0de284de8ba4
[ "MIT" ]
15
2016-11-27T13:28:25.000Z
2017-01-10T09:09:30.000Z
examples/example_publisher_subscriber/consumer.py
vladcalin/pymicroservice
325a49d17621b9d45ffd2b5eca6f0de284de8ba4
[ "MIT" ]
null
null
null
import gemstone from gemstone.event.transport import RabbitMqEventTransport class ConsumerService(gemstone.MicroService): name = "consumer" port = 8000 event_transports = [ RabbitMqEventTransport("192.168.1.71", 5672, username="admin", password="X5f6rPmx1yYz") ] @gemstone.event_handler(...
21.333333
95
0.700893
44
448
6.886364
0.772727
0.085809
0
0
0
0
0
0
0
0
0
0.054795
0.185268
448
20
96
22.4
0.775342
0
0
0
0
0
0.109375
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
0
0.538462
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
a96da02c316496265901ca5005609c4868ce1855
84
py
Python
udemy/python-video-workbook/my_progress/033.py
djrgit/coursework
2a91da9b76cb1acbd12f3d8049f15d2e71f475a1
[ "MIT" ]
null
null
null
udemy/python-video-workbook/my_progress/033.py
djrgit/coursework
2a91da9b76cb1acbd12f3d8049f15d2e71f475a1
[ "MIT" ]
null
null
null
udemy/python-video-workbook/my_progress/033.py
djrgit/coursework
2a91da9b76cb1acbd12f3d8049f15d2e71f475a1
[ "MIT" ]
3
2018-08-13T23:14:22.000Z
2019-01-11T22:50:07.000Z
# Exercise 33 - Local Variables c = 1 def foo(): c = 2 return c c = 3 print(foo())
12
31
0.607143
16
84
3.1875
0.75
0
0
0
0
0
0
0
0
0
0
0.079365
0.25
84
7
32
12
0.730159
0.345238
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.166667
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
a975773f8dee58afe81a70d4ab9f1dcf426f4c9a
8,082
py
Python
cpdb/officers/serializers/response_mobile_serializers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/officers/serializers/response_mobile_serializers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/officers/serializers/response_mobile_serializers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
from rest_framework import serializers from shared.serializer import NoNullSerializer, OfficerPercentileSerializer, OfficerYearlyPercentileSerializer class PoliceUnitMobileSerializer(NoNullSerializer): unit_id = serializers.IntegerField(source='id') unit_name = serializers.CharField() description = seria...
35.447368
119
0.732863
818
8,082
7.050122
0.189487
0.030172
0.054101
0.030518
0.434195
0.407318
0.304318
0.188486
0.108375
0.076123
0
0.003587
0.172235
8,082
227
120
35.603524
0.858445
0
0
0.291667
0
0
0.057535
0.010022
0
0
0
0
0
1
0.172619
false
0
0.011905
0.142857
0.892857
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
a9935181f32d4c18ed6b86240d1ab8c890932074
501
py
Python
cogs/onload.py
paulranshaw/Discord-Bot
82a6837c3753bb1dfb8f5c4c2f5f02edf0309f89
[ "Apache-2.0" ]
null
null
null
cogs/onload.py
paulranshaw/Discord-Bot
82a6837c3753bb1dfb8f5c4c2f5f02edf0309f89
[ "Apache-2.0" ]
null
null
null
cogs/onload.py
paulranshaw/Discord-Bot
82a6837c3753bb1dfb8f5c4c2f5f02edf0309f89
[ "Apache-2.0" ]
null
null
null
import discord import os from discord.errors import ClientException import dotenv import logging import asyncio from discord.ext import commands, tasks from dotenv import load_dotenv from itertools import cycle client = discord.Client() class Onload(commands.Cog): def __init__(self, client): ...
21.782609
43
0.704591
64
501
5.40625
0.5
0.063584
0
0
0
0
0
0
0
0
0
0
0.219561
501
23
44
21.782609
0.88491
0
0
0
0
0
0.029167
0
0
0
0
0
0
1
0.111111
false
0
0.5
0
0.666667
0.055556
0
0
0
null
0
0
0
0
0
0
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
8d1a4edc015cd350724814d698577e23b1ff8d89
524
py
Python
tests/test_raw_lightcurve.py
konkolyseismolab/autoeap
524ac557f5514b8100565b015517fa02912c283f
[ "MIT" ]
3
2020-11-15T15:54:47.000Z
2021-01-15T23:33:39.000Z
tests/test_raw_lightcurve.py
zabop/autoeap
e1fd411d93a8fe4715403390d482767ce7b40a14
[ "MIT" ]
null
null
null
tests/test_raw_lightcurve.py
zabop/autoeap
e1fd411d93a8fe4715403390d482767ce7b40a14
[ "MIT" ]
1
2021-12-15T07:58:34.000Z
2021-12-15T07:58:34.000Z
import numpy as np import autoeap from numpy.testing import assert_array_almost_equal import os PACKAGEDIR = os.path.abspath(os.path.dirname(__file__)) def test_raw_lightcurve(): time,flux,flux_err = autoeap.createlightcurve('EPIC220198696',campaign=8) lc = np.genfromtxt(os.path.join(PACKAGEDIR,"EPIC22019869...
32.75
94
0.788168
80
524
4.875
0.5
0.112821
0.174359
0.225641
0.133333
0
0
0
0
0
0
0.059072
0.09542
524
15
95
34.933333
0.763713
0
0
0
0
0
0.076336
0.051527
0
0
0
0
0.363636
1
0.090909
false
0
0.363636
0
0.454545
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
8d2dc845ac02d7d42e4cd3065cf848711121e9cf
662
py
Python
app/form.py
CalebF98/tbcc-moonkin-dps-simulator
85dc355f39abeaceba06411341549236b8e045b5
[ "Apache-2.0" ]
null
null
null
app/form.py
CalebF98/tbcc-moonkin-dps-simulator
85dc355f39abeaceba06411341549236b8e045b5
[ "Apache-2.0" ]
null
null
null
app/form.py
CalebF98/tbcc-moonkin-dps-simulator
85dc355f39abeaceba06411341549236b8e045b5
[ "Apache-2.0" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, IntegerField from wtforms.fields.simple import SubmitField from wtforms.validators import DataRequired, NumberRange class SimParamsForm(FlaskForm): intellect = IntegerField('Intellect', [NumberRange(0,1000)]) spellpower = IntegerField('Spellpower...
55.166667
77
0.743202
74
662
6.581081
0.472973
0.123203
0.098563
0
0
0
0
0
0
0
0
0.049383
0.143505
662
12
78
55.166667
0.809524
0
0
0
0
0
0.140271
0
0
0
0
0
0
1
0
false
0
0.363636
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
8d35b1fce2d1ded18b2935164ec661ac151db436
904
py
Python
src/mmw/apps/home/views.py
mmcfarland/model-my-watershed
a6bd72e39e6fe3a2f20d192ff04a721d1eac7613
[ "Apache-2.0" ]
1
2015-08-14T15:37:12.000Z
2015-08-14T15:37:12.000Z
src/mmw/apps/home/views.py
mmcfarland/model-my-watershed-1
a6bd72e39e6fe3a2f20d192ff04a721d1eac7613
[ "Apache-2.0" ]
null
null
null
src/mmw/apps/home/views.py
mmcfarland/model-my-watershed-1
a6bd72e39e6fe3a2f20d192ff04a721d1eac7613
[ "Apache-2.0" ]
1
2015-07-20T20:26:34.000Z
2015-07-20T20:26:34.000Z
# -*- coding: utf-8 -*- from __future__ import print_function from __future__ import unicode_literals from __future__ import division from django.contrib.auth.models import User from django.shortcuts import render_to_response from django.template.context_processors import csrf from rest_framework import serializers, v...
26.588235
61
0.766593
109
904
6.100917
0.550459
0.045113
0.07218
0.063158
0.099248
0.099248
0
0
0
0
0
0.001299
0.14823
904
33
62
27.393939
0.862338
0.109513
0
0
0
0
0.068664
0
0
0
0
0
0
1
0.1
false
0
0.35
0.05
0.8
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8d3c45a2b1811ec78492f3f1da6b9c206d064666
425
py
Python
dynamorm/__init__.py
borgstrom/dynomallow
1270a85ae25a1cc4d1993bd64c752733c3e12072
[ "Apache-2.0" ]
81
2016-10-29T01:05:21.000Z
2022-03-08T06:43:22.000Z
dynamorm/__init__.py
borgstrom/dynomallow
1270a85ae25a1cc4d1993bd64c752733c3e12072
[ "Apache-2.0" ]
99
2016-10-21T22:47:22.000Z
2022-01-30T17:36:04.000Z
dynamorm/__init__.py
borgstrom/dynomallow
1270a85ae25a1cc4d1993bd64c752733c3e12072
[ "Apache-2.0" ]
38
2016-11-01T01:57:56.000Z
2022-03-10T01:59:34.000Z
"""The base module namespace simply imports the most frequently used objects to simplify imports in clients: .. code-block:: python from dynamorm import DynaModel """ from .model import DynaModel # noqa from .indexes import ( GlobalIndex, LocalIndex, ProjectAll, ProjectKeys, ProjectInclude, ...
23.611111
108
0.727059
49
425
6.306122
0.714286
0.07767
0
0
0
0
0
0
0
0
0
0
0.204706
425
17
109
25
0.914201
0.437647
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
8d3f3aa3ea115ba2d402269bda5b412ff00f6eab
105
py
Python
hummingbot/strategy/execution2/__init__.py
anyachopra97/hummingbot
63476d47a98a1ccb41f07cfd86d61f5b905f3de6
[ "Apache-2.0" ]
null
null
null
hummingbot/strategy/execution2/__init__.py
anyachopra97/hummingbot
63476d47a98a1ccb41f07cfd86d61f5b905f3de6
[ "Apache-2.0" ]
null
null
null
hummingbot/strategy/execution2/__init__.py
anyachopra97/hummingbot
63476d47a98a1ccb41f07cfd86d61f5b905f3de6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from .execution2 import Execution2Strategy __all__ = [ Execution2Strategy ]
11.666667
42
0.742857
10
105
7.4
0.9
0
0
0
0
0
0
0
0
0
0
0.034483
0.171429
105
8
43
13.125
0.816092
0.190476
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
8d4e33a2c7fe2ba26a18a859974996cdfbe7f9c2
1,937
py
Python
bevy/app/options.py
ZechCodes/bevy.app
c56bd1dba456969807abd8b71f8f02a68c23025d
[ "MIT" ]
null
null
null
bevy/app/options.py
ZechCodes/bevy.app
c56bd1dba456969807abd8b71f8f02a68c23025d
[ "MIT" ]
null
null
null
bevy/app/options.py
ZechCodes/bevy.app
c56bd1dba456969807abd8b71f8f02a68c23025d
[ "MIT" ]
null
null
null
from bevy.injection import AutoInject, detect_dependencies from bevy.app.args import ArgumentParser, CLIArgs from typing import Any import os @detect_dependencies class Options(AutoInject): """The options object aggregates all options values that the Bevy.App application pulls in from the environment.""" arg...
29.348485
119
0.647909
250
1,937
4.732
0.304
0.059172
0.071006
0.047337
0.158918
0.13694
0.0541
0
0
0
0
0
0.251936
1,937
65
120
29.8
0.816425
0.083118
0
0.042553
0
0
0.026629
0
0
0
0
0
0
1
0.212766
false
0
0.085106
0.12766
0.680851
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
8d6d191c8ae8f82ec46c02ae161fd6d0cb413472
270
py
Python
Backup.py
paringandhi10/AND_lab
1727141f41e82f78e4b20888b3fb350c79640714
[ "Apache-2.0" ]
null
null
null
Backup.py
paringandhi10/AND_lab
1727141f41e82f78e4b20888b3fb350c79640714
[ "Apache-2.0" ]
null
null
null
Backup.py
paringandhi10/AND_lab
1727141f41e82f78e4b20888b3fb350c79640714
[ "Apache-2.0" ]
null
null
null
import getpass import telnetlib print "******You are now Backing up CISCO and ARISTA router******" user = raw_input ("Enter your username of CISCO and ARISTA:") password = getpass.getpass() HOST =("192.168.13.144","192.168.13.145","192.168.13.146") for i in HOST:
19.285714
66
0.688889
44
270
4.204545
0.704545
0.097297
0.12973
0
0
0
0
0
0
0
0
0.142857
0.144444
270
13
67
20.769231
0.658009
0
0
0
0
0
0.522388
0
0
0
0
0
0
0
null
null
0.285714
0.285714
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
8d78072aaee19a237fbbdebfb0c1c1744f1519cc
814
py
Python
orm.py
macTracyHuang/cs50w_project1
ff683d48d19b2ff584b50b8f167c212cdf4fa2c5
[ "MIT" ]
null
null
null
orm.py
macTracyHuang/cs50w_project1
ff683d48d19b2ff584b50b8f167c212cdf4fa2c5
[ "MIT" ]
null
null
null
orm.py
macTracyHuang/cs50w_project1
ff683d48d19b2ff584b50b8f167c212cdf4fa2c5
[ "MIT" ]
null
null
null
import os from flask import Flask from application import get_app from models import * from flask_session import Session app = get_app() session = Session(app) # Tell Flask what SQLAlchemy databas to use. # app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://postgres:a1234567@localhost" # app.config["SQLALCHEMY_DAT...
29.071429
84
0.744472
115
814
5.06087
0.513043
0.051546
0.097938
0.092784
0.103093
0
0
0
0
0
0
0.010234
0.159705
814
27
85
30.148148
0.840643
0.469287
0
0
0
0
0.018824
0
0
0
0
0
0
0
null
null
0
0.3125
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
8d8210a27c9ea9d381be75d259363d15a83461bf
7,437
py
Python
tests/test_examplegen.py
matth79/multispecies-whale-detection
95629fce02fd7851cf889dade37fd7a54d14923f
[ "Apache-2.0" ]
1
2022-03-25T11:25:41.000Z
2022-03-25T11:25:41.000Z
tests/test_examplegen.py
matth79/multispecies-whale-detection
95629fce02fd7851cf889dade37fd7a54d14923f
[ "Apache-2.0" ]
5
2022-02-17T00:16:16.000Z
2022-03-29T23:48:09.000Z
tests/test_examplegen.py
matth79/multispecies-whale-detection
95629fce02fd7851cf889dade37fd7a54d14923f
[ "Apache-2.0" ]
3
2022-03-05T06:57:30.000Z
2022-03-25T11:45:52.000Z
# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
37.371859
79
0.745058
988
7,437
5.389676
0.196356
0.073427
0.103662
0.048075
0.765258
0.733709
0.689202
0.662535
0.636995
0.634366
0
0.039699
0.160011
7,437
198
80
37.560606
0.81271
0.21272
0
0.535433
0
0
0.03971
0
0
0
0
0
0.141732
1
0.125984
false
0
0.047244
0
0.19685
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
8d94f59cd8065ca78b9e77686753425e8a499bdd
29,098
py
Python
pinax/stripe/migrations/0001_initial.py
bonidjukic/pinax-stripe
161ac480ef8622bdb2b4da49192738f320830e48
[ "MIT" ]
null
null
null
pinax/stripe/migrations/0001_initial.py
bonidjukic/pinax-stripe
161ac480ef8622bdb2b4da49192738f320830e48
[ "MIT" ]
null
null
null
pinax/stripe/migrations/0001_initial.py
bonidjukic/pinax-stripe
161ac480ef8622bdb2b4da49192738f320830e48
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-08-06 19:00 from __future__ import unicode_literals from decimal import Decimal from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import jsonfield.fields import pinax.strip...
61.130252
198
0.598014
2,859
29,098
5.92375
0.101784
0.073335
0.068316
0.089336
0.778106
0.740966
0.659896
0.565895
0.506672
0.450461
0
0.009911
0.257956
29,098
475
199
61.258947
0.774454
0.002337
0
0.471092
1
0
0.153822
0.039239
0
0
0
0
0
1
0
false
0
0.017131
0
0.025696
0.004283
0
0
0
null
0
0
0
0
1
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
8d9db3086159afb133d88cdc816ceffb0d383a44
632
py
Python
src/vispy_radar_scenes/settings.py
henriksod/vispy_radar_scenes
5f0250f905ca60451ee48aff0ee3fd522b1c1427
[ "MIT" ]
2
2021-12-05T21:42:46.000Z
2021-12-09T08:27:31.000Z
src/vispy_radar_scenes/settings.py
henriksod/vispy_radar_scenes
5f0250f905ca60451ee48aff0ee3fd522b1c1427
[ "MIT" ]
null
null
null
src/vispy_radar_scenes/settings.py
henriksod/vispy_radar_scenes
5f0250f905ca60451ee48aff0ee3fd522b1c1427
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Settings dataclass. Holds settings for the visualization tool during runtime. """ from dataclasses import dataclass @dataclass class Settings: program_title: str = "Radar Data Viewer" dark_mode: bool = True dark_stylesheet: str = ":/dark/stylesheet.qss" ...
33.263158
80
0.693038
97
632
4.329897
0.536082
0.028571
0.038095
0.090476
0.142857
0.142857
0.142857
0.142857
0.142857
0.142857
0
0.068966
0.174051
632
18
81
35.111111
0.735632
0.189873
0
0
0
0
0.119048
0.085317
0
0
0
0
0
1
0
true
0
0.083333
0
0.916667
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
a5c78a55dcdcffd34f93a55aa22727da7cbee1a9
4,591
py
Python
crawler/house_renting/settings.py
bernssolg/house-renting-master
da1d882a6d1cde26a3bd7aa934f43165460daeae
[ "Apache-2.0" ]
823
2018-05-13T15:47:32.000Z
2022-03-26T06:09:18.000Z
crawler/house_renting/settings.py
bernssolg/house-renting-master
da1d882a6d1cde26a3bd7aa934f43165460daeae
[ "Apache-2.0" ]
27
2018-05-20T03:26:28.000Z
2020-11-24T07:00:49.000Z
crawler/house_renting/settings.py
bernssolg/house-renting-master
da1d882a6d1cde26a3bd7aa934f43165460daeae
[ "Apache-2.0" ]
156
2018-05-19T14:04:50.000Z
2022-03-01T06:57:19.000Z
# -*- coding: utf-8 -*- from house_renting.spider_settings import lianjia, a58 BOT_NAME = 'house_renting' COMMANDS_MODULE = 'house_renting.commands' SPIDER_MODULES = ['house_renting.spiders'] NEWSPIDER_MODULE = 'house_renting.spiders' USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15...
34.261194
119
0.69266
725
4,591
4.295172
0.328276
0.032755
0.037572
0.015414
0.306358
0.21869
0.192357
0.178548
0.144509
0.125562
0
0.12077
0.163145
4,591
133
120
34.518797
0.689745
0.099325
0
0
0
0.247059
0.660927
0.145283
0
0
0
0
0
1
0
false
0
0.011765
0
0.011765
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a5f082ead62e339d63366a6ed29c9bcefc34d8c3
518
py
Python
tests/r/test_rep_vict.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_rep_vict.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_rep_vict.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.rep_vict import rep_vict def test_rep_vict(): """Test module rep_vict.py by downloading rep_vict.csv and testing shape of extracted data h...
21.583333
44
0.754826
78
518
4.679487
0.525641
0.115068
0.131507
0
0
0
0
0
0
0
0
0.009412
0.179537
518
23
45
22.521739
0.849412
0.216216
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.466667
0
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a5f08b65d134cc5287da1f153dd0a8c3eeb64dee
2,207
py
Python
fairness/algorithms/zafar/fair-classification-master/disparate_impact/synthetic_data_demo/fairness_acc_tradeoff.py
yashwarlord/fairness-comparison
366a4e4bb70498ac7498e4a98f50e3585f7881d3
[ "Apache-2.0" ]
146
2018-02-14T20:59:29.000Z
2022-03-26T00:44:28.000Z
fairness/algorithms/zafar/fair-classification-master/disparate_impact/synthetic_data_demo/fairness_acc_tradeoff.py
yashwarlord/fairness-comparison
366a4e4bb70498ac7498e4a98f50e3585f7881d3
[ "Apache-2.0" ]
6
2018-03-15T01:39:53.000Z
2021-11-15T17:47:02.000Z
fairness/algorithms/zafar/fair-classification-master/disparate_impact/synthetic_data_demo/fairness_acc_tradeoff.py
yashwarlord/fairness-comparison
366a4e4bb70498ac7498e4a98f50e3585f7881d3
[ "Apache-2.0" ]
50
2018-02-16T15:27:29.000Z
2022-03-01T08:59:28.000Z
import os,sys import numpy as np from generate_synthetic_data import * sys.path.insert(0, '../../fair_classification/') # the code for fair classification is in this directory import utils as ut import loss_funcs as lf # loss funcs that can be optimized subject to various constraints NUM_FOLDS = 10 # we will show 10-f...
46.957447
331
0.793385
338
2,207
4.798817
0.307692
0.039457
0.054254
0.024661
0.472256
0.472256
0.472256
0.472256
0.472256
0.435265
0
0.009759
0.117807
2,207
47
332
46.957447
0.823318
0.129588
0
0.133333
1
0
0.072388
0.015178
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
570565bf3d442d68f52ba0993e0639a54178c05b
963
py
Python
portfolio/models.py
Marcos8060/Django-Gallery-Website
86908b42487f481b2edb0f3ab8d89e53bf951177
[ "Unlicense" ]
null
null
null
portfolio/models.py
Marcos8060/Django-Gallery-Website
86908b42487f481b2edb0f3ab8d89e53bf951177
[ "Unlicense" ]
null
null
null
portfolio/models.py
Marcos8060/Django-Gallery-Website
86908b42487f481b2edb0f3ab8d89e53bf951177
[ "Unlicense" ]
null
null
null
from django.urls import reverse from django.db import models # Create your models here class Location(models.Model): name = models.CharField(max_length=60) def __str__(self): return self.name class Category(models.Model): name = models.CharField(max_length=200) slug = models.SlugField(uniqu...
28.323529
108
0.724818
129
963
5.248062
0.410853
0.053176
0.084195
0.097489
0.490399
0.490399
0.369276
0.254062
0.132939
0.132939
0
0.013819
0.173416
963
33
109
29.181818
0.836683
0.104881
0
0.380952
0
0
0.04084
0
0
0
0
0
0
1
0.190476
false
0
0.095238
0.190476
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
5711424b90cec0d079a0c1f362098adcf9c1da53
12,200
py
Python
nevergrad/functions/corefuncs.py
akhti/nevergrad
98a4ca92dff704f9df0bc58554bd51e5fa477362
[ "MIT" ]
1
2021-07-22T16:18:01.000Z
2021-07-22T16:18:01.000Z
nevergrad/functions/corefuncs.py
akhti/nevergrad
98a4ca92dff704f9df0bc58554bd51e5fa477362
[ "MIT" ]
null
null
null
nevergrad/functions/corefuncs.py
akhti/nevergrad
98a4ca92dff704f9df0bc58554bd51e5fa477362
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import time from typing import Dict, Any, Tuple, List, Callable import numpy as np from .utils import PostponedObject fro...
31.202046
105
0.662459
1,776
12,200
4.503941
0.181306
0.049506
0.075259
0.050631
0.547693
0.522565
0.47706
0.445556
0.374797
0.363545
0
0.031841
0.194262
12,200
390
106
31.282051
0.781892
0.314672
0
0.333333
0
0
0.000752
0
0
0
0
0.002564
0.015385
1
0.241026
false
0
0.030769
0.020513
0.553846
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
571bd1fe64e860e6d322d6e73e3e7d7f3ecfdd85
1,812
py
Python
api/serializers.py
vault-the/babybuddy
162f117cef019771ef6393146a0c63110e337d7f
[ "BSD-2-Clause" ]
null
null
null
api/serializers.py
vault-the/babybuddy
162f117cef019771ef6393146a0c63110e337d7f
[ "BSD-2-Clause" ]
null
null
null
api/serializers.py
vault-the/babybuddy
162f117cef019771ef6393146a0c63110e337d7f
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from rest_framework import serializers from django.contrib.auth.models import User from core.models import (Child, DiaperChange, Feeding, Note, Sleep, Timer, TummyTime) class UserSerializer(serializers.ModelSerializer): cl...
25.166667
74
0.652318
157
1,812
7.464968
0.382166
0.061433
0.095563
0.243174
0.372014
0.302901
0.302901
0
0
0
0
0.000716
0.229581
1,812
71
75
25.521127
0.838825
0.011589
0
0.288889
0
0
0.111794
0
0
0
0
0
0
1
0
false
0
0.088889
0
0.577778
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
57274d5ad028b8cfaac51b613c5031385bdcc49b
245
py
Python
date-and-time/src/datetime-methods.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
1
2019-01-02T15:04:08.000Z
2019-01-02T15:04:08.000Z
date-and-time/src/datetime-methods.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
date-and-time/src/datetime-methods.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
from datetime import datetime armstrong = datetime(1969, 7, 21, 14, 56, 15) armstrong.date() # datetime.date(1969, 7, 21) armstrong.time() # datetime.time(14, 56, 15) armstrong.weekday() # 0 # in US week starts with Sunday
27.222222
60
0.653061
35
245
4.571429
0.571429
0.0625
0.0875
0.1875
0
0
0
0
0
0
0
0.141361
0.220408
245
8
61
30.625
0.696335
0.35102
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
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
572b0c7a04025ada73c655adcb4168c73cc06898
818
py
Python
bvlapi/api/team/matches_by_guid.py
alanverresen/bvl-api
8db768c4393f054bdf314cbcbd47eb408647f877
[ "MIT" ]
1
2021-09-27T14:54:39.000Z
2021-09-27T14:54:39.000Z
bvlapi/api/team/matches_by_guid.py
alanverresen/bvl-api
8db768c4393f054bdf314cbcbd47eb408647f877
[ "MIT" ]
null
null
null
bvlapi/api/team/matches_by_guid.py
alanverresen/bvl-api
8db768c4393f054bdf314cbcbd47eb408647f877
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Contains function to call API for information about a team's games. from bvlapi.api.call import call_api from bvlapi.api.settings import API_BASE_URL from bvlapi.common.exceptions import InvalidGuid from bvlapi.guid.team import is_team_guid def get_matches_by_guid(gu...
31.461538
77
0.731051
121
818
4.834711
0.495868
0.068376
0.05812
0
0
0
0
0
0
0
0
0.002972
0.177262
818
25
78
32.72
0.86627
0.45599
0
0
0
0
0.142169
0.06988
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
573496f486686bdfe8e5159c49bf991ffeb984d1
507
py
Python
core/filebrowser/urls.py
yesw2000/panda-bigmon-core
b45cef335209547cbe8abe65ec67754d7864bec1
[ "Apache-2.0" ]
null
null
null
core/filebrowser/urls.py
yesw2000/panda-bigmon-core
b45cef335209547cbe8abe65ec67754d7864bec1
[ "Apache-2.0" ]
null
null
null
core/filebrowser/urls.py
yesw2000/panda-bigmon-core
b45cef335209547cbe8abe65ec67754d7864bec1
[ "Apache-2.0" ]
null
null
null
""" filebrowser.urls """ from django.conf.urls import include, url from django.conf import settings from django.conf.urls.static import static from django.contrib import admin ### #FIXME admin.autodiscover() import views as filebrowser_views urlpatterns = [ url(r'^$', filebrowser_views.index, name='filebrows...
28.166667
96
0.745562
65
507
5.707692
0.384615
0.107817
0.113208
0.097035
0
0
0
0
0
0
0
0
0.116371
507
17
97
29.823529
0.828125
0.086785
0
0
0
0
0.170022
0.067114
0
0
0
0.058824
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
573d937b857780e5b6543f0d03e2cf90b3cf54c4
809
py
Python
src/Gon/stock_info_spyder.py
somewheve/Listed-company-news-crawl-and-text-analysis
242e6634fc5c5accbba5680bd9db319f837b992e
[ "MIT" ]
1
2020-12-21T12:24:33.000Z
2020-12-21T12:24:33.000Z
src/Gon/stock_info_spyder.py
somewheve/Listed-company-news-crawl-and-text-analysis
242e6634fc5c5accbba5680bd9db319f837b992e
[ "MIT" ]
null
null
null
src/Gon/stock_info_spyder.py
somewheve/Listed-company-news-crawl-and-text-analysis
242e6634fc5c5accbba5680bd9db319f837b992e
[ "MIT" ]
2
2021-07-05T02:42:43.000Z
2022-02-20T09:42:58.000Z
""" https://waditu.com/document/2 """ import __init__ from spyder import Spyder from Kite import config import tushare as ts ts.set_token(config.TUSHARE_TOKEN) import akshare as ak class StockInfoSpyder(Spyder): def __init__(self): super(StockInfoSpyder, self).__init__() self.db = self.db_obj...
23.794118
102
0.720643
122
809
4.254098
0.434426
0.046243
0.077071
0.1079
0.150289
0.115607
0
0
0
0
0
0.003035
0.185414
809
33
103
24.515152
0.784522
0
0
0
0
0
0.010363
0
0
0
0
0
0
0
null
null
0.052632
0.263158
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
57463a582ed2e3fcb6ea6c19e92ca301d8ecc3bf
537
py
Python
main.py
shemerofir/skaffold-auto-docs
20a05d79fd5df1e1ca8dc356c627dda06dd4720a
[ "MIT" ]
null
null
null
main.py
shemerofir/skaffold-auto-docs
20a05d79fd5df1e1ca8dc356c627dda06dd4720a
[ "MIT" ]
null
null
null
main.py
shemerofir/skaffold-auto-docs
20a05d79fd5df1e1ca8dc356c627dda06dd4720a
[ "MIT" ]
null
null
null
from get_config import get_config from get_ansible import get_ansible from get_helm import get_helm from get_skaffold import get_skaffold from get_docker import get_docker from get_minikube import get_minikube from get_regs import get_registries from edit_hosts import edit_hosts from c_registry import c_registry if _...
23.347826
37
0.750466
77
537
4.766234
0.233766
0.133515
0
0
0
0
0
0
0
0
0
0
0.189944
537
22
38
24.409091
0.843678
0.018622
0
0.105263
0
0
0.015534
0
0
0
0
0
0
1
0
true
0
0.473684
0
0.473684
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
93910f1b5419e0bb000a03a1a7c5ced21b5ea04a
16,979
py
Python
pysnmp/PDN-DSLAM-SYSTEM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/PDN-DSLAM-SYSTEM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/PDN-DSLAM-SYSTEM-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 PDN-DSLAM-SYSTEM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PDN-DSLAM-SYSTEM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:29:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
136.927419
2,717
0.748925
1,992
16,979
6.383032
0.104418
0.029729
0.025482
0.019819
0.418561
0.372788
0.338026
0.323476
0.30232
0.302084
0
0.092703
0.089581
16,979
123
2,718
138.04065
0.729849
0.019671
0
0
0
0
0.117156
0.006552
0
0
0
0
0
1
0
false
0.025862
0.094828
0
0.094828
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
93a0c4200b7b16121885be617ed4e6ea91e5931c
3,646
py
Python
subirarchivos/models.py
Ax-Angel/NuevoGeco
3407a9c8a399da6bdaf65c7cb20826c54b1b6c72
[ "MIT" ]
4
2018-09-13T16:26:30.000Z
2018-12-05T15:00:38.000Z
subirarchivos/models.py
Ax-Angel/NuevoGeco
3407a9c8a399da6bdaf65c7cb20826c54b1b6c72
[ "MIT" ]
1
2022-01-15T01:14:23.000Z
2022-01-15T01:14:23.000Z
subirarchivos/models.py
Ax-Angel/NuevoGeco
3407a9c8a399da6bdaf65c7cb20826c54b1b6c72
[ "MIT" ]
null
null
null
from django.conf import settings from django.db import models from .validators import validate_file_extension # Create your models here. class NormalProject(models.Model): name = models.CharField(max_length=100, null=False, unique=True) owner = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='owner_nor...
42.395349
119
0.765771
452
3,646
5.951327
0.172566
0.049071
0.052045
0.078067
0.607063
0.533457
0.48513
0.444981
0.405576
0.405576
0
0.008569
0.135765
3,646
85
120
42.894118
0.845129
0.007954
0
0.384615
0
0
0.050083
0.018539
0
0
0
0
0
1
0.184615
false
0
0.046154
0.123077
0.938462
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
93dbe7cce27f491df18d16bc25ab7f5dc5241579
2,108
py
Python
Config/HEADERS.py
solider245/Requests_Html_Spider
3ea30f8f16f88e8f2934b411fa720c76ad054482
[ "Apache-2.0" ]
10
2018-11-21T09:38:03.000Z
2021-02-01T07:13:37.000Z
Config/HEADERS.py
solider245/Requests_Html_Spider
3ea30f8f16f88e8f2934b411fa720c76ad054482
[ "Apache-2.0" ]
null
null
null
Config/HEADERS.py
solider245/Requests_Html_Spider
3ea30f8f16f88e8f2934b411fa720c76ad054482
[ "Apache-2.0" ]
8
2019-03-21T13:33:08.000Z
2021-02-01T07:20:49.000Z
#!/usr/bin/env python # encoding: utf-8 """ @version: v1.0 @author: W_H_J @license: Apache Licence @contact: 415900617@qq.com @software: PyCharm @file: HEADERS.py @time: 2018/9/26 17:31 @describe: 请求头集合--爬虫请求头信息在此配置 'User-Agent': '%s' % UserAgent.pc_agent() 启用轮换浏览器请求头 """ import os import sys sys.path.app...
42.16
616
0.679791
265
2,108
5.29434
0.554717
0.008553
0.008553
0.040627
0.316465
0.316465
0.297933
0.297933
0.297933
0.297933
0
0.1875
0.142315
2,108
49
617
43.020408
0.588496
0.165085
0
0.482759
0
0.103448
0.659416
0.455638
0
0
0
0
0
1
0
false
0
0.103448
0
0.103448
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
93f972859c4eb87504d39058cd49057b65188426
797
py
Python
main.py
bjtuer-math/GSMBCD
651de3b6c7a538c9623d932a66a5dd287a350c59
[ "Apache-2.0" ]
null
null
null
main.py
bjtuer-math/GSMBCD
651de3b6c7a538c9623d932a66a5dd287a350c59
[ "Apache-2.0" ]
null
null
null
main.py
bjtuer-math/GSMBCD
651de3b6c7a538c9623d932a66a5dd287a350c59
[ "Apache-2.0" ]
null
null
null
import pickle with open('argfile','r') as f: data=pickle.load(f) #data[0].u_rules=['stochastic_lb','Lb','stochastic_lb_double'] data[0].u_rules=['Lb-NN_refined_sto_double','Lb-NN_refined','Lb-NN_refined_sto'] data[0].s_rules=['GS','Random','all'] #data[0].u_rules=['Lb-NN_refined_sto'] #data[0].s_rules=['all'] d...
29.518519
92
0.716437
156
797
3.429487
0.378205
0.168224
0.185047
0.183178
0.334579
0.297196
0.297196
0.297196
0
0
0
0.094488
0.043915
797
26
93
30.653846
0.607612
0.351317
0
0
0
0
0.324165
0.157171
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
93fb95b7d85a3c3fea6da2891213c8f55f3d932b
175
py
Python
examples/python/cpu/scalars/scalar_cast_01.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
27
2018-08-16T21:32:49.000Z
2021-11-30T10:31:08.000Z
examples/python/cpu/scalars/scalar_cast_01.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
null
null
null
examples/python/cpu/scalars/scalar_cast_01.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
13
2018-08-17T17:33:16.000Z
2021-11-30T10:31:09.000Z
import pyOcean_cpu as ocean s = ocean.cdouble(3+4j) print(s) print(s.asPython()) print(s.imag.asPython()) print(s.real.asPython()) print(int(s.real)) print(float(s.real))
13.461538
27
0.708571
31
175
3.967742
0.483871
0.195122
0.227642
0
0
0
0
0
0
0
0
0.012658
0.097143
175
12
28
14.583333
0.765823
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.75
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
f513523bcafa517b51bb659dd3fb307f92e2b621
364
py
Python
examples/crypto/rsaEncrypt.py
aaronize/pooryam
91e8f7c7b5bb982ba8e64f26e1556327dc8be64e
[ "MIT" ]
null
null
null
examples/crypto/rsaEncrypt.py
aaronize/pooryam
91e8f7c7b5bb982ba8e64f26e1556327dc8be64e
[ "MIT" ]
3
2020-06-05T20:20:38.000Z
2021-06-10T21:21:11.000Z
examples/crypto/rsaEncrypt.py
aaronize/pooryam
91e8f7c7b5bb982ba8e64f26e1556327dc8be64e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import rsa def do_encrypt(plain_data): # rsa.encrypt(plainMessage, ) pass def do_decrypt(cipher_data): pass if __name__ == "__main__": message = "hello world" pubkey = "" # 加密 cipherMessage = rsa.encrypt(message.en...
14
58
0.587912
40
364
5.05
0.725
0.049505
0
0
0
0
0
0
0
0
0
0.003861
0.288462
364
25
59
14.56
0.776062
0.200549
0
0.2
0
0
0.072797
0
0
0
0
0
0
0
null
null
0.2
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
f518137da6ecb113c89a79defef1ac55d0df24d0
4,740
py
Python
sacorg/algorithms/blitzstein_diaconis/blitzstein_diaconis.py
abdcelikkanat/sacorg
8501b0825ef6bbc705a2c34d3aa8799265f4ecc7
[ "Apache-2.0" ]
null
null
null
sacorg/algorithms/blitzstein_diaconis/blitzstein_diaconis.py
abdcelikkanat/sacorg
8501b0825ef6bbc705a2c34d3aa8799265f4ecc7
[ "Apache-2.0" ]
null
null
null
sacorg/algorithms/blitzstein_diaconis/blitzstein_diaconis.py
abdcelikkanat/sacorg
8501b0825ef6bbc705a2c34d3aa8799265f4ecc7
[ "Apache-2.0" ]
null
null
null
from sacorg.utils import * from sacorg.algorithms.isgraphical import * def s(deg_seq): """ Generates a sample graph for a given degree sequence d :param deg_seq: Given degree sequence :return E, p, c: edges with vertex labels starting from 1, probability of the generated graph a...
35.111111
116
0.590506
687
4,740
3.998544
0.227074
0.030579
0.034947
0.021842
0.407718
0.319621
0.297779
0.297779
0.297779
0.297779
0
0.01418
0.315612
4,740
135
117
35.111111
0.832614
0.235232
0
0.276923
1
0
0.036483
0
0
0
0
0
0
0
null
null
0
0.030769
null
null
0.061538
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
f51abd62c2563e717eea8134959e3a8d2b439ce6
490
py
Python
books/learn-python-the-hard-way/ex29.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
1
2021-04-21T09:38:38.000Z
2021-04-21T09:38:38.000Z
books/learn-python-the-hard-way/ex29.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
34
2019-12-16T16:53:24.000Z
2022-01-13T02:29:30.000Z
books/learn-python-the-hard-way/ex29.py
phiratio/lpthw
a32240d4355fb331805d515f96e1d009914e5c47
[ "MIT" ]
null
null
null
people = 20 cats = 30 dogs = 15 if people < cats: print(f'Too many Cats! The world is doomed!') if people > cats: print(f'Not many cats! The world is saved') if people > dogs: print(f'The world is drooled on') if people < dogs: print(f'The world is dry') dogs += 5 if people >= dogs: print(...
14.848485
54
0.636735
85
490
3.670588
0.329412
0.179487
0.192308
0.272436
0.778846
0.548077
0.548077
0.461538
0.282051
0.282051
0
0.019126
0.253061
490
32
55
15.3125
0.833333
0
0
0
0
0
0.408163
0
0
0
0
0
0
1
0
false
0
0
0
0
0.388889
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f5428a21aa90c2a2145214bb83427cd8d4eb5a6b
104
py
Python
beyond_the_basics/01.organizing_larger_programs/reader/__main__.py
tonper19/PythonDemos
633a40e282049e511fd965c0afe104e775a2f526
[ "MIT" ]
null
null
null
beyond_the_basics/01.organizing_larger_programs/reader/__main__.py
tonper19/PythonDemos
633a40e282049e511fd965c0afe104e775a2f526
[ "MIT" ]
null
null
null
beyond_the_basics/01.organizing_larger_programs/reader/__main__.py
tonper19/PythonDemos
633a40e282049e511fd965c0afe104e775a2f526
[ "MIT" ]
null
null
null
import sys import reader r = reader.Reader(sys.argv[1]) try: print(r.read()) finally: r.close()
13
30
0.653846
17
104
4
0.647059
0
0
0
0
0
0
0
0
0
0
0.011765
0.182692
104
7
31
14.857143
0.788235
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
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
f545690f67fac69609321a909ec8773ed276b1d8
279
py
Python
commands/server/start.py
dccs-tech/mcmi-cluster
500534f3adf35f39c253023244cc150d6d07e872
[ "Apache-2.0" ]
1
2021-02-05T22:53:15.000Z
2021-02-05T22:53:15.000Z
commands/server/start.py
dccs-tech/mcmi-cluster
500534f3adf35f39c253023244cc150d6d07e872
[ "Apache-2.0" ]
4
2021-04-07T20:44:18.000Z
2021-07-02T18:30:43.000Z
commands/server/start.py
dccs-tech/mcmi-cluster
500534f3adf35f39c253023244cc150d6d07e872
[ "Apache-2.0" ]
null
null
null
from systems.commands.index import Command class Start(Command('server.start')): def exec(self): def start_server(server): self.data("Starting server", str(server)) server.start() self.run_list(self.server_instances, start_server)
23.25
58
0.655914
34
279
5.264706
0.529412
0.122905
0
0
0
0
0
0
0
0
0
0
0.229391
279
11
59
25.363636
0.832558
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f54e5e07f230dfd2541943991f56e7e9061ddc3d
2,277
py
Python
oslash/state.py
stjordanis/OSlash
c271c7633daf9d72393b419cfc9229e427e6a42a
[ "MIT" ]
668
2015-03-26T12:32:55.000Z
2022-03-27T13:28:42.000Z
oslash/state.py
stjordanis/OSlash
c271c7633daf9d72393b419cfc9229e427e6a42a
[ "MIT" ]
20
2016-03-01T06:56:57.000Z
2020-12-29T09:41:39.000Z
oslash/state.py
stjordanis/OSlash
c271c7633daf9d72393b419cfc9229e427e6a42a
[ "MIT" ]
54
2015-03-21T08:18:12.000Z
2021-09-02T22:07:51.000Z
from typing import Callable, Tuple, Any, TypeVar, Generic from .util import Unit from .typing import Functor from .typing import Monad TState = TypeVar("TState") TSource = TypeVar("TSource") TResult = TypeVar("TResult") class State(Generic[TSource, TState]): """The state monad. Wraps stateful computations....
28.4625
98
0.599034
281
2,277
4.797153
0.252669
0.035608
0.050445
0.065282
0.099407
0.099407
0.099407
0.057864
0
0
0
0
0.261748
2,277
79
99
28.822785
0.801904
0.261309
0
0.135135
0
0
0.096942
0
0
0
0
0
0.054054
1
0.27027
false
0
0.108108
0.081081
0.648649
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
f56e36d73774aedeb26a36b61be25ed0650e339f
2,615
py
Python
continuity/tasks.py
scast/continuity-docker
9536f71c8ed59d5b2088d2fdd51a46cd23485f11
[ "BSD-3-Clause" ]
null
null
null
continuity/tasks.py
scast/continuity-docker
9536f71c8ed59d5b2088d2fdd51a46cd23485f11
[ "BSD-3-Clause" ]
null
null
null
continuity/tasks.py
scast/continuity-docker
9536f71c8ed59d5b2088d2fdd51a46cd23485f11
[ "BSD-3-Clause" ]
null
null
null
from dockermap.map.config import ClientConfiguration from dockermap.api import MappingDockerClient from fabric.api import (cd, env, execute, hide, local, prefix, prompt, puts, roles, run, sudo, task) from fabric.utils import abort from fabric.colors import cyan, green, red, yellow from fabric.c...
30.057471
78
0.593881
311
2,615
4.897106
0.437299
0.035456
0.023638
0.027577
0.034143
0
0
0
0
0
0
0.005956
0.29369
2,615
86
79
30.406977
0.818625
0.04283
0
0.125
0
0
0.104832
0
0
0
0
0.011628
0
0
null
null
0.017857
0.125
null
null
0.053571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
f577fac19a4af84ac0e01db8f7f5f6afa278ac9e
601
py
Python
deepnlpf/core/execute.py
deepnlpf/deepnlpf
6508ab1e8fd395575d606ee20223f25591541e25
[ "Apache-2.0" ]
3
2020-04-11T14:12:45.000Z
2020-05-30T16:31:06.000Z
deepnlpf/core/execute.py
deepnlpf/deepnlpf
6508ab1e8fd395575d606ee20223f25591541e25
[ "Apache-2.0" ]
34
2020-03-20T19:36:40.000Z
2022-03-20T13:00:32.000Z
deepnlpf/core/execute.py
deepnlpf/deepnlpf
6508ab1e8fd395575d606ee20223f25591541e25
[ "Apache-2.0" ]
1
2020-09-05T06:44:15.000Z
2020-09-05T06:44:15.000Z
# -*- coding: utf-8 -*- import deepnlpf.log as log class Execute (object): """ Execute Scripts External in Outher Language Programation. """ def __init__(self): pass def run_r(self, script, *args): import rpy2.robjects as ro r = ro.r r.source(script) ...
24.04
90
0.557404
72
601
4.527778
0.611111
0.03681
0.067485
0
0
0
0
0
0
0
0
0.004975
0.331115
601
25
91
24.04
0.80597
0.134775
0
0
0
0
0.015564
0
0
0
0
0
0
1
0.2
false
0.066667
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
f5884457c18d688ff51aa3b715fb0b4acdfb4d1a
243
py
Python
practice1/5.1.py
StanislavDanilov/python3_course
3e73fb2bb96662cfc7d84eb08a6535a82ce194af
[ "MIT" ]
null
null
null
practice1/5.1.py
StanislavDanilov/python3_course
3e73fb2bb96662cfc7d84eb08a6535a82ce194af
[ "MIT" ]
null
null
null
practice1/5.1.py
StanislavDanilov/python3_course
3e73fb2bb96662cfc7d84eb08a6535a82ce194af
[ "MIT" ]
null
null
null
day = int(input(": ")) m = int(input(": ")) year = int(input(": ")) if m == 2: m = 12 elif m == 1: m = 11 else: m -= 2 c = year%100 print((day + ((13*m -1) //5) + year + year + (year //4 + c//4 - 2*c + 777)) % 7 ) #not job !!!!
15.1875
81
0.419753
43
243
2.372093
0.511628
0.235294
0
0
0
0
0
0
0
0
0
0.122807
0.296296
243
15
82
16.2
0.473684
0.049383
0
0
0
0
0.026087
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
1
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
f58963ac9588c465b9f3e4f13841856995bf326b
138
py
Python
prvsnlib/context.py
acoomans/prvsn
af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e
[ "BSD-2-Clause" ]
null
null
null
prvsnlib/context.py
acoomans/prvsn
af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e
[ "BSD-2-Clause" ]
null
null
null
prvsnlib/context.py
acoomans/prvsn
af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e
[ "BSD-2-Clause" ]
null
null
null
class ProvisioningContext: def __init__(self): self.runbook = None self.role = None context = ProvisioningContext()
17.25
31
0.666667
13
138
6.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.253623
138
8
31
17.25
0.854369
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
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
f58d1f7bbbc3a0882a6bb2608ad0f93869a3ba34
740
py
Python
src/python/validators/test_email_validator.py
phoffmeister/polyglot-registration
51f5c50ad669bee795ab2743f2b2789f8b12ee4c
[ "BSD-3-Clause" ]
3
2020-10-28T19:51:49.000Z
2021-04-05T13:11:46.000Z
src/python/validators/test_email_validator.py
phoffmeister/polyglot-registration
51f5c50ad669bee795ab2743f2b2789f8b12ee4c
[ "BSD-3-Clause" ]
26
2020-10-28T03:04:20.000Z
2020-11-21T13:17:35.000Z
src/python/validators/test_email_validator.py
phoffmeister/polyglot-registration
51f5c50ad669bee795ab2743f2b2789f8b12ee4c
[ "BSD-3-Clause" ]
17
2020-10-28T08:03:42.000Z
2021-04-05T13:14:20.000Z
import unittest from email_validator import EmailValidator class TestEmailValidator(unittest.TestCase): def test_validates_document(self): email_validator = EmailValidator() test_data = [ ("person@example.com", True), ("person@co", True), ("name.lastname@example...
32.173913
72
0.566216
76
740
5.407895
0.473684
0.170316
0.182482
0.20438
0.218978
0.153285
0.153285
0.153285
0
0
0
0.007605
0.289189
740
22
73
33.636364
0.773764
0
0
0
0
0
0.22973
0.033784
0
0
0
0
0.052632
1
0.052632
false
0
0.105263
0
0.210526
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f5a15436591da4cbedd70311ce2bdd7bb25caf71
1,054
py
Python
councilmatic_core/migrations/0013_auto_20160707_1957.py
tor-councilmatic/django-councilmatic
7c339c98a8df543a76f9204293db4bfad38c6f1e
[ "MIT" ]
1
2016-07-19T22:39:19.000Z
2016-07-19T22:39:19.000Z
councilmatic_core/migrations/0013_auto_20160707_1957.py
tor-councilmatic/django-councilmatic
7c339c98a8df543a76f9204293db4bfad38c6f1e
[ "MIT" ]
null
null
null
councilmatic_core/migrations/0013_auto_20160707_1957.py
tor-councilmatic/django-councilmatic
7c339c98a8df543a76f9204293db4bfad38c6f1e
[ "MIT" ]
1
2016-07-19T22:40:05.000Z
2016-07-19T22:40:05.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-07 23:57 from __future__ import unicode_literals from django.db import migrations import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('councilmatic_core', '0012_auto_20160707_1859'), ] operations = [ ...
28.486486
79
0.591082
100
1,054
6.06
0.47
0.123762
0.165017
0.191419
0.552805
0.552805
0.552805
0.552805
0.552805
0.552805
0
0.058047
0.280835
1,054
36
80
29.277778
0.741425
0.063567
0
0.551724
1
0
0.10061
0.023374
0
0
0
0
0
1
0
false
0
0.103448
0
0.206897
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
19103300b441e2efe3619010fec5c8ef4e7ffeb1
3,601
py
Python
tests/scripts/thread-cert/pktverify/null_field.py
AdityaHPatwardhan/openthread
a201e9d5d0273bb51fa20efc8758be20a725018e
[ "BSD-3-Clause" ]
2,962
2016-05-11T15:06:06.000Z
2022-03-27T20:06:16.000Z
tests/scripts/thread-cert/pktverify/null_field.py
AdityaHPatwardhan/openthread
a201e9d5d0273bb51fa20efc8758be20a725018e
[ "BSD-3-Clause" ]
5,899
2016-05-11T19:21:49.000Z
2022-03-31T18:17:20.000Z
tests/scripts/thread-cert/pktverify/null_field.py
AdityaHPatwardhan/openthread
a201e9d5d0273bb51fa20efc8758be20a725018e
[ "BSD-3-Clause" ]
1,113
2016-05-11T15:37:42.000Z
2022-03-31T09:37:04.000Z
#!/usr/bin/env python3 # # Copyright (c) 2019, The OpenThread Authors. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright # ...
29.516393
78
0.663149
447
3,601
5.190157
0.395973
0.03319
0.036207
0.040948
0.265517
0.194828
0.194828
0.17069
0.17069
0.17069
0
0.004934
0.268259
3,601
121
79
29.760331
0.875522
0.539572
0
0.12766
0
0
0.017894
0
0
0
0
0
0.276596
1
0.297872
false
0.021277
0
0.085106
0.574468
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
19178a82f28ae5512b2f1782dc6d7880aa8a1980
1,602
py
Python
pydash/Dash/Measurement/Metric/__init__.py
ensomniac/dash
5a5cabd1a1d057015dd1446b6b1000af1e521355
[ "MIT" ]
null
null
null
pydash/Dash/Measurement/Metric/__init__.py
ensomniac/dash
5a5cabd1a1d057015dd1446b6b1000af1e521355
[ "MIT" ]
null
null
null
pydash/Dash/Measurement/Metric/__init__.py
ensomniac/dash
5a5cabd1a1d057015dd1446b6b1000af1e521355
[ "MIT" ]
null
null
null
#!/usr/bin/python # # 2022 Ryan Martin, ryan@ensomniac.com # Andrew Stet, stetandrew@gmail.com class _Metric: def __init__(self): pass @property def DisplayName(self): return "Metric" @property def AssetPath(self): return "metric" @property def UnitModules(s...
19.536585
78
0.581149
157
1,602
5.815287
0.363057
0.108434
0.046002
0.052574
0.059146
0
0
0
0
0
0
0.003788
0.340824
1,602
81
79
19.777778
0.860795
0.076779
0
0.166667
0
0
0.048847
0.017639
0
0
0
0
0
1
0.222222
false
0.018519
0.092593
0.092593
0.537037
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
192d05ed9bd284f1fa25d4edb6e64234cc4a48db
812
py
Python
openprocurement/tender/cfaselectionua/models/submodels/organizationAndPocuringEntity.py
tarasvaskiv/openprocurement.tender.cfaselectionua
6c4e1bcff13fd582e745d394c4f5fb0ffd76929e
[ "Apache-2.0" ]
null
null
null
openprocurement/tender/cfaselectionua/models/submodels/organizationAndPocuringEntity.py
tarasvaskiv/openprocurement.tender.cfaselectionua
6c4e1bcff13fd582e745d394c4f5fb0ffd76929e
[ "Apache-2.0" ]
3
2019-02-06T14:19:42.000Z
2019-03-25T15:05:52.000Z
openprocurement/tender/cfaselectionua/models/submodels/organizationAndPocuringEntity.py
tarasvaskiv/openprocurement.tender.cfaselectionua
6c4e1bcff13fd582e745d394c4f5fb0ffd76929e
[ "Apache-2.0" ]
1
2019-03-25T14:53:12.000Z
2019-03-25T14:53:12.000Z
from openprocurement.api.models import Organization as BaseOrganization from openprocurement.tender.cfaselectionua.models.submodels.contactpoint import ContactPoint from schematics.types import StringType from schematics.types.compound import ModelType from openprocurement.api.roles import RolesFromCsv from openprocure...
35.304348
92
0.773399
77
812
8.090909
0.493506
0.12199
0.105939
0.089888
0.109149
0
0
0
0
0
0
0
0.137931
812
22
93
36.909091
0.89
0.04064
0
0
0
0
0.058594
0
0
0
0
0
0
1
0
false
0
0.375
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
193cc4b1e8c33e6e2aed454d3e22e6a017f7d997
356
py
Python
mmrotate/core/bbox/iou_calculators/builder.py
williamcorsel/mmrotate
00a3b9af34c4e36c82616d98fdb91b468d4cfb34
[ "Apache-2.0" ]
449
2022-02-18T08:26:58.000Z
2022-03-31T11:58:32.000Z
mmrotate/core/bbox/iou_calculators/builder.py
williamcorsel/mmrotate
00a3b9af34c4e36c82616d98fdb91b468d4cfb34
[ "Apache-2.0" ]
162
2022-02-18T09:54:46.000Z
2022-03-31T15:40:46.000Z
mmrotate/core/bbox/iou_calculators/builder.py
williamcorsel/mmrotate
00a3b9af34c4e36c82616d98fdb91b468d4cfb34
[ "Apache-2.0" ]
98
2022-02-18T08:28:48.000Z
2022-03-31T08:52:11.000Z
# Copyright (c) OpenMMLab. All rights reserved. from mmcv.utils import build_from_cfg from mmdet.core.bbox.iou_calculators.builder import IOU_CALCULATORS ROTATED_IOU_CALCULATORS = IOU_CALCULATORS def build_iou_calculator(cfg, default_args=None): """Builder of IoU calculator.""" return build_from_cfg(cfg, ROT...
32.363636
69
0.811798
50
356
5.48
0.52
0.255474
0.087591
0
0
0
0
0
0
0
0
0
0.11236
356
10
70
35.6
0.867089
0.205056
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
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
1
0
0
0
0
2
194b80e18ef849fa95b6dcc3e77f899c4859833c
435
py
Python
tests/ts4/contracts/user_subscription.py
tonred/tonclick
942c1012a1112616da0887437a93912e3dd537b9
[ "Apache-2.0" ]
null
null
null
tests/ts4/contracts/user_subscription.py
tonred/tonclick
942c1012a1112616da0887437a93912e3dd537b9
[ "Apache-2.0" ]
null
null
null
tests/ts4/contracts/user_subscription.py
tonred/tonclick
942c1012a1112616da0887437a93912e3dd537b9
[ "Apache-2.0" ]
2
2021-10-17T14:08:16.000Z
2022-01-12T10:55:33.000Z
from tonos_ts4 import ts4 class UserSubscription(ts4.BaseContract): def __init__(self, address: ts4.Address): super().__init__('UserSubscription', {}, nickname='UserSubscription', address=address) @property def active(self) -> bool: return self.call_getter('isActive', {'_answer_id': 0}) ...
27.1875
94
0.675862
49
435
5.673469
0.530612
0.079137
0.100719
0.129496
0.201439
0.201439
0
0
0
0
0
0.016949
0.186207
435
15
95
29
0.768362
0
0
0.2
0
0
0.163218
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
194cde3eb42f11dfc40eebc0f9bcc817acd001d4
315
py
Python
thirdpart/pools.py
by46/geek
04b08d0dff80c524bd471ead3fe524423eebf123
[ "MIT" ]
null
null
null
thirdpart/pools.py
by46/geek
04b08d0dff80c524bd471ead3fe524423eebf123
[ "MIT" ]
null
null
null
thirdpart/pools.py
by46/geek
04b08d0dff80c524bd471ead3fe524423eebf123
[ "MIT" ]
null
null
null
from gevent import socket from geventconnpool import ConnectionPool class MyPool(ConnectionPool): def _new_connection(self): return socket.create_connection(("www.baidu.com", 80)) if __name__ == '__main__': pool = MyPool(20) with pool.get() as conn: conn.send("PING\n")
22.5
63
0.663492
38
315
5.210526
0.789474
0
0
0
0
0
0
0
0
0
0
0.016461
0.228571
315
13
64
24.230769
0.798354
0
0
0
0
0
0.089404
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
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
0
0
0
0
1
1
0
0
2
194e6905532a18f9bd170dec2416fa1c8f15e1e0
13,437
py
Python
public/pylib/holdoutgroup.py
shaileshakarte28/SFMC
cc25a0b0a5291f0bae000ecc19bf5e872a391342
[ "MIT" ]
null
null
null
public/pylib/holdoutgroup.py
shaileshakarte28/SFMC
cc25a0b0a5291f0bae000ecc19bf5e872a391342
[ "MIT" ]
null
null
null
public/pylib/holdoutgroup.py
shaileshakarte28/SFMC
cc25a0b0a5291f0bae000ecc19bf5e872a391342
[ "MIT" ]
null
null
null
import requests import json import xmltodict import datetime from math import ceil import jxmlease import operator import random from operator import itemgetter import time from json import loads, dumps def auth(clientId: str, clientSecret: str, accountId:str ) -> requests.Response: end_...
47.989286
230
0.428816
1,123
13,437
5.077471
0.18878
0.039284
0.018941
0.025254
0.673799
0.673799
0.657138
0.650123
0.642932
0.642932
0
0.045974
0.459329
13,437
280
231
47.989286
0.738885
0.013173
0
0.641434
0
0.059761
0.774734
0.088974
0
0
0
0
0
1
0.007968
false
0
0.043825
0
0.067729
0.039841
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
197ccf042928307fb32790f1c802dffb8574dd44
249
py
Python
src/backend/marsha/development/urls.py
insad/marsha
3c6627b9a1debbb594e43233df7b7edb88f57f45
[ "MIT" ]
null
null
null
src/backend/marsha/development/urls.py
insad/marsha
3c6627b9a1debbb594e43233df7b7edb88f57f45
[ "MIT" ]
null
null
null
src/backend/marsha/development/urls.py
insad/marsha
3c6627b9a1debbb594e43233df7b7edb88f57f45
[ "MIT" ]
null
null
null
"""Marsha Development app URLs configuration.""" from django.urls import path from .views import DevelopmentLTIView app_name = "development" urlpatterns = [ path("development/", DevelopmentLTIView.as_view(), name="lti-development-view"), ]
19.153846
84
0.746988
27
249
6.814815
0.592593
0
0
0
0
0
0
0
0
0
0
0
0.128514
249
12
85
20.75
0.847926
0.168675
0
0
0
0
0.21393
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1981bfd74ad7bc978060172420e3ec6d1c737337
425
py
Python
tests/test_ml.py
ChuaHanChong/MLOps-Project
c153cd602a7115bb78373dde897761927cf28cf7
[ "MIT" ]
null
null
null
tests/test_ml.py
ChuaHanChong/MLOps-Project
c153cd602a7115bb78373dde897761927cf28cf7
[ "MIT" ]
3
2021-08-15T09:44:45.000Z
2021-08-15T13:02:53.000Z
tests/test_ml.py
ChuaHanChong/MLOps-Project
c153cd602a7115bb78373dde897761927cf28cf7
[ "MIT" ]
null
null
null
"""Test for loading ml module.""" import inspect import unittest from pathlib import Path class TestImportModule(unittest.TestCase): """Module testing.""" def test_import_ml(self): """Test ml module.""" import ml self.assertEqual( inspect.getfile(ml), str(Path...
19.318182
65
0.6
47
425
5.12766
0.595745
0.06639
0.116183
0
0
0
0
0
0
0
0
0
0.256471
425
21
66
20.238095
0.762658
0.138824
0
0
0
0
0.068571
0
0
0
0
0
0.083333
1
0.083333
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5fd727c03c0bc819b44757d327e443a2c6091941
218
py
Python
example/docs/conf.py
zenitysec/sphinx-rego
5eafe148ea516c04e78dc3dd03d20388f8d293bb
[ "MIT" ]
13
2021-04-21T07:52:34.000Z
2022-02-12T07:21:54.000Z
example/docs/conf.py
zenitysec/sphinx-rego
5eafe148ea516c04e78dc3dd03d20388f8d293bb
[ "MIT" ]
null
null
null
example/docs/conf.py
zenitysec/sphinx-rego
5eafe148ea516c04e78dc3dd03d20388f8d293bb
[ "MIT" ]
1
2021-04-21T17:22:52.000Z
2021-04-21T17:22:52.000Z
project = 'sphinx-rego example' copyright = '2021, sphinx-rego' author = 'sphinx-rego' release = '1' extensions = ["sphinxrego.ext"] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] html_theme = 'alabaster'
18.166667
55
0.692661
26
218
5.653846
0.846154
0.204082
0
0
0
0
0
0
0
0
0
0.026455
0.133028
218
11
56
19.818182
0.751323
0
0
0
0
0
0.43578
0
0
0
0
0
0
1
0
false
0
0
0
0
0
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
27088f7ff30cc427c35eff448654d6eb9f841f78
529
py
Python
basics/deque_example.py
examplehub/Python
cd9dd9feb6dd65c2e0d545b5154a0f684e5c1e17
[ "Apache-2.0" ]
9
2020-10-03T06:52:35.000Z
2021-09-08T03:22:59.000Z
basics/deque_example.py
Shubhanshu156/Python-1
3bd617843dfae1e9f4855a68a0f9663ea9180da5
[ "Apache-2.0" ]
8
2020-10-03T06:52:37.000Z
2021-09-25T08:11:53.000Z
basics/deque_example.py
Shubhanshu156/Python-1
3bd617843dfae1e9f4855a68a0f9663ea9180da5
[ "Apache-2.0" ]
3
2020-10-25T08:25:50.000Z
2021-09-05T11:16:17.000Z
def main() -> None: """ >>> from collections import deque >>> queue = deque(["Python", "Java", "C"]) >>> len(queue) 3 >>> queue deque(['Python', 'Java', 'C']) >>> queue.popleft() 'Python' >>> queue.popleft() 'Java' >>> queue.clear() >>> len(queue) 0 >>> queue ...
18.241379
46
0.506616
54
529
4.814815
0.537037
0.115385
0.123077
0.153846
0.161538
0
0
0
0
0
0
0.005376
0.296786
529
28
47
18.892857
0.693548
0.642722
0
0
0
0
0.079208
0
0
0
0
0
0
1
0.25
true
0
0.25
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
1
1
0
0
0
0
0
0
2
274bba2e572c10e5f4c99a27e642a48fb3e6a253
2,038
py
Python
architecture/editor_manager.py
hkdeman/termineditor
a393b15438e7b3d15eef67e97d308d391bdf3019
[ "MIT" ]
null
null
null
architecture/editor_manager.py
hkdeman/termineditor
a393b15438e7b3d15eef67e97d308d391bdf3019
[ "MIT" ]
null
null
null
architecture/editor_manager.py
hkdeman/termineditor
a393b15438e7b3d15eef67e97d308d391bdf3019
[ "MIT" ]
null
null
null
from curses.textpad import rectangle import curses ORIGIN_Y, ORIGIN_X = 5,2 class EditorManager: def __init__(self,std_scr): self.std_scr = std_scr self.height, self.width = self.std_scr.getmaxyx() self.origin_y, self.origin_x = 5, 2 self.canvas_height, self.canvas_width = self.h...
31.353846
109
0.630029
297
2,038
4.107744
0.228956
0.131148
0.090164
0.065574
0.319672
0.27623
0.204918
0.204918
0.154098
0.154098
0
0.016437
0.25368
2,038
65
110
31.353846
0.78501
0
0
0.14
0
0
0.010299
0
0
0
0
0
0
1
0.24
false
0.1
0.04
0
0.3
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
2757dfa7d95a47fe469d0e4d9ca65b87659bb87d
441
py
Python
src/text_utils/symbols_dict.py
stefantaubert/text-utils
8fc52df37b6cbc5409695f16b7295be61107052c
[ "MIT" ]
null
null
null
src/text_utils/symbols_dict.py
stefantaubert/text-utils
8fc52df37b6cbc5409695f16b7295be61107052c
[ "MIT" ]
22
2020-12-19T18:54:03.000Z
2021-11-08T15:24:39.000Z
src/text_utils/symbols_dict.py
stefantaubert/text-utils
8fc52df37b6cbc5409695f16b7295be61107052c
[ "MIT" ]
null
null
null
from collections import Counter, OrderedDict from pathlib import Path from text_utils.utils import parse_json, save_json class SymbolsDict(OrderedDict): # Tuple[str, int] def save(self, file_path: Path): save_json(file_path, self) @classmethod def load(cls, file_path: Path): data = parse_json(file_pa...
23.210526
50
0.741497
61
441
5.196721
0.459016
0.100946
0.07571
0
0
0
0
0
0
0
0
0
0.1678
441
18
51
24.5
0.86376
0.034014
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.076923
0.692308
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
275e2d74c05a2e29b4dabfca9adb568a6f9f0aeb
1,849
py
Python
docker_registry_frontend/manifest.py
cschaba/docker-registry-frontend
93fe4bec031534938f362f1dccfb876806efeb69
[ "MIT" ]
21
2018-04-12T10:26:27.000Z
2021-12-02T23:14:10.000Z
docker_registry_frontend/manifest.py
cschaba/docker-registry-frontend
93fe4bec031534938f362f1dccfb876806efeb69
[ "MIT" ]
14
2017-06-29T19:28:22.000Z
2021-02-10T08:17:53.000Z
docker_registry_frontend/manifest.py
cschaba/docker-registry-frontend
93fe4bec031534938f362f1dccfb876806efeb69
[ "MIT" ]
10
2018-02-27T14:15:47.000Z
2021-03-16T09:20:36.000Z
import abc import functools import json import operator class DockerRegistryManifest(abc.ABC): def __init__(self, content): self._content = content def get_created_date(self): raise NotImplementedError def get_entrypoint(self): raise NotImplementedError def get_exposed_ports...
24.986486
70
0.664684
202
1,849
5.782178
0.30198
0.066781
0.066781
0.072774
0.329623
0.130993
0.08476
0
0
0
0
0.002878
0.248242
1,849
73
71
25.328767
0.83741
0
0
0.294118
0
0
0.067604
0
0
0
0
0
0
1
0.294118
false
0.019608
0.078431
0.098039
0.607843
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
2782d0db993f0124121af66b9930674dc49f7356
402
py
Python
Web_Scraping/PluMA/PluMA/items.py
movingpictures83/PluMA-GUI
e5493c5ca43887512ef7445c1cf02179e3da7006
[ "MIT" ]
null
null
null
Web_Scraping/PluMA/PluMA/items.py
movingpictures83/PluMA-GUI
e5493c5ca43887512ef7445c1cf02179e3da7006
[ "MIT" ]
1
2021-01-28T20:48:29.000Z
2021-01-28T20:48:29.000Z
Web_Scraping/PluMA/PluMA/items.py
movingpictures83/PluMA-GUI
e5493c5ca43887512ef7445c1cf02179e3da7006
[ "MIT" ]
1
2020-09-18T04:27:42.000Z
2020-09-18T04:27:42.000Z
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class PlumaItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() Name = scrapy.Field() Description = scrapy.Field() Langua...
23.647059
53
0.676617
53
402
5.132075
0.603774
0.242647
0.110294
0
0
0
0
0
0
0
0
0
0.206468
402
16
54
25.125
0.852665
0.467662
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2