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
5836e4a81ebfa7a31f7f4a13dd9a0ab859a6fdc7
323
py
Python
rem/constants.py
heni/rem
00caa0e2e6b0bd0091e8290c1e11884c8c45d347
[ "MIT" ]
14
2015-03-25T08:31:02.000Z
2022-03-31T10:58:40.000Z
rem/constants.py
heni/rem
00caa0e2e6b0bd0091e8290c1e11884c8c45d347
[ "MIT" ]
3
2015-02-07T16:00:01.000Z
2015-10-07T11:39:27.000Z
rem/constants.py
heni/rem
00caa0e2e6b0bd0091e8290c1e11884c8c45d347
[ "MIT" ]
6
2015-02-06T16:43:05.000Z
2020-02-18T13:43:31.000Z
#for Job class #one week NOTIFICATION_TIMEOUT = 604800 #two weeks KILL_JOB_DEFAULT_TIMEOUT = 1209600 #Packet`s names policy IGNORE_DUPLICATE_NAMES_POLICY = 0b001 WARN_DUPLICATE_NAMES_POLICY = 0b010 DENY_DUPLICATE_NAMES_POLICY = 0b100 DEFAULT_DUPLICATE_NAMES_POLICY = DENY_DUPLICATE_NAMES_POLICY JOB_WATCHER_MAX_DELAY ...
23.071429
60
0.860681
47
323
5.446809
0.595745
0.257813
0.390625
0.1875
0
0
0
0
0
0
0
0.089655
0.102167
323
14
61
23.071429
0.793103
0.157895
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
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
3
5843fdcfea4046ab31a574e8622d103b4f774719
33
py
Python
src/idpyoidc/client/provider/__init__.py
IdentityPython/idpy-oidc
44f78f5f70d0c5ddc0108fa9a241c460179b53a8
[ "Apache-2.0" ]
1
2022-03-24T23:39:22.000Z
2022-03-24T23:39:22.000Z
src/idpyoidc/client/provider/__init__.py
IdentityPython/idpy-oidc
44f78f5f70d0c5ddc0108fa9a241c460179b53a8
[ "Apache-2.0" ]
null
null
null
src/idpyoidc/client/provider/__init__.py
IdentityPython/idpy-oidc
44f78f5f70d0c5ddc0108fa9a241c460179b53a8
[ "Apache-2.0" ]
null
null
null
__all__ = ["linkedin", "github"]
16.5
32
0.636364
3
33
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.586207
0
0
0
0
0
0.424242
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
58458f5609e07ff81871cc11389f0168b6379cf1
579
py
Python
Fps.py
ramalik00/FACE-MASK-DETECTION-CSO-211.N-PROJECT-
7643188c3fd6fa92b6b4f722309edca588d9feb3
[ "MIT" ]
null
null
null
Fps.py
ramalik00/FACE-MASK-DETECTION-CSO-211.N-PROJECT-
7643188c3fd6fa92b6b4f722309edca588d9feb3
[ "MIT" ]
null
null
null
Fps.py
ramalik00/FACE-MASK-DETECTION-CSO-211.N-PROJECT-
7643188c3fd6fa92b6b4f722309edca588d9feb3
[ "MIT" ]
1
2021-07-09T16:25:48.000Z
2021-07-09T16:25:48.000Z
import datetime class Fps: def __init__(self): #stores the start time, end time, and total number of frames self._start=None self._end=None self._numFrames=0 def start(self): #starts the timer self._start=datetime.datetime.now() return self def stop(self): #stops the timer self._end=datetime.dateti...
25.173913
62
0.737478
88
579
4.693182
0.397727
0.065375
0.062954
0
0
0
0
0
0
0
0
0.004107
0.158895
579
22
63
26.318182
0.843943
0.288428
0
0
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0.058824
0.117647
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
1
1
0
0
3
5847a3c3c2260babe6000f828066b42fbc500396
2,775
py
Python
factorys.py
hellysmile/pymilvus
d531c5274e7c1736547adb040d67277cbc8eae93
[ "Apache-2.0" ]
null
null
null
factorys.py
hellysmile/pymilvus
d531c5274e7c1736547adb040d67277cbc8eae93
[ "Apache-2.0" ]
null
null
null
factorys.py
hellysmile/pymilvus
d531c5274e7c1736547adb040d67277cbc8eae93
[ "Apache-2.0" ]
1
2021-03-15T05:53:37.000Z
2021-03-15T05:53:37.000Z
# STL imports import random import string import time import datetime import random import struct import sys from functools import wraps sys.path.append('.') # Third party imports import numpy as np import faker from faker.providers import BaseProvider # local application imports from milvus.client.types import Index...
23.717949
115
0.679279
386
2,775
4.73057
0.362694
0.027382
0.054765
0.03724
0.213582
0.164294
0.119387
0.119387
0.082147
0.082147
0
0.024499
0.190991
2,775
116
116
23.922414
0.788864
0.022342
0
0.054054
0
0
0.052437
0.010709
0
0
0
0
0
1
0.243243
false
0
0.189189
0.121622
0.675676
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
0
1
0
0
0
1
1
0
0
3
585030688aa0b598a1b151454055cecc85d92f4d
479
py
Python
RLBotPack/Rocketnoodles/src/scenario/__init__.py
L0laapk3/RLBotPack
f54038475d2a57428f3784560755f96bfcf8015f
[ "MIT" ]
13
2019-05-25T20:25:51.000Z
2022-03-19T13:36:23.000Z
RLBotPack/Rocketnoodles/src/scenario/__init__.py
L0laapk3/RLBotPack
f54038475d2a57428f3784560755f96bfcf8015f
[ "MIT" ]
53
2019-06-07T13:31:59.000Z
2022-03-28T22:53:47.000Z
RLBotPack/Rocketnoodles/src/scenario/__init__.py
L0laapk3/RLBotPack
f54038475d2a57428f3784560755f96bfcf8015f
[ "MIT" ]
78
2019-06-30T08:42:13.000Z
2022-03-23T20:11:42.000Z
from scenario.default_scenario import DefaultScenario from scenario.shoot_ball_at_goal import ShootBallAtGoal from scenario.dribble_easy import DribbleEasy from scenario.dribble_hard import DribbleHard from scenario.intercept import Intercept from scenario.side_shot import SideShot from scenario.ball_through_center imp...
43.545455
103
0.835073
52
479
7.442308
0.442308
0.217054
0.098191
0
0
0
0
0
0
0
0
0
0.102296
479
10
104
47.9
0.9
0
0
0
0
0
0.179541
0
0
0
0
0
0
1
0
false
0
0.777778
0
0.777778
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5884dd432298ba78f5bcdc739456633f8a0602d4
248
py
Python
AU_Modules/AU_ANSI/__init__.py
macorvalan/MyGame
29a14bcb1ffb11b158d325112d5698107d8f1188
[ "Unlicense" ]
null
null
null
AU_Modules/AU_ANSI/__init__.py
macorvalan/MyGame
29a14bcb1ffb11b158d325112d5698107d8f1188
[ "Unlicense" ]
null
null
null
AU_Modules/AU_ANSI/__init__.py
macorvalan/MyGame
29a14bcb1ffb11b158d325112d5698107d8f1188
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """ 03-2022 This sub package holds the screens in ANSI Art used by the game (AU), it also holds the script to convert the ansi color code in evennia color tags, and the original ANSI screen. see README.md for more info. """
31
75
0.717742
45
248
3.955556
0.8
0.089888
0
0
0
0
0
0
0
0
0
0.034826
0.189516
248
8
76
31
0.850746
0.96371
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
58a5bf406c865e1e692e5d5220467c2b6e457d97
313
py
Python
abc/template-py.py
yokotani92/atcoder
febaef2d13c40093a2a284c87a949cd46113801d
[ "MIT" ]
null
null
null
abc/template-py.py
yokotani92/atcoder
febaef2d13c40093a2a284c87a949cd46113801d
[ "MIT" ]
null
null
null
abc/template-py.py
yokotani92/atcoder
febaef2d13c40093a2a284c87a949cd46113801d
[ "MIT" ]
null
null
null
import os print("Input folder name like 'ABC000'") folder = input() os.mkdir('./{}'.format(folder)) open('./{0}/python/a.py'.format(folder),'w').close() open('./{0}/python/b.py'.format(folder),'w').close() open('./{0}/python/c.py'.format(folder),'w').close() open('./{0}/python/d.py'.format(folder),'w').close()
31.3
52
0.626198
50
313
3.92
0.4
0.306122
0.22449
0.306122
0.576531
0.47449
0.47449
0.47449
0
0
0
0.023569
0.051118
313
10
53
31.3
0.636364
0
0
0
0
0
0.340764
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
1
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
3
5432f0618860b529aeafa3ad859f59d412f05590
250
py
Python
todo_api/models.py
Saknowman/django_setting_sample_project
3f11103a57628190ed4ab480cba39d4474847040
[ "MIT" ]
null
null
null
todo_api/models.py
Saknowman/django_setting_sample_project
3f11103a57628190ed4ab480cba39d4474847040
[ "MIT" ]
7
2020-06-06T00:28:14.000Z
2022-02-10T11:03:44.000Z
todo_api/models.py
Saknowman/django_setting_sample_project
3f11103a57628190ed4ab480cba39d4474847040
[ "MIT" ]
null
null
null
from django.db import models from .settings import api_settings class Task(models.Model): title = models.CharField(max_length=api_settings.TASK_TITLE_MAX_LENGTH) status = models.IntegerField(choices=api_settings.TASK_STATUS_CHOICES)
31.25
76
0.796
34
250
5.588235
0.5
0.173684
0.157895
0
0
0
0
0
0
0
0
0
0.132
250
7
77
35.714286
0.875576
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
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
1
0
0
3
544ee5c96607be11b38331c9ca64d3d0a39282f5
1,225
py
Python
src/bpp/migrations/0167_auto_20190707_2029.py
iplweb/django-bpp
85f183a99d8d5027ae4772efac1e4a9f21675849
[ "BSD-3-Clause" ]
1
2017-04-27T19:50:02.000Z
2017-04-27T19:50:02.000Z
src/bpp/migrations/0167_auto_20190707_2029.py
mpasternak/django-bpp
434338821d5ad1aaee598f6327151aba0af66f5e
[ "BSD-3-Clause" ]
41
2019-11-07T00:07:02.000Z
2022-02-27T22:09:39.000Z
src/bpp/migrations/0167_auto_20190707_2029.py
iplweb/bpp
f027415cc3faf1ca79082bf7bacd4be35b1a6fdf
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.7 on 2019-07-07 18:29 import bpp.models.cache from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bpp', '0166_auto_20190702_1200'), ] operations = [ migrations.AlterField( model_name='cache_punktacja_au...
33.108108
108
0.626122
133
1,225
5.548872
0.383459
0.04878
0.075881
0.124661
0.775068
0.775068
0.531165
0.531165
0.531165
0.531165
0
0.036464
0.261224
1,225
36
109
34.027778
0.779006
0.036735
0
0.733333
1
0
0.125637
0.101019
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
545770806ecde867d07b3cd871286e89d7082f21
3,144
py
Python
cooka/core/dask_analyzer.py
highboo52na/Cooka
daea721b174df5faaa1144ecc6dfe5ebe9fa4a29
[ "Apache-2.0" ]
222
2020-10-26T06:14:11.000Z
2022-02-01T13:43:51.000Z
cooka/core/dask_analyzer.py
highboo52na/Cooka
daea721b174df5faaa1144ecc6dfe5ebe9fa4a29
[ "Apache-2.0" ]
6
2021-11-30T05:16:05.000Z
2021-12-29T03:08:34.000Z
cooka/core/dask_analyzer.py
highboo52na/Cooka
daea721b174df5faaa1144ecc6dfe5ebe9fa4a29
[ "Apache-2.0" ]
111
2020-12-22T02:41:47.000Z
2021-12-07T09:52:23.000Z
# -*- encoding: utf-8 -*- # import os # # from cooka.common import util # from cooka.common.serializer import ListBeanField, Bean # from cooka import settings # import pandas as pd # from cooka.common.log import log_core as logger # from cooka.common.model import Feature, FeatureTypeStats, DatasetStats, ContinuousFeatu...
39.3
155
0.637405
382
3,144
5.060209
0.376963
0.032592
0.03104
0.020176
0.027936
0
0
0
0
0
0
0.010004
0.236959
3,144
80
156
39.3
0.795748
0.945611
0
null
0
null
0
0
null
0
0
0.0125
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
1
0
0
0
1
0
0
0
0
0
0
3
54640e4a2f3ea67641e5a9b5b6c950a56299bdf6
2,293
py
Python
test/test_invitations_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
null
null
null
test/test_invitations_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
3
2021-09-27T05:10:36.000Z
2021-09-27T06:10:57.000Z
test/test_invitations_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
null
null
null
# coding: utf-8 """ Metal API This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/dev...
25.197802
312
0.665068
267
2,293
5.520599
0.333333
0.059701
0.059701
0.081411
0.34057
0.238806
0.114654
0.04749
0
0
0
0.021893
0.262974
2,293
90
313
25.477778
0.850296
0.508068
0
0.321429
0
0
0.008724
0
0
0
0
0
0
1
0.357143
false
0.321429
0.178571
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
5464cfdb789b496d307369de15f3ca513cb76216
243
py
Python
abc_mpesa/api/urls.py
mufasa101/python_daraja
d5c3f4e8357e1054834a4735386f6fc622ef40d3
[ "MIT" ]
null
null
null
abc_mpesa/api/urls.py
mufasa101/python_daraja
d5c3f4e8357e1054834a4735386f6fc622ef40d3
[ "MIT" ]
null
null
null
abc_mpesa/api/urls.py
mufasa101/python_daraja
d5c3f4e8357e1054834a4735386f6fc622ef40d3
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from abc_mpesa.api.views import lipaMpesaOnlineCallbackUrlAPIView urlpatterns = [ path("lnm/", lipaMpesaOnlineCallbackUrlAPIView.as_view(), name="lnm-callbackurl"), ]
30.375
86
0.802469
27
243
7.148148
0.703704
0.103627
0
0
0
0
0
0
0
0
0
0
0.102881
243
7
87
34.714286
0.885321
0
0
0
0
0
0.078189
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
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
3
54757fc21fe5dc8c346a5beb040bc2739990d70d
755
py
Python
challenges/array/insertion-sort/tests/test_insertion_sort.py
bayan-alkhatib/data-structures-and-algorithms-401
c22e0adf159392a8925f07a36b3083654d3a7002
[ "MIT" ]
null
null
null
challenges/array/insertion-sort/tests/test_insertion_sort.py
bayan-alkhatib/data-structures-and-algorithms-401
c22e0adf159392a8925f07a36b3083654d3a7002
[ "MIT" ]
11
2021-06-14T00:14:54.000Z
2021-06-30T00:08:30.000Z
challenges/array/insertion-sort/tests/test_insertion_sort.py
bayan-alkhatib/data-structures-and-algorithms-401
c22e0adf159392a8925f07a36b3083654d3a7002
[ "MIT" ]
1
2021-07-26T11:08:29.000Z
2021-07-26T11:08:29.000Z
from insertion_sort import __version__ from insertion_sort.insertion_sort import insertion_sort def test_version(): assert __version__ == '0.1.0' def test_insertion_sort(): arr=[8,4,23,42,16,15] actual=insertion_sort(arr) expected=[4,8,15,16,23,42] assert actual ==expected def test_insertion_rev...
25.166667
56
0.699338
126
755
3.952381
0.261905
0.23494
0.160643
0.176707
0.461847
0.341365
0
0
0
0
0
0.111635
0.157616
755
30
57
25.166667
0.671384
0
0
0.333333
0
0
0.006614
0
0
0
0
0
0.208333
1
0.208333
false
0
0.083333
0
0.291667
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
1
0
0
0
0
0
0
0
3
54985936a3208d9377fdce5fb789bbdda5e83b9b
348
py
Python
src/ga/interfaces/selection.py
technote-space/genetic-algorithms-py
a37e0a34c5970987d76fda6b14a48d9ab0579e33
[ "MIT" ]
3
2020-09-03T18:02:30.000Z
2020-09-08T18:09:38.000Z
src/ga/interfaces/selection.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
7
2020-09-08T16:57:19.000Z
2022-03-12T00:51:26.000Z
src/ga/interfaces/selection.py
Amplil/genetic-algorithms-py
4788c73b1b9d57eac904e8eb99d9140457201e6b
[ "MIT" ]
1
2021-04-14T11:10:50.000Z
2021-04-14T11:10:50.000Z
from abc import ABCMeta, abstractmethod from typing import List, Tuple from .chromosome import IChromosome class ISelection(metaclass=ABCMeta): """ Description: ------------ 選択のinterface """ @abstractmethod def select(self, chromosomes: List[IChromosome]) -> Tuple[List[IChromosome], List[...
21.75
100
0.678161
33
348
7.151515
0.606061
0.190678
0
0
0
0
0
0
0
0
0
0
0.198276
348
15
101
23.2
0.845878
0.109195
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
549b5a9ef527543010ab690b36c90b40b20a0272
554
py
Python
ttt/game/models.py
idegtiarov/ttt-wg
93a063d593dd83aee2dab2c21d5e243f5a17d01e
[ "Apache-2.0" ]
null
null
null
ttt/game/models.py
idegtiarov/ttt-wg
93a063d593dd83aee2dab2c21d5e243f5a17d01e
[ "Apache-2.0" ]
null
null
null
ttt/game/models.py
idegtiarov/ttt-wg
93a063d593dd83aee2dab2c21d5e243f5a17d01e
[ "Apache-2.0" ]
null
null
null
from collections import defaultdict from django.contrib.auth.models import User from django.contrib.postgres.fields import JSONField from django.db import models def default_dict_set(): return defaultdict(set) class Progress(models.Model): """ The model for User's progress. """ user = models.F...
24.086957
60
0.729242
73
554
5.383562
0.479452
0.076336
0.10687
0.137405
0.198473
0.198473
0.198473
0
0
0
0
0
0.16787
554
22
61
25.181818
0.852495
0.054152
0
0
0
0
0.029528
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
54a123e3bfb8297090b9518e300112d23c6d9bff
837
py
Python
sharpy/managers/__init__.py
raspersc2/sharpy-sc2
ec8f5870eab233b1d09a54a09bd8b76ea2585735
[ "MIT" ]
null
null
null
sharpy/managers/__init__.py
raspersc2/sharpy-sc2
ec8f5870eab233b1d09a54a09bd8b76ea2585735
[ "MIT" ]
null
null
null
sharpy/managers/__init__.py
raspersc2/sharpy-sc2
ec8f5870eab233b1d09a54a09bd8b76ea2585735
[ "MIT" ]
null
null
null
from .manager_base import ManagerBase from .unit_cache_manager import UnitCacheManager from .zone_manager import ZoneManager from .cooldown_manager import CooldownManager from .building_solver import BuildingSolver from .income_calculator import IncomeCalculator from .unit_role_manager import UnitRoleManager from .enem...
41.85
54
0.886499
97
837
7.43299
0.494845
0.162275
0
0
0
0
0
0
0
0
0
0
0.0908
837
19
55
44.052632
0.947438
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
1
0
0
3
54a7061dd7665c67769ab92a5b3c0f0cd97ce438
2,222
py
Python
contrib/cssgrid/setup.py
xylar/cdat
8a5080cb18febfde365efc96147e25f51494a2bf
[ "BSD-3-Clause" ]
62
2018-03-30T15:46:56.000Z
2021-12-08T23:30:24.000Z
contrib/cssgrid/setup.py
xylar/cdat
8a5080cb18febfde365efc96147e25f51494a2bf
[ "BSD-3-Clause" ]
114
2018-03-21T01:12:43.000Z
2021-07-05T12:29:54.000Z
contrib/cssgrid/setup.py
CDAT/uvcdat
5133560c0c049b5c93ee321ba0af494253b44f91
[ "BSD-3-Clause" ]
14
2018-06-06T02:42:47.000Z
2021-11-26T03:27:00.000Z
import sys,os target_prefix = sys.prefix for i in range(len(sys.argv)): a = sys.argv[i] if a=='--prefix': target_prefix=sys.argv[i+1] sp = a.split("--prefix=") if len(sp)==2: target_prefix=sp[1] sys.path.insert(0,os.path.join(target_prefix,'lib','python%i.%i' % sys.version_info[:2],'site...
50.5
121
0.635914
353
2,222
3.934844
0.376771
0.215983
0.037437
0.031677
0.040317
0
0
0
0
0
0
0.009243
0.220972
2,222
43
122
51.674419
0.793183
0.019352
0
0
0
0.282051
0.647221
0.009646
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54a90b42ec47707c20bc98b426d34b7b4d2cfab8
62
py
Python
images/Ch03/03_04 Begin/03_04.py
mutazag/cv
f5693772bda4e2611808d862756bd9234f02176e
[ "MIT" ]
1
2020-08-06T12:03:40.000Z
2020-08-06T12:03:40.000Z
images/Ch03/03_04 Begin/03_04.py
mutazag/cv
f5693772bda4e2611808d862756bd9234f02176e
[ "MIT" ]
null
null
null
images/Ch03/03_04 Begin/03_04.py
mutazag/cv
f5693772bda4e2611808d862756bd9234f02176e
[ "MIT" ]
1
2020-08-10T07:56:24.000Z
2020-08-10T07:56:24.000Z
import numpy as np import cv2 img = cv2.imread('faces.jpg',1)
15.5
31
0.725806
12
62
3.75
0.833333
0
0
0
0
0
0
0
0
0
0
0.056604
0.145161
62
4
31
15.5
0.792453
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
1
0
0
0
0
3
54b8def2144b854b6d88060db4b48bc45ae5253c
137
py
Python
voxel_globe/security/urls.py
ngageoint/voxel-globe
91f386de652b704942165889c10468b2c4cf4eec
[ "MIT" ]
28
2015-07-27T23:57:24.000Z
2020-04-05T15:10:52.000Z
voxel_globe/security/urls.py
VisionSystemsInc/voxel_globe
6eb3fca5586726428e9d914f7b730ca164c64a52
[ "MIT" ]
50
2016-02-11T15:50:22.000Z
2016-10-27T22:38:27.000Z
voxel_globe/security/urls.py
ngageoint/voxel-globe
91f386de652b704942165889c10468b2c4cf4eec
[ "MIT" ]
8
2015-07-27T19:22:03.000Z
2021-01-04T09:44:48.000Z
from django.conf.urls import url import voxel_globe.security.views as views urlpatterns = [ url(r'', views.images, name='images'), ]
22.833333
42
0.729927
20
137
4.95
0.75
0
0
0
0
0
0
0
0
0
0
0
0.138686
137
6
43
22.833333
0.838983
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
49b28772e6685abd0c5de40defffab6a3fe5d63d
74
py
Python
teste.py
andrebalen/mineNugget
0399cd666a81bc6136c9bd09e1574fd83885f9ea
[ "Apache-2.0" ]
null
null
null
teste.py
andrebalen/mineNugget
0399cd666a81bc6136c9bd09e1574fd83885f9ea
[ "Apache-2.0" ]
null
null
null
teste.py
andrebalen/mineNugget
0399cd666a81bc6136c9bd09e1574fd83885f9ea
[ "Apache-2.0" ]
null
null
null
a = ['a'] for i in range(1000): a.append('XL') a = ''.join(a) print a
10.571429
21
0.513514
15
74
2.533333
0.666667
0
0
0
0
0
0
0
0
0
0
0.070175
0.22973
74
6
22
12.333333
0.596491
0
0
0
0
0
0.041096
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
49e624b8cbf588e86c4e10b5e3c5497071f503b5
1,921
py
Python
photo/models.py
Mukantwarivirginie/Instagram
91cf561e696638ec0ef410cc6410b844cf9bc2e7
[ "MIT" ]
null
null
null
photo/models.py
Mukantwarivirginie/Instagram
91cf561e696638ec0ef410cc6410b844cf9bc2e7
[ "MIT" ]
null
null
null
photo/models.py
Mukantwarivirginie/Instagram
91cf561e696638ec0ef410cc6410b844cf9bc2e7
[ "MIT" ]
null
null
null
from django.db import models from tinymce.models import HTMLField from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): image= models.ImageField(upload_to='photo/') name = models.CharField(max_length =30) bio = models.CharField(max_length =30) editor = ...
21.829545
79
0.661635
238
1,921
5.138655
0.247899
0.058872
0.071954
0.137367
0.504497
0.430908
0.246934
0.246934
0.168438
0.168438
0
0.010899
0.235815
1,921
87
80
22.08046
0.822207
0.012493
0
0.45283
0
0
0.009519
0
0
0
0
0
0
1
0.226415
false
0
0.056604
0.113208
0.792453
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
1
0
0
3
49f28b89f28230ea1cb2d5680229d71bd140d8b5
191
py
Python
splitiorequests/models/splits/bucket.py
mikoblog/splitio-requests
c09b069e49f5224cbe3f892a5731c62885fd6151
[ "MIT" ]
null
null
null
splitiorequests/models/splits/bucket.py
mikoblog/splitio-requests
c09b069e49f5224cbe3f892a5731c62885fd6151
[ "MIT" ]
4
2020-11-22T12:07:45.000Z
2021-03-26T23:44:12.000Z
splitiorequests/models/splits/bucket.py
mikoblog/splitio-requests
c09b069e49f5224cbe3f892a5731c62885fd6151
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Bucket dataclass""" from dataclasses import dataclass @dataclass class Bucket: """Split Definition's Rule's Bucket model""" treatment: str size: int
15.916667
48
0.659686
23
191
5.478261
0.782609
0
0
0
0
0
0
0
0
0
0
0.006536
0.198953
191
11
49
17.363636
0.816993
0.408377
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.8
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
1
0
0
0
1
0
0
3
b7161aacf579718568fb2c6cd999ec328a5fd2a5
354
py
Python
fjord/main.py
dkuntz2/fjord
f38cc6e5e07c0f479b3589dbf7a2056c3f77b0a1
[ "BSD-3-Clause" ]
null
null
null
fjord/main.py
dkuntz2/fjord
f38cc6e5e07c0f479b3589dbf7a2056c3f77b0a1
[ "BSD-3-Clause" ]
null
null
null
fjord/main.py
dkuntz2/fjord
f38cc6e5e07c0f479b3589dbf7a2056c3f77b0a1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import sys from fjord.core import Fjord from fjord.exceptions import FjordException def main(): try: Fjord() except FjordException as e: print(e) return e.code return 0 if __name__ ==...
14.75
55
0.629944
43
354
4.860465
0.627907
0.086124
0
0
0
0
0
0
0
0
0
0.007843
0.279661
354
23
56
15.391304
0.811765
0.059322
0
0
0
0
0.024169
0
0
0
0
0
0
1
0.076923
true
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
1
0
1
0
1
0
0
3
b71671305b1e2b0c9e6771f29cb9ba112280a8c9
800
py
Python
nicer_pymail/exceptions.py
justsomeonenamedalex/nicer_pymail
b5c579ddb77852d82ebdf28ed7c1d7581ce242ba
[ "MIT" ]
null
null
null
nicer_pymail/exceptions.py
justsomeonenamedalex/nicer_pymail
b5c579ddb77852d82ebdf28ed7c1d7581ce242ba
[ "MIT" ]
3
2020-08-05T11:25:45.000Z
2020-08-06T13:02:39.000Z
nicer_pymail/exceptions.py
justsomeonenamedalex/nicer_pymail
b5c579ddb77852d82ebdf28ed7c1d7581ce242ba
[ "MIT" ]
null
null
null
class NicerPyMailException(Exception): pass class ClientException(NicerPyMailException): pass class EmailException(NicerPyMailException): pass class AuthenticationException(ClientException): def __str__(self): return "Authentication failed, check that your username and password are correct...
24.242424
115
0.70625
88
800
6.193182
0.488636
0.088073
0.055046
0.088073
0.223853
0.223853
0.223853
0.223853
0.223853
0.223853
0
0
0.215
800
32
116
25
0.867834
0
0
0.5
0
0
0.2825
0
0
0
0
0
0
1
0.25
false
0.2
0
0.15
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
b73856a088f3d428ba354e7a72dff6843f82b136
149
py
Python
sqlite_framework/sql/item/constraint/foreign_key/change.py
alvarogzp/python-sqlite-framework
29db97a64f95cfe13eb7bae1d00b624b5a37b152
[ "Apache-2.0" ]
1
2020-08-29T12:42:11.000Z
2020-08-29T12:42:11.000Z
sqlite_framework/sql/item/constraint/foreign_key/change.py
alvarogzp/python-sqlite-framework
29db97a64f95cfe13eb7bae1d00b624b5a37b152
[ "Apache-2.0" ]
4
2018-05-07T19:36:30.000Z
2018-05-29T05:18:13.000Z
sqlite_framework/sql/item/constraint/foreign_key/change.py
alvarogzp/python-sqlite-framework
29db97a64f95cfe13eb7bae1d00b624b5a37b152
[ "Apache-2.0" ]
null
null
null
from sqlite_framework.sql.item.base import NamedItem class ReferenceChangeAction(NamedItem): pass CASCADE = ReferenceChangeAction("cascade")
16.555556
52
0.805369
15
149
7.933333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.120805
149
8
53
18.625
0.908397
0
0
0
0
0
0.04698
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
3f7f840af5a708830e8ba3570288dad34c34eb25
247
py
Python
src/pyscoresaber/models/players.py
Kiyomi-Parents/PyScoreSaber
5dbfbfad04bf53ac3fc2fc803acf0374db5c2552
[ "MIT" ]
null
null
null
src/pyscoresaber/models/players.py
Kiyomi-Parents/PyScoreSaber
5dbfbfad04bf53ac3fc2fc803acf0374db5c2552
[ "MIT" ]
6
2022-02-10T08:59:01.000Z
2022-03-01T08:06:57.000Z
src/pyscoresaber/models/players.py
Kiyomi-Parents/PyScoreSaber
5dbfbfad04bf53ac3fc2fc803acf0374db5c2552
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import * from dataclasses_json import dataclass_json from .fields import default from .player import Player @dataclass_json @dataclass class Players: players: List[Player] = default("players")
17.642857
46
0.797571
31
247
6.258065
0.387097
0.154639
0
0
0
0
0
0
0
0
0
0
0.145749
247
13
47
19
0.919431
0
0
0
0
0
0.02834
0
0
0
0
0
0
1
0
true
0
0.555556
0
0.777778
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
1
0
0
3
3fb54f8cb2380905cb852c4aaacbb70fa0de7c3d
190
py
Python
check.py
HALLOWe3n/Pyser
f2fdb7a6a302cce9c5ed86bf3592cfc61597d81c
[ "MIT" ]
null
null
null
check.py
HALLOWe3n/Pyser
f2fdb7a6a302cce9c5ed86bf3592cfc61597d81c
[ "MIT" ]
null
null
null
check.py
HALLOWe3n/Pyser
f2fdb7a6a302cce9c5ed86bf3592cfc61597d81c
[ "MIT" ]
null
null
null
from parser.lexer import lex from parser.parser import parse def from_string(string): tokens = lex(string) return parse(tokens) string = '[{"some": "Body"}]' from_string(string)
15.833333
31
0.705263
26
190
5.076923
0.461538
0.151515
0.242424
0
0
0
0
0
0
0
0
0
0.168421
190
11
32
17.272727
0.835443
0
0
0
0
0
0.094737
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
1
0
0
3
3fbc1ded9110638a2f6a40e88fad5d3a4704fc3a
404
py
Python
django/zapier.py
Zadigo/django_api
6dcc54590563f10c1af07d1732f80a33183e99b1
[ "MIT" ]
null
null
null
django/zapier.py
Zadigo/django_api
6dcc54590563f10c1af07d1732f80a33183e99b1
[ "MIT" ]
null
null
null
django/zapier.py
Zadigo/django_api
6dcc54590563f10c1af07d1732f80a33183e99b1
[ "MIT" ]
null
null
null
import requests class Zapier: def __init__(self, url, **kwargs): response = requests.post(url, data=kwargs) if response.status_code == 200: self.response = response class Slack(Zapier): def __init__(self, url, **kwargs): super().__init__(url, **kwargs) class MailChimp(Zapi...
25.25
50
0.628713
47
404
4.957447
0.404255
0.193133
0.167382
0.218884
0.48927
0.48927
0.377682
0.377682
0.377682
0.377682
0
0.009677
0.232673
404
15
51
26.933333
0.741935
0
0
0.416667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.583333
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
1
0
0
3
3fc59cc2b5c9d306d00713150c61d99bea00fd57
191
py
Python
setup.py
aous72/turingas
46d8a1f13c72c4db617bd153779d8aaab730b9c4
[ "MIT" ]
111
2019-12-12T11:54:05.000Z
2022-03-30T11:23:21.000Z
setup.py
xiaozhimabing/turingas
3659d4f4082e062ce7e8353c5e01b30077ea614d
[ "MIT" ]
9
2020-02-24T20:01:03.000Z
2022-03-14T15:37:33.000Z
setup.py
xiaozhimabing/turingas
3659d4f4082e062ce7e8353c5e01b30077ea614d
[ "MIT" ]
37
2020-01-16T07:12:57.000Z
2022-01-10T08:03:03.000Z
from setuptools import setup setup( name='turingas', version='0.1', author='DaYan @ HKUST', author_email='dyanab@cse.ust.hk', packages=['turingas'] )
19.1
41
0.570681
21
191
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.014599
0.282723
191
9
42
21.222222
0.773723
0
0
0
0
0
0.256545
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
1
0
0
0
0
0
0
3
3fd785d120e1d8d8c5abd0329267d0fa1170b764
196
py
Python
tests/70_program_libpfasst_swe_sphere_mlsdc_timestepper_convergence/postprocessing_pickle.py
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
null
null
null
tests/70_program_libpfasst_swe_sphere_mlsdc_timestepper_convergence/postprocessing_pickle.py
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
null
null
null
tests/70_program_libpfasst_swe_sphere_mlsdc_timestepper_convergence/postprocessing_pickle.py
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import sys import math import glob from mule_local.postprocessing.pickle_SphereDataSpectralDiff import * from mule.exec_program import * pickle_SphereDataSpectralDiff()
17.818182
69
0.831633
24
196
6.625
0.666667
0.100629
0
0
0
0
0
0
0
0
0
0.005714
0.107143
196
10
70
19.6
0.902857
0.112245
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
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
1
0
1
0
0
0
0
3
3fdc2de533b04d53beef4a7f1e8b6516329d2176
40
py
Python
secrets.py
NitishaS-812k/Automating-Spotify
544d787b7ddc66efa35ee3def099196c4e140776
[ "MIT" ]
1
2020-06-07T17:26:07.000Z
2020-06-07T17:26:07.000Z
secrets.py
NitishaS-812k/Automating-Spotify
544d787b7ddc66efa35ee3def099196c4e140776
[ "MIT" ]
null
null
null
secrets.py
NitishaS-812k/Automating-Spotify
544d787b7ddc66efa35ee3def099196c4e140776
[ "MIT" ]
null
null
null
spotify_user_id = '' spotify_token = ''
13.333333
20
0.7
5
40
5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.15
40
2
21
20
0.735294
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
3fe20b4de5ea55572844c8746855bd28fbaa682e
179
py
Python
list_stat.py
charliechocho/py-crash-course
b42b8a4c1cb8d76e8316f55c1565ff42d920ee63
[ "Apache-2.0" ]
null
null
null
list_stat.py
charliechocho/py-crash-course
b42b8a4c1cb8d76e8316f55c1565ff42d920ee63
[ "Apache-2.0" ]
null
null
null
list_stat.py
charliechocho/py-crash-course
b42b8a4c1cb8d76e8316f55c1565ff42d920ee63
[ "Apache-2.0" ]
null
null
null
num_square = [] for value in range(1,11): square = value ** 2 num_square.append(square) print(num_square) print(min(num_square)) print(max(num_square)) print(sum(num_square))
16.272727
26
0.731844
30
179
4.166667
0.466667
0.432
0.336
0
0
0
0
0
0
0
0
0.025316
0.117318
179
11
27
16.272727
0.765823
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
b21000a819f467895221bbe3dfc851660b9ea4f7
507
py
Python
test/impl/builders/label_builder.py
isabella232/SGTM
3793d78e99f89e5f73bac5c44f9d8a18cac75fbf
[ "MIT" ]
8
2020-12-05T00:13:03.000Z
2022-01-11T11:35:51.000Z
test/impl/builders/label_builder.py
Asana/SGTM
0e9e236980ed68e80e021470da6374945bbac501
[ "MIT" ]
12
2020-12-14T18:21:21.000Z
2022-03-29T17:06:20.000Z
test/impl/builders/label_builder.py
isabella232/SGTM
3793d78e99f89e5f73bac5c44f9d8a18cac75fbf
[ "MIT" ]
2
2021-06-27T09:32:55.000Z
2022-02-27T23:17:36.000Z
from typing import Any, Dict, Union from src.github.models import Label from .builder_base_class import BuilderBaseClass class LabelBuilder(BuilderBaseClass): def __init__(self, name="label"): self.raw_label = {"name": name} def name(self, name: str) -> Union["LabelBuilder", Label]: self.raw_...
26.684211
62
0.662722
67
507
4.850746
0.358209
0.083077
0.110769
0.156923
0.153846
0.153846
0
0
0
0
0
0
0.21499
507
18
63
28.166667
0.816583
0
0
0
0
0
0.04931
0
0
0
0
0
0
1
0.307692
false
0
0.230769
0.153846
0.846154
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
1
0
0
3
b7689b0ea048bdc0f3dc52c794f1158df91a9301
44,648
py
Python
main.py
AlzanJerliu/passmanager
7ad87f3e22f2f7eb58832b5e05ea5d72b97ed9b5
[ "MIT" ]
29
2021-08-28T06:03:42.000Z
2021-12-11T17:56:21.000Z
main.py
AlzanJerliu/passmanager
7ad87f3e22f2f7eb58832b5e05ea5d72b97ed9b5
[ "MIT" ]
null
null
null
main.py
AlzanJerliu/passmanager
7ad87f3e22f2f7eb58832b5e05ea5d72b97ed9b5
[ "MIT" ]
3
2021-08-28T18:13:48.000Z
2021-09-21T18:12:30.000Z
from PyQt5.QtWidgets import * from PyQt5.QtCore import * from logsign import Ui_LoginSignup from panel import Ui_panel import pyperclip as pc import string import csv import random import os import webbrowser import darkdetect from PyQt5 import QtGui from PyQt5 import QtCore from datetime import datetime from PyQt5.QtW...
45.559184
120
0.627553
5,175
44,648
5.307826
0.072077
0.186617
0.121341
0.075142
0.84178
0.767038
0.656182
0.607471
0.590869
0.548129
0
0.013839
0.257122
44,648
979
121
45.60572
0.814309
0.004972
0
0.477411
0
0.002442
0.032813
0.001104
0
0
0
0
0
1
0.063492
false
0.113553
0.019536
0
0.08547
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b77236f2f46cb2306062e12ae09558aa4ea6eaf0
137
py
Python
django-ros-turtlesim-server/django_ros/Robot/RobotUrls.py
samcrane8/django-ros-turtlesim
35065764770ae2b60613a82b1d213e19d7010ba7
[ "MIT" ]
5
2020-06-16T23:29:05.000Z
2021-09-08T11:55:10.000Z
django-ros-turtlesim-server/django_ros/Robot/RobotUrls.py
samcrane8/django-ros-turtlesim
35065764770ae2b60613a82b1d213e19d7010ba7
[ "MIT" ]
6
2021-03-19T02:22:34.000Z
2021-09-22T18:55:37.000Z
django-ros-turtlesim-server/django_ros/Robot/RobotUrls.py
samcrane8/django-ros-turtlesim
35065764770ae2b60613a82b1d213e19d7010ba7
[ "MIT" ]
2
2022-01-22T01:34:51.000Z
2022-03-22T06:49:30.000Z
from django.urls import path from . import RobotView urlpatterns = [ path('room/<str:room_name>/', RobotView.room, name='room'), ]
17.125
63
0.693431
18
137
5.222222
0.555556
0.170213
0
0
0
0
0
0
0
0
0
0
0.153285
137
7
64
19.571429
0.810345
0
0
0
0
0
0.182482
0.153285
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b776b48eff01f15b412c5559a4bb8b76214a9ab3
87
py
Python
jsonbyket/__init__.py
ketanmb69/mypylibrary
dbcffa389974b895399e3f8c5a0f23bbd57aa540
[ "MIT" ]
null
null
null
jsonbyket/__init__.py
ketanmb69/mypylibrary
dbcffa389974b895399e3f8c5a0f23bbd57aa540
[ "MIT" ]
null
null
null
jsonbyket/__init__.py
ketanmb69/mypylibrary
dbcffa389974b895399e3f8c5a0f23bbd57aa540
[ "MIT" ]
null
null
null
from jsonbyket.jsonbyket import jsonbyket as jbk __version__ = "1.0.0" jsonbyket = jbk
21.75
48
0.781609
13
87
4.923077
0.615385
0
0
0
0
0
0
0
0
0
0
0.04
0.137931
87
3
49
29
0.813333
0
0
0
0
0
0.057471
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
b77c7f92624593aba3a9ca873be1cf5bc4bd4356
357
py
Python
codeflix/youtubedl/migrations/0002_auto_20200728_1432.py
ish-u/cs50w-projects
16b9ca280d0fe8bc6359d4091ef8153233f9b5eb
[ "MIT" ]
5
2020-08-06T11:59:41.000Z
2022-01-24T15:48:04.000Z
codeflix/youtubedl/migrations/0002_auto_20200728_1432.py
ish-u/cs50w-projects
16b9ca280d0fe8bc6359d4091ef8153233f9b5eb
[ "MIT" ]
9
2021-06-04T23:54:35.000Z
2022-02-10T12:39:01.000Z
codeflix/youtubedl/migrations/0002_auto_20200728_1432.py
ish-u/cs50w-projects
16b9ca280d0fe8bc6359d4091ef8153233f9b5eb
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-28 09:02 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('youtubedl', '0001_initial'), ] operations = [ migrations.DeleteModel( name='Playlist', ), migrations.DeleteModel( ...
17.85
47
0.563025
34
357
5.882353
0.794118
0.21
0.25
0
0
0
0
0
0
0
0
0.078512
0.322129
357
19
48
18.789474
0.747934
0.12605
0
0.307692
1
0
0.109677
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b789bf148f0c1dfdecc81ab23b335086ef083312
390
py
Python
production_scheduling_shrdc/overrides/sales_order.py
Drayang/ERPNext-Production-Scheduing
477ff09ed706973009250cb9c5f9892fe5e67137
[ "MIT" ]
null
null
null
production_scheduling_shrdc/overrides/sales_order.py
Drayang/ERPNext-Production-Scheduing
477ff09ed706973009250cb9c5f9892fe5e67137
[ "MIT" ]
1
2022-03-17T02:23:20.000Z
2022-03-17T06:14:50.000Z
production_scheduling_shrdc/overrides/sales_order.py
Drayang/ERPNext-Production-Scheduing
477ff09ed706973009250cb9c5f9892fe5e67137
[ "MIT" ]
4
2022-01-30T02:58:26.000Z
2022-02-28T08:33:43.000Z
from erpnext.selling.doctype.sales_order.sales_order import SalesOrder from frappe import msgprint import frappe from frappe import _ class CustomSalesOrder(SalesOrder): def on_submit(self): self.my_custom_code() def validate(self): self.my_custom_code() def my_custom_code(self): ...
24.375
70
0.707692
53
390
5
0.490566
0.090566
0.135849
0.120755
0.173585
0.173585
0
0
0
0
0
0
0.207692
390
15
71
26
0.857605
0
0
0.166667
0
0
0.074359
0
0
0
0
0
0
1
0.25
false
0
0.333333
0
0.666667
0.25
0
0
0
null
0
0
0
0
0
0
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
1
0
1
0
0
3
b7b9aaaff9b0f74a3bce62c5e96eb0ca5acdee38
3,650
gyp
Python
app/app.gyp
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
app/app.gyp
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
app/app.gyp
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
# Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'includes': [ 'app_base.gypi', ], 'targets': [ { 'target_name': 'app_unittests', ...
32.300885
76
0.552329
390
3,650
4.938462
0.384615
0.109034
0.087227
0.116303
0.247144
0.142264
0.106957
0.075805
0.048806
0.048806
0
0.020202
0.267671
3,650
112
77
32.589286
0.700337
0.070411
0
0.294118
0
0
0.625
0.481087
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b7c34b08975866bb5eb6c03fbaa49066aa2fd0ed
419
py
Python
tests/test_A000032.py
rwnobrega/oeis
5aee8ef2be50affc74b3f79ad75c7ff40279647e
[ "MIT" ]
null
null
null
tests/test_A000032.py
rwnobrega/oeis
5aee8ef2be50affc74b3f79ad75c7ff40279647e
[ "MIT" ]
null
null
null
tests/test_A000032.py
rwnobrega/oeis
5aee8ef2be50affc74b3f79ad75c7ff40279647e
[ "MIT" ]
null
null
null
from hypothesis import given from hypothesis.strategies import integers from oeis import A000032 def test_A000032_head(): assert A000032[0] == 2 assert A000032[1] == 1 @given(integers(min_value=2, max_value=1000)) def test_A000032_recurrence(n): assert A000032[n] == A000032[n - 1] + A000032[n - 2] de...
22.052632
67
0.692124
66
419
4.257576
0.484848
0.185053
0.149466
0
0
0
0
0
0
0
0
0.264535
0.178998
419
18
68
23.277778
0.552326
0
0
0
0
0
0
0
0
0
0
0
0.363636
1
0.272727
false
0
0.272727
0
0.545455
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
1
0
0
3
b7f6a033a6b8bb986300ed45c728441fe5d74583
233
py
Python
symlens/__init__.py
guanyilun/symlens
c82b113366c3274770d5e729835603e0e6850dc1
[ "BSD-3-Clause" ]
null
null
null
symlens/__init__.py
guanyilun/symlens
c82b113366c3274770d5e729835603e0e6850dc1
[ "BSD-3-Clause" ]
null
null
null
symlens/__init__.py
guanyilun/symlens
c82b113366c3274770d5e729835603e0e6850dc1
[ "BSD-3-Clause" ]
null
null
null
"""Top-level package for symlens.""" __author__ = """Mathew Madhavacheril""" __email__ = 'mathewsyriac@gmail.com' __version__ = '0.2.4' try: from .factorize import * from .qe import * from .utils import * except: pass
17.923077
39
0.669528
28
233
5.142857
0.857143
0.138889
0
0
0
0
0
0
0
0
0
0.015873
0.188841
233
12
40
19.416667
0.746032
0.128755
0
0
0
0
0.238579
0.111675
0
0
0
0
0
1
0
false
0.125
0.375
0
0.375
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
1
0
0
0
0
3
4d03c6b4b77b7f74027594d64aa333ad3c0a770b
6,493
py
Python
tests/integration/cattletest/core/test_cluster.py
v55448330/cattle
042dd3bace3630303211a675bc55b7c1b756bc5c
[ "Apache-2.0" ]
null
null
null
tests/integration/cattletest/core/test_cluster.py
v55448330/cattle
042dd3bace3630303211a675bc55b7c1b756bc5c
[ "Apache-2.0" ]
null
null
null
tests/integration/cattletest/core/test_cluster.py
v55448330/cattle
042dd3bace3630303211a675bc55b7c1b756bc5c
[ "Apache-2.0" ]
1
2021-08-10T05:56:19.000Z
2021-08-10T05:56:19.000Z
from common_fixtures import * # NOQA def _clean_clusterhostmap_for_host(host): for cluster in host.clusters(): cluster.removehost(hostId=str(host.id)) def _resource_is_inactive(resource): return resource.state == 'inactive' def _resource_is_active(resource): return resource.state == 'active' ...
32.628141
70
0.678731
832
6,493
5.088942
0.144231
0.114313
0.052905
0.069438
0.794048
0.75248
0.730987
0.632026
0.607936
0.607936
0
0.013495
0.212537
6,493
198
71
32.792929
0.81459
0.079162
0
0.697842
0
0
0.068925
0.012745
0
0
0
0
0.115108
1
0.05036
false
0
0.007194
0.014388
0.071942
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d0a36e0bccaddbe1c0d726de08a954985505e56
131
py
Python
leetcode-algorithms/973. K Closest Points to Origin/kclosestpoints.py
rongpenl/algorithms-and-oj
6b01401f88e852a313e1c2f1915b131bbb6a4272
[ "MIT" ]
null
null
null
leetcode-algorithms/973. K Closest Points to Origin/kclosestpoints.py
rongpenl/algorithms-and-oj
6b01401f88e852a313e1c2f1915b131bbb6a4272
[ "MIT" ]
null
null
null
leetcode-algorithms/973. K Closest Points to Origin/kclosestpoints.py
rongpenl/algorithms-and-oj
6b01401f88e852a313e1c2f1915b131bbb6a4272
[ "MIT" ]
1
2019-12-08T23:48:34.000Z
2019-12-08T23:48:34.000Z
class Solution: def kClosest(self, points, K): return heapq.nsmallest(K, points, lambda (x, y): x * x + y * y)
32.75
71
0.564885
19
131
3.894737
0.684211
0.054054
0
0
0
0
0
0
0
0
0
0
0.29771
131
4
72
32.75
0.804348
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
4d138642e1456a0ad75d23b5f8f03f85d303eff1
1,567
py
Python
redbird/oper.py
Miksus/red-base
4c272e8cb2325b51f6293f608a773e011b1d05da
[ "MIT" ]
null
null
null
redbird/oper.py
Miksus/red-base
4c272e8cb2325b51f6293f608a773e011b1d05da
[ "MIT" ]
null
null
null
redbird/oper.py
Miksus/red-base
4c272e8cb2325b51f6293f608a773e011b1d05da
[ "MIT" ]
null
null
null
from abc import ABC from typing import TYPE_CHECKING, Callable if TYPE_CHECKING: from redbird.base import BaseResult class Operation(ABC): """Field operation """ __py_magic__: str __formatter__ : str def __init__(self, value): self.value = value def _get_formatter(self, result:'...
23.38806
62
0.689853
183
1,567
5.218579
0.234973
0.122513
0.100524
0.104712
0.172775
0.172775
0.142408
0
0
0
0
0
0.216975
1,567
67
63
23.38806
0.778321
0.009572
0
0
0
0
0.083117
0
0
0
0
0
0
1
0.270833
false
0
0.0625
0.25
0.958333
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
1
0
0
3
4d18c6eeeb37f497268f6a8b52c08105186a336f
88
py
Python
series4.py
gaurinarayan/python
435ebf3292b8be83b31474ee38fc6094a3c26dfa
[ "MIT" ]
null
null
null
series4.py
gaurinarayan/python
435ebf3292b8be83b31474ee38fc6094a3c26dfa
[ "MIT" ]
null
null
null
series4.py
gaurinarayan/python
435ebf3292b8be83b31474ee38fc6094a3c26dfa
[ "MIT" ]
null
null
null
import pandas as pd df=pd.DataFrame({1,2,3},index=["rows1","rows2","rows3"]) print(df)
29.333333
57
0.670455
16
88
3.6875
0.875
0
0
0
0
0
0
0
0
0
0
0.074074
0.079545
88
3
58
29.333333
0.654321
0
0
0
0
0
0.172414
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
0
0
3
4d2c36efec9bf21d4e39316972ad30b5a1a0cd67
2,113
py
Python
tbans/models/notifications/update_mytba.py
brandondean/the-blue-alliance
a22c74a5b1745ea1c6cd7160807543933403ba07
[ "MIT" ]
null
null
null
tbans/models/notifications/update_mytba.py
brandondean/the-blue-alliance
a22c74a5b1745ea1c6cd7160807543933403ba07
[ "MIT" ]
null
null
null
tbans/models/notifications/update_mytba.py
brandondean/the-blue-alliance
a22c74a5b1745ea1c6cd7160807543933403ba07
[ "MIT" ]
null
null
null
from tbans.models.notifications.notification import Notification class UpdateMyTBANotification(Notification): """ Base notification class for myTBA update notifications - ex: favorites and subscriptions Attributes: type_name (string): Human readable string that represents the type for this notificati...
43.122449
122
0.691907
265
2,113
5.264151
0.275472
0.121147
0.149104
0.0681
0.503226
0.455914
0.432975
0.432975
0.432975
0.432975
0
0
0.225272
2,113
48
123
44.020833
0.852169
0.396593
0
0.125
0
0
0.081803
0
0
0
0
0
0
1
0.208333
false
0
0.125
0.125
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4d3d71b7623650b9a64e2fc336161c79a8de8b93
177
py
Python
naive_text/__init__.py
naivenlp/naive-text
d311b6158167000e24cdb7799aa8723300bae9d8
[ "Apache-2.0" ]
null
null
null
naive_text/__init__.py
naivenlp/naive-text
d311b6158167000e24cdb7799aa8723300bae9d8
[ "Apache-2.0" ]
null
null
null
naive_text/__init__.py
naivenlp/naive-text
d311b6158167000e24cdb7799aa8723300bae9d8
[ "Apache-2.0" ]
null
null
null
from .normalizer import AbstractTextNormalizer, TextNormalizer from .sentence import AbstractSentenceSegmenter, SentenceSegmenter __name__ = 'naive_text' __version__ = '0.0.1'
29.5
66
0.836158
17
177
8.176471
0.823529
0
0
0
0
0
0
0
0
0
0
0.01875
0.096045
177
5
67
35.4
0.85
0
0
0
0
0
0.084746
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
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
3
4d46366ab63e03b58afa6e3040bedbf5d41fe61b
1,952
py
Python
curves.py
danielvilas/mrcp
8b79c2487ec8acf6678113772e70a32e2ab24d72
[ "MIT" ]
null
null
null
curves.py
danielvilas/mrcp
8b79c2487ec8acf6678113772e70a32e2ab24d72
[ "MIT" ]
null
null
null
curves.py
danielvilas/mrcp
8b79c2487ec8acf6678113772e70a32e2ab24d72
[ "MIT" ]
null
null
null
from mrcp.points import Point from mrcp.turnouts import CurveTurnOut_2_3 import mrcp def fullCurve(panel,pos=Point(10,10),radius=2): curve1=mrcp.Curve(radius=radius,left=True,up=True,color="gray") panel.add(curve1,pos) curve1=mrcp.Curve(radius=radius,left=False,up=True,color="gray") panel.add(curve1,p...
33.655172
77
0.717725
302
1,952
4.543046
0.165563
0.078717
0.091837
0.110787
0.706268
0.706268
0.706268
0.704811
0.5707
0.427843
0
0.052907
0.118852
1,952
57
78
34.245614
0.744767
0
0
0
0
0
0.033811
0
0
0
0
0
0
1
0.108696
false
0
0.065217
0
0.173913
0
0
0
0
null
0
0
0
0
1
1
1
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
3
4d50fd245d64806c9d863afab36444f0bb653087
3,564
gyp
Python
binding.gyp
sx5486510/ttt
dfa9219bbc9cb5550cd61eaa7115731a45d7e84b
[ "MIT" ]
null
null
null
binding.gyp
sx5486510/ttt
dfa9219bbc9cb5550cd61eaa7115731a45d7e84b
[ "MIT" ]
null
null
null
binding.gyp
sx5486510/ttt
dfa9219bbc9cb5550cd61eaa7115731a45d7e84b
[ "MIT" ]
null
null
null
{ "targets" :[ { "target_name": "cryptopp", "sources": [ "main.cpp", "cryptopp/misc.cpp", "cryptopp/cryptlib.cpp", "cryptopp/modes.cpp", "cryptopp/rijndael.cpp", "cryptopp/filters.cpp", "cryptopp/strciphr.cpp", "cryptopp/fips140.cpp", "cryptopp/3way.cpp", "cryptopp/adler32.cpp", "cry...
22.415094
91
0.685185
452
3,564
5.371681
0.360619
0.579901
0.012356
0.014827
0.158979
0.029654
0.029654
0.029654
0.029654
0.029654
0
0.014106
0.085017
3,564
158
92
22.556962
0.730451
0
0
0.102564
0
0
0.769641
0.215769
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4d75d71aeb9401f4ba904c75862425a2aa9a842c
211
py
Python
Practicas/test_numero_Flotante.py
MarlonGamba17/ProgramacionEAN20191
0171831985b4e1d6e1ef744f192250de8ee6ba05
[ "MIT" ]
null
null
null
Practicas/test_numero_Flotante.py
MarlonGamba17/ProgramacionEAN20191
0171831985b4e1d6e1ef744f192250de8ee6ba05
[ "MIT" ]
null
null
null
Practicas/test_numero_Flotante.py
MarlonGamba17/ProgramacionEAN20191
0171831985b4e1d6e1ef744f192250de8ee6ba05
[ "MIT" ]
1
2019-03-12T05:06:33.000Z
2019-03-12T05:06:33.000Z
from unittest import TestCase import Practicas.Ejercicio_1 as e class oruebas_ejercicio_1(TestCase): def test_Numero_Flotante(self): self.assertEqual(e.Numero_Flotante(-14),"El numero es negativo")
30.142857
72
0.781991
30
211
5.3
0.7
0.125786
0
0
0
0
0
0
0
0
0
0.021978
0.137441
211
6
73
35.166667
0.851648
0
0
0
0
0
0.099526
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4d789f59329a4b6179362dc203155a590ea223d7
1,759
py
Python
code/src/main/python/utils/stat.py
DynamicCodeSearch/CodeSeer
ee985ece7691691585952eb88565f0e08bdc9113
[ "MIT" ]
5
2020-04-05T18:04:13.000Z
2021-04-13T20:34:19.000Z
code/src/main/python/utils/stat.py
DynamicCodeSearch/CodeSeer
ee985ece7691691585952eb88565f0e08bdc9113
[ "MIT" ]
1
2020-04-29T21:42:26.000Z
2020-05-01T23:45:45.000Z
code/src/main/python/utils/stat.py
DynamicCodeSearch/CodeSeer
ee985ece7691691585952eb88565f0e08bdc9113
[ "MIT" ]
3
2020-01-27T16:02:14.000Z
2021-02-08T13:25:15.000Z
from __future__ import print_function, division import sys import os sys.path.append(os.path.abspath(".")) sys.dont_write_bytecode = True __author__ = "bigfatnoob" from utils import lib import numpy as np class Stat(lib.O): def __init__(self, arr, **kwargs): lib.O.__init__(self, **kwargs) self.arr = arr ...
26.651515
76
0.489483
221
1,759
3.755656
0.266968
0.075904
0.057831
0.072289
0.079518
0
0
0
0
0
0
0.064681
0.332007
1,759
65
77
27.061538
0.641702
0
0
0
0
0
0.093235
0
0
0
0
0
0
1
0.244898
false
0
0.102041
0.183673
0.591837
0.020408
0
0
0
null
0
0
0
0
0
0
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
1
0
0
3
4d95d362c6555f8a38e15ddff715287d39a68db0
754
py
Python
simple_rl/amdp/AMDPStateMapperClass.py
yoonseon-oh/simple_rl
a6b9056ac05c29a259d616f2b289e8db2d984314
[ "Apache-2.0" ]
2
2020-02-13T22:37:31.000Z
2021-02-03T02:35:42.000Z
simple_rl/amdp/AMDPStateMapperClass.py
yoonseon-oh/simple_rl
a6b9056ac05c29a259d616f2b289e8db2d984314
[ "Apache-2.0" ]
null
null
null
simple_rl/amdp/AMDPStateMapperClass.py
yoonseon-oh/simple_rl
a6b9056ac05c29a259d616f2b289e8db2d984314
[ "Apache-2.0" ]
null
null
null
# Other imports. from simple_rl.mdp.StateClass import State from simple_rl.mdp.MDPClass import MDP class AMDPStateMapper(object): ''' Abstract AMDP state mapper class. This class will project a state from a lower domain to the domain represented by the current level of hierarchy ''' def __init_...
29
72
0.619363
94
754
4.840426
0.468085
0.145055
0.052747
0.065934
0.087912
0
0
0
0
0
0
0
0.311671
754
26
73
29
0.876686
0.506631
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
4d9e97ae67280658730e583422c37a2cd41cef3e
1,415
py
Python
dijkstra-giz/vertex.py
lukaszsedek/dijkstra-giz
a8667dca8342aeec07aaea89da5b630c8fd36a71
[ "Apache-2.0" ]
1
2015-04-13T05:56:54.000Z
2015-04-13T05:56:54.000Z
dijkstra-giz/vertex.py
lukaszsedek/dijkstra-giz
a8667dca8342aeec07aaea89da5b630c8fd36a71
[ "Apache-2.0" ]
null
null
null
dijkstra-giz/vertex.py
lukaszsedek/dijkstra-giz
a8667dca8342aeec07aaea89da5b630c8fd36a71
[ "Apache-2.0" ]
null
null
null
import sys """ Lukasz Sedek lukasz.sedek@pjwstk.edu.pl License Apache Common 2.0 For Dijkstra algorithm we need only vertices with its adjacencies flags: - visited - is visited by algorithm (loog avoidance, marking) - distance - metric used by Dijkstra for path choice - previous - just for sake of precedency ...
22.460317
76
0.681979
194
1,415
4.891753
0.417526
0.063224
0.044257
0
0
0
0
0
0
0
0
0.00276
0.231802
1,415
63
76
22.460317
0.870285
0.175265
0
0
0
0
0.013597
0
0
0
0
0
0
1
0.384615
false
0
0.038462
0.192308
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
1
0
0
0
1
1
0
0
3
4da294f92398c5db65529a9b457ed7d79ab1ab5a
496
py
Python
rfai/dao/fund_request_transaction_data_access_object.py
singnet/snet-rfai-service
1309b9ebf518557926747f78f88bcc85fb8a003b
[ "MIT" ]
1
2019-11-11T06:09:44.000Z
2019-11-11T06:09:44.000Z
rfai/dao/fund_request_transaction_data_access_object.py
prashantramangupta/snet-rfai-service
561e020f3fcaf41a5436b47eee454e9f6a23f47d
[ "MIT" ]
22
2019-10-24T06:10:00.000Z
2019-12-09T11:41:28.000Z
rfai/dao/fund_request_transaction_data_access_object.py
prashantramangupta/snet-rfai-service
561e020f3fcaf41a5436b47eee454e9f6a23f47d
[ "MIT" ]
2
2019-10-24T06:00:56.000Z
2019-11-08T11:34:53.000Z
class FundRequestTransactionDAO: def __init__(self, repo): self.repo = repo def persist_transaction(self, stake_member, transaction_hash, created_at): query_response = self.repo.execute( "INSERT INTO fund_request_transaction (stake_member, transaction_hash, created_at, row_created, ...
45.090909
122
0.703629
56
496
5.839286
0.482143
0.073395
0.201835
0.238532
0.321101
0.321101
0
0
0
0
0
0
0.211694
496
10
123
49.6
0.836317
0
0
0
0
0
0.332661
0.048387
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
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
1
0
0
0
0
0
0
0
3
4dda590f2594ba76570561a0a92462b6564bae1c
75
py
Python
ch08/08_13.py
leeseedong/book-cryptocurrency
58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c
[ "Apache-2.0" ]
121
2019-03-23T13:53:06.000Z
2022-03-28T15:15:03.000Z
ch08/08_13.py
leeseedong/book-cryptocurrency
58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c
[ "Apache-2.0" ]
3
2021-04-14T14:31:26.000Z
2021-05-09T13:46:14.000Z
ch08/08_13.py
leeseedong/book-cryptocurrency
58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c
[ "Apache-2.0" ]
114
2019-03-21T13:43:03.000Z
2022-03-31T18:42:11.000Z
import pykorbit orderbook = pykorbit.get_orderbook("BTC") print(orderbook)
18.75
41
0.813333
9
75
6.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.08
75
4
42
18.75
0.869565
0
0
0
0
0
0.039474
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
0
0
3
4dee383e5934b7bd437ce52eb814b236d2781f0d
83
py
Python
python/241.different-ways-to-add-parentheses.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/241.different-ways-to-add-parentheses.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/241.different-ways-to-add-parentheses.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
class Solution: def diffWaysToCompute(self, input: str) -> List[int]:
20.75
57
0.626506
9
83
5.777778
1
0
0
0
0
0
0
0
0
0
0
0
0.253012
83
3
58
27.666667
0.83871
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
4df6974f1ca661a86b3492774cdd71c84fb7137e
325
py
Python
ExploriPy/test.py
wolframalpha/exploripy
5b15ae1dddd2b797a98cbd2e0b3cf3308e11cd58
[ "MIT" ]
24
2019-12-17T11:13:03.000Z
2022-03-19T01:11:21.000Z
ExploriPy/test.py
wolframalpha/exploripy
5b15ae1dddd2b797a98cbd2e0b3cf3308e11cd58
[ "MIT" ]
2
2019-05-03T21:16:16.000Z
2019-08-06T04:32:20.000Z
ExploriPy/test.py
wolframalpha/exploripy
5b15ae1dddd2b797a98cbd2e0b3cf3308e11cd58
[ "MIT" ]
11
2018-12-29T18:31:49.000Z
2019-10-10T08:50:01.000Z
import pandas as pd from ExploriPy import EDA german_credit_data = pd.read_csv('ExploriPy/data/german_credit_data.csv') CategoricalFeatures = ['Sex','Job','Housing','Saving accounts','Checking account','Credit amount','Purpose'] eda = EDA(german_credit_data,CategoricalFeatures,title='Testing the Package') eda.EDAToHTM...
40.625
108
0.790769
43
325
5.813953
0.627907
0.144
0.192
0.152
0
0
0
0
0
0
0
0
0.076923
325
7
109
46.428571
0.833333
0
0
0
0
0
0.37037
0.114198
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
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
3
151760c91dabfb603d6b020dfaaad7b9bc87fd99
143
py
Python
website/tasks.py
beeway/Data_Bootcamp
abc2486060672e19f5e4a71342cb8ca05155db83
[ "MIT" ]
74
2015-01-14T22:51:39.000Z
2021-01-31T17:23:58.000Z
website/tasks.py
beeway/Data_Bootcamp
abc2486060672e19f5e4a71342cb8ca05155db83
[ "MIT" ]
13
2015-03-18T20:24:40.000Z
2016-05-06T13:44:33.000Z
website/tasks.py
beeway/Data_Bootcamp
abc2486060672e19f5e4a71342cb8ca05155db83
[ "MIT" ]
60
2015-03-24T00:05:50.000Z
2021-05-12T15:15:32.000Z
from invoke import run, task @task def dev(): run("hugo server") @task def publish(): run("hugo") run("ghp-import -n -p public")
13
34
0.608392
22
143
3.954545
0.636364
0.16092
0
0
0
0
0
0
0
0
0
0
0.223776
143
10
35
14.3
0.783784
0
0
0.25
0
0
0.265734
0
0
0
0
0
0
1
0.25
true
0
0.25
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
1
0
0
0
0
0
0
3
1275aab1b52f10c06f1e47b6ef560ba320e1e41d
321
py
Python
example/example/admin.py
meshy/django-conman
c739d09250d02d99068358e925ed8298a2a37a75
[ "BSD-2-Clause" ]
null
null
null
example/example/admin.py
meshy/django-conman
c739d09250d02d99068358e925ed8298a2a37a75
[ "BSD-2-Clause" ]
81
2015-07-27T23:21:49.000Z
2018-05-21T22:06:09.000Z
example/example/admin.py
meshy/django-conman
c739d09250d02d99068358e925ed8298a2a37a75
[ "BSD-2-Clause" ]
2
2015-10-06T09:18:06.000Z
2017-03-17T08:51:56.000Z
from django.contrib import admin from conman.routes.admin import RouteChildAdmin from .models import Page @admin.register(Page) class PageAdmin(RouteChildAdmin): """ Register `Page` in the admin. It's important to subclass RouteChildAdmin so that it's associated with the base `Route` class. """...
20.0625
79
0.732087
42
321
5.595238
0.619048
0.102128
0
0
0
0
0
0
0
0
0
0
0.190031
321
15
80
21.4
0.903846
0.392523
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
12a80fd33e730fd2784e2b47d54ef1f7b44cfcd8
25
py
Python
tests/test_settings.py
cedadev/django-fixture-magic
fcb77d98c1aac8e62c944ad5a4eb52a2670cbc0c
[ "BSD-3-Clause" ]
203
2015-01-07T08:37:30.000Z
2022-03-24T15:47:03.000Z
tests/test_settings.py
cedadev/django-fixture-magic
fcb77d98c1aac8e62c944ad5a4eb52a2670cbc0c
[ "BSD-3-Clause" ]
42
2015-02-04T05:21:53.000Z
2022-02-15T17:07:41.000Z
tests/test_settings.py
cedadev/django-fixture-magic
fcb77d98c1aac8e62c944ad5a4eb52a2670cbc0c
[ "BSD-3-Clause" ]
66
2015-02-03T17:16:57.000Z
2021-12-17T08:26:20.000Z
SECRET_KEY = 'not empty'
12.5
24
0.72
4
25
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.809524
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
12aa297054e21528428978f463fbb988c6854355
92
py
Python
tests/fixtures/fixture3.py
akshatdalton/Resolve-IT
5437c3d626aa84ee79733cdc8a01b3ee4eb97740
[ "MIT" ]
1
2021-07-29T04:15:33.000Z
2021-07-29T04:15:33.000Z
tests/fixtures/fixture3.py
akshatdalton/Resolve-IT
5437c3d626aa84ee79733cdc8a01b3ee4eb97740
[ "MIT" ]
null
null
null
tests/fixtures/fixture3.py
akshatdalton/Resolve-IT
5437c3d626aa84ee79733cdc8a01b3ee4eb97740
[ "MIT" ]
null
null
null
def execute_resolveit_as_context_manager() -> None: a = "str" b = ["str"] a + b
18.4
51
0.576087
13
92
3.769231
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.271739
92
4
52
23
0.731343
0
0
0
0
0
0.065217
0
0
0
0
0
0
1
0.25
false
0
0
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
1
0
0
0
0
0
0
0
3
12aa9fc75f98cbb8153b196bcff8aaf1ba7009ad
1,256
py
Python
enthought_example/example_data_source/example_data_source_factory.py
force-h2020/force-bdss-plugin-enthought-example
c56d47521233e369d42fe82282ed8e113a3747f7
[ "MIT" ]
null
null
null
enthought_example/example_data_source/example_data_source_factory.py
force-h2020/force-bdss-plugin-enthought-example
c56d47521233e369d42fe82282ed8e113a3747f7
[ "MIT" ]
41
2017-08-24T12:32:12.000Z
2020-10-13T15:42:14.000Z
enthought_example/example_data_source/example_data_source_factory.py
force-h2020/force-bdss-plugin-enthought-example
c56d47521233e369d42fe82282ed8e113a3747f7
[ "MIT" ]
1
2019-03-12T14:42:00.000Z
2019-03-12T14:42:00.000Z
# (C) Copyright 2010-2020 Enthought, Inc., Austin, TX # All rights reserved. from force_bdss.api import BaseDataSourceFactory from .example_data_source_model import ExampleDataSourceModel from .example_data_source import ExampleDataSource class ExampleDataSourceFactory(BaseDataSourceFactory): """This class pr...
34.888889
74
0.730892
167
1,256
5.39521
0.508982
0.110988
0.075472
0.046615
0.059933
0
0
0
0
0
0
0.008081
0.211783
1,256
35
75
35.885714
0.90202
0.530255
0
0
0
0
0.099644
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.333333
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
1
0
0
0
1
1
0
0
3
12cf7ee0d0d0ec82b50d680cc2c0813227f2d9bb
230
py
Python
slides/20160516-Python_Loop_CommonFunctions/built-in_functions_3.py
she02789222/test
fa10bd5be351ca3d4bef4f7d6c4510e65666de7c
[ "MIT" ]
4
2018-11-29T04:06:29.000Z
2021-11-29T07:00:44.000Z
slides/20160516-Python_Loop_CommonFunctions/built-in_functions_3.py
NTNUCIC/108
52961e76d299842c2d44d142d5c56ad665420ee6
[ "MIT" ]
6
2016-05-17T02:34:57.000Z
2021-02-05T17:33:28.000Z
slides/20160516-Python_Loop_CommonFunctions/built-in_functions_3.py
NTNUCIC/108
52961e76d299842c2d44d142d5c56ad665420ee6
[ "MIT" ]
3
2019-02-17T05:58:46.000Z
2019-02-18T15:09:55.000Z
a = [4,2,1,-3,5] b = [1,2,3,4,5] print(len(a)) sorted(a) print(a) for x in reversed(a): print(x,end=' ') print('\n====================') for x in range(1,5): print(x,end=' ') print('\n====================') print(list(zip(a,b)))
19.166667
31
0.46087
45
230
2.355556
0.422222
0.113208
0.113208
0.264151
0.283019
0
0
0
0
0
0
0.058537
0.108696
230
12
32
19.166667
0.458537
0
0
0.333333
0
0
0.199134
0.190476
0
0
0
0
0
1
0
false
0
0
0
0
0.583333
0
0
0
null
0
0
1
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
1
0
3
12d6a1d63fc2bcd6436e0d8d55f43d24a31fbf48
55
py
Python
Aulas/aula06b.py
mpaullos/cursoemvideo-python
80732626b6b5471ec7fea6dc01d83931e5cfd8fb
[ "MIT" ]
null
null
null
Aulas/aula06b.py
mpaullos/cursoemvideo-python
80732626b6b5471ec7fea6dc01d83931e5cfd8fb
[ "MIT" ]
null
null
null
Aulas/aula06b.py
mpaullos/cursoemvideo-python
80732626b6b5471ec7fea6dc01d83931e5cfd8fb
[ "MIT" ]
null
null
null
n = input ('Digite alguma coisa: ') print(n.isupper())
18.333333
35
0.654545
8
55
4.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.145455
55
2
36
27.5
0.765957
0
0
0
0
0
0.381818
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
12e864ac902019f2416f2c51f9bcabe06e603e54
244
py
Python
imp/data/config.py
philskillz-coder/uno-discord-bot
02a3fce3df73d75d31795590dbdb93aaa1d7f268
[ "MIT" ]
null
null
null
imp/data/config.py
philskillz-coder/uno-discord-bot
02a3fce3df73d75d31795590dbdb93aaa1d7f268
[ "MIT" ]
null
null
null
imp/data/config.py
philskillz-coder/uno-discord-bot
02a3fce3df73d75d31795590dbdb93aaa1d7f268
[ "MIT" ]
null
null
null
from discord import Object class Config: token: str = "OTUyOTU3MTU5MDY5NjA1OTAw.Yi9kgw.TZNM3i0j8GWaX4GQQQ3phW1UaTQ" # guilds = [Object(id=940670548504117318)] guilds = [Object(id=857970291819937802), Object(id=940670548504117318)]
34.857143
78
0.77459
22
244
8.590909
0.681818
0.126984
0.148148
0
0
0
0
0
0
0
0
0.305164
0.127049
244
6
79
40.666667
0.58216
0.163934
0
0
0
0
0.292079
0.292079
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
3
12f1027edcfb07c00e705f85bc5d6ef67b6c2b8f
716
py
Python
classer/classifiers/sgd.py
alexdelin/model-lab
37182fdadc3e369a1ad6d4dce23162ec2d3aa566
[ "MIT" ]
1
2019-04-20T14:58:25.000Z
2019-04-20T14:58:25.000Z
classer/classifiers/sgd.py
alexdelin/model-lab
37182fdadc3e369a1ad6d4dce23162ec2d3aa566
[ "MIT" ]
null
null
null
classer/classifiers/sgd.py
alexdelin/model-lab
37182fdadc3e369a1ad6d4dce23162ec2d3aa566
[ "MIT" ]
null
null
null
""" Stochastic Gradient Descent Classifier Class """ from sklearn.linear_model import SGDClassifier from ..steps.base import BaseStep class SGClassifier(object): """Stochastic Gradient Descent Classifier""" def __init__(self): super(SGClassifier, self).__init__() # Use log loss function to...
24.689655
61
0.699721
84
716
5.797619
0.583333
0.043121
0.102669
0.143737
0
0
0
0
0
0
0
0
0.22067
716
28
62
25.571429
0.87276
0.346369
0
0
0
0
0.006637
0
0
0
0
0.035714
0
1
0.3
false
0
0.2
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
4204851d04af23f281f18b9d5ce0f842c658e619
446
py
Python
Mundo 2/desafios/desafio047 - Contagem de Pares.py
marioarl/python
0bd677cdbec87e9603866c09cb8009fef295b89b
[ "MIT" ]
1
2021-11-21T21:04:04.000Z
2021-11-21T21:04:04.000Z
Mundo 2/desafios/desafio047 - Contagem de Pares.py
marioarl/python
0bd677cdbec87e9603866c09cb8009fef295b89b
[ "MIT" ]
null
null
null
Mundo 2/desafios/desafio047 - Contagem de Pares.py
marioarl/python
0bd677cdbec87e9603866c09cb8009fef295b89b
[ "MIT" ]
null
null
null
#Crie um programa que mostre na tela todos os numeros pares que estao no intervalo entre 1 e 50 #minha resposta #for par in range(2, 51, 2): # print(par, end=' ') #o comando end=' ' coloca as linhas horizontais em verticais #print('Acabou') #resposta1 do Gustavo #for n in range(1, 51): # if n % 2 == 0: # ...
24.777778
95
0.639013
75
446
3.8
0.586667
0.073684
0.05614
0.070175
0.350877
0.22807
0
0
0
0
0
0.051282
0.213004
446
17
96
26.235294
0.760684
0.928251
0
null
0
null
0
0
null
0
0
0.058824
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
1
0
0
0
1
0
0
0
0
0
0
3
421163910239d71421d317027c606b9ac433b88c
248
py
Python
ensysmod/model/ts_operation_rate_max.py
NOWUM/EnSysMod
18c8a2198db3510e667c1f0298d00a3dfcb0aab7
[ "MIT" ]
1
2021-12-10T19:41:01.000Z
2021-12-10T19:41:01.000Z
ensysmod/model/ts_operation_rate_max.py
NOWUM/EnSysMod
18c8a2198db3510e667c1f0298d00a3dfcb0aab7
[ "MIT" ]
83
2021-10-20T22:54:28.000Z
2022-03-24T19:07:06.000Z
ensysmod/model/ts_operation_rate_max.py
NOWUM/EnSysMod
18c8a2198db3510e667c1f0298d00a3dfcb0aab7
[ "MIT" ]
null
null
null
from sqlalchemy import Column, PickleType from ensysmod.database.base_class import Base from ensysmod.database.ref_base_class import RefCRBase class OperationRateMax(RefCRBase, Base): max_operation_rates = Column(PickleType, nullable=False)
27.555556
60
0.834677
31
248
6.516129
0.548387
0.158416
0.19802
0
0
0
0
0
0
0
0
0
0.108871
248
8
61
31
0.914027
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
1
0
0
0
0
null
0
1
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
3
42280caf235804ff96eb9bac607aa43eadbe164c
139
py
Python
deepneuro/pipelines/Segment_GBM/template.py
QTIM-Lab/DeepR
96b16aac873089e0d766fea34ed428a59c9e9080
[ "MIT" ]
5
2019-02-07T08:03:13.000Z
2021-02-23T03:55:27.000Z
deepneuro/pipelines/Segment_GBM/template.py
QTIM-Lab/DeepR
96b16aac873089e0d766fea34ed428a59c9e9080
[ "MIT" ]
null
null
null
deepneuro/pipelines/Segment_GBM/template.py
QTIM-Lab/DeepR
96b16aac873089e0d766fea34ed428a59c9e9080
[ "MIT" ]
2
2019-10-09T11:17:22.000Z
2021-02-23T03:55:29.000Z
Template_Dictionary = { 'Module Name': "Segment_GBM" 'Module Description': """ """ } if __name__ == '__main__': pass
13.9
32
0.568345
12
139
5.75
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.273381
139
10
33
13.9
0.683168
0
0
0
0
0
0.378571
0
0
0
0
0
0
0
null
null
0.142857
0
null
null
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
1
0
0
1
0
0
0
0
0
3
4237313a298ec362741bd5eb522de20a104d36bf
90
py
Python
bot/exts/tickets/__init__.py
ItsWoid/SketchBot
bcbbd50ff6b608cb9547910f1375399e7d230fad
[ "MIT" ]
1
2022-03-11T23:19:09.000Z
2022-03-11T23:19:09.000Z
bot/exts/tickets/__init__.py
ItsWoid/SketchBot
bcbbd50ff6b608cb9547910f1375399e7d230fad
[ "MIT" ]
null
null
null
bot/exts/tickets/__init__.py
ItsWoid/SketchBot
bcbbd50ff6b608cb9547910f1375399e7d230fad
[ "MIT" ]
null
null
null
from .tickets import Tickets def setup(bot): ext = Tickets(bot) bot.add_cog(ext)
15
28
0.677778
14
90
4.285714
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.211111
90
6
29
15
0.84507
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
423dcc3ce9210baeb9e88902af6618b60eabe322
430
py
Python
django_photo_gallery/app/migrations/0005_auto_20180817_1412.py
ryanclayton999/HandyHill
76993d3730aaea51e0693a259c4e0e92d1154209
[ "Apache-2.0" ]
null
null
null
django_photo_gallery/app/migrations/0005_auto_20180817_1412.py
ryanclayton999/HandyHill
76993d3730aaea51e0693a259c4e0e92d1154209
[ "Apache-2.0" ]
null
null
null
django_photo_gallery/app/migrations/0005_auto_20180817_1412.py
ryanclayton999/HandyHill
76993d3730aaea51e0693a259c4e0e92d1154209
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.4 on 2018-08-17 18:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0004_auto_20180817_1411'), ] operations = [ migrations.RemoveField( model_name='foodcategory', name='alt', ),...
19.545455
47
0.55814
42
430
5.595238
0.761905
0.178723
0.221277
0.255319
0
0
0
0
0
0
0
0.107266
0.327907
430
21
48
20.47619
0.705882
0.104651
0
0.266667
1
0
0.138381
0.060052
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
42707e92896733602f87267d578a4ae83d4ca172
1,276
py
Python
sustainable_energy/unittests/main_code_test.py
DariaMinieieva/sustainable_energy_project
d14f6e73b05bcf5ee945dfc2fc2ba57d7866e04c
[ "MIT" ]
5
2021-05-16T11:26:46.000Z
2021-06-01T07:33:23.000Z
sustainable_energy/unittests/main_code_test.py
DariaMinieieva/sustainable_energy_project
d14f6e73b05bcf5ee945dfc2fc2ba57d7866e04c
[ "MIT" ]
null
null
null
sustainable_energy/unittests/main_code_test.py
DariaMinieieva/sustainable_energy_project
d14f6e73b05bcf5ee945dfc2fc2ba57d7866e04c
[ "MIT" ]
1
2021-04-03T07:38:19.000Z
2021-04-03T07:38:19.000Z
from map_creator.main_code import * from unittest import TestCase class test_main(TestCase): def test_get_lat_long(self): self.assertEqual(len(get_lat_long(49, 24, 100)), 33) self.assertEqual(len(get_lat_long(48, 24, 100)), 33) self.assertEqual(len(get_lat_long(0, 0, 100)), 0) def...
49.076923
88
0.678683
175
1,276
4.702857
0.222857
0.153098
0.153098
0.178615
0.702309
0.702309
0.648846
0.648846
0.296476
0
0
0.055344
0.178683
1,276
26
89
49.076923
0.729962
0
0
0
0
0
0.037588
0
0
0
0
0
0.619048
1
0.190476
false
0
0.095238
0
0.333333
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
42821f86070fb86db6ee42a557fa52fc4f53bd5f
398
py
Python
tools/intogen/lib/python/intogensm/ma/model.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2021-02-05T13:19:58.000Z
2021-02-05T13:19:58.000Z
chapter2/intogen-mutations/master/lib/python/intogensm/ma/model.py
chris-zen/phd-thesis
1eefdff8e7ca1910304e27ae42551dc64496b101
[ "Unlicense" ]
null
null
null
chapter2/intogen-mutations/master/lib/python/intogensm/ma/model.py
chris-zen/phd-thesis
1eefdff8e7ca1910304e27ae42551dc64496b101
[ "Unlicense" ]
null
null
null
from collections import namedtuple class MaException(Exception): pass MaResultBase = namedtuple('MaResult', 'chr, start, ref, alt, uniprot, fi_score, snps_pos, var_id') class MaResult(MaResultBase): def __new__(cls, chr, start, ref, alt, uniprot, fi_score, snps_pos=None, var_id=None): return super(MaResult, cls...
36.181818
106
0.756281
59
398
4.813559
0.457627
0.084507
0.116197
0.147887
0.447183
0.447183
0.447183
0.447183
0.447183
0.447183
0
0
0.120603
398
11
106
36.181818
0.811429
0
0
0
0
0
0.162907
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
42972eda65308f3892e742b7a24c53bd81f50235
18,823
py
Python
archive/augmentation.py
Thubaralei/particle-classification
01d174e48aae1bb18a411008bf7ae92756e32892
[ "MIT" ]
1
2021-11-16T16:46:35.000Z
2021-11-16T16:46:35.000Z
archive/augmentation.py
Thubaralei/particle-classification
01d174e48aae1bb18a411008bf7ae92756e32892
[ "MIT" ]
null
null
null
archive/augmentation.py
Thubaralei/particle-classification
01d174e48aae1bb18a411008bf7ae92756e32892
[ "MIT" ]
null
null
null
import math import tensorflow as tf try: import tensorflow_addons as tfa except ImportError: pass def augmentation_complete_tf2(im_x, rotation=[0, 360], gain=[0.8, 1.0, 1.2], gamma=[0.5, 1.0, 2], zoom=[0.9...
42.779545
124
0.559688
2,438
18,823
4.139869
0.092699
0.015456
0.041613
0.019618
0.76241
0.739423
0.707322
0.68384
0.670564
0.655702
0
0.027227
0.332678
18,823
439
125
42.876993
0.776292
0.167136
0
0.689873
0
0
0.038777
0.003513
0
0
0
0
0
1
0.018987
false
0.003165
0.012658
0
0.063291
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
35f7709436dce57f61a6352526530546eadecc1e
128
py
Python
setType.py
fwk1010/python-learn
a99499cac8f52e0dfae7bf250d343d1373715487
[ "MIT" ]
null
null
null
setType.py
fwk1010/python-learn
a99499cac8f52e0dfae7bf250d343d1373715487
[ "MIT" ]
null
null
null
setType.py
fwk1010/python-learn
a99499cac8f52e0dfae7bf250d343d1373715487
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' This file is to learn about set type more detail. ''' # declare a set set1 = set([1,2,3]) print(set1)
18.285714
49
0.664063
24
128
3.541667
0.875
0
0
0
0
0
0
0
0
0
0
0.056075
0.164063
128
7
50
18.285714
0.738318
0.664063
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
c40b0fb7a28344ecbff93d7d793ddc9442945689
482
py
Python
pgasync/util.py
jamwt/pgasync
9e5ba24220ac906a17a91d4c524702b76cb7044a
[ "BSD-3-Clause" ]
1
2018-11-15T16:21:12.000Z
2018-11-15T16:21:12.000Z
pgasync/util.py
jamwt/pgasync
9e5ba24220ac906a17a91d4c524702b76cb7044a
[ "BSD-3-Clause" ]
null
null
null
pgasync/util.py
jamwt/pgasync
9e5ba24220ac906a17a91d4c524702b76cb7044a
[ "BSD-3-Clause" ]
null
null
null
from pgtypes import * def Date(y,m,d): dt = DATETIME(y,m,d) dt._tm = 0 return dt def Time(h,m,s,ms=0): dt = DATETIME(1,1,1,h,m,s,ms) dt._dt = 0 return dt def Timestamp(y,mo,d,h,m,s,ms=0): return DATETIME(y,mo,d,h,m,s,ms) def DateFromTicks(t): dt = DATETIME.fromtimestamp(t) dt._tm = 0 return dt def TimeF...
17.214286
66
0.678423
95
482
3.4
0.273684
0.108359
0.111455
0.148607
0.430341
0.408669
0.055728
0
0
0
0
0.022222
0.159751
482
27
67
17.851852
0.775309
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.35
false
0
0.05
0.15
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c436d7e19480abbd4c3ef185e62f576c1391e2a5
110
py
Python
0python-demo/6sugar/test_input.py
dikuznet/python-test-book
baf85ae62dbf09f83ea3dcf6f613410d28cbe6f8
[ "MIT" ]
null
null
null
0python-demo/6sugar/test_input.py
dikuznet/python-test-book
baf85ae62dbf09f83ea3dcf6f613410d28cbe6f8
[ "MIT" ]
null
null
null
0python-demo/6sugar/test_input.py
dikuznet/python-test-book
baf85ae62dbf09f83ea3dcf6f613410d28cbe6f8
[ "MIT" ]
null
null
null
from functools import reduce mul=reduce(lambda x, y: x*y, map(int, input().strip().split())) print(f' {mul}')
36.666667
63
0.672727
19
110
3.894737
0.789474
0.054054
0
0
0
0
0
0
0
0
0
0
0.109091
110
3
64
36.666667
0.755102
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
0
0
3
c43ae6d001c3fd58b9810eb08cf192af0b6fc32e
2,003
py
Python
model/feed.py
diogocs1/facebookexplorer
dd95f635851a80f055cd3dcfd14908277ef108f5
[ "Apache-2.0" ]
null
null
null
model/feed.py
diogocs1/facebookexplorer
dd95f635851a80f055cd3dcfd14908277ef108f5
[ "Apache-2.0" ]
null
null
null
model/feed.py
diogocs1/facebookexplorer
dd95f635851a80f055cd3dcfd14908277ef108f5
[ "Apache-2.0" ]
null
null
null
# encoding: UTF-8 # Meus arquivos from utils import Utils # Frameworks import pony.orm as orm # Bibliotecas padrão from datetime import datetime db = Utils.banco class Post(db.Entity): ''' Entidade Post Representa as atualizações do usuário ''' id = orm.PrimaryKey(str) actions = orm.Set("Actions") application ...
23.845238
62
0.720419
283
2,003
5.04947
0.272085
0.246326
0.225332
0.050385
0.182645
0.121064
0.102169
0.053184
0
0
0
0.000587
0.149276
2,003
84
63
23.845238
0.838028
0.207189
0
0.226415
0
0
0.030619
0
0
0
0
0
0
1
0
false
0
0.056604
0
0.981132
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
1
0
0
3
c43cfe0737c7779211e6314f5f0309f33f52bf3a
2,921
py
Python
grakn/rpc/cluster/server_address.py
lightoyou/client-python
b5666f6746ce3b01bb98243eeafd64fe3106e067
[ "Apache-2.0" ]
null
null
null
grakn/rpc/cluster/server_address.py
lightoyou/client-python
b5666f6746ce3b01bb98243eeafd64fe3106e067
[ "Apache-2.0" ]
null
null
null
grakn/rpc/cluster/server_address.py
lightoyou/client-python
b5666f6746ce3b01bb98243eeafd64fe3106e067
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
38.434211
190
0.670661
401
2,921
4.665835
0.276808
0.064137
0.044896
0.032068
0.224479
0.141101
0.095136
0.061999
0
0
0
0.01015
0.224238
2,921
75
191
38.946667
0.815534
0.257446
0
0.046512
0
0
0.044651
0
0
0
0
0
0
1
0.255814
false
0
0.023256
0.186047
0.604651
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
1
0
0
3
c4831defec3bf8f0be279069fa01faeeaad8f883
302
py
Python
apps/attachments/signals.py
mkdir700/Marilyn
49d735f61914b0e57410ec2d73d583c422bccaa5
[ "MIT" ]
null
null
null
apps/attachments/signals.py
mkdir700/Marilyn
49d735f61914b0e57410ec2d73d583c422bccaa5
[ "MIT" ]
4
2021-04-08T20:57:24.000Z
2021-09-22T19:12:13.000Z
apps/attachments/signals.py
mkdir700/Marilyn
49d735f61914b0e57410ec2d73d583c422bccaa5
[ "MIT" ]
null
null
null
import os from django.db.models.signals import post_save, pre_delete from django.dispatch import receiver from attachments.models import AttachmentModel @receiver(pre_delete, sender=AttachmentModel, dispatch_uid="del_file") def del_file(sender, instance, **kwargs): os.remove(instance.file.path)
30.2
70
0.81457
42
302
5.714286
0.571429
0.083333
0
0
0
0
0
0
0
0
0
0
0.096026
302
9
71
33.555556
0.879121
0
0
0
0
0
0.02649
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.714286
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
1
0
0
3
67025d87370d6fad8d340d88a09e5a9f06ff33d3
84
py
Python
backend/mqueue_livefeed/__init__.py
synw/django-mqueue-livefeed
d4e8cc2a4c1014f1d7322c297f8f50db9ab8540f
[ "MIT" ]
9
2016-08-30T16:15:15.000Z
2022-03-22T17:17:01.000Z
backend/mqueue_livefeed/__init__.py
synw/django-mqueue-livefeed
d4e8cc2a4c1014f1d7322c297f8f50db9ab8540f
[ "MIT" ]
null
null
null
backend/mqueue_livefeed/__init__.py
synw/django-mqueue-livefeed
d4e8cc2a4c1014f1d7322c297f8f50db9ab8540f
[ "MIT" ]
2
2017-01-20T22:03:53.000Z
2017-12-20T11:43:38.000Z
__version__ = '0.3' default_app_config = 'mqueue_livefeed.apps.MqueueLivefeedConfig'
42
64
0.833333
10
84
6.3
1
0
0
0
0
0
0
0
0
0
0
0.025316
0.059524
84
2
64
42
0.772152
0
0
0
0
0
0.517647
0.482353
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
671427260898519c373f2b9d0da18b603642fec3
124
py
Python
csp_lmc_common/__init__.py
GianlucaMarotta/ska-csp-lmc-common
929153a2bb8e8c2559cd1efb476a208a2e139b62
[ "BSD-3-Clause" ]
null
null
null
csp_lmc_common/__init__.py
GianlucaMarotta/ska-csp-lmc-common
929153a2bb8e8c2559cd1efb476a208a2e139b62
[ "BSD-3-Clause" ]
null
null
null
csp_lmc_common/__init__.py
GianlucaMarotta/ska-csp-lmc-common
929153a2bb8e8c2559cd1efb476a208a2e139b62
[ "BSD-3-Clause" ]
null
null
null
__all__ = [ "CspMaster", "CspSubarray", ] from .CspMaster import CspMaster from .CspSubarray import CspSubarray
13.777778
36
0.701613
11
124
7.545455
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.209677
124
8
37
15.5
0.846939
0
0
0
0
0
0.162602
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
6722492ca75b8c0bc44fabfa8c0e1138ca07357f
69
py
Python
tests/test_cascade_assign.py
kavj/npmd
742fcb271e695b24bb062cdc66d455c0f397116d
[ "Apache-2.0" ]
null
null
null
tests/test_cascade_assign.py
kavj/npmd
742fcb271e695b24bb062cdc66d455c0f397116d
[ "Apache-2.0" ]
null
null
null
tests/test_cascade_assign.py
kavj/npmd
742fcb271e695b24bb062cdc66d455c0f397116d
[ "Apache-2.0" ]
null
null
null
def ca(d): a = b = c = 0 e = f = d print(a) print(e)
11.5
17
0.362319
14
69
1.785714
0.714286
0
0
0
0
0
0
0
0
0
0
0.027027
0.463768
69
5
18
13.8
0.648649
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.4
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6722ddf03380119a36ad8de237144478282e167d
85
py
Python
main.py
chastise/test-game
ca38f2f9f1f761563407f55d454cd6d70d50e83e
[ "MIT" ]
null
null
null
main.py
chastise/test-game
ca38f2f9f1f761563407f55d454cd6d70d50e83e
[ "MIT" ]
null
null
null
main.py
chastise/test-game
ca38f2f9f1f761563407f55d454cd6d70d50e83e
[ "MIT" ]
null
null
null
print("hello world") d = {"a": 0, "b": 1, "c": 2} for i in d.values(): print(i)
14.166667
28
0.482353
17
85
2.411765
0.823529
0
0
0
0
0
0
0
0
0
0
0.046154
0.235294
85
6
29
14.166667
0.584615
0
0
0
0
0
0.162791
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
672c6e7caa0abde318cb4cd24084b40b92a6e3b7
341
py
Python
App/config/views.py
Carlososuna11/CheappyBeer
5d01e4f47ab1b2eb2d5d67e110278fa82820e611
[ "MIT" ]
null
null
null
App/config/views.py
Carlososuna11/CheappyBeer
5d01e4f47ab1b2eb2d5d67e110278fa82820e611
[ "MIT" ]
null
null
null
App/config/views.py
Carlososuna11/CheappyBeer
5d01e4f47ab1b2eb2d5d67e110278fa82820e611
[ "MIT" ]
null
null
null
from django.http import * from django.shortcuts import * from django.views.generic import * from django.urls import * class Indexview(TemplateView): template_name = 'Base.html' def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context['title'] = 'CheappyBeer' ...
28.416667
52
0.70088
41
341
5.707317
0.609756
0.17094
0.205128
0
0
0
0
0
0
0
0
0
0.190616
341
12
53
28.416667
0.847826
0
0
0
0
0
0.073099
0
0
0
0
0
0
1
0.1
false
0
0.4
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
1
0
1
0
0
3
673aef5e08aa1477290d9f3fb5899c9673bca52d
250
py
Python
arm/Beta.py
mjedor/greedy-bandits
5ca57a50c76e036c2f7fed167fe27a61225886a9
[ "MIT" ]
1
2021-01-05T15:17:16.000Z
2021-01-05T15:17:16.000Z
arm/Beta.py
mjedor/greedy-bandits
5ca57a50c76e036c2f7fed167fe27a61225886a9
[ "MIT" ]
null
null
null
arm/Beta.py
mjedor/greedy-bandits
5ca57a50c76e036c2f7fed167fe27a61225886a9
[ "MIT" ]
null
null
null
from random import betavariate class Beta: """ Beta distributed arm """ def __init__(self, a, b): self.a = a self.b = b self.expectation = a / (a + b) def draw(self): return betavariate(self.a, self.b)
17.857143
42
0.556
34
250
3.970588
0.470588
0.111111
0.088889
0
0
0
0
0
0
0
0
0
0.324
250
13
43
19.230769
0.798817
0.08
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
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
1
1
0
0
3
6742845f9b4c39a8a5f1d13534d2f6e0a0c59dc0
62
py
Python
example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Miscellaneous/Simplify binomials.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Miscellaneous/Simplify binomials.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Miscellaneous/Simplify binomials.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
expr = binomial(n+1, k+1)/binomial(n, k) expr = combsimp(expr)
31
40
0.677419
12
62
3.5
0.5
0.428571
0
0
0
0
0
0
0
0
0
0.036364
0.112903
62
2
41
31
0.727273
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
3
675f94afd666c3c809edd3e2703f6d106ef4cc07
742
py
Python
tests/test_core_std.py
JGoutin/rfs
6e68968fada828adab7fd7011893871a3bd58ecd
[ "Apache-2.0" ]
5
2020-07-25T16:52:22.000Z
2021-07-22T02:03:15.000Z
tests/test_core_std.py
JGoutin/rfs
6e68968fada828adab7fd7011893871a3bd58ecd
[ "Apache-2.0" ]
27
2020-01-13T21:16:23.000Z
2021-11-09T11:18:17.000Z
tests/test_core_std.py
JGoutin/rfs
6e68968fada828adab7fd7011893871a3bd58ecd
[ "Apache-2.0" ]
1
2022-03-25T13:32:13.000Z
2022-03-25T13:32:13.000Z
"""Test Standard library modules replacements""" def test_os(): """The "os" module.""" import os import airfs.os from airfs._core.functions_os import makedirs assert airfs.os.makedirs is makedirs assert airfs.os.getenv is os.getenv def test_os_path(): """The "os.path" module.""" imp...
23.1875
57
0.702156
106
742
4.811321
0.226415
0.094118
0.101961
0.129412
0.188235
0
0
0
0
0
0
0
0.200809
742
31
58
23.935484
0.860034
0.137466
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.166667
true
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
67636d046d431cff241b685d59e106b4f999baab
168
py
Python
{{cookiecutter.repo_name}}/code/goodbye/goodbye.py
ezwiefel/hello-cookiecutter
7e417852c981827baef5a21048cf25adcc7505fd
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/code/goodbye/goodbye.py
ezwiefel/hello-cookiecutter
7e417852c981827baef5a21048cf25adcc7505fd
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/code/goodbye/goodbye.py
ezwiefel/hello-cookiecutter
7e417852c981827baef5a21048cf25adcc7505fd
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Microsoft // // This software is released under the MIT License. // https://opensource.org/licenses/MIT print("Goodbye, {{cookiecutter.name}}!")
28
51
0.714286
21
168
5.714286
0.952381
0
0
0
0
0
0
0
0
0
0
0.027027
0.119048
168
6
52
28
0.783784
0
0
0
0
0
0.183432
0.130178
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6764a22fb139bc155cbeafd44ceb9304fd5dfce3
180
py
Python
src/timedate.py
snxfz947/EmailForwardingValidator
c2062fae0a7d9b55d33e8ed1577dd54ca9a2d62c
[ "MIT" ]
null
null
null
src/timedate.py
snxfz947/EmailForwardingValidator
c2062fae0a7d9b55d33e8ed1577dd54ca9a2d62c
[ "MIT" ]
10
2019-06-13T07:33:27.000Z
2019-07-18T03:35:20.000Z
src/timedate.py
snxfz947/email-forwarding-validator
c2062fae0a7d9b55d33e8ed1577dd54ca9a2d62c
[ "MIT" ]
null
null
null
from lib.messages import * import argparse parser = argparse.ArgumentParser() parser.add_argument("msg") args = parser.parse_args() print_message(args.msg, "CRONJOB", "verbose")
20
45
0.766667
23
180
5.869565
0.695652
0
0
0
0
0
0
0
0
0
0
0
0.1
180
8
46
22.5
0.833333
0
0
0
0
0
0.094444
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
6776cca8462eca0bbcce4fd22c9eafb2748385ba
106
py
Python
web/run.py
avnermosh/flask_recipe_app
c55ffc40a182e5f250ac02cdedc1fc3e16a3b97c
[ "MIT" ]
1
2021-05-21T09:53:51.000Z
2021-05-21T09:53:51.000Z
web/run.py
avnermosh/flask_recipe_app
c55ffc40a182e5f250ac02cdedc1fc3e16a3b97c
[ "MIT" ]
3
2020-03-24T17:08:20.000Z
2021-02-02T22:01:45.000Z
web/run.py
avnermosh/flask_recipe_app
c55ffc40a182e5f250ac02cdedc1fc3e16a3b97c
[ "MIT" ]
null
null
null
# run.py from project import app if __name__ == "__main__": print( 'App1 started' ) app.run()
10.6
27
0.613208
14
106
4.071429
0.857143
0
0
0
0
0
0
0
0
0
0
0.012658
0.254717
106
9
28
11.777778
0.708861
0.056604
0
0
0
0
0.206186
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
3
67a280cdb794dbcd1ad4e556eed696f19b15b834
1,211
py
Python
src/serverdb_log_parser_multithreaded/rop/result.py
sherry-ummen/serverdb_log_parser_multithreaded
a50de9463fdd46ba34c399f87844eb6b339ef4ef
[ "MIT" ]
1
2019-02-02T18:44:12.000Z
2019-02-02T18:44:12.000Z
src/rop/result.py
sherry-ummen/rop
43063f850f89196618e2f3954058dfa5592bf4c8
[ "MIT" ]
null
null
null
src/rop/result.py
sherry-ummen/rop
43063f850f89196618e2f3954058dfa5592bf4c8
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Callable class Result: @property def is_success(self): return self._is_success @property def is_failure(self): return not self._is_success @is_failure.setter def is_failure(self, value): self.is_success = not value @property ...
26.326087
68
0.650702
150
1,211
5.026667
0.253333
0.143236
0.103448
0.04244
0.381963
0.267905
0.267905
0.267905
0.143236
0.143236
0
0
0.251032
1,211
45
69
26.911111
0.831312
0
0
0.25
0
0
0.028076
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.25
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
67bcd2e9a2f8410880825c96f91cad9d021e308e
2,441
py
Python
proton-j/src/main/resources/csasl.py
mqlight/qpid-proton
e13a089c15ebe674a8f3f02e9f2b3033595b015a
[ "Apache-2.0" ]
null
null
null
proton-j/src/main/resources/csasl.py
mqlight/qpid-proton
e13a089c15ebe674a8f3f02e9f2b3033595b015a
[ "Apache-2.0" ]
null
null
null
proton-j/src/main/resources/csasl.py
mqlight/qpid-proton
e13a089c15ebe674a8f3f02e9f2b3033595b015a
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
26.532609
62
0.774273
399
2,441
4.483709
0.328321
0.120738
0.067077
0.067077
0.264952
0.264952
0.128563
0.110117
0.110117
0.088876
0
0.006686
0.142155
2,441
91
63
26.824176
0.84766
0.324457
0
0.12963
0
0
0.076781
0
0
0
0
0.010989
0
1
0.222222
false
0.055556
0.055556
0.037037
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
67dc8bf56908a01c8095437497e4d5e8ac27524f
753
py
Python
app/api/vrfs/views.py
briantsaunders/flask-example-app
1378d0c6985af91f2cc89c86f5466381b7b19a86
[ "MIT" ]
1
2021-04-08T07:54:19.000Z
2021-04-08T07:54:19.000Z
app/api/vrfs/views.py
briantsaunders/flask-vrfs-api
1378d0c6985af91f2cc89c86f5466381b7b19a86
[ "MIT" ]
null
null
null
app/api/vrfs/views.py
briantsaunders/flask-vrfs-api
1378d0c6985af91f2cc89c86f5466381b7b19a86
[ "MIT" ]
null
null
null
# import third party libs from flask_apispec.annotations import marshal_with, doc, use_kwargs from flask_apispec.views import MethodResource # import app libs from app.api import api from app.core.vrf_operations import VrfOperations from app.schemas.response.vrf import VrfResponseSchema from app.schemas.query.vrfs imp...
28.961538
67
0.767596
99
753
5.676768
0.444444
0.049822
0.05694
0
0
0
0
0
0
0
0
0
0.130146
753
25
68
30.12
0.858015
0.051793
0
0
0
0
0.025316
0
0
0
0
0
0
1
0.117647
false
0
0.352941
0.117647
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
0
0
0
1
1
1
0
0
3
67eb01e3a9ea1d156671d1de8c394544720e16be
615
py
Python
res/Helper/Const/Language.py
gr4ph0s/PoseMaster
a817a72af44be931080f270c88910320d4a8a423
[ "Apache-2.0" ]
1
2018-08-03T16:40:16.000Z
2018-08-03T16:40:16.000Z
res/Helper/Const/Language.py
gr4ph0s/PoseMaster
a817a72af44be931080f270c88910320d4a8a423
[ "Apache-2.0" ]
null
null
null
res/Helper/Const/Language.py
gr4ph0s/PoseMaster
a817a72af44be931080f270c88910320d4a8a423
[ "Apache-2.0" ]
1
2020-01-28T15:36:28.000Z
2020-01-28T15:36:28.000Z
class ConstLanguage(): """class for storing all const Language""" MENU_RIG = 10 MENU_RIG_NEW = 11 MENU_RIG_REFRESH = 12 MENU_RIG_RENAME = 13 MENU_RIG_DELETE_CURRENT = 14 MENU_RIG_DELETE_ALL = 15 MENU_RIG_CHANGE_FOLDER = 16 MENU_RIG_OPTIONS = 20 MENU_RIG_OPTIONS_IMPORT = 21 ...
26.73913
46
0.720325
93
615
4.236559
0.462366
0.248731
0.248731
0.152284
0.111675
0
0
0
0
0
0
0.076596
0.235772
615
23
47
26.73913
0.761702
0.058537
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.157895
0
1.157895
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
1
0
0
3
67eb7d2fba6e72a70f912eaf82839d0a1c04ef1e
1,056
py
Python
exercises/en/test_03_11.py
hfboyce/MCL-DSCI-571-machine-learning
25757369491ac547daa94ff1143ca7389d433a6e
[ "MIT" ]
1
2020-11-23T03:19:18.000Z
2020-11-23T03:19:18.000Z
exercises/en/test_03_11.py
hfboyce/MCL-DSCI-571-machine-learning
25757369491ac547daa94ff1143ca7389d433a6e
[ "MIT" ]
13
2020-10-02T16:48:24.000Z
2020-12-09T18:58:21.000Z
exercises/en/test_03_11.py
hfboyce/MCL-DSCI-571-machine-learning
25757369491ac547daa94ff1143ca7389d433a6e
[ "MIT" ]
2
2020-10-28T19:43:42.000Z
2021-03-30T22:57:47.000Z
def test(): # Here we can either check objects created in the solution code, or the # string value of the solution, available as __solution__. A helper for # printing formatted messages is available as __msg__. See the testTemplate # in the meta.json for details. # If an assertion fails, the messag...
75.428571
148
0.744318
161
1,056
4.658385
0.546584
0.053333
0.073333
0.093333
0.148
0.148
0.116
0
0
0
0
0.018519
0.181818
1,056
14
149
75.428571
0.849537
0.280303
0
0
0
0
0.635762
0.062252
0
0
0
0
0.75
1
0.125
true
0
0
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
67ee87301be191e22c2fe8e3140c64ae0b8da796
915
py
Python
zcls/data/datasets/fashionmnist.py
likyoo/ZCls
568621aca3a8b090c93345f0858d52c5757f2f0e
[ "Apache-2.0" ]
1
2021-05-07T12:54:03.000Z
2021-05-07T12:54:03.000Z
zcls/data/datasets/fashionmnist.py
likyoo/ZCls
568621aca3a8b090c93345f0858d52c5757f2f0e
[ "Apache-2.0" ]
null
null
null
zcls/data/datasets/fashionmnist.py
likyoo/ZCls
568621aca3a8b090c93345f0858d52c5757f2f0e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ @date: 2021/2/23 下午8:22 @file: fashionmnist.py @author: zj @description: """ from torch.utils.data import Dataset import torchvision.datasets as datasets from .evaluator.general_evaluator import GeneralEvaluator class FashionMNIST(Dataset): def __init__(self, root, train=True, tra...
27.727273
120
0.671038
105
915
5.542857
0.47619
0.054983
0.075601
0.058419
0.068729
0
0
0
0
0
0
0.018258
0.221858
915
32
121
28.59375
0.799157
0.104918
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1875
0.125
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
1
1
0
0
3
67fd9d573095a1c36517418d23cb19b1d785f373
3,289
py
Python
GameFiles/gameFunctions.py
PaulLundgren/Project-Run
e5dc8d7d1f6fc4cf786b33f381de4b57e3a0e5b9
[ "MIT" ]
1
2021-06-08T21:22:42.000Z
2021-06-08T21:22:42.000Z
GameFiles/gameFunctions.py
PaulLundgren/Project-Run
e5dc8d7d1f6fc4cf786b33f381de4b57e3a0e5b9
[ "MIT" ]
null
null
null
GameFiles/gameFunctions.py
PaulLundgren/Project-Run
e5dc8d7d1f6fc4cf786b33f381de4b57e3a0e5b9
[ "MIT" ]
2
2021-06-14T20:41:30.000Z
2021-06-24T19:18:48.000Z
import pygame import os import sys green = (0, 225, 0) black = (0, 0, 0) def text_objects(text, font): # function to simplify creating text to the screen, taking in as (Font,Size) text_surface = font.render(text, True, black) return text_surface, text_surface.get_rect() def button(screen, message, x, y, w, ...
44.445946
145
0.653998
497
3,289
4.227364
0.177062
0.010471
0.011423
0.015231
0.761542
0.761542
0.743931
0.674441
0.660638
0.660638
0
0.012048
0.19246
3,289
73
146
45.054795
0.778991
0.244147
0
0.568627
0
0
0.047773
0
0
0
0
0
0
1
0.098039
false
0
0.058824
0
0.196078
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
db1d18e4abc37faca88ad44d60c304b66e8a72fa
1,016
py
Python
testplan/common/utils/validation.py
raoyitao/testplan
aae3e9cee597ca3d01b6d64eed2642c421c56cbb
[ "Apache-2.0" ]
96
2018-03-14T13:14:50.000Z
2021-01-14T08:26:08.000Z
testplan/common/utils/validation.py
raoyitao/testplan
aae3e9cee597ca3d01b6d64eed2642c421c56cbb
[ "Apache-2.0" ]
135
2018-06-28T02:41:05.000Z
2021-01-19T02:16:58.000Z
testplan/common/utils/validation.py
raoyitao/testplan
aae3e9cee597ca3d01b6d64eed2642c421c56cbb
[ "Apache-2.0" ]
53
2018-03-17T14:39:15.000Z
2021-01-21T10:54:13.000Z
""" This module contains helper validation functions to be used with configuration schemas. """ import validators def is_subclass(parent_kls): """ Validator for subclass check. When we have a class as a value in a validation schema, schema.py will implicitly try to do an ``isinstance`` check on the ...
22.577778
79
0.684055
141
1,016
4.822695
0.446809
0.041176
0.083824
0.092647
0.144118
0
0
0
0
0
0
0
0.230315
1,016
44
80
23.090909
0.869565
0.476378
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.066667
0.133333
0.866667
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
1
0
0
3
db31deb808b1601a6fc97d8dbc7bf0f62c8d3b80
2,838
py
Python
psx/_dump_/25/_dump_ida_/overlay_d/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/25/_dump_ida_/overlay_d/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/25/_dump_ida_/overlay_d/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
set_name(0x80137B7C, "EA_cd_seek", SN_NOWARN) set_name(0x80137BA4, "MY_CdGetSector", SN_NOWARN) set_name(0x80137BD8, "init_cdstream", SN_NOWARN) set_name(0x80137BE8, "flush_cdstream", SN_NOWARN) set_name(0x80137C0C, "check_complete_frame", SN_NOWARN) set_name(0x80137C8C, "reset_cdstream", SN_NOWARN) set_name(0x80137CB4...
49.789474
58
0.82241
424
2,838
5.03066
0.29717
0.183779
0.283638
0.386779
0.384435
0.197843
0
0
0
0
0
0.165543
0.059197
2,838
56
59
50.678571
0.633333
0
0
0
0
0
0.289641
0.046159
0
0
0.197322
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
3