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
b4c6bec353a42683ec3401bf053857dc34b4f0e8
2,314
py
Python
src/github/models/review.py
isabella232/SGTM
3793d78e99f89e5f73bac5c44f9d8a18cac75fbf
[ "MIT" ]
8
2020-12-05T00:13:03.000Z
2022-01-11T11:35:51.000Z
src/github/models/review.py
Asana/SGTM
0e9e236980ed68e80e021470da6374945bbac501
[ "MIT" ]
12
2020-12-14T18:21:21.000Z
2022-03-29T17:06:20.000Z
src/github/models/review.py
isabella232/SGTM
3793d78e99f89e5f73bac5c44f9d8a18cac75fbf
[ "MIT" ]
2
2021-06-27T09:32:55.000Z
2022-02-27T23:17:36.000Z
from __future__ import annotations from typing import Dict, Any, List from datetime import datetime from enum import Enum, unique from src.utils import parse_date_string from .user import User import copy from .pull_request_review_comment import PullRequestReviewComment @unique class ReviewState(Enum): """https...
30.051948
91
0.675022
281
2,314
5.402135
0.330961
0.046113
0.034256
0.044796
0.120553
0.081028
0.051383
0
0
0
0
0.000552
0.217805
2,314
76
92
30.447368
0.838122
0.133103
0
0
0
0
0.047716
0
0
0
0
0
0
1
0.3
false
0
0.16
0.26
0.88
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
b4d089faa000903867a1b23d69cb0b5cd6fa63f6
559
py
Python
Week4/Day2/Dailychallenge.py
malharlakdawala/DevelopersInstitute
3d6a9fb0002670878105d983edca432f635bce6d
[ "MIT" ]
null
null
null
Week4/Day2/Dailychallenge.py
malharlakdawala/DevelopersInstitute
3d6a9fb0002670878105d983edca432f635bce6d
[ "MIT" ]
null
null
null
Week4/Day2/Dailychallenge.py
malharlakdawala/DevelopersInstitute
3d6a9fb0002670878105d983edca432f635bce6d
[ "MIT" ]
1
2021-10-09T19:01:08.000Z
2021-10-09T19:01:08.000Z
age = input("Enter birthdate in dd/mm/yyyy format? ") age_year = age[-4:] age_in_2021 = 2021-int(age_year) last_character=age_in_2021 % 10 c=" "*7+"_"*(5-int(last_character/2))+"i"*last_character+"_"*(5-int(last_character/2))+" "*7 print(c) a=""" |:H:a:p:p:y:| __|___________|__ |^^^^^^^^^^^^^^^^^| |:...
19.275862
92
0.431127
74
559
2.608108
0.418919
0.26943
0.093264
0.176166
0.321244
0.134715
0.134715
0.134715
0.134715
0.134715
0
0.048724
0.22898
559
29
93
19.275862
0.399072
0
0
0
0
0
0.445844
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
1
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
0
0
3
b4d099514b7964b2ef3ca9136a521fe461d59590
164
py
Python
meiduo_mall/meiduo_mall/apps/contents/urls.py
sny1532034183/meiduo
a85846668e96fe33ad401af13b0e4c4868d17006
[ "MIT" ]
3
2019-08-30T05:31:06.000Z
2019-08-30T05:31:17.000Z
meiduo_mall/meiduo_mall/apps/contents/urls.py
sny1532034183/meiduo
a85846668e96fe33ad401af13b0e4c4868d17006
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/contents/urls.py
sny1532034183/meiduo
a85846668e96fe33ad401af13b0e4c4868d17006
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns=[ url(r'^index/$', views.IndexView.as_view()), # url("^img/$",views.ImageView.as_view()) ]
27.333333
48
0.670732
23
164
4.695652
0.652174
0.111111
0
0
0
0
0
0
0
0
0
0
0.134146
164
6
49
27.333333
0.760563
0.237805
0
0
0
0
0.064516
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
b4da2cd40b08e24d0fa5f09b750233ca7aa5f23d
1,192
py
Python
notes/plotly_dash.py
andrewtruong/notes
24e3a7d822f746ac4ab6c3186bc44dccb4f0e169
[ "Apache-2.0" ]
null
null
null
notes/plotly_dash.py
andrewtruong/notes
24e3a7d822f746ac4ab6c3186bc44dccb4f0e169
[ "Apache-2.0" ]
null
null
null
notes/plotly_dash.py
andrewtruong/notes
24e3a7d822f746ac4ab6c3186bc44dccb4f0e169
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/05_build_and_deploy_data_apps/plotly_dash.ipynb (unless otherwise specified). __all__ = ['dash_ctx', 'idify'] # Cell from functools import wraps def dash_ctx(inputs): ''' Provide a ctx dict to use in the dash callback system. For example: ```python ...
28.380952
125
0.634228
149
1,192
4.939597
0.530201
0.028533
0.035326
0
0
0
0
0
0
0
0
0.008772
0.234899
1,192
42
126
28.380952
0.798246
0.569631
0
0
1
0
0.134146
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
b4db935a75010c045053fec87eeb3a48ae7a0286
173
py
Python
swagger_aggregator/__init__.py
Trax-air/swagger-aggregator
d7e450169558879781697cd0f06110b9a5c97545
[ "MIT" ]
28
2016-02-13T12:37:14.000Z
2021-11-01T13:37:44.000Z
swagger_aggregator/__init__.py
Trax-air/swagger-aggregator
d7e450169558879781697cd0f06110b9a5c97545
[ "MIT" ]
1
2018-05-26T15:49:44.000Z
2018-06-14T17:10:32.000Z
swagger_aggregator/__init__.py
Trax-air/swagger-aggregator
d7e450169558879781697cd0f06110b9a5c97545
[ "MIT" ]
7
2016-02-05T13:42:33.000Z
2022-03-20T07:52:46.000Z
# -*- coding: utf-8 -*- from .swagger_aggregator import SwaggerAggregator __author__ = 'Cyprien Guillemot' __email__ = 'cyprien.guillemot@gmail.com' __version__ = '0.1.1'
21.625
49
0.739884
20
173
5.75
0.85
0.278261
0
0
0
0
0
0
0
0
0
0.026316
0.121387
173
7
50
24.714286
0.730263
0.121387
0
0
0
0
0.326667
0.18
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
371a8097065cae1e1cc725c2bde508de8f4cdb06
767
py
Python
nextcord/ext/converters/thread_converter.py
abrahammurciano/nextcord
e55be422a1b923fc498b04f82172d5a0d263eb71
[ "MIT" ]
null
null
null
nextcord/ext/converters/thread_converter.py
abrahammurciano/nextcord
e55be422a1b923fc498b04f82172d5a0d263eb71
[ "MIT" ]
null
null
null
nextcord/ext/converters/thread_converter.py
abrahammurciano/nextcord
e55be422a1b923fc498b04f82172d5a0d263eb71
[ "MIT" ]
null
null
null
from .id_converter import IDConverter from .guild_channel_converter import GuildChannelConverter from nextcord.ext.abc import ContextBase from nextcord import Thread class ThreadConverter(IDConverter[Thread]): """Coverts to a :class:`~nextcord.Thread`. All lookups are via the local guild. The lookup str...
30.68
85
0.726206
98
767
5.591837
0.510204
0.032847
0.054745
0.145985
0.167883
0
0
0
0
0
0
0.008013
0.186441
767
25
86
30.68
0.870192
0.267275
0
0
0
0
0.013283
0
0
0
0
0
0
1
0
true
0
0.444444
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
373001d59c1889f103f2817c2f76ab5c7c8c651a
48
py
Python
src/job/__init__.py
Arseny802/gitlab_helper
787150f7588664b10fbd8daba09f9870d56bf124
[ "Apache-2.0" ]
null
null
null
src/job/__init__.py
Arseny802/gitlab_helper
787150f7588664b10fbd8daba09f9870d56bf124
[ "Apache-2.0" ]
null
null
null
src/job/__init__.py
Arseny802/gitlab_helper
787150f7588664b10fbd8daba09f9870d56bf124
[ "Apache-2.0" ]
null
null
null
__all__ = [ "job_poll", "single_job", ]
9.6
17
0.520833
5
48
3.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.291667
48
4
18
12
0.558824
0
0
0
0
0
0.375
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
2e9c54e669d8ae498a84821d53d045f0c5e4d705
381
py
Python
drf_integrations/migrations/__init__.py
yoyowallet/drf-integrations-framework
7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9
[ "MIT" ]
1
2020-07-09T11:39:19.000Z
2020-07-09T11:39:19.000Z
drf_integrations/migrations/__init__.py
yoyowallet/drf-integrations-framework
7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9
[ "MIT" ]
5
2020-07-08T11:00:26.000Z
2021-01-13T09:33:09.000Z
drf_integrations/migrations/__init__.py
yoyowallet/drf-integrations-framework
7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9
[ "MIT" ]
2
2021-08-12T12:23:54.000Z
2021-09-20T06:45:38.000Z
""" As the original oauth2_provider models are overwritten and users are forced to inherit from the new models here in drf_integrations, every migration in oauth2_provider must be replicated here, and it has to be added as a dependency to the migration. For example, migration 0002 here has as a dependency the migratio...
42.333333
91
0.808399
63
381
4.825397
0.52381
0.138158
0.085526
0
0
0
0
0
0
0
0
0.047022
0.16273
381
8
92
47.625
0.905956
0.976378
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
2ec1d089ce443de940a613e26a18019728981ac6
184
py
Python
viewer/app.py
dendinho-e-bolinha/bd
3e42f334ce3b6688a0f00091b67d6e1e9634665c
[ "MIT" ]
null
null
null
viewer/app.py
dendinho-e-bolinha/bd
3e42f334ce3b6688a0f00091b67d6e1e9634665c
[ "MIT" ]
1
2021-11-17T01:59:56.000Z
2021-11-17T01:59:56.000Z
viewer/app.py
dendinho-e-bolinha/bd
3e42f334ce3b6688a0f00091b67d6e1e9634665c
[ "MIT" ]
1
2021-11-15T10:48:58.000Z
2021-11-15T10:48:58.000Z
import os from server import app environment = os.getenv('FLASK_ENV') or 'development' port = int(os.getenv('PORT') or '8080') app.run('0.0.0.0', port, environment == 'development')
23
54
0.701087
29
184
4.413793
0.551724
0.046875
0.046875
0
0
0
0
0
0
0
0
0.049689
0.125
184
7
55
26.285714
0.745342
0
0
0
0
0
0.25
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
2ee286c75abf163254739d8b4f4faa5454325775
5,999
gyp
Python
data/test/python/2ee286c75abf163254739d8b4f4faa5454325775ie.gyp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/python/2ee286c75abf163254739d8b4f4faa5454325775ie.gyp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/python/2ee286c75abf163254739d8b4f4faa5454325775ie.gyp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.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. { 'targets': [ { 'target_name': 'ceee_ie_all', 'type': 'none', 'dependencies': [ 'common/common.gyp:*', 'broker/b...
36.803681
72
0.625938
652
5,999
5.484663
0.20092
0.111857
0.107383
0.090324
0.567953
0.4533
0.358781
0.315157
0.262584
0.217841
0
0.001519
0.231872
5,999
162
73
37.030864
0.774523
0.049175
0
0.422078
0
0
0.681004
0.594277
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
2c0bf05c48f4fc55af04d157e4954f508abf4b3f
80
py
Python
Algorithm-Selection/gripsPredictorPkg/predictor/__init__.py
GregorCH/algoselection
4919d6bede01298f269985fdce94d8176d2ad62b
[ "MIT" ]
2
2018-02-23T08:53:22.000Z
2021-05-12T11:17:46.000Z
Algorithm-Selection/gripsPredictorPkg/predictor/__init__.py
GregorCH/algoselection
4919d6bede01298f269985fdce94d8176d2ad62b
[ "MIT" ]
null
null
null
Algorithm-Selection/gripsPredictorPkg/predictor/__init__.py
GregorCH/algoselection
4919d6bede01298f269985fdce94d8176d2ad62b
[ "MIT" ]
1
2018-04-09T20:28:36.000Z
2018-04-09T20:28:36.000Z
__all__ = ['logger', 'config', 'performance', 'models', 'feature_investigator']
40
79
0.7
7
80
7.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.0875
80
1
80
80
0.69863
0
0
0
0
0
0.6125
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2c0ea5a6a6c600e00b5aee71dc6682815c2efaa8
673
py
Python
approximation/__init__.py
adamoudad/dissimilarity-approximation
d5b2c7e56e1ff45f1409729fa25a6f409a049dcd
[ "MIT" ]
null
null
null
approximation/__init__.py
adamoudad/dissimilarity-approximation
d5b2c7e56e1ff45f1409729fa25a6f409a049dcd
[ "MIT" ]
null
null
null
approximation/__init__.py
adamoudad/dissimilarity-approximation
d5b2c7e56e1ff45f1409729fa25a6f409a049dcd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Ce module contient l'(les) algorithme(s) d'approximation d'une dissimilarité quelconque, par une dissimilarité robinsonienne. En fournissant une matrice de dissimilarité quelconque, les algorithmes présentés doivent être capable de fournier un matrice Robinsonienne, av...
56.083333
223
0.799406
97
673
5.546392
0.628866
0.052045
0
0
0
0
0
0
0
0
0
0.00519
0.141159
673
11
224
61.181818
0.925606
0.893016
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
257e995fbadc1b256f40879d87f0e36ec6971465
6,962
py
Python
virtual/lib/python3.6/site-packages/astroid/brain/brain_numpy.py
AlexKarari/Instagram
c77823b9862fc1040b3dd050d940c665fa74b985
[ "MIT" ]
4
2018-08-14T14:08:55.000Z
2021-02-19T02:58:07.000Z
virtual/lib/python3.6/site-packages/astroid/brain/brain_numpy.py
evantoh/patient-management-system
6637eb1344775633759165260ed99843581c0e72
[ "Unlicense" ]
32
2018-05-01T05:24:43.000Z
2022-03-11T23:20:39.000Z
virtual/lib/python3.6/site-packages/astroid/brain/brain_numpy.py
evantoh/patient-management-system
6637eb1344775633759165260ed99843581c0e72
[ "Unlicense" ]
2
2018-05-16T10:39:48.000Z
2019-02-22T09:13:34.000Z
# Copyright (c) 2015-2016 Claudiu Popa <pcmanticore@gmail.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER """Astroid hooks for numpy.""" import astroid def numpy_random_mtrand_transform(): ret...
37.632432
100
0.645935
1,084
6,962
4.027675
0.233395
0.177966
0.120934
0.181402
0.473889
0.384333
0.242785
0.150252
0.024737
0.024737
0
0.043948
0.202528
6,962
184
101
37.836957
0.742435
0.034904
0
0.030488
0
0
0.894808
0.036959
0
0
0
0
0
1
0.018293
false
0.70122
0.006098
0.012195
0.042683
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
258514bb79b6b1c42ab68afd4d4e958e13666197
240
py
Python
authentication/apps.py
taxidriver77/django-angular
f8d9dc58e05c99b6abe694e6be4b4de769664657
[ "0BSD" ]
8
2016-01-11T11:01:29.000Z
2019-05-26T18:00:06.000Z
authentication/apps.py
sv1jsb/django-angular
d527e812e02227c0b7151b9211c8248e6298c4df
[ "0BSD" ]
3
2020-02-11T23:41:57.000Z
2021-06-10T19:13:54.000Z
authentication/apps.py
taxidriver77/django-angular
f8d9dc58e05c99b6abe694e6be4b4de769664657
[ "0BSD" ]
8
2016-12-19T00:02:26.000Z
2022-01-11T13:52:43.000Z
# -*- coding: utf-8 -*- from django.apps import AppConfig class AuthenticationConfig(AppConfig): """ AuthenticationConfig for authentication app """ name = 'authentication' verbose_name = "Authentication application"
20
47
0.7
21
240
7.952381
0.761905
0.215569
0
0
0
0
0
0
0
0
0
0.005181
0.195833
240
11
48
21.818182
0.860104
0.275
0
0
0
0
0.254777
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2592008dcf307396dceba73df0bb7d555d12212d
20
py
Python
util/__init__.py
ziceweek/spider
3c36f3d32815c844226686535b32814f19271677
[ "MIT" ]
null
null
null
util/__init__.py
ziceweek/spider
3c36f3d32815c844226686535b32814f19271677
[ "MIT" ]
null
null
null
util/__init__.py
ziceweek/spider
3c36f3d32815c844226686535b32814f19271677
[ "MIT" ]
null
null
null
__author__ = 'zice'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
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
25b65330ac0fdd952fd1606f707018f5391d4b71
1,900
py
Python
5-Functions_and_Modules/inventory_functions.py
nkfreeman/Python_Tutorials
3f71d3f0cd5f9a6a475ca93b11eb560ed2265a63
[ "MIT" ]
5
2019-02-27T23:17:08.000Z
2021-07-09T23:12:42.000Z
5-Functions_and_Modules/inventory_functions.py
jenunnelley/Python_Tutorials
3f71d3f0cd5f9a6a475ca93b11eb560ed2265a63
[ "MIT" ]
null
null
null
5-Functions_and_Modules/inventory_functions.py
jenunnelley/Python_Tutorials
3f71d3f0cd5f9a6a475ca93b11eb560ed2265a63
[ "MIT" ]
4
2018-12-31T17:03:10.000Z
2020-05-07T23:31:02.000Z
# -*- coding: utf-8 -*- """ Created on Fri Dec 21 06:23:56 2018 @author: Nick """ def Compute_EOQ(annual_demand, order_cost, holding_cost): ''' This function computes the Economic Order Quantity (EOQ) for a specified annual demand, ordering cost, and holding cost. Arguments: annual_demand - ...
23.75
89
0.666316
239
1,900
5.175732
0.246862
0.10671
0.105093
0.202102
0.641876
0.57882
0.527082
0.470493
0.328213
0.244139
0
0.075362
0.273684
1,900
79
90
24.050633
0.821014
0.673158
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
25b66f66ff5a972929ae9b0d96971b0d1d130d4a
131
py
Python
Modulo 1/005.py
thiago19maciel/Exercicios-em-Python
0d46816caf655c6e870510bb1136964854fc875f
[ "MIT" ]
1
2022-03-22T22:36:48.000Z
2022-03-22T22:36:48.000Z
Modulo 1/005.py
thiago19maciel/Exercicios-em-Python
0d46816caf655c6e870510bb1136964854fc875f
[ "MIT" ]
null
null
null
Modulo 1/005.py
thiago19maciel/Exercicios-em-Python
0d46816caf655c6e870510bb1136964854fc875f
[ "MIT" ]
null
null
null
numero = int(input('Digite um numero: ')) print(f'''Voce digitou {numero} Seu sucessor é {numero+1} E o antecessor é {numero-1}''')
32.75
41
0.687023
22
131
4.090909
0.727273
0.155556
0.177778
0
0
0
0
0
0
0
0
0.017544
0.129771
131
4
42
32.75
0.77193
0
0
0
0
0
0.704545
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
25cd362c885a3b8cfd6896c94ed6d9ccfb6cac8b
1,312
py
Python
hard-gists/859473/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/859473/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/859473/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
from django.db.models.manager import Manager class PassThroughManager(Manager): ''' Inherit from this Manager to enable you to call any methods from your custom QuerySet class from your manager. Simply define your QuerySet class, and return an instance of it from your manager's `get_query_set` met...
35.459459
75
0.685976
165
1,312
5.206061
0.448485
0.064028
0.051222
0.034924
0
0
0
0
0
0
0
0
0.241616
1,312
37
76
35.459459
0.863317
0.443598
0
0
0
0
0.036419
0
0
0
0
0
0
1
0.214286
false
0.214286
0.071429
0
0.642857
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
25d853e4deba447115950d574eb28bb0550a7256
273
py
Python
zazi/apps/loan_ledger/forms.py
felixcheruiyot/zazi-core-banking
0a2dac42235adcac3cf8c114961e407f54844223
[ "Apache-2.0" ]
null
null
null
zazi/apps/loan_ledger/forms.py
felixcheruiyot/zazi-core-banking
0a2dac42235adcac3cf8c114961e407f54844223
[ "Apache-2.0" ]
1
2021-08-20T06:41:57.000Z
2021-08-20T06:41:57.000Z
zazi/apps/loan_ledger/forms.py
felixcheruiyot/zazi-core-banking
0a2dac42235adcac3cf8c114961e407f54844223
[ "Apache-2.0" ]
null
null
null
from django import forms class FundLoanBookForm(forms.Form): amount = forms.DecimalField(required=True, min_value=0, max_value=1000000) transaction_fee = forms.DecimalField(required=False, min_value=0, max_value=100000) notes = forms.CharField(max_length=200)
39
87
0.783883
37
273
5.621622
0.648649
0.163462
0.240385
0.115385
0.163462
0
0
0
0
0
0
0.074689
0.117216
273
7
88
39
0.788382
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
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
0
0
1
0
0
3
25efc4cd1aef171405011f756d29b69f04c19df7
168
py
Python
scripts/uart_send.py
kanpapa/jetson-nano-tools
6f7b637936d4f827114849d7c321b4253f6d6eca
[ "MIT" ]
106
2019-04-24T18:57:17.000Z
2022-03-20T07:28:36.000Z
scripts/uart_send.py
jbasu2013/jetson-nano-tools
1e911ec3e912c740bd3f363527fc69ec3c1d6d76
[ "MIT" ]
6
2019-06-10T12:42:05.000Z
2021-06-27T23:39:51.000Z
scripts/uart_send.py
jbasu2013/jetson-nano-tools
1e911ec3e912c740bd3f363527fc69ec3c1d6d76
[ "MIT" ]
27
2019-04-17T12:07:08.000Z
2021-12-18T06:03:47.000Z
# -*- coding: utf-8 -*- import serial import time ser = serial.Serial('/dev/ttyTHS1', 115200, timeout=1) while True: ser.write("test".encode()) time.sleep(1)
16.8
54
0.642857
24
168
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0.071429
0.166667
168
9
55
18.666667
0.7
0.125
0
0
0
0
0.110345
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
d303568a4dc1e646dd1eebf7e442b281f8bb0bdb
1,290
py
Python
Back-End/Python/unzip_zip_tar_file.py
ASHISHKUMAR2411/Programming-CookBook
9c60655d64d21985ccb4196360858d98344701f9
[ "MIT" ]
25
2021-04-28T02:51:26.000Z
2022-03-24T13:58:04.000Z
Back-End/Python/unzip_zip_tar_file.py
ASHISHKUMAR2411/Programming-CookBook
9c60655d64d21985ccb4196360858d98344701f9
[ "MIT" ]
1
2022-03-03T23:33:41.000Z
2022-03-03T23:35:41.000Z
Back-End/Python/unzip_zip_tar_file.py
ASHISHKUMAR2411/Programming-CookBook
9c60655d64d21985ccb4196360858d98344701f9
[ "MIT" ]
15
2021-05-30T01:35:20.000Z
2022-03-25T12:38:25.000Z
# ==================== < UnZip > ==================== # import tarfile def open_tarfile_function(tarfile_file_name): open_tarfile=tarfile.open("file_name.tar.gz") open_tarfile.extractall(path='tarfile_file_name') open_tarfile.close() open_tarfile_function('data.tgz') # ==================== < Zip Odoo > ...
24.339623
60
0.646512
165
1,290
4.787879
0.2
0.139241
0.096203
0.126582
0.883544
0.864557
0.660759
0.660759
0.660759
0.546835
0
0.0053
0.122481
1,290
52
61
24.807692
0.69258
0.167442
0
0.714286
0
0
0.152399
0.068674
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.357143
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d3043ffe66aa3471c5cf9b2067ace6ab750b8993
2,449
py
Python
tests/argparse_tests/tests.py
Nekmo/nekbot-mirai
a7a9934fb828f6a9ca11d627f46cf9568df6b917
[ "MIT" ]
null
null
null
tests/argparse_tests/tests.py
Nekmo/nekbot-mirai
a7a9934fb828f6a9ca11d627f46cf9568df6b917
[ "MIT" ]
null
null
null
tests/argparse_tests/tests.py
Nekmo/nekbot-mirai
a7a9934fb828f6a9ca11d627f46cf9568df6b917
[ "MIT" ]
null
null
null
# coding=utf-8 from nekbot.core.exceptions import PrintableException from nekbot.core.types.argparse import Text from nekbot.protocols import Message __author__ = 'nekmo' import pytest from nekbot.core.commands import argparse def test_without_args(): """Sin dar argumentos, no debe devolver, ni debe pedir. "...
25.778947
70
0.660678
295
2,449
5.335593
0.322034
0.062897
0.111817
0.142313
0.445997
0.412961
0.412961
0.388183
0.346887
0.346887
0
0.004658
0.211107
2,449
94
71
26.053191
0.810041
0.173132
0
0.466667
0
0
0.029234
0
0
0
0
0.021277
0.066667
1
0.266667
false
0.133333
0.083333
0
0.35
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
d325553e0a8b074077770a7d5d3e3434b66a941c
107
py
Python
src/randonet/templates/net_template.py
ahgamut/randonet
b55241809318d70e97c7718b3fcdc91a7219f269
[ "MIT" ]
null
null
null
src/randonet/templates/net_template.py
ahgamut/randonet
b55241809318d70e97c7718b3fcdc91a7219f269
[ "MIT" ]
null
null
null
src/randonet/templates/net_template.py
ahgamut/randonet
b55241809318d70e97c7718b3fcdc91a7219f269
[ "MIT" ]
null
null
null
{%- extends "base_template.py" %} {%- block init %} {%- endblock %} {% block forward %} {% endblock %}
10.7
33
0.551402
10
107
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.205607
107
9
34
11.888889
0.682353
0
0
0
0
0
0.149533
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
d3448c99ff6afb8a620052001a651492d2c07c79
454
py
Python
solutions/problem_312.py
ksvr444/daily-coding-problem
5d9f488f81c616847ee4e9e48974523ec2d598d7
[ "MIT" ]
1,921
2018-11-13T18:19:56.000Z
2021-11-15T14:25:41.000Z
solutions/problem_312.py
MohitIndian/daily-coding-problem
5d9f488f81c616847ee4e9e48974523ec2d598d7
[ "MIT" ]
2
2019-07-19T01:06:16.000Z
2019-08-01T22:21:36.000Z
solutions/problem_312.py
MohitIndian/daily-coding-problem
5d9f488f81c616847ee4e9e48974523ec2d598d7
[ "MIT" ]
1,066
2018-11-19T19:06:55.000Z
2021-11-13T12:33:56.000Z
def get_arrangement_count(free_spaces): if not free_spaces: return 1 elif free_spaces < 2: return 0 arrangements = 0 if free_spaces >= 3: arrangements += (2 + get_arrangement_count(free_spaces - 3)) arrangements += (2 + get_arrangement_count(free_spaces - 2)) return arr...
21.619048
68
0.685022
58
454
5.086207
0.362069
0.20339
0.257627
0.233898
0.423729
0.325424
0.325424
0.325424
0.325424
0.325424
0
0.037356
0.23348
454
20
69
22.7
0.810345
0.011013
0
0
0
0
0
0
0
0
0
0
0.076923
1
0.153846
false
0
0
0.076923
0.461538
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
d34c823b297f21b3e0cecabc0999b45f5de96fd9
127
py
Python
researchWork/apps.py
VladimirZubavlenko/ikaf42-app
240e012675e4347370289554f34d9c60c8b6f35d
[ "MIT" ]
null
null
null
researchWork/apps.py
VladimirZubavlenko/ikaf42-app
240e012675e4347370289554f34d9c60c8b6f35d
[ "MIT" ]
null
null
null
researchWork/apps.py
VladimirZubavlenko/ikaf42-app
240e012675e4347370289554f34d9c60c8b6f35d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ResearchWorkConfig(AppConfig): name = 'researchWork' verbose_name = 'Работы'
18.142857
36
0.748031
13
127
7.230769
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.173228
127
6
37
21.166667
0.895238
0
0
0
0
0
0.141732
0
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
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d376474fb89c5cc95586772edec4091fb70636a1
88
py
Python
baekjoon/5565.py
jiyeoun/PS
855ec59fe7844daf102fde713eab48c88cbc5419
[ "MIT" ]
null
null
null
baekjoon/5565.py
jiyeoun/PS
855ec59fe7844daf102fde713eab48c88cbc5419
[ "MIT" ]
null
null
null
baekjoon/5565.py
jiyeoun/PS
855ec59fe7844daf102fde713eab48c88cbc5419
[ "MIT" ]
null
null
null
total=0 n=int(input()) for i in range(9): t=int(input()) total+=t print(n-total)
14.666667
18
0.602273
18
88
2.944444
0.666667
0.301887
0
0
0
0
0
0
0
0
0
0.027778
0.181818
88
6
19
14.666667
0.708333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
d37d75a27ad52ef22fa057663a45608f9ba88a85
352
py
Python
pythonpic/__init__.py
StanczakDominik/PIC3
583262cff0edfaee48b9540505bcd68983ec53ec
[ "BSD-3-Clause" ]
19
2016-03-29T09:07:07.000Z
2021-09-27T07:59:17.000Z
pythonpic/__init__.py
StanczakDominik/PIC3
583262cff0edfaee48b9540505bcd68983ec53ec
[ "BSD-3-Clause" ]
16
2017-02-14T13:27:24.000Z
2017-03-10T19:53:03.000Z
pythonpic/__init__.py
StanczakDominik/PythonPIC
583262cff0edfaee48b9540505bcd68983ec53ec
[ "BSD-3-Clause" ]
8
2016-09-11T19:31:20.000Z
2021-01-11T03:26:02.000Z
# coding=utf-8 """A work in progress particle-in-cell code written in Python, optimized for speed as well as readability.""" from .helper_functions.helpers import plotting_parser from .algorithms import BoundaryCondition import sys import warnings if sys.version_info[:2] < (3, 6): warnings.warn("PythonPIC does no...
35.2
109
0.775568
54
352
5
0.796296
0
0
0
0
0
0
0
0
0
0
0.019737
0.136364
352
10
110
35.2
0.868421
0.332386
0
0
0
0
0.204348
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d37fcc3674b80ffa05cc77f9dbe081785cd21126
1,433
py
Python
release/stubs.min/System/Windows/Forms/__init___parts/ImeMode.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/__init___parts/ImeMode.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Windows/Forms/__init___parts/ImeMode.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class ImeMode(Enum,IComparable,IFormattable,IConvertible): """ Specifies a value that determines the Input Method Editor (IME) status of an object when the object is selected. enum ImeMode,values: Alpha (8),AlphaFull (7),Close (11),Disable (3),Hangul (10),HangulFull (9),Hiragana (4),Inherit (-1),Katakana (5)...
28.66
215
0.675506
198
1,433
4.409091
0.439394
0.091638
0.09622
0.103093
0.147766
0.147766
0.147766
0.129439
0.129439
0.129439
0
0.014382
0.175157
1,433
49
216
29.244898
0.724196
0.480809
0
0.263158
0
0
0
0
0
0
0
0
0
1
0.289474
false
0.263158
0
0
0.736842
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
6cb6cf5fce1938ea72088aef4c3e4c286da3db00
1,645
py
Python
pytoggl/helpers/api_helper.py
cloew/pytoggl
ec559e532559bfeaeb0de7f18831d30ed84f5ff1
[ "MIT" ]
null
null
null
pytoggl/helpers/api_helper.py
cloew/pytoggl
ec559e532559bfeaeb0de7f18831d30ed84f5ff1
[ "MIT" ]
null
null
null
pytoggl/helpers/api_helper.py
cloew/pytoggl
ec559e532559bfeaeb0de7f18831d30ed84f5ff1
[ "MIT" ]
null
null
null
from .request_helper import RequestHelper class ApiHelper: """ Helper class to perform Toggl API requests """ def __init__(self, apiToken=None): """ Initialize the API Helper """ self.requestHelper = RequestHelper(apiToken) def get(self, url): """ Return the ...
34.270833
66
0.551368
175
1,645
5.142857
0.268571
0.094444
0.075556
0.142222
0.388889
0.323333
0.323333
0.323333
0.236667
0.236667
0
0.00566
0.355623
1,645
48
67
34.270833
0.843396
0.213982
0
0.266667
0
0
0.006683
0
0
0
0
0
0
1
0.233333
false
0.066667
0.033333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6cc5026a794d84ffef08aecb4d1bf18841b35d89
97
py
Python
src/aoc_d1.py
JAnx0/AoC-
1fe72934ba0dbdc486ad95f5daa2cc84ab65e9f1
[ "MIT" ]
null
null
null
src/aoc_d1.py
JAnx0/AoC-
1fe72934ba0dbdc486ad95f5daa2cc84ab65e9f1
[ "MIT" ]
null
null
null
src/aoc_d1.py
JAnx0/AoC-
1fe72934ba0dbdc486ad95f5daa2cc84ab65e9f1
[ "MIT" ]
null
null
null
""" Advent of Code Day 1 https://adventofcode.com/2021/day/1 (c) JAnxO, 2021 """
9.7
39
0.556701
14
97
3.857143
0.785714
0.148148
0
0
0
0
0
0
0
0
0
0.142857
0.278351
97
9
40
10.777778
0.628571
0.752577
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
6cccf4b3bc52bc41b8c21dd2237da1b7034bccb9
804
gyp
Python
binding.gyp
iKest/node-postal
3dca277446fab38ba05fdda6cfaa7e9e251df357
[ "MIT" ]
null
null
null
binding.gyp
iKest/node-postal
3dca277446fab38ba05fdda6cfaa7e9e251df357
[ "MIT" ]
null
null
null
binding.gyp
iKest/node-postal
3dca277446fab38ba05fdda6cfaa7e9e251df357
[ "MIT" ]
null
null
null
{ "variables": { "base_path": "C:/msys64/mingw64" }, "targets": [ { "target_name": "expand", "sources": [ "src/expand.cc" ], "libraries": ["-llibpostal"], "library_dirs": ["<(base_path)/bin"], "include_di...
25.125
49
0.349502
53
804
5.09434
0.45283
0.148148
0.155556
0.207407
0.622222
0.622222
0.622222
0.622222
0.622222
0.622222
0
0.009195
0.458955
804
31
50
25.935484
0.611494
0
0
0.451613
0
0
0.383085
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6ccd6fea531d4d325de2b440364869cedbbad043
20
py
Python
__init__.py
johnconnelly75/matchr
18810f81ee19ac81f9794d1ccbc53e7aed03047b
[ "MIT" ]
269
2015-01-09T00:56:41.000Z
2022-03-30T17:09:46.000Z
__init__.py
johnconnelly75/matchr
18810f81ee19ac81f9794d1ccbc53e7aed03047b
[ "MIT" ]
22
2017-04-01T13:44:56.000Z
2018-09-10T11:48:56.000Z
__init__.py
johnconnelly75/matchr
18810f81ee19ac81f9794d1ccbc53e7aed03047b
[ "MIT" ]
59
2015-01-09T00:56:50.000Z
2022-03-13T23:52:27.000Z
__author__ = 'john'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
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
6cd759290456557da3392045f22610cf316e2f25
161
py
Python
scripts/getrandomline.py
airbr/notes
a0cfb72a9d2ad792f46daff33ef177baf8a2beae
[ "DOC", "Ruby", "MIT" ]
1
2020-01-25T20:12:25.000Z
2020-01-25T20:12:25.000Z
scripts/getrandomline.py
airbr/notes
a0cfb72a9d2ad792f46daff33ef177baf8a2beae
[ "DOC", "Ruby", "MIT" ]
null
null
null
scripts/getrandomline.py
airbr/notes
a0cfb72a9d2ad792f46daff33ef177baf8a2beae
[ "DOC", "Ruby", "MIT" ]
null
null
null
import random def random_line(fname): lines = open(fname).read().splitlines() return random.choice(lines) print(random_line('../edited/Law notes.txt'));
26.833333
46
0.714286
22
161
5.136364
0.727273
0.176991
0
0
0
0
0
0
0
0
0
0
0.118012
161
6
46
26.833333
0.795775
0
0
0
0
0
0.141975
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6cd9b2fb18aa5e47dec9cd8fa0616ae3092b8513
227
py
Python
chocopy-rs/test/pa2/bad_for.py
wwylele/chocopy-wwylele
ef60c94cc9c2d7c8ac11cf2761b724a717ac36aa
[ "MIT" ]
5
2020-05-13T03:47:43.000Z
2022-01-20T04:52:42.000Z
chocopy-rs/test/pa2/bad_for.py
wwylele/chocopy-wwylele
ef60c94cc9c2d7c8ac11cf2761b724a717ac36aa
[ "MIT" ]
4
2020-05-18T01:06:15.000Z
2020-06-12T19:33:14.000Z
chocopy-rs/test/pa2/bad_for.py
wwylele/chocopy-rs
ef60c94cc9c2d7c8ac11cf2761b724a717ac36aa
[ "MIT" ]
null
null
null
s: str = "" se: str = "" l: [int] = None le: int = 0 k: bool = False def f(): 1+"2" for k in l: 1+"2" for g in l: 1+"2" for f in l: 1+"2" for se in l: 1+"2" for l in s: 1+"2" for f in k: 1+"2"
8.730769
15
0.414097
53
227
1.773585
0.339623
0.148936
0.319149
0.212766
0.43617
0
0
0
0
0
0
0.107143
0.38326
227
25
16
9.08
0.564286
0
0
0.368421
0
0
0.030837
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.052632
0
0
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6cdc0b88de9e496efde931bd5f8466837e0589ba
491
py
Python
streams/selectors.py
mennonitengemeinde/church_site
ae9ef5f0f78811cecd734705339511dc0efb8340
[ "MIT" ]
null
null
null
streams/selectors.py
mennonitengemeinde/church_site
ae9ef5f0f78811cecd734705339511dc0efb8340
[ "MIT" ]
44
2020-05-13T20:15:26.000Z
2022-03-04T02:58:58.000Z
streams/selectors.py
mennonitengemeinde/church_site
ae9ef5f0f78811cecd734705339511dc0efb8340
[ "MIT" ]
4
2020-06-05T17:59:52.000Z
2021-02-06T19:09:43.000Z
from accounts.models import User from streams.models import Stream def get_live_streams(): return Stream.objects.filter(live=True) def get_member_streams(user: User, reverse_order: bool = None): queryset = Stream.objects.filter(event__church__members=user) if reverse_order: return queryset.order...
27.277778
83
0.763747
69
491
5.15942
0.405797
0.050562
0.160112
0.140449
0.230337
0.230337
0.230337
0
0
0
0
0
0.142566
491
17
84
28.882353
0.845606
0
0
0
0
0
0.01222
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.818182
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
6ce5d9c0ccbda95be91a2c015ac5c423fe8fc3c8
2,073
py
Python
credentials.py
otienonick/Password-Locker
2d527e2982f8010560cc820f9d463a21aaec9001
[ "MIT" ]
null
null
null
credentials.py
otienonick/Password-Locker
2d527e2982f8010560cc820f9d463a21aaec9001
[ "MIT" ]
null
null
null
credentials.py
otienonick/Password-Locker
2d527e2982f8010560cc820f9d463a21aaec9001
[ "MIT" ]
null
null
null
import pyperclip class Credentials: ''' class that generates a new instance of credentials. ''' credentials_list = [] def __init__(self,app_name,username,password): ''' a method that defines the properties of the class object. ''' self.app_name = app_name ...
24.104651
96
0.602508
221
2,073
5.497738
0.298643
0.098765
0.064198
0.041152
0.159671
0.116872
0.116872
0.116872
0.116872
0.116872
0
0
0.329474
2,073
86
97
24.104651
0.874101
0.308249
0
0.266667
1
0
0.017427
0
0
0
0
0
0
1
0.233333
false
0.1
0.033333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
9f2d04e6b79a5ade877d98a8503d625c61bb33e7
431
py
Python
.circleci/create_pypirc.py
baogorek/scrolldf
9dca05e8aa74a6156def236d860f03411787d52e
[ "MIT" ]
23
2019-08-02T10:13:57.000Z
2022-03-24T06:51:44.000Z
.circleci/create_pypirc.py
baogorek/scrolldf
9dca05e8aa74a6156def236d860f03411787d52e
[ "MIT" ]
44
2019-08-16T19:58:43.000Z
2020-07-21T12:38:42.000Z
.circleci/create_pypirc.py
baogorek/scrolldf
9dca05e8aa74a6156def236d860f03411787d52e
[ "MIT" ]
5
2019-08-17T19:39:12.000Z
2021-12-27T10:12:11.000Z
#!/usr/env/python import sys def main(argv): pypirc_text = """ [distutils] index-servers= pypi testpypi [pypi] username: {user} password: {passwd} [testpypi] repository: https://test.pypi.org/legacy/ username: {user} password: {passwd} """ ...
17.24
59
0.577726
48
431
4.979167
0.645833
0.083682
0.167364
0.217573
0
0
0
0
0
0
0
0.00641
0.276102
431
24
60
17.958333
0.759615
0.037123
0
0.222222
0
0
0.60628
0
0
0
0
0
0
1
0.055556
false
0.166667
0.055556
0
0.166667
0.055556
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
9f3158b6c30f1a3c9cb01e168a0c50ed60d2c841
179
py
Python
progressivis/expr/stats.py
jdfekete/progressivis
3bc79ce229cd628ef0aa4663136a674743697b47
[ "BSD-2-Clause" ]
51
2015-09-14T16:31:02.000Z
2022-01-12T17:56:53.000Z
progressivis/expr/stats.py
jdfekete/progressivis
3bc79ce229cd628ef0aa4663136a674743697b47
[ "BSD-2-Clause" ]
10
2017-11-15T15:10:05.000Z
2022-01-19T07:36:43.000Z
progressivis/expr/stats.py
jdfekete/progressivis
3bc79ce229cd628ef0aa4663136a674743697b47
[ "BSD-2-Clause" ]
5
2017-11-14T20:20:56.000Z
2020-01-22T06:26:51.000Z
from .table import TableExpr, Pipeable from progressivis.stats import Min, Max # pylint:disable=redefined-builtin min = Pipeable(TableExpr, Min) max = Pipeable(TableExpr, Max)
19.888889
39
0.782123
23
179
6.086957
0.565217
0.085714
0
0
0
0
0
0
0
0
0
0
0.128492
179
8
40
22.375
0.897436
0.178771
0
0
0
0
0
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
9f4ef2ee7dffed9aa00ccf2893e4d1516f8be0d1
148
py
Python
plugins/examples/example_launcher_plugin/hydra_plugins/example_launcher_plugin/__init__.py
andrewjong/hydra
c2faea0f137164721e73d4d0143f9e03554daae4
[ "MIT" ]
2
2021-02-06T00:23:56.000Z
2021-03-08T17:31:49.000Z
plugins/examples/example_launcher_plugin/hydra_plugins/example_launcher_plugin/__init__.py
andrewjong/hydra
c2faea0f137164721e73d4d0143f9e03554daae4
[ "MIT" ]
6
2021-03-11T06:20:24.000Z
2022-02-27T10:43:29.000Z
plugins/examples/example_launcher_plugin/hydra_plugins/example_launcher_plugin/__init__.py
andrewjong/hydra
c2faea0f137164721e73d4d0143f9e03554daae4
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from .example_launcher import ExampleLauncher __all__ = ["ExampleLauncher"]
29.6
70
0.790541
17
148
6.588235
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.128378
148
4
71
37
0.868217
0.459459
0
0
0
0
0.192308
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
9f50ab9df4d0e2e7a38bb757f72cf53652b46971
1,545
py
Python
priv/key-to-address-ecc-example.py
paulfioravanti/mastering_bitcoin
1cf2eb230d4c04cfca6829ea60c045fe4b0d1756
[ "MIT" ]
6
2018-01-15T06:54:18.000Z
2018-07-12T17:50:29.000Z
priv/key-to-address-ecc-example.py
paulfioravanti/mastering_bitcoin
1cf2eb230d4c04cfca6829ea60c045fe4b0d1756
[ "MIT" ]
null
null
null
priv/key-to-address-ecc-example.py
paulfioravanti/mastering_bitcoin
1cf2eb230d4c04cfca6829ea60c045fe4b0d1756
[ "MIT" ]
null
null
null
# Adapted from the original Python script located here: # https://github.com/bitcoinbook/bitcoinbook/blob/second_edition/code/key-to-address-ecc-example.py # # The goal was to make this script act more like an API wrapper around Python's # bitcoin library that the Elixir code could call. # Where possible, the Elixir co...
48.28125
108
0.787055
244
1,545
4.901639
0.540984
0.045151
0.050167
0.065217
0.219064
0.061873
0
0
0
0
0
0.011202
0.133333
1,545
31
109
49.83871
0.882001
0.69644
0
0
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0.111111
0.444444
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
9f513d9817f6c00e32d40d03fd8dcc35abebbef2
1,508
py
Python
auctions/migrations/0006_auto_20200729_1632.py
maungshine/commerce-101
054647f9437fc2a686e6871891c94ec3b7f82661
[ "MIT" ]
null
null
null
auctions/migrations/0006_auto_20200729_1632.py
maungshine/commerce-101
054647f9437fc2a686e6871891c94ec3b7f82661
[ "MIT" ]
null
null
null
auctions/migrations/0006_auto_20200729_1632.py
maungshine/commerce-101
054647f9437fc2a686e6871891c94ec3b7f82661
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-29 10:02 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('auctions', '0005_auto_20200729_1622'), ] operations = [ migrations.AlterFi...
36.780488
140
0.645889
170
1,508
5.529412
0.288235
0.059574
0.089362
0.140426
0.728723
0.704255
0.704255
0.515957
0.515957
0.405319
0
0.026886
0.235411
1,508
40
141
37.7
0.788378
0.029841
0
0.411765
1
0
0.132101
0.015743
0
0
0
0
0
1
0
false
0
0.088235
0
0.176471
0
0
0
0
null
0
0
0
0
1
1
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
9f5470c7c7e2e24dd696414466130f6527ffc48e
377
py
Python
raft_asyncio/errors.py
aratz-lasa/py-raft
d9de8cf1f366c977cb5c69f1c06796ef09096322
[ "MIT" ]
null
null
null
raft_asyncio/errors.py
aratz-lasa/py-raft
d9de8cf1f366c977cb5c69f1c06796ef09096322
[ "MIT" ]
null
null
null
raft_asyncio/errors.py
aratz-lasa/py-raft
d9de8cf1f366c977cb5c69f1c06796ef09096322
[ "MIT" ]
null
null
null
class RPCError(Exception): pass class ConsistencyError(Exception): pass class TermConsistencyError(ConsistencyError): def __init__(self, term: int): self.term = term class LeaderConsistencyError(ConsistencyError): def __init__(self, leader_id: bytes): self.leader_id = leader_id c...
17.952381
48
0.734748
37
377
7.189189
0.432432
0.090226
0.135338
0.203008
0
0
0
0
0
0
0
0
0.188329
377
20
49
18.85
0.869281
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.25
0
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
0
0
1
0
0
1
0
0
3
9f6f2dd073e51658e761b1a52270565452c486f0
42
py
Python
olgaming/parameters.py
OctaveLauby/olgaming
e6e7780bfefa466facb535e4346ecaa1a555f8f1
[ "MIT" ]
null
null
null
olgaming/parameters.py
OctaveLauby/olgaming
e6e7780bfefa466facb535e4346ecaa1a555f8f1
[ "MIT" ]
null
null
null
olgaming/parameters.py
OctaveLauby/olgaming
e6e7780bfefa466facb535e4346ecaa1a555f8f1
[ "MIT" ]
null
null
null
"""Default parameters.""" LOGLVL = "INFO"
14
25
0.642857
4
42
6.75
1
0
0
0
0
0
0
0
0
0
0
0
0.119048
42
2
26
21
0.72973
0.452381
0
0
0
0
0.235294
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
9f7cb5852eeef41ccd77f1a6c24e4fa55d6a6c14
689
py
Python
avsn/avsn/items.py
hao619/avsn
0b0d4d3c796fa79f410e4f4dac9f7a83b3816bbd
[ "Apache-2.0" ]
null
null
null
avsn/avsn/items.py
hao619/avsn
0b0d4d3c796fa79f410e4f4dac9f7a83b3816bbd
[ "Apache-2.0" ]
null
null
null
avsn/avsn/items.py
hao619/avsn
0b0d4d3c796fa79f410e4f4dac9f7a83b3816bbd
[ "Apache-2.0" ]
null
null
null
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class AvsnItem(scrapy.Item): # define the fields for your item here like: avsn = scrapy.Field() av_tittle = scrapy.Field() av_description = scrapy.Field() ...
20.878788
53
0.625544
86
689
4.94186
0.581395
0.310588
0.091765
0
0
0
0
0
0
0
0
0
0.261248
689
32
54
21.53125
0.834971
0.283019
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.066667
0.066667
0
0.933333
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
1
0
0
1
0
0
3
9f98aa243e7b9d2cf4b4fb515061db57936598fa
480
py
Python
modeling-component-layer/matrix-modeling-component/TransCF-master/evaluation.py
sh0416/METIS
264fe33165cdc105b0c90ccd23f70672a4caf0c7
[ "MIT" ]
67
2018-11-15T20:01:02.000Z
2021-11-22T01:37:17.000Z
modeling-component-layer/matrix-modeling-component/TransCF-master/evaluation.py
sodabori/METIS
99cf9a6127eea3319c04abb0d16b94786d9298ff
[ "MIT" ]
28
2018-12-05T05:57:52.000Z
2021-04-20T10:18:35.000Z
modeling-component-layer/matrix-modeling-component/TransCF-master/evaluation.py
sodabori/METIS
99cf9a6127eea3319c04abb0d16b94786d9298ff
[ "MIT" ]
55
2018-12-03T07:57:10.000Z
2021-09-30T14:40:57.000Z
import math def getHitRatio(ranklist, gtItem): for item in ranklist: if item == gtItem: return 1 return 0 def getNDCG(ranklist, gtItem): for i in range(len(ranklist)): item = ranklist[i] if item == gtItem: return math.log(2) / math.log(i+2) return 0 def...
21.818182
46
0.560417
66
480
4.075758
0.30303
0.156134
0.189591
0.200743
0.572491
0.498141
0.498141
0.498141
0.498141
0.498141
0
0.028125
0.333333
480
21
47
22.857143
0.8125
0
0
0.555556
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.055556
0
0.555556
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4c920c0b585be15acd2438f9df0addecc9504d0a
206
py
Python
btclib/__init__.py
giubby84/btclib
0dd7e4e8ca43451a03b577fd7ec95715a1a21711
[ "MIT" ]
null
null
null
btclib/__init__.py
giubby84/btclib
0dd7e4e8ca43451a03b577fd7ec95715a1a21711
[ "MIT" ]
null
null
null
btclib/__init__.py
giubby84/btclib
0dd7e4e8ca43451a03b577fd7ec95715a1a21711
[ "MIT" ]
null
null
null
name = "btclib" __version__ = "2020.12" __author__ = "The btclib developers" __author_email__ = "devs@btclib.org" __copyright__ = "Copyright (C) 2017-2020 The btclib developers" __license__ = "MIT License"
29.428571
63
0.757282
25
206
5.4
0.64
0.133333
0.281481
0
0
0
0
0
0
0
0
0.077778
0.126214
206
6
64
34.333333
0.672222
0
0
0
0
0
0.509709
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
0
0
0
0
0
3
4c9c6792e99bd7b9fa4c80ee991c1bce4b18e007
183
py
Python
ex12.py
AyeAyeZin/python_exercises
77079dcd7809dd2967180ffd30df0166dd53edb4
[ "MIT" ]
null
null
null
ex12.py
AyeAyeZin/python_exercises
77079dcd7809dd2967180ffd30df0166dd53edb4
[ "MIT" ]
null
null
null
ex12.py
AyeAyeZin/python_exercises
77079dcd7809dd2967180ffd30df0166dd53edb4
[ "MIT" ]
null
null
null
age=input("How old are you? 38") height=input("How tall are you? `120") weight=input("How much do you weight? 129") print(f"So, you're {age} old, {height} tall, and {weight} heavy.")
36.6
66
0.677596
34
183
3.647059
0.588235
0.193548
0
0
0
0
0
0
0
0
0
0.050633
0.136612
183
4
67
45.75
0.734177
0
0
0
0
0.25
0.677596
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4cae8fe24376ab04db29ab508616e4a1744091d0
37,452
py
Python
python/hamlet/object.py
davidbetz/hamlet
17a019e0ea9cc6b5c3f4bf5eac56950713829a0e
[ "MIT" ]
null
null
null
python/hamlet/object.py
davidbetz/hamlet
17a019e0ea9cc6b5c3f4bf5eac56950713829a0e
[ "MIT" ]
null
null
null
python/hamlet/object.py
davidbetz/hamlet
17a019e0ea9cc6b5c3f4bf5eac56950713829a0e
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ MIT License Copyright(c) 2016-2017 David Betz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
657.052632
35,371
0.854534
5,058
37,452
6.326018
0.957493
0.00275
0.00125
0.0005
0.0015
0.000375
0
0
0
0
0
0.002853
0.139005
37,452
57
35,372
657.052632
0.989425
0.029745
0
0
0
0.086957
0.977724
0.001847
0
0
0
0
0
1
0.130435
false
0.043478
0.130435
0.086957
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4cd53c92810a144b27f8ddd2255cd83b6aafc0e4
414
py
Python
test/test_install_dependencies.py
nephila/jquerypluginbp
2f254b121ac8525a931bf146c19dc4978431048d
[ "MIT" ]
null
null
null
test/test_install_dependencies.py
nephila/jquerypluginbp
2f254b121ac8525a931bf146c19dc4978431048d
[ "MIT" ]
null
null
null
test/test_install_dependencies.py
nephila/jquerypluginbp
2f254b121ac8525a931bf146c19dc4978431048d
[ "MIT" ]
null
null
null
from jquerypluginbp.core import install_dependencies import unittest from mock import patch class TestInstallDependencies(unittest.TestCase): def setUp(self): pass def tearDown(self): pass @patch('jquerypluginbp.core.os') def test_execute_dependencies_install_commands(self, mock_os):...
24.352941
66
0.736715
48
414
6.166667
0.5625
0.121622
0
0
0
0
0
0
0
0
0
0.002967
0.18599
414
16
67
25.875
0.875371
0
0
0.166667
0
0
0.065217
0.05314
0
0
0
0
0.083333
1
0.25
false
0.166667
0.25
0
0.583333
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
4cf65972960597e4c94c425f27fb1140e257639a
206
py
Python
tests/test_zhengfang/conftest.py
imguozr/NJUPT-API
2104965518109f4f17ace6e30b6f6d7e80f90dd6
[ "MIT" ]
2
2022-02-28T02:40:34.000Z
2022-02-28T02:44:59.000Z
tests/test_zhengfang/conftest.py
imguozr/NJUPT-API
2104965518109f4f17ace6e30b6f6d7e80f90dd6
[ "MIT" ]
null
null
null
tests/test_zhengfang/conftest.py
imguozr/NJUPT-API
2104965518109f4f17ace6e30b6f6d7e80f90dd6
[ "MIT" ]
2
2022-02-28T02:40:37.000Z
2022-02-28T02:45:10.000Z
import pytest from njupt import Zhengfang @pytest.fixture(scope='session') def zhengfang(): zhengfang = Zhengfang() zhengfang.account = 'account' zhengfang.verify = True return zhengfang
17.166667
33
0.718447
22
206
6.727273
0.590909
0.364865
0.364865
0
0
0
0
0
0
0
0
0
0.18932
206
11
34
18.727273
0.886228
0
0
0
0
0
0.067961
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
981b7d7622e6418eedf27c4549bd14d56a6fd2a4
8,917
py
Python
src/base_model.py
tomvars/medical_adv_da
d2c81ee7951c580b62d853497672057b8cf7923e
[ "Apache-2.0" ]
2
2021-08-13T07:21:00.000Z
2021-09-15T08:52:20.000Z
src/base_model.py
tomvars/medical_adv_da
d2c81ee7951c580b62d853497672057b8cf7923e
[ "Apache-2.0" ]
null
null
null
src/base_model.py
tomvars/medical_adv_da
d2c81ee7951c580b62d853497672057b8cf7923e
[ "Apache-2.0" ]
null
null
null
import numpy as np import torch class BaseModel: def __init__(self): self.device = torch.device("cuda:0") if torch.cuda.is_available() else torch.device('cpu') def inference(self): pass # # Dump of code to potentially re-introduce # performance_target_val_s, \ # ...
62.795775
115
0.589997
971
8,917
5.07518
0.161689
0.10349
0.068994
0.036932
0.581778
0.560877
0.502841
0.432833
0.387175
0.341721
0
0.010054
0.297297
8,917
142
116
62.795775
0.776412
0.913312
0
0.352941
0
0
0.0161
0
0
0
0
0
0
1
0.411765
false
0.352941
0.117647
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
e24e84466574c92ee1787fbfb63a8c8901685132
113
py
Python
kcards/models/color.py
kcards/kcards
15ce6418c5801c9553c80ae3c219aaf86f7ac090
[ "MIT" ]
1
2016-11-09T02:34:18.000Z
2016-11-09T02:34:18.000Z
kcards/models/color.py
kcards/kcards
15ce6418c5801c9553c80ae3c219aaf86f7ac090
[ "MIT" ]
117
2016-10-03T00:02:24.000Z
2022-03-28T23:37:07.000Z
kcards/models/color.py
kcards/kcards
15ce6418c5801c9553c80ae3c219aaf86f7ac090
[ "MIT" ]
1
2017-07-17T17:30:35.000Z
2017-07-17T17:30:35.000Z
from enum import Enum class Color(str, Enum): green = '#018E42' yellow = '#F7D002' red = '#BF1A2F'
14.125
23
0.59292
14
113
4.785714
0.857143
0
0
0
0
0
0
0
0
0
0
0.13253
0.265487
113
7
24
16.142857
0.674699
0
0
0
0
0
0.185841
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e254815b0d060f86b5074761fd452bf813432453
61
py
Python
tcn/__init__.py
jsiloto/keras-tcn
b222b31b708f2391bdf4f94c9717a33e4f2a447c
[ "MIT" ]
10
2020-08-18T17:43:46.000Z
2022-01-06T23:06:10.000Z
tcn/__init__.py
jsiloto/keras-tcn
b222b31b708f2391bdf4f94c9717a33e4f2a447c
[ "MIT" ]
null
null
null
tcn/__init__.py
jsiloto/keras-tcn
b222b31b708f2391bdf4f94c9717a33e4f2a447c
[ "MIT" ]
1
2020-11-30T13:11:00.000Z
2020-11-30T13:11:00.000Z
from tcn.tcn import TCN, compiled_tcn __version__ = '2.8.3'
15.25
37
0.737705
11
61
3.636364
0.727273
0
0
0
0
0
0
0
0
0
0
0.057692
0.147541
61
3
38
20.333333
0.711538
0
0
0
0
0
0.081967
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
e2b2972dc218c7517063b6474180e115416e3687
292
py
Python
app/main.py
fcrozetta/prm
b860f29198cfe2ca885ac69a71e213be3de162cb
[ "Apache-2.0" ]
null
null
null
app/main.py
fcrozetta/prm
b860f29198cfe2ca885ac69a71e213be3de162cb
[ "Apache-2.0" ]
null
null
null
app/main.py
fcrozetta/prm
b860f29198cfe2ca885ac69a71e213be3de162cb
[ "Apache-2.0" ]
null
null
null
from fastapi import FastAPI from fastapi.responses import RedirectResponse from .routes import person, country app = FastAPI() @app.get("/", tags=["docs"]) def docs_redirect(): return RedirectResponse(url="/docs") app.include_router(person.router) app.include_router(country.router)
19.466667
46
0.763699
37
292
5.945946
0.486486
0.1
0.145455
0
0
0
0
0
0
0
0
0
0.113014
292
14
47
20.857143
0.849421
0
0
0
0
0
0.034247
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
2c38dee5ae1cd48bf90aef688cbebe64115f5df5
158
py
Python
itertools_count.py
DahlitzFlorian/article-introduction-to-itertools-snippets
07803f568e8e11c96a42c140b1aca8fcbf71c93e
[ "MIT" ]
3
2020-03-12T21:42:59.000Z
2020-03-18T02:42:22.000Z
itertools_count.py
DahlitzFlorian/article-introduction-to-itertools-snippets
07803f568e8e11c96a42c140b1aca8fcbf71c93e
[ "MIT" ]
null
null
null
itertools_count.py
DahlitzFlorian/article-introduction-to-itertools-snippets
07803f568e8e11c96a42c140b1aca8fcbf71c93e
[ "MIT" ]
null
null
null
from itertools import count names = ["Alice", "Bob", "Larry", "Margaret"] names_with_index = [name for name in zip(count(1), names)] print(names_with_index)
26.333333
58
0.721519
24
158
4.583333
0.708333
0.163636
0.254545
0
0
0
0
0
0
0
0
0.007246
0.126582
158
5
59
31.6
0.789855
0
0
0
0
0
0.132911
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
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
0
0
0
0
0
3
2c66a3b9d4b3ade9e9d64e17ebb16404e6fb32bf
277
py
Python
package/streamsx/sttgateway/__init__.py
IBMStreams/pypi.streamsx.sttgateway
0737e3420a63832a3296e291f3bcd732110fd106
[ "Apache-2.0" ]
null
null
null
package/streamsx/sttgateway/__init__.py
IBMStreams/pypi.streamsx.sttgateway
0737e3420a63832a3296e291f3bcd732110fd106
[ "Apache-2.0" ]
1
2020-06-18T14:42:05.000Z
2020-06-18T14:46:46.000Z
package/streamsx/sttgateway/__init__.py
IBMStreams/pypi.streamsx.sttgateway
0737e3420a63832a3296e291f3bcd732110fd106
[ "Apache-2.0" ]
1
2020-03-02T12:00:26.000Z
2020-03-02T12:00:26.000Z
# coding=utf-8 # Licensed Materials - Property of IBM # Copyright IBM Corp. 2020 """ """ __version__='1.0.1' __all__ = [ 'WatsonSTT', 'configure_connection', 'download_toolkit'] from streamsx.sttgateway._sttgateway import WatsonSTT, configure_connection, download_toolkit
19.785714
93
0.758123
32
277
6.15625
0.75
0.182741
0.284264
0.365482
0.436548
0
0
0
0
0
0
0.032922
0.122744
277
13
94
21.307692
0.777778
0.267148
0
0
0
0
0.26178
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2c70cc322f19e693f9de7eb53bae6c53e9eebb8f
416
py
Python
reclass/output/yaml_outputter.py
bbinet/reclass
c08b844b328fa0fe182db49dd423cc203a016ce9
[ "Artistic-2.0" ]
101
2015-01-09T14:59:57.000Z
2021-11-06T23:33:50.000Z
reclass/output/yaml_outputter.py
bbinet/reclass
c08b844b328fa0fe182db49dd423cc203a016ce9
[ "Artistic-2.0" ]
48
2015-01-30T05:53:47.000Z
2019-03-21T23:17:40.000Z
reclass/output/yaml_outputter.py
bbinet/reclass
c08b844b328fa0fe182db49dd423cc203a016ce9
[ "Artistic-2.0" ]
50
2015-01-30T08:56:07.000Z
2020-12-25T02:34:08.000Z
# # -*- coding: utf-8 -*- # # This file is part of reclass (http://github.com/madduck/reclass) # # Copyright © 2007–14 martin f. krafft <madduck@madduck.net> # Released under the terms of the Artistic Licence 2.0 # from reclass.output import OutputterBase import yaml class Outputter(OutputterBase): def dump(self,...
26
67
0.730769
62
416
4.870968
0.790323
0.072848
0
0
0
0
0
0
0
0
0
0.025641
0.15625
416
15
68
27.733333
0.82906
0.475962
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
1
0.4
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
2c86c888e5b2bbb236c7239c64566413aa8c060b
350
py
Python
0-python-tutorial/16-forLoops07.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/16-forLoops07.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
0-python-tutorial/16-forLoops07.py
luis2ra/py3-00-w3schools
6bb851837f8ef9520491d13fa2c909047c9b18cf
[ "MIT" ]
null
null
null
# Demo Python For Loops - The range() Function ''' The range() Function - Part 2 The range() function defaults to 0 as a starting value, however it is possible to specify the starting value by adding a parameter: range(2, 6), which means values from 2 to 6 (but not including 6): ''' # Using the start parameter: for ...
31.818182
198
0.708571
61
350
4.065574
0.622951
0.096774
0.193548
0
0
0
0
0
0
0
0
0.032143
0.2
350
11
199
31.818182
0.853571
0.862857
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
2cacea76c4ae36ba686d38c8a58b381251280daf
935
py
Python
08_Introduction to Data Visualization with Matplotlib/01_Introduction to Matplotlib/01_Using the matplotlib.pyplot interface.py
mohd-faizy/DataScience-With-Python
13ebb10cf9083343056d5b782957241de1d595f9
[ "MIT" ]
5
2021-02-03T14:36:58.000Z
2022-01-01T10:29:26.000Z
08_Introduction to Data Visualization with Matplotlib/01_Introduction to Matplotlib/01_Using the matplotlib.pyplot interface.py
mohd-faizy/DataScience-With-Python
13ebb10cf9083343056d5b782957241de1d595f9
[ "MIT" ]
null
null
null
08_Introduction to Data Visualization with Matplotlib/01_Introduction to Matplotlib/01_Using the matplotlib.pyplot interface.py
mohd-faizy/DataScience-With-Python
13ebb10cf9083343056d5b782957241de1d595f9
[ "MIT" ]
3
2021-02-08T00:31:16.000Z
2022-03-17T13:52:32.000Z
''' 01 - Using the matplotlib.pyplot interface There are many ways to use Matplotlib. In this course, we will focus on the pyplot interface, which provides the most flexibility in creating and customizing data visualizations. Initially, we will use the pyplot interface to create two kinds of objects: Figure obje...
32.241379
98
0.772193
148
935
4.878378
0.5
0.044321
0.078947
0.069252
0
0
0
0
0
0
0
0.002608
0.179679
935
28
99
33.392857
0.938722
0.908021
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2cb4577c14e6e62de9c15617f28b5edb4c399599
176
py
Python
src/webapp/urls.py
rondi201/MaskProgect
351d6b2d4d9297647041a85c54adcbf0b04938fa
[ "MIT" ]
null
null
null
src/webapp/urls.py
rondi201/MaskProgect
351d6b2d4d9297647041a85c54adcbf0b04938fa
[ "MIT" ]
5
2022-03-07T03:20:48.000Z
2022-03-27T20:30:02.000Z
src/webapp/urls.py
rondi201/MaskProgect
351d6b2d4d9297647041a85c54adcbf0b04938fa
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('upload', views.file_upload, name='uploadpage'), path('', views.resultpage, name="resultpage"), ]
25.142857
57
0.698864
21
176
5.809524
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.147727
176
7
58
25.142857
0.813333
0
0
0
0
0
0.146893
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
2cbdd8c7973c18b099effc9172da91ec2d4e7305
161
py
Python
pattern.py
shreya-n-kumari/python
2462cf01891770b078815f9925f37842aaec7b91
[ "MIT" ]
null
null
null
pattern.py
shreya-n-kumari/python
2462cf01891770b078815f9925f37842aaec7b91
[ "MIT" ]
null
null
null
pattern.py
shreya-n-kumari/python
2462cf01891770b078815f9925f37842aaec7b91
[ "MIT" ]
null
null
null
def star(N): for i in range(0,N): for j in range(0,i+1): print("*",end = "") print("\r") if __name__ == '__main__': N = int(input()) star(N)
16.1
27
0.503106
28
161
2.607143
0.642857
0.136986
0.219178
0
0
0
0
0
0
0
0
0.02521
0.26087
161
9
28
17.888889
0.588235
0
0
0
0
0
0.072368
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.25
1
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
0
0
0
0
0
3
e2c868ff7954c2150417f7357b1e1c9f547fdf55
70
py
Python
backend/fwordle/language/__init__.py
aspin/fwordle
cf181a5334bc4981fc515746dbe8acf2a7e3808e
[ "MIT" ]
null
null
null
backend/fwordle/language/__init__.py
aspin/fwordle
cf181a5334bc4981fc515746dbe8acf2a7e3808e
[ "MIT" ]
8
2022-03-10T22:25:36.000Z
2022-03-14T05:56:14.000Z
backend/fwordle/language/__init__.py
aspin/fwordle
cf181a5334bc4981fc515746dbe8acf2a7e3808e
[ "MIT" ]
null
null
null
from .english import LengthDictionary __all__ = ["LengthDictionary"]
17.5
37
0.8
6
70
8.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.114286
70
3
38
23.333333
0.83871
0
0
0
0
0
0.228571
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
e2dc34decfcd3cef46594e32848e48b4b9c456f8
12,513
py
Python
lollylib/tests/test_lolly_wiz.py
sugurd/lollylib
8ec8c93a5308af554877cafe07740f417f5fd991
[ "MIT" ]
null
null
null
lollylib/tests/test_lolly_wiz.py
sugurd/lollylib
8ec8c93a5308af554877cafe07740f417f5fd991
[ "MIT" ]
null
null
null
lollylib/tests/test_lolly_wiz.py
sugurd/lollylib
8ec8c93a5308af554877cafe07740f417f5fd991
[ "MIT" ]
null
null
null
from unittest import TestCase import os import ntpath from pathlib import Path from lolly_wiz import LollyWiz import lolly_helpers class TestLollyWiz(TestCase): def __init__(self, *args, **kwargs): super(TestLollyWiz, self).__init__(*args, **kwargs) head, tail = ntpath.split(os.path.realpath(__fil...
42.561224
114
0.636378
1,592
12,513
4.655151
0.119347
0.039941
0.029146
0.04129
0.777493
0.746053
0.703549
0.673998
0.650115
0.611658
0
0.011209
0.244226
12,513
293
115
42.706485
0.772444
0.114281
0
0.603865
0
0.004831
0.216006
0.068169
0
0
0
0
0.21256
1
0.062802
false
0
0.028986
0
0.096618
0.009662
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
391560ea1ba3e4c40a5c4288ff1bc2ce7cd62f50
750
py
Python
bin/other/find-the-russians.py
adjspecies/furrypoll-munger
8dfe57e873ccad899fbb4c1395cf89e5a70d043a
[ "MIT" ]
1
2019-01-24T01:57:17.000Z
2019-01-24T01:57:17.000Z
bin/other/find-the-russians.py
adjspecies/furrypoll-munger
8dfe57e873ccad899fbb4c1395cf89e5a70d043a
[ "MIT" ]
1
2016-01-10T23:59:39.000Z
2016-01-10T23:59:39.000Z
bin/other/find-the-russians.py
adjspecies/furrypoll-munger
8dfe57e873ccad899fbb4c1395cf89e5a70d043a
[ "MIT" ]
1
2015-04-05T18:43:12.000Z
2015-04-05T18:43:12.000Z
import csv russians = { '2009': { 'n': 0.0, 'russians': 0.0, }, '2010': { 'n': 0.0, 'russians': 0.0, }, '2011': { 'n': 0.0, 'russians': 0.0, }, '2012': { 'n': 0.0, 'russians': 0.0, }, '2013': { 'n': 0.0, ...
20.27027
75
0.416
92
750
3.391304
0.347826
0.064103
0.048077
0.176282
0.208333
0.208333
0
0
0
0
0
0.140816
0.346667
750
36
76
20.833333
0.495918
0
0
0.30303
0
0
0.192
0
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.030303
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
1
0
0
0
0
0
0
0
0
3
3918bc95f2afabfee730667cd4e7c66b9030c5c0
141
py
Python
tests/manual/spinner.py
techdragon/fabulous
bc6de0f4414cebb4a13f6604c5a2797862e0439d
[ "MIT" ]
1
2019-06-27T13:05:31.000Z
2019-06-27T13:05:31.000Z
tests/manual/spinner.py
techdragon/fabulous
bc6de0f4414cebb4a13f6604c5a2797862e0439d
[ "MIT" ]
null
null
null
tests/manual/spinner.py
techdragon/fabulous
bc6de0f4414cebb4a13f6604c5a2797862e0439d
[ "MIT" ]
null
null
null
#!/usr/bin/env python from terminate.widget import Spinner import time s = Spinner() for i in range(100): s.spin() time.sleep(.01)
14.1
36
0.673759
23
141
4.130435
0.826087
0
0
0
0
0
0
0
0
0
0
0.04386
0.191489
141
9
37
15.666667
0.789474
0.141844
0
0
0
0
0
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
391cc1add9ca55cb41925aa211e15a6cc367de35
284
py
Python
src/smcebi/employee/admin.py
bartlomiejkrzys/smcebi
28d641e1c0c88498fc4e15af076da68422578e39
[ "MIT" ]
null
null
null
src/smcebi/employee/admin.py
bartlomiejkrzys/smcebi
28d641e1c0c88498fc4e15af076da68422578e39
[ "MIT" ]
null
null
null
src/smcebi/employee/admin.py
bartlomiejkrzys/smcebi
28d641e1c0c88498fc4e15af076da68422578e39
[ "MIT" ]
null
null
null
from leaflet.admin import LeafletGeoAdmin from django.contrib import admin from .models import Employee class EmployeeAdmin(LeafletGeoAdmin): list_display = ('name', 'surname', 'floor') list_filter = ('degree', 'sex') pass admin.site.register(Employee, EmployeeAdmin)
21.846154
47
0.746479
32
284
6.5625
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.147887
284
12
48
23.666667
0.867769
0
0
0
0
0
0.088339
0
0
0
0
0
0
1
0
false
0.125
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
392a6a1a07aca1ff11f8c3c0ecbd0bd5bce92c43
1,093
py
Python
tree/unittest_bst.py
anhtumai/data-structure-and-algorithms-collection
6eac2a8dfec9a89a9e9f800d2a23d37bf6d82d31
[ "MIT" ]
1
2021-12-14T14:51:31.000Z
2021-12-14T14:51:31.000Z
tree/unittest_bst.py
anhtumai/data-structure-and-algorithms-collection
6eac2a8dfec9a89a9e9f800d2a23d37bf6d82d31
[ "MIT" ]
null
null
null
tree/unittest_bst.py
anhtumai/data-structure-and-algorithms-collection
6eac2a8dfec9a89a9e9f800d2a23d37bf6d82d31
[ "MIT" ]
1
2021-12-14T14:50:46.000Z
2021-12-14T14:50:46.000Z
import unittest from functools import reduce from typing import List from bst import BST, TreeNode, Inode, Empty def generate_tree(elems: [int]) -> BST: tree = BST() for elem in elems: tree.insert(elem) return tree class TestElem(unittest.TestCase): def test_insert_elements(self): e...
30.361111
70
0.609332
162
1,093
3.975309
0.314815
0.018634
0.186335
0.178571
0.392857
0.392857
0.335404
0.335404
0.229814
0.118012
0
0.08082
0.241537
1,093
35
71
31.228571
0.696019
0
0
0.148148
1
0
0.018298
0
0
0
0
0
0.296296
1
0.111111
false
0
0.148148
0
0.333333
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
392d72ab12c305d4fbea1f9ac6172622327ee3a7
470
py
Python
RecoPPS/ProtonReconstruction/python/ctppsProtons_cff.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
2
2020-10-26T18:40:32.000Z
2021-04-10T16:33:25.000Z
RecoPPS/ProtonReconstruction/python/ctppsProtons_cff.py
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30
2015-11-04T11:42:27.000Z
2021-12-01T07:56:34.000Z
RecoPPS/ProtonReconstruction/python/ctppsProtons_cff.py
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
8
2016-03-25T07:17:43.000Z
2021-07-08T17:11:21.000Z
import FWCore.ParameterSet.Config as cms # import default alignment settings from CalibPPS.ESProducers.ctppsAlignment_cff import * # import default optics settings from CalibPPS.ESProducers.ctppsOpticalFunctions_cff import * # import and adjust proton-reconstructions settings from RecoPPS.ProtonReconstruction.ctppsP...
29.375
60
0.853191
48
470
8.270833
0.625
0.09068
0.100756
0.156171
0
0
0
0
0
0
0
0.007075
0.097872
470
15
61
31.333333
0.929245
0.242553
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
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
0
1
0
1
0
1
0
0
3
39327e66bb7f9b0798551f07d79aca6a3f855667
3,485
py
Python
mimicLOB/agent/replayerAgent.py
FDR0903/mimicLOB
0ef79a9a7129fa63a25423e29aba249594ec23b5
[ "MIT" ]
null
null
null
mimicLOB/agent/replayerAgent.py
FDR0903/mimicLOB
0ef79a9a7129fa63a25423e29aba249594ec23b5
[ "MIT" ]
null
null
null
mimicLOB/agent/replayerAgent.py
FDR0903/mimicLOB
0ef79a9a7129fa63a25423e29aba249594ec23b5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Apr 12 19:01:34 2018 The replayer agent replays historical orders @author: FDR """ """ Imports """ from .genericAgent import genericAgent from random import randint, randrange from decimal import Decimal from apscheduler.schedulers.background import BackgroundScheduler imp...
45.25974
180
0.542898
351
3,485
5.233618
0.25641
0.293958
0.275449
0.287425
0.559064
0.557975
0.480675
0.437126
0.437126
0.437126
0
0.006545
0.342324
3,485
77
181
45.25974
0.794939
0.068006
0
0.36
0
0
0.076708
0
0
0
0
0
0
1
0.08
false
0
0.14
0.02
0.26
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
393bb67f89cb51a7deb5dc3436916dcee9758608
6,001
py
Python
toyRegression/HMC/train.py
dataflowr/evaluating_bdl
b7d7e3f2b8095a0ec43118d2b69b4b49e0b910f2
[ "MIT" ]
110
2019-06-04T13:30:23.000Z
2022-03-05T07:37:52.000Z
toyRegression/HMC/train.py
dataflowr/evaluating_bdl
b7d7e3f2b8095a0ec43118d2b69b4b49e0b910f2
[ "MIT" ]
3
2020-08-31T17:12:39.000Z
2021-09-12T01:21:24.000Z
toyRegression/HMC/train.py
dataflowr/evaluating_bdl
b7d7e3f2b8095a0ec43118d2b69b4b49e0b910f2
[ "MIT" ]
23
2019-06-05T08:53:28.000Z
2022-03-05T09:01:25.000Z
# code-checked # server-checked from datasets import ToyDataset # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason) import torch import torch.utils.data import torch.nn as nn from torch.autograd import Variable import pyro from pyro.infer import EmpiricalMarginal...
52.640351
182
0.723379
876
6,001
4.610731
0.113014
0.099777
0.096806
0.051498
0.849715
0.849715
0.82149
0.570438
0.559792
0.3949
0
0.027788
0.130478
6,001
113
183
53.106195
0.746263
0.148475
0
0.047619
0
0
0.196422
0.187574
0
0
0
0
0
1
0
false
0
0.119048
0
0.119048
0.345238
0
0
0
null
0
0
0
1
1
1
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
3944578d8286250ff00f6c926ac4e5a4339602bb
448
py
Python
BIZa/2014/Tskipu_a_k/task_1_28.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
BIZa/2014/Tskipu_a_k/task_1_28.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
BIZa/2014/Tskipu_a_k/task_1_28.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
# Задача 1. Вариант 0. # Напишите программу, которая будет сообщать род деятельности и псевдоним под которым скрывается Эдсон Арантис ду Насименту. После вывода информации программа должна дожидаться пока пользователь нажмет Enter для выхода. # Krasnikov A. S. # Цкипуришвили Александр # 01.02.2016 print("Норма Бе...
34.461538
219
0.792411
60
448
5.916667
0.933333
0.04507
0.078873
0
0
0
0
0
0
0
0
0.026042
0.142857
448
13
220
34.461538
0.898438
0.642857
0
0
0
0
0.8
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
394f2550823501d6132aef8b8534497512bd36d6
77,101
py
Python
wavefront_api_client/models/chart_settings.py
httpsgithu/python-client
f85a530367cdabe458a11919ad35609b9bc0606b
[ "Apache-2.0" ]
null
null
null
wavefront_api_client/models/chart_settings.py
httpsgithu/python-client
f85a530367cdabe458a11919ad35609b9bc0606b
[ "Apache-2.0" ]
null
null
null
wavefront_api_client/models/chart_settings.py
httpsgithu/python-client
f85a530367cdabe458a11919ad35609b9bc0606b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Wavefront REST API Documentation <p>The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.</p><p>When you make REST API calls outside the W...
40.177697
1,655
0.675815
9,899
77,101
4.980402
0.046368
0.054847
0.095576
0.086773
0.806373
0.71958
0.670189
0.584268
0.542484
0.42705
0
0.024453
0.252137
77,101
1,918
1,656
40.198644
0.830561
0.436843
0
0.110294
0
0
0.12578
0.058765
0
0
0
0
0
1
0.159314
false
0
0.004902
0
0.252451
0.002451
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a3989dc501970a8274e0e691271ad00765b2753
265
py
Python
proteomics/utils.py
naderm/django_rest_omics
c6314f96f157d95cd95e03a5fdea4a1176d6d05a
[ "BSD-2-Clause" ]
null
null
null
proteomics/utils.py
naderm/django_rest_omics
c6314f96f157d95cd95e03a5fdea4a1176d6d05a
[ "BSD-2-Clause" ]
null
null
null
proteomics/utils.py
naderm/django_rest_omics
c6314f96f157d95cd95e03a5fdea4a1176d6d05a
[ "BSD-2-Clause" ]
null
null
null
def strip_ptms(sequence): """ Removes all post-translation modifications (i.e. phosphorylation, glycosylation, etc) from a sequence. Parameters ---------- sequence : str Returns ------- str """ return sequence.upper()
16.5625
69
0.584906
25
265
6.16
0.84
0
0
0
0
0
0
0
0
0
0
0
0.271698
265
15
70
17.666667
0.797927
0.607547
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1a5e5ed2d57d736b35c8209c28db7ca23905f00c
377
py
Python
behavioral/state/main.py
plocinskipiotr/Design_Patterns
8e9433dccef7bb49d9fbe4f248cb93da465bd880
[ "MIT" ]
null
null
null
behavioral/state/main.py
plocinskipiotr/Design_Patterns
8e9433dccef7bb49d9fbe4f248cb93da465bd880
[ "MIT" ]
null
null
null
behavioral/state/main.py
plocinskipiotr/Design_Patterns
8e9433dccef7bb49d9fbe4f248cb93da465bd880
[ "MIT" ]
null
null
null
""" Main loop for state example """ from bottle import Bottle from drink import Half if __name__ == '__main__': bottle = Bottle() bottle.drink() bottle.fill() bottle.fill() bottle.fill() bottle.drink() bottle.drink() bottle.drink() bottle.fill() bottle.drink() bottle....
13.464286
29
0.618037
44
377
5.090909
0.318182
0.34375
0.455357
0.294643
0.450893
0
0
0
0
0
0
0
0.249337
377
27
30
13.962963
0.791519
0.071618
0
0.6875
0
0
0.023392
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
1a885b31211e11db26d5ce26339a29ec523ea886
105
py
Python
model_io/__init__.py
zhuoju36/StructEngPy
ec279271e3468a4a8418bf722b5ceee003abb37c
[ "MIT" ]
40
2016-10-05T13:53:34.000Z
2022-01-26T10:54:31.000Z
model_io/__init__.py
lenphay/StructEngPy
ec279271e3468a4a8418bf722b5ceee003abb37c
[ "MIT" ]
null
null
null
model_io/__init__.py
lenphay/StructEngPy
ec279271e3468a4a8418bf722b5ceee003abb37c
[ "MIT" ]
14
2017-09-16T10:58:24.000Z
2022-01-21T18:46:44.000Z
# -*- coding: utf-8 -*- """ Created on Wed Mar 28 21:38:08 2018 @author: Dell """ __all__=['dxf','s2k']
13.125
35
0.571429
17
105
3.294118
1
0
0
0
0
0
0
0
0
0
0
0.16092
0.171429
105
8
36
13.125
0.482759
0.695238
0
0
0
0
0.24
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a980c5cfe96a01a59ed492796388f46b8a93e16
315
py
Python
CursoIntensivoPython/curso-intensivo-python-master/capitulo_05/exercicios/estagios_da_vida.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
CursoIntensivoPython/curso-intensivo-python-master/capitulo_05/exercicios/estagios_da_vida.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
CursoIntensivoPython/curso-intensivo-python-master/capitulo_05/exercicios/estagios_da_vida.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
idade = 64 if idade < 2: print('Você ainda é um bebê.') elif idade < 4: print('Você ainda é uma criança.') elif idade < 13: print('Você é um(a) garoto(a).') elif idade < 20: print('Você é um(a) adolescente.') elif idade < 65: print('Você é adulto.') elif idade >= 65: print('Você é idoso.')
22.5
38
0.603175
53
315
3.584906
0.415094
0.284211
0.210526
0.157895
0.357895
0.221053
0
0
0
0
0
0.05
0.238095
315
13
39
24.230769
0.741667
0
0
0
0
0
0.384127
0
0
0
0
0
0
1
0
false
0
0
0
0
0.461538
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
1ab0f537aa96d0bcfdc865dd918570a7b50b8230
189
py
Python
lambdata_nikibhatt/__init__.py
nikibhatt/lambdata_niki
287efc59c9f721e13ba88ba6df5a157a87f5ef77
[ "MIT" ]
null
null
null
lambdata_nikibhatt/__init__.py
nikibhatt/lambdata_niki
287efc59c9f721e13ba88ba6df5a157a87f5ef77
[ "MIT" ]
null
null
null
lambdata_nikibhatt/__init__.py
nikibhatt/lambdata_niki
287efc59c9f721e13ba88ba6df5a157a87f5ef77
[ "MIT" ]
null
null
null
""""Collection of Data Science helper functions""" import pandas as pd import numpy as np from lambdata_nikibhatt import df_utils as du #Example datasets ONES = pd.DataFrame(np.ones(10))
21
50
0.777778
30
189
4.833333
0.766667
0
0
0
0
0
0
0
0
0
0
0.012346
0.142857
189
8
51
23.625
0.882716
0.322751
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
46b8b48b2e163d119d408687544bea2853932049
295
py
Python
Primeiros Passos/1-DAY ONE/contasfast.py
pedroluceena/TreinosPI
c11a76a1361f61a71e16edb2127eb08c12c090e1
[ "MIT" ]
null
null
null
Primeiros Passos/1-DAY ONE/contasfast.py
pedroluceena/TreinosPI
c11a76a1361f61a71e16edb2127eb08c12c090e1
[ "MIT" ]
null
null
null
Primeiros Passos/1-DAY ONE/contasfast.py
pedroluceena/TreinosPI
c11a76a1361f61a71e16edb2127eb08c12c090e1
[ "MIT" ]
null
null
null
#Contasfast n1 = int(input('Me diga um número: ')) n2 = int(input('Me diga outro número: ')) n3 = float(input('Me diga outro número: ')) s = (n1 + n2) /n3 s1 = n1 % 1 s2 = (n2 + n3) //n1 s3 = n1**2*n2**3*n3**4*5 print('Alguns resultados com essa brincadeira {} , {} , {} ,{}'.format(s,s1,s2,s3))
32.777778
83
0.589831
52
295
3.346154
0.538462
0.12069
0.189655
0.16092
0.252874
0
0
0
0
0
0
0.098765
0.176271
295
9
83
32.777778
0.617284
0.033898
0
0
0
0
0.414035
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
46c2f58e55f1e067bc7dbaad5f718ac3b13d8cd5
1,346
py
Python
blog/models.py
RonaldZhao/flask-bootstrap-blog
a2deb5fbdc1dcebf360fe91ac36cd0ef1854a943
[ "MIT" ]
1
2019-03-06T08:10:25.000Z
2019-03-06T08:10:25.000Z
blog/models.py
RonaldZhao/flask-bootstrap-blog
a2deb5fbdc1dcebf360fe91ac36cd0ef1854a943
[ "MIT" ]
null
null
null
blog/models.py
RonaldZhao/flask-bootstrap-blog
a2deb5fbdc1dcebf360fe91ac36cd0ef1854a943
[ "MIT" ]
null
null
null
from flask_login import UserMixin from werkzeug.security import generate_password_hash from sqlalchemy import text from blog import db __author__ = 'Ronald Zhao' class User(UserMixin, db.Model): id = db.Column(db.Integer(), primary_key=True) user_name = db.Column(db.String(30), nullable=False) email = d...
33.65
103
0.691679
185
1,346
4.821622
0.318919
0.089686
0.112108
0.089686
0.23991
0.197309
0.197309
0.089686
0.089686
0.089686
0
0.012613
0.175334
1,346
39
104
34.512821
0.790991
0
0
0.137931
1
0
0.069094
0.017088
0
0
0
0
0
1
0.137931
false
0.137931
0.137931
0.068966
0.793103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
46c62cca86e7a91ce8a819f483ed18ede4fdda9a
30
py
Python
wrapper/__init__.py
jrvosse/vu-rm-pip3
a3d3fc62dac57a28bdfbf40168cb1a351c1162eb
[ "Apache-2.0" ]
6
2018-09-21T11:58:23.000Z
2021-12-10T14:24:06.000Z
wrapper/__init__.py
jrvosse/vu-rm-pip3
a3d3fc62dac57a28bdfbf40168cb1a351c1162eb
[ "Apache-2.0" ]
14
2018-10-11T11:36:20.000Z
2022-02-22T15:53:12.000Z
wrapper/__init__.py
jrvosse/vu-rm-pip3
a3d3fc62dac57a28bdfbf40168cb1a351c1162eb
[ "Apache-2.0" ]
2
2019-12-04T10:47:34.000Z
2020-04-29T08:12:28.000Z
__all__ = ['dag', 'dagpipe']
10
28
0.566667
3
30
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
30
2
29
15
0.52
0
0
0
0
0
0.344828
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
46c6ca5734d75c41d411c43471287aea3cfb7947
535
py
Python
0-notes/job-search/Cracking_the_Coding_Interview/C07ObjectOrientedDesign/python/7.2-question.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking_the_Coding_Interview/C07ObjectOrientedDesign/python/7.2-question.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking_the_Coding_Interview/C07ObjectOrientedDesign/python/7.2-question.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
# 7.2 Call Center # Imagine you have a call center with 3 levels of employees: # respondent, manager, & director # An incoming telephone call must be first allocated to a respondent who is free. # If the respondent can't handle the call, he or she must escalate the call to a manager. # If the manager is not free or ab...
53.5
99
0.770093
92
535
4.478261
0.619565
0.021845
0
0
0
0
0
0
0
0
0
0.006897
0.186916
535
9
100
59.444444
0.94023
0.966355
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
46cc55c16e2af2d6dc908ec23128db674dfb8d1a
160
py
Python
visual_helper_be/imgcaptioning/urls.py
HwangJohn/visual-helper
e4b0358c51ed2e14804d800a6ed454f36d103a20
[ "MIT" ]
null
null
null
visual_helper_be/imgcaptioning/urls.py
HwangJohn/visual-helper
e4b0358c51ed2e14804d800a6ed454f36d103a20
[ "MIT" ]
3
2021-03-30T13:46:50.000Z
2021-06-10T19:39:39.000Z
visual_helper_be/imgcaptioning/urls.py
HwangJohn/visual-helper
e4b0358c51ed2e14804d800a6ed454f36d103a20
[ "MIT" ]
null
null
null
# from django.conf.urls import url from django.urls import path from . import views urlpatterns = [ path('/predict', views.ImageCaptioning.as_view()), ]
17.777778
54
0.71875
21
160
5.428571
0.619048
0.175439
0
0
0
0
0
0
0
0
0
0
0.1625
160
8
55
20
0.850746
0.2
0
0
0
0
0.064
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
46dbfa9ddd6653dc10cf45b742e3dbc3fa214734
1,014
py
Python
dit_helpdesk/rules_of_origin/migrations/0012_auto_20201208_1817.py
uktrade/dit-helpdesk
f5127daa46e920d33ec3f0b982136b65bba0353a
[ "MIT" ]
3
2019-10-24T10:39:38.000Z
2021-07-13T11:46:18.000Z
dit_helpdesk/rules_of_origin/migrations/0012_auto_20201208_1817.py
uktrade/dit-helpdesk
f5127daa46e920d33ec3f0b982136b65bba0353a
[ "MIT" ]
20
2020-01-22T11:16:24.000Z
2022-02-02T10:38:54.000Z
dit_helpdesk/rules_of_origin/migrations/0012_auto_20201208_1817.py
uktrade/dit-helpdesk
f5127daa46e920d33ec3f0b982136b65bba0353a
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-12-08 18:17 import django_migration_linter as linter from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("countries", "0005_auto_20201119_1450"), ("hierarchy", "0017_nomenclaturetree_source"), ("rules_of_origin", ...
33.8
85
0.68146
101
1,014
6.544554
0.524752
0.19062
0.217852
0.25416
0.281392
0
0
0
0
0
0
0.064838
0.209073
1,014
29
86
34.965517
0.759352
0.045365
0
0.26087
1
0
0.303313
0.127329
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
46eebf7315de017e214b7d7fcfe501bf5b4ca25d
2,588
py
Python
nearpy/filters/vectorfilter.py
jbalint/aurum-datadiscovery
443b777c13be47e6da60b4af528e19a02608e158
[ "MIT" ]
624
2015-01-02T21:45:28.000Z
2022-03-02T11:04:27.000Z
nearpy/filters/vectorfilter.py
jbalint/aurum-datadiscovery
443b777c13be47e6da60b4af528e19a02608e158
[ "MIT" ]
83
2016-10-08T14:07:55.000Z
2022-03-08T22:03:39.000Z
nearpy/filters/vectorfilter.py
jbalint/aurum-datadiscovery
443b777c13be47e6da60b4af528e19a02608e158
[ "MIT" ]
136
2015-01-07T04:45:41.000Z
2021-11-25T17:46:07.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2013 Ole Krause-Sparmann # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy,...
45.403509
79
0.743045
388
2,588
4.951031
0.492268
0.045809
0.02811
0.026549
0.039042
0.023946
0
0
0
0
0
0.005348
0.205178
2,588
56
80
46.214286
0.928537
0.896059
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2009c9bae6e5cf9ca451fd82ff00137b9ee93563
22
py
Python
arcus/ml/timeseries/__init__.py
Mcalewaert/arcus.ml
bb94bd18687eb65599a34bd276bb96dd460611d8
[ "MIT" ]
2
2020-06-01T22:21:51.000Z
2021-11-23T08:27:46.000Z
arcus/ml/timeseries/__init__.py
Mcalewaert/arcus.ml
bb94bd18687eb65599a34bd276bb96dd460611d8
[ "MIT" ]
90
2020-04-20T06:54:35.000Z
2022-03-22T05:48:02.000Z
arcus/ml/timeseries/__init__.py
Mcalewaert/arcus.ml
bb94bd18687eb65599a34bd276bb96dd460611d8
[ "MIT" ]
4
2020-05-15T09:00:51.000Z
2022-02-16T07:53:29.000Z
__all__ = ['timeops']
11
21
0.636364
2
22
5
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.526316
0
0
0
0
0
0.318182
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
200d1afa1d1e6f697d42dab00255cef8efba3fa1
616
py
Python
tltorch/__init__.py
colehawkins/torch
914bdb8acad64d93a612e46f47ce1df507016b1b
[ "BSD-3-Clause" ]
27
2020-12-15T21:34:48.000Z
2022-02-24T09:56:13.000Z
tltorch/__init__.py
colehawkins/torch
914bdb8acad64d93a612e46f47ce1df507016b1b
[ "BSD-3-Clause" ]
15
2020-12-23T05:10:31.000Z
2022-03-03T00:10:10.000Z
tltorch/__init__.py
colehawkins/torch
914bdb8acad64d93a612e46f47ce1df507016b1b
[ "BSD-3-Clause" ]
12
2020-12-23T04:26:41.000Z
2021-12-15T02:39:30.000Z
__version__ = '0.3.0' from . import utils from . import factorized_tensors from .factorized_tensors import init from . import functional from . import factorized_layers from .factorized_layers import FactorizedLinear, FactorizedConv, TRL, TCL, FactorizedEmbedding from .factorized_tensors import FactorizedTensor, CPTe...
41.066667
95
0.75974
64
616
7.03125
0.453125
0.088889
0.14
0.18
0
0
0
0
0
0
0
0.006
0.188312
616
14
96
44
0.894
0
0
0
0
0
0.008117
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
200da51843ffec6bf4b1e8f6c456806ab56b85f0
6,269
py
Python
webapp/campaigns/tests/test_campaigns_webapp.py
AKarbas/datachef-interview-assignment
04a69a0daf0ab5378a2e03913ac60818e3fb73d9
[ "Intel" ]
null
null
null
webapp/campaigns/tests/test_campaigns_webapp.py
AKarbas/datachef-interview-assignment
04a69a0daf0ab5378a2e03913ac60818e3fb73d9
[ "Intel" ]
null
null
null
webapp/campaigns/tests/test_campaigns_webapp.py
AKarbas/datachef-interview-assignment
04a69a0daf0ab5378a2e03913ac60818e3fb73d9
[ "Intel" ]
null
null
null
from django.test import TestCase from django.urls import reverse from django.utils import timezone from ..models import Impression, Click, Conversion from ..views import Campaign class CampaignViewTests(TestCase): def test_no_campaign(self): response = self.client.get(reverse('campaigns:campaign', args=...
41.516556
82
0.653214
757
6,269
5.128137
0.10568
0.10304
0.045337
0.028336
0.802421
0.74781
0.719732
0.609737
0.563627
0.526018
0
0.014735
0.263838
6,269
150
83
41.793333
0.826436
0
0
0.495868
0
0
0.017866
0
0
0
0
0
0.140496
1
0.090909
false
0
0.041322
0.024793
0.173554
0
0
0
0
null
0
0
0
1
1
1
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
205621a0aed257b31e4b09df8c1a11a56f1f6418
411
py
Python
golinks/links/models.py
wsh32/golinks
8462ff623f6871c9ae0e207810624e4697a37a30
[ "MIT" ]
null
null
null
golinks/links/models.py
wsh32/golinks
8462ff623f6871c9ae0e207810624e4697a37a30
[ "MIT" ]
2
2021-04-08T21:20:17.000Z
2021-09-22T19:23:02.000Z
golinks/links/models.py
wsh32/golinks
8462ff623f6871c9ae0e207810624e4697a37a30
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User # Create your models here. class Link(models.Model): long_link = models.CharField(max_length=200) short_link = models.CharField(max_length=200, unique=True) owner = models.ForeignKey(User, on_delete=models.SET_NULL, null=True, ...
29.357143
73
0.693431
56
411
4.892857
0.589286
0.109489
0.138686
0.160584
0.226277
0.226277
0
0
0
0
0
0.018634
0.216545
411
13
74
31.615385
0.832298
0.058394
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.888889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
64948f78790fa98ce99562cc67b7dfe569fcddc0
1,545
py
Python
scripts/quest/q17620s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/quest/q17620s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/quest/q17620s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Quest ID :: 17620 # [Commerci Republic] Eye for an Eye sm.setSpeakerID(9390217) sm.sendNext("Now, what dream can I make come true for you? Remember, anything in the entire world is yours for the asking.") sm.setSpeakerID(9390217) sm.setPlayerAsSpeaker() sm.sendSay("Can you introduce me to Gil...
30.294118
169
0.750809
248
1,545
4.677419
0.491935
0.132759
0.199138
0.198276
0.315517
0.225862
0.172414
0
0
0
0
0.092366
0.152104
1,545
50
170
30.9
0.79313
0.106796
0
0.535714
0
0.107143
0.549091
0
0
0
0
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
6497a8f8c2897e94576ec07b9f162b1b6fe05ef8
852
py
Python
exchanges/__init__.py
Celeborn2BeAlive/cryptobigbro
7f6511d683991b7a2f663c7acd0ab0249fa1bffa
[ "MIT" ]
5
2019-05-04T01:30:34.000Z
2020-11-26T05:07:08.000Z
exchanges/__init__.py
Celeborn2BeAlive/cryptobigbro
7f6511d683991b7a2f663c7acd0ab0249fa1bffa
[ "MIT" ]
4
2021-03-19T02:41:55.000Z
2022-03-11T23:55:52.000Z
exchanges/__init__.py
Celeborn2BeAlive/cryptobigbro
7f6511d683991b7a2f663c7acd0ab0249fa1bffa
[ "MIT" ]
2
2019-04-27T15:50:25.000Z
2019-07-31T20:22:40.000Z
from .bitmex_exchange import BitmexExchange from .binance_exchange import BinanceExchange from .coinbasepro_exchange import CoinbaseProExchange def make_bitmex_exchange(): return BitmexExchange() def make_binance_exchange(): return BinanceExchange() def make_coinbasepro_exchange(api_key=None): return Coi...
34.08
113
0.764085
100
852
6.18
0.24
0.145631
0.116505
0.106796
0.223301
0
0
0
0
0
0
0
0.150235
852
25
114
34.08
0.853591
0
0
0
0
0
0.063306
0
0
0
0
0
0
1
0.25
false
0
0.15
0.2
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
1
0
0
0
1
1
0
0
3
64bfae4ea82119ffcd91a329af9f14764cff7318
1,355
py
Python
cmake_tidy/commands/format/format_configuration.py
MaciejPatro/cmake-tidy
ddab3d9c6dd1a6c9cfa47bff5a9f120defea9e6a
[ "MIT" ]
16
2020-05-16T17:20:00.000Z
2022-02-14T12:08:41.000Z
cmake_tidy/commands/format/format_configuration.py
MaciejPatro/cmake-tidy
ddab3d9c6dd1a6c9cfa47bff5a9f120defea9e6a
[ "MIT" ]
19
2020-05-18T06:17:42.000Z
2020-08-11T07:15:11.000Z
cmake_tidy/commands/format/format_configuration.py
MaciejPatro/cmake-tidy
ddab3d9c6dd1a6c9cfa47bff5a9f120defea9e6a
[ "MIT" ]
null
null
null
############################################################################### # Copyright Maciej Patro (maciej.patro@gmail.com) # MIT License ############################################################################### from pathlib import Path from cmake_tidy.utils.app_configuration.configuration import Configu...
29.456522
114
0.59631
135
1,355
5.703704
0.42963
0.071429
0.050649
0.044156
0.135065
0.135065
0.135065
0.135065
0.135065
0.135065
0
0
0.199262
1,355
45
115
30.111111
0.709677
0.043542
0
0.241379
0
0
0.079295
0
0
0
0
0
0
1
0.275862
false
0
0.068966
0.206897
0.62069
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
64c4eb515042ecd6deeb504d85b44408c12f3cb8
363
py
Python
code/python/json_yaml.py
sglvt/notes
adeb704960d97235e8f92a1c4df79f898d5160f4
[ "MIT" ]
null
null
null
code/python/json_yaml.py
sglvt/notes
adeb704960d97235e8f92a1c4df79f898d5160f4
[ "MIT" ]
null
null
null
code/python/json_yaml.py
sglvt/notes
adeb704960d97235e8f92a1c4df79f898d5160f4
[ "MIT" ]
null
null
null
import json, yaml d = { "k1": "v1", "k2": ["v20", "v21", "v22"], "k3": {"k30": "v30"} } s = json.dumps(d) print(s) print(json.dumps(d, indent=2, sort_keys=True)) print(json.loads(s)["k1"]) print(json.dumps(True)) print(json.dumps(False)) print(json.dumps(None)) print(yaml.dump(d)) with open(r'output.ya...
16.5
46
0.589532
62
363
3.435484
0.516129
0.211268
0.262911
0.131455
0
0
0
0
0
0
0
0.052117
0.15427
363
21
47
17.285714
0.641694
0
0
0
0
0
0.101928
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
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
64c97c9201038e998da5dbc240a2dc6210a1accd
123
py
Python
lista3/Q9.py
AlexandrePeBrito/Python
79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0
[ "MIT" ]
null
null
null
lista3/Q9.py
AlexandrePeBrito/Python
79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0
[ "MIT" ]
null
null
null
lista3/Q9.py
AlexandrePeBrito/Python
79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0
[ "MIT" ]
null
null
null
#Faça um programa que imprima na tela apenas os números ímpares entre 1 e 50. for impar in range(1,50,2): print(impar)
30.75
77
0.731707
24
123
3.75
0.875
0
0
0
0
0
0
0
0
0
0
0.070707
0.195122
123
4
78
30.75
0.838384
0.617886
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
b38317f8ae1c79bf3516ea03899452eb089d0626
130
py
Python
Testcases/testcase1.py
sanatb97/Python-Compiler
5228a36c9a881e21f9a6419315dd2f52eb2d5165
[ "MIT" ]
2
2021-10-01T22:11:46.000Z
2021-10-02T19:44:57.000Z
Testcases/testcase1.py
vogiralshivani/Python-Compiler
5228a36c9a881e21f9a6419315dd2f52eb2d5165
[ "MIT" ]
null
null
null
Testcases/testcase1.py
vogiralshivani/Python-Compiler
5228a36c9a881e21f9a6419315dd2f52eb2d5165
[ "MIT" ]
3
2019-02-04T03:49:08.000Z
2019-10-16T13:15:13.000Z
x=4 y=7 while(y>x): print("y>x") y=y-1 if(x==y): print("x==y"") if(x==4): print("x="4") print('End of program');
11.818182
24
0.461538
29
130
2.068966
0.37931
0.1
0.233333
0
0
0
0
0
0
0
0
0.049505
0.223077
130
10
25
13
0.544554
0
0
0
0
0
0.176923
0
0
0
0
0
0
0
null
null
0
0
null
null
0.4
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
1
0
0
0
0
0
0
0
0
3
b385bb7d2071d288c8c5a73e25573fb30644d4d4
44,684
py
Python
collector/__main__.py
ErikNovak/event-registry-collector
6b894782efa741b6d2253009ec6cf4209d43fb0d
[ "MIT" ]
null
null
null
collector/__main__.py
ErikNovak/event-registry-collector
6b894782efa741b6d2253009ec6cf4209d43fb0d
[ "MIT" ]
null
null
null
collector/__main__.py
ErikNovak/event-registry-collector
6b894782efa741b6d2253009ec6cf4209d43fb0d
[ "MIT" ]
null
null
null
################################################# # The Event Registry API classes # Retrieves articles, events and other # news data from the Event Registry service. # # Contains additional classes used for retrieving # and processing import argparse import eventregistry as ER import json import sys import os from ...
34.031988
136
0.570696
5,182
44,684
4.782516
0.066191
0.035508
0.050841
0.029778
0.744583
0.72235
0.703506
0.680709
0.672881
0.664649
0
0.001321
0.339182
44,684
1,312
137
34.057927
0.837984
0.307157
0
0.588517
0
0
0.177223
0.004206
0
0
0
0
0
1
0.02512
false
0
0.007177
0.001196
0.050239
0.005981
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
b38f8ed5a0fe1698cfe79f5d22a12833d6f4ab70
273
py
Python
russianroulette/__init__.py
Slurpcy/YamiCogs
b13a920a5a50050c4f85e6072e7b004361bd9109
[ "MIT" ]
4
2020-10-19T17:42:35.000Z
2021-10-10T18:31:07.000Z
russianroulette/__init__.py
Slurpcy/YamiCogs
b13a920a5a50050c4f85e6072e7b004361bd9109
[ "MIT" ]
12
2020-12-27T15:03:20.000Z
2022-02-11T17:43:22.000Z
russianroulette/__init__.py
Slurpcy/YamiCogs
b13a920a5a50050c4f85e6072e7b004361bd9109
[ "MIT" ]
6
2020-12-23T15:09:11.000Z
2021-12-17T14:55:17.000Z
import json from pathlib import Path from .russianroulette import RussianRoulette with open(Path(__file__).parent / "info.json") as fp: __red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"] def setup(bot): bot.add_cog(RussianRoulette(bot))
22.75
78
0.776557
39
273
5.025641
0.615385
0.071429
0.112245
0.204082
0
0
0
0
0
0
0
0
0.124542
273
11
79
24.818182
0.820084
0
0
0
0
0
0.117216
0.084249
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b39423b2bef05592ecd6db3e05377e2564d431f7
256
py
Python
invitations/admin.py
aligholami/jaryan
02196f06cef29603fdbe533074804b785e2f285d
[ "Apache-2.0" ]
2
2016-04-07T14:16:40.000Z
2017-06-16T08:49:11.000Z
invitations/admin.py
aligholami/jaryan
02196f06cef29603fdbe533074804b785e2f285d
[ "Apache-2.0" ]
null
null
null
invitations/admin.py
aligholami/jaryan
02196f06cef29603fdbe533074804b785e2f285d
[ "Apache-2.0" ]
1
2017-05-28T22:04:23.000Z
2017-05-28T22:04:23.000Z
from django.contrib import admin from invitations.models import Invite class InviteAdmin(admin.ModelAdmin): list_display = ('id', 'inviter', 'invitee', 'jaryanak', 'created_at', 'status', 'used', 'key_expired') admin.site.register(Invite, InviteAdmin)
28.444444
103
0.753906
31
256
6.129032
0.806452
0
0
0
0
0
0
0
0
0
0
0
0.101563
256
8
104
32
0.826087
0
0
0
0
0
0.214844
0
0
0
0
0
0
1
0
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
b3acc498f4e06bfdd1998fda0db68a21559ae4a6
2,129
py
Python
y-py/tests/test_y_map.py
GarettCooper/y-crdt
eb1554e63b0ee7307a42a9ee1133629d680cdfdc
[ "MIT" ]
236
2021-02-23T05:59:38.000Z
2022-01-07T02:33:02.000Z
y-py/tests/test_y_map.py
GarettCooper/y-crdt
eb1554e63b0ee7307a42a9ee1133629d680cdfdc
[ "MIT" ]
25
2021-04-20T15:53:46.000Z
2022-01-03T16:34:05.000Z
y-py/tests/test_y_map.py
GarettCooper/y-crdt
eb1554e63b0ee7307a42a9ee1133629d680cdfdc
[ "MIT" ]
10
2021-04-13T16:58:14.000Z
2022-01-05T18:13:02.000Z
from test_helper import exchange_updates import y_py as Y def test_set(): d1 = Y.YDoc() x = d1.get_map('test') value = d1.transact(lambda txn : x.get(txn, 'key')) assert value == None d1.transact(lambda txn : x.set(txn, 'key', 'value1')) value = d1.transact(lambda txn : x.get(txn, 'key')) ...
26.283951
87
0.542508
314
2,129
3.621019
0.187898
0.158311
0.239226
0.284081
0.638522
0.598065
0.573439
0.573439
0.477573
0.405453
0
0.028364
0.287929
2,129
80
88
26.6125
0.721636
0.066228
0
0.442623
0
0
0.058972
0
0
0
0
0.0125
0.180328
1
0.081967
false
0
0.032787
0
0.114754
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
1
0
0
0
0
0
0
0
0
0
0
3
b3b696b9c2e2b959345166c3ad631b65eb79fd9a
388
py
Python
8KYU/mango.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
4
2021-07-17T22:48:03.000Z
2022-03-25T14:10:58.000Z
8KYU/mango.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
null
null
null
8KYU/mango.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
3
2021-06-14T14:18:16.000Z
2022-03-16T06:02:02.000Z
from typing import Union def mango(quantity: int, price: Union[int, float]) -> Union[int, float]: # mangoes_quantity: int = quantity give_free: int = quantity // 3 # while mangoes_quantity != 0: # if mangoes_quantity >= 3: # mangoes_quantity -= 3 # give_free += 1 # ...
27.714286
72
0.57732
45
388
4.822222
0.466667
0.276498
0.119816
0
0
0
0
0
0
0
0
0.018797
0.314433
388
13
73
29.846154
0.796992
0.350515
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
0
0
1
0
0
3
b3b99d6e5ee065ecde92cb4c5dc786eefe372892
116
py
Python
livewireAWS/about/urls.py
ineffablelucky/LiveWireDev-AWS-Django
a69e9935e3a3a9ab3a2ebef652b375df8fe6e8e7
[ "MIT" ]
null
null
null
livewireAWS/about/urls.py
ineffablelucky/LiveWireDev-AWS-Django
a69e9935e3a3a9ab3a2ebef652b375df8fe6e8e7
[ "MIT" ]
7
2020-06-05T18:37:06.000Z
2022-01-13T00:48:00.000Z
livewireAWS/about/urls.py
ineffablelucky/LiveWireDev-AWS-Django
a69e9935e3a3a9ab3a2ebef652b375df8fe6e8e7
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.allteam, name='allteam'), ]
11.6
44
0.663793
14
116
5.5
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.198276
116
9
45
12.888889
0.827957
0
0
0
0
0
0.060345
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