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
a9e038f65e8da59f86a3f7830fd28ce55cc2fa38
1,947
py
Python
sprint.py
managedkaos/100-days-of-code-bot
dc7188917adb424b981d9deeeec6f5fe2fc97159
[ "MIT" ]
null
null
null
sprint.py
managedkaos/100-days-of-code-bot
dc7188917adb424b981d9deeeec6f5fe2fc97159
[ "MIT" ]
null
null
null
sprint.py
managedkaos/100-days-of-code-bot
dc7188917adb424b981d9deeeec6f5fe2fc97159
[ "MIT" ]
null
null
null
# pylint: disable=C0114 # TODO: Convert this into a function XD from datetime import date from datetime import timedelta as delta import os, requests, sys length = delta(days = 100) today = date.today() # Sprint attributes: # - start dates are 1/1, 5/1, and 9/1 (year dosen't matter) # - end dates are 100 days after ...
38.94
100
0.614792
261
1,947
4.563218
0.337165
0.060453
0.076406
0.060453
0.151134
0.080605
0
0
0
0
0
0.028178
0.21623
1,947
49
101
39.734694
0.752294
0.130457
0
0
0
0
0.189318
0
0
0
0
0.020408
0
1
0
false
0
0.088235
0
0.088235
0.470588
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
a9e17bac878caca71bb8a3eaac1923a80b30d7b8
2,785
py
Python
code/todo-app/final/chalicelib/db.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
code/todo-app/final/chalicelib/db.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
code/todo-app/final/chalicelib/db.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
from uuid import uuid4 from boto3.dynamodb.conditions import Key DEFAULT_USERNAME = "default" class TodoDB(object): def list_items(self): pass def add_item(self, description, metadata=None): pass def get_item(self, uid): pass def delete_item(self, uid): pass def update_item(self, uid, description=None, sta...
39.225352
169
0.735727
384
2,785
5.166667
0.135417
0.056452
0.115927
0.039315
0.688004
0.594758
0.534778
0.516129
0.428427
0.428427
0
0.001661
0.135368
2,785
71
170
39.225352
0.822259
0
0
0.492958
0
0
0.067121
0
0
0
0
0
0
1
0.267606
false
0.070423
0.028169
0.028169
0.450704
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
a9e43bbbaca6ffcc52ea4dd9635c9d35894c2be1
2,910
py
Python
sner/server/password_supervisor.py
bodik/sner4-web
cb054d79c587b2f8468c73a88754b7c0d5cd5a95
[ "MIT" ]
9
2019-05-15T11:33:43.000Z
2022-02-17T04:05:28.000Z
sner/server/password_supervisor.py
bodik/sner4
cb054d79c587b2f8468c73a88754b7c0d5cd5a95
[ "MIT" ]
1
2019-03-01T11:48:13.000Z
2019-03-01T11:48:13.000Z
sner/server/password_supervisor.py
bodik/sner4-web
cb054d79c587b2f8468c73a88754b7c0d5cd5a95
[ "MIT" ]
3
2020-03-03T21:06:37.000Z
2021-01-11T14:40:56.000Z
# This file is part of sner4 project governed by MIT license, see the LICENSE.txt file. """ password supervisor service """ import re import secrets import string from crypt import crypt, mksalt, METHOD_SHA512 # pylint: disable=no-name-in-module from hashlib import sha512 from hmac import compare_digest class Passw...
29.393939
141
0.627148
327
2,910
5.498471
0.422018
0.041713
0.022247
0.040044
0.062848
0.051724
0.051724
0.036707
0.036707
0.036707
0
0.016901
0.268041
2,910
98
142
29.693878
0.82723
0.175258
0
0.213115
0
0.016393
0.108398
0
0
0
0
0
0
1
0.163934
false
0.180328
0.098361
0
0.508197
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
a9e6b321cbcd1edcb4eb0eb263701cc7fe1c4c75
1,966
py
Python
RI/flask_server/tapi_server/models/tapi_connectivity_connection_ref.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
57
2018-04-09T08:56:18.000Z
2022-03-23T08:31:06.000Z
RI/flask_server/tapi_server/models/tapi_connectivity_connection_ref.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
143
2016-06-08T04:09:54.000Z
2018-02-23T10:45:59.000Z
RI/flask_server/tapi_server/models/tapi_connectivity_connection_ref.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
64
2018-03-07T07:55:17.000Z
2022-03-28T07:14:28.000Z
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from tapi_server.models.base_model_ import Model from tapi_server import util class TapiConnectivityConnectionRef(Model): """NOTE: This class is auto generated by...
29.343284
105
0.677009
206
1,966
6.262136
0.330097
0.23876
0.162791
0.073643
0.434884
0.249612
0.209302
0.209302
0.209302
0
0
0.014915
0.249746
1,966
66
106
29.787879
0.859661
0.463886
0
0.086957
0
0
0.08371
0.032805
0
0
0
0
0
1
0.173913
false
0
0.217391
0
0.521739
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
a9ee1cf8e130e1df16f5fb39574aa6241710e34f
1,081
py
Python
intake/serializers/application_transfer_serializer.py
cforlando/intake
a5233d5c0f862f28ee265b9b4831405aabeec7e2
[ "MIT" ]
51
2016-07-20T02:26:57.000Z
2021-07-07T14:45:06.000Z
intake/serializers/application_transfer_serializer.py
enterstudio/intake
793a8935914fdc8356321ec46e54d9ae1eeeee04
[ "MIT" ]
1,091
2016-04-29T18:07:45.000Z
2021-04-19T18:39:39.000Z
intake/serializers/application_transfer_serializer.py
enterstudio/intake
793a8935914fdc8356321ec46e54d9ae1eeeee04
[ "MIT" ]
24
2016-06-14T18:10:43.000Z
2021-11-14T20:26:39.000Z
from intake import models from rest_framework import serializers from . import fields class IncomingTransferSerializer(serializers.ModelSerializer): organization_name = serializers.SerializerMethodField() author_name = serializers.SerializerMethodField() local_date = serializers.SerializerMethodField() ...
31.794118
67
0.715079
103
1,081
7.262136
0.339806
0.171123
0.096257
0.088235
0.272727
0.184492
0.112299
0
0
0
0
0
0.214616
1,081
33
68
32.757576
0.881037
0
0
0
0
0
0.059204
0
0
0
0
0
0
1
0.153846
false
0
0.115385
0.153846
0.653846
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
e70273fea7d7bb9be6cfcea6ec6c16b42f763637
1,474
py
Python
home/migrations/0017_remove_restaurant_date_remove_restaurant_start_time_and_more.py
divyesh1099/goparty
7e2f189aa195824d31d349d25bdbe9c853209a42
[ "MIT" ]
null
null
null
home/migrations/0017_remove_restaurant_date_remove_restaurant_start_time_and_more.py
divyesh1099/goparty
7e2f189aa195824d31d349d25bdbe9c853209a42
[ "MIT" ]
null
null
null
home/migrations/0017_remove_restaurant_date_remove_restaurant_start_time_and_more.py
divyesh1099/goparty
7e2f189aa195824d31d349d25bdbe9c853209a42
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-05-03 21:53 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0016_rename_restaurantfeatures_restaurantfeature'), ] operations = [ migrations.RemoveField( ...
30.708333
131
0.585482
140
1,474
6.042857
0.414286
0.074468
0.134752
0.163121
0.444444
0.444444
0.291962
0.291962
0.13948
0.13948
0
0.027053
0.297829
1,474
47
132
31.361702
0.790338
0.030529
0
0.512195
1
0
0.139453
0.033637
0
0
0
0
0
1
0
false
0
0.04878
0
0.121951
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
e71644cfb5d102b2cef3ef1c0dbff7833919d707
772
py
Python
transports/validators.py
I-TECH-UW/mwachx
e191755c3369208d678fceec68dbb4f5f51c453a
[ "Apache-2.0" ]
3
2015-05-27T14:35:49.000Z
2016-02-26T21:04:32.000Z
transports/validators.py
tperrier/mwachx
94616659dc29843e661b2ecc9a2e7f1d4e81b5a4
[ "Apache-2.0" ]
375
2015-01-31T10:08:34.000Z
2021-06-10T19:44:21.000Z
transports/validators.py
I-TECH-UW/mwachx
e191755c3369208d678fceec68dbb4f5f51c453a
[ "Apache-2.0" ]
6
2016-01-10T19:52:41.000Z
2020-06-15T22:07:24.000Z
class Validator(object): def __init__(self,name,check=None,action=None): self.name = '{0}_validator'.format(name) self.check = check self.action = action def __call__(self,message): return self.check(message) def set(self,action): if not (action == 'check' or actio...
30.88
80
0.626943
90
772
5.166667
0.355556
0.051613
0.047312
0.064516
0
0
0
0
0
0
0
0.001736
0.253886
772
24
81
32.166667
0.805556
0
0
0
0
0
0.09456
0
0
0
0
0
0
1
0.315789
false
0
0
0.105263
0.631579
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
e71995c893a9d316253ea7bd48b5f5659ea3fec1
1,669
py
Python
src/dispatch/plugins/dispatch_google/common.py
jason-azze/dispatch
56a9435d08b32429c6b44f83cb0f5aff5a8b6931
[ "Apache-2.0" ]
null
null
null
src/dispatch/plugins/dispatch_google/common.py
jason-azze/dispatch
56a9435d08b32429c6b44f83cb0f5aff5a8b6931
[ "Apache-2.0" ]
2
2021-03-11T04:29:11.000Z
2021-10-06T21:12:45.000Z
src/dispatch/plugins/dispatch_google/common.py
jason-azze/dispatch
56a9435d08b32429c6b44f83cb0f5aff5a8b6931
[ "Apache-2.0" ]
null
null
null
import json import socket import tempfile from google.oauth2 import service_account import googleapiclient.discovery from .config import ( GOOGLE_SERVICE_ACCOUNT_CLIENT_EMAIL, GOOGLE_SERVICE_ACCOUNT_CLIENT_ID, GOOGLE_SERVICE_ACCOUNT_DELAGATED_ACCOUNT, GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY, GOOGLE_SER...
32.096154
98
0.732774
186
1,669
6.134409
0.322581
0.245399
0.210342
0.096407
0.441718
0.247152
0
0
0
0
0
0.004451
0.192331
1,669
51
99
32.72549
0.841988
0.029359
0
0
0
0
0.076828
0
0
0
0
0
0
1
0.025
false
0
0.15
0
0.2
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e73d28b97614c66ca738e1e4c737e90d85ce9b19
835
py
Python
src/problems/cancel_1112/gen.py
Leomotors/stupid-problems
801213b7646e39530e2fe652c95ec6cd887e7bd1
[ "MIT" ]
null
null
null
src/problems/cancel_1112/gen.py
Leomotors/stupid-problems
801213b7646e39530e2fe652c95ec6cd887e7bd1
[ "MIT" ]
null
null
null
src/problems/cancel_1112/gen.py
Leomotors/stupid-problems
801213b7646e39530e2fe652c95ec6cd887e7bd1
[ "MIT" ]
null
null
null
# * N <= 500, M <= 10000, max(p), max(a) <= 1e6 # * 10 คะแนน : N, max(p), max(a) <= 10, M <= 15 # * 20 คะแนน : N <= 20, M <= 100 # * 30 คะแนน : N <= 69, M <= 420 # * 50 คะแนน : ไม่มีเงื่อนไขเพิ่มเติม def useGenerator(gen): gen("s1", "sample1", 5, 10, 10, 10) gen("s2", "sample2", 7, 10, 9, 9) gen(1, "112 ...
33.4
48
0.48982
173
835
2.421965
0.352601
0.128878
0.107399
0.128878
0.312649
0.26969
0.26969
0
0
0
0
0.393987
0.243114
835
24
49
34.791667
0.253165
0.322156
0
0
0
0
0.093357
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e74daacb5f8aa03a88e92486990e7dd734003673
1,940
py
Python
linchackathon/auth.py
YasserMahfoud/linchackathon
d0cdb7d72aa588847669830e14bb9baa308afc24
[ "MIT" ]
null
null
null
linchackathon/auth.py
YasserMahfoud/linchackathon
d0cdb7d72aa588847669830e14bb9baa308afc24
[ "MIT" ]
null
null
null
linchackathon/auth.py
YasserMahfoud/linchackathon
d0cdb7d72aa588847669830e14bb9baa308afc24
[ "MIT" ]
1
2022-02-28T09:25:47.000Z
2022-02-28T09:25:47.000Z
# -*- coding: utf-8 -*- """ Created on Wed Jan 13 11:08:56 2021 @author: yasse """ # ============================================================================= # Imports # ============================================================================= import requests from . import ipaddr as u from .public import ge...
25.526316
81
0.465464
202
1,940
4.440594
0.618812
0.033445
0.028986
0
0
0
0
0
0
0
0
0.028507
0.312887
1,940
75
82
25.866667
0.644411
0.239175
0
0.176471
0
0
0.616725
0.041812
0
0
0
0
0
1
0.029412
false
0.058824
0.088235
0
0.117647
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
e7523010d534a1b9ddc9737a5e53cd84edd3fabe
553
py
Python
src/app/coursegrab/controllers/untrack_section_controller.py
cuappdev/coursegrab-backend
e69cfaf8bcabae788ebf81e18078f8eb604c79a7
[ "MIT" ]
1
2020-02-28T00:53:34.000Z
2020-02-28T00:53:34.000Z
src/app/coursegrab/controllers/untrack_section_controller.py
cuappdev/coursegrab-backend
e69cfaf8bcabae788ebf81e18078f8eb604c79a7
[ "MIT" ]
31
2019-11-06T22:14:16.000Z
2021-11-03T21:51:40.000Z
src/app/coursegrab/controllers/untrack_section_controller.py
cuappdev/coursegrab-backend
e69cfaf8bcabae788ebf81e18078f8eb604c79a7
[ "MIT" ]
null
null
null
from . import * class UntrackSectionController(AppDevController): def get_path(self): return "/sections/untrack/" def get_methods(self): return ["POST"] @authorize_user def content(self, **kwargs): data = request.get_json() user = kwargs.get("user") catalog_nu...
26.333333
65
0.643761
64
553
5.375
0.578125
0.087209
0
0
0
0
0
0
0
0
0
0
0.249548
553
20
66
27.65
0.828916
0
0
0
0
0
0.113924
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.133333
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
e765b119fb0c58069efcdb5bcbcb88dc12c714c8
257
py
Python
telegramtoken/settings/sample_config.py
kahihia/community
46d55d1029764b8d66278c930a9d574e7d1421d8
[ "MIT" ]
null
null
null
telegramtoken/settings/sample_config.py
kahihia/community
46d55d1029764b8d66278c930a9d574e7d1421d8
[ "MIT" ]
null
null
null
telegramtoken/settings/sample_config.py
kahihia/community
46d55d1029764b8d66278c930a9d574e7d1421d8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- NODE_IP = '127.0.0.1' NODE_PORT = '9718' NODE_USER = 'testuser' NODE_PWD = 'testpassword' STREAM_SMART_LICENSE = 'Telegram-license' STREAM_SMART_LICENSE_ATTESTATION = 'Telegram-license-attestation' STREAM_ISCC = 'telegramTokenJar'
23.363636
65
0.750973
33
257
5.545455
0.636364
0.120219
0.196721
0
0
0
0
0
0
0
0
0.048035
0.108949
257
10
66
25.7
0.751092
0.081712
0
0
0
0
0.397436
0.119658
0
0
0
0
0
1
0
false
0.142857
0
0
0
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
1
0
0
0
0
0
2
e76743f69fad47d5de760eeb8b2c1a2dca1ce8fe
2,354
py
Python
scripts/sfuzz_data_retr.py
sunbeam891/Smart_contract_fuzzing
327873f562028fb3ea241fb0c1dc0f039e8c005d
[ "MIT" ]
1
2021-04-01T09:33:58.000Z
2021-04-01T09:33:58.000Z
scripts/sfuzz_data_retr.py
sunbeam891/Smart_contract_fuzzing
327873f562028fb3ea241fb0c1dc0f039e8c005d
[ "MIT" ]
2
2021-11-09T03:25:40.000Z
2021-11-09T06:23:45.000Z
scripts/sfuzz_data_retr.py
sunbeam891/Smart_contract_fuzzing
327873f562028fb3ea241fb0c1dc0f039e8c005d
[ "MIT" ]
null
null
null
#Script_sFuzz_data_retriever_v0.6 #format = python3 sfuzz_data_retr.py <filename> <contractname> <contracts_folder> import json import os from decimal import Decimal import sys from openpyxl import load_workbook import pandas as pd import coverage_json import vulnerabilities_json filename = sys.argv[1] Contractname = ...
39.898305
89
0.708581
266
2,354
6.075188
0.390977
0.129332
0.189356
0.233911
0.314356
0.165842
0.165842
0.07797
0
0
0
0.007261
0.180969
2,354
59
90
39.898305
0.830913
0.059473
0
0.08
0
0
0.15868
0.009494
0
0
0
0
0
1
0
false
0
0.16
0
0.16
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
e76f72134d51ed0f47cafe05a038eba895df8c92
2,059
py
Python
chapter10/mech.py
NetworkRanger/python-core
f0aa2c4ce0665e559e85aef04c40c42164cd838a
[ "MIT" ]
1
2018-12-29T15:32:06.000Z
2018-12-29T15:32:06.000Z
chapter10/mech.py
NetworkRanger/python-core
f0aa2c4ce0665e559e85aef04c40c42164cd838a
[ "MIT" ]
null
null
null
chapter10/mech.py
NetworkRanger/python-core
f0aa2c4ce0665e559e85aef04c40c42164cd838a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: NetworkRanger # Date: 2019/8/11 9:39 AM from BeautifulSoup import BeautifulSoup, SoupStrainer from mechanize import Browser BS = lambda page: page YOUR_LOGIN = '' YOUR_PASSWD = '' br = Browser() # home page rsp = br.open('http://us.pycon.org/2011/home/') print...
30.731343
99
0.685284
333
2,059
4.204204
0.33033
0.09
0.038571
0.064286
0.393571
0.365
0.21
0.21
0.186429
0.06
0
0.017978
0.135503
2,059
66
100
31.19697
0.768539
0.091306
0
0.272727
0
0
0.40914
0
0
0
0
0
0.204545
0
null
null
0.068182
0.045455
null
null
0.318182
0
0
0
null
0
0
0
0
0
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
e77025bb43131ecd54379f02fd5583a531b73916
581
py
Python
Assignment2/2-1/lib/session.py
Computer-Science-Lecture/ITE2038
3436ab4598e7ace334952156fa7a56b3124b5557
[ "MIT" ]
null
null
null
Assignment2/2-1/lib/session.py
Computer-Science-Lecture/ITE2038
3436ab4598e7ace334952156fa7a56b3124b5557
[ "MIT" ]
null
null
null
Assignment2/2-1/lib/session.py
Computer-Science-Lecture/ITE2038
3436ab4598e7ace334952156fa7a56b3124b5557
[ "MIT" ]
1
2018-09-07T01:47:09.000Z
2018-09-07T01:47:09.000Z
from lib.permission import Permission class Session(object): def __init__(self, user: int, permission: Permission): self.user = user self.permission = permission @property def isAdmin(self) -> bool: return self.permission == Permission.admin def require(): def wrapper(...
27.666667
58
0.567986
59
581
5.525424
0.474576
0.184049
0.147239
0
0
0
0
0
0
0
0
0
0.337349
581
20
59
29.05
0.846753
0
0
0
0
0
0.027539
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.058824
0.647059
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
e77e265dab3efd07cc86c0fb9a999b719d05fb9d
1,053
py
Python
openfe/setup/methods/base.py
OpenFreeEnergy/openfe
f2423ed2e4444a0824ff9b560e23b420c4997c6f
[ "MIT" ]
14
2022-01-24T22:01:19.000Z
2022-03-31T04:58:35.000Z
openfe/setup/methods/base.py
OpenFreeEnergy/openfe
f2423ed2e4444a0824ff9b560e23b420c4997c6f
[ "MIT" ]
109
2022-01-24T18:57:05.000Z
2022-03-31T20:13:07.000Z
openfe/setup/methods/base.py
OpenFreeEnergy/openfe
f2423ed2e4444a0824ff9b560e23b420c4997c6f
[ "MIT" ]
4
2022-01-24T18:45:54.000Z
2022-02-21T06:28:24.000Z
# This code is part of OpenFE and is licensed under the MIT license. # For details, see https://github.com/OpenFreeEnergy/openfe import abc from openff.toolkit.utils.serialization import Serializable class FEMethod(abc.ABC): """Base class for defining a free energy method Child classes must implement: -...
27
71
0.660019
137
1,053
5.036496
0.59854
0.073913
0.086957
0
0
0
0
0
0
0
0
0
0.25736
1,053
38
72
27.710526
0.882353
0.588794
0
0.461538
0
0
0
0
0
0
0
0.026316
0
1
0.230769
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
e77fe1c595ad1068d9142dbaa9c92e34b2d27d6a
3,270
py
Python
util/vis_tool.py
LiderMyHand/AWR-Adaptive-Weighting-Regression
81c4c98edd98cd03d423d820ca1fe9e01dbbb242
[ "MIT" ]
90
2020-03-16T15:18:57.000Z
2022-03-16T10:02:52.000Z
util/vis_tool.py
LiderMyHand/AWR-Adaptive-Weighting-Regression
81c4c98edd98cd03d423d820ca1fe9e01dbbb242
[ "MIT" ]
16
2020-05-01T03:11:44.000Z
2021-12-14T13:03:38.000Z
util/vis_tool.py
LiderMyHand/AWR-Adaptive-Weighting-Regression
81c4c98edd98cd03d423d820ca1fe9e01dbbb242
[ "MIT" ]
16
2020-05-21T09:07:04.000Z
2022-02-22T13:00:19.000Z
import os.path as osp import matplotlib.pyplot as plt import numpy as np import cv2 class VisualUtil: def __init__(self, dataset): self.dataset = dataset # RED BGR self.color_pred = [(0,0,102), (0,0,179), (0,0,255), (77,77,255), (153,153,255)] # self.color_pred = ['#660000', '#b300...
39.39759
89
0.410092
487
3,270
2.648871
0.201232
0.046512
0.037209
0.027907
0.314729
0.255039
0.245736
0.193023
0.127907
0.086047
0
0.204229
0.363609
3,270
82
90
39.878049
0.415666
0.046483
0
0.063492
0
0
0.005163
0
0
0
0
0
0
1
0.063492
false
0
0.063492
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e785fb58d580cc912f9ca3247c8aec7176d88b83
1,087
py
Python
setup.py
yudevan/django-indonesia-regions
5c01798c534e101115a1c943d13c6caa78897e01
[ "MIT" ]
5
2016-06-26T15:18:14.000Z
2020-09-25T06:22:35.000Z
setup.py
yudevan/django-indonesia-regions
5c01798c534e101115a1c943d13c6caa78897e01
[ "MIT" ]
5
2017-10-26T04:01:02.000Z
2021-02-03T04:34:11.000Z
setup.py
yudevan/django-indonesia-regions
5c01798c534e101115a1c943d13c6caa78897e01
[ "MIT" ]
7
2016-06-26T07:04:49.000Z
2021-02-02T13:41:02.000Z
import os from setuptools import find_packages, setup # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-indonesia-regions', version='1.0.6', packages=find_packages(), include_package_data=True, license='MIT ...
33.96875
97
0.651334
122
1,087
5.729508
0.606557
0.16309
0.214592
0.148784
0
0
0
0
0
0
0
0.016413
0.215271
1,087
31
98
35.064516
0.803048
0.034959
0
0
0
0
0.544413
0.04489
0
0
0
0
0
1
0
true
0
0.074074
0
0.074074
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
1
0
0
0
0
0
0
2
e7868823ca8a161623e547b6d7f6127e53f6a1db
534
py
Python
app/back/mongo/data/collect/maps/mongo.py
jgphilpott/polyplot
c46861174ee5881dadffbfb2278d555462523547
[ "MIT" ]
5
2021-05-17T14:17:14.000Z
2021-12-14T12:54:32.000Z
app/back/mongo/data/collect/maps/mongo.py
jgphilpott/iGraph
2a91ba57e4950856a83d3a109753f8f2badee829
[ "MIT" ]
8
2020-02-09T02:48:41.000Z
2021-05-16T04:57:02.000Z
app/back/mongo/data/collect/maps/mongo.py
jgphilpott/iGraph
2a91ba57e4950856a83d3a109753f8f2badee829
[ "MIT" ]
2
2016-09-12T03:48:16.000Z
2019-05-04T14:15:19.000Z
from back.mongo.data.collect.ions import find_collection from back.mongo.data.collect.maps.model import Map def find_map(query={}, filter={"_id": 0}, detail="micro"): collection = find_collection("maps_" + detail) return dict(collection.find_one(query, filter)) def find_maps(query={}, filter={"_id": 0}, sor...
31.411765
99
0.713483
73
534
5.068493
0.410959
0.118919
0.07027
0.091892
0.378378
0.248649
0.248649
0.248649
0
0
0
0.008529
0.121723
534
16
100
33.375
0.780384
0
0
0.222222
0
0
0.076779
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e7b5f75431381733711c32b614a4943fecd06b68
348
py
Python
src/PrintSubscriber.py
mansandersson/modbus-monitor
092c7f05c54a912a60d69f1461aeb54105d7b660
[ "MIT" ]
null
null
null
src/PrintSubscriber.py
mansandersson/modbus-monitor
092c7f05c54a912a60d69f1461aeb54105d7b660
[ "MIT" ]
null
null
null
src/PrintSubscriber.py
mansandersson/modbus-monitor
092c7f05c54a912a60d69f1461aeb54105d7b660
[ "MIT" ]
null
null
null
import Constants from pubsub import pub class PrintSubscriber: def __init__(self, verbose): pub.subscribe(self.valueChanged, Constants.VALUECHANGED_TOPIC) if verbose: print('Print subscriber inited ...') def valueChanged(self, entity): print(entity.dis + ' = ' + str(entity...
29
73
0.678161
39
348
5.871795
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.215517
348
12
73
29
0.838828
0
0
0
0
0
0.08596
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0.222222
0
0
0
null
0
0
0
0
0
0
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
e7c92ca14bcce898f8943bb76fd1a82f7d605a8a
307
py
Python
tests/test_source.py
Kadas36/NEWS-App
ee0504ed04f5e3d8c7e06ea478d163e8209ac425
[ "MIT" ]
null
null
null
tests/test_source.py
Kadas36/NEWS-App
ee0504ed04f5e3d8c7e06ea478d163e8209ac425
[ "MIT" ]
null
null
null
tests/test_source.py
Kadas36/NEWS-App
ee0504ed04f5e3d8c7e06ea478d163e8209ac425
[ "MIT" ]
null
null
null
import unittest from app.models import Source class MovieTest(unittest.TestCase): def setUp(self): self.new_source = Source('cnn','cnn','Elections set for 2020','https://edition.cnn.com/','general','us') def test_instance(self): self.assertTrue(isinstance(self.new_source,Source))
30.7
112
0.70684
41
307
5.219512
0.658537
0.074766
0.121495
0.17757
0
0
0
0
0
0
0
0.015267
0.14658
307
10
113
30.7
0.801527
0
0
0
0
0
0.198052
0
0
0
0
0
0.142857
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
e7c9f67c367034f596fa0db99d380d2232e79275
195
py
Python
steppygraph/test/utils_test.py
mfrawley/steppy-graph
2094c95d2cfe3145ecc42311d799dad8ba2f007b
[ "MIT" ]
4
2019-02-12T21:56:03.000Z
2020-10-19T07:14:44.000Z
steppygraph/test/utils_test.py
mfrawley/steppy-graph
2094c95d2cfe3145ecc42311d799dad8ba2f007b
[ "MIT" ]
null
null
null
steppygraph/test/utils_test.py
mfrawley/steppy-graph
2094c95d2cfe3145ecc42311d799dad8ba2f007b
[ "MIT" ]
null
null
null
from steppygraph.utils import filter_props d = { "_foo": True, "foo": 1 } def test_filter_keys(): o = filter_props(d) assert o['foo'] == True assert '_foo' not in o.keys()
15
42
0.605128
29
195
3.862069
0.586207
0.196429
0.214286
0
0
0
0
0
0
0
0
0.006849
0.251282
195
12
43
16.25
0.760274
0
0
0
0
0
0.071795
0
0
0
0
0
0.222222
1
0.111111
false
0
0.111111
0
0.222222
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e7da5c2603cd6fccdacd996246a799e84c9ef725
2,040
py
Python
restful_falcon/contrib/celery_results/db/model/task.py
wynterwang/restful-falcon
f246e14c8442f358c862c118ae1dfdbd93d9e0a0
[ "MIT" ]
null
null
null
restful_falcon/contrib/celery_results/db/model/task.py
wynterwang/restful-falcon
f246e14c8442f358c862c118ae1dfdbd93d9e0a0
[ "MIT" ]
null
null
null
restful_falcon/contrib/celery_results/db/model/task.py
wynterwang/restful-falcon
f246e14c8442f358c862c118ae1dfdbd93d9e0a0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # __author__ = "wynterwang" # __date__ = "2020/9/18" from __future__ import absolute_import from datetime import datetime from celery import states from restful_falcon.core.db.model import Column from restful_falcon.core.db.model import Model from restful_falcon.core.db.model import Sequence ...
31.384615
98
0.736275
253
2,040
5.675889
0.256917
0.091922
0.106546
0.131616
0.541086
0.48468
0.447075
0.238162
0.183844
0.107242
0
0.014484
0.153922
2,040
64
99
31.875
0.817497
0.063725
0
0.162162
0
0
0.084855
0
0
0
0
0
0
1
0
false
0
0.324324
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
e7db7546214ecb41828bad2746f7c33166640ce9
700
py
Python
mirari/SV/urls.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
mirari/SV/urls.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
18
2019-12-27T19:58:20.000Z
2022-02-27T08:17:49.000Z
mirari/SV/urls.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
from mirari.mirari.urls import * from django.views.generic.base import RedirectView from .views import * from .vars import * app_name = APP urlpatterns = [ path('sv/', sv__Sellpoint__TemplateView.as_view(), name='sv__Sellpoint__TemplateView'), path('api/SellpointApiView/<slug:app>/<slug:action>/<slug:model>/...
46.666667
129
0.775714
76
700
6.75
0.368421
0.05848
0.097466
0.17154
0
0
0
0
0
0
0
0
0.085714
700
15
130
46.666667
0.801563
0
0
0
0
0
0.336662
0.242511
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
99ccf27382ed8c167f71ca16ab953e0670010da4
481
py
Python
test/TestClasse.py
AMadianov/Calc-python
449b6747d3ba6558eaf950a45aa33563aee06238
[ "MIT" ]
null
null
null
test/TestClasse.py
AMadianov/Calc-python
449b6747d3ba6558eaf950a45aa33563aee06238
[ "MIT" ]
null
null
null
test/TestClasse.py
AMadianov/Calc-python
449b6747d3ba6558eaf950a45aa33563aee06238
[ "MIT" ]
null
null
null
import unittest class MyClass(object): def __init__(self, foo): if foo != 1: raise ValueError("foo is not equal to 1!") class MyClass2(object): def __init__(self): pass class TestFoo(unittest.TestCase): def testInsufficientArgs(self): foo = 0 self.assertRaises(...
22.904762
62
0.632017
55
481
5.236364
0.545455
0.0625
0.090278
0.118056
0
0
0
0
0
0
0
0.01385
0.24948
481
21
63
22.904762
0.783934
0
0
0
0
0
0.074689
0
0
0
0
0
0.125
1
0.25
false
0.0625
0.0625
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
0
1
0
0
0
0
0
2
99d3397248d3d1b7a9a0b3eafedbd9115d28514f
544
py
Python
sgfood/forms.py
kylerlee/Restaurant-Reviews-Web-App
795c46a2122717b94830249db005850898dd572a
[ "MIT" ]
null
null
null
sgfood/forms.py
kylerlee/Restaurant-Reviews-Web-App
795c46a2122717b94830249db005850898dd572a
[ "MIT" ]
null
null
null
sgfood/forms.py
kylerlee/Restaurant-Reviews-Web-App
795c46a2122717b94830249db005850898dd572a
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm class UserRegisterForm(UserCreationForm): email = forms.EmailField(label='Email') first_name = forms.CharField( max_length=20, label='First Name', required=False) last_name =...
32
58
0.681985
63
544
5.793651
0.460317
0.082192
0.093151
0.115068
0.186301
0.186301
0.186301
0
0
0
0
0.013921
0.207721
544
16
59
34
0.832947
0
0
0
0
0
0.136029
0
0
0
0
0
0
1
0
false
0.076923
0.230769
0
0.615385
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
99e153d1e909e07a485231b3678975bc8a52fb3d
540
py
Python
CS-190/Labs/Lab6.py
lividsubset3/College-CS
6f1eb6b10e43a37654335331758677c797034961
[ "MIT" ]
null
null
null
CS-190/Labs/Lab6.py
lividsubset3/College-CS
6f1eb6b10e43a37654335331758677c797034961
[ "MIT" ]
null
null
null
CS-190/Labs/Lab6.py
lividsubset3/College-CS
6f1eb6b10e43a37654335331758677c797034961
[ "MIT" ]
null
null
null
# Pair Programming passphrase = "Megmo" and "megmo" null1 = "123" null2 = "letmein" null3 = "password" while True: password = str(input("Please enter password: ")) if null3 in password: print("Incorrect | Password has password inside") if null2 in password: print("Incorrect | password h...
22.5
72
0.655556
66
540
5.363636
0.409091
0.112994
0.127119
0.20339
0.29661
0.29661
0
0
0
0
0
0.037313
0.255556
540
23
73
23.478261
0.843284
0.02963
0
0
0
0
0.342912
0
0
0
0
0
0
1
0
false
0.733333
0
0
0
0.266667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8209e6f9baf6dc11c2faf5266f9168821f205e98
2,243
py
Python
medium/python/c0335_731_my-calendar-ii/00_leetcode_0335.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
medium/python/c0335_731_my-calendar-ii/00_leetcode_0335.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
medium/python/c0335_731_my-calendar-ii/00_leetcode_0335.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 #731. My Calendar II #Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not cause a triple booking. ...
54.707317
212
0.728043
367
2,243
4.435967
0.39782
0.085995
0.034398
0.061425
0.030713
0.030713
0
0
0
0
0
0.03268
0.181453
2,243
41
213
54.707317
0.854031
0.963442
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
820b086050ad75315e1b8b3a7bb8f87684d23be9
173
py
Python
main.py
ichir0roie/mangaSeeFeeder
9871cb079a4c180ce2167b5aa60c48c9423822fe
[ "MIT" ]
1
2021-09-07T14:13:35.000Z
2021-09-07T14:13:35.000Z
main.py
ichir0roie/mangaSeeFeeder
9871cb079a4c180ce2167b5aa60c48c9423822fe
[ "MIT" ]
null
null
null
main.py
ichir0roie/mangaSeeFeeder
9871cb079a4c180ce2167b5aa60c48c9423822fe
[ "MIT" ]
null
null
null
import myPkgs.Scraper # scraping data and save pickle scraper=myPkgs.Scraper.Scraper() scraper.setSubscriptionsPage() scraper.getInfoFromSubScriptions() # create mailHtml
19.222222
34
0.82659
18
173
7.944444
0.666667
0.181818
0
0
0
0
0
0
0
0
0
0
0.092486
173
9
35
19.222222
0.910828
0.260116
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
820fc8eb5d725ac75d1fc9754e8b1b1fc09bf771
404
py
Python
pycats/tests/instances/test_set_inst.py
kykosic/pycats
43b317fcd7a30c95c0b92990b042904f2c338870
[ "Apache-2.0" ]
5
2020-06-12T23:08:28.000Z
2021-09-09T09:18:41.000Z
pycats/tests/instances/test_set_inst.py
kykosic/pycats
43b317fcd7a30c95c0b92990b042904f2c338870
[ "Apache-2.0" ]
1
2020-02-08T20:07:09.000Z
2020-02-08T20:07:09.000Z
pycats/tests/instances/test_set_inst.py
kykosic/pycats
43b317fcd7a30c95c0b92990b042904f2c338870
[ "Apache-2.0" ]
null
null
null
import pycats.instances # noqa: F401 def test_semigroup(): a = {1, 2} b = {2, 4} actual = a.combine(b) expected = {1, 2, 4} assert actual == expected def test_monoid(): actual = list.unit() expected = list() assert actual == expected def test_functor(): a = {1, 2, 3} act...
16.16
37
0.561881
57
404
3.929825
0.45614
0.09375
0.267857
0.205357
0.241071
0
0
0
0
0
0
0.059649
0.294554
404
24
38
16.833333
0.726316
0.024752
0
0.1875
0
0
0
0
0
0
0
0
0.1875
1
0.1875
false
0
0.0625
0
0.25
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
8210337a295e13c410889ae84e0363248842ff40
582
py
Python
Chapter04/name2ldap.py
PacktPublishing/Becming-the-Hacker
90eb5bc093d4b6a4b171e1d4cb0170bc23746846
[ "MIT" ]
27
2019-02-13T16:28:44.000Z
2021-12-16T09:53:36.000Z
Chapter04/name2ldap.py
mirroR72/Becoming-the-Hacker
57093174a107f5ea3abc35bcd3d8267f9448afbb
[ "MIT" ]
1
2019-09-14T18:15:02.000Z
2019-09-14T18:15:02.000Z
Chapter04/name2ldap.py
mirroR72/Becoming-the-Hacker
57093174a107f5ea3abc35bcd3d8267f9448afbb
[ "MIT" ]
17
2019-01-31T10:46:09.000Z
2021-12-16T23:37:27.000Z
with open("linkedin.txt", "r") as fp: for name in iter(fp): first, last = name.strip().lower().split(" ") print first + "." + last # david.lightman print first + last # davidlightman fl = first[0] + last lf = last + first[0] print fl # dlightman ...
30.631579
54
0.475945
69
582
4.014493
0.492754
0.101083
0.101083
0
0
0
0
0
0
0
0
0.044818
0.386598
582
18
55
32.333333
0.731092
0.175258
0
0
0
0
0.042129
0
0
0
0
0
0
0
null
null
0
0
null
null
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
821531d61984ff76dac0b4c73fab4063e3a37fe0
3,008
py
Python
flicks/videos/migrations/0014_auto__del_field_video_user.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
1
2015-07-13T03:29:04.000Z
2015-07-13T03:29:04.000Z
flicks/videos/migrations/0014_auto__del_field_video_user.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
2
2015-03-03T23:02:19.000Z
2019-03-30T04:45:51.000Z
flicks/videos/migrations/0014_auto__del_field_video_user.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
2
2016-04-15T11:43:05.000Z
2016-04-15T11:43:15.000Z
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Video.user' db.delete_column('videos_video', 'user_id') def backwards(self, orm): ...
61.387755
163
0.566489
323
3,008
5.176471
0.325077
0.110048
0.184211
0.263158
0.44677
0.428828
0.385766
0.311603
0.238636
0.117823
0
0.019494
0.198471
3,008
49
164
61.387755
0.673994
0.038564
0
0.05
0
0
0.534441
0.271028
0
0
0
0
0
1
0.05
false
0
0.1
0
0.225
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
8215786d8a3f20e9ccb720b4af31a0f44f648d88
752
py
Python
Support/Fuego/Pythia/pythia-0.4/packages/fuego/fuego/serialization/chemkin/unpickle/mechanisms/Declaration.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
1
2019-04-24T13:32:23.000Z
2019-04-24T13:32:23.000Z
Support/Fuego/Pythia/pythia-0.4/packages/fuego/fuego/serialization/chemkin/unpickle/mechanisms/Declaration.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
null
null
null
Support/Fuego/Pythia/pythia-0.4/packages/fuego/fuego/serialization/chemkin/unpickle/mechanisms/Declaration.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
null
null
null
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2003 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~...
22.117647
82
0.408245
60
752
4.916667
0.65
0.223729
0
0
0
0
0
0
0
0
0
0.014898
0.285904
752
33
83
22.787879
0.534451
0.509309
0
0
0
0
0.143662
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
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
82217d544e3cd1e38f1b553da33b7d271e94aff5
389
py
Python
morepath/tests/fixtures/method.py
DuncanBetts/morepath
acad10489b051df9c512f6735a9338854745a599
[ "BSD-3-Clause" ]
null
null
null
morepath/tests/fixtures/method.py
DuncanBetts/morepath
acad10489b051df9c512f6735a9338854745a599
[ "BSD-3-Clause" ]
null
null
null
morepath/tests/fixtures/method.py
DuncanBetts/morepath
acad10489b051df9c512f6735a9338854745a599
[ "BSD-3-Clause" ]
null
null
null
import morepath class app(morepath.App): pass class StaticMethod(object): pass class Root(object): def __init__(self): self.value = 'ROOT' @staticmethod @app.path(model=StaticMethod, path='static') def static_method(): return StaticMethod() @app.view(model=StaticMethod) ...
15.56
48
0.678663
45
389
5.711111
0.444444
0.140078
0.116732
0
0
0
0
0
0
0
0
0
0.210797
389
24
49
16.208333
0.837134
0
0
0.133333
0
0
0.059126
0
0
0
0
0
0
1
0.2
false
0.133333
0.066667
0.133333
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
1
0
0
0
2
822a62340464846a070b674b57e4a94852e76fd0
2,261
py
Python
molo/surveys/migrations/0014_update_skip_logic.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
null
null
null
molo/surveys/migrations/0014_update_skip_logic.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
88
2016-06-14T18:36:18.000Z
2018-09-21T07:33:58.000Z
molo/surveys/migrations/0014_update_skip_logic.py
praekeltfoundation/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
1
2017-10-02T09:27:45.000Z
2017-10-02T09:27:45.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2017-10-11 13:10 from __future__ import unicode_literals from django.db import migrations import molo.surveys.blocks import wagtail.core.blocks class Migration(migrations.Migration): dependencies = [ ('surveys', '0013_add_streamfield_for_skip_logic...
62.805556
661
0.693941
269
2,261
5.732342
0.319703
0.064202
0.099222
0.044099
0.649805
0.649805
0.649805
0.649805
0.649805
0.649805
0
0.011012
0.156568
2,261
35
662
64.6
0.797588
0.030075
0
0.428571
1
0
0.323744
0.062557
0
0
0
0
0
1
0
false
0
0.142857
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
822c0a167631eafd04070f9a246d9fdcf6b1dbe4
533
py
Python
esp32/tempsensor/boot.py
Steve-Fisher/PiExperiments
81a08b99b53ed9921353cf436b09b40650032a2b
[ "MIT" ]
null
null
null
esp32/tempsensor/boot.py
Steve-Fisher/PiExperiments
81a08b99b53ed9921353cf436b09b40650032a2b
[ "MIT" ]
null
null
null
esp32/tempsensor/boot.py
Steve-Fisher/PiExperiments
81a08b99b53ed9921353cf436b09b40650032a2b
[ "MIT" ]
null
null
null
try: import usocket as socket except: import socket from time import sleep from machine import Pin import onewire, ds18x20 import network import esp esp.osdebug(None) import gc gc.collect() ds_pin = Pin(4) ds_sensor = ds18x20.DS18X20(onewire.OneWire(ds_pin)) ssid = 'ATC24' password = 'Svalbard' station = n...
15.228571
52
0.756098
73
533
5.465753
0.561644
0.025063
0.100251
0
0
0
0
0
0
0
0
0.032538
0.135084
533
35
53
15.228571
0.832972
0.046904
0
0
0
0
0.066929
0
0
0
0
0
0
1
0
false
0.130435
0.347826
0
0.347826
0.086957
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
2
8231b27b0d3005be97ff413b652254876cb7dd03
686
py
Python
src/dal/deleter.py
pgecsenyi/piepy
37bf6cb5bc8c4f9da3f695216beda7353d79fb29
[ "MIT" ]
1
2018-03-26T22:39:36.000Z
2018-03-26T22:39:36.000Z
src/dal/deleter.py
pgecsenyi/piepy
37bf6cb5bc8c4f9da3f695216beda7353d79fb29
[ "MIT" ]
null
null
null
src/dal/deleter.py
pgecsenyi/piepy
37bf6cb5bc8c4f9da3f695216beda7353d79fb29
[ "MIT" ]
null
null
null
class Deleter: #################################################################################################################### # Constructor. #################################################################################################################### def __init__(self, db_context): ...
29.826087
120
0.355685
42
686
5.547619
0.642857
0.23176
0.111588
0
0
0
0
0
0
0
0
0
0.244898
686
22
121
31.181818
0.449807
0.244898
0
0
0
0
0.116071
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
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
8235474f3f587b0e7b47abaf477920cd055a7941
82
py
Python
weather/weatherapi/key.py
Stephen-Kamau/Weather_Api
b9d70f564fe055dc1400dc49d856eed95a9603ee
[ "MIT" ]
1
2020-07-30T12:48:17.000Z
2020-07-30T12:48:17.000Z
weather/weatherapi/key.py
Stephen-Kamau/Weather_Api
b9d70f564fe055dc1400dc49d856eed95a9603ee
[ "MIT" ]
null
null
null
weather/weatherapi/key.py
Stephen-Kamau/Weather_Api
b9d70f564fe055dc1400dc49d856eed95a9603ee
[ "MIT" ]
null
null
null
#my open weather api key to access the resourses api_key = "enter your key here"
20.5
48
0.756098
15
82
4.066667
0.8
0.196721
0
0
0
0
0
0
0
0
0
0
0.195122
82
3
49
27.333333
0.924242
0.573171
0
0
0
0
0.575758
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8244b7448ffcff5ecfd5351a2381a04f5d6caaae
2,577
py
Python
docker/d-streamon-master/d-streamon/streamon/scripts/attacks/generate.py
ferrarimarco/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
2
2017-12-02T10:38:05.000Z
2018-04-22T17:15:01.000Z
docker/d-streamon-master/d-streamon/streamon/scripts/attacks/generate.py
scissor-project/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
67
2017-11-11T15:22:34.000Z
2018-04-24T06:44:59.000Z
docker/d-streamon-master/d-streamon/streamon/scripts/attacks/generate.py
ferrarimarco/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
1
2017-12-07T08:18:49.000Z
2017-12-07T08:18:49.000Z
import random def generateRandomIndex(inputlist): '''(list of str)->str''' return random.choice(inputlist) def readHostFile(fileToPen): '''(str)->list of str''' lines=open(fileToPen,'r') line=lines.readlines() listOfHost=[] for i in line: listOfHost.append(i.strip()) s = ...
21.297521
104
0.593326
289
2,577
5.280277
0.370242
0.050459
0.031455
0.034076
0.111402
0.102228
0.102228
0.087811
0.087811
0
0
0.02648
0.252619
2,577
120
105
21.475
0.765836
0.157548
0
0.111111
1
0
0.113906
0
0
0
0
0
0
0
null
null
0
0.018519
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
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
824559f16f34aa0ee165bce06fd9bf7a0fa99749
73
py
Python
src/base/__init__.py
Gloryness/tassomai-automation
2deef60f6b1a7640afe8c78937f1fd0088e6051c
[ "MIT" ]
34
2020-09-20T12:02:00.000Z
2022-03-22T01:46:28.000Z
src/base/__init__.py
Gloryness/tassomai-automation
2deef60f6b1a7640afe8c78937f1fd0088e6051c
[ "MIT" ]
65
2020-11-11T17:04:15.000Z
2022-03-25T15:41:15.000Z
src/base/__init__.py
Gloryness/tassomai-automation
2deef60f6b1a7640afe8c78937f1fd0088e6051c
[ "MIT" ]
13
2020-11-08T11:26:53.000Z
2022-03-22T01:46:29.000Z
__title__ = 'base' __author__ = 'Gloryness' __license__ = 'MIT License'
14.6
27
0.726027
7
73
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.150685
73
4
28
18.25
0.66129
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
41427dc7083acbd1f30a5967de148b9aeabaff30
5,619
py
Python
Pybernate/Entity.py
lmnoel/pybernate
807750f5d3a5c356d6516ddd81edaa2210269807
[ "MIT" ]
null
null
null
Pybernate/Entity.py
lmnoel/pybernate
807750f5d3a5c356d6516ddd81edaa2210269807
[ "MIT" ]
null
null
null
Pybernate/Entity.py
lmnoel/pybernate
807750f5d3a5c356d6516ddd81edaa2210269807
[ "MIT" ]
null
null
null
from Pybernate.Exceptions import LazyInitializationException class Entity: def __init__(self): self.deleted = False self.dirty = False self.initialized = False def set_dirty(self, state): self.dirty = state def get_dirty(self): return self.dirty def set_delete...
34.685185
119
0.588005
672
5,619
4.6875
0.157738
0.038095
0.038095
0.025397
0.173333
0.142222
0.109206
0.086349
0.086349
0.065397
0
0.001275
0.302189
5,619
162
120
34.685185
0.802091
0.004449
0
0.055118
0
0
0.038083
0
0
0
0
0
0
1
0.275591
false
0.007874
0.007874
0.110236
0.440945
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
41444b1ef7879f2253a4932d8f0e3e78f39e2fa9
101
py
Python
DCAL_utils_special/plotter_utils_consts.py
gamedaygeorge/datacube-applications-library
1b6314ee3465f9f17930391a4c241e981a9e200e
[ "Apache-2.0" ]
null
null
null
DCAL_utils_special/plotter_utils_consts.py
gamedaygeorge/datacube-applications-library
1b6314ee3465f9f17930391a4c241e981a9e200e
[ "Apache-2.0" ]
null
null
null
DCAL_utils_special/plotter_utils_consts.py
gamedaygeorge/datacube-applications-library
1b6314ee3465f9f17930391a4c241e981a9e200e
[ "Apache-2.0" ]
1
2021-02-25T14:19:05.000Z
2021-02-25T14:19:05.000Z
# The number of points to use in smooth curve fits. n_pts_smooth = 2000 default_fourier_n_harm = 10
33.666667
52
0.782178
19
101
3.894737
0.894737
0
0
0
0
0
0
0
0
0
0
0.072289
0.178218
101
3
53
33.666667
0.819277
0.485149
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
41567d586e7fa12a33d4c69f999c3c3a2e0316df
1,324
py
Python
main.py
anandnet/Virtual-Music
d13e6fa83d92816064cad4cce61c7c499d54e921
[ "MIT" ]
1
2021-02-20T05:56:49.000Z
2021-02-20T05:56:49.000Z
main.py
anandnet/Virtual-Music
d13e6fa83d92816064cad4cce61c7c499d54e921
[ "MIT" ]
null
null
null
main.py
anandnet/Virtual-Music
d13e6fa83d92816064cad4cce61c7c499d54e921
[ "MIT" ]
1
2021-02-18T05:59:59.000Z
2021-02-18T05:59:59.000Z
from logging import root from os import name from kivy.animation import Animation from kivy.clock import Clock from kivy.lang import Builder from widgets.loader import Loader from kivy.uix.behaviors import button from kivy.uix.boxlayout import BoxLayout from kivy.uix.anchorlayout import AnchorLayout from kivy.uix.image...
25.960784
56
0.701662
184
1,324
4.858696
0.380435
0.080537
0.073826
0
0
0
0
0
0
0
0
0.006579
0.196375
1,324
50
57
26.48
0.833647
0
0
0
0
0
0.058238
0.019923
0
0
0
0
0
1
0.081081
false
0.027027
0.378378
0
0.513514
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
4165053f103fa07c4e3af8d74e151dd12dc1f794
904
py
Python
manu_sawyer/src/GelSightA.py
robertocalandra/the-feeling-of-success
7bb895897e369ae9f5fcaeed61d401e019a9cdf1
[ "MIT" ]
10
2018-05-31T04:57:25.000Z
2021-05-28T11:22:29.000Z
manu_sawyer/src/GelSightA.py
robertocalandra/the-feeling-of-success
7bb895897e369ae9f5fcaeed61d401e019a9cdf1
[ "MIT" ]
null
null
null
manu_sawyer/src/GelSightA.py
robertocalandra/the-feeling-of-success
7bb895897e369ae9f5fcaeed61d401e019a9cdf1
[ "MIT" ]
3
2018-05-31T05:00:08.000Z
2019-02-25T06:32:45.000Z
#!/usr/bin/env python import rospy from cv_bridge import CvBridge, CvBridgeError from sensor_msgs.msg import Image import multiprocessing class GelSightA: def __init__(self, topic='/gelsightA/image_raw'): # '/gelsightA/image_raw' /image_view_A/output # Variable self.img = None # Used to ...
26.588235
100
0.67146
112
904
5.223214
0.455357
0.082051
0.129915
0
0
0
0
0
0
0
0
0.004335
0.234513
904
33
101
27.393939
0.84104
0.139381
0
0
0
0
0.031048
0
0
0
0
0
0
1
0.25
false
0
0.2
0.05
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4165c6d113e9bcb67cd9c5283014beedef28535b
2,142
py
Python
ingest/common/python/package/streamsx_health/test/TestObservation.py
markheger/streamsx.health
14c27e377aa5947e76b0b681c1d8f5350a56323c
[ "Apache-2.0" ]
45
2016-06-23T21:47:52.000Z
2021-09-06T02:44:51.000Z
ingest/common/python/package/streamsx_health/test/TestObservation.py
markheger/streamsx.health
14c27e377aa5947e76b0b681c1d8f5350a56323c
[ "Apache-2.0" ]
107
2016-06-23T21:49:16.000Z
2020-07-10T13:01:28.000Z
ingest/common/python/package/streamsx_health/test/TestObservation.py
markheger/streamsx.health
14c27e377aa5947e76b0b681c1d8f5350a56323c
[ "Apache-2.0" ]
48
2016-12-01T23:05:38.000Z
2021-12-14T17:11:56.000Z
#**************************************************************************** # Copyright (C) 2017 International Business Machines Corporation # All Rights Reserved # **************************************************************************** import unittest import json from streamsx_health.ingest.Observation import ...
34.548387
315
0.625117
197
2,142
6.700508
0.380711
0.15
0.083333
0.189394
0.30303
0.30303
0
0
0
0
0
0.037479
0.177871
2,142
61
316
35.114754
0.712095
0.110177
0
0.25
0
0.025
0.194532
0.100946
0
0
0
0
0.25
1
0.275
false
0
0.075
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
417535dcc542f83c434ea5ed0d71b62a8ea4e3dc
1,552
py
Python
playerdo/backends/socket.py
spookylukey/playerdo
d020ae43ddee1d77382c20a66b647489f366a9e9
[ "BSD-2-Clause" ]
5
2020-09-21T13:42:24.000Z
2021-02-03T17:12:33.000Z
playerdo/backends/socket.py
spookylukey/playerdo
d020ae43ddee1d77382c20a66b647489f366a9e9
[ "BSD-2-Clause" ]
1
2020-01-13T12:31:07.000Z
2020-01-13T12:34:21.000Z
playerdo/backends/socket.py
spookylukey/playerdo
d020ae43ddee1d77382c20a66b647489f366a9e9
[ "BSD-2-Clause" ]
null
null
null
from __future__ import absolute_import import socket class SocketPlayerBase(object): def send_socket_command(self, command): s = self.get_open_socket() s.send((command + "\n").encode("ascii")) # We never know how much to receive, most of these # protocols send very little data bac...
27.22807
66
0.657861
190
1,552
5.226316
0.436842
0.080564
0.064451
0.057402
0.231621
0.205438
0.205438
0.205438
0.098691
0
0
0.006071
0.257088
1,552
56
67
27.714286
0.85516
0.20232
0
0.28125
0
0
0.01546
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.0625
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
417ffbd4ba1e57bb20138f983895a6ec4d8a43b6
324
py
Python
server/quiz/urls.py
namanwfhsolve/Quiz-API
dcac94da3fb6ae514bbb4feb1abeb595903ce9aa
[ "MIT" ]
null
null
null
server/quiz/urls.py
namanwfhsolve/Quiz-API
dcac94da3fb6ae514bbb4feb1abeb595903ce9aa
[ "MIT" ]
1
2021-07-11T18:37:34.000Z
2021-07-11T18:37:34.000Z
server/quiz/urls.py
namanwfhsolve/Quiz-API
dcac94da3fb6ae514bbb4feb1abeb595903ce9aa
[ "MIT" ]
null
null
null
from django.urls import path from .views import QuizView, QuizDetailView, QuizCreateView urlpatterns = [ path("quizes/", QuizView.as_view(), name="quiz_list_create"), path("create/", QuizCreateView.as_view(), name="quiz_create"), path("quiz/<int:pk>/", QuizDetailView.as_view(), name="quiz_retrive_update")...
32.4
81
0.722222
40
324
5.65
0.525
0.079646
0.132743
0.185841
0
0
0
0
0
0
0
0
0.114198
324
9
82
36
0.787456
0
0
0
0
0
0.228395
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
4182ec15967a7a53ca35c791ffcf894022ac1a7d
618
py
Python
maya/app/renderSetup/views/lightEditor/utils.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/app/renderSetup/views/lightEditor/utils.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/app/renderSetup/views/lightEditor/utils.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
def createDynamicAttribute(nodeName, attrName, attrType, value): pass def findNodeFromMaya(nodeName): pass def findSelectedNodeFromMaya(): pass def resolveIconFile(filename): """ Resolve filenames using the XBMLANGPATH icon searchpath or look through the embedded Qt resources (if the path ...
20.6
99
0.65534
67
618
6.044776
0.597015
0.051852
0.093827
0.103704
0
0
0
0
0
0
0
0
0.278317
618
29
100
21.310345
0.908072
0.580906
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
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
0
1
0
0
0
0
0
2
418670d002d663322a8f470f2873865170a66103
1,908
py
Python
ScoringEngine/ScoringEngine/engine/options/__init__.py
norserage/scoring
b3f5c199b64bb3a78342924349fe6a713257b1a0
[ "MIT" ]
1
2020-07-29T16:12:02.000Z
2020-07-29T16:12:02.000Z
ScoringEngine/ScoringEngine/engine/options/__init__.py
norserage/scoring
b3f5c199b64bb3a78342924349fe6a713257b1a0
[ "MIT" ]
null
null
null
ScoringEngine/ScoringEngine/engine/options/__init__.py
norserage/scoring
b3f5c199b64bb3a78342924349fe6a713257b1a0
[ "MIT" ]
null
null
null
""" Copyright 2016 Brandon Warner Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
25.783784
94
0.648847
238
1,908
5.10084
0.428571
0.049423
0.036244
0.079077
0.223229
0.169687
0.140033
0.140033
0.140033
0.140033
0
0.006433
0.266771
1,908
73
95
26.136986
0.86133
0.290356
0
0.534884
0
0
0.008922
0
0
0
0
0
0
1
0.186047
false
0.093023
0.093023
0.046512
0.55814
0.046512
0
0
0
null
0
0
0
0
0
0
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
418fce67b285434917158142db550cc3c4912d7c
671
py
Python
tests/test_utils.py
kelvinxu/blocks
8081c0f00926e86d20731eb24cf8a61cab3a7529
[ "BSD-3-Clause" ]
1
2015-10-19T07:54:34.000Z
2015-10-19T07:54:34.000Z
tests/test_utils.py
kelvinxu/blocks
8081c0f00926e86d20731eb24cf8a61cab3a7529
[ "BSD-3-Clause" ]
null
null
null
tests/test_utils.py
kelvinxu/blocks
8081c0f00926e86d20731eb24cf8a61cab3a7529
[ "BSD-3-Clause" ]
null
null
null
from numpy.testing import assert_raises from theano import tensor from blocks.utils import check_theano_variable, unpack def test_unpack(): assert unpack((1, 2)) == [1, 2] assert unpack([1, 2]) == [1, 2] assert unpack([1]) == 1 test = object() assert unpack(test) is test assert_raises(ValueEr...
29.173913
54
0.657228
89
671
4.752809
0.292135
0.156028
0.269504
0.066194
0.356974
0.356974
0.356974
0.356974
0.106383
0
0
0.034091
0.213115
671
22
55
30.5
0.767045
0
0
0.117647
0
0
0.023845
0
0
0
0
0
0.470588
1
0.117647
false
0
0.176471
0
0.294118
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
41aeaa22875724364cf9ef95a6d424d9dc584608
3,687
py
Python
LinkedInViewer.py
Glavin001/LinkedInProfileViewer
a743385a88b2a38b5d4fcae94b08d27dee43759a
[ "CC0-1.0" ]
1
2015-07-25T16:20:18.000Z
2015-07-25T16:20:18.000Z
LinkedInViewer.py
Glavin001/LinkedInProfileViewer
a743385a88b2a38b5d4fcae94b08d27dee43759a
[ "CC0-1.0" ]
null
null
null
LinkedInViewer.py
Glavin001/LinkedInProfileViewer
a743385a88b2a38b5d4fcae94b08d27dee43759a
[ "CC0-1.0" ]
null
null
null
import cookielib import os import urllib import urllib2 import re import string from BeautifulSoup import BeautifulSoup from random import random from time import sleep cookie_filename = "parser.cookies.txt" #The script will go through this persons 'also viewed' people. Change this to a profile of any person in the...
32.342105
125
0.606455
433
3,687
5.092379
0.448037
0.065306
0.025397
0.02449
0.065306
0.04263
0.04263
0.04263
0.04263
0.04263
0
0.014101
0.28831
3,687
114
126
32.342105
0.82622
0.136154
0
0.027027
0
0
0.104733
0
0
0
0
0
0
0
null
null
0.054054
0.121622
null
null
0.013514
0
0
0
null
0
0
0
0
0
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
41bc1f9037b836003a997838387cdbfb375a905b
1,509
py
Python
com test.py
brainelectronics/Python-Arduino-Communicator
e721c06e4e2731402c61f553c780f6e6ad996587
[ "FSFAP" ]
null
null
null
com test.py
brainelectronics/Python-Arduino-Communicator
e721c06e4e2731402c61f553c780f6e6ad996587
[ "FSFAP" ]
1
2015-10-24T14:33:11.000Z
2015-10-24T14:38:09.000Z
com test.py
brainelectronics/Python-Arduino-Communicator
e721c06e4e2731402c61f553c780f6e6ad996587
[ "FSFAP" ]
null
null
null
# -*- coding: UTF-8 -*- #!/usr/bin/env python # ---------------------------------------------------------------------------- # Tower Defense # Copyright (c) 2015 brainelectronics # Scharpf, Jonas # # All rights reserved. # # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRES...
37.725
78
0.665341
211
1,509
4.758294
0.625592
0.039841
0.035857
0.044821
0.077689
0
0
0
0
0
0
0.033858
0.158383
1,509
39
79
38.692308
0.756693
0.878728
0
0
0
0
0.190476
0.142857
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
41c7c36420889797027869260f59634279ae7c65
386
py
Python
pw_manager/ui/settings/settings_screen.py
DestinyofYeet/PasswordManagerV2
e70e90f262426f097e902f8e64d2b751717f8900
[ "MIT" ]
null
null
null
pw_manager/ui/settings/settings_screen.py
DestinyofYeet/PasswordManagerV2
e70e90f262426f097e902f8e64d2b751717f8900
[ "MIT" ]
null
null
null
pw_manager/ui/settings/settings_screen.py
DestinyofYeet/PasswordManagerV2
e70e90f262426f097e902f8e64d2b751717f8900
[ "MIT" ]
null
null
null
from pw_manager.utils import utils, constants from pw_manager.ui.settings.color import color from YeetsMenu.menu import Menu from YeetsMenu.option import Option def show(): utils.clear_screen() menu = Menu(utils.get_noice_text("Settings"), colors=constants.colors) menu.add_selectable(Option("Color sett...
24.125
91
0.76943
54
386
5.351852
0.5
0.041522
0.089965
0
0
0
0
0
0
0
0
0
0.132124
386
15
92
25.733333
0.862687
0
0
0
0
0
0.056995
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
68bb5d0db0e0b727efc6187a6b67ad8cb5bad0f9
1,151
py
Python
boundfield_renderer/registry.py
bmampaey/django-form-renderer
b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776
[ "MIT" ]
1
2020-10-09T15:27:47.000Z
2020-10-09T15:27:47.000Z
boundfield_renderer/registry.py
bmampaey/django-form-renderer
b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776
[ "MIT" ]
null
null
null
boundfield_renderer/registry.py
bmampaey/django-form-renderer
b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776
[ "MIT" ]
null
null
null
import inspect from collections import UserDict class RendererRegistry(UserDict): ''' Registry for the form field renderers. A renderer is a function that takes a context dict and returns the html representation of the form field, for example the render method of a Template instance. ''' def __getitem__(s...
25.577778
75
0.741964
159
1,151
5.232704
0.440252
0.064904
0.067308
0
0
0
0
0
0
0
0
0
0.191138
1,151
44
76
26.159091
0.893663
0.552563
0
0
0
0
0.063425
0
0
0
0
0
0
1
0.2
false
0.066667
0.133333
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
68c6139534bf7157139c6f49ef0d7f2bbafd28d8
318
py
Python
quokka/module_template/quokka_module_template/__init__.py
songshansitulv/quokka
5d031d419691285481ec045d42773ed713abdaf7
[ "BSD-3-Clause" ]
1,141
2015-02-19T12:21:16.000Z
2022-03-29T10:07:18.000Z
quokka/module_template/quokka_module_template/__init__.py
songshansitulv/quokka
5d031d419691285481ec045d42773ed713abdaf7
[ "BSD-3-Clause" ]
284
2015-02-23T01:03:55.000Z
2019-12-20T04:54:31.000Z
quokka/module_template/quokka_module_template/__init__.py
songshansitulv/quokka
5d031d419691285481ec045d42773ed713abdaf7
[ "BSD-3-Clause" ]
370
2015-02-19T10:15:19.000Z
2022-03-31T20:08:15.000Z
from .admin import UserView, TweetView def configure(app): app.admin.register( app.db.users, UserView, # category='User', name='User' ) app.admin.register( app.db.get_collection('tweets'), TweetView, # category='User', name='Tweets' )
17.666667
40
0.544025
32
318
5.375
0.53125
0.093023
0.186047
0.22093
0.244186
0
0
0
0
0
0
0
0.327044
318
17
41
18.705882
0.803738
0.103774
0
0.166667
0
0
0.056738
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
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
68d042d8038be826bddc190c99ee0038a473ba8a
260
py
Python
mayan/apps/django_gpg/runtime.py
darrenflexxu/Mayan-EDMS
6707365bfacd137e625ddc1b990168012246fa07
[ "Apache-2.0" ]
null
null
null
mayan/apps/django_gpg/runtime.py
darrenflexxu/Mayan-EDMS
6707365bfacd137e625ddc1b990168012246fa07
[ "Apache-2.0" ]
5
2021-03-19T22:59:52.000Z
2022-03-12T00:13:16.000Z
mayan/apps/django_gpg/runtime.py
Sumit-Kumar-Jha/mayan
5b7ddeccf080b9e41cc1074c70e27dfe447be19f
[ "Apache-2.0" ]
1
2020-07-29T21:03:27.000Z
2020-07-29T21:03:27.000Z
from django.utils.module_loading import import_string from .settings import setting_gpg_path SETTING_GPG_BACKEND = 'mayan.apps.django_gpg.classes.PythonGNUPGBackend' gpg_backend = import_string(SETTING_GPG_BACKEND)( binary_path=setting_gpg_path.value )
26
72
0.846154
36
260
5.722222
0.5
0.194175
0.135922
0
0
0
0
0
0
0
0
0
0.088462
260
9
73
28.888889
0.869198
0
0
0
0
0
0.184615
0.184615
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
68d4f0dba4165b60a9f6a49e7dd00013f11a1692
335
py
Python
Oefeningen/standalone/set.py
Seviran/Python_3
e30ead250129d25bbc0a7ee2f6298775b2f4529a
[ "MIT" ]
null
null
null
Oefeningen/standalone/set.py
Seviran/Python_3
e30ead250129d25bbc0a7ee2f6298775b2f4529a
[ "MIT" ]
null
null
null
Oefeningen/standalone/set.py
Seviran/Python_3
e30ead250129d25bbc0a7ee2f6298775b2f4529a
[ "MIT" ]
null
null
null
math_students = {"Matthew", "Helen", "Prashant", "James", "Asparna"} biology_students = {"Jane", "Matthew", "Charlotte", "Mesut", "Oliver", "James"} # Union (All unique students) students_union = math_students | biology_students # Intersection (Students who are in both sets) students_intersection = math_students & bi...
37.222222
79
0.740299
38
335
6.315789
0.552632
0.15
0.158333
0.225
0
0
0
0
0
0
0
0
0.119403
335
8
80
41.875
0.813559
0.214925
0
0
0
0
0.261538
0
0
0
0
0
0
1
0
false
0
0
0
0
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
68d98076bb5b653763a5e9f475b2dcc2aac6d8ae
577
py
Python
agents.py
lukebabs/autosurf
858a268765bbe4f3ae48d38816597eef0754c6e4
[ "MIT" ]
1
2020-09-23T19:10:42.000Z
2020-09-23T19:10:42.000Z
agents.py
lukebabs/autosurf
858a268765bbe4f3ae48d38816597eef0754c6e4
[ "MIT" ]
null
null
null
agents.py
lukebabs/autosurf
858a268765bbe4f3ae48d38816597eef0754c6e4
[ "MIT" ]
null
null
null
import os, random def get_user_agents(): with open('./data/user-agents.txt') as file: user_agents = [site.strip() for site in file] #function to turn the txt file content into list return user_agents #new list of user_agents in list format class UserAgent(): def __init__(self, user_age...
28.85
106
0.681109
82
577
4.45122
0.47561
0.219178
0.142466
0
0
0
0
0
0
0
0
0
0.227036
577
19
107
30.368421
0.818386
0.147314
0
0
0
0
0.06135
0.04499
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.5
0.071429
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
68e9df88a8438097eecff1b4827fb3a86127f7cc
88
py
Python
output/models/ms_data/regex/re_t61_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/regex/re_t61_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/regex/re_t61_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.regex.re_t61_xsd.re_t61 import Doc __all__ = [ "Doc", ]
14.666667
61
0.715909
15
88
3.666667
0.8
0.181818
0
0
0
0
0
0
0
0
0
0.054054
0.159091
88
5
62
17.6
0.689189
0
0
0
0
0
0.034091
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
68f420504667e37d1a0941ff619b2ce7a315791e
252
py
Python
bot/adapters/bitfinex.py
greenseedyo/triangular_arbitrage
813282715f2c9064a160948a0305b26e15ac1bab
[ "MIT" ]
3
2020-02-26T06:41:22.000Z
2020-06-18T02:22:11.000Z
bot/adapters/bitfinex.py
greenseedyo/triangular_arbitrage
813282715f2c9064a160948a0305b26e15ac1bab
[ "MIT" ]
null
null
null
bot/adapters/bitfinex.py
greenseedyo/triangular_arbitrage
813282715f2c9064a160948a0305b26e15ac1bab
[ "MIT" ]
1
2020-02-26T06:41:28.000Z
2020-02-26T06:41:28.000Z
# -*- coding: utf-8 -*- from bot.adapters.ccxt_adapter import CcxtAdapter from secrets import BITFINEX_KEY, BITFINEX_SECRET class BitfinexAdapter(CcxtAdapter): ccxt_module_name = 'bitfinex' apiKey = BITFINEX_KEY secret = BITFINEX_SECRET
22.909091
49
0.761905
30
252
6.166667
0.633333
0.118919
0
0
0
0
0
0
0
0
0
0.004717
0.15873
252
10
50
25.2
0.867925
0.083333
0
0
0
0
0.034935
0
0
0
0
0
0
1
0
false
0
0.333333
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
ec115fe1a2a4d72124bd94bbcc8e5a9b7e0ee2de
30,311
py
Python
pysnmp/BTI7800-INVENTORY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/BTI7800-INVENTORY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/BTI7800-INVENTORY-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 BTI7800-INVENTORY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BTI7800-INVENTORY-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:24:46 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
114.381132
4,847
0.769853
3,672
30,311
6.247004
0.066449
0.009242
0.012686
0.01674
0.455077
0.355944
0.170801
0.165657
0.165657
0.165657
0
0.073284
0.082973
30,311
264
4,848
114.814394
0.751979
0.011085
0
0.101626
0
0
0.160315
0.074318
0
0
0
0
0
1
0
false
0
0.02439
0
0.207317
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
ec13fe98492730273c7c459f9bb522087bca7d2e
889
py
Python
patient_app/migrations/0006_auto_20200909_1921.py
JuliasBright/SendMoney
d13e2df81bf75a9154abfc57d897a416b4950e80
[ "CC0-1.0" ]
1
2021-01-29T16:57:42.000Z
2021-01-29T16:57:42.000Z
patient_app/migrations/0006_auto_20200909_1921.py
JuliasBright/SendMoney
d13e2df81bf75a9154abfc57d897a416b4950e80
[ "CC0-1.0" ]
null
null
null
patient_app/migrations/0006_auto_20200909_1921.py
JuliasBright/SendMoney
d13e2df81bf75a9154abfc57d897a416b4950e80
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.1 on 2020-09-09 19:21 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('patient_app', '0005_auto_20200817_1713'), ] operations = [ migrations.AlterField( model_name='booking_patient', ...
29.633333
109
0.605174
96
889
5.479167
0.5
0.022814
0.142586
0.165399
0.463878
0.463878
0.463878
0.288973
0.288973
0.288973
0
0.098918
0.272216
889
29
110
30.655172
0.714065
0.048369
0
0.434783
1
0
0.140995
0.027251
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ec19b37d7cd7097b5f677c5e778aa0038e22318d
1,179
py
Python
problems/098.Validate_Binary_Search_Tree/li_inorder.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/098.Validate_Binary_Search_Tree/li_inorder.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/098.Validate_Binary_Search_Tree/li_inorder.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
# coding=utf-8 # Author: Jianghan LI # Question: 098.Validate_Binary_Search_Tree # Date: 2017-04-17 class Solution: def isValidBST(self, root): self.res = [] return self.inOrder(root) def inOrder(self, root): if not root: return True if not self.inOrder(root.left)...
26.2
84
0.619169
160
1,179
4.54375
0.48125
0.090784
0.123796
0.115543
0.5337
0.456671
0.456671
0.261348
0.261348
0.261348
0
0.021176
0.27905
1,179
44
85
26.795455
0.834118
0.318066
0
0.769231
0
0
0.003778
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ec1f28c2ec9b0b2ceb318ed55956b42468f20f98
491
py
Python
app/schemas.py
pnguyenduong/virustracker-api
0622558ceb431667cc0af75f4835455258ec054b
[ "MIT" ]
null
null
null
app/schemas.py
pnguyenduong/virustracker-api
0622558ceb431667cc0af75f4835455258ec054b
[ "MIT" ]
null
null
null
app/schemas.py
pnguyenduong/virustracker-api
0622558ceb431667cc0af75f4835455258ec054b
[ "MIT" ]
null
null
null
from .models import VirusData from app import ma class DataSchema(ma.SQLAlchemyAutoSchema): class Meta: model = VirusData id = ma.auto_field() name = ma.auto_field() case_total = ma.auto_field() case_today = ma.auto_field() recovered_total = ma.auto_field() death_today = ma.au...
20.458333
42
0.682281
64
491
5
0.4375
0.15
0.275
0.15
0
0
0
0
0
0
0
0
0.221996
491
23
43
21.347826
0.837696
0.046843
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ec2292a307aabbcf6f5e4ccd767c69ef19ef7823
153
py
Python
gifts/urls.py
Sahil1515/First-Wish-Website
de973f2a5c682b142c6faba4b127e4d83291dac5
[ "MIT" ]
null
null
null
gifts/urls.py
Sahil1515/First-Wish-Website
de973f2a5c682b142c6faba4b127e4d83291dac5
[ "MIT" ]
null
null
null
gifts/urls.py
Sahil1515/First-Wish-Website
de973f2a5c682b142c6faba4b127e4d83291dac5
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path from gifts import views urlpatterns = [ path('', views.gifts, name='gifts') ]
12.75
39
0.69281
20
153
5.3
0.55
0.188679
0
0
0
0
0
0
0
0
0
0
0.20915
153
11
40
13.909091
0.876033
0
0
0
0
0
0.033113
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
ec25c2f31a3bb3c2ba005535c0d2769771012650
932
py
Python
run_attack_classification.py
justusmattern/dist-embeds
2a5fd97bcfc3eed5c7f11e76d82c4ff49709cbe8
[ "MIT" ]
null
null
null
run_attack_classification.py
justusmattern/dist-embeds
2a5fd97bcfc3eed5c7f11e76d82c4ff49709cbe8
[ "MIT" ]
null
null
null
run_attack_classification.py
justusmattern/dist-embeds
2a5fd97bcfc3eed5c7f11e76d82c4ff49709cbe8
[ "MIT" ]
null
null
null
import os # for wordLSTM target command = 'python attack_classification.py --dataset_path data/mr/test.txt ' \ '--target_model wordLSTM --batch_size 128 ' \ '--target_model_path model_nondist.pt ' \ '--word_embeddings_path data/glove.6B.200d.txt ' \ '--counter_fitting_embedd...
42.363636
81
0.664163
116
932
4.965517
0.387931
0.097222
0.09375
0.086806
0.635417
0.635417
0.635417
0.635417
0.635417
0.635417
0
0.016461
0.217811
932
21
82
44.380952
0.773663
0.4603
0
0
0
0
0.69574
0.393509
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ec3c2240f0d4e50a74ef174a4b79ed9be0810b76
1,976
py
Python
test_regress.py
irskep/zhang-shasha
b108f6bb14409b87c44bf45ffd9a038475a9379a
[ "BSD-3-Clause" ]
1
2021-08-12T19:38:44.000Z
2021-08-12T19:38:44.000Z
test_regress.py
irskep/zhang-shasha
b108f6bb14409b87c44bf45ffd9a038475a9379a
[ "BSD-3-Clause" ]
null
null
null
test_regress.py
irskep/zhang-shasha
b108f6bb14409b87c44bf45ffd9a038475a9379a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- #Author: Tim Henderson #Email: tim.tadh@hackthology.com #For licensing see the LICENSE file in the top level directory. import unittest, os, sys, base64, itertools, random, time, copy import copy, collections from random import randint, seed, shuffle from zss import compa...
22.202247
63
0.480769
227
1,976
4.140969
0.317181
0.276596
0.070213
0.095745
0.498936
0.325532
0.289362
0.210638
0.085106
0
0
0.008494
0.344636
1,976
88
64
22.454545
0.717375
0.098178
0
0.56338
0
0
0.019187
0
0
0
0
0
0.084507
0
null
null
0
0.070423
null
null
0.028169
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
6b4d9a6e0e5c5d86e75fae6c447399df838120d1
1,899
py
Python
tests/test_api_custom_records.py
ujjwalsh/gfapy
891ef3df695f20c67809e5a54549c876d90690b4
[ "ISC" ]
44
2017-03-18T08:08:04.000Z
2021-11-10T16:11:15.000Z
tests/test_api_custom_records.py
ujjwalsh/gfapy
891ef3df695f20c67809e5a54549c876d90690b4
[ "ISC" ]
22
2017-04-04T21:20:31.000Z
2022-03-09T19:05:30.000Z
tests/test_api_custom_records.py
ujjwalsh/gfapy
891ef3df695f20c67809e5a54549c876d90690b4
[ "ISC" ]
5
2017-07-07T02:56:56.000Z
2020-09-30T20:10:49.000Z
import gfapy import unittest class TestApiCustomRecords(unittest.TestCase): def test_from_string(self): str1 = "X\tthis is a\tcustom line" l1 = gfapy.Line(str1) self.assertEqual(gfapy.line.CustomRecord, l1.__class__) self.assertEqual("X", l1.record_type) self.assertEqual("this is a", l1.field1) ...
35.166667
77
0.685097
296
1,899
4.236486
0.226351
0.227273
0.07177
0.090909
0.404306
0.346093
0.346093
0.346093
0.11244
0.075758
0
0.032459
0.156398
1,899
53
78
35.830189
0.750312
0.007372
0
0.133333
0
0
0.128587
0.02763
0
0
0
0
0.444444
1
0.133333
false
0
0.044444
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
6b5996da8b34c0a4be0d4d087a09cebecb6f4856
1,656
py
Python
tests/test_volunteer.py
MissionBit/MB_Portal
a8bbde9c25b0863a193cb4adb7a419493dd322ff
[ "PostgreSQL" ]
1
2019-08-12T01:57:11.000Z
2019-08-12T01:57:11.000Z
tests/test_volunteer.py
MissionBit/MB_Portal
a8bbde9c25b0863a193cb4adb7a419493dd322ff
[ "PostgreSQL" ]
35
2019-06-25T01:09:43.000Z
2022-02-10T08:13:09.000Z
tests/test_volunteer.py
MissionBit/MB_Portal
a8bbde9c25b0863a193cb4adb7a419493dd322ff
[ "PostgreSQL" ]
2
2019-07-02T17:25:42.000Z
2019-07-18T00:05:58.000Z
from django.test import TestCase, RequestFactory from volunteer.views import * from django.contrib.auth.models import User, Group from django.urls import reverse from rest_framework import status """ class BaseTestCase(TestCase): def create_authenticated_volunteer_user(self): user = User.objects.create_use...
36
76
0.677536
176
1,656
6.170455
0.335227
0.069982
0.055249
0.058932
0.469613
0.362799
0.362799
0.309392
0.130755
0.130755
0
0.009353
0.225242
1,656
45
77
36.8
0.837101
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
6b6059c1ae8d47bd945bfad33b428be5907af739
1,233
py
Python
3. Numbers/numbers-python.py
guruawate/PYTHON-CODEBASE
1a8eff9e81a49a2fc3ca99d26588c15a97cbe379
[ "MIT" ]
4
2017-03-29T17:03:22.000Z
2018-10-17T11:50:43.000Z
3. Numbers/numbers-python.py
guruawate/PYTHON-CODEBASE
1a8eff9e81a49a2fc3ca99d26588c15a97cbe379
[ "MIT" ]
null
null
null
3. Numbers/numbers-python.py
guruawate/PYTHON-CODEBASE
1a8eff9e81a49a2fc3ca99d26588c15a97cbe379
[ "MIT" ]
2
2017-09-13T18:17:22.000Z
2018-10-17T11:50:44.000Z
message = """\n\nThere are 3 types of numbers in python-3 Now we will see python-3 numbers, namely: int, float & complex. (there is no need for long) ints are whole numbers and floats are real numbers. w...
26.234043
93
0.547445
165
1,233
4.078788
0.521212
0.031204
0.026746
0.029718
0
0
0
0
0
0
0
0.024485
0.370641
1,233
46
94
26.804348
0.842784
0
0
0.068966
0
0
0.789132
0
0
0
0
0
0
1
0
false
0
0
0
0
0.482759
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
6b6d8a57cf3c3bcef5e955e400073f958cc91787
1,746
py
Python
tests/core/utils/test_application_context.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
2
2021-08-12T05:19:08.000Z
2022-01-29T16:22:37.000Z
tests/core/utils/test_application_context.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
null
null
null
tests/core/utils/test_application_context.py
douwevandermeij/fractal
66b04892b4d6fd8ee6a0c07b6e230f4321165085
[ "MIT" ]
null
null
null
def test_load(fake_application_context_class, fake_service_class): assert fake_application_context_class.instance.repositories == [] assert fake_application_context_class.instance.services == [] assert not hasattr( fake_application_context_class.instance, fake_service_class.__class__.__name__ ) ...
29.59322
86
0.731959
202
1,746
5.871287
0.178218
0.129848
0.204047
0.250422
0.643339
0.571669
0.406408
0.333895
0.333895
0.333895
0
0.004899
0.181558
1,746
58
87
30.103448
0.825052
0
0
0.386364
0
0
0.017755
0
0
0
0
0
0.363636
1
0.068182
false
0
0.045455
0
0.113636
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
6b7921203d0b38a45781f77f3696c8da26caa2a9
3,079
py
Python
pysnmp/AVAM-SNMPv1.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/AVAM-SNMPv1.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/AVAM-SNMPv1.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 AVAM-SNMPv1 (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AVAM-SNMPv1 # Produced by pysmi-0.3.4 at Mon Apr 29 17:16:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
102.633333
543
0.755765
346
3,079
6.725434
0.323699
0.015471
0.012892
0.01719
0.44263
0.357542
0.31113
0.263859
0.253975
0.238505
0
0.072753
0.089315
3,079
29
544
106.172414
0.757133
0.102631
0
0
0
0
0.233842
0.015977
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6b8defc3a09a8d03e2adb7a13517e975cbd888f3
697
py
Python
test/test_db_matches_ui.py
ProOksana/python_training
2174f08ebd52905bf28e7b32baf1b1401a05f79e
[ "Apache-2.0" ]
null
null
null
test/test_db_matches_ui.py
ProOksana/python_training
2174f08ebd52905bf28e7b32baf1b1401a05f79e
[ "Apache-2.0" ]
null
null
null
test/test_db_matches_ui.py
ProOksana/python_training
2174f08ebd52905bf28e7b32baf1b1401a05f79e
[ "Apache-2.0" ]
null
null
null
from model.contact import Contacts def test_contacts_list(app, db): ui_list = app.contact.get_contacts_list() def clean(contact): return (Contacts(id=id, firstname=contact.firstname, middlename=contact.middlename, lastname=contact.lastname, nickname=contact.nickname, company=...
58.083333
186
0.734577
87
697
5.724138
0.37931
0.072289
0.060241
0.068273
0.088353
0.088353
0
0
0
0
0
0.006838
0.160689
697
12
187
58.083333
0.844444
0
0
0
0
0
0
0
0
0
0
0
0.111111
1
0.222222
false
0
0.111111
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
6b904ccd419a7dbc39df362dd10c4cbe6f6a6b80
859
py
Python
DjangoBlog/account/models.py
marasiali/Django-bog
faac81275d27b501dda0be32c82200c80941b7de
[ "MIT" ]
null
null
null
DjangoBlog/account/models.py
marasiali/Django-bog
faac81275d27b501dda0be32c82200c80941b7de
[ "MIT" ]
null
null
null
DjangoBlog/account/models.py
marasiali/Django-bog
faac81275d27b501dda0be32c82200c80941b7de
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from django.contrib.auth.models import AbstractUser class User(AbstractUser): is_author = models.BooleanField(default=False, verbose_name='نویسنده', help_text='نشان میدهد که آیا این کاربر میتواند مطلب ارسال کند یا خیر.') premium_date = models.Date...
35.791667
146
0.735739
112
859
5.4375
0.535714
0.07225
0.068966
0.068966
0.118227
0.118227
0.118227
0
0
0
0
0
0.180442
859
24
147
35.791667
0.865057
0
0
0
0
0
0.154651
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.722222
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
6b940f509f4451581eb06a07caf3cae0277d933c
306
py
Python
nodestack/settings_example.py
chriscslaughter/nodestack
1905d5fd7d0e208287ceb6016852ada6d32b0984
[ "MIT" ]
null
null
null
nodestack/settings_example.py
chriscslaughter/nodestack
1905d5fd7d0e208287ceb6016852ada6d32b0984
[ "MIT" ]
3
2020-02-11T23:15:56.000Z
2021-06-10T20:52:54.000Z
nodestack/settings_example.py
chriscslaughter/nodestack
1905d5fd7d0e208287ceb6016852ada6d32b0984
[ "MIT" ]
null
null
null
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': '', 'USER': '', 'PASSWORD': '', 'HOST': '', 'PORT': 5432 } } REDIS_HOST = '18.215.184.182' REDIS_PORT = 6379 REDIS_PASSWORD = 'vwTe6yLaw5hX9dIdbfW0' REDIS_DB = 0
19.125
59
0.53268
29
306
5.448276
0.758621
0
0
0
0
0
0
0
0
0
0
0.114679
0.287582
306
15
60
20.4
0.610092
0
0
0
0
0
0.356209
0.124183
0
0
0
0
0
1
0
false
0.142857
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
6b9bad3a40c3c22732dfc5fe66b2f8ecdcf3a1fd
1,162
py
Python
mall_spider/spiders/actions/action.py
524243642/taobao_spider
9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e
[ "Unlicense" ]
12
2019-06-06T12:23:08.000Z
2021-06-15T17:50:07.000Z
mall_spider/spiders/actions/action.py
524243642/mall_spider
9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e
[ "Unlicense" ]
3
2021-03-31T19:02:47.000Z
2022-02-11T03:43:15.000Z
mall_spider/spiders/actions/action.py
524243642/taobao_spider
9cdaed1c7a67fc1f35ee2af2e18313cedf3b1e5e
[ "Unlicense" ]
5
2019-09-17T03:55:56.000Z
2020-12-18T03:34:03.000Z
# coding: utf-8 import traceback from abc import ABCMeta, abstractmethod from mall_spider.spiders.actions.executable import Executable class Action(Executable): __metaclass__ = ABCMeta def execute(self, context): self.on_create(context=context) self.on_start(context=context) try: ...
22.784314
70
0.623924
132
1,162
5.318182
0.348485
0.109687
0.106838
0.163818
0.193732
0.193732
0
0
0
0
0
0.004896
0.296902
1,162
50
71
23.24
0.854345
0.049053
0
0.324324
0
0
0
0
0
0
0
0
0
1
0.189189
false
0.162162
0.108108
0
0.378378
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
6bb44465b2c1e375804bcf23757d647344be8b01
1,506
py
Python
modasci/data_connector.py
ArashLab/MoDaSci
3f173a9ca686edf00a2f143814b603d4e3be9de2
[ "MIT" ]
null
null
null
modasci/data_connector.py
ArashLab/MoDaSci
3f173a9ca686edf00a2f143814b603d4e3be9de2
[ "MIT" ]
null
null
null
modasci/data_connector.py
ArashLab/MoDaSci
3f173a9ca686edf00a2f143814b603d4e3be9de2
[ "MIT" ]
1
2021-09-11T13:59:13.000Z
2021-09-11T13:59:13.000Z
from munch import Munch from .utils import import_class from .serialization import YAMLMixin from .micro_task import import_class class DataConnector(YAMLMixin): """Encapsulates a data handler along with zero or more micro tasks. With the earliest access to the underlying data (through the `values` property...
40.702703
117
0.717131
175
1,506
6.125714
0.434286
0.139925
0.031716
0
0
0
0
0
0
0
0
0
0.224436
1,506
36
118
41.833333
0.917808
0.347278
0
0
0
0
0.010482
0
0
0
0
0.027778
0
1
0.181818
false
0
0.227273
0.045455
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
6bb5785201bd7a9127918db4d2b10a17a6eb105d
1,213
py
Python
mechanic/drive_navigate_boost/drive_navigate_boost.py
oxrock/DisasterBot
36260e9ef8730edbae018ba87aa19aaad72c8814
[ "MIT" ]
11
2018-11-18T09:30:39.000Z
2021-08-24T18:47:48.000Z
mechanic/drive_navigate_boost/drive_navigate_boost.py
oxrock/DisasterBot
36260e9ef8730edbae018ba87aa19aaad72c8814
[ "MIT" ]
6
2020-01-31T11:37:56.000Z
2020-05-01T19:13:54.000Z
mechanic/drive_navigate_boost/drive_navigate_boost.py
oxrock/DisasterBot
36260e9ef8730edbae018ba87aa19aaad72c8814
[ "MIT" ]
7
2018-11-17T20:02:19.000Z
2020-05-01T15:07:13.000Z
from rlbot.agents.base_agent import SimpleControllerState from mechanic.base_mechanic import BaseMechanic from mechanic.drive_arrive_in_time import DriveArriveInTime from skeleton.util.structure import Player from util.linear_algebra import norm from util.path_finder import find_fastest_path, first_target, optional_b...
40.433333
101
0.73042
156
1,213
5.423077
0.384615
0.06383
0.060284
0.070922
0.113475
0.113475
0.113475
0.113475
0.113475
0.113475
0
0.007056
0.182193
1,213
29
102
41.827586
0.845766
0.127782
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6bc269d33439bd018df37c790bc02091c42db872
3,339
py
Python
pysnmp-with-texts/DLINK-3100-JUMBOFRAMES-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/DLINK-3100-JUMBOFRAMES-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/DLINK-3100-JUMBOFRAMES-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 DLINK-3100-JUMBOFRAMES-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DLINK-3100-JUMBOFRAMES-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:48:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version ...
107.709677
477
0.790356
346
3,339
7.621387
0.407514
0.040956
0.071672
0.064467
0.350019
0.246871
0.246871
0.246871
0.246871
0.246871
0
0.059851
0.074274
3,339
30
478
111.3
0.793271
0.103624
0
0
0
0
0.260054
0.023458
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6bc877d2ff907a625b44f72caf624fa66d922ec9
839
py
Python
examples/dhc/deduplication_approximated_example.py
fruttasecca/hay_checker
2bbf4e8e90e0abc590dd74080fb6e4f445056354
[ "MIT" ]
2
2019-05-22T08:24:38.000Z
2020-12-04T13:36:30.000Z
examples/dhc/deduplication_approximated_example.py
fruttasecca/hay_checker
2bbf4e8e90e0abc590dd74080fb6e4f445056354
[ "MIT" ]
null
null
null
examples/dhc/deduplication_approximated_example.py
fruttasecca/hay_checker
2bbf4e8e90e0abc590dd74080fb6e4f445056354
[ "MIT" ]
3
2018-09-15T13:40:40.000Z
2021-06-29T23:31:18.000Z
#!/usr/bin/python3 from pyspark.sql import SparkSession from haychecker.dhc.metrics import deduplication_approximated spark = SparkSession.builder.appName("Deduplication_approximated_example").getOrCreate() df = spark.read.format("csv").option("header", "true").load("examples/resources/employees.csv") df.show() r1...
32.269231
97
0.747318
96
839
6.416667
0.479167
0.405844
0.194805
0.11039
0.207792
0.207792
0.207792
0
0
0
0
0.026247
0.091776
839
26
98
32.269231
0.782152
0.020262
0
0
0
0
0.36983
0.238443
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.133333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6be456b6f75f64cea006c0e15110ea8fb947a3b6
503
py
Python
code/countries_centroids.py
loris2222/ChocoData
d5b8c49f201228dd55db03dbdbafcbe846e36200
[ "MIT" ]
null
null
null
code/countries_centroids.py
loris2222/ChocoData
d5b8c49f201228dd55db03dbdbafcbe846e36200
[ "MIT" ]
null
null
null
code/countries_centroids.py
loris2222/ChocoData
d5b8c49f201228dd55db03dbdbafcbe846e36200
[ "MIT" ]
null
null
null
from geopy.exc import GeocoderTimedOut from geopy.geocoders import Nominatim import numpy as np import pandas as pd # function to find the coordinate # of a given city def find_geocode(city): try: # Specify the user_agent as your # app name it should not be none geolocator = Nominatim(user...
23.952381
58
0.72167
70
503
5.1
0.614286
0.05042
0.061625
0
0
0
0
0
0
0
0
0
0.2167
503
21
59
23.952381
0.906091
0.2167
0
0
0
0
0.046154
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.538462
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6bf3c5d43692793eab438e1d78d5c5d9f2609b80
114
py
Python
material/assignment1/csv_example.py
mpambasange/MachineLearning
8b813345264513a57934317b01e1311628dc5b01
[ "MIT" ]
16
2016-09-01T08:50:59.000Z
2022-02-15T20:56:07.000Z
material/assignment1/csv_example.py
olehermanse/INF3490-PythonAI
8b813345264513a57934317b01e1311628dc5b01
[ "MIT" ]
2
2016-10-20T09:36:19.000Z
2017-08-29T00:28:54.000Z
material/assignment1/csv_example.py
olehermanse/INF3490-PythonAI
8b813345264513a57934317b01e1311628dc5b01
[ "MIT" ]
15
2016-10-31T12:30:37.000Z
2021-03-15T12:12:50.000Z
import csv with open("european_cities.csv", "r") as f: data = list(csv.reader(f, delimiter=';')) print(data)
19
45
0.657895
18
114
4.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.149123
114
5
46
22.8
0.762887
0
0
0
0
0
0.184211
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d429bb0c4adaa592f5410526e05f433a6c840f55
1,057
py
Python
cpdb/social_graph/serializers/trr_detail_serializer.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/social_graph/serializers/trr_detail_serializer.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/social_graph/serializers/trr_detail_serializer.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 class CoaccusedSerializer(OfficerPercentileSerializer): id = serializers.IntegerField() full_name = serializers.CharField() allegation_count = serializers.IntegerField() class TRRDetailSer...
32.030303
75
0.737938
103
1,057
7.466019
0.475728
0.16645
0.06762
0
0
0
0
0
0
0
0
0.001127
0.160833
1,057
32
76
33.03125
0.86584
0
0
0
0
0
0.019868
0
0
0
0
0
0
1
0.173913
false
0
0.086957
0.173913
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
d42a55595da119edc0308b2e2db15256c5068aa2
1,478
py
Python
PhysicsTools/HeppyCore/python/statistics/value.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
PhysicsTools/HeppyCore/python/statistics/value.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
PhysicsTools/HeppyCore/python/statistics/value.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
# Copyright (C) 2014 Colin Bernet # https://github.com/cbernet/heppy/blob/master/LICENSE import math import copy class Value(object): def __init__(self, val, err): self.val = val self.err = err def relerr(self): return abs(self.err / self.val) def __eq__(self, other): ret...
27.886792
91
0.535183
184
1,478
4.103261
0.255435
0.101987
0.072848
0.07947
0.437086
0.437086
0.407947
0.407947
0.407947
0.407947
0
0.014388
0.341678
1,478
52
92
28.423077
0.761562
0.056834
0
0.282051
0
0.025641
0.030194
0
0
0
0
0
0
1
0.25641
false
0
0.051282
0.076923
0.564103
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
d43e3a93b1b34f633fe835ba894b15dba7cc0781
306
py
Python
idm_lp/commands/members_manager/__init__.py
lper1/dgm-.
aae14b2758b220f42030745bb941e7012bf77ae2
[ "MIT" ]
47
2020-09-15T11:13:35.000Z
2022-03-30T06:37:52.000Z
idm_lp/commands/members_manager/__init__.py
lper1/dgm-.
aae14b2758b220f42030745bb941e7012bf77ae2
[ "MIT" ]
2
2020-10-27T15:30:33.000Z
2020-11-14T16:50:01.000Z
idm_lp/commands/members_manager/__init__.py
lper1/dgm-.
aae14b2758b220f42030745bb941e7012bf77ae2
[ "MIT" ]
111
2020-09-27T20:06:42.000Z
2022-03-19T20:29:29.000Z
from idm_lp.commands.members_manager import ignored from idm_lp.commands.members_manager import ignored_global from idm_lp.commands.members_manager import muted from idm_lp.commands.members_manager import trusted users_bp = ( ignored.user, ignored_global.user, muted.user, trusted.user, )
25.5
58
0.803922
44
306
5.340909
0.318182
0.119149
0.153191
0.289362
0.689362
0.689362
0.689362
0.374468
0
0
0
0
0.133987
306
11
59
27.818182
0.886792
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
d450c2b05cb1f4cb1899bd454fdcaba9cb8d8618
1,767
py
Python
pymediasoup/sctp_parameters.py
skymaze/pymediasoup
362fa202448ef31ee512a6d1e7fc4e8c93c53566
[ "MIT" ]
9
2021-01-04T03:29:28.000Z
2021-06-30T12:25:33.000Z
pymediasoup/sctp_parameters.py
skymaze/pymediasoup
362fa202448ef31ee512a6d1e7fc4e8c93c53566
[ "MIT" ]
4
2021-02-23T06:24:01.000Z
2021-07-23T01:15:00.000Z
pymediasoup/sctp_parameters.py
skymaze/pymediasoup
362fa202448ef31ee512a6d1e7fc4e8c93c53566
[ "MIT" ]
3
2021-02-13T07:48:33.000Z
2021-08-30T05:24:43.000Z
import sys if sys.version_info >= (3, 8): from typing import Optional, Literal else: from typing import Optional from typing_extensions import Literal from pydantic import BaseModel class NumSctpStreams(BaseModel): # Initially requested number of outgoing SCTP streams. OS: int # Maximum numbe...
33.980769
80
0.736276
228
1,767
5.697368
0.451754
0.030793
0.034642
0.036952
0.184758
0.184758
0.138568
0.138568
0.138568
0.138568
0
0.004261
0.203169
1,767
52
81
33.980769
0.918324
0.542162
0
0.16
0
0
0.02665
0
0
0
0
0
0
1
0
true
0
0.2
0
0.92
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
d46f232434b4694a4a36f6f3d592acbd62feb370
371
py
Python
eth2/_utils/hash.py
dendisuhubdy/trinity
001664781259c7dd0779a0ef6f822451b608ded4
[ "MIT" ]
14
2020-08-24T18:23:31.000Z
2021-11-04T14:11:04.000Z
eth2/_utils/hash.py
dendisuhubdy/trinity
001664781259c7dd0779a0ef6f822451b608ded4
[ "MIT" ]
19
2020-08-25T15:57:05.000Z
2021-07-07T00:49:45.000Z
eth2/_utils/hash.py
dendisuhubdy/trinity
001664781259c7dd0779a0ef6f822451b608ded4
[ "MIT" ]
7
2020-08-24T22:53:02.000Z
2022-03-28T18:51:48.000Z
from hashlib import sha256 from typing import Union from eth_typing import Hash32 def hash_eth2(data: Union[bytes, bytearray]) -> Hash32: """ Return SHA-256 hash of ``data``. Note: it's a placeholder and we aim to migrate to a S[T/N]ARK-friendly hash function in a future Ethereum 2.0 deployment phase...
26.5
91
0.700809
59
371
4.372881
0.694915
0.093023
0
0
0
0
0
0
0
0
0
0.060811
0.202156
371
13
92
28.538462
0.810811
0.431267
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.6
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
d47e5ca5e4f767ca565d98ee56a805dbf8e7ac10
782
py
Python
test/test_wf.py
mmadsen/pytransmission
053bbd8888b229feccc784d6322f9db2cdfeabcc
[ "Apache-2.0" ]
null
null
null
test/test_wf.py
mmadsen/pytransmission
053bbd8888b229feccc784d6322f9db2cdfeabcc
[ "Apache-2.0" ]
null
null
null
test/test_wf.py
mmadsen/pytransmission
053bbd8888b229feccc784d6322f9db2cdfeabcc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2015. Mark E. Madsen <mark@madsenlab.org> # # This work is licensed under the terms of the Apache Software License, Version 2.0. See the file LICENSE for details. """ Description here """ import logging as log import unittest import pytransmission.popgen.wright_fisher as wf im...
23.69697
119
0.690537
117
782
4.478632
0.700855
0.007634
0
0
0
0
0
0
0
0
0
0.036508
0.194373
782
33
120
23.69697
0.795238
0.2711
0
0
0
0
0.135957
0
0
0
0
0
0.066667
1
0.066667
false
0.066667
0.333333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
d4894d2d31e55928fd3d6801e91886e716272b3e
122
py
Python
chapter6.py
aa88bb/Introduction-to-programming-using-python
13d6b897117df3bbe7ee4b22177154874052442f
[ "MIT" ]
null
null
null
chapter6.py
aa88bb/Introduction-to-programming-using-python
13d6b897117df3bbe7ee4b22177154874052442f
[ "MIT" ]
null
null
null
chapter6.py
aa88bb/Introduction-to-programming-using-python
13d6b897117df3bbe7ee4b22177154874052442f
[ "MIT" ]
null
null
null
def addAll(n1,n2): result = 0 for i in range(n1,n2+1): result += i return result print(addAll(1,10))
15.25
28
0.565574
21
122
3.285714
0.666667
0.115942
0
0
0
0
0
0
0
0
0
0.104651
0.295082
122
7
29
17.428571
0.697674
0
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
00f78d4d60c5538982c1b4175030188fc17d14a3
4,218
py
Python
tests/core_plugins/tasks/test_checksum.py
modora/catstuff
7a4ea67e26774e42e90d0c71a4b2c299fe506d73
[ "MIT" ]
null
null
null
tests/core_plugins/tasks/test_checksum.py
modora/catstuff
7a4ea67e26774e42e90d0c71a4b2c299fe506d73
[ "MIT" ]
7
2017-12-16T06:16:56.000Z
2017-12-26T06:21:18.000Z
tests/core_plugins/tasks/test_checksum.py
modora/catstuff
7a4ea67e26774e42e90d0c71a4b2c299fe506d73
[ "MIT" ]
null
null
null
from nose.tools import * import tests from tests import files from catstuff.core_plugins.tasks.checksum.main import * @raises(NotImplementedError) def test_unknown_method_123(): checksum(files.empty_file, method=123) @raises(NotImplementedError) def test_unknown_method_None(): checksum(files.empty_file, m...
31.014706
152
0.710526
374
4,218
7.780749
0.264706
0.052921
0.065979
0.098969
0.133333
0.059794
0.028866
0.028866
0
0
0
0.26404
0.193694
4,218
136
153
31.014706
0.591591
0.033665
0
0.042553
0
0
0.335053
0.269221
0
0
0
0.007353
0.031915
1
0.265957
false
0.010638
0.042553
0
0.404255
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
2e0a911d4697c155124ce5d20e061cde131c6b5a
392
py
Python
tests/test_aws_lambda.py
vyahello/pep8-checker
fe5d0746201d3a26ec2ae0c9c4a70203700af1f0
[ "MIT" ]
3
2020-08-09T15:17:44.000Z
2022-03-19T22:16:25.000Z
tests/test_aws_lambda.py
vyahello/pep8-checker
fe5d0746201d3a26ec2ae0c9c4a70203700af1f0
[ "MIT" ]
4
2020-08-12T21:25:16.000Z
2021-04-17T10:57:57.000Z
tests/test_aws_lambda.py
vyahello/pep8-checker
fe5d0746201d3a26ec2ae0c9c4a70203700af1f0
[ "MIT" ]
1
2020-12-17T10:06:37.000Z
2020-12-17T10:06:37.000Z
from checker.remote import call_bad_event, call_good_event, lambda_handler from tests.markers import unit pytestmark = unit def test_lambda_handler() -> None: assert not lambda_handler(event={'code': 'print("hello world")'})['body'] def test_call_bad_event() -> None: assert call_bad_event()['body'] def t...
23.058824
77
0.734694
57
392
4.736842
0.421053
0.077778
0.133333
0.111111
0
0
0
0
0
0
0
0
0.137755
392
16
78
24.5
0.798817
0
0
0
0
0
0.091837
0
0
0
0
0
0.333333
1
0.333333
false
0
0.222222
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2e37053311db32a5646a09d99f05bb77ba1c6b68
326
py
Python
e3.py
astaffes/lab8
224538d81bb408cd809e09c236a0d044cdbb20a3
[ "MIT" ]
null
null
null
e3.py
astaffes/lab8
224538d81bb408cd809e09c236a0d044cdbb20a3
[ "MIT" ]
null
null
null
e3.py
astaffes/lab8
224538d81bb408cd809e09c236a0d044cdbb20a3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- if __name__ == '__main__': a = () print(type(a)) b = tuple() print(type(b)) a = (1, 2, 3, 4, 5) print(type(a)) print(a) a = tuple([1, 2, 3, 4]) print(a) not_a_tuple = (42) tpl = (42,) print(type(not_a_tuple)) print(type(...
18.111111
28
0.48773
52
326
2.826923
0.442308
0.306122
0.136054
0.054422
0
0
0
0
0
0
0
0.065217
0.294479
326
17
29
19.176471
0.573913
0.131902
0
0.285714
0
0
0.02847
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
2e3dd25cc4a3b17159c12055b5e0a8180fcfc16f
158
py
Python
j4j_spawner/file_loads.py
FZJ-JSC/jupyter-jsc-jupyterhub-collection
3fbb83da6e356df57bbdd24269157944f7fcd2a5
[ "BSD-3-Clause" ]
null
null
null
j4j_spawner/file_loads.py
FZJ-JSC/jupyter-jsc-jupyterhub-collection
3fbb83da6e356df57bbdd24269157944f7fcd2a5
[ "BSD-3-Clause" ]
null
null
null
j4j_spawner/file_loads.py
FZJ-JSC/jupyter-jsc-jupyterhub-collection
3fbb83da6e356df57bbdd24269157944f7fcd2a5
[ "BSD-3-Clause" ]
null
null
null
''' Created on May 17, 2019 @author: Tim Kreuzer ''' def get_token(path): with open(path, 'r') as f: token = f.read().rstrip() return token
14.363636
33
0.588608
24
158
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.050847
0.253165
158
10
34
15.8
0.728814
0.28481
0
0
0
0
0.009524
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
2e3e30e6d461cf540ccc3d9c703aff36b0ce282e
83
py
Python
shivyc/__init__.py
TBladen/ShivyC
9d0c3955f9edb76b45b05ab7b0013cc7b6559753
[ "MIT" ]
1
2021-01-06T21:26:24.000Z
2021-01-06T21:26:24.000Z
shivyc/__init__.py
TBladen/ShivyC
9d0c3955f9edb76b45b05ab7b0013cc7b6559753
[ "MIT" ]
null
null
null
shivyc/__init__.py
TBladen/ShivyC
9d0c3955f9edb76b45b05ab7b0013cc7b6559753
[ "MIT" ]
null
null
null
"""This module implements the core ShivyC functionality.""" __version__ = "0.3.2"
20.75
59
0.722892
11
83
5.090909
1
0
0
0
0
0
0
0
0
0
0
0.041667
0.13253
83
3
60
27.666667
0.736111
0.638554
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2e4a2b8165110efd65634c3ee06cbc5d7fe752ab
590
py
Python
sentences/sentence14.py
kelltrill/scifibot
e9dfc55b63a6ff40e9fa268f620ff811c88862a3
[ "MIT" ]
5
2020-03-17T17:04:53.000Z
2020-03-27T12:10:44.000Z
sentences/sentence14.py
kelltrill/scifibot
e9dfc55b63a6ff40e9fa268f620ff811c88862a3
[ "MIT" ]
null
null
null
sentences/sentence14.py
kelltrill/scifibot
e9dfc55b63a6ff40e9fa268f620ff811c88862a3
[ "MIT" ]
null
null
null
from sentences.base_sentence import base_sentence class sentence14(base_sentence): def get_sentence(self, components): sentence = 'You are the Captain of ' + components['transport_article_on_desc'] sentence += ' ' + components['transport_desc'] sentence += ' ' + components['tra...
39.333333
87
0.620339
55
590
6.472727
0.527273
0.266854
0.123596
0.174157
0
0
0
0
0
0
0
0.006897
0.262712
590
14
88
42.142857
0.811494
0
0
0
0
0
0.269097
0.043403
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.363636
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2e5744a9bed19f5bada449acfd9d1b91549e0594
601
py
Python
exam_001/q004_verb_post.py
a1852rw/system_propraming
795ce06e9c1b48552577de472194646bab240541
[ "MIT" ]
2
2018-07-02T09:48:28.000Z
2018-07-04T10:17:40.000Z
exam_001/q004_verb_post.py
a1852rw/aiit_system_programing
795ce06e9c1b48552577de472194646bab240541
[ "MIT" ]
null
null
null
exam_001/q004_verb_post.py
a1852rw/aiit_system_programing
795ce06e9c1b48552577de472194646bab240541
[ "MIT" ]
null
null
null
def verb_post(s): irregular = { "go": "went", "put": "put", "write": "wrote", "find": "found", "read": "read", } if s in irregular: return irregular[s] if s[-1] == "c": return s + "ked" if s[-1] == "e": return s + "d" if s[-...
22.259259
63
0.47421
85
601
3.258824
0.423529
0.231047
0.32852
0
0
0
0
0
0
0
0
0.011765
0.292845
601
26
64
23.115385
0.64
0
0
0
0
0
0.14
0
0
0
0
0
0
1
0.041667
false
0
0
0
0.25
0.291667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2e7700fe88b3734cb3e81c07b67868f5b2c4220d
19,554
py
Python
bin/ensemble_aws_accounts_eai_handler.py
nvonkorff/grand_central
ef8630bb1e717ff542903fd1e067e428fafafc2f
[ "MIT" ]
null
null
null
bin/ensemble_aws_accounts_eai_handler.py
nvonkorff/grand_central
ef8630bb1e717ff542903fd1e067e428fafafc2f
[ "MIT" ]
null
null
null
bin/ensemble_aws_accounts_eai_handler.py
nvonkorff/grand_central
ef8630bb1e717ff542903fd1e067e428fafafc2f
[ "MIT" ]
null
null
null
import logging import os import sys import uuid import splunk.admin as admin import ensemble_aws_accounts_schema import urllib import hashlib import base_eai_handler import log_helper import boto3 import json if sys.platform == 'win32': import msvcrt # Binary mode is required for persistent mode on Windows. ...
51.730159
270
0.668763
2,204
19,554
5.586207
0.127042
0.075942
0.125
0.038012
0.729289
0.68551
0.645387
0.580734
0.542966
0.493502
0
0.002174
0.247264
19,554
377
271
51.867374
0.834296
0.058914
0
0.348214
0
0
0.189877
0.085509
0
0
0
0
0.008929
0
null
null
0.138393
0.058036
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
2e7b7593dba3a850dbee118f9ad9b5841c88cc75
293
py
Python
py3_cookbook/_1_data_structure/find_common_keys_in_two_dicts.py
yellowb/ml-sample
2f283c39d0d7ed4bafc324632100a17da0088237
[ "MIT" ]
null
null
null
py3_cookbook/_1_data_structure/find_common_keys_in_two_dicts.py
yellowb/ml-sample
2f283c39d0d7ed4bafc324632100a17da0088237
[ "MIT" ]
null
null
null
py3_cookbook/_1_data_structure/find_common_keys_in_two_dicts.py
yellowb/ml-sample
2f283c39d0d7ed4bafc324632100a17da0088237
[ "MIT" ]
null
null
null
""" Sample to find common keys between 2 dictionaries """ d1 = { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } d2 = { 'b': 2, 'c': 3, 'd': 4, 'e': 5 } print(d1.keys() & d2.keys()) # intersection print(d1.keys() | d2.keys()) # union print(d1.keys() - d2.keys()) # diff
14.65
57
0.457338
44
293
3.045455
0.522727
0.156716
0.246269
0.291045
0.470149
0.089552
0
0
0
0
0
0.082524
0.296928
293
19
58
15.421053
0.567961
0.255973
0
0.266667
0
0
0.038278
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
2e7e0d9b1faef47626882f56fd831cc608dec063
118
py
Python
src/constants.py
masterbluecompact/boardroom-bot
b903038ee5a9183c81f03e45547642a5f4a757cf
[ "MIT" ]
null
null
null
src/constants.py
masterbluecompact/boardroom-bot
b903038ee5a9183c81f03e45547642a5f4a757cf
[ "MIT" ]
null
null
null
src/constants.py
masterbluecompact/boardroom-bot
b903038ee5a9183c81f03e45547642a5f4a757cf
[ "MIT" ]
null
null
null
TELEGRAM_API_TOKEN = '1978689233:AAGsYEAvbN3ZkrA5a77VTO9yc30VSNZs8lQ' BOT_USERNAME = 'boardroomv1bot' WEBHOOK_URL = ''
39.333333
69
0.847458
10
118
9.6
1
0
0
0
0
0
0
0
0
0
0
0.172727
0.067797
118
3
70
39.333333
0.7
0
0
0
0
0
0.504202
0.386555
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2e894c57c3b59c59676e670168876de12735924c
9,107
py
Python
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v7.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
36
2020-11-19T07:23:42.000Z
2022-03-30T03:35:57.000Z
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v7.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
4
2021-01-30T09:49:10.000Z
2021-12-05T12:49:11.000Z
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v7.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
6
2020-11-23T07:54:47.000Z
2021-07-09T07:20:15.000Z
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import os import tensorflow as tf import math """ BCL + OMEGA = 180 / 8. {'0.7': {'tennis-court': 0.9030146006529745, 'ship': 0.5247147197113373, 'basketball-court': 0.5197288166873728, 'small-vehicle': 0.3876947548806594, 'harbo...
70.596899
581
0.726694
1,136
9,107
5.698063
0.367077
0.018539
0.018539
0.024718
0.060559
0.056234
0.022246
0.022246
0.022246
0.01205
0
0.355285
0.087954
9,107
128
582
71.148438
0.424031
0.072582
0
0
0
0
0.108846
0.050965
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
0.034884
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2