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
021d5769d36b572a0f2addec694597fefa3cfa6f
158
py
Python
Backend/order/urls.py
Bhavya0020/Readopolis
a0053e4fae97dc8291b50c746f3dc3e6b454ad95
[ "MIT" ]
null
null
null
Backend/order/urls.py
Bhavya0020/Readopolis
a0053e4fae97dc8291b50c746f3dc3e6b454ad95
[ "MIT" ]
null
null
null
Backend/order/urls.py
Bhavya0020/Readopolis
a0053e4fae97dc8291b50c746f3dc3e6b454ad95
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('checkout/', views.checkout), path('orders/', views.OrdersList.as_view()), ]
19.75
50
0.677215
19
158
5.578947
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.170886
158
8
51
19.75
0.80916
0
0
0
0
0
0.100629
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
022fd56061f4a128f54c059a42d1bbaadf434720
322
py
Python
src/homework/models/__init__.py
nvo87/education-backend
1f008bd396b5dde4483af611532826a9bca9fef5
[ "MIT" ]
62
2021-09-22T18:38:26.000Z
2022-03-29T06:09:42.000Z
src/homework/models/__init__.py
nvo87/education-backend
1f008bd396b5dde4483af611532826a9bca9fef5
[ "MIT" ]
50
2021-09-16T07:17:31.000Z
2022-03-26T12:06:58.000Z
src/homework/models/__init__.py
nvo87/education-backend
1f008bd396b5dde4483af611532826a9bca9fef5
[ "MIT" ]
16
2021-10-17T17:43:31.000Z
2022-03-26T11:22:45.000Z
from homework.models.answer import Answer from homework.models.answer_access_log_entry import AnswerAccessLogEntry from homework.models.answer_cross_check import AnswerCrossCheck from homework.models.question import Question __all__ = [ 'Answer', 'AnswerAccessLogEntry', 'AnswerCrossCheck', 'Question', ...
26.833333
72
0.801242
34
322
7.323529
0.411765
0.192771
0.289157
0.289157
0
0
0
0
0
0
0
0
0.127329
322
11
73
29.272727
0.886121
0
0
0
0
0
0.15528
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
024580a7ff506aa3cbda6d46122b84b1603a6c05
794
py
Python
pywikibot/families/omegawiki_family.py
shizhao/pywikibot-core
8441a1cd0e8dd5d3701f1c5e26077e40a40937ee
[ "MIT" ]
null
null
null
pywikibot/families/omegawiki_family.py
shizhao/pywikibot-core
8441a1cd0e8dd5d3701f1c5e26077e40a40937ee
[ "MIT" ]
null
null
null
pywikibot/families/omegawiki_family.py
shizhao/pywikibot-core
8441a1cd0e8dd5d3701f1c5e26077e40a40937ee
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __version__ = '$Id: 024580a7ff506aa3cbda6d46122b84b1603a6c05 $' from pywikibot import family # Omegawiki, the Ultimate online dictionary class Family(family.Family): def __init__(self): family.Family.__init__(self) self.name = 'omegawiki' self.langs['omegawiki']...
22.685714
82
0.632242
92
794
5.326087
0.586957
0.081633
0.142857
0
0
0
0
0
0
0
0
0.050676
0.254408
794
34
83
23.352941
0.777027
0.20529
0
0
0
0
0.201278
0.063898
0
0
0
0
0
1
0.333333
false
0
0.055556
0.277778
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
02591a0ba3663c70495908f0fded2d81e95b4ceb
474
py
Python
Entities/element.py
JoseleSolis/Proceso-de-aprendizaje
0c6ee3a64ad48501dd42d2abcb5bf8b4cbb4f370
[ "MIT" ]
null
null
null
Entities/element.py
JoseleSolis/Proceso-de-aprendizaje
0c6ee3a64ad48501dd42d2abcb5bf8b4cbb4f370
[ "MIT" ]
null
null
null
Entities/element.py
JoseleSolis/Proceso-de-aprendizaje
0c6ee3a64ad48501dd42d2abcb5bf8b4cbb4f370
[ "MIT" ]
2
2022-02-07T05:42:57.000Z
2022-02-13T11:05:21.000Z
class Element: dependencies = [] def __init__(self, name): self.name = name def add_dependencies(self, *elements): for element in elements: if not self.dependencies.__contains__(element): self.dependencies.append(element) def remove_dependencies(self, *elem...
19.75
59
0.622363
47
474
5.978723
0.340426
0.227758
0.170819
0.192171
0.661922
0.661922
0.327402
0.327402
0
0
0
0
0.293249
474
23
60
20.608696
0.838806
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.416667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
025c55086785bd2358aa07697fa9e5ff75a7e9fe
2,268
py
Python
github/migrations/0007_auto_20201003_1239.py
h3nnn4n/git-o-matic-9k
d8241cc768591e0f41c02b2057d7b56697a4cc86
[ "MIT" ]
null
null
null
github/migrations/0007_auto_20201003_1239.py
h3nnn4n/git-o-matic-9k
d8241cc768591e0f41c02b2057d7b56697a4cc86
[ "MIT" ]
null
null
null
github/migrations/0007_auto_20201003_1239.py
h3nnn4n/git-o-matic-9k
d8241cc768591e0f41c02b2057d7b56697a4cc86
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-03 12:39 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('github', '0006_repository_open_issues_count'), ] operations = [ migrations.RenameField( model_name=...
29.076923
74
0.543651
196
2,268
6.158163
0.311224
0.089478
0.178956
0.246065
0.714167
0.714167
0.681027
0.671085
0.671085
0.588235
0
0.015447
0.343474
2,268
77
75
29.454545
0.795165
0.019841
0
0.676056
1
0
0.112562
0.014858
0
0
0
0
0
1
0
false
0
0.028169
0
0.070423
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
02842784fc821e743357ee9efac57212bf1f6827
326
py
Python
src/utils.py
fabiob/wwwsqldesigner-aws
5518eae682e8228be30b094c6015054b3cddf8f3
[ "MIT" ]
null
null
null
src/utils.py
fabiob/wwwsqldesigner-aws
5518eae682e8228be30b094c6015054b3cddf8f3
[ "MIT" ]
null
null
null
src/utils.py
fabiob/wwwsqldesigner-aws
5518eae682e8228be30b094c6015054b3cddf8f3
[ "MIT" ]
1
2021-04-04T09:41:51.000Z
2021-04-04T09:41:51.000Z
from .env import S3_PREFIX def respond(body=None, mime="text/plain", code=200, headers={}): h = {"Content-Type": mime} h.update(headers) return {"statusCode": code, "body": body, "headers": h} def fn(keyword): return f'{S3_PREFIX}{keyword}.xml' def fix(filename): return filename[len(S3_PREFIX...
20.375
64
0.650307
47
326
4.446809
0.617021
0.114833
0
0
0
0
0
0
0
0
0
0.025926
0.171779
326
15
65
21.733333
0.748148
0
0
0
0
0
0.205521
0.07362
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
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
1
0
0
0
1
1
0
0
3
65febfc830676365453c5d43b397d3e86ac87c5f
471
py
Python
invenio_flow/decorators.py
egabancho/invenio-flow
583e55d17ab6aabd20bc4a46d098f034c0d0f693
[ "MIT" ]
null
null
null
invenio_flow/decorators.py
egabancho/invenio-flow
583e55d17ab6aabd20bc4a46d098f034c0d0f693
[ "MIT" ]
null
null
null
invenio_flow/decorators.py
egabancho/invenio-flow
583e55d17ab6aabd20bc4a46d098f034c0d0f693
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2020 Esteban J. G. Gabancho. # # Invenio-Flow is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Useful decorators.""" from celery import shared_task from .api import Task def task(*args, ...
23.55
73
0.694268
69
471
4.710145
0.768116
0.092308
0.086154
0
0
0
0
0
0
0
0
0.012987
0.18259
471
19
74
24.789474
0.831169
0.596603
0
0
0
0
0.022989
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
5a06baf447f7c7644ae324b314d4d848bee4ba67
12,225
py
Python
app_api/serializers.py
pkucsie/SIEPServer
00b0637eb8302135dfc772fccd18cd749a93e5c6
[ "Apache-2.0" ]
2
2021-02-12T10:02:42.000Z
2021-03-15T13:08:04.000Z
app_api/serializers.py
pkucsie/SIEPServer
00b0637eb8302135dfc772fccd18cd749a93e5c6
[ "Apache-2.0" ]
null
null
null
app_api/serializers.py
pkucsie/SIEPServer
00b0637eb8302135dfc772fccd18cd749a93e5c6
[ "Apache-2.0" ]
null
null
null
import datetime import time from utils import utils from rest_framework import serializers from rest_framework.relations import StringRelatedField from app_api.models import Album, Info, Order, Coupon, Integral, Notice, Lesson, Question, Cart, Setup, User, Bill, Address, Catalog, Log, \ ReadType, Teacher, Commen...
23.41954
140
0.674683
1,045
12,225
7.650718
0.207656
0.227642
0.122577
0.214509
0.418136
0.149468
0.126204
0.113071
0.102064
0.087555
0
0.000644
0.237873
12,225
521
141
23.464491
0.857465
0.005317
0
0.505682
0
0
0.05556
0.002963
0
0
0
0
0
1
0.011364
false
0
0.017045
0
0.536932
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5a0b2d031fe808c99bfba67eaa85c3e839cc5992
197
py
Python
tests/test_problem16.py
nolanwrightdev/blind-75-python
b92ef3449eb0143c760ddd339897a3f0a2972830
[ "MIT" ]
6
2020-02-01T23:29:51.000Z
2022-02-20T20:46:56.000Z
tests/test_problem16.py
nolanwrightdev/blind-75-python
b92ef3449eb0143c760ddd339897a3f0a2972830
[ "MIT" ]
null
null
null
tests/test_problem16.py
nolanwrightdev/blind-75-python
b92ef3449eb0143c760ddd339897a3f0a2972830
[ "MIT" ]
null
null
null
import unittest from problems.problem16 import solution class Test(unittest.TestCase): def test(self): self.assertTrue(solution([2, 3, 1, 1, 4])) self.assertFalse(solution([3, 2, 1, 0, 4]))
21.888889
45
0.71066
30
197
4.666667
0.6
0
0
0
0
0
0
0
0
0
0
0.070588
0.137056
197
8
46
24.625
0.752941
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5a0e378937b9fd8ab97a5e345d693d92224ab800
4,333
py
Python
src/past/types/oldstr.py
kianmeng/python-future
80523f383fbba1c6de0551e19d0277e73e69573c
[ "MIT" ]
908
2015-01-01T21:20:45.000Z
2022-03-29T20:47:16.000Z
src/past/types/oldstr.py
kianmeng/python-future
80523f383fbba1c6de0551e19d0277e73e69573c
[ "MIT" ]
402
2015-01-04T01:30:19.000Z
2022-03-24T11:56:38.000Z
src/past/types/oldstr.py
kianmeng/python-future
80523f383fbba1c6de0551e19d0277e73e69573c
[ "MIT" ]
305
2015-01-18T19:29:37.000Z
2022-03-24T09:40:09.000Z
""" Pure-Python implementation of a Python 2-like str object for Python 3. """ from numbers import Integral from past.utils import PY2, with_metaclass if PY2: from collections import Iterable else: from collections.abc import Iterable _builtin_bytes = bytes class BaseOldStr(type): def __instancecheck_...
31.860294
95
0.558505
522
4,333
4.44636
0.333333
0.038776
0.038776
0.040931
0.090478
0.049117
0.028436
0.028436
0
0
0
0.01688
0.316409
4,333
135
96
32.096296
0.766712
0.593815
0
0.051282
0
0
0.019267
0
0
0
0
0.007407
0.025641
1
0.25641
false
0
0.102564
0.102564
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5a408ec9d28877bdb362b94265d0d74be34141c1
91
py
Python
Code coach problems/Easy/Python/Skee-Ball.py
Djivs/sololearn-code-solutions
7727dd97f79863a88841548770481f6f2abdc7bf
[ "MIT" ]
1
2020-07-27T07:32:57.000Z
2020-07-27T07:32:57.000Z
Code coach problems/Easy/Python/Skee-Ball.py
Djivs/sololearn-code-solutions
7727dd97f79863a88841548770481f6f2abdc7bf
[ "MIT" ]
null
null
null
Code coach problems/Easy/Python/Skee-Ball.py
Djivs/sololearn-code-solutions
7727dd97f79863a88841548770481f6f2abdc7bf
[ "MIT" ]
1
2020-11-07T12:45:21.000Z
2020-11-07T12:45:21.000Z
a = int(input()) b = int(input()) if a >=b*12: print("Buy it!") else: print("Try again")
13
19
0.56044
17
91
3
0.705882
0.313725
0
0
0
0
0
0
0
0
0
0.026667
0.175824
91
6
20
15.166667
0.653333
0
0
0
0
0
0.175824
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
5a75c828e876ed3a1b7b9389dd4545aaaf2d9462
466
py
Python
examples/panflute/myemph.py
jacobwhall/panflute
281ddeaebd2c2c94f457f3da785037cadf69389e
[ "BSD-3-Clause" ]
361
2016-04-26T18:23:30.000Z
2022-03-24T20:58:18.000Z
examples/panflute/myemph.py
jacobwhall/panflute
281ddeaebd2c2c94f457f3da785037cadf69389e
[ "BSD-3-Clause" ]
164
2016-04-27T18:42:55.000Z
2022-02-13T23:34:17.000Z
examples/panflute/myemph.py
jacobwhall/panflute
281ddeaebd2c2c94f457f3da785037cadf69389e
[ "BSD-3-Clause" ]
62
2016-06-15T13:33:54.000Z
2021-11-20T07:33:07.000Z
#!/usr/bin/env python import panflute as pf """ Pandoc filter that causes emphasis to be rendered using the custom macro '\myemph{...}' rather than '\emph{...}' in latex. Other output formats are unaffected. """ def latex(s): return pf.RawInline(s, format='latex') def myemph(e, doc): if type(e)==pf.Emph a...
21.181818
64
0.654506
67
466
4.432836
0.686567
0.053872
0
0
0
0
0
0
0
0
0
0
0.171674
466
21
65
22.190476
0.76943
0.042918
0
0
0
0
0.101083
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ce4b095948b8f81b5b5833c6dcab9d8f5bd587a5
290
py
Python
advisor/api/urls.py
Sachin-c/api-test
c8242de24375149dcbc14e30b44d9a77d9771034
[ "MIT", "BSD-3-Clause" ]
null
null
null
advisor/api/urls.py
Sachin-c/api-test
c8242de24375149dcbc14e30b44d9a77d9771034
[ "MIT", "BSD-3-Clause" ]
null
null
null
advisor/api/urls.py
Sachin-c/api-test
c8242de24375149dcbc14e30b44d9a77d9771034
[ "MIT", "BSD-3-Clause" ]
null
null
null
from django.urls import path from advisor.api.views import ( # api_advisor_view, api_advisor_view_post, ) app_name = 'advisor' urlpatterns = [ path('admin/advisor/', api_advisor_view_post, name="post"), # path('user/<int:id>/advisor/', api_advisor_view, name="detail"), ]
22.307692
70
0.7
40
290
4.8
0.45
0.208333
0.291667
0.1875
0
0
0
0
0
0
0
0
0.151724
290
12
71
24.166667
0.780488
0.282759
0
0
0
0
0.121951
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
ce5beb636533234d09e40c6e181344e4d00f51e7
371
py
Python
sched_slack_bot/reminder/sender.py
Germandrummer92/SchedSlackBot
d211f7c0d78eb8ebbc1f22cc186c94fc61bad491
[ "MIT" ]
null
null
null
sched_slack_bot/reminder/sender.py
Germandrummer92/SchedSlackBot
d211f7c0d78eb8ebbc1f22cc186c94fc61bad491
[ "MIT" ]
null
null
null
sched_slack_bot/reminder/sender.py
Germandrummer92/SchedSlackBot
d211f7c0d78eb8ebbc1f22cc186c94fc61bad491
[ "MIT" ]
null
null
null
import abc from sched_slack_bot.model.reminder import Reminder class ReminderSender(abc.ABC): @abc.abstractmethod def send_reminder(self, reminder: Reminder) -> None: raise NotImplementedError("Not Implemented") @abc.abstractmethod def send_skip_message(self, reminder: Reminder) -> None: ...
24.733333
60
0.738544
41
371
6.560976
0.512195
0.04461
0.148699
0.178439
0.460967
0.460967
0.460967
0.460967
0
0
0
0
0.175202
371
14
61
26.5
0.879085
0
0
0.444444
0
0
0.080863
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
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
ce642e6e7a09fb0be794de1dfe62d3f787626a2a
52
py
Python
tests/django/__init__.py
estudio89/maestro-python
331079cb3f0c10de2e19210cbade793544510f33
[ "BSD-3-Clause" ]
null
null
null
tests/django/__init__.py
estudio89/maestro-python
331079cb3f0c10de2e19210cbade793544510f33
[ "BSD-3-Clause" ]
null
null
null
tests/django/__init__.py
estudio89/maestro-python
331079cb3f0c10de2e19210cbade793544510f33
[ "BSD-3-Clause" ]
null
null
null
default_app_config = "tests.django.apps.MyAppConfig"
52
52
0.846154
7
52
6
1
0
0
0
0
0
0
0
0
0
0
0
0.038462
52
1
52
52
0.84
0
0
0
0
0
0.54717
0.54717
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ce827ac31d171b94c54c1e52af75d3c49aac0651
2,270
py
Python
src/tables.py
tallywiesenberg/dating-data-dividend
0a4f3d7784e9902631a79dce1efb12fc39e74963
[ "MIT" ]
null
null
null
src/tables.py
tallywiesenberg/dating-data-dividend
0a4f3d7784e9902631a79dce1efb12fc39e74963
[ "MIT" ]
null
null
null
src/tables.py
tallywiesenberg/dating-data-dividend
0a4f3d7784e9902631a79dce1efb12fc39e74963
[ "MIT" ]
null
null
null
from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash from .extensions import db class User(UserMixin, db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(80), unique=True, nullable=False) password = db.Column(db.Stri...
40.535714
84
0.697797
314
2,270
4.926752
0.254777
0.124111
0.155139
0.113769
0.486102
0.460246
0.421461
0.381383
0.381383
0.381383
0
0.014831
0.168282
2,270
56
85
40.535714
0.804555
0.290308
0
0.125
1
0.03125
0.044739
0
0
0
0
0
0
1
0.125
false
0.21875
0.09375
0.0625
0.875
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
ce92edbc18e65275ac6f2bfc1a972e464010433f
205
py
Python
django_ecommerce/contact/admin.py
marshallhumble/Python_Web
d0d31647c882f30422f31aa62ecd61ae7ad87123
[ "MIT" ]
null
null
null
django_ecommerce/contact/admin.py
marshallhumble/Python_Web
d0d31647c882f30422f31aa62ecd61ae7ad87123
[ "MIT" ]
null
null
null
django_ecommerce/contact/admin.py
marshallhumble/Python_Web
d0d31647c882f30422f31aa62ecd61ae7ad87123
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import ContactForm class ContactFormAdmin(admin.ModelAdmin): class Meta: model = ContactForm admin.site.register(ContactForm, ContactFormAdmin)
20.5
50
0.780488
22
205
7.272727
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.156098
205
9
51
22.777778
0.924855
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ce96c92938a6d505e9a78e6bd30465ac609c886c
2,238
py
Python
libs/dataset/pipeline.py
arnasRad/vits
c0e0689d8c24049a2531dd5d52fc96a594389db2
[ "MIT" ]
null
null
null
libs/dataset/pipeline.py
arnasRad/vits
c0e0689d8c24049a2531dd5d52fc96a594389db2
[ "MIT" ]
null
null
null
libs/dataset/pipeline.py
arnasRad/vits
c0e0689d8c24049a2531dd5d52fc96a594389db2
[ "MIT" ]
null
null
null
import re import string from libs.dataset.core import SampleEntry, oov_replacement_vocabulary, letter_replacements __word_start_regex = f'[ \t\n]|^|[{string.punctuation}]' __word_end_regex = f'[ \t\n]|$|[{string.punctuation}]' def does_not_have_numbers(s: SampleEntry): return not any(char.isdigit() for char in s...
34.430769
130
0.662645
348
2,238
4.103448
0.29023
0.147059
0.212885
0.238095
0.620448
0.471989
0.316527
0.257703
0.236695
0.236695
0
0.002159
0.172029
2,238
64
131
34.96875
0.759849
0
0
0.125
0
0.020833
0.247096
0.061215
0
0
0
0
0.4375
1
0.1875
false
0
0.0625
0.0625
0.395833
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
1
0
0
0
0
0
0
0
0
0
3
ce9e402973e2cfeb24237745cb68e27f8bb1a25f
72
py
Python
lxml2json/__init__.py
meteozond/lxml2json
502b3512dcb0ae034469a2cedd7661a4801c4425
[ "MIT" ]
null
null
null
lxml2json/__init__.py
meteozond/lxml2json
502b3512dcb0ae034469a2cedd7661a4801c4425
[ "MIT" ]
null
null
null
lxml2json/__init__.py
meteozond/lxml2json
502b3512dcb0ae034469a2cedd7661a4801c4425
[ "MIT" ]
null
null
null
#!/usr/bin/env python from functions import convert name = "convert"
18
30
0.722222
10
72
5.2
0.9
0
0
0
0
0
0
0
0
0
0
0
0.166667
72
3
31
24
0.866667
0.277778
0
0
0
0
0.145833
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
cec871b2942200cdc40d51b006698874939d3556
144
py
Python
sutta_publisher/src/sutta_publisher/edition_parsers/__init__.py
suttacentral/publications
878befcfeb7af7f2f511697f2769cd00441aec57
[ "CC0-1.0" ]
1
2022-02-16T09:02:58.000Z
2022-02-16T09:02:58.000Z
sutta_publisher/src/sutta_publisher/edition_parsers/__init__.py
suttacentral/publications
878befcfeb7af7f2f511697f2769cd00441aec57
[ "CC0-1.0" ]
43
2022-02-07T11:37:29.000Z
2022-03-30T08:54:55.000Z
sutta_publisher/src/sutta_publisher/edition_parsers/__init__.py
suttacentral/publications
878befcfeb7af7f2f511697f2769cd00441aec57
[ "CC0-1.0" ]
null
null
null
from .epub import EpubEdition from .html import HtmlEdition from .pdf import PdfEdition __all__ = ["EpubEdition", "HtmlEdition", "PdfEdition"]
24
54
0.777778
16
144
6.75
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.125
144
5
55
28.8
0.857143
0
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
0c6b6942a6015b98ac3474b28a14d6d14c8b2df9
121
py
Python
G53IDS/run.py
jayBana/InventoryMan
0826f9c98062fb6600f77a721311cbf27719e528
[ "Apache-2.0" ]
null
null
null
G53IDS/run.py
jayBana/InventoryMan
0826f9c98062fb6600f77a721311cbf27719e528
[ "Apache-2.0" ]
null
null
null
G53IDS/run.py
jayBana/InventoryMan
0826f9c98062fb6600f77a721311cbf27719e528
[ "Apache-2.0" ]
null
null
null
from server.controller.app import app as webapp # import Flask app so that it can be launched with gunicorn app = webapp
30.25
59
0.793388
21
121
4.571429
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.173554
121
3
60
40.333333
0.96
0.471074
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
0c7a5201b457dc27f7c1cc8f8c9c04dfe54b1dc5
12,423
py
Python
test/unit/test_localdb.py
muchu1983/104_cameo
8c7f78de198a5bd8d870589402e3b7e8b59f520a
[ "BSD-3-Clause" ]
null
null
null
test/unit/test_localdb.py
muchu1983/104_cameo
8c7f78de198a5bd8d870589402e3b7e8b59f520a
[ "BSD-3-Clause" ]
null
null
null
test/unit/test_localdb.py
muchu1983/104_cameo
8c7f78de198a5bd8d870589402e3b7e8b59f520a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Copyright (C) 2015, MuChu Hsu Contributed by Muchu Hsu (muchu1983@gmail.com) This file is part of BSD license <https://opensource.org/licenses/BSD-3-Clause> """ import unittest import logging from cameo.localdb import LocalDbForCurrencyApi from cameo.localdb import LocalDbForTECHORANGE from...
62.115
149
0.738871
1,286
12,423
6.994557
0.133748
0.083268
0.129628
0.081712
0.751306
0.708505
0.652918
0.567538
0.500167
0.429461
0
0.00749
0.129437
12,423
199
150
62.427136
0.824226
0.018192
0
0.114286
0
0
0.186829
0.043415
0
0
0
0
0.171429
1
0.085714
false
0.114286
0.314286
0
0.428571
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
0c98a8571671f7ec771a67037041f3b8e9ba1d24
274
py
Python
tests/test_tradera.py
paeronskruven/lw
a2e4b6363656812a0857a8b2cf69be3e710afe94
[ "MIT" ]
null
null
null
tests/test_tradera.py
paeronskruven/lw
a2e4b6363656812a0857a8b2cf69be3e710afe94
[ "MIT" ]
null
null
null
tests/test_tradera.py
paeronskruven/lw
a2e4b6363656812a0857a8b2cf69be3e710afe94
[ "MIT" ]
null
null
null
import lw.sources.tradera def test_valid_query(): results = lw.sources.tradera.TraderaSource().query('a') assert len(list(results)) > 0 def test_invalid_query(): results = lw.sources.tradera.TraderaSource().query('abc123') assert len(list(results)) == 0
22.833333
64
0.70438
36
274
5.25
0.472222
0.142857
0.253968
0.222222
0.708995
0.486772
0.486772
0
0
0
0
0.021368
0.145985
274
11
65
24.909091
0.786325
0
0
0
0
0
0.025547
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0c9a4fc23573fcb066eaa1cdddfd05b22ff7fab8
10,370
py
Python
tests/__init__.py
pywikibot-catfiles/file-metadata
79c585dcb67b966f02485136c4d875d5b5365230
[ "MIT" ]
10
2016-07-15T07:07:53.000Z
2022-02-17T07:41:03.000Z
tests/__init__.py
AbdealiJK/file-metadata
79c585dcb67b966f02485136c4d875d5b5365230
[ "MIT" ]
48
2016-03-14T06:44:36.000Z
2016-07-13T00:35:54.000Z
tests/__init__.py
pywikibot-catfiles/file-metadata
79c585dcb67b966f02485136c4d875d5b5365230
[ "MIT" ]
5
2017-04-24T07:02:22.000Z
2020-12-14T06:23:57.000Z
# -*- coding: utf-8 -*- from __future__ import (division, absolute_import, unicode_literals, print_function) # flake8: noqa (unused import and line too long due to links) import os import random import string import struct import wave try: import unittest except ImportError: import u...
56.666667
250
0.73433
1,488
10,370
4.949597
0.328629
0.098574
0.179226
0.20611
0.476986
0.460014
0.460014
0.327631
0.167413
0.087576
0
0.048923
0.109065
10,370
182
251
56.978022
0.748241
0.066249
0
0.04918
0
0.270492
0.705161
0.019421
0
0
0
0
0
1
0.040984
false
0
0.114754
0.016393
0.213115
0.008197
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0cae04c95140cd33bca1362795247caf69458f47
9,770
py
Python
fugue/column/functions.py
kvnkho/fugue
5f3fe8f1fb72632e5b5987d720c1d1ef546e4682
[ "Apache-2.0" ]
547
2020-09-22T08:30:14.000Z
2022-03-30T23:11:05.000Z
fugue/column/functions.py
kvnkho/fugue
5f3fe8f1fb72632e5b5987d720c1d1ef546e4682
[ "Apache-2.0" ]
196
2020-09-22T23:08:26.000Z
2022-03-26T21:22:48.000Z
fugue/column/functions.py
kvnkho/fugue
5f3fe8f1fb72632e5b5987d720c1d1ef546e4682
[ "Apache-2.0" ]
37
2020-09-23T17:05:00.000Z
2022-03-29T18:26:52.000Z
from typing import Any, Optional import pyarrow as pa from fugue.column.expressions import ( ColumnExpr, _FuncExpr, _to_col, function, ) from triad import Schema def coalesce(*args: Any) -> ColumnExpr: """SQL ``COALESCE`` function :param args: If a value is not :class:`~fugue.column.expressi...
26.334232
80
0.572467
1,255
9,770
4.410359
0.097211
0.028907
0.03523
0.046974
0.754652
0.702981
0.682746
0.661427
0.552123
0.509846
0
0.005801
0.294268
9,770
370
81
26.405405
0.796954
0.672979
0
0.169492
0
0
0.015957
0
0
0
0
0
0.135593
1
0.254237
false
0
0.067797
0.067797
0.627119
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0cb24ca44f49e7024594f31e5eea8a2d6ed7620b
1,437
py
Python
Source Files/auth.py
clever-username/baseball-card-inventory
9940ba746072892961b7ade586e63f7deb26d2e6
[ "MIT" ]
1
2021-05-18T21:32:43.000Z
2021-05-18T21:32:43.000Z
Source Files/auth.py
clever-username/baseball-card-inventory
9940ba746072892961b7ade586e63f7deb26d2e6
[ "MIT" ]
null
null
null
Source Files/auth.py
clever-username/baseball-card-inventory
9940ba746072892961b7ade586e63f7deb26d2e6
[ "MIT" ]
2
2015-05-18T14:52:01.000Z
2015-05-19T18:21:51.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """This program prompts for a password.""" import authentication import getpass def login(username, maxattempts=3): """This function takes input from a user and checks the password. Arg: username(str): String input from user. maxattempts...
31.933333
78
0.592206
156
1,437
5.429487
0.461538
0.120425
0.134593
0.191263
0.27863
0.27863
0.198347
0
0
0
0
0.01046
0.334725
1,437
44
79
32.659091
0.875523
0.029228
0
0
0
0
0.143617
0
0
0
0
0
0
0
null
null
0.294118
0.117647
null
null
0.058824
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
0cb26210fdbce5c2de9ff66cfbeec89817eff49b
267
py
Python
tests/test_utils.py
yehzhang/dscraper
6fd1a4238795e9eb01b9dd8329a84495a70979d1
[ "Apache-2.0" ]
1
2017-08-13T09:50:06.000Z
2017-08-13T09:50:06.000Z
tests/test_utils.py
yehzhang/dscraper
6fd1a4238795e9eb01b9dd8329a84495a70979d1
[ "Apache-2.0" ]
null
null
null
tests/test_utils.py
yehzhang/dscraper
6fd1a4238795e9eb01b9dd8329a84495a70979d1
[ "Apache-2.0" ]
null
null
null
import unittest import logging import xml.etree.ElementTree as et import dscraper.utils as utils logger = logging.getLogger(__name__) class TestUtils(unittest.TestCase): XML_FILES = ( 'tests/resources/1.xml', ) def setUp(self): pass
14.833333
36
0.692884
33
267
5.454545
0.727273
0
0
0
0
0
0
0
0
0
0
0.004808
0.220974
267
17
37
15.705882
0.860577
0
0
0
0
0
0.078947
0.078947
0
0
0
0
0
1
0.090909
false
0.090909
0.363636
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
0cb8ec1c4a754eeb4820931d43bc795cf047e17e
187
py
Python
api/messages/csv_file.py
pikanezi/Roadkill
b2c69294afa4cce810fa898f3aa1cb467bffa413
[ "MIT" ]
null
null
null
api/messages/csv_file.py
pikanezi/Roadkill
b2c69294afa4cce810fa898f3aa1cb467bffa413
[ "MIT" ]
null
null
null
api/messages/csv_file.py
pikanezi/Roadkill
b2c69294afa4cce810fa898f3aa1cb467bffa413
[ "MIT" ]
null
null
null
__author__ = 'Vincent' from protorpc import messages class CsvFile(messages.Message): file = messages.BytesField(1, required=True) name = messages.StringField(2, required=False)
26.714286
50
0.759358
22
187
6.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0.012422
0.139037
187
7
50
26.714286
0.844721
0
0
0
0
0
0.037234
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
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
0cc46073749631b895fb07e8351d82807fbd6e14
2,140
py
Python
lms_app/v1/serializers/user_serializers.py
Etomovich/lms-backend
e586abc44a0e74ed28da7a77f6ef31230995c84b
[ "MIT" ]
null
null
null
lms_app/v1/serializers/user_serializers.py
Etomovich/lms-backend
e586abc44a0e74ed28da7a77f6ef31230995c84b
[ "MIT" ]
1
2021-06-02T00:45:56.000Z
2021-06-02T00:45:56.000Z
lms_app/v1/serializers/user_serializers.py
Etomovich/lms-backend
e586abc44a0e74ed28da7a77f6ef31230995c84b
[ "MIT" ]
null
null
null
from flask_restplus import Namespace, fields class UserDataModel(object): """Represents the user data transfer object.""" api = Namespace( 'user', description='user authentication and signup resources' ) this_user = api.model('Register input data', { 'username': fields.String( ...
33.4375
70
0.574299
200
2,140
6.085
0.275
0.157765
0.262942
0.197206
0.589975
0.509449
0.287592
0.118324
0.078883
0
0
0
0.309813
2,140
63
71
33.968254
0.823968
0.019159
0
0.433333
0
0
0.245103
0
0
0
0
0
0
1
0
false
0.1
0.016667
0
0.083333
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
1
0
0
0
0
0
3
0cd6ed4cd564901c9d6e6419361c7b61b1d56dfb
120
py
Python
CF_Functions/Arcade/WordPower.py
glickmac/Misc_Scripts
7e18be79b84a309a1e79935f4470ea915141938d
[ "MIT" ]
null
null
null
CF_Functions/Arcade/WordPower.py
glickmac/Misc_Scripts
7e18be79b84a309a1e79935f4470ea915141938d
[ "MIT" ]
null
null
null
CF_Functions/Arcade/WordPower.py
glickmac/Misc_Scripts
7e18be79b84a309a1e79935f4470ea915141938d
[ "MIT" ]
1
2020-07-30T17:37:12.000Z
2020-07-30T17:37:12.000Z
def wordPower(word): num = dict(zip(string.ascii_lowercase, range(1,27))) return sum([num[ch] for ch in word])
24
56
0.666667
20
120
3.95
0.85
0
0
0
0
0
0
0
0
0
0
0.030303
0.175
120
4
57
30
0.767677
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0cfc5802ff58618fd079fd5185d9edd8be7eda97
13,342
py
Python
source/rttov_test/profile-datasets-py/div83/027.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/rttov_test/profile-datasets-py/div83/027.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/rttov_test/profile-datasets-py/div83/027.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
""" Profile ../profile-datasets-py/div83/027.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div83/027.py" self["Q"] = numpy.array([ 1.51831800e+00, 2.02599600e+00, 2.94787100e+00, 3.99669400e+00, 4.71653800e+00, 4.89106600e+00, 5.1439...
57.508621
92
0.570979
2,008
13,342
3.792331
0.461155
0.008667
0.008667
0.011031
0.019961
0.013395
0.006303
0.006303
0.006303
0.006303
0
0.701882
0.267126
13,342
231
93
57.757576
0.076907
0.00712
0
0
0
0
0.018819
0.002645
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
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0cfe0c2510332685f3cc3783752192ba32a124ab
329
py
Python
PythonExercicios/ex020.py
github-felipe/ExerciciosEmPython-cursoemvideo
0045464a287f21b6245554a975588cf06c5b476d
[ "MIT" ]
null
null
null
PythonExercicios/ex020.py
github-felipe/ExerciciosEmPython-cursoemvideo
0045464a287f21b6245554a975588cf06c5b476d
[ "MIT" ]
null
null
null
PythonExercicios/ex020.py
github-felipe/ExerciciosEmPython-cursoemvideo
0045464a287f21b6245554a975588cf06c5b476d
[ "MIT" ]
null
null
null
from random import shuffle a1 = str(input('Digite o nome de um aluno: ')) a2 = str(input('Digite o nome de outro aluno: ')) a3 = str(input('Digite o nome de mais outro aluno: ')) a4 = str(input('Digite o nome do último aluno: ')) lista = [a1, a2, a3, a4] shuffle(lista) print(f'A ordem de apresentação é: \033[34m{lista}...
36.555556
58
0.680851
60
329
3.733333
0.5
0.142857
0.25
0.267857
0.366071
0.28125
0
0
0
0
0
0.058182
0.164134
329
8
59
41.125
0.756364
0
0
0
0
0
0.519757
0.06383
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
0b3f444aab07f3ace7008a9a2f44f279835a4a8e
25,437
py
Python
analyses/seasonality_paper_st/lai_only/shap_interaction/model_analysis_shap_interaction_1.py
akuhnregnier/wildfire-analysis
a04deada145cec864051d2fb15aec1a53a0246b9
[ "MIT" ]
null
null
null
analyses/seasonality_paper_st/lai_only/shap_interaction/model_analysis_shap_interaction_1.py
akuhnregnier/wildfire-analysis
a04deada145cec864051d2fb15aec1a53a0246b9
[ "MIT" ]
null
null
null
analyses/seasonality_paper_st/lai_only/shap_interaction/model_analysis_shap_interaction_1.py
akuhnregnier/wildfire-analysis
a04deada145cec864051d2fb15aec1a53a0246b9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os from pathlib import Path from wildfires.utils import handle_array_job_args try: # This will only work after the path modification carried out in the job script. from specific import ( CACHE_DIR, SimpleCache, get_model, da...
14.16314
84
0.298306
1,926
25,437
3.904465
0.949637
0.005319
0.006782
0.008378
0.02008
0.009043
0
0
0
0
0
0.704385
0.627904
25,437
1,795
85
14.171031
0.090122
0.007116
0
0
0
0
0.004402
0.002181
0
0
0
0
0
1
0.001126
false
0
0.002815
0.000563
0.004505
0.000563
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
0b4cc6aa957df616a9c14313fa9b9ee7ec6d0837
1,434
py
Python
calculators/static_dipolar_couplings/dcc.py
jlorieau/nmr
15224342a9277da8b02e10027644c86ac3769db1
[ "MIT" ]
null
null
null
calculators/static_dipolar_couplings/dcc.py
jlorieau/nmr
15224342a9277da8b02e10027644c86ac3769db1
[ "MIT" ]
null
null
null
calculators/static_dipolar_couplings/dcc.py
jlorieau/nmr
15224342a9277da8b02e10027644c86ac3769db1
[ "MIT" ]
null
null
null
from math import pi u0 = 4.*pi*1E-7 # T m /A hbar = 1.0545718E-34 # J s # 1 T = kg s^-2 A-1 = J A^-1 m^-2 g = { '1H' : 267.513E6, # rad T^-1 s^-1 '13C': 67.262E6, '15N': -27.116E6, 'e': 176086E6 } # nuc_i, nuc_j: nucleus string. ex: '1H' # r_ij: distance in Angstroms DCC = lambda nuc_i, nuc_j, ...
34.142857
89
0.502092
299
1,434
2.377926
0.247492
0.050633
0.084388
0.168776
0.548523
0.492264
0.405063
0.181435
0
0
0
0.177885
0.129707
1,434
41
90
34.97561
0.391827
0.085774
0
0.214286
0
0
0.307515
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0.642857
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0b7345be2719bd8b7fdccdbf2d4ec3d3cec346b7
314
py
Python
Lower_Upper_Counter/Lower_Upper_Counter.py
GracjanBuczek/Python
655801ae58ed7ef21f7da2f69f649c556b20aaee
[ "MIT" ]
null
null
null
Lower_Upper_Counter/Lower_Upper_Counter.py
GracjanBuczek/Python
655801ae58ed7ef21f7da2f69f649c556b20aaee
[ "MIT" ]
null
null
null
Lower_Upper_Counter/Lower_Upper_Counter.py
GracjanBuczek/Python
655801ae58ed7ef21f7da2f69f649c556b20aaee
[ "MIT" ]
null
null
null
x = input("Enter sentence: ") count={"Uppercase":0, "Lowercase":0} for i in x: if i.isupper(): count["Uppercase"]+=1 elif i.islower(): count["Lowercase"]+=1 else: pass print ("There is:", count["Uppercase"], "uppercases.") print ("There is:", count["Lowercase"], "lowercases.")
26.166667
54
0.582803
39
314
4.692308
0.589744
0.229508
0.131148
0.185792
0
0
0
0
0
0
0
0.016064
0.207006
314
11
55
28.545455
0.718876
0
0
0
0
0
0.350318
0
0
0
0
0
0
1
0
false
0.090909
0
0
0
0.181818
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
0b8b1ecbeb3c81d6b86bae93b7d7c89aca388a29
893
py
Python
mapclientplugins/loadcsvstep/utils/processCSV.py
mahyar-osn/mapclientplugins.loadcsvstep
2d483d4054f4c30247303e8d4eba706b70364158
[ "Apache-2.0" ]
null
null
null
mapclientplugins/loadcsvstep/utils/processCSV.py
mahyar-osn/mapclientplugins.loadcsvstep
2d483d4054f4c30247303e8d4eba706b70364158
[ "Apache-2.0" ]
null
null
null
mapclientplugins/loadcsvstep/utils/processCSV.py
mahyar-osn/mapclientplugins.loadcsvstep
2d483d4054f4c30247303e8d4eba706b70364158
[ "Apache-2.0" ]
null
null
null
import pandas as pd class ProcessCSV: """ A general class to read in and process a csv format file using pandas. """ def __init__(self, filename, delim=',', header=None, usecols=None, dtype=None, ignore=False, *args): self._filename = filename self._args = args self._df = self....
28.806452
106
0.631579
120
893
4.583333
0.433333
0.08
0.076364
0.087273
0.316364
0.316364
0.316364
0.167273
0.167273
0
0
0.002924
0.234043
893
30
107
29.766667
0.80117
0.078387
0
0
0
0
0.038605
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.176471
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0b96aaa21f422ac0c7d22576279c69b61dd42c95
154
py
Python
Test/two/payments/momo/urls.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
null
null
null
Test/two/payments/momo/urls.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
9
2020-06-05T23:53:04.000Z
2022-02-10T08:33:32.000Z
Test/two/payments/momo/urls.py
titan256/Python-Django-Assignment
9f56f69ea7182456729116e27435231925d24d11
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path , include from . import views urlpatterns = [ path('',views.index,name='index') ]
19.25
38
0.701299
20
154
5.4
0.6
0.185185
0
0
0
0
0
0
0
0
0
0
0.188312
154
8
39
19.25
0.864
0
0
0
0
0
0.032258
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
0bb9728183f6cd95e86f2c16d976742c14283f39
149
py
Python
api/urls.py
kirklennon/Clickbait
9ce97d38b3dce78ce151b285a0cc55ddbb7b58be
[ "MIT" ]
1
2020-08-29T09:31:22.000Z
2020-08-29T09:31:22.000Z
api/urls.py
kirklennon/Clickbait
9ce97d38b3dce78ce151b285a0cc55ddbb7b58be
[ "MIT" ]
null
null
null
api/urls.py
kirklennon/Clickbait
9ce97d38b3dce78ce151b285a0cc55ddbb7b58be
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('json', views.api, name='api'), ]
21.285714
40
0.644295
20
149
4.8
0.55
0
0
0
0
0
0
0
0
0
0
0
0.174497
149
7
41
21.285714
0.780488
0
0
0
0
0
0.08
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
0bc0b1a713ee07a7da22300f41d7eef91e9cf3f3
1,621
py
Python
games/migrations/0004_auto_20150726_1430.py
rnelson/library
5f327c188f2847151dcfc92de0dc4f43f24096bf
[ "MIT" ]
null
null
null
games/migrations/0004_auto_20150726_1430.py
rnelson/library
5f327c188f2847151dcfc92de0dc4f43f24096bf
[ "MIT" ]
null
null
null
games/migrations/0004_auto_20150726_1430.py
rnelson/library
5f327c188f2847151dcfc92de0dc4f43f24096bf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('games', '0003_auto_20150725_1737'), ] operations = [ migrations.AlterField( model_name='game', name=...
27.016667
60
0.52992
141
1,621
5.929078
0.304965
0.215311
0.269139
0.312201
0.759569
0.690191
0.606459
0.539474
0.419856
0.358852
0
0.019962
0.351018
1,621
59
61
27.474576
0.774715
0.012955
0
0.660377
0
0
0.08761
0.014393
0
0
0
0
0
1
0
false
0
0.037736
0
0.09434
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
f00939c44715cbb46e21a3b0bd4e2b066d1b7f29
2,549
py
Python
extras/pyrepl/console.py
dillionhacker/python222
205414c33fba8166167fd8a6a03eda1a68f16316
[ "Apache-2.0" ]
1
2019-05-27T00:58:46.000Z
2019-05-27T00:58:46.000Z
extras/pyrepl/console.py
tuankien2601/python222
205414c33fba8166167fd8a6a03eda1a68f16316
[ "Apache-2.0" ]
null
null
null
extras/pyrepl/console.py
tuankien2601/python222
205414c33fba8166167fd8a6a03eda1a68f16316
[ "Apache-2.0" ]
null
null
null
# Copyright 2000-2004 Michael Hudson mwh@python.net # # All Rights Reserved # # # Permission to use, copy, modify, and distribute this software and # its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice appear in all copies and # that both ...
27.117021
71
0.634759
339
2,549
4.737463
0.460177
0.056663
0.020548
0.022416
0
0
0
0
0
0
0
0.004934
0.284425
2,549
93
72
27.408602
0.875548
0.595135
0
0.388889
0
0
0.014461
0
0
0
0
0
0
1
0.444444
false
0.388889
0
0.027778
0.527778
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
f015bf5e2e71b04cd941a3ba7f14c687b44c2b00
263
py
Python
apps/transactions/__init__.py
lsdlab/djshop_toturial
6d450225cc05e6a1ecd161de2b522e1af0b68cc0
[ "MIT" ]
null
null
null
apps/transactions/__init__.py
lsdlab/djshop_toturial
6d450225cc05e6a1ecd161de2b522e1af0b68cc0
[ "MIT" ]
6
2020-06-07T15:18:58.000Z
2021-09-22T19:07:33.000Z
apps/transactions/__init__.py
lsdlab/djshop_toturial
6d450225cc05e6a1ecd161de2b522e1af0b68cc0
[ "MIT" ]
null
null
null
from django.apps import AppConfig class TransactionsConfig(AppConfig): name = 'apps.transactions' verbose_name = "Transactions" def ready(self): import apps.transactions.signals default_app_config = 'apps.transactions.TransactionsConfig'
20.230769
59
0.752852
27
263
7.222222
0.62963
0.246154
0
0
0
0
0
0
0
0
0
0
0.1673
263
12
60
21.916667
0.890411
0
0
0
0
0
0.247148
0.136882
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.857143
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
f01e36c7e52b2f29e3153f9812f722135e5763dd
2,483
py
Python
Curso em Video/D_045.py
tonmarcondes/UNIVESP
a66a623d4811e8f3f9e2999f09e38a4470035ae2
[ "MIT" ]
null
null
null
Curso em Video/D_045.py
tonmarcondes/UNIVESP
a66a623d4811e8f3f9e2999f09e38a4470035ae2
[ "MIT" ]
null
null
null
Curso em Video/D_045.py
tonmarcondes/UNIVESP
a66a623d4811e8f3f9e2999f09e38a4470035ae2
[ "MIT" ]
null
null
null
import random cor = { 'fim':'\033[m', 'amarelo':'\033[1;033m', 'vermelho':'\033[1;031m', 'vermelhof':'\033[7;031m', 'azul':'\033[1;034m', 'verde':'\033[1;32m', 'verdef':'\033[7;32m', 'branco':'\033[1;030m' } print(''' Escolha uma das opções abaixo: \t {}1{} {...
42.084746
114
0.515103
365
2,483
3.50411
0.153425
0.136044
0.197029
0.239249
0.724003
0.695856
0.695856
0.695856
0.67631
0.67631
0
0.038854
0.170761
2,483
58
115
42.810345
0.582322
0
0
0.365385
0
0
0.405528
0
0
0
0
0
0
1
0
false
0
0.019231
0
0.019231
0.307692
0
0
0
null
0
1
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
0
0
0
0
0
0
0
3
f022af95545ca83849a19b9cfbeb75f2ed9c4fd0
181
py
Python
transitfeed_web/__init__.py
ed-g/transitfeed_web
1e9be7152823641c450612b27cace99a1efe0b4f
[ "Apache-2.0" ]
null
null
null
transitfeed_web/__init__.py
ed-g/transitfeed_web
1e9be7152823641c450612b27cace99a1efe0b4f
[ "Apache-2.0" ]
null
null
null
transitfeed_web/__init__.py
ed-g/transitfeed_web
1e9be7152823641c450612b27cace99a1efe0b4f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 import sys import transitfeed import run_transitfeed_web_server import util def main(): print ("Hello, world.") if __name__ == '__main__': main()
12.928571
33
0.707182
24
181
4.875
0.75
0
0
0
0
0
0
0
0
0
0
0.006711
0.176796
181
13
34
13.923077
0.778523
0.116022
0
0
0
0
0.132911
0
0
0
0
0
0
1
0.125
true
0
0.5
0
0.625
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
f023dd97d1d559d5d0d17b6855fef5c568625d43
236
py
Python
loadenv.py
Natsu-dev/otenki
d962d44737a68a4751fd58051a670be4ecf852ce
[ "MIT" ]
null
null
null
loadenv.py
Natsu-dev/otenki
d962d44737a68a4751fd58051a670be4ecf852ce
[ "MIT" ]
null
null
null
loadenv.py
Natsu-dev/otenki
d962d44737a68a4751fd58051a670be4ecf852ce
[ "MIT" ]
null
null
null
import os from os.path import join, dirname from dotenv import load_dotenv load_dotenv(verbose=True) dotenv_path = join(dirname(__file__), '.env') load_dotenv(verbose=True, dotenv_path=dotenv_path) TOKEN = os.getenv('DISCORD_TOKEN')
21.454545
50
0.792373
36
236
4.888889
0.416667
0.170455
0.193182
0.238636
0.352273
0.352273
0
0
0
0
0
0
0.101695
236
10
51
23.6
0.830189
0
0
0
0
0
0.072034
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
f029112ff9d652c6d8e36f9059cb703264d4ebbd
739
py
Python
Hartree-Fock_H2/utils.py
WonhoZhung/CH502
c64a174fe7218e6e86c84c73e6df441fb5074211
[ "MIT" ]
null
null
null
Hartree-Fock_H2/utils.py
WonhoZhung/CH502
c64a174fe7218e6e86c84c73e6df441fb5074211
[ "MIT" ]
null
null
null
Hartree-Fock_H2/utils.py
WonhoZhung/CH502
c64a174fe7218e6e86c84c73e6df441fb5074211
[ "MIT" ]
null
null
null
#---------------------------------------------------------------------- # Basis Set Exchange # Version v0.8.13 # https://www.basissetexchange.org #---------------------------------------------------------------------- # Basis set: STO-3G # Description: STO-3G Minimal Basis (3 functions/AO) # Role: orbital # ...
35.190476
71
0.460081
75
739
4.506667
0.64
0.035503
0
0
0
0
0
0
0
0
0
0.248796
0.156969
739
20
72
36.95
0.29374
0.810555
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f02f263b4792b69303bcdec39c484284dc805802
1,221
py
Python
src/prefect/engine/result_handlers/secret_result_handler.py
trapped/prefect
128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7
[ "Apache-2.0" ]
1
2019-12-20T07:43:55.000Z
2019-12-20T07:43:55.000Z
src/prefect/engine/result_handlers/secret_result_handler.py
trapped/prefect
128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7
[ "Apache-2.0" ]
null
null
null
src/prefect/engine/result_handlers/secret_result_handler.py
trapped/prefect
128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7
[ "Apache-2.0" ]
null
null
null
import json from typing import Any import prefect from prefect.engine.result_handlers import ResultHandler class SecretResultHandler(ResultHandler): """ Hook for storing and retrieving sensitive task results from a Secret store. Only intended to be used for Secret tasks. Args: - secret_task ...
27.133333
104
0.626536
152
1,221
4.934211
0.388158
0.093333
0.074667
0.032
0.117333
0
0
0
0
0
0
0
0.299754
1,221
44
105
27.75
0.877193
0.489762
0
0
0
0
0.0587
0.0587
0
0
0
0
0
1
0.25
false
0
0.333333
0
0.833333
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
1
0
1
0
0
3
f03f530e1dc98bcc4544ec79667fa0181fc768d4
373
py
Python
tests/data_elements/test_other_double.py
GalBenZvi/dicom_parser
fc3e892ebf99c4e5d62cb5e7de7df341baf445fe
[ "MIT" ]
11
2020-08-08T21:41:54.000Z
2021-07-27T12:48:31.000Z
tests/data_elements/test_other_double.py
GalBenZvi/dicom_parser
fc3e892ebf99c4e5d62cb5e7de7df341baf445fe
[ "MIT" ]
45
2020-03-03T14:32:16.000Z
2021-07-30T16:42:17.000Z
tests/data_elements/test_other_double.py
GalBenZvi/dicom_parser
fc3e892ebf99c4e5d62cb5e7de7df341baf445fe
[ "MIT" ]
6
2021-10-19T09:19:22.000Z
2022-03-13T19:26:10.000Z
""" Definition of the :class:`OtherDoubleTestCase` class. """ from dicom_parser.data_elements.other_double import OtherDouble from tests.test_data_element import DataElementTestCase class OtherDoubleTestCase(DataElementTestCase): """ Tests for the :class:`~dicom_parser.data_elements.other_double.OtherDoub...
23.3125
65
0.766756
40
373
6.925
0.475
0.057762
0.108303
0.166065
0.245487
0.245487
0
0
0
0
0
0
0.144772
373
15
66
24.866667
0.868339
0.364611
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
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
f076d7596035ea99f16b2ee688410ac4e2c0be9a
2,292
py
Python
tests/coro.py
dshean/sliderule-python
3cf9a6c65987705354cb536d71f85a32fbb24d15
[ "BSD-3-Clause" ]
1
2021-04-09T22:01:33.000Z
2021-04-09T22:01:33.000Z
tests/coro.py
dshean/sliderule-python
3cf9a6c65987705354cb536d71f85a32fbb24d15
[ "BSD-3-Clause" ]
null
null
null
tests/coro.py
dshean/sliderule-python
3cf9a6c65987705354cb536d71f85a32fbb24d15
[ "BSD-3-Clause" ]
null
null
null
# python import sys import h5coro ############################################################################### # DATA ############################################################################### # set resource resource = "file:///data/ATLAS/ATL06_20200714160647_02950802_003_01.h5" # expected single read h_li_e...
38.2
149
0.505236
244
2,292
4.516393
0.377049
0.040835
0.095281
0.101633
0.375681
0.375681
0.22323
0.22323
0.183303
0.136116
0
0.205087
0.193717
2,292
59
150
38.847458
0.391234
0.066318
0
0.125
0
0
0.216838
0.153846
0
0
0
0
0
1
0.03125
false
0.0625
0.0625
0
0.21875
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b2cabd96c3fc001d2729753488a402fc76f755f0
8,187
py
Python
tests/test_skipping.py
pytask-dev/pytask
b6769b48abda44c6261b9a7b58865f8844423c13
[ "MIT" ]
41
2020-07-24T15:19:19.000Z
2022-03-17T17:40:57.000Z
tests/test_skipping.py
pytask-dev/pytask
b6769b48abda44c6261b9a7b58865f8844423c13
[ "MIT" ]
240
2020-06-26T21:37:49.000Z
2022-03-31T08:56:56.000Z
tests/test_skipping.py
pytask-dev/pytask
b6769b48abda44c6261b9a7b58865f8844423c13
[ "MIT" ]
null
null
null
import textwrap from contextlib import ExitStack as does_not_raise # noqa: N813 import pytest from _pytask.mark import Mark from _pytask.outcomes import Skipped from _pytask.outcomes import SkippedAncestorFailed from _pytask.outcomes import SkippedUnchanged from _pytask.skipping import pytask_execute_task_setup from ...
30.662921
88
0.696836
1,104
8,187
4.953804
0.116848
0.040958
0.117755
0.078991
0.771622
0.749497
0.729384
0.672335
0.65021
0.626257
0
0.010268
0.167338
8,187
266
89
30.778195
0.791991
0.010138
0
0.65534
0
0
0.296369
0.094097
0
0
0
0
0.281553
1
0.048544
false
0.029126
0.087379
0
0.145631
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b2cf11ab3d7e9318bb55599575d25a729b83ace2
319
py
Python
mayan/apps/dependencies/permissions.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
2
2021-09-12T19:41:19.000Z
2021-09-12T19:41:20.000Z
mayan/apps/dependencies/permissions.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
37
2021-09-13T01:00:12.000Z
2021-10-02T03:54:30.000Z
mayan/apps/dependencies/permissions.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
1
2021-09-22T13:17:30.000Z
2021-09-22T13:17:30.000Z
from django.utils.translation import ugettext_lazy as _ from mayan.apps.permissions import PermissionNamespace namespace = PermissionNamespace(label=_('Dependencies'), name='dependencies') permission_dependencies_view = namespace.add_permission( label=_('View dependencies'), name='dependencies_view' )
31.9
78
0.793103
32
319
7.65625
0.59375
0.130612
0.228571
0
0
0
0
0
0
0
0
0
0.115987
319
9
79
35.444444
0.868794
0
0
0
0
0
0.187097
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
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
b2d75b157f57c7832de3185889e5c4f8fbd90377
234
py
Python
faketranslate/metadata.py
HeywoodKing/faketranslate
683821eccd0004305c9f1bbfa0aae16f5fbcd829
[ "MIT" ]
null
null
null
faketranslate/metadata.py
HeywoodKing/faketranslate
683821eccd0004305c9f1bbfa0aae16f5fbcd829
[ "MIT" ]
null
null
null
faketranslate/metadata.py
HeywoodKing/faketranslate
683821eccd0004305c9f1bbfa0aae16f5fbcd829
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ @File : metadata.py @Time : 2020/1/1 @Author : flack @Email : opencoding@hotmail.com @ide : PyCharm @project : faketranslate @description : 描述 """
23.4
40
0.491453
22
234
5.227273
0.954545
0
0
0
0
0
0
0
0
0
0
0.04698
0.363248
234
10
41
23.4
0.724832
0.961538
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b2d93cfb63dcf1ebc579a1abfad61711545c68bf
628
py
Python
app/main/controller/sample_controller.py
Eliotdoesprogramming/python.flask.sqlalchemy.Rest_Api_Template
3f0a98ae4676aef9ecdf0df70eb9d1990fee6182
[ "MIT" ]
null
null
null
app/main/controller/sample_controller.py
Eliotdoesprogramming/python.flask.sqlalchemy.Rest_Api_Template
3f0a98ae4676aef9ecdf0df70eb9d1990fee6182
[ "MIT" ]
null
null
null
app/main/controller/sample_controller.py
Eliotdoesprogramming/python.flask.sqlalchemy.Rest_Api_Template
3f0a98ae4676aef9ecdf0df70eb9d1990fee6182
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from service.api_service import Service class SampleController(object): def __init__(self,app:Flask,db:SQLAlchemy,service:Service) -> None: self.app=app self.db=db self.service=service self.add_routes(app) def add_ro...
39.25
80
0.703822
86
628
4.94186
0.302326
0.049412
0.056471
0.061176
0.258824
0.127059
0
0
0
0
0
0
0.179936
628
16
81
39.25
0.825243
0
0
0
0
0
0.036566
0
0
0
0
0
0
1
0.25
false
0
0.1875
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b2e1c343a37dcd72cd8cbdfb5d12721802108339
296
py
Python
digin/leads/views.py
yhung119/cs411-digin
55e884ff0c26ca06056219e6cb641dc1ceae1f56
[ "Apache-2.0" ]
null
null
null
digin/leads/views.py
yhung119/cs411-digin
55e884ff0c26ca06056219e6cb641dc1ceae1f56
[ "Apache-2.0" ]
null
null
null
digin/leads/views.py
yhung119/cs411-digin
55e884ff0c26ca06056219e6cb641dc1ceae1f56
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from leads.models import Lead from leads.serializers import LeadSerializer from rest_framework import generics # Create your views here. class LeadListCreate(generics.ListCreateAPIView): queryset = Lead.objects.all() serializer_class = LeadSerializer
29.6
49
0.820946
35
296
6.885714
0.685714
0.074689
0
0
0
0
0
0
0
0
0
0
0.128378
296
9
50
32.888889
0.934109
0.077703
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b2eaad3cf6ba61735dc17fc8cd249e0de4bd056b
8,879
py
Python
examples/json_serializer.py
trisongz/lazycls
701bad1a358ed3bb136347d0c5eb81de3201f6a3
[ "MIT" ]
2
2021-12-02T00:13:16.000Z
2022-02-26T11:18:33.000Z
examples/json_serializer.py
trisongz/lazycls
701bad1a358ed3bb136347d0c5eb81de3201f6a3
[ "MIT" ]
null
null
null
examples/json_serializer.py
trisongz/lazycls
701bad1a358ed3bb136347d0c5eb81de3201f6a3
[ "MIT" ]
null
null
null
""" This test will show how to use the various Json serializer(s) """ from lazy.io.pathz import get_path from lazy.serialize import SimdJson, OrJson, Json, Serializer from lazy.utils import get_logger, timer logger = get_logger('lazytest') test_file = './files/naics_codes.json' test_path = get_path(test_file, resolve...
75.245763
1,231
0.582273
1,102
8,879
4.629764
0.553539
0.032928
0.037632
0.053312
0.271854
0.221286
0.179341
0.170717
0.170717
0.170717
0
0.384213
0.139655
8,879
117
1,232
75.888889
0.283676
0.009911
0
0.324324
0
0.121622
0.545967
0.027696
0
0
0
0
0
1
0.054054
false
0
0.040541
0
0.108108
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b2fa730dbd73b043c294390890c9c13d76abf7ce
1,685
py
Python
tests/stdlib_test.py
misantroop/jsonpickle
97f4a05ccffe8593458b4b787c3fc97622f23cec
[ "BSD-3-Clause" ]
null
null
null
tests/stdlib_test.py
misantroop/jsonpickle
97f4a05ccffe8593458b4b787c3fc97622f23cec
[ "BSD-3-Clause" ]
1
2019-04-03T20:19:40.000Z
2019-04-03T20:19:40.000Z
tests/stdlib_test.py
parsons-kyle-89/jsonpickle
2828dd4a247bbae9d37a3d78194caaaeadeb2ed2
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Test miscellaneous objects from the standard library""" import uuid import unittest import jsonpickle class UUIDTestCase(unittest.TestCase): def test_random_uuid(self): u = uuid.uuid4() encoded = jsonpickle.encode(u) decoded = jsonpickle.decode(encoded) ...
30.089286
70
0.629674
219
1,685
4.785388
0.273973
0.269084
0.326336
0.332061
0.329198
0.280534
0.277672
0.175573
0.157443
0.122137
0
0.131008
0.234421
1,685
55
71
30.636364
0.681395
0.04451
0
0.184211
0
0.184211
0.262469
0.254364
0
0
0
0
0.078947
1
0.105263
false
0
0.078947
0
0.263158
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
b2fd53048e194cb59b5b4420a7e50d932868c531
1,878
py
Python
glance/rpc/common.py
Quinton/glance
7674bc8963a3bec21f719c48f40e8a3fc0846e6f
[ "Apache-2.0" ]
5
2017-04-23T05:50:36.000Z
2019-03-12T09:45:20.000Z
glance/rpc/common.py
Quinton/glance
7674bc8963a3bec21f719c48f40e8a3fc0846e6f
[ "Apache-2.0" ]
null
null
null
glance/rpc/common.py
Quinton/glance
7674bc8963a3bec21f719c48f40e8a3fc0846e6f
[ "Apache-2.0" ]
2
2018-08-16T11:41:18.000Z
2018-10-21T06:56:50.000Z
#!/usr/bin/env python #encode=utf-8 #vim: tabstop=4 shiftwidth=4 softtabstop=4 #Created on 2013-8-17 #Copyright 2013 nuoqingyun xuqifeng import copy import logging import traceback class RPCException(Exception): message = "An Unknown RPC related exception occurred" def __init__(self, messa...
22.357143
73
0.596912
193
1,878
5.621762
0.455959
0.03871
0.099539
0.025806
0
0
0
0
0
0
0
0.011637
0.313632
1,878
83
74
22.626506
0.830101
0.067625
0
0.170732
0
0
0.100679
0.014824
0
0
0
0
0
1
0.219512
false
0.073171
0.073171
0
0.512195
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
6502f4ca30fdd305a49eeefeb8dc2c19d45c0e83
2,598
py
Python
dit/divergences/tests/test_jensen_shannon_divergence.py
chebee7i/dit
59626e34c7938fddeec140522dd2a592ba4f42ef
[ "BSD-2-Clause" ]
null
null
null
dit/divergences/tests/test_jensen_shannon_divergence.py
chebee7i/dit
59626e34c7938fddeec140522dd2a592ba4f42ef
[ "BSD-2-Clause" ]
null
null
null
dit/divergences/tests/test_jensen_shannon_divergence.py
chebee7i/dit
59626e34c7938fddeec140522dd2a592ba4f42ef
[ "BSD-2-Clause" ]
null
null
null
""" Tests for dit.divergences.jensen_shannon_divergence. """ from nose.tools import assert_almost_equal, assert_raises from dit import Distribution from dit.exceptions import ditException from dit.divergences.jensen_shannon_divergence import ( jensen_shannon_divergence as JSD, jensen_shannon_divergence_pmf as...
30.928571
73
0.624326
432
2,598
3.631944
0.157407
0.050988
0.043977
0.048439
0.807521
0.758445
0.738687
0.674952
0.590822
0.463352
0
0.107108
0.209392
2,598
83
74
31.301205
0.656767
0.243264
0
0.482143
0
0
0.010571
0
0
0
0
0
0.214286
1
0.196429
false
0
0.071429
0
0.267857
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
6506db5995970d6837a7164f54f13ccdaecfc008
1,651
py
Python
steampipe_alchemy/models/aws_route53_resolver_rule.py
RyanJarv/steampipe_alchemy
c8a31303252c1bd8d83d0f9c429d7d0ef7e1690f
[ "BSD-3-Clause" ]
9
2021-04-21T04:21:01.000Z
2021-06-19T19:33:36.000Z
steampipe_alchemy/models/aws_route53_resolver_rule.py
RyanJarv/steampipe_alchemy
c8a31303252c1bd8d83d0f9c429d7d0ef7e1690f
[ "BSD-3-Clause" ]
null
null
null
steampipe_alchemy/models/aws_route53_resolver_rule.py
RyanJarv/steampipe_alchemy
c8a31303252c1bd8d83d0f9c429d7d0ef7e1690f
[ "BSD-3-Clause" ]
1
2021-04-26T21:08:20.000Z
2021-04-26T21:08:20.000Z
from sqlalchemy import Column from sqlalchemy.types import JSON, Text, Boolean, TIMESTAMP, BigInteger from sqlalchemy.dialects import postgresql as psql from steampipe_alchemy.mixins import FormatMixins from steampipe_alchemy import Base class AwsRoute53ResolverRule(Base, FormatMixins): __tablename__ = 'aws_route...
53.258065
90
0.740763
207
1,651
5.705314
0.2657
0.223539
0.216765
0.076207
0
0
0
0
0
0
0
0.002827
0.142944
1,651
31
91
53.258065
0.831802
0
0
0
0
0
0.1477
0.030872
0
0
0
0
0
1
0
false
0
0.172414
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
650d548dfcf197b677b3b51c6953dea2bc1cb40b
305
py
Python
codes/Ex036.py
BelfortJoao/Curso-phyton01
79376233be228f39bf548f90b8d9bd5419ac067a
[ "MIT" ]
3
2021-08-17T14:02:14.000Z
2021-08-19T02:37:30.000Z
codes/Ex036.py
BelfortJoao/Curso-phyton01
79376233be228f39bf548f90b8d9bd5419ac067a
[ "MIT" ]
null
null
null
codes/Ex036.py
BelfortJoao/Curso-phyton01
79376233be228f39bf548f90b8d9bd5419ac067a
[ "MIT" ]
null
null
null
x = float(input('Qual o valor da casa que quer comprar? ')) y = int(input("em quantos anos quer comprar a casa? ")) z = int(input("Qual seu salario? ")) w = y*12 if x / w > (z/100)*30: print("Voce não pode comprar a casa") else: print('Voce pode comprar a casa a parcela é de {:.2f}'.format(x/y))
33.888889
71
0.636066
58
305
3.344828
0.603448
0.123711
0.185567
0.164948
0
0
0
0
0
0
0
0.032787
0.2
305
8
72
38.125
0.762295
0
0
0
0
0
0.55082
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
6514ff55c2d00ee1deed3eaa7d8b92b095c218ad
141
py
Python
featureflags/__init__.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
featureflags/__init__.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
featureflags/__init__.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
"""Top-level package for Feature Flag Server SDK.""" __author__ = """Enver Bisevac""" __email__ = "enver@bisevac.com" __version__ = "0.1.0"
23.5
52
0.695035
19
141
4.526316
0.842105
0.27907
0
0
0
0
0
0
0
0
0
0.02439
0.12766
141
5
53
28.2
0.674797
0.326241
0
0
0
0
0.393258
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
65192f76bf69dd1b91580c7c3d8c5be7720e2e54
410
py
Python
peerplays/blockchainobject.py
farisshajahan/python-peerplays
260e43d39307554f5c35574fe7a6f5451a51697f
[ "MIT" ]
10
2019-03-14T03:09:42.000Z
2021-03-17T10:20:05.000Z
peerplays/blockchainobject.py
farisshajahan/python-peerplays
260e43d39307554f5c35574fe7a6f5451a51697f
[ "MIT" ]
8
2019-04-02T17:07:20.000Z
2020-04-30T08:24:01.000Z
peerplays/blockchainobject.py
farisshajahan/python-peerplays
260e43d39307554f5c35574fe7a6f5451a51697f
[ "MIT" ]
4
2019-04-02T17:00:22.000Z
2021-08-09T11:28:20.000Z
# -*- coding: utf-8 -*- from .instance import BlockchainInstance from graphenecommon.blockchainobject import ( BlockchainObject as GrapheneBlockchainObject, BlockchainObjects as GrapheneBlockchainObjects, ObjectCache, ) @BlockchainInstance.inject class BlockchainObject(GrapheneBlockchainObject): pass ...
22.777778
51
0.807317
30
410
11.033333
0.566667
0.145015
0.175227
0
0
0
0
0
0
0
0
0.002801
0.129268
410
17
52
24.117647
0.92437
0.05122
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
0.166667
0
0.333333
0
0
0
1
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
1
0
0
0
0
0
3
65411b851445a48f4001d24e9d3426293a327569
243
py
Python
src/data_curation/dataset_manager/views.py
NovaSBE-DSKC/retention-evaluation
5b68b9282f0b5479a9dc5238faef68067c76b861
[ "MIT" ]
null
null
null
src/data_curation/dataset_manager/views.py
NovaSBE-DSKC/retention-evaluation
5b68b9282f0b5479a9dc5238faef68067c76b861
[ "MIT" ]
null
null
null
src/data_curation/dataset_manager/views.py
NovaSBE-DSKC/retention-evaluation
5b68b9282f0b5479a9dc5238faef68067c76b861
[ "MIT" ]
null
null
null
from src.data_curation.dataset_manager import get_meta import pandas as pd def view_all(): return get_meta() def get_docs(id): df = get_meta() docs = df[df["id"] == id]["docs"].iloc[0] df = pd.read_json(docs) return df
17.357143
54
0.654321
41
243
3.682927
0.560976
0.139073
0
0
0
0
0
0
0
0
0
0.005208
0.209877
243
13
55
18.692308
0.78125
0
0
0
0
0
0.024691
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
654ad9f66cc00d76dc7800cff09e9d14c95e20e3
2,259
py
Python
tpdatasrc/tpgamefiles/rules/char_class/class020_archmage.py
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
tpdatasrc/tpgamefiles/rules/char_class/class020_archmage.py
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
tpdatasrc/tpgamefiles/rules/char_class/class020_archmage.py
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
from toee import * import char_class_utils ################################################### def GetConditionName(): return "Archmage" def GetSpellCasterConditionName(): return "Archmage Spellcasting" def GetCategory(): return "Core 3.5 Ed Prestige Classes" def GetClassDefinitionFlags(): return CDF_CoreClass...
20.916667
135
0.736609
292
2,259
5.482877
0.386986
0.03935
0.03123
0.022486
0.12867
0.12867
0.12867
0.09619
0.09619
0.09619
0
0.021211
0.144312
2,259
108
136
20.916667
0.807036
0.076583
0
0.27027
0
0
0.035336
0
0
0
0
0.009259
0
1
0.283784
false
0
0.027027
0.243243
0.702703
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
e8df842f0c6982487b7ca3ace562a894cc9d1940
606
py
Python
exposures/generate_passwords.py
jarnoln/exposures
bbae3f79078048d25b77e178db6c0801ffe9f97e
[ "MIT" ]
null
null
null
exposures/generate_passwords.py
jarnoln/exposures
bbae3f79078048d25b77e178db6c0801ffe9f97e
[ "MIT" ]
null
null
null
exposures/generate_passwords.py
jarnoln/exposures
bbae3f79078048d25b77e178db6c0801ffe9f97e
[ "MIT" ]
null
null
null
#!/usr/bin/env python import random import argparse def generate_passwords(password_file_path): password_file = open(password_file_path, 'w') chars = 'abcdefghijklmnopqrstuvxyz01234567890_-!*' secret_key = ''.join(random.SystemRandom().choice(chars) for _ in range(50)) password_file.write("SECRET_KEY ...
31.894737
88
0.737624
75
606
5.586667
0.586667
0.229117
0.152745
0
0
0
0
0
0
0
0
0.025
0.141914
606
18
89
33.666667
0.780769
0.033003
0
0
1
0
0.205128
0.068376
0
0
0
0
0
1
0.076923
false
0.461538
0.153846
0
0.230769
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
330000bbbc4cd1509f76a97c2471648387f8c603
332
py
Python
src/data/dbConnection.py
leonardoleyva/api-agenda-uas
697740a0a3feebb2ada01133db020fcf5127e1de
[ "MIT" ]
1
2022-03-13T02:28:29.000Z
2022-03-13T02:28:29.000Z
src/data/dbConnection.py
leonardoleyva/api-agenda-uas
697740a0a3feebb2ada01133db020fcf5127e1de
[ "MIT" ]
null
null
null
src/data/dbConnection.py
leonardoleyva/api-agenda-uas
697740a0a3feebb2ada01133db020fcf5127e1de
[ "MIT" ]
null
null
null
from firebase_admin import firestore from google.cloud.firestore_v1.base_client import BaseClient from ..core.app import App class DBConnection(App): def __init__(self) -> None: super().__init__() self.__db: BaseClient = firestore.client() def getDBInstance(self) -> BaseClient: retur...
23.714286
60
0.710843
40
332
5.525
0.575
0.072398
0
0
0
0
0
0
0
0
0
0.003745
0.195783
332
13
61
25.538462
0.82397
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0.111111
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
1
0
0
1
1
0
0
0
3
331719a2a5a244761348d8660d5c741b1f74d90f
2,921
py
Python
tests/test1.py
pedroramaciotti/Cloudtropy
bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2
[ "MIT" ]
null
null
null
tests/test1.py
pedroramaciotti/Cloudtropy
bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2
[ "MIT" ]
null
null
null
tests/test1.py
pedroramaciotti/Cloudtropy
bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2
[ "MIT" ]
1
2021-03-10T14:04:04.000Z
2021-03-10T14:04:04.000Z
import numpy as np import matplotlib.pyplot as plt from mpl_toolkits import mplot3d # from scipy.stats import entropy import sys sys.path.append('../') import cloudtropy # data gen_dim = 2 gen_N = 300 lims = (-2,6) scale = 0.2 X = np.random.uniform(low=lims[0],high=lims[1],size=(10000,2)) # background X = np.co...
27.819048
94
0.680589
553
2,921
3.479204
0.220615
0.031185
0.045738
0.043659
0.808212
0.740644
0.694387
0.694387
0.685031
0.612266
0
0.065556
0.075659
2,921
104
95
28.086538
0.647037
0.148922
0
0.45
0
0
0.062114
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.016667
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
331dc380a0542f7715a2dea44ae9eaa75a2bf837
193
py
Python
RecoLocalCalo/HGCalRecProducers/python/HeterogeneousHEBRecHitGPUtoSoA_cfi.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoLocalCalo/HGCalRecProducers/python/HeterogeneousHEBRecHitGPUtoSoA_cfi.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoLocalCalo/HGCalRecProducers/python/HeterogeneousHEBRecHitGPUtoSoA_cfi.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms HEBRecHitGPUtoSoAProd = cms.EDProducer('HEBRecHitGPUtoSoA', HEBRecHitGPUTok = cms.InputTag('HEBRecHitGPUProd'))
38.6
90
0.663212
14
193
9.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.259067
193
4
91
48.25
0.895105
0
0
0
0
0
0.170984
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
33270a402f92d2ec94e2db647e7c5d239b6f78fe
3,733
py
Python
temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # GetOneRelationship # Retrieves information about any known relationship between two entities in LittleSis according their IDs. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under...
40.139785
205
0.699437
436
3,733
5.912844
0.385321
0.013576
0.021722
0.040341
0.171451
0.056245
0.056245
0
0
0
0
0.006246
0.185106
3,733
92
206
40.576087
0.841223
0.4854
0
0
0
0
0.055063
0.031646
0
0
0
0
0
1
0.344828
false
0
0.172414
0.172414
0.862069
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
3327fef21614dc3511498e572fb63b8ff5adf0a3
9,385
py
Python
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
8
2020-05-29T13:48:35.000Z
2021-11-19T04:24:48.000Z
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
12
2020-11-13T01:36:32.000Z
2022-01-23T20:35:55.000Z
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
3
2020-10-20T06:52:45.000Z
2021-07-06T23:00:53.000Z
#!/usr/bin/env python3 """ `py.test`-driven unit test suite for the `@beartype` decorator, implementing a rudimentary subset of PEP 484-style type checking based on Python 3.x function annotations. Usage ---------- These tests assume the `@beartype` decorator and all utility functions (e.g., `_check_type_annotation()...
36.235521
84
0.613213
1,098
9,385
5.138434
0.247723
0.01737
0.029777
0.039702
0.468983
0.414392
0.394895
0.346508
0.333038
0.278979
0
0.008391
0.288865
9,385
258
85
36.375969
0.836979
0.444113
0
0.326531
0
0
0.07681
0.005051
0
0
0.002104
0
0.102041
1
0.285714
false
0.081633
0.05102
0.112245
0.489796
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
3339f7cf782a2803830764348c1674b391c59c54
113
py
Python
DigitalMeLib/servers/gedis/GedisProcessManager.py
jdelrue/digital_me
e5c92c405c0cea419ce18d25863f35d1bfe5a428
[ "Apache-2.0" ]
null
null
null
DigitalMeLib/servers/gedis/GedisProcessManager.py
jdelrue/digital_me
e5c92c405c0cea419ce18d25863f35d1bfe5a428
[ "Apache-2.0" ]
72
2018-08-01T06:13:46.000Z
2019-02-01T15:50:20.000Z
DigitalMeLib/servers/gedis/GedisProcessManager.py
jdelrue/digital_me
e5c92c405c0cea419ce18d25863f35d1bfe5a428
[ "Apache-2.0" ]
2
2018-08-05T08:09:13.000Z
2018-11-21T13:11:28.000Z
from jumpscale import j JSBASE = j.application.jsbase_get_class() class GedisProcessManager(JSBASE): pass
14.125
41
0.778761
14
113
6.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.150442
113
7
42
16.142857
0.895833
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
333a9b81c1942bff823966256c44e46de0b7f8db
1,753
py
Python
install/install.py
naztronaut/FCW
e272f29dda54f8a18f9ff533de598bb0bfd29099
[ "MIT" ]
4
2021-01-03T05:54:23.000Z
2021-08-06T19:39:04.000Z
install/install.py
naztronaut/FCW
e272f29dda54f8a18f9ff533de598bb0bfd29099
[ "MIT" ]
4
2020-10-15T17:09:31.000Z
2022-03-26T00:46:48.000Z
install/install.py
naztronaut/FCW
e272f29dda54f8a18f9ff533de598bb0bfd29099
[ "MIT" ]
1
2021-01-17T14:12:43.000Z
2021-01-17T14:12:43.000Z
# install.py # Version: 1.0.0 # Installs dependencies needed for FCW # Author: Nazmus Nasir # Website: https://www.easyprogramming.net import os from shutil import copy2 def install_dependencies(): print("================== Start Installing PIP and venv ==================") os.system("sudo apt install python...
40.767442
95
0.503708
157
1,753
5.592357
0.350318
0.079727
0.095672
0.085421
0.177677
0
0
0
0
0
0
0.014521
0.135767
1,753
42
96
41.738095
0.565017
0.070736
0
0
0
0
0.738594
0.01418
0
0
0
0
0
1
0.04
true
0
0.08
0
0.12
0.56
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
3344e7fbcc20c1b88448cf2bc6b2cea4cf5be780
331
py
Python
Part_3_advanced/m14_metaclass/register_cls/homework_1_solution/example_system/bike.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m14_metaclass/register_cls/homework_1_solution/example_system/bike.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m14_metaclass/register_cls/homework_1_solution/example_system/bike.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
from example_system.serializable import RegisteredSerializable class Bike(RegisteredSerializable): def __init__(self, brand: str, model: str) -> None: super().__init__(brand, model) self.brand = brand self.model = model def __str__(self) -> str: return f"Bike: {self.brand} {se...
27.583333
62
0.667674
38
331
5.473684
0.473684
0.129808
0.134615
0
0
0
0
0
0
0
0
0
0.220544
331
11
63
30.090909
0.806202
0
0
0
0
0
0.093656
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
334572d04bea77a18ada43a30928987b98727f24
107
py
Python
authentication/authenticator.py
gabrielbazan/http_auth
5d86669ead6beedd8d980031d09d7dedfc1033fd
[ "MIT" ]
null
null
null
authentication/authenticator.py
gabrielbazan/http_auth
5d86669ead6beedd8d980031d09d7dedfc1033fd
[ "MIT" ]
null
null
null
authentication/authenticator.py
gabrielbazan/http_auth
5d86669ead6beedd8d980031d09d7dedfc1033fd
[ "MIT" ]
null
null
null
class Authenticator(object): def authenticate(self, credentials): raise NotImplementedError()
21.4
40
0.728972
9
107
8.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.186916
107
4
41
26.75
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3349c42d9a6787f22dabc4fb2936a9e909a361bb
121
py
Python
EX10 dolar carteira.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
EX10 dolar carteira.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
EX10 dolar carteira.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
carteira=float(input('Quanto tem na carteira: ')) dolar=3.27 print('Equivalente em dolares: %.2f ' %(carteira/dolar))
30.25
57
0.702479
17
121
5
0.823529
0.305882
0
0
0
0
0
0
0
0
0
0.037736
0.123967
121
3
58
40.333333
0.764151
0
0
0
0
0
0.449153
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
334e95ed5c389e7fbe37935a81f7aca297e6dd30
2,367
py
Python
tests/factorys.py
ireneontheway5/pymilvus
b812449a98602b4370b3b3430bdeb18b24035e53
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
ireneontheway5/pymilvus
b812449a98602b4370b3b3430bdeb18b24035e53
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
ireneontheway5/pymilvus
b812449a98602b4370b3b3430bdeb18b24035e53
[ "Apache-2.0" ]
null
null
null
# STL imports import random import logging import string import time import datetime import random import struct import sys from functools import wraps # Third party imports import numpy as np import faker from faker.providers import BaseProvider logging.getLogger('faker').setLevel(logging.ERROR) sys.path.append('.'...
22.330189
91
0.669624
338
2,367
4.568047
0.366864
0.025907
0.051813
0.040803
0.213731
0.194301
0.141192
0.141192
0.09715
0.09715
0
0.02361
0.194761
2,367
105
92
22.542857
0.786464
0.042248
0
0.061538
0
0
0.044189
0.012815
0
0
0
0
0
1
0.261538
false
0
0.184615
0.138462
0.707692
0.015385
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
3367ac8d7631adea65a66b8a1b9f9c5b430f34ba
335
py
Python
src/eduid_graphdb/exceptions.py
SUNET/eduid-groupdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
1
2020-09-05T03:14:37.000Z
2020-09-05T03:14:37.000Z
src/eduid_graphdb/exceptions.py
SUNET/eduid-graphdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
null
null
null
src/eduid_graphdb/exceptions.py
SUNET/eduid-graphdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'lundberg' class EduIDGroupDBError(Exception): pass class VersionMismatch(EduIDGroupDBError): pass class MultipleReturnedError(EduIDGroupDBError): pass class MultipleUsersReturned(MultipleReturnedError): pass class MultipleGroupsReturned(MultipleReturnedEr...
13.958333
52
0.758209
25
335
10
0.52
0.144
0.208
0
0
0
0
0
0
0
0
0.003559
0.161194
335
23
53
14.565217
0.886121
0.062687
0
0.454545
0
0
0.025641
0
0
0
0
0
0
1
0
false
0.454545
0
0
0.454545
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
681d29014f10010799276f1e756503fc734bd148
21
py
Python
portfolio/Python/scrapy/loi/__init__.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
null
null
null
portfolio/Python/scrapy/loi/__init__.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
null
null
null
portfolio/Python/scrapy/loi/__init__.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
5
2016-03-22T07:40:46.000Z
2021-05-30T16:12:21.000Z
ACCOUNT_NAME = 'Loi'
10.5
20
0.714286
3
21
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.777778
0
0
0
0
0
0.142857
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
681e352b042459db2c73a2cf9e2013e8047fcc1a
600
py
Python
tests/test_parametrized_circuit.py
mdrft/Blueqat
878d24e2038063e32b4d391a03bc2c2be0600470
[ "Apache-2.0" ]
25
2018-09-16T22:54:48.000Z
2019-02-22T01:21:30.000Z
tests/test_parametrized_circuit.py
mdrft/blueqat
6c5f26b377bc3ce0d02adec8b9132d70870b3d95
[ "Apache-2.0" ]
22
2018-09-20T02:47:56.000Z
2019-02-08T05:25:30.000Z
tests/test_parametrized_circuit.py
mdrft/blueqat
6c5f26b377bc3ce0d02adec8b9132d70870b3d95
[ "Apache-2.0" ]
5
2018-10-23T04:56:04.000Z
2019-02-13T14:02:31.000Z
from blueqat import Circuit, ParametrizedCircuit def compare_circuit(c1: Circuit, c2: Circuit) -> bool: return repr(c1) == repr(c2) def test_parametrized1(): assert compare_circuit( ParametrizedCircuit().ry('a')[0].rz('b')[0].subs([1.2, 3.4]), Circuit().ry(1.2)[0].rz(3.4)[0]) def test_parame...
26.086957
79
0.605
83
600
4.289157
0.325301
0.292135
0.168539
0.328652
0.432584
0.432584
0.432584
0.432584
0.432584
0.432584
0
0.063655
0.188333
600
22
80
27.272727
0.667351
0
0
0.3125
0
0
0.01
0
0
0
0
0
0.1875
1
0.25
false
0
0.0625
0.0625
0.375
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
682755414252899eae0fb1b519e05847d5ff143c
56
py
Python
djangoautoconf/keys_default/admin_account_template.py
weijia/djangoautoconf
590acfdcc6a3e051a2048ba1dbf980f908a7af91
[ "BSD-3-Clause" ]
null
null
null
djangoautoconf/keys_default/admin_account_template.py
weijia/djangoautoconf
590acfdcc6a3e051a2048ba1dbf980f908a7af91
[ "BSD-3-Clause" ]
null
null
null
djangoautoconf/keys_default/admin_account_template.py
weijia/djangoautoconf
590acfdcc6a3e051a2048ba1dbf980f908a7af91
[ "BSD-3-Clause" ]
null
null
null
admin_username = "richard" admin_password = "richard666"
28
29
0.803571
6
56
7.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0.058824
0.089286
56
2
29
28
0.784314
0
0
0
0
0
0.298246
0
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
682eb91e753309f5167c5c3ce7b313c8b3f7ea9a
120
py
Python
Oefeningen/standalone/list_comprehension_4.py
Seviran/Python_3
e30ead250129d25bbc0a7ee2f6298775b2f4529a
[ "MIT" ]
null
null
null
Oefeningen/standalone/list_comprehension_4.py
Seviran/Python_3
e30ead250129d25bbc0a7ee2f6298775b2f4529a
[ "MIT" ]
null
null
null
Oefeningen/standalone/list_comprehension_4.py
Seviran/Python_3
e30ead250129d25bbc0a7ee2f6298775b2f4529a
[ "MIT" ]
null
null
null
string_input = "amazing" vowels = "aeiou" answer = [char for char in string_input if char not in vowels] print(answer)
20
62
0.741667
19
120
4.578947
0.631579
0.252874
0
0
0
0
0
0
0
0
0
0
0.166667
120
5
63
24
0.87
0
0
0
0
0
0.10084
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
6837cc30692c462a7a0c489ba23cd6a7b34c84cf
402
py
Python
db/db_connector.py
waynshang/stock_institution
72b0374ed148f1bdb4e276422a095411ab564455
[ "MIT" ]
1
2021-05-29T11:08:09.000Z
2021-05-29T11:08:09.000Z
db/db_connector.py
waynshang/stock_institution
72b0374ed148f1bdb4e276422a095411ab564455
[ "MIT" ]
1
2021-08-03T12:36:46.000Z
2021-08-03T12:36:46.000Z
db/db_connector.py
waynshang/stock_institution
72b0374ed148f1bdb4e276422a095411ab564455
[ "MIT" ]
null
null
null
from config import secret from utils import getLogger DEBUG = getLogger() class MysqlConnection: def __init__(self, database, server_name): self.host = secret[server_name]['mysql']['host'] self.port = secret[server_name]['mysql']['port'] self.username = secret[server_name]['mysql']['username'] self...
33.5
60
0.711443
49
402
5.653061
0.408163
0.180505
0.231047
0.303249
0
0
0
0
0
0
0
0
0.141791
402
11
61
36.545455
0.802899
0
0
0
0
0
0.109453
0
0
0
0
0
0
1
0.1
false
0.1
0.2
0
0.4
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
1
0
0
0
0
0
3
684188842440f0302697bdfa81cff956f82483fa
266
py
Python
server/medication_icons/admin.py
nickdotreid/opioid-mat-decision-aid
bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1
[ "MIT" ]
null
null
null
server/medication_icons/admin.py
nickdotreid/opioid-mat-decision-aid
bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1
[ "MIT" ]
27
2018-09-30T07:59:21.000Z
2020-11-05T19:25:41.000Z
server/medication_icons/admin.py
nickdotreid/opioid-mat-decision-aid
bbc2a0d8931d59cd6ab64b0b845e88c8dc1af5d1
[ "MIT" ]
null
null
null
from django.contrib import admin from imagekit.admin import AdminThumbnail from .models import Icon @admin.register(Icon) class IconAdmin(admin.ModelAdmin): list_display = ('name', 'icon_thumbnail') icon_thumbnail = AdminThumbnail(image_field='thumbnail')
26.6
60
0.785714
32
266
6.40625
0.59375
0.126829
0
0
0
0
0
0
0
0
0
0
0.120301
266
9
61
29.555556
0.876068
0
0
0
0
0
0.101504
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.857143
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
6842dd797c24725a8fb09ac24488ca4ad6bea4a3
245
py
Python
dlutils/models/sklearn/classification.py
chelseajohn/dlapplication
d2eaba9077320f5a33e122b99691577fe899e1d6
[ "Apache-2.0" ]
2
2020-05-07T05:08:54.000Z
2020-05-13T10:14:53.000Z
dlutils/models/sklearn/classification.py
chelseajohn/dlapplication
d2eaba9077320f5a33e122b99691577fe899e1d6
[ "Apache-2.0" ]
null
null
null
dlutils/models/sklearn/classification.py
chelseajohn/dlapplication
d2eaba9077320f5a33e122b99691577fe899e1d6
[ "Apache-2.0" ]
3
2020-05-06T18:49:37.000Z
2020-07-13T05:11:56.000Z
def getSKLearnLogisticRegression(self, regParam, dim=1): from DLplatform.learning.batch.sklearnClassifiers import LogisticRegression learner = LogisticRegression(regParam = regParam, dim = dim) return learner
49
83
0.718367
21
245
8.380952
0.714286
0.125
0
0
0
0
0
0
0
0
0
0.005236
0.220408
245
5
84
49
0.91623
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
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
68587aa670f83d82520736428332f2bf416f400e
254
py
Python
funcion_mutacion.py
J0SU3IC3/Proyecto_Algoritmo_Genetico
bcf98d335def651726b17154624c96ee3b8cfdeb
[ "BSD-2-Clause" ]
null
null
null
funcion_mutacion.py
J0SU3IC3/Proyecto_Algoritmo_Genetico
bcf98d335def651726b17154624c96ee3b8cfdeb
[ "BSD-2-Clause" ]
null
null
null
funcion_mutacion.py
J0SU3IC3/Proyecto_Algoritmo_Genetico
bcf98d335def651726b17154624c96ee3b8cfdeb
[ "BSD-2-Clause" ]
null
null
null
import random def mutacion(indiv): alea_1=random.randint(0,len(indiv)-1) alea_2 = random.randint(0, len(indiv)-1) interc_1=indiv[alea_1] interc_2=indiv[alea_2] indiv[alea_1] = interc_2 indiv[alea_2] = interc_1 return indiv
19.538462
44
0.681102
43
254
3.790698
0.302326
0.276074
0.184049
0.208589
0.613497
0.613497
0.331288
0.331288
0
0
0
0.068627
0.19685
254
12
45
21.166667
0.730392
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
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
685f6ab1c2d0c0bbd4bb81f5a339300b7344f2f1
258
py
Python
placement/serializers.py
uditpd3000/SCP-Backend
604c9040faf5652d31bf923d647684ff8f272dc7
[ "Apache-2.0" ]
5
2021-06-21T18:36:56.000Z
2021-08-04T04:07:56.000Z
placement/serializers.py
uditpd3000/SCP-Backend
604c9040faf5652d31bf923d647684ff8f272dc7
[ "Apache-2.0" ]
23
2021-05-31T13:41:13.000Z
2021-07-23T08:12:17.000Z
placement/serializers.py
uditpd3000/SCP-Backend
604c9040faf5652d31bf923d647684ff8f272dc7
[ "Apache-2.0" ]
30
2021-05-31T10:53:14.000Z
2022-03-01T12:56:36.000Z
from rest_framework import serializers from .models import Placement class PlacementSerializer(serializers.ModelSerializer): class Meta: model = Placement fields = ("key", "placement_name", "company", "role", "description", "deadline")
28.666667
88
0.72093
25
258
7.36
0.76
0
0
0
0
0
0
0
0
0
0
0
0.174419
258
8
89
32.25
0.86385
0
0
0
0
0
0.182171
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6862d3264687638cc92a1818114ac16c66aeabc5
688
py
Python
classifier/cal.py
EnviewFulda/SeagrassExplorer
0f6a0e15d1ffb8220e951c52ec1634e7a0763f4e
[ "BSD-2-Clause" ]
null
null
null
classifier/cal.py
EnviewFulda/SeagrassExplorer
0f6a0e15d1ffb8220e951c52ec1634e7a0763f4e
[ "BSD-2-Clause" ]
null
null
null
classifier/cal.py
EnviewFulda/SeagrassExplorer
0f6a0e15d1ffb8220e951c52ec1634e7a0763f4e
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import numpy as np def ini(): '''initialization Args: Returns: ''' pass def accuracy(Yte_predict, Yte): '''verification of the correct label with the predicted one Args: Yte_predict (list): predicted labels (by computer) Yte (list): true labels ...
16.780488
69
0.616279
86
688
4.860465
0.488372
0.143541
0.062201
0.086124
0.311005
0.205742
0.205742
0.205742
0
0
0
0.004032
0.27907
688
40
70
17.2
0.83871
0.609012
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.142857
0.142857
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
686a214c567ebd3ab53753f4ce246c0fac04cd72
109
py
Python
Python/Arrays/Solution.py
chessmastersan/HackerRank
850319e6f79e7473afbb847d28edde7b2cdfc37d
[ "MIT" ]
2
2019-08-07T19:58:20.000Z
2019-08-27T00:06:09.000Z
Python/Arrays/Solution.py
chessmastersan/HackerRank
850319e6f79e7473afbb847d28edde7b2cdfc37d
[ "MIT" ]
1
2020-06-11T19:09:48.000Z
2020-06-11T19:09:48.000Z
Python/Arrays/Solution.py
chessmastersan/HackerRank
850319e6f79e7473afbb847d28edde7b2cdfc37d
[ "MIT" ]
7
2019-08-27T00:06:11.000Z
2021-12-11T10:01:45.000Z
#author SANKALP SAXENA def arrays(arr): arr.reverse() l = numpy.array(arr, float) return l
10.9
31
0.614679
15
109
4.466667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.275229
109
9
32
12.111111
0.848101
0.192661
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6892e2003fc1c2b7ef39326cbcdfaa61a234e1ef
185
py
Python
insights_messaging/downloaders/localfs.py
dpensi/insights-core-messaging
a964cecdf5cbb57407dae9e9208a31fc5e9318e4
[ "Apache-2.0" ]
6
2019-12-12T14:19:30.000Z
2020-04-08T16:20:04.000Z
insights_messaging/downloaders/localfs.py
dpensi/insights-core-messaging
a964cecdf5cbb57407dae9e9208a31fc5e9318e4
[ "Apache-2.0" ]
14
2020-01-27T17:04:39.000Z
2021-03-16T15:18:30.000Z
insights_messaging/downloaders/localfs.py
dpensi/insights-core-messaging
a964cecdf5cbb57407dae9e9208a31fc5e9318e4
[ "Apache-2.0" ]
13
2019-12-16T09:32:38.000Z
2021-05-05T12:39:38.000Z
import os from contextlib import contextmanager class LocalFS: @contextmanager def get(self, src): path = os.path.realpath(os.path.expanduser(src)) yield path
18.5
56
0.686486
23
185
5.521739
0.652174
0.094488
0
0
0
0
0
0
0
0
0
0
0.232432
185
9
57
20.555556
0.894366
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
68b43353f299ef2ed5654c73d7e6db582ed331bb
132
py
Python
src/clarityv2/homepage/urls.py
Clarity-89/clarityv2
7c4af765c5473778fc0750d1505f8b5f1724e5c5
[ "MIT" ]
null
null
null
src/clarityv2/homepage/urls.py
Clarity-89/clarityv2
7c4af765c5473778fc0750d1505f8b5f1724e5c5
[ "MIT" ]
1
2022-03-11T23:38:16.000Z
2022-03-11T23:38:16.000Z
src/clarityv2/homepage/urls.py
Clarity-89/clarityv2
7c4af765c5473778fc0750d1505f8b5f1724e5c5
[ "MIT" ]
null
null
null
from django.urls import path from .views import HomepageView urlpatterns = [ path('', HomepageView.as_view(), name='home'), ]
16.5
50
0.704545
16
132
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.159091
132
7
51
18.857143
0.828829
0
0
0
0
0
0.030303
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
d7a7c1b8bf94815da1b2a43d746bb8543d773174
1,106
py
Python
Cita.py
Desquivel501/Backend_Proyecto2_IPC1
b983682eef4bcc379f6d57bf034675bf623fb33d
[ "Apache-2.0" ]
null
null
null
Cita.py
Desquivel501/Backend_Proyecto2_IPC1
b983682eef4bcc379f6d57bf034675bf623fb33d
[ "Apache-2.0" ]
null
null
null
Cita.py
Desquivel501/Backend_Proyecto2_IPC1
b983682eef4bcc379f6d57bf034675bf623fb33d
[ "Apache-2.0" ]
null
null
null
class Cita: def __init__(self,id,solicitante,fecha,hora,motivo,estado,doctor): self.id = id self.solicitante = solicitante self.fecha = fecha self.hora = hora self.motivo = motivo self.estado = estado self.doctor = doctor def getId(self): ...
20.867925
70
0.567812
117
1,106
5.333333
0.222222
0.112179
0.157051
0
0
0
0
0
0
0
0
0
0.351718
1,106
53
71
20.867925
0.870293
0
0
0.342857
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.628571
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
d7b71be599126f3487b3d6c940f7c879926c6044
1,491
py
Python
gravityspytools/search/models.py
Gravity-Spy/gravityspytools
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
[ "BSD-3-Clause" ]
4
2019-03-11T12:32:24.000Z
2020-12-01T06:31:39.000Z
gravityspytools/search/models.py
johnwick211/gravityspytools
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
[ "BSD-3-Clause" ]
19
2018-01-29T21:28:39.000Z
2020-07-14T18:38:23.000Z
gravityspytools/search/models.py
johnwick211/gravityspytools
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
[ "BSD-3-Clause" ]
4
2018-02-02T16:47:16.000Z
2020-12-01T06:31:49.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from django.contrib.postgres.fields import ArrayField # Create your models here. """ class NewSearch(models.Model): SINGLEVIEW = 'similarityindex' MULTIVIEW = 'updated_simi...
31.723404
174
0.646546
184
1,491
5.130435
0.527174
0.016949
0.034958
0.025424
0.110169
0.059322
0.059322
0.059322
0.059322
0.059322
0
0.044877
0.207914
1,491
46
175
32.413043
0.754445
0.030852
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
cc14238d3a5df01ff014ec40e1bf90f7a196fccb
18,170
py
Python
python/examples/kaitai/msgpack.py
carsonharmon/binaryninja-api
f7ad332ad69d370aa29cd54f4c7307da4d9173e2
[ "MIT" ]
1
2021-04-05T15:01:23.000Z
2021-04-05T15:01:23.000Z
python/examples/kaitai/msgpack.py
carsonharmon/binaryninja-api
f7ad332ad69d370aa29cd54f4c7307da4d9173e2
[ "MIT" ]
null
null
null
python/examples/kaitai/msgpack.py
carsonharmon/binaryninja-api
f7ad332ad69d370aa29cd54f4c7307da4d9173e2
[ "MIT" ]
1
2021-06-10T04:27:19.000Z
2021-06-10T04:27:19.000Z
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version from .kaitaistruct import __version__ as ks_version, KaitaiStruct, KaitaiStream, BytesIO import collections if parse_version(ks_version) < parse_version('0.7'): raise Excepti...
38.907923
256
0.616346
2,695
18,170
3.744341
0.059369
0.086215
0.087405
0.120702
0.815776
0.746408
0.623427
0.566544
0.512734
0.480032
0
0.032418
0.258118
18,170
466
257
38.991416
0.716172
0.10743
0
0.353535
1
0
0.131661
0.012091
0
0
0
0
0
1
0.111111
false
0
0.010101
0
0.326599
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cc17e63865e94c50206dc38b7367c698252eecb5
23
py
Python
FileUtils/__init__.py
cognitiveqe/cqepyutils
7d83f2bbe667294802c2ca9f20a42e1fa3e635d5
[ "MIT" ]
null
null
null
FileUtils/__init__.py
cognitiveqe/cqepyutils
7d83f2bbe667294802c2ca9f20a42e1fa3e635d5
[ "MIT" ]
null
null
null
FileUtils/__init__.py
cognitiveqe/cqepyutils
7d83f2bbe667294802c2ca9f20a42e1fa3e635d5
[ "MIT" ]
null
null
null
__all__ = ['FileUtils']
23
23
0.695652
2
23
6
1
0
0
0
0
0
0
0
0
0
0
0
0.086957
23
1
23
23
0.571429
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
0bc7213c09c10b1bc55de9468af8657cffd677c7
1,020
py
Python
Tests/testApi.py
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
Tests/testApi.py
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
Tests/testApi.py
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys lib_path = os.path.abspath('../') sys.path.append(lib_path) from API.APITextos import APITextos if __name__ == '__main__': """ users = APITextos.getUsersSimilar_user_all_topic("Taxigate", "ar", 100, 1) for user in users: print user.screen_name + "\t"+ use...
29.142857
83
0.67549
140
1,020
4.7
0.307143
0.106383
0.220365
0.106383
0.706687
0.706687
0.582067
0.582067
0.582067
0.582067
0
0.034689
0.180392
1,020
35
84
29.142857
0.752392
0.020588
0
0
0
0
0.068966
0
0
0
0
0
0
0
null
null
0
0.3
null
null
0.1
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0bcf6189d3d5a0a37bc27a9c69ab2228205c0630
5,103
py
Python
test/simple_imputation/test_logistic_regression.py
macarro/imputena
3a94ae1419a2af0d9707b20546ee078929ce99e8
[ "MIT" ]
6
2020-04-27T21:21:47.000Z
2022-03-30T03:02:54.000Z
test/simple_imputation/test_logistic_regression.py
macarro/imputena
3a94ae1419a2af0d9707b20546ee078929ce99e8
[ "MIT" ]
1
2021-07-01T18:49:27.000Z
2021-07-01T18:49:27.000Z
test/simple_imputation/test_logistic_regression.py
macarro/imputena
3a94ae1419a2af0d9707b20546ee078929ce99e8
[ "MIT" ]
null
null
null
import unittest from imputena import logistic_regression from test.example_data import * class TestLogisticRegression(unittest.TestCase): # Positive tests ---------------------------------------------------------- def test_logistic_regression_returning(self): """ Positive test dat...
31.89375
79
0.600039
585
5,103
5.080342
0.174359
0.127187
0.094213
0.062921
0.796433
0.74428
0.720054
0.698856
0.678668
0.636945
0
0.016837
0.290025
5,103
159
80
32.09434
0.803478
0.447972
0
0.404762
0
0
0.062635
0
0
0
0
0
0.261905
1
0.190476
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0bf1df4821a7ee776dde7f0d63b87186e9b1ce95
209
py
Python
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/draugiem/urls.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
6,342
2015-01-01T07:40:30.000Z
2022-03-31T04:18:30.000Z
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/draugiem/urls.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
2,198
2015-01-02T15:17:45.000Z
2022-03-28T10:20:43.000Z
djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/draugiem/urls.py
DemarcusL/django_wiki_lab
3b7cf18af7e0f89c94d10eb953ca018a150a2f55
[ "MIT" ]
2,928
2015-01-01T10:44:13.000Z
2022-03-31T03:20:16.000Z
from django.urls import path from . import views urlpatterns = [ path("draugiem/login/", views.login, name="draugiem_login"), path("draugiem/callback/", views.callback, name="draugiem_callback"), ]
20.9
73
0.712919
25
209
5.88
0.44
0.163265
0
0
0
0
0
0
0
0
0
0
0.138756
209
9
74
23.222222
0.816667
0
0
0
0
0
0.30622
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
0403e4d350613ff44a670bf3891877f93092864d
324
py
Python
cryptodoge/cmds/units.py
grayfallstown-cryptodoge/cryptodoge
ffeb5218ce184a56073a5dc0ac5acddba3728bd4
[ "Apache-2.0" ]
10
2021-08-21T17:41:51.000Z
2022-02-09T04:28:12.000Z
cryptodoge/cmds/units.py
grayfallstown-cryptodoge/cryptodoge
ffeb5218ce184a56073a5dc0ac5acddba3728bd4
[ "Apache-2.0" ]
1
2021-12-15T21:23:38.000Z
2021-12-15T21:23:38.000Z
cryptodoge/cmds/units.py
grayfallstown-cryptodoge/cryptodoge
ffeb5218ce184a56073a5dc0ac5acddba3728bd4
[ "Apache-2.0" ]
2
2021-08-21T18:22:59.000Z
2021-12-10T07:12:18.000Z
from typing import Dict # The rest of the codebase uses mojos everywhere. # Only use these units for user facing interfaces. units: Dict[str, int] = { "cryptodoge": 10 ** 6, # 1 cryptodoge (XCD) is 1,000,000 mojo (1 million) "mojo:": 1, "colouredcoin": 10 ** 3, # 1 coloured coin is 1000 colouredcoin mojo...
32.4
78
0.67284
49
324
4.44898
0.714286
0.045872
0
0
0
0
0
0
0
0
0
0.082677
0.216049
324
9
79
36
0.775591
0.580247
0
0
0
0
0.206107
0
0
0
0
0.111111
0
1
0
true
0
0.166667
0
0.166667
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
1
0
0
0
1
0
0
0
0
0
0
3
0405fb654ca1caa004613619d41e36289a568124
853
bzl
Python
integration/bazel_workspace_tests/bazel_ngtsc_plugin/packages.bzl
John-Cassidy/angular
6375fa79875c0fe7b815efc45940a6e6f5c9c9eb
[ "MIT" ]
95,154
2015-01-01T04:52:07.000Z
2022-03-31T21:33:49.000Z
integration/bazel_workspace_tests/bazel_ngtsc_plugin/packages.bzl
John-Cassidy/angular
6375fa79875c0fe7b815efc45940a6e6f5c9c9eb
[ "MIT" ]
45,008
2015-01-03T23:36:09.000Z
2022-03-31T23:57:28.000Z
integration/bazel_workspace_tests/bazel_ngtsc_plugin/packages.bzl
John-Cassidy/angular
6375fa79875c0fe7b815efc45940a6e6f5c9c9eb
[ "MIT" ]
30,083
2015-01-02T20:55:07.000Z
2022-03-31T21:03:16.000Z
ANGULAR_PACKAGES_CONFIG = [ ("@angular/animations", struct(entry_points = ["browser"])), ("@angular/common", struct(entry_points = ["http/testing", "http", "testing"])), ("@angular/compiler", struct(entry_points = ["testing"])), ("@angular/core", struct(entry_points = ["testing"])), ("@angular/forms...
40.619048
84
0.638921
87
853
6.08046
0.287356
0.20794
0.257089
0.181474
0.175803
0
0
0
0
0
0
0
0.168816
853
20
85
42.65
0.746121
0
0
0
0
0
0.284877
0.067995
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
044fa9bc2b971a59a7630fd706352bd033dc7523
2,761
py
Python
legacy/zero_training.py
GabrielePicco/pytorch-lightning
0d6dfd42d8965347a258e3d20e83bddd344e718f
[ "Apache-2.0" ]
4
2021-07-27T14:39:02.000Z
2022-03-07T10:57:13.000Z
legacy/zero_training.py
GabrielePicco/pytorch-lightning
0d6dfd42d8965347a258e3d20e83bddd344e718f
[ "Apache-2.0" ]
2
2021-07-03T07:07:32.000Z
2022-03-10T16:07:20.000Z
legacy/zero_training.py
GabrielePicco/pytorch-lightning
0d6dfd42d8965347a258e3d20e83bddd344e718f
[ "Apache-2.0" ]
1
2021-02-16T00:47:46.000Z
2021-02-16T00:47:46.000Z
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
29.063158
100
0.688156
380
2,761
4.797368
0.394737
0.038398
0.049918
0.039495
0.207351
0.184312
0.15469
0.15469
0.15469
0.15469
0
0.013799
0.212604
2,761
94
101
29.37234
0.824747
0.256791
0
0.096154
0
0
0.009341
0
0
0
0
0
0
1
0.288462
false
0
0.076923
0.153846
0.596154
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
f0a252d3651a304580c3dce4edc0080b4ebde52d
402
py
Python
tests/test_euclidean_distance.py
danielwardega141196/unittests-with-pytest
8dbedbe87fbfc5786856872dff6873395e6f4726
[ "MIT" ]
null
null
null
tests/test_euclidean_distance.py
danielwardega141196/unittests-with-pytest
8dbedbe87fbfc5786856872dff6873395e6f4726
[ "MIT" ]
null
null
null
tests/test_euclidean_distance.py
danielwardega141196/unittests-with-pytest
8dbedbe87fbfc5786856872dff6873395e6f4726
[ "MIT" ]
null
null
null
from application.euclidean_distance import euclidean_distance def test_euclidean_distance(): point_a = (0, 0) point_b = (3, 4) distance_between_a_and_b = euclidean_distance(point_a, point_b) assert distance_between_a_and_b == 5 point_c = (-2, 3) point_d = (2, 3) distance_between_c_and_...
23.647059
67
0.728856
63
402
4.174603
0.31746
0.323194
0.250951
0.174905
0.304183
0
0
0
0
0
0
0.030675
0.189055
402
16
68
25.125
0.776074
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.1
false
0
0.1
0
0.2
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