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
7ff98fc5fc0ec71073735352d93c3e6f72f76126
14,433
py
Python
prototype/consumers.py
benthomasson/fsm-designer-svg
a1edbde3ac7e497e3700e38ed4741da75d376e6f
[ "BSD-3-Clause" ]
null
null
null
prototype/consumers.py
benthomasson/fsm-designer-svg
a1edbde3ac7e497e3700e38ed4741da75d376e6f
[ "BSD-3-Clause" ]
7
2020-01-03T14:37:56.000Z
2021-06-10T20:39:35.000Z
prototype/consumers.py
benthomasson/fsm-designer-svg
a1edbde3ac7e497e3700e38ed4741da75d376e6f
[ "BSD-3-Clause" ]
null
null
null
# In consumers.py from channels import Group, Channel from channels.sessions import channel_session from prototype.models import FiniteStateMachine, State, Transition, Client, History, MessageType from prototype.models import FSMTrace import urlparse from django.db.models import Q from . views import transform_state, t...
43.472892
106
0.644911
1,646
14,433
5.300122
0.09842
0.123567
0.202201
0.224668
0.651421
0.621962
0.610156
0.584938
0.545277
0.524301
0
0.001868
0.258089
14,433
331
107
43.60423
0.81285
0.010324
0
0.443609
0
0
0.092737
0.011277
0
0
0
0
0
0
null
null
0.045113
0.033835
null
null
0.037594
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
1
0
0
0
0
0
0
0
0
3
3d07f30dd4b331644c08c940147a8d506bfa8230
419
py
Python
python/7kyu/testing_1_2_3.py
momchilantonov/codewars
73517569cc02478bb943f8182e6001ee9d941e78
[ "MIT" ]
null
null
null
python/7kyu/testing_1_2_3.py
momchilantonov/codewars
73517569cc02478bb943f8182e6001ee9d941e78
[ "MIT" ]
null
null
null
python/7kyu/testing_1_2_3.py
momchilantonov/codewars
73517569cc02478bb943f8182e6001ee9d941e78
[ "MIT" ]
null
null
null
def number(lines): """ Your team is writing a fancy new text editor and you've been tasked with implementing the line numbering. Write a function which takes a list of strings and returns each line prepended by the correct number. The numbering starts at 1. The format is n: string. Notice the colon and ...
52.375
109
0.71599
68
419
4.411765
0.75
0.066667
0
0
0
0
0
0
0
0
0
0.006079
0.214797
419
8
110
52.375
0.905775
0.711217
0
0
0
0
0.163265
0
0
0
0
0
0
1
0.5
false
0
0
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
1
0
0
0
0
1
0
0
3
3d1c4c4cf413b72f80eb76ab67c9fe5334b63ed7
738
py
Python
eLearn/forms/contact_us_form.py
Shehab-Magdy/Ayrid_E-Learn-master
7dc6aac71b2026e8829d1e8b0540f6b1ae09e197
[ "MIT" ]
null
null
null
eLearn/forms/contact_us_form.py
Shehab-Magdy/Ayrid_E-Learn-master
7dc6aac71b2026e8829d1e8b0540f6b1ae09e197
[ "MIT" ]
null
null
null
eLearn/forms/contact_us_form.py
Shehab-Magdy/Ayrid_E-Learn-master
7dc6aac71b2026e8829d1e8b0540f6b1ae09e197
[ "MIT" ]
null
null
null
from django import forms class ContactUsForm (forms.Form): firstName = forms.CharField(max_length=60, required=True, label='First Name', help_text='Type Your First Name',error_messages={'required':'Please type yor first name to simplify the communication'}) lastName = forms.CharField(max_length=60, label='Last...
92.25
202
0.771003
105
738
5.32381
0.428571
0.057245
0.064401
0.085868
0.404293
0.135957
0.135957
0
0
0
0
0.010606
0.105691
738
7
203
105.428571
0.836364
0
0
0
0
0
0.379404
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3d4c66077f4b0fbd1e1d13db5b5a20a77ce453c3
230
py
Python
tests/port_tests/box_tests/test_pickle.py
synapticarbors/wagyu
b98354611dceda8888f2951e9704f843a4e88c27
[ "MIT" ]
1
2021-01-20T05:49:13.000Z
2021-01-20T05:49:13.000Z
tests/port_tests/box_tests/test_pickle.py
synapticarbors/wagyu
b98354611dceda8888f2951e9704f843a4e88c27
[ "MIT" ]
1
2020-11-20T18:21:24.000Z
2020-11-20T18:21:37.000Z
tests/port_tests/box_tests/test_pickle.py
synapticarbors/wagyu
b98354611dceda8888f2951e9704f843a4e88c27
[ "MIT" ]
2
2020-11-20T18:17:31.000Z
2021-01-20T14:58:22.000Z
from hypothesis import given from tests.utils import pickle_round_trip from wagyu.box import Box from . import strategies @given(strategies.boxes) def test_round_trip(box: Box) -> None: assert pickle_round_trip(box) == box
20.909091
41
0.782609
35
230
4.971429
0.485714
0.155172
0.172414
0.172414
0
0
0
0
0
0
0
0
0.143478
230
10
42
23
0.883249
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.571429
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3d55ffabf1ab3341574e3d4e77d8964539fbfd78
251
py
Python
python_modules/dagster/dagster_tests/core_tests/test_utils.py
atsuhiro/dagster
24116a003a12c5a582afba3d4db74b3fa8c8159c
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster_tests/core_tests/test_utils.py
atsuhiro/dagster
24116a003a12c5a582afba3d4db74b3fa8c8159c
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster_tests/core_tests/test_utils.py
atsuhiro/dagster
24116a003a12c5a582afba3d4db74b3fa8c8159c
[ "Apache-2.0" ]
null
null
null
from dagster.core.utils import convert_airflow_datestr_to_epoch_ts EPS = 1e-6 def test_airflow_ts(): example = '2019-06-26T17:19:09.989485+00:00' res = convert_airflow_datestr_to_epoch_ts(example) assert (res - 1561569549.989485) < EPS
25.1
66
0.756972
40
251
4.45
0.675
0.157303
0.235955
0.258427
0.337079
0.337079
0
0
0
0
0
0.195349
0.143426
251
9
67
27.888889
0.632558
0
0
0
0
0
0.12749
0.12749
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.333333
0
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
3d5c31f1775c0498a588533ecf41ac2a73190739
1,384
py
Python
setup.py
ron4fun/django-mailer-2
815707c1090ba8126e6bdf45b78148dfaee1e21d
[ "MIT" ]
null
null
null
setup.py
ron4fun/django-mailer-2
815707c1090ba8126e6bdf45b78148dfaee1e21d
[ "MIT" ]
null
null
null
setup.py
ron4fun/django-mailer-2
815707c1090ba8126e6bdf45b78148dfaee1e21d
[ "MIT" ]
null
null
null
from distutils.core import setup from django_mailer import get_version setup( name='django-mailer-2', version=get_version(), description=("A reusable Django app for queueing the sending of email " "(forked from Chris Beaven's django-mailer-2)"), long_description=open('docs/usage.rst',...
33.756098
75
0.596821
145
1,384
5.634483
0.565517
0.186047
0.244798
0.190942
0.066095
0
0
0
0
0
0
0.024438
0.260838
1,384
40
76
34.6
0.774194
0
0
0.078947
0
0
0.578757
0.041185
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e9f5099eb93161abaeb72e9f8d491a8d93eccdf8
32,649
py
Python
Black_Jack.py
Pu1sor/Black-Jack
610b7637ce8a294e36fad7e3cbae767c5585633f
[ "MIT" ]
1
2021-02-17T16:10:57.000Z
2021-02-17T16:10:57.000Z
Black_Jack.py
Pu1sor/Black-Jack
610b7637ce8a294e36fad7e3cbae767c5585633f
[ "MIT" ]
null
null
null
Black_Jack.py
Pu1sor/Black-Jack
610b7637ce8a294e36fad7e3cbae767c5585633f
[ "MIT" ]
null
null
null
"""Black Jack""" #Automated One Player Game #Based almost identically off of instructions from: https://bicyclecards.com/how-to-play/blackjack/ #House Clarifications: #1. We do not allow insurance while splitting pairs. #2. Insurance bet is placed after you complete your hand. import random from random import shuffl...
45.157676
199
0.545591
4,026
32,649
4.231744
0.071038
0.101544
0.050185
0.035687
0.763397
0.714621
0.683923
0.657334
0.631273
0.610788
0
0.013571
0.350026
32,649
722
200
45.220222
0.789265
0.020123
0
0.701515
0
0.012121
0.195378
0.040428
0
0
0
0
0.006061
1
0.039394
false
0
0.004545
0
0.119697
0.137879
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e9f8e7d26097d74bf722f6fd3c2e3c955d650a4b
87
py
Python
world-codesprint-5/algorithms/strings/camelcase/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
world-codesprint-5/algorithms/strings/camelcase/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
world-codesprint-5/algorithms/strings/camelcase/solution.py
bitnot/hackerrank-solutions
cb54af3e80f9aa188a7aadf357c5d9bcc0715249
[ "MIT" ]
null
null
null
#!/bin/python3 import re s = input().strip() print(len(re.findall(r"[A-Z]{1}", s)) + 1)
21.75
42
0.597701
17
87
3.058824
0.823529
0
0
0
0
0
0
0
0
0
0
0.038462
0.103448
87
4
42
21.75
0.628205
0.149425
0
0
0
0
0.108108
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e9fedb62b4021425b82126ecfd8a298cb29f6408
54
py
Python
scale/messaging/__init__.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
121
2015-11-18T18:15:33.000Z
2022-03-10T01:55:00.000Z
scale/messaging/__init__.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
1,415
2015-12-23T23:36:04.000Z
2022-01-07T14:10:09.000Z
scale/messaging/__init__.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
66
2015-12-03T20:38:56.000Z
2020-07-27T15:28:11.000Z
default_app_config = 'messaging.apps.MessagingConfig'
27
53
0.851852
6
54
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.055556
54
1
54
54
0.862745
0
0
0
0
0
0.555556
0.555556
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
1832316ef0a2e852fe7c3a64a4250cd3494f7f23
1,360
py
Python
misc/luhn_check.py
ktan2020/tooling
5a22adc2895f5baa98faad7028061219c545a675
[ "MIT" ]
null
null
null
misc/luhn_check.py
ktan2020/tooling
5a22adc2895f5baa98faad7028061219c545a675
[ "MIT" ]
null
null
null
misc/luhn_check.py
ktan2020/tooling
5a22adc2895f5baa98faad7028061219c545a675
[ "MIT" ]
null
null
null
import sys import re import unittest def luhn_check1(cc_no): cc_no = [ int(d) for d in re.sub("[ \t]", "", cc_no) ] l,s,flag = len(cc_no),0,0 for i in range(l-1,-1,-1): n = cc_no[i] s += sum(divmod((n*2),10)) if flag else n flag = (flag+1) & 1 return s%10 == 0 def luhn_ch...
20.298507
67
0.472059
176
1,360
3.494318
0.375
0.058537
0.04878
0.026016
0.17561
0.100813
0.100813
0.100813
0
0
0
0.245169
0.391176
1,360
66
68
20.606061
0.497585
0
0
0.045455
0
0
0.149485
0
0
0
0
0
0.045455
0
null
null
0
0.068182
null
null
0.022727
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
1
0
0
0
0
0
0
0
0
3
184b57f57c4e96019bdb54f7b9012ee204e06f63
364
py
Python
hedp/flash/__init__.py
luli/hedp
ab78879106ef2d7b6e54ac6a69d24439ec8c9a8b
[ "CECILL-B" ]
9
2015-04-07T12:45:40.000Z
2020-10-26T14:40:49.000Z
hedp/flash/__init__.py
luli/hedp
ab78879106ef2d7b6e54ac6a69d24439ec8c9a8b
[ "CECILL-B" ]
9
2015-10-20T13:01:09.000Z
2016-09-09T15:24:36.000Z
hedp/flash/__init__.py
luli/hedp
ab78879106ef2d7b6e54ac6a69d24439ec8c9a8b
[ "CECILL-B" ]
12
2015-12-17T14:24:29.000Z
2021-04-26T13:42:48.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright CNRS 2012 # Roman Yurchak (LULI) # This software is governed by the CeCILL-B license under French law and # abiding by the rules of distribution of free software. from .definitions import MergedDict, parse_flash_header, find_files from .laser import LaserBeams, Lase...
30.333333
72
0.774725
52
364
5.365385
0.846154
0.035842
0
0
0
0
0
0
0
0
0
0.016129
0.148352
364
11
73
33.090909
0.883871
0.563187
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
184ee6c78e5561d4ee76fe16abab63dbbccae946
229
py
Python
metrics/latency.py
sspbft/sspbft-template
894967f003c42111737b29398935514446d00a42
[ "MIT" ]
6
2019-11-12T01:45:55.000Z
2022-03-18T10:57:21.000Z
metrics/latency.py
sspbft/sspbft-template
894967f003c42111737b29398935514446d00a42
[ "MIT" ]
4
2019-02-14T10:57:09.000Z
2019-03-21T15:22:08.000Z
metrics/latency.py
sspbft/BFTList
d73aee5bd0ab05995509f0fcfaf3c0a5944e617a
[ "MIT" ]
1
2019-04-04T15:09:33.000Z
2019-04-04T15:09:33.000Z
"""Metrics related to messages.""" from prometheus_client import Gauge host_latency = Gauge("host_latency", "Latency between two nodes", ["hostname", "id", "recv_id", "recv_hostname"])
28.625
68
0.598253
24
229
5.5
0.708333
0.136364
0.242424
0
0
0
0
0
0
0
0
0
0.275109
229
7
69
32.714286
0.795181
0.122271
0
0
0
0
0.34359
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
184fe9c830621733e977bda7948fbc5af449d720
1,228
py
Python
codegen/servicecodegen/template/codeblocktemplate.py
ncepu-iDealStudio/Flask_Sqlachemy_RESTfulAPI_Codegen
ed925a3318234061a5258fb15e68a27ddd64251b
[ "MIT" ]
2
2021-11-07T07:55:41.000Z
2022-03-14T03:38:21.000Z
codegen/servicecodegen/template/codeblocktemplate.py
ncepu-iDealStudio/Flask_Sqlachemy_RESTfulAPI_Codegen
ed925a3318234061a5258fb15e68a27ddd64251b
[ "MIT" ]
null
null
null
codegen/servicecodegen/template/codeblocktemplate.py
ncepu-iDealStudio/Flask_Sqlachemy_RESTfulAPI_Codegen
ed925a3318234061a5258fb15e68a27ddd64251b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # file:codeblocktemplate.py # author:Nathan # datetime:2021/8/26 11:16 # software: PyCharm """ Code block template file for service layer code """ class CodeBlockTemplate(object): """ Code block template class for service layer code ""...
33.189189
117
0.667752
151
1,228
5.245033
0.516556
0.056818
0.064394
0.083333
0.070707
0
0
0
0
0
0
0.011964
0.183225
1,228
36
118
34.111111
0.777667
0.179967
0
0.125
0
0.125
0.770053
0.339037
0
0
0
0
0
1
0
false
0
0.4375
0
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
0
0
1
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
18502fde121f867aed171e9b1b40c84329332855
590
py
Python
oops_fhir/r4/value_set/v3_general_purpose_of_use.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/v3_general_purpose_of_use.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/v3_general_purpose_of_use.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
from pathlib import Path from fhir.resources.valueset import ValueSet as _ValueSet from oops_fhir.utils import ValueSet __all__ = ["v3GeneralPurposeOfUse"] _resource = _ValueSet.parse_file(Path(__file__).with_suffix(".json")) class v3GeneralPurposeOfUse(ValueSet): """ V3 Value SetGeneralPurposeOfUse ...
20.344828
69
0.730508
68
590
6.117647
0.720588
0.067308
0
0
0
0
0
0
0
0
0
0.029289
0.189831
590
28
70
21.071429
0.841004
0.379661
0
0
0
0
0.076923
0.06213
0
0
0
0.035714
0
1
0
false
0.111111
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
1
0
0
0
0
3
185bed21103a8fd1800e3be87e243b176fae665f
38
py
Python
config/personal.py
amyth/APIDoctor
e23beb3335d00c46ffff98ab92c108151eff40b6
[ "MIT" ]
1
2015-09-21T16:24:04.000Z
2015-09-21T16:24:04.000Z
config/personal.py
amyth/APIDoctor
e23beb3335d00c46ffff98ab92c108151eff40b6
[ "MIT" ]
null
null
null
config/personal.py
amyth/APIDoctor
e23beb3335d00c46ffff98ab92c108151eff40b6
[ "MIT" ]
null
null
null
SERVER_URL = 'https://mapi.shine.com'
19
37
0.710526
6
38
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.078947
38
1
38
38
0.742857
0
0
0
0
0
0.578947
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
186fc95d32a1ac9329db44f2ecbb41e440d336d5
63
py
Python
benches/microbenchmarks/loop_string.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
11,058
2018-05-29T07:40:06.000Z
2022-03-31T11:38:42.000Z
benches/microbenchmarks/loop_string.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
2,105
2018-06-01T10:07:16.000Z
2022-03-31T14:56:42.000Z
benches/microbenchmarks/loop_string.py
mainsail-org/RustPython
5d2d87c24f1ff7201fcc8d4fcffadb0ec12dc127
[ "CC-BY-4.0", "MIT" ]
914
2018-07-27T09:36:14.000Z
2022-03-31T19:56:34.000Z
string = "a" * ITERATIONS # --- for char in string: pass
9
25
0.571429
8
63
4.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.285714
63
6
26
10.5
0.8
0.047619
0
0
0
0
0.017241
0
0
0
0
0
0
1
0
false
0.333333
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
a1169a8ee9881a89c3289ea98cd55110ca349841
2,032
py
Python
tests/test_recursive_merge.py
kalekundert/wellmap
05a9029807276ec29aea63db10c664ad2ede093c
[ "MIT" ]
7
2020-05-29T21:14:49.000Z
2022-01-25T15:35:17.000Z
tests/test_recursive_merge.py
kalekundert/wellmap
05a9029807276ec29aea63db10c664ad2ede093c
[ "MIT" ]
24
2020-06-09T14:29:03.000Z
2022-03-25T22:43:24.000Z
tests/test_recursive_merge.py
kalekundert/wellmap
05a9029807276ec29aea63db10c664ad2ede093c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import wellmap import pytest @pytest.mark.parametrize( 'a, b, overwrite, x', [ ({}, {}, False, {}), ({}, {'x': 1}, False, {'x': 1}), ({'x': 1}, {'x': 1}, False, {'x': 1}), ({'x': ...
47.255814
79
0.214075
226
2,032
1.911504
0.106195
0.157407
0.1875
0.138889
0.733796
0.550926
0.541667
0.453704
0.314815
0.266204
0
0.060157
0.435532
2,032
42
80
48.380952
0.316478
0.010335
0
0
0
0
0.058736
0
0
0
0
0
0.028571
1
0.028571
false
0
0.057143
0
0.085714
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a12a9ba12b01f05ecdcab4f7a726525bffe32f6f
212
py
Python
ChatBot/urls.py
pk8742/ChatRoom
fcedbd2ad1639fba9b396a0a24b4733bb679077a
[ "MIT" ]
null
null
null
ChatBot/urls.py
pk8742/ChatRoom
fcedbd2ad1639fba9b396a0a24b4733bb679077a
[ "MIT" ]
null
null
null
ChatBot/urls.py
pk8742/ChatRoom
fcedbd2ad1639fba9b396a0a24b4733bb679077a
[ "MIT" ]
null
null
null
from . import views from django.urls import path urlpatterns = [ path('',views.ShowChatHome,name="showchathome"), path('room/<str:room_name>/<str:person_name>',views.ShowChatPage,name="showchatpage"), ]
26.5
90
0.726415
26
212
5.846154
0.5
0
0
0
0
0
0
0
0
0
0
0
0.108491
212
7
91
30.285714
0.804233
0
0
0
0
0
0.292453
0.179245
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
a13903d893bfae6901f48aefc64d1b0eafbbe999
104
py
Python
driver.py
207leftovers/cs207project
817b0d26490d9c6e70d932544d685af4049a83bd
[ "MIT" ]
null
null
null
driver.py
207leftovers/cs207project
817b0d26490d9c6e70d932544d685af4049a83bd
[ "MIT" ]
null
null
null
driver.py
207leftovers/cs207project
817b0d26490d9c6e70d932544d685af4049a83bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import pype import sys for fname in sys.argv[1:]: pype.Pipeline(source=fname)
14.857143
29
0.730769
18
104
4.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0.022222
0.134615
104
6
30
17.333333
0.822222
0.201923
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
a15a5f4ac521f4f835e5e16cf7c9a6009390ed3e
19,221
py
Python
atom/nucleus/python/nucleus_api/models/aggregate_data_by_category_for_client_from_db_vo.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
atom/nucleus/python/nucleus_api/models/aggregate_data_by_category_for_client_from_db_vo.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
atom/nucleus/python/nucleus_api/models/aggregate_data_by_category_for_client_from_db_vo.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Hydrogen Atom API The Hydrogen Atom API # noqa: E501 OpenAPI spec version: 1.7.0 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class AggregateDataByCategoryForClien...
32.912671
424
0.666094
1,957
19,221
6.298416
0.06745
0.036995
0.283628
0.231219
0.652604
0.530667
0.46195
0.376602
0.251014
0.123479
0
0.013351
0.259612
19,221
583
425
32.969125
0.852786
0.41257
0
0.083333
1
0
0.087453
0.015901
0
0
0
0
0
1
0.174603
false
0
0.011905
0
0.297619
0.007937
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1672e40a30c5b017d0a9701f632f761c5698d0a
464
py
Python
code/denoising_event_lm/training/metrics/__init__.py
Willyoung2017/event-process-tracie
cc582facea64c096aa7f4d14156e43a19136151e
[ "Apache-2.0" ]
6
2021-04-19T12:18:16.000Z
2021-10-20T06:47:40.000Z
denoising_event_lm/training/metrics/__init__.py
allenai/TemporalBART
180bdd1b86a1cad361158f5e78b5901498471d78
[ "MIT" ]
null
null
null
denoising_event_lm/training/metrics/__init__.py
allenai/TemporalBART
180bdd1b86a1cad361158f5e78b5901498471d78
[ "MIT" ]
2
2021-01-27T18:31:29.000Z
2021-08-30T15:57:22.000Z
from denoising_event_lm.training.metrics.squad_em_and_f1 import SquadEmAndF1 from denoising_event_lm.training.metrics.rouge import Rouge from denoising_event_lm.training.metrics.chain_pairwise_accuracy import ChainPairwiseAccuracy from denoising_event_lm.training.metrics.event_coverage import EventCoverage metric_map ...
38.666667
93
0.836207
55
464
6.727273
0.381818
0.140541
0.194595
0.216216
0.378378
0.378378
0
0
0
0
0
0.00716
0.096983
464
11
94
42.181818
0.875895
0
0
0
0
0
0.101293
0.049569
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
a175771b8f9ec2a8d0114890f0d9422ebafd8fdf
540
py
Python
recyclus_gateway/security/schema.py
yarden-livnat/cyclus_gateway
211410817a7d0c7cff98dc678624640fd54f92cd
[ "BSD-3-Clause" ]
null
null
null
recyclus_gateway/security/schema.py
yarden-livnat/cyclus_gateway
211410817a7d0c7cff98dc678624640fd54f92cd
[ "BSD-3-Clause" ]
null
null
null
recyclus_gateway/security/schema.py
yarden-livnat/cyclus_gateway
211410817a7d0c7cff98dc678624640fd54f92cd
[ "BSD-3-Clause" ]
null
null
null
from marshmallow import Schema, fields, pre_load, post_dump class UserSchema(Schema): username = fields.Str(required=True) password = fields.Str(load_only=True) createdAt = fields.DateTime(attribute='created_at', dump_only=True) updatedAt = fields.DateTime(attribute='updated_at') class Meta: ...
24.545455
71
0.722222
65
540
5.861538
0.538462
0.070866
0.181102
0
0
0
0
0
0
0
0
0
0.168519
540
21
72
25.714286
0.848552
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.785714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
a18b2b7936bc1d08d452616acebcafc9c8cb0b24
321
py
Python
leetcode/0013.py
mndream/MyOJ
ee92fb657475d998e6c201f222cb20bcbc2bfd64
[ "Apache-2.0" ]
1
2018-12-27T08:06:38.000Z
2018-12-27T08:06:38.000Z
leetcode/0013.py
mndream/MyPythonOJ
ee92fb657475d998e6c201f222cb20bcbc2bfd64
[ "Apache-2.0" ]
null
null
null
leetcode/0013.py
mndream/MyPythonOJ
ee92fb657475d998e6c201f222cb20bcbc2bfd64
[ "Apache-2.0" ]
null
null
null
s = "MCMXCIV" sum = 0 # 累加数字 rome = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000} i = 0 while i < len(s): if i < len(s) - 1 and rome.get(s[i]) < rome.get(s[i + 1]): sum += rome.get(s[i + 1]) - rome.get(s[i]) i += 2 continue sum += rome.get(s[i]) i += 1 print(sum)...
24.692308
72
0.433022
63
321
2.206349
0.444444
0.251799
0.28777
0.323741
0.330935
0
0
0
0
0
0
0.103139
0.305296
321
12
73
26.75
0.520179
0.012461
0
0
0
0
0.044444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
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
a18ecddd70ed18f1c9403de4297d63ab15a40817
219
py
Python
alerts/urls.py
SmartcitySantiagoChile/onlineGPS
15f12e3e5de0bdf8db67d237578bc9b363217779
[ "MIT" ]
5
2017-02-26T20:08:45.000Z
2018-11-11T07:17:38.000Z
alerts/urls.py
SmartcitySantiagoChile/onlineGPS
15f12e3e5de0bdf8db67d237578bc9b363217779
[ "MIT" ]
4
2016-09-27T21:57:10.000Z
2016-09-30T01:24:46.000Z
alerts/urls.py
SmartcitySantiagoChile/onlineGPS
15f12e3e5de0bdf8db67d237578bc9b363217779
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views from alerts.views import AlertTableHandler, GetTableData urlpatterns = [ url(r'^show$', AlertTableHandler.as_view()), url(r'^getData$', GetTableData.as_view()), ]
24.333333
56
0.753425
28
219
5.821429
0.571429
0.04908
0
0
0
0
0
0
0
0
0
0
0.109589
219
8
57
27.375
0.835897
0
0
0
0
0
0.068493
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a1a19ee51dd087d59a4e7a3985906f8e482b3b29
112
py
Python
src/sifferprodukt.py
Shakeel15/Kattis
b12a5e992c653c18211d9afc7e5581018717abac
[ "Unlicense" ]
17
2019-04-08T22:25:25.000Z
2022-02-23T06:14:23.000Z
src/sifferprodukt.py
Shakeel15/Kattis
b12a5e992c653c18211d9afc7e5581018717abac
[ "Unlicense" ]
3
2019-05-04T05:01:09.000Z
2020-10-31T17:27:42.000Z
src/sifferprodukt.py
Shakeel15/Kattis
b12a5e992c653c18211d9afc7e5581018717abac
[ "Unlicense" ]
11
2019-04-04T16:31:27.000Z
2022-02-05T18:28:59.000Z
n = input() while len(n) > 1: x = 1 for c in n: if c != '0': x *= int(c) n = str(x) print(n)
16
32
0.401786
23
112
1.956522
0.608696
0
0
0
0
0
0
0
0
0
0
0.044118
0.392857
112
7
33
16
0.617647
0
0
0
0
0
0.00885
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a1ab6bad2fa9f0a98cb8caf72d4cd3d006617d58
214
py
Python
server/index.py
rainaajeet/basic-rate-limiting-demo-python
9c228db9c3561ee92375720ea23994140fc5c79d
[ "MIT" ]
1
2021-12-09T21:20:53.000Z
2021-12-09T21:20:53.000Z
server/index.py
rainaajeet/basic-rate-limiting-demo-python
9c228db9c3561ee92375720ea23994140fc5c79d
[ "MIT" ]
1
2021-06-11T09:18:10.000Z
2021-06-11T09:22:15.000Z
server/index.py
rainaajeet/basic-rate-limiting-demo-python
9c228db9c3561ee92375720ea23994140fc5c79d
[ "MIT" ]
5
2021-05-05T15:32:31.000Z
2022-03-24T08:31:43.000Z
import os, sys from django.core.wsgi import get_wsgi_application sys.path.append(os.path.dirname(__file__)) os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'configuration.settings') app = get_wsgi_application()
23.777778
73
0.813084
30
214
5.466667
0.633333
0.085366
0.219512
0
0
0
0
0
0
0
0
0
0.074766
214
9
74
23.777778
0.828283
0
0
0
0
0
0.204651
0.204651
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
a1acb96be932e8867f4aa831d435b278065e2613
1,674
py
Python
dectools/test/test_all.py
merriam/dectools
ad8b507abe0f9f7c9fe81f0307622c79db76db23
[ "MIT" ]
2
2016-07-31T01:10:14.000Z
2016-09-29T15:13:53.000Z
dectools/test/test_all.py
merriam/dectools
ad8b507abe0f9f7c9fe81f0307622c79db76db23
[ "MIT" ]
null
null
null
dectools/test/test_all.py
merriam/dectools
ad8b507abe0f9f7c9fe81f0307622c79db76db23
[ "MIT" ]
null
null
null
# Testing for this package is 'special' as in a 'special short bus'. # Most of the tests involve defining and using decorated functions, and # nested functions do not behave in quite the same way. This makes it # much harder, meaning less intuitive to read, write, and understand. # It's better to hack all the "test f...
27.442623
74
0.677419
247
1,674
4.336032
0.425101
0.078431
0.156863
0.084034
0.147526
0
0
0
0
0
0
0.004055
0.263441
1,674
60
75
27.9
0.864558
0.401434
0
0
0
0
0.025381
0
0
0
0
0
0
1
0.413793
false
0
0.482759
0
0.931034
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
a1c36d5d8a842eeca0f02a1912aed38d4a2d4837
196
py
Python
setup.py
CruzR/inventorymgr
028682c7ec53527d8cfc8f5cd10964a88d0bcf3d
[ "MIT" ]
1
2020-02-29T19:38:33.000Z
2020-02-29T19:38:33.000Z
setup.py
CruzR/inventorymgr
028682c7ec53527d8cfc8f5cd10964a88d0bcf3d
[ "MIT" ]
null
null
null
setup.py
CruzR/inventorymgr
028682c7ec53527d8cfc8f5cd10964a88d0bcf3d
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name="inventorymgr", version="0.1.0", packages=find_packages(), install_requires=["flask", "Flask-SQLAlchemy", "pydantic",], )
19.6
64
0.683673
22
196
5.954545
0.727273
0.183206
0
0
0
0
0
0
0
0
0
0.018182
0.158163
196
9
65
21.777778
0.775758
0
0
0
0
0
0.234694
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a1d22ed39bbefd3c4675dee131658b3d85f63ba1
2,562
py
Python
src/pyforest/user_specific_imports.py
henryiii/pyforest
7ca40a9a65ccecac0d2822a567204717e62e8bcb
[ "MIT" ]
1
2021-02-05T17:34:25.000Z
2021-02-05T17:34:25.000Z
src/pyforest/user_specific_imports.py
henryiii/pyforest
7ca40a9a65ccecac0d2822a567204717e62e8bcb
[ "MIT" ]
null
null
null
src/pyforest/user_specific_imports.py
henryiii/pyforest
7ca40a9a65ccecac0d2822a567204717e62e8bcb
[ "MIT" ]
null
null
null
from ._importable import LazyImport from pathlib import Path USER_IMPORTS_PATH = Path.home() / ".pyforest" / "user_imports.py" TEMPLATE_TEXT = ( "# Add your imports here, line by line\n" "# e.g\n" "# import pandas as pd\n" "# from pathlib import Path\n" "# import re\n" ) def _clean_line(x: str) ...
30.5
86
0.749415
351
2,562
5.002849
0.264957
0.131549
0.136674
0.056948
0.433941
0.341686
0.295558
0.269932
0.107062
0.048975
0
0.000466
0.162373
2,562
83
87
30.86747
0.817801
0.029274
0
0
0
0
0.072837
0.012877
0
0
0
0
0
1
0.218182
false
0
0.690909
0.090909
1.054545
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
a1e87d87f03e95236509d272bd603310a1fe3105
207
py
Python
Python/PycharmProjects/aula 13/desafio 047.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
Python/PycharmProjects/aula 13/desafio 047.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
Python/PycharmProjects/aula 13/desafio 047.py
MarcelaSamili/Desafios-do-curso-de-Python
f331e91821c0c25b3e32d2075254ef650292f280
[ "MIT" ]
null
null
null
#Crie um programa que mostre na tela todos os números PARES que estão no intervalo entre 1 e 50. for p in range(2,51,2,): print(p, end=' ')#lembra que end='' é para escrever namesma linha print('ACABOU')
51.75
96
0.714976
39
207
3.794872
0.846154
0
0
0
0
0
0
0
0
0
0
0.041176
0.178744
207
4
97
51.75
0.829412
0.68599
0
0
0
0
0.109375
0
0
0
0
0.25
0
1
0
false
0
0
0
0
0.666667
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
0
0
0
0
0
1
0
3
a1ec06e8beb564ff3a6dc360e0cd813590348012
342
py
Python
two_thinning/strategies/random_strategy.py
varikakasandor/dissertation-balls-into-bins
fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e
[ "Apache-2.0" ]
null
null
null
two_thinning/strategies/random_strategy.py
varikakasandor/dissertation-balls-into-bins
fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e
[ "Apache-2.0" ]
null
null
null
two_thinning/strategies/random_strategy.py
varikakasandor/dissertation-balls-into-bins
fba69dd5ffd0b4984795c9a5ec119bf8c6f47d9e
[ "Apache-2.0" ]
null
null
null
from two_thinning.strategies.strategy_base import StrategyBase import random class RandomStrategy(StrategyBase): def __init__(self, n, m): super(RandomStrategy, self).__init__(n, m) def decide(self, bin): return random.choice([True, False]) def note(self, bin): pass def rese...
20.117647
62
0.663743
42
342
5.166667
0.619048
0.018433
0
0
0
0
0
0
0
0
0
0
0.236842
342
16
63
21.375
0.831418
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.363636
false
0.181818
0.181818
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
a1fb9cf3367ca663dfb3e22fc69b42c3e8ed33f2
160
py
Python
alpine.py
Uname-a/knife_scraper
143441a687b5c06035d9d626cbcaf0bdfb59457c
[ "MIT" ]
3
2015-12-19T18:17:12.000Z
2020-04-13T14:06:19.000Z
alpine.py
Uname-a/knife_scraper
143441a687b5c06035d9d626cbcaf0bdfb59457c
[ "MIT" ]
10
2015-12-20T17:36:51.000Z
2016-03-24T01:21:30.000Z
alpine.py
Uname-a/knife_scraper
143441a687b5c06035d9d626cbcaf0bdfb59457c
[ "MIT" ]
2
2020-04-04T22:10:21.000Z
2020-07-13T20:18:50.000Z
from sopel import * import random from itertools import repeat @module.rule('.[Aa][Ll][Pp][Ii][Nn][Ee].*') def alpine(bot, trigger): bot.say('FUCK TAD')
17.777778
43
0.6625
25
160
4.24
0.84
0
0
0
0
0
0
0
0
0
0
0
0.14375
160
8
44
20
0.773723
0
0
0
0
0
0.220126
0.169811
0
0
0
0
0
1
0.166667
false
0
0.5
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
b804d707e788793153301a5be697b4855dc3750c
2,090
py
Python
winchester/settings/celery_config.py
prashg008/winchester
195271396b393e351839b07c93d65f66383e82e6
[ "MIT" ]
null
null
null
winchester/settings/celery_config.py
prashg008/winchester
195271396b393e351839b07c93d65f66383e82e6
[ "MIT" ]
3
2021-03-10T14:26:28.000Z
2022-02-27T02:53:24.000Z
winchester/settings/celery_config.py
prashg008/winchester
195271396b393e351839b07c93d65f66383e82e6
[ "MIT" ]
null
null
null
import os from django.conf import settings from winchester.settings.base import USE_TZ, TIME_ZONE # http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-routes task_routes = None # http://docs.celeryproject.org/en/latest/userguide/configuration.html#beat-settings-celery-beat beat_schedule = {} ...
48.604651
111
0.803349
293
2,090
5.600683
0.262799
0.068251
0.179159
0.204753
0.716636
0.672761
0.672761
0.672761
0.672761
0.637416
0
0.011899
0.07512
2,090
42
112
49.761905
0.837041
0.697129
0
0
0
0
0.088481
0.040067
0
0
0
0.02381
0
1
0
false
0
0.157895
0
0.157895
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
b818f95e8bd1a0c0a50bf7f2022a6b053ce2cac5
670
py
Python
test/trace/test_NullTracer.py
pip-services-python/pip-services-components-python
428ec7a9f0f0bdfa4d39cecb2541e87b1e5d33e0
[ "MIT" ]
null
null
null
test/trace/test_NullTracer.py
pip-services-python/pip-services-components-python
428ec7a9f0f0bdfa4d39cecb2541e87b1e5d33e0
[ "MIT" ]
null
null
null
test/trace/test_NullTracer.py
pip-services-python/pip-services-components-python
428ec7a9f0f0bdfa4d39cecb2541e87b1e5d33e0
[ "MIT" ]
1
2020-03-11T21:46:42.000Z
2020-03-11T21:46:42.000Z
# -*- coding: utf-8 -*- from pip_services3_components.trace.NullTracer import NullTracer class TestNullTracer: _tracer: NullTracer def setup_method(self): self._tracer = NullTracer() def test_simple_tracing(self): self._tracer.trace("123", "mycomponent", "mymethod", 123456) self...
30.454545
95
0.676119
74
670
5.891892
0.405405
0.114679
0.201835
0.18578
0.261468
0.261468
0.261468
0.261468
0.261468
0.261468
0
0.047619
0.185075
670
21
96
31.904762
0.750916
0.031343
0
0.153846
0
0
0.166924
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.461538
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
b819ae9a8acf0c2158c54fed2da4b7a9b01e9e9a
35
py
Python
docpub/api/yuque/__init__.py
altairwei/WizPublishTool
fe67523266ef10719af5f836c17821dc61ecc40a
[ "MIT" ]
null
null
null
docpub/api/yuque/__init__.py
altairwei/WizPublishTool
fe67523266ef10719af5f836c17821dc61ecc40a
[ "MIT" ]
null
null
null
docpub/api/yuque/__init__.py
altairwei/WizPublishTool
fe67523266ef10719af5f836c17821dc61ecc40a
[ "MIT" ]
null
null
null
LARK_HOST = 'https://www.yuque.com'
35
35
0.714286
6
35
4
1
0
0
0
0
0
0
0
0
0
0
0
0.057143
35
1
35
35
0.727273
0
0
0
0
0
0.583333
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
62a28e34a0ec44a93dbd41334b2431337c76edd2
6,838
py
Python
test/unit/datatype/test_data_in.py
daltonconley/amazon-redshift-python-driver
d862cccc75a521b68a4ba3f1cb5de3b83f9c072b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
test/unit/datatype/test_data_in.py
daltonconley/amazon-redshift-python-driver
d862cccc75a521b68a4ba3f1cb5de3b83f9c072b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
test/unit/datatype/test_data_in.py
daltonconley/amazon-redshift-python-driver
d862cccc75a521b68a4ba3f1cb5de3b83f9c072b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
import typing from datetime import date, datetime, time, timezone from decimal import Decimal from enum import Enum, auto from math import isclose import pytest import redshift_connector from redshift_connector.utils import type_utils class Datatypes(Enum): text = type_utils.text_recv bool = type_utils.bool...
41.695122
375
0.653554
837
6,838
5.255675
0.192354
0.180041
0.132985
0.027279
0.415094
0.402819
0.390089
0.360082
0.360082
0.360082
0
0.442247
0.216291
6,838
163
376
41.95092
0.378615
0.000585
0
0.284768
0
0.07947
0.480603
0.468453
0
0
0
0
0.013245
1
0.013245
false
0
0.05298
0
0.15894
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
62a6f2b493c64906104591eadade2777fee5da21
1,001
py
Python
main_config.py
ehsanbarkhordar/reminder_bot
c72e664c71658dd2ec30bb610ffc836b53f000b9
[ "MIT" ]
null
null
null
main_config.py
ehsanbarkhordar/reminder_bot
c72e664c71658dd2ec30bb610ffc836b53f000b9
[ "MIT" ]
null
null
null
main_config.py
ehsanbarkhordar/reminder_bot
c72e664c71658dd2ec30bb610ffc836b53f000b9
[ "MIT" ]
null
null
null
import os class BotConfig: receipts_report_name = os.environ.get('RECEIPTS_REPORT_NAME', "receipts_report.csv") bot_token = os.environ.get('TOKEN', "17fcfa921bae323895d2d70e6d3d998a2b3d000e") db_message_checking_interval = int(os.environ.get('MESSAGE_DB_CHECK_INTERVAL', 30)) system_local = os.environ....
47.666667
108
0.72028
139
1,001
4.863309
0.366906
0.159763
0.213018
0.147929
0.06213
0.06213
0
0
0
0
0
0.040816
0.118881
1,001
20
109
50.05
0.725624
0
0
0
0
0
0.32967
0.115884
0
0
0
0
0
1
0
false
0.125
0.0625
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
62aed848d30bf0435947bb16367686fdbd31cf85
4,129
py
Python
App.py
bymatej/finnhub-python-demo
76bb0655dab7de3dd1f74231a7cd8ed02a6c6274
[ "MIT" ]
null
null
null
App.py
bymatej/finnhub-python-demo
76bb0655dab7de3dd1f74231a7cd8ed02a6c6274
[ "MIT" ]
null
null
null
App.py
bymatej/finnhub-python-demo
76bb0655dab7de3dd1f74231a7cd8ed02a6c6274
[ "MIT" ]
null
null
null
import finnhub class FinnhubDemo: @staticmethod def get_finnhub_client(): configuration = finnhub.Configuration( api_key={ 'token': 'brqa6r7rh5rc4v2pje5g' } ) return finnhub.DefaultApi(finnhub.ApiClient(configuration)) # Obtain the client finn...
26.132911
108
0.764834
536
4,129
5.688433
0.281716
0.213185
0.277468
0.090194
0.089866
0.036077
0.026894
0.019679
0.019679
0
0
0.072537
0.09518
4,129
157
109
26.299363
0.743576
0.200775
0
0
0
0
0.139342
0
0
0
0
0
0
1
0.017241
false
0
0.017241
0
0.068966
0.810345
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
62b92a38d725c8b00e8b0fefeeb957355ac1d79a
913
py
Python
bot/db/__init__.py
ikswary/Noljaemon
404275d36a5a4301b5f96fc83ac56cf57e65ade7
[ "MIT" ]
null
null
null
bot/db/__init__.py
ikswary/Noljaemon
404275d36a5a4301b5f96fc83ac56cf57e65ade7
[ "MIT" ]
null
null
null
bot/db/__init__.py
ikswary/Noljaemon
404275d36a5a4301b5f96fc83ac56cf57e65ade7
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker, Session import bot.db.base from bot.db.models.character import * from bot.db.models.content.content import * from bot.db.models.content.abyss_dungeon import * from bot.db.models.content.abyss_raid import * from bot.db.models....
33.814815
64
0.730559
122
913
5.368852
0.295082
0.083969
0.137405
0.229008
0.485496
0.485496
0.447328
0.314504
0.192366
0.192366
0
0
0.181818
913
26
65
35.115385
0.876841
0
0
0.1
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.65
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
62c5dc57d93be0f049753de2a4938e4f2d132f6e
340
py
Python
mltk/core/tflite_model_parameters/schema/Value.py
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
null
null
null
mltk/core/tflite_model_parameters/schema/Value.py
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
1
2021-11-19T20:10:09.000Z
2021-11-19T20:10:09.000Z
mltk/core/tflite_model_parameters/schema/Value.py
sldriedler/mltk
d82a60359cf875f542a2257f1bc7d8eb4bdaa204
[ "Zlib" ]
null
null
null
# automatically generated by the FlatBuffers compiler, do not modify # namespace: class Value(object): NONE = 0 boolean = 1 i8 = 2 u8 = 3 i16 = 4 u16 = 5 i32 = 6 u32 = 7 i64 = 8 u64 = 9 f32 = 10 f64 = 11 str = 12 str_list = 13 int32_list = 14 float_list...
14.166667
68
0.526471
50
340
3.52
0.94
0
0
0
0
0
0
0
0
0
0
0.216749
0.402941
340
23
69
14.782609
0.650246
0.226471
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
62cb014d2b737486d7ecb68421cc3f3c7ae25a08
65
py
Python
mmringbuffer/__init__.py
whiskerlabs/mmringbuffer
e90435ceea7e544baddabc11c7b5556f87cd62c0
[ "MIT" ]
20
2015-06-10T20:33:35.000Z
2021-06-20T14:02:52.000Z
mmringbuffer/__init__.py
whiskerlabs/mmringbuffer
e90435ceea7e544baddabc11c7b5556f87cd62c0
[ "MIT" ]
2
2017-10-07T12:07:36.000Z
2018-08-30T02:55:40.000Z
mmringbuffer/__init__.py
whiskerlabs/mmringbuffer
e90435ceea7e544baddabc11c7b5556f87cd62c0
[ "MIT" ]
4
2018-01-08T23:04:43.000Z
2021-08-22T20:07:41.000Z
from .collections import MemMapRingBuffer __version__ = "0.0.2"
16.25
41
0.784615
8
65
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0.052632
0.123077
65
3
42
21.666667
0.77193
0
0
0
0
0
0.076923
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
62ea656d5b4c7688abda86ff4b9b2ab5133cc4c5
430
py
Python
zinnia/admin/__init__.py
mcfletch/django-blog-zinnia
8777ef61c4de29d2a8f2ba6a767f7a80733c9b1f
[ "BSD-3-Clause" ]
2
2017-02-24T15:36:29.000Z
2017-12-30T15:59:34.000Z
zinnia/admin/__init__.py
mcfletch/django-blog-zinnia
8777ef61c4de29d2a8f2ba6a767f7a80733c9b1f
[ "BSD-3-Clause" ]
null
null
null
zinnia/admin/__init__.py
mcfletch/django-blog-zinnia
8777ef61c4de29d2a8f2ba6a767f7a80733c9b1f
[ "BSD-3-Clause" ]
null
null
null
"""Admin of Zinnia""" from django.contrib import admin from zinnia.models.entry import Entry from zinnia.models.category import Category from zinnia.admin.entry import EntryAdmin from zinnia.admin.category import CategoryAdmin from zinnia.settings import ENTRY_BASE_MODEL if ENTRY_BASE_MODEL == 'zinnia.models_bases.e...
28.666667
65
0.82093
58
430
6
0.344828
0.143678
0.091954
0
0
0
0
0
0
0
0
0
0.1
430
14
66
30.714286
0.899225
0.034884
0
0
0
0
0.095355
0.095355
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
62efd645d2d7bae333566e611906f6bcb80dbf17
289
py
Python
iroha_db_api/project/utils/etl.py
2hoursleep/iroha-db-api
a3a99273749f23ea004fa37236fc2a2a443cea99
[ "MIT" ]
null
null
null
iroha_db_api/project/utils/etl.py
2hoursleep/iroha-db-api
a3a99273749f23ea004fa37236fc2a2a443cea99
[ "MIT" ]
null
null
null
iroha_db_api/project/utils/etl.py
2hoursleep/iroha-db-api
a3a99273749f23ea004fa37236fc2a2a443cea99
[ "MIT" ]
null
null
null
# Copyright 2020 by Farren Jackson, Distributed Ledger Solutions ZA. # All rights reserved. # This file is part of the Iroha Database API & CLI Tool, # and is released under the "MIT License Agreement". Please see the LICENSE # file that should have been included as part of this package.
48.166667
75
0.771626
46
289
4.847826
0.826087
0.053812
0
0
0
0
0
0
0
0
0
0.016878
0.179931
289
5
76
57.8
0.924051
0.961938
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
62ff2deee012e2ca4c07dfd2ded3641e8f68dc48
700
py
Python
goals/finance_goal/models.py
hornd/django-finance
40647a00509f5f0aa651af86c3b6f11730228041
[ "Apache-2.0" ]
null
null
null
goals/finance_goal/models.py
hornd/django-finance
40647a00509f5f0aa651af86c3b6f11730228041
[ "Apache-2.0" ]
null
null
null
goals/finance_goal/models.py
hornd/django-finance
40647a00509f5f0aa651af86c3b6f11730228041
[ "Apache-2.0" ]
null
null
null
from django.db import models class Goal(models.Model): description = models.CharField(max_length=200, default='') current_amount = models.DecimalField(default=0, max_digits=8, decimal_places=2) goal_amount = models.DecimalField(default=0, max_digits=8, decimal_places=2) end_date = models.DateField('Due...
36.842105
100
0.712857
93
700
5.129032
0.387097
0.073375
0.150943
0.194969
0.352201
0.352201
0.352201
0.352201
0.352201
0.352201
0
0.020443
0.161429
700
18
101
38.888889
0.792164
0
0
0.142857
0
0
0.012857
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0.142857
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
0
1
1
0
0
3
1a1897aab83741d1a5f91c655ea859310b1a9487
1,609
py
Python
safecustody_sdk/example.py
chainlife-doc/safecustody_sdk_python
a3686895bd04ca6d4cee03ec2b9b46df8ac9799c
[ "MIT" ]
8
2020-11-20T10:08:05.000Z
2020-11-20T10:34:02.000Z
safecustody_sdk/example.py
chainlife-doc/safecustody_sdk_python
a3686895bd04ca6d4cee03ec2b9b46df8ac9799c
[ "MIT" ]
null
null
null
safecustody_sdk/example.py
chainlife-doc/safecustody_sdk_python
a3686895bd04ca6d4cee03ec2b9b46df8ac9799c
[ "MIT" ]
2
2020-11-20T10:19:55.000Z
2021-04-13T01:55:21.000Z
from safecustody_sdk.sdk import Sdk from safecustody_sdk.user import User # 使用sdk任何签名不需要自己实现,内部已经做好 # 这里只是举的例子,更多详细内容请阅读文档 user = User() # 对应商户后台的APPID user.setAppid("") # 对应商户后的商户id user.setUserid("") # 对应商户后台的APIKEY user.setApiKey("") # 对应商户后台的SECRETKEY user.setSecretKey("") sdk = Sdk(user) # TODO 请向微信群的官方人员获取 s...
19.864198
106
0.683654
208
1,609
5.278846
0.3125
0.065574
0.098361
0.174863
0.301457
0.21949
0.185792
0.185792
0.185792
0.185792
0
0.009104
0.112492
1,609
80
107
20.1125
0.759804
0.126787
0
0.533333
0
0
0.056318
0
0
0
0
0.0125
0
1
0
false
0
0.044444
0
0.044444
0.533333
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
1
0
0
0
0
0
0
0
0
1
0
3
1a1f463ae353ea9e5c9d17e37c77f1cf503ad9f5
9,414
py
Python
src/tzer/tir/visit/traverse.py
Tzer-AnonBot/tzer
07799222118f757bdcb6a14654a6addda2dcf55c
[ "Apache-2.0" ]
47
2021-12-16T19:48:49.000Z
2022-03-24T03:14:14.000Z
src/tzer/tir/visit/traverse.py
Tzer-AnonBot/tzer
07799222118f757bdcb6a14654a6addda2dcf55c
[ "Apache-2.0" ]
null
null
null
src/tzer/tir/visit/traverse.py
Tzer-AnonBot/tzer
07799222118f757bdcb6a14654a6addda2dcf55c
[ "Apache-2.0" ]
4
2021-10-16T20:36:58.000Z
2022-01-25T04:27:49.000Z
from typing import Any, List from tzer.tir.util import TIRNode, list_union from .abstract import TIRVisitor from tvm import tir class TIRNodeTraverser(TIRVisitor[List[TIRNode], None]): def append_op(func: Any): def wrapper(self, op, arg): return [op] + func(self, op) return wrapper ...
30.270096
88
0.567665
1,306
9,414
3.988515
0.089587
0.167019
0.114033
0.165867
0.651949
0.625264
0.607602
0.591476
0.56364
0.479555
0
0
0.279584
9,414
310
89
30.367742
0.768063
0
0
0.564
0
0
0
0
0
0
0
0
0.004
1
0.228
false
0
0.016
0.216
0.484
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
1
0
0
0
3
1a24dbecea3cb2f95ce0fe6f1ca8308ebd086cda
289
py
Python
Term2/2-type-casting-int.py
theseana/apondaone
7cbf3572a86c73220329804fee1f3d03842ae902
[ "MIT" ]
null
null
null
Term2/2-type-casting-int.py
theseana/apondaone
7cbf3572a86c73220329804fee1f3d03842ae902
[ "MIT" ]
null
null
null
Term2/2-type-casting-int.py
theseana/apondaone
7cbf3572a86c73220329804fee1f3d03842ae902
[ "MIT" ]
null
null
null
# a = '42' # print(type(a)) # a = int(a) # print(type(a)) # b = 'a2' # print(type(b)) # b = int(b) ERROR ->>>> this cause error!!! because of 'a' in 'a2' # c = 3.141592 # print(type(c)) # c = int(c) # print(c, type(c)) d = '3.141592' print(type(d)) d = int(float(d)) print(d, type(d))
15.210526
68
0.525952
55
289
2.763636
0.327273
0.296053
0.131579
0.210526
0
0
0
0
0
0
0
0.077922
0.200692
289
18
69
16.055556
0.580087
0.681661
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1a2c88f23f973956531618cd914d1ef4d32ea0a9
1,237
py
Python
cotidia/testimonial/forms/admin/testimonial.py
tejon-melero/cotidia-testimonial
01c8f1f04d3d640c340b3b91a3449284e672c150
[ "BSD-3-Clause" ]
null
null
null
cotidia/testimonial/forms/admin/testimonial.py
tejon-melero/cotidia-testimonial
01c8f1f04d3d640c340b3b91a3449284e672c150
[ "BSD-3-Clause" ]
1
2019-08-25T21:31:19.000Z
2019-08-25T21:31:19.000Z
cotidia/testimonial/forms/admin/testimonial.py
tejon-melero/cotidia-testimonial
01c8f1f04d3d640c340b3b91a3449284e672c150
[ "BSD-3-Clause" ]
1
2019-08-25T21:06:18.000Z
2019-08-25T21:06:18.000Z
from betterforms.forms import BetterModelForm from cotidia.testimonial.models import Testimonial class TestimonialAddForm(BetterModelForm): class Meta: model = Testimonial exclude = ['created_at', 'updated_at'] fieldsets = ( ('info', { 'fields': ( ...
24.74
50
0.364592
65
1,237
6.876923
0.415385
0.089485
0.107383
0.129754
0.697987
0.697987
0.697987
0.697987
0.697987
0.697987
0
0
0.52304
1,237
49
51
25.244898
0.757627
0
0
0.863636
0
0
0.166532
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1a2de0f203622d74ffb4b9f71112f2a06ded6be2
1,095
py
Python
packages/file_handellers/exporter.py
SLD3V/MASK
8d288d8f703969b4fe22a8ddb56db3734d4d1386
[ "BSD-2-Clause" ]
null
null
null
packages/file_handellers/exporter.py
SLD3V/MASK
8d288d8f703969b4fe22a8ddb56db3734d4d1386
[ "BSD-2-Clause" ]
null
null
null
packages/file_handellers/exporter.py
SLD3V/MASK
8d288d8f703969b4fe22a8ddb56db3734d4d1386
[ "BSD-2-Clause" ]
null
null
null
""" * importing module file from . * """ from .file import File as file """ * declaring class exporter * """ class Exporter(file): """ * declaring constructor method * @param request * @return None """ def __init__(self, request) -> None: self._set_writer_...
18.87931
66
0.557991
116
1,095
5.025862
0.344828
0.092624
0.102916
0.09777
0.221269
0.221269
0.13036
0
0
0
0
0.001364
0.330594
1,095
57
67
19.210526
0.793997
0.086758
0
0
0
0
0.012712
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0.166667
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c5083e99166173138b927322df9b200f6552eb63
4,337
py
Python
env/env.py
0xflotus/DeepMimic
bd800ab7ec4d86d61f0cbb16667a9c20e4974cfb
[ "MIT" ]
1,812
2018-10-15T16:41:13.000Z
2022-03-31T13:22:40.000Z
env/env.py
Arthur151/DeepMimic
ea26c3f2c35fb271d8bfefd53fd49397547c514d
[ "MIT" ]
168
2018-10-16T01:29:00.000Z
2022-03-28T07:42:40.000Z
env/env.py
Arthur151/DeepMimic
ea26c3f2c35fb271d8bfefd53fd49397547c514d
[ "MIT" ]
445
2018-10-15T17:46:14.000Z
2022-03-30T09:35:14.000Z
from abc import ABC, abstractmethod import numpy as np from enum import Enum from learning.normalizer import Normalizer class Env(ABC): class Terminate(Enum): Null = 0 Fail = 1 Succ = 2 def __init__(self, args, enable_draw): self.enable_draw = enable_draw return @a...
21.79397
81
0.646991
569
4,337
4.634446
0.182777
0.090254
0.108457
0.081911
0.510808
0.416003
0.372772
0.336746
0.257869
0.224498
0
0.003833
0.278072
4,337
199
82
21.79397
0.83839
0.008992
0
0.493151
0
0
0
0
0
0
0
0
0
1
0.335616
false
0.171233
0.027397
0.089041
0.541096
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
c51474bbdb466a8c55f6f27d9df7bc1f925b0458
132
py
Python
Curso_Python_3_UDEMY/desafios/loja/__init__.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_Python_3_UDEMY/desafios/loja/__init__.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_Python_3_UDEMY/desafios/loja/__init__.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
from .cliente import Cliente from .vendedor import Vendedor from .compra import Compra __all__ = ['Cliente', 'Vendedor', 'Compra']
22
43
0.757576
16
132
6
0.375
0
0
0
0
0
0
0
0
0
0
0
0.136364
132
5
44
26.4
0.842105
0
0
0
0
0
0.159091
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
c515fe281d251b302b655eb5ddd9a2b1ae36e9fc
1,116
py
Python
setup.py
codygarver/shapeshift-cli-rate-only
502ba61a523dcf145f379c8b32fb3a0999551e03
[ "Apache-2.0" ]
3
2017-07-26T20:37:31.000Z
2021-10-11T21:58:18.000Z
setup.py
codygarver/shapeshift-cli-rate-only
502ba61a523dcf145f379c8b32fb3a0999551e03
[ "Apache-2.0" ]
null
null
null
setup.py
codygarver/shapeshift-cli-rate-only
502ba61a523dcf145f379c8b32fb3a0999551e03
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages from shapeshift_cli import __version__ setup( name ='shapeshift-cli', version = __version__, description = 'Unofficial CLI for https://shapeshift.io', url = 'https://github.com/sereneblue/shapeshift-cli', author = 'sereneblue', license = "Apache", pa...
32.823529
75
0.65233
111
1,116
6.387387
0.558559
0.110014
0.211566
0.220028
0.076164
0
0
0
0
0
0
0.012222
0.193548
1,116
33
76
33.818182
0.775556
0
0
0.0625
0
0
0.574373
0.03853
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c51ce7fb305b09f5313176143625fa3b04bc5fe8
305
py
Python
setup.py
saewoonam/thorium_daq_uqd
249ab89338591c833009711e2f7997dbe2898fbc
[ "MIT" ]
null
null
null
setup.py
saewoonam/thorium_daq_uqd
249ab89338591c833009711e2f7997dbe2898fbc
[ "MIT" ]
null
null
null
setup.py
saewoonam/thorium_daq_uqd
249ab89338591c833009711e2f7997dbe2898fbc
[ "MIT" ]
null
null
null
# this should install all these modules into ../../sitepackages/uqd # make a uqd.pth file # the extra_path make a .pth file - careful here the manual says # i should used install_path from distutils.core import setup # print dir(install) setup(name="uqdbuffer", packages=[""], extra_path=["uqdbuffer"])
30.5
67
0.740984
46
305
4.847826
0.695652
0.044843
0
0
0
0
0
0
0
0
0
0
0.144262
305
9
68
33.888889
0.854406
0.636066
0
0
0
0
0.171429
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c520a5ecd37b18fa56e4b8140ed728b754786811
122
py
Python
ex013.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
ex013.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
ex013.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
s = float(input('Digite o salário: R$')) sa = s * 1.15 print('O salário com 15% de aumento é igual a:R${:.3f}'.format(sa))
40.666667
67
0.631148
25
122
3.08
0.76
0.207792
0
0
0
0
0
0
0
0
0
0.058252
0.155738
122
3
67
40.666667
0.68932
0
0
0
0
0
0.544715
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
c530a5648abc0ddf00b6b7fe36596fdd133b56ba
1,428
py
Python
h2o-py/tests/testdir_misc/pyunit_apply.py
Bhanuprakash-ch/h2o-3
c75bc5d2dc644cc8c09df755185a4cc6e34e0d1a
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_misc/pyunit_apply.py
Bhanuprakash-ch/h2o-3
c75bc5d2dc644cc8c09df755185a4cc6e34e0d1a
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_misc/pyunit_apply.py
Bhanuprakash-ch/h2o-3
c75bc5d2dc644cc8c09df755185a4cc6e34e0d1a
[ "Apache-2.0" ]
1
2020-01-22T19:10:37.000Z
2020-01-22T19:10:37.000Z
import sys sys.path.insert(1,"../../") import h2o from tests import pyunit_utils def pyunit_apply(): fr = h2o.import_file(pyunit_utils.locate("smalldata/logreg/prostate.csv")) fr.apply(lambda x: x["PSA"], axis=1).show() print print print fr.apply(lambda x: x['PSA'] > x['VOL'],axis=1).show() print zz ...
26.444444
98
0.632353
248
1,428
3.572581
0.233871
0.158014
0.293454
0.249436
0.603837
0.56772
0.215576
0.215576
0.13544
0.13544
0
0.036855
0.144958
1,428
54
99
26.444444
0.68878
0
0
0.166667
0
0
0.036389
0.020294
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.194444
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
1
0
0
0
0
0
0
0
0
3
c5721694ab07464f45610ddd178c923347a7cc6f
178
py
Python
algorithms/es/pytorch_es/utils/helpers.py
bryanlincoln/gvgai-rl-models
9d1ca1ab35a911ba920c77b166b63ca6705895b4
[ "MIT" ]
20
2018-03-25T00:04:21.000Z
2020-12-14T12:28:26.000Z
algorithms/es/pytorch_es/utils/helpers.py
bryanlincoln/gvgai-rl-models
9d1ca1ab35a911ba920c77b166b63ca6705895b4
[ "MIT" ]
2
2018-04-02T18:21:13.000Z
2019-06-11T19:41:21.000Z
algorithms/es/pytorch_es/utils/helpers.py
bryanlincoln/gvgai-rl-models
9d1ca1ab35a911ba920c77b166b63ca6705895b4
[ "MIT" ]
10
2018-07-25T13:06:27.000Z
2021-03-09T04:36:25.000Z
"""Helpers for PyTorch-ES examples""" def weights_init(m): classname = m.__class__.__name__ if classname.find('Linear') != -1: m.weight.data.normal_(0.0, 0.02)
22.25
40
0.646067
26
178
4.038462
0.807692
0.038095
0
0
0
0
0
0
0
0
0
0.041379
0.185393
178
7
41
25.428571
0.682759
0.174157
0
0
0
0
0.042553
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
c5796262cf8475aa951a696dcdc7ee1ec65c411d
2,228
py
Python
fmpsdk/stock_time_series.py
xploras/fmpsdk
c2e75fb6aae3462110c587e80de4c43619551ae7
[ "BSD-3-Clause" ]
66
2020-12-07T00:52:59.000Z
2022-03-14T00:02:44.000Z
fmpsdk/stock_time_series.py
xploras/fmpsdk
c2e75fb6aae3462110c587e80de4c43619551ae7
[ "BSD-3-Clause" ]
21
2021-01-30T22:56:19.000Z
2022-01-19T12:45:48.000Z
fmpsdk/stock_time_series.py
xploras/fmpsdk
c2e75fb6aae3462110c587e80de4c43619551ae7
[ "BSD-3-Clause" ]
31
2021-01-25T06:12:48.000Z
2022-03-21T13:30:53.000Z
import typing from .general import __quotes from .url_methods import __return_json_v3, __return_json_v4, __validate_exchange def quote_short(apikey: str, symbol: str) -> typing.Optional[typing.List[typing.Dict]]: """ Query FMP /quote-short/ API. :param apikey: Your API key :param symbol: Company tic...
28.202532
87
0.686715
291
2,228
5.04811
0.182131
0.073519
0.077604
0.078285
0.742682
0.725664
0.707965
0.663036
0.663036
0.632403
0
0.00333
0.191203
2,228
78
88
28.564103
0.811876
0.318671
0
0.387097
0
0
0.121916
0.089985
0
0
0
0
0
1
0.16129
false
0
0.096774
0
0.419355
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
3d9a87b962933c60d35a7eb70dfb96254cd1e4e0
185
py
Python
matrix_sums.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
matrix_sums.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
matrix_sums.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def NativeZeros(nRows, nCols): return [range(nRows) for col in range(nCols)] matrix = NativeZeros(4, 4) print(matrix) print(sum([sum(row) for row in matrix]))
18.5
49
0.697297
29
185
4.448276
0.586207
0
0
0
0
0
0
0
0
0
0
0.018987
0.145946
185
9
50
20.555556
0.797468
0.091892
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.4
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
1
0
0
0
3
3d9d422ca2b448f46bedf4a320da8eb58bb81959
30,795
py
Python
PUI.py
liamkennedy/lightstreamer-python-iss
0bb9e4bbe432f3316772faed8411905320578ca6
[ "MIT" ]
null
null
null
PUI.py
liamkennedy/lightstreamer-python-iss
0bb9e4bbe432f3316772faed8411905320578ca6
[ "MIT" ]
null
null
null
PUI.py
liamkennedy/lightstreamer-python-iss
0bb9e4bbe432f3316772faed8411905320578ca6
[ "MIT" ]
null
null
null
# Include file with PUI global definitions specialPUIs = ["USLAB000095","USLAB000096","USLAB000097","USLAB000098","USLAB000012",'USLAB000086'] # This really needs to be in a data file #This is the full text expansion from the PUI to the "friendly name" # Original comes from a spreadsheet provided in the mimic proj...
82.12
1,260
0.723851
4,309
30,795
5.167092
0.20608
0.05174
0.02322
0.040422
0.598832
0.51152
0.426185
0.3426
0.263463
0.223669
0
0.121769
0.123169
30,795
375
1,261
82.12
0.7028
0.021887
0
0
0
0.056022
0.826608
0.039853
0
0
0
0
0
0
null
null
0
0
null
null
0.014006
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
3db5d62e37931d66737376d905e96496ff508414
11,401
py
Python
cayennelpp/tests/test_lpp_type.py
hiveeyes/pycayennelpp
c5d6dc6eaf3314a136ca8a4b6a8c13e2bc90db31
[ "MIT" ]
1
2020-01-22T20:41:27.000Z
2020-01-22T20:41:27.000Z
cayennelpp/tests/test_lpp_type.py
hiveeyes/pycayennelpp
c5d6dc6eaf3314a136ca8a4b6a8c13e2bc90db31
[ "MIT" ]
1
2020-01-21T10:44:28.000Z
2020-01-21T10:44:28.000Z
cayennelpp/tests/test_lpp_type.py
hiveeyes/pycayennelpp
c5d6dc6eaf3314a136ca8a4b6a8c13e2bc90db31
[ "MIT" ]
1
2020-09-20T09:02:54.000Z
2020-09-20T09:02:54.000Z
import pytest from datetime import datetime from datetime import timezone from cayennelpp.lpp_type import (lpp_digital_io_to_bytes, lpp_digital_io_from_bytes, lpp_analog_io_to_bytes, lpp_analog_io_from_bytes, ...
26.575758
61
0.654329
1,544
11,401
4.397021
0.06671
0.0763
0.129621
0.195169
0.789365
0.714538
0.614671
0.454117
0.319782
0.271321
0
0.038748
0.246206
11,401
428
62
26.63785
0.751222
0.006578
0
0.334483
0
0
0.001855
0
0
0
0.010865
0
0.089655
1
0.227586
false
0
0.013793
0
0.241379
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3dcb839fdcf22ce39b95c6e2fb22c281d446e843
3,050
py
Python
supriya/ugens/Changed.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/Changed.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
supriya/ugens/Changed.py
deeuu/supriya
14fcb5316eccb4dafbe498932ceff56e1abb9d27
[ "MIT" ]
null
null
null
from supriya.ugens.PseudoUGen import PseudoUGen class Changed(PseudoUGen): """ Triggers when a value changes. :: >>> source = supriya.ugens.In.ar(bus=0) >>> changed = supriya.ugens.Changed.ar( ... source=source, ... threshold=0, ... ) >>> supri...
26.754386
68
0.44623
259
3,050
5.200772
0.208494
0.097996
0.040089
0.053452
0.774313
0.728285
0.679287
0.639941
0.639941
0.639941
0
0.056892
0.440984
3,050
113
69
26.99115
0.733138
0.661967
0
0.461538
0
0
0.023077
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.692308
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3ddb13d6e503f82bcb9ef6b3f138d737eda7c893
3,476
py
Python
util/GenNegativeData.py
ashish-code/structured-sparsity-visual-classification
49e7bd24dab8d4f6e5b012ab333c6012e7404b84
[ "MIT" ]
null
null
null
util/GenNegativeData.py
ashish-code/structured-sparsity-visual-classification
49e7bd24dab8d4f6e5b012ab333c6012e7404b84
[ "MIT" ]
null
null
null
util/GenNegativeData.py
ashish-code/structured-sparsity-visual-classification
49e7bd24dab8d4f6e5b012ab333c6012e7404b84
[ "MIT" ]
null
null
null
''' Created on 6 Jan 2012 Generate negative data for binary classifier The first and primary use of this data is by the fuzzy encoding paper @author: a.gupta@surrey.ac.uk ''' #import libraries from optparse import OptionParser import numpy as np import sys import random #global parameters rootDir = '/vol/vssp/diplec...
39.05618
134
0.632624
375
3,476
5.834667
0.410667
0.019196
0.052559
0.063985
0.15585
0.125686
0.125686
0.125686
0.080896
0.080896
0
0.011868
0.248562
3,476
89
135
39.05618
0.825804
0.081991
0
0.101449
1
0
0.091996
0.016938
0
0
0
0
0
0
null
null
0.072464
0.057971
null
null
0.072464
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
3ddc141daebede6a1283c85905ea590503862d80
22,530
py
Python
apis_v1/views/views_position.py
user512/WeVoteServer
df209ac61dc7d79a69388e0e3c61d13dd09afae6
[ "MIT" ]
null
null
null
apis_v1/views/views_position.py
user512/WeVoteServer
df209ac61dc7d79a69388e0e3c61d13dd09afae6
[ "MIT" ]
null
null
null
apis_v1/views/views_position.py
user512/WeVoteServer
df209ac61dc7d79a69388e0e3c61d13dd09afae6
[ "MIT" ]
null
null
null
# apis_v1/views/views_position.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- from config.base import get_environment_variable from django.http import HttpResponse import json from ballot.controllers import figure_out_google_civic_election_id_voter_is_watching from ballot.models import OFFICE, CANDIDA...
46.358025
119
0.712739
3,085
22,530
4.675527
0.065478
0.064476
0.084304
0.042429
0.772463
0.736134
0.701608
0.68185
0.640876
0.600735
0
0.002977
0.224634
22,530
485
120
46.453608
0.822715
0.108478
0
0.665775
0
0
0.067226
0.030249
0
0
0
0
0
1
0.034759
false
0
0.029412
0
0.09893
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
3dec083bd104e6a53c2dd7be6cb1c0d100d45c02
1,368
py
Python
games/Run!v1.0/Run!/state.py
MicrocodeNakamura/python4megabit
a632c075f6f269c155724107a14961f83e6b04ed
[ "Apache-2.0" ]
null
null
null
games/Run!v1.0/Run!/state.py
MicrocodeNakamura/python4megabit
a632c075f6f269c155724107a14961f83e6b04ed
[ "Apache-2.0" ]
null
null
null
games/Run!v1.0/Run!/state.py
MicrocodeNakamura/python4megabit
a632c075f6f269c155724107a14961f83e6b04ed
[ "Apache-2.0" ]
1
2019-08-25T02:05:30.000Z
2019-08-25T02:05:30.000Z
class State(object): def __init__(self): pass def enter(self): """Initialize data that might not be initialized in init""" pass def exit(self): """State is finished, perform cleanup if necessary""" pass def reason(self): """Conditional or l...
28.5
99
0.576754
164
1,368
4.664634
0.365854
0.172549
0.188235
0.082353
0.062745
0
0
0
0
0
0
0
0.343567
1,368
48
100
28.5
0.851893
0.289474
0
0.178571
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.178571
0
0
0.357143
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
3df1e832118947812592ea41b65120b520a482b9
831
py
Python
python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/test/brief/api/testSceneCheckCallbacks.py
CountZer0/PipelineConstructionSet
0aa73a8a63c72989b2d1c677efd78dad4388d335
[ "BSD-3-Clause" ]
21
2015-04-27T05:01:36.000Z
2021-11-22T13:45:14.000Z
python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/test/brief/api/testSceneCheckCallbacks.py
0xb1dd1e/PipelineConstructionSet
621349da1b6d1437e95d0c9e48ee9f36d59f19fd
[ "BSD-3-Clause" ]
null
null
null
python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/test/brief/api/testSceneCheckCallbacks.py
0xb1dd1e/PipelineConstructionSet
621349da1b6d1437e95d0c9e48ee9f36d59f19fd
[ "BSD-3-Clause" ]
7
2015-04-11T11:37:19.000Z
2020-05-22T09:49:04.000Z
import maya.OpenMaya as OpenMaya import maya.cmds as cmds import sys import maya.OpenMayaMPx as OpenMayaMPx import unittest class testCallbackStrings(unittest.TestCase): """ # Testing code """ def testFileNewCheckCallback(self): pass def testFileNewCheckCallbackAllo...
15.109091
69
0.685921
67
831
8.507463
0.477612
0.085965
0.077193
0
0
0
0
0
0
0
0
0
0.252708
831
54
70
15.388889
0.917874
0.044525
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.347826
false
0.347826
0.217391
0
0.608696
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
ad00175f8be556d6ceb6ad2f8e5c71d72e1ad771
340
py
Python
tests/framework/statistics/__init__.py
Tobbeman/firecracker
b4376a9e5ab03d3754b6d3001972968251df4d8b
[ "Apache-2.0" ]
null
null
null
tests/framework/statistics/__init__.py
Tobbeman/firecracker
b4376a9e5ab03d3754b6d3001972968251df4d8b
[ "Apache-2.0" ]
null
null
null
tests/framework/statistics/__init__.py
Tobbeman/firecracker
b4376a9e5ab03d3754b6d3001972968251df4d8b
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 """Single threaded producer/consumer for statistics gathering.""" from . import core from . import consumer from . import producer from . import types from . import criteria from . import function from . im...
26.153846
73
0.773529
46
340
5.695652
0.695652
0.267176
0
0
0
0
0
0
0
0
0
0.02069
0.147059
340
12
74
28.333333
0.882759
0.494118
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
9a78dbfd5d723225b40ecdef5a86d7b40dde685d
170
py
Python
Module 3/Chapter 1/ch1_13.py
PacktPublishing/Natural-Language-Processing-Python-and-NLTK
bb7fd9a3071b4247d13accfbf0a48eefec76e925
[ "MIT" ]
50
2016-12-11T13:49:01.000Z
2022-03-20T19:47:55.000Z
Module 3/Chapter 1/ch1_13.py
PacktPublishing/Natural-Language-Processing-Python-and-NLTK
bb7fd9a3071b4247d13accfbf0a48eefec76e925
[ "MIT" ]
null
null
null
Module 3/Chapter 1/ch1_13.py
PacktPublishing/Natural-Language-Processing-Python-and-NLTK
bb7fd9a3071b4247d13accfbf0a48eefec76e925
[ "MIT" ]
40
2017-06-14T14:02:48.000Z
2021-10-14T06:25:00.000Z
import nltk sent=" She secured 90.56 % in class X . She is a meritorious student" from nltk.tokenize import BlanklineTokenizer print(BlanklineTokenizer().tokenize(sent))
34
69
0.794118
24
170
5.625
0.75
0
0
0
0
0
0
0
0
0
0
0.026846
0.123529
170
4
70
42.5
0.879195
0
0
0
0
0
0.364706
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9a847cdddc565ca80b18fe73df40354cc48d9e01
2,373
py
Python
frasco_models/backend.py
frascoweb/frasco-models
f7c1e14424cadf3dc07c2bd81cc32b0fd046ccba
[ "MIT" ]
1
2015-09-24T10:01:03.000Z
2015-09-24T10:01:03.000Z
frasco_models/backend.py
frascoweb/frasco-models
f7c1e14424cadf3dc07c2bd81cc32b0fd046ccba
[ "MIT" ]
null
null
null
frasco_models/backend.py
frascoweb/frasco-models
f7c1e14424cadf3dc07c2bd81cc32b0fd046ccba
[ "MIT" ]
null
null
null
from .query import NoResultError from frasco import AttrDict class ModelNotFoundError(Exception): pass class ModelSchemaError(Exception): pass class RegisteringMetaClass(type): def __init__(cls, name, bases, attrs): type.__init__(cls, name, bases, attrs) cls.__backend__.models[name] = ...
21.572727
76
0.614834
278
2,373
5.043165
0.273381
0.044936
0.047076
0.062767
0.112696
0.057061
0
0
0
0
0
0
0.288243
2,373
109
77
21.770642
0.830077
0
0
0.197368
0
0
0.018542
0
0
0
0
0
0
1
0.328947
false
0.118421
0.026316
0.039474
0.513158
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
9a8e0f710da1b0a2b05b56f7bd6fc506c5de0060
2,466
py
Python
CrittersProto/generator/main_maracaws.py
nickjbenson/Kami
2c9614f66055bea02f660f41c3aa5a00083331b8
[ "MIT" ]
1
2018-02-26T13:51:23.000Z
2018-02-26T13:51:23.000Z
CrittersProto/generator/main_maracaws.py
nickjbenson/Kami
2c9614f66055bea02f660f41c3aa5a00083331b8
[ "MIT" ]
null
null
null
CrittersProto/generator/main_maracaws.py
nickjbenson/Kami
2c9614f66055bea02f660f41c3aa5a00083331b8
[ "MIT" ]
null
null
null
# ============================================== # Instantaneous wav-file generating audio system # benchan # ============================================== # simple python script that loops through hummingloops # and generates wave files for them import sys sys.path.append('../prototype/common') import hummingloop ...
28.344828
89
0.643958
275
2,466
5.723636
0.461818
0.025413
0.030496
0.035578
0.080051
0.080051
0
0
0
0
0
0.012019
0.156529
2,466
86
90
28.674419
0.744712
0.679238
0
0
0
0
0.122191
0.030899
0
0
0
0.011628
0
0
null
null
0
0.454545
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
3
9a94e76d26eb20a0dc41af107152f2877495d306
870
py
Python
tests/drawers/test_series_scroll_plot.py
cnHeider/draugr
b95e0bb1fa5efa581bfb28ff604f296ed2e6b7d6
[ "Apache-2.0" ]
3
2019-09-27T08:04:59.000Z
2020-12-02T06:14:45.000Z
tests/drawers/test_series_scroll_plot.py
cnHeider/draugr
b95e0bb1fa5efa581bfb28ff604f296ed2e6b7d6
[ "Apache-2.0" ]
64
2019-09-27T08:03:42.000Z
2022-03-28T15:07:30.000Z
tests/drawers/test_series_scroll_plot.py
cnHeider/draugr
b95e0bb1fa5efa581bfb28ff604f296ed2e6b7d6
[ "Apache-2.0" ]
1
2020-10-01T00:18:57.000Z
2020-10-01T00:18:57.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pytest from draugr.drawers import discrete_scroll_plot __author__ = "Christian Heider Nielsen" __doc__ = r""" Created on 9/2/19 """ @pytest.mark.skip def test_series_scroll_plot(): gen = iter( [ [1, 0, 0], ...
19.333333
53
0.368966
111
870
2.657658
0.396396
0.128814
0.183051
0.230508
0.19322
0.19322
0.19322
0.19322
0.19322
0.19322
0
0.132632
0.454023
870
44
54
19.772727
0.488421
0.049425
0
0.542857
0
0
0.093333
0
0
0
0
0
0.028571
1
0.028571
false
0
0.057143
0
0.085714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9a9ecaf78a5ed3f9401d2b78283d9adc199f6511
321
py
Python
stubs/micropython-esp32-1_10/neopixel.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
38
2020-10-18T21:59:44.000Z
2022-03-17T03:03:28.000Z
stubs/micropython-esp32-1_10/neopixel.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
176
2020-10-18T14:31:03.000Z
2022-03-30T23:22:39.000Z
stubs/micropython-esp32-1_10/neopixel.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
6
2020-12-28T21:11:12.000Z
2022-02-06T04:07:50.000Z
""" Module: 'neopixel' on esp32 1.10.0 """ # MCU: (sysname='esp32', nodename='esp32', release='1.10.0', version='v1.10 on 2019-01-25', machine='ESP32 module with ESP32') # Stubber: 1.3.2 class NeoPixel: '' ORDER = None def fill(): pass def write(): pass def neopixel_write(): pass ...
16.894737
126
0.58567
46
321
4.065217
0.608696
0.032086
0.042781
0
0
0
0
0
0
0
0
0.131148
0.239875
321
18
127
17.833333
0.635246
0.545171
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9ab191cef210c6912d0408aeab4031f3de29e8c2
885
py
Python
bottle_jsonschema_test.py
Hubro/bottle-jsonschema
cb8d8d6fc96d1948f1c5941c160df65f2817bf73
[ "MIT" ]
null
null
null
bottle_jsonschema_test.py
Hubro/bottle-jsonschema
cb8d8d6fc96d1948f1c5941c160df65f2817bf73
[ "MIT" ]
null
null
null
bottle_jsonschema_test.py
Hubro/bottle-jsonschema
cb8d8d6fc96d1948f1c5941c160df65f2817bf73
[ "MIT" ]
null
null
null
import pytest from bottle_jsonschema import JSONSchemaPlugin, SchemaValidationError def test_get_schema_names(mocker): subject = JSONSchemaPlugin()._get_schema_names assert subject("/login", "PUT") == [ "schemas/login.PUT.json", "schemas/login.json", ] assert subject("/admin/users/"...
26.818182
73
0.60904
99
885
5.373737
0.282828
0.225564
0.255639
0.165414
0.445489
0.347744
0.289474
0.289474
0.289474
0.289474
0
0
0.20791
885
32
74
27.65625
0.758916
0
0
0.166667
0
0
0.449095
0.365385
0
0
0
0
0.208333
1
0.041667
false
0
0.083333
0
0.125
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9ab63f75f07fbb62257325d20d5269129e2b61a7
937
py
Python
ModelDemo/empapp/migrations/0002_alter_employee_email_alter_employee_firstname_and_more.py
KiralyTamas/Django
d0df4bcffa499c25602e2672c230226440879f6d
[ "MIT" ]
null
null
null
ModelDemo/empapp/migrations/0002_alter_employee_email_alter_employee_firstname_and_more.py
KiralyTamas/Django
d0df4bcffa499c25602e2672c230226440879f6d
[ "MIT" ]
null
null
null
ModelDemo/empapp/migrations/0002_alter_employee_email_alter_employee_firstname_and_more.py
KiralyTamas/Django
d0df4bcffa499c25602e2672c230226440879f6d
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-19 20:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('empapp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='employee', name='email', f...
27.558824
78
0.57524
89
937
5.921348
0.505618
0.151803
0.189753
0.220114
0.470588
0.470588
0.159393
0.159393
0
0
0
0.039939
0.305229
937
33
79
28.393939
0.769585
0.048026
0
0.444444
1
0
0.12809
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9ac0ceba66461188c8042f3f229bb6bbed487847
302
py
Python
omega_miya/plugins/bilibili_dynamic_monitor/config.py
Ailitonia/nonebot_miya
71d8cf3e91bbb0dd63cbee85fd757c738b99f10c
[ "MIT" ]
5
2020-10-03T14:24:41.000Z
2021-03-05T12:36:44.000Z
omega_miya/plugins/bilibili_dynamic_monitor/config.py
Ailitonia/nonebot_miya
71d8cf3e91bbb0dd63cbee85fd757c738b99f10c
[ "MIT" ]
null
null
null
omega_miya/plugins/bilibili_dynamic_monitor/config.py
Ailitonia/nonebot_miya
71d8cf3e91bbb0dd63cbee85fd757c738b99f10c
[ "MIT" ]
null
null
null
DYNAMIC_API_URL = 'https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/space_history' GET_DYNAMIC_DETAIL_API_URL = 'https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/get_dynamic_detail' USER_INFO_API_URL = 'https://api.bilibili.com/x/space/acc/info' DYNAMIC_URL = 'https://t.bilibili.com/'
60.4
105
0.791391
51
302
4.352941
0.352941
0.144144
0.148649
0.189189
0.441441
0.441441
0.441441
0.441441
0.441441
0.441441
0
0.006993
0.05298
302
4
106
75.5
0.769231
0
0
0
0
0
0.687919
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9acc3de657c30d4f3972233f6c3f95354ef6a29a
229
py
Python
Z_WH/api/controllers/users/userGet.py
Alexis-ba6/Z-WaterHeater
aef4dd8cd345b1230aa87dcc12e3319040d8484b
[ "MIT" ]
1
2021-06-28T11:13:38.000Z
2021-06-28T11:13:38.000Z
Z_WH/api/controllers/users/userGet.py
alexba6/Z-WaterHeater
aef4dd8cd345b1230aa87dcc12e3319040d8484b
[ "MIT" ]
null
null
null
Z_WH/api/controllers/users/userGet.py
alexba6/Z-WaterHeater
aef4dd8cd345b1230aa87dcc12e3319040d8484b
[ "MIT" ]
null
null
null
from Z_WH.api.middlewares import authentification, response from Z_WH.services import userManager @response.json @authentification.checkUserKey def getUser(**kwargs): return { 'email': userManager.email }, 200
19.083333
59
0.746725
26
229
6.5
0.692308
0.059172
0.08284
0
0
0
0
0
0
0
0
0.015707
0.165939
229
11
60
20.818182
0.86911
0
0
0
0
0
0.021834
0
0
0
0
0
0
1
0.125
true
0
0.25
0.125
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
9ad43710e7c1b5f9e60b01f32c6d4656acfcf4a4
550
py
Python
quizzes/quiz3/quiz3.py
andrebrito16/python-academy
544516048c0a2f8cea42ef0f252b9c40e8f5b141
[ "MIT" ]
1
2021-08-19T19:40:14.000Z
2021-08-19T19:40:14.000Z
quizzes/quiz3/quiz3.py
andrebrito16/python-academy
544516048c0a2f8cea42ef0f252b9c40e8f5b141
[ "MIT" ]
null
null
null
quizzes/quiz3/quiz3.py
andrebrito16/python-academy
544516048c0a2f8cea42ef0f252b9c40e8f5b141
[ "MIT" ]
null
null
null
# Contar a quantidade de bagagens que execedem o tamanho limite # Altura, largura e profundidade def filtra_bagagens(bagagens, hlim, larlim, proflim): excedentes = 0 for bag in bagagens: if bag[0] > hlim or bag[1] > larlim or bag[2] > proflim: excedentes += 1 return excedentes ...
36.666667
230
0.570909
107
550
2.925234
0.392523
0.057508
0.076677
0.076677
0.28754
0.28754
0.28754
0.28754
0.28754
0.28754
0
0.236534
0.223636
550
15
230
36.666667
0.496487
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
9ae9dabafe63eac4c0137627aedf6c1e63a93a17
930
py
Python
msap/explanatory_analysis/pairwise_corr.py
asmyoo/MSAP
0ed89f90d67260892a8c4d945504f3b0a2096d36
[ "MIT" ]
1
2022-03-05T01:34:55.000Z
2022-03-05T01:34:55.000Z
msap/explanatory_analysis/pairwise_corr.py
asmyoo/MSAP
0ed89f90d67260892a8c4d945504f3b0a2096d36
[ "MIT" ]
null
null
null
msap/explanatory_analysis/pairwise_corr.py
asmyoo/MSAP
0ed89f90d67260892a8c4d945504f3b0a2096d36
[ "MIT" ]
1
2022-03-16T00:33:25.000Z
2022-03-16T00:33:25.000Z
# -*- coding: utf-8 -*- """Pairwise correlation methods. Authors: Fangzhou Li - fzli@ucdavis.edu """ from scipy.stats import pearsonr, spearmanr, kendalltau import pandas as pd def get_pairwise_correlation(X_df, y_se, method='pearson'): """Get correlation and p-value dataframes. Args: X_df (pd....
23.25
64
0.633333
131
930
4.335878
0.427481
0.021127
0.03169
0.06338
0.06338
0
0
0
0
0
0
0.006983
0.230108
930
39
65
23.846154
0.786313
0.397849
0
0
0
0
0.038986
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.230769
0.769231
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
9af526d07daa759b0474f0926652586687d89d34
6,311
py
Python
kolejka/judge/tasks/run.py
Raalsky/kolejka-judge
4fa42d9b9a52a94cd8dc57a99218b32d0e8fc18f
[ "MIT" ]
2
2020-10-29T11:00:03.000Z
2021-03-08T19:27:58.000Z
kolejka/judge/tasks/run.py
kolejka/kolejka-judge
72dee578c6326d35c453cbb1128e592878b85ded
[ "MIT" ]
1
2021-09-01T08:10:35.000Z
2021-09-01T10:09:57.000Z
kolejka/judge/tasks/run.py
Raalsky/kolejka-judge
4fa42d9b9a52a94cd8dc57a99218b32d0e8fc18f
[ "MIT" ]
1
2021-10-08T19:32:09.000Z
2021-10-08T19:32:09.000Z
# vim:ts=4:sts=4:sw=4:expandtab import glob import shlex from kolejka.judge import config from kolejka.judge.paths import * from kolejka.judge.typing import * from kolejka.judge.validators import * from kolejka.judge.commands import * from kolejka.judge.tasks.base import TaskBase __all__ = [ 'ExecutableTask', 'Solu...
33.930108
157
0.694977
779
6,311
5.259307
0.106547
0.068343
0.088846
0.045643
0.532585
0.384672
0.309983
0.291433
0.273371
0.273371
0
0.000604
0.212328
6,311
185
158
34.113514
0.823577
0.004595
0
0.376543
0
0
0.040605
0.003503
0
0
0
0
0
1
0.228395
false
0
0.049383
0.166667
0.604938
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
b10ab89636ea11384a10148c9f64570bfdfd3743
369
py
Python
pyflarum/database/__init__.py
CWKevo/pyflarum
bdf162a6c94e3051843ec7299a4302054927498a
[ "MIT" ]
9
2021-06-23T21:26:29.000Z
2021-11-16T13:25:34.000Z
pyflarum/database/__init__.py
CWKevo/pyflarum
bdf162a6c94e3051843ec7299a4302054927498a
[ "MIT" ]
3
2021-09-11T00:08:14.000Z
2022-02-07T15:34:27.000Z
pyflarum/database/__init__.py
CWKevo/pyflarum
bdf162a6c94e3051843ec7299a4302054927498a
[ "MIT" ]
1
2021-08-18T12:45:14.000Z
2021-08-18T12:45:14.000Z
from typing import TYPE_CHECKING from pyflarum.database.session import FlarumDatabase from pyflarum.database.flarum.core.discussions import DB_Discussion from pyflarum.database.flarum.core.posts import DB_Post from pyflarum.database.flarum.core.users import DB_User if TYPE_CHECKING: _ = [ FlarumDatabase...
24.6
67
0.783198
48
369
5.833333
0.395833
0.171429
0.285714
0.278571
0.321429
0
0
0
0
0
0
0
0.157182
369
14
68
26.357143
0.900322
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
b15830ba57a9cf00209626231e1c649b0c13c886
64
py
Python
Phones/G3.py
HuuHoangNguyen/Python_learning
c33940ca95866cefa6381cdef901062be755052d
[ "MIT" ]
null
null
null
Phones/G3.py
HuuHoangNguyen/Python_learning
c33940ca95866cefa6381cdef901062be755052d
[ "MIT" ]
null
null
null
Phones/G3.py
HuuHoangNguyen/Python_learning
c33940ca95866cefa6381cdef901062be755052d
[ "MIT" ]
null
null
null
#!/usr/bin/python def G3(): print "I'm G3 Phone" return
12.8
24
0.578125
11
64
3.363636
0.909091
0
0
0
0
0
0
0
0
0
0
0.041667
0.25
64
5
25
12.8
0.729167
0.25
0
0
0
0
0.25
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
b16b9b5f48354f0beb6b1ef48ebcf5b118ef19cf
4,029
py
Python
tests/test_serializable.py
famura/init-args-serializer
e6ff3a852f261e9681a959fc35d12267c49e818a
[ "MIT" ]
1
2018-08-17T13:34:39.000Z
2018-08-17T13:34:39.000Z
tests/test_serializable.py
famura/init-args-serializer
e6ff3a852f261e9681a959fc35d12267c49e818a
[ "MIT" ]
1
2021-05-16T18:15:19.000Z
2021-05-16T18:15:19.000Z
tests/test_serializable.py
famura/init-args-serializer
e6ff3a852f261e9681a959fc35d12267c49e818a
[ "MIT" ]
1
2021-01-07T08:21:04.000Z
2021-01-07T08:21:04.000Z
import init_args_serializer.serializable as uut import pickle # A simple serializable subclass used for tests class SerTestBase(uut.Serializable): def __init__(self, arg1, arg2): # Capture args for serializable uut.Serializable._init(self, locals()) # For testing, capture args separately ...
27.59589
59
0.68131
476
4,029
5.592437
0.168067
0.084523
0.090158
0.077761
0.753944
0.724267
0.668295
0.634485
0.634485
0.613824
0
0.012987
0.216431
4,029
145
60
27.786207
0.830219
0.241003
0
0.6
0
0
0.095286
0
0
0
0
0
0.246154
1
0.215385
false
0
0.030769
0
0.292308
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b170dac2bd1aa6110881112de4722962d9efc1c4
168
py
Python
config/tests/helper.py
afzalIbnSH/care
d6ce745670f7915912293ec604037438a6ec7750
[ "MIT" ]
null
null
null
config/tests/helper.py
afzalIbnSH/care
d6ce745670f7915912293ec604037438a6ec7750
[ "MIT" ]
null
null
null
config/tests/helper.py
afzalIbnSH/care
d6ce745670f7915912293ec604037438a6ec7750
[ "MIT" ]
null
null
null
import pytest from rest_framework.test import APIClient @pytest.fixture() def client(): client = APIClient() client.default_format = "json" return client
16.8
41
0.72619
20
168
6
0.7
0
0
0
0
0
0
0
0
0
0
0
0.184524
168
9
42
18.666667
0.875912
0
0
0
0
0
0.02381
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
b17d9c40caf69706582c78d0746caa2a94b0364f
1,639
py
Python
bless/ssh/certificate_authorities/ssh_certificate_authority.py
lyft/bless
2a12482958b83d4eae7765b29742611d342f0626
[ "Apache-2.0" ]
19
2017-01-31T02:20:33.000Z
2020-07-22T05:50:38.000Z
bless/ssh/certificate_authorities/ssh_certificate_authority.py
lyft/bless
2a12482958b83d4eae7765b29742611d342f0626
[ "Apache-2.0" ]
35
2016-08-03T17:49:35.000Z
2021-06-22T18:20:52.000Z
bless/ssh/certificate_authorities/ssh_certificate_authority.py
lyft/bless
2a12482958b83d4eae7765b29742611d342f0626
[ "Apache-2.0" ]
7
2016-12-16T16:54:30.000Z
2021-08-30T14:05:31.000Z
""" .. module: bless.ssh.certificate_authorities.ssh_certificate_authority :copyright: (c) 2016 by Netflix Inc., see AUTHORS for more :license: Apache, see LICENSE for more details. """ from bless.ssh.protocol.ssh_protocol import pack_ssh_string class SSHCertificateSignatureKeyType(object): RSA = 'ssh-rsa...
32.137255
92
0.684564
201
1,639
5.432836
0.432836
0.051282
0.047619
0.032967
0.21978
0.098901
0.098901
0
0
0
0
0.02482
0.23795
1,639
50
93
32.78
0.84948
0.404515
0
0.105263
0
0
0.150402
0
0
0
0
0.04
0
1
0.210526
false
0
0.052632
0
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
b1a63dfe8d39fc0c1d0c9f41eecd641927eb8432
1,016
py
Python
bin/vedirect-simu.py
kepon85/PvMonit
14d3e9dc8711b5721db76543dde3089a52e73fc2
[ "Beerware" ]
16
2016-11-16T08:56:14.000Z
2021-04-30T02:49:26.000Z
bin/vedirect-simu.py
kepon85/PvMonit
14d3e9dc8711b5721db76543dde3089a52e73fc2
[ "Beerware" ]
9
2017-05-15T12:20:48.000Z
2021-03-13T17:45:12.000Z
bin/vedirect-simu.py
kepon85/PvMonit
14d3e9dc8711b5721db76543dde3089a52e73fc2
[ "Beerware" ]
9
2017-01-29T10:44:10.000Z
2021-12-06T08:52:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Simulation : https://framagit.org/kepon/PvMonit/issues/8 # ~ print("PID:0x203"); # ~ print("FW:146"); # ~ print("SER#:HQ18523ZGZI"); # ~ print("V:25260"); # ~ print("I:100"); # ~ print("VPV:28600"); # ~ print("PPV:6"); # ~ print("CS:3"); # ~ print("MPPT:2"); # ~ print("OR:0...
19.169811
58
0.574803
149
1,016
3.919463
0.583893
0.05137
0.044521
0.061644
0
0
0
0
0
0
0
0.195202
0.097441
1,016
52
59
19.538462
0.441658
0.475394
0
0
0
0
0.388235
0
0
0
0.009804
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
491f40b419c7c6bf250188deabab8ee861bb69f4
221
py
Python
allhub/misc/emoji.py
srinivasreddy/allhub
ff20858c9984da5c4edd5043c39eed3b6d5d693d
[ "Apache-2.0" ]
2
2019-10-07T15:46:33.000Z
2019-11-26T04:30:39.000Z
allhub/misc/emoji.py
srinivasreddy/allhub
ff20858c9984da5c4edd5043c39eed3b6d5d693d
[ "Apache-2.0" ]
1
2020-03-09T14:44:04.000Z
2020-03-09T14:44:04.000Z
allhub/misc/emoji.py
srinivasreddy/allhub
ff20858c9984da5c4edd5043c39eed3b6d5d693d
[ "Apache-2.0" ]
2
2019-10-08T05:22:37.000Z
2019-10-08T06:20:47.000Z
from allhub.response import Response class EmojiMixin: def emojis(self, **kwargs): url = "/emojis" self.response = Response(self.get(url, **kwargs), "Emoji") return self.response.transform()
24.555556
66
0.647059
25
221
5.72
0.6
0.13986
0
0
0
0
0
0
0
0
0
0
0.221719
221
8
67
27.625
0.831395
0
0
0
0
0
0.054299
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
1
0
0
3
493906bec44e6cfca68263b7be90d2d0c386f87b
1,127
py
Python
calculadora_basica.py
Kuroko0o/eje_python
12580bdcb2b70b89b20e2566bf17870ba4532ef2
[ "Apache-2.0" ]
null
null
null
calculadora_basica.py
Kuroko0o/eje_python
12580bdcb2b70b89b20e2566bf17870ba4532ef2
[ "Apache-2.0" ]
null
null
null
calculadora_basica.py
Kuroko0o/eje_python
12580bdcb2b70b89b20e2566bf17870ba4532ef2
[ "Apache-2.0" ]
null
null
null
print (" ****** Bienvenido a Calculadora Basica 2020 ****** ") print (" -------------------------------------------------------- ") num = input("Ingresar el número entero a calcular: \n") calculo = input("Ingresar el simbolo de la operación que desea realizar: (+,-,*,/) \n") num_dos = input("Ingresar el siguiente nú...
37.566667
87
0.486247
126
1,127
4.333333
0.365079
0.076923
0.102564
0.168498
0.369963
0.369963
0.320513
0.320513
0.203297
0.203297
0
0.008639
0.17835
1,127
29
88
38.862069
0.580994
0
0
0.08
0
0
0.645075
0.199645
0
0
0
0
0
1
0
false
0
0
0
0
0.48
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
499a9378c2da57045d623205342215925bd12629
7,523
py
Python
MuseParse/tests/testUsingXML/testDurationAndStems.py
Godley/MusIc-Parser
23cecafa1fdc0f2d6a87760553572b459f3c9904
[ "MIT" ]
5
2015-07-21T14:06:34.000Z
2018-04-24T19:31:45.000Z
MuseParse/tests/testUsingXML/testDurationAndStems.py
Godley/MusIc-Parser
23cecafa1fdc0f2d6a87760553572b459f3c9904
[ "MIT" ]
37
2015-07-20T17:03:19.000Z
2016-08-08T09:21:40.000Z
MuseParse/tests/testUsingXML/testDurationAndStems.py
Godley/MusIc-Parser
23cecafa1fdc0f2d6a87760553572b459f3c9904
[ "MIT" ]
5
2015-07-24T09:22:52.000Z
2017-03-29T19:13:16.000Z
import os from MuseParse.tests.testUsingXML.xmlSet import xmlSet, parsePiece from MuseParse.classes.ObjectHierarchy.TreeClasses.PartNode import PartNode from MuseParse.classes.ObjectHierarchy.TreeClasses.MeasureNode import MeasureNode from MuseParse.classes.ObjectHierarchy.TreeClasses.NoteNode import NoteNode from Mus...
33.140969
81
0.626878
837
7,523
5.608124
0.113501
0.081807
0.080315
0.123562
0.799744
0.742863
0.732637
0.6732
0.646144
0.592672
0
0.034757
0.246577
7,523
226
82
33.287611
0.793402
0
0
0.721311
0
0
0.0218
0.004121
0
0
0
0
0.174863
1
0.185792
false
0
0.038251
0
0.240437
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b8db5e54d03a17aa896f071b1c8d86e65ab03ffb
72
py
Python
python/define.py
DaveSaah/shell-scripts
249836b5be303e5e8099d8f9aaf1dce14f41e549
[ "MIT" ]
null
null
null
python/define.py
DaveSaah/shell-scripts
249836b5be303e5e8099d8f9aaf1dce14f41e549
[ "MIT" ]
null
null
null
python/define.py
DaveSaah/shell-scripts
249836b5be303e5e8099d8f9aaf1dce14f41e549
[ "MIT" ]
null
null
null
import os val = input("Enter word: ") os.system(f"dict {val} | less")
12
31
0.625
12
72
3.75
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.180556
72
5
32
14.4
0.762712
0
0
0
0
0
0.402778
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
b8f23c25b85dc454fe9aa7d3445068bb727263e4
564
py
Python
test_tweet.py
pyohei/rirakkuma-crawller
61628e4db1f060a131adcdfd3d42d1bdbc01a23e
[ "MIT" ]
null
null
null
test_tweet.py
pyohei/rirakkuma-crawller
61628e4db1f060a131adcdfd3d42d1bdbc01a23e
[ "MIT" ]
1
2016-04-10T14:53:26.000Z
2016-04-10T14:53:26.000Z
test_tweet.py
pyohei/rirakkuma-crawller
61628e4db1f060a131adcdfd3d42d1bdbc01a23e
[ "MIT" ]
null
null
null
# from mock import Mock import tweepy import unittest from tweet import main class OAuthHandler(object): def __init__(self, consumer_key, consumer_secret): pass def set_access_token(self, access_key, access_secret): pass class API(object): def __init__(self, auth_handler=None): ...
15.243243
58
0.684397
70
564
5.157143
0.442857
0.055402
0.072022
0.094183
0
0
0
0
0
0
0
0
0.230496
564
36
59
15.666667
0.831797
0.037234
0
0.2
0
0
0.014787
0
0
0
0
0
0
1
0.25
false
0.2
0.15
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b8f357bc2ecb64f4bb324448f3cb08a8a553a197
21
py
Python
common/walt/common/devices/switches/__init__.py
dia38/walt-python-packages
e6fa1f166f45e73173195d57840d22bef87b88f5
[ "BSD-3-Clause" ]
4
2020-01-14T09:12:56.000Z
2022-03-14T14:35:11.000Z
common/walt/common/devices/switches/__init__.py
dia38/walt-python-packages
e6fa1f166f45e73173195d57840d22bef87b88f5
[ "BSD-3-Clause" ]
73
2016-04-29T13:17:26.000Z
2022-03-01T15:06:48.000Z
common/walt/common/devices/switches/__init__.py
dia38/walt-python-packages
e6fa1f166f45e73173195d57840d22bef87b88f5
[ "BSD-3-Clause" ]
3
2019-03-18T14:27:56.000Z
2021-06-03T12:07:02.000Z
__all__= ["netgear"]
10.5
20
0.666667
2
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.095238
21
1
21
21
0.526316
0
0
0
0
0
0.333333
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
773e6599d589fd74837d0a86b644d1489f3f0614
1,254
py
Python
dice_vtk/geometries/cylinder.py
dicehub/dice_vtk
ab8d9f34ae359461db5687d05bf38548bbaca6ea
[ "MIT" ]
null
null
null
dice_vtk/geometries/cylinder.py
dicehub/dice_vtk
ab8d9f34ae359461db5687d05bf38548bbaca6ea
[ "MIT" ]
null
null
null
dice_vtk/geometries/cylinder.py
dicehub/dice_vtk
ab8d9f34ae359461db5687d05bf38548bbaca6ea
[ "MIT" ]
null
null
null
# Standard Python modules # ======================= # External modules # ================ from vtk import vtkCylinderSource # DICE modules # ============ from .simple_geometry import SimpleGeometry from .geometry_base import GeometryProperty class Cylinder(SimpleGeometry): """ Creates a polygonal cylinder ce...
26.125
77
0.661085
141
1,254
5.808511
0.475177
0.07326
0.051282
0.07326
0
0
0
0
0
0
0
0
0.219298
1,254
47
78
26.680851
0.836568
0.305423
0
0.12
0
0
0.009558
0
0
0
0
0
0
1
0.28
false
0
0.12
0.12
0.56
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
622ade1cab9ed8ce42889b4f43115536334c3f68
87
py
Python
examples/SPOJ_1/SPOJ_1.py
qbajt/atom-spoj
8672ad771d9911a7b8ab19666e8a39da211ba125
[ "MIT" ]
null
null
null
examples/SPOJ_1/SPOJ_1.py
qbajt/atom-spoj
8672ad771d9911a7b8ab19666e8a39da211ba125
[ "MIT" ]
null
null
null
examples/SPOJ_1/SPOJ_1.py
qbajt/atom-spoj
8672ad771d9911a7b8ab19666e8a39da211ba125
[ "MIT" ]
null
null
null
while True: a = input() if int(a) == 42: break; print(int(a))
14.5
21
0.425287
12
87
3.083333
0.75
0.216216
0
0
0
0
0
0
0
0
0
0.039216
0.413793
87
5
22
17.4
0.686275
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
62303fd2ae7a1b5ac0ba00ae3fdcfe451be756c6
2,302
py
Python
zokyo/utils/CustomExceptions.py
toyotaconnected-India/zokyo
6086ce7c014dd76b28756596ada3559eacc06d44
[ "Apache-2.0" ]
null
null
null
zokyo/utils/CustomExceptions.py
toyotaconnected-India/zokyo
6086ce7c014dd76b28756596ada3559eacc06d44
[ "Apache-2.0" ]
null
null
null
zokyo/utils/CustomExceptions.py
toyotaconnected-India/zokyo
6086ce7c014dd76b28756596ada3559eacc06d44
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Contributors : [srinivas.v@toyotaconnected.co.in,srivathsan.govindarajan@toyotaconnected.co.in, # harshavardhan.thirupathi@toyotaconnected.co.in, # ashok.ramadass@toyotaconnected.com ] class CoefficientNotinRangeError(Exception): """ Class to throw exception when a coefficient is ...
29.512821
97
0.646829
270
2,302
5.188889
0.259259
0.024982
0.057102
0.074946
0.244111
0.23055
0.182727
0
0
0
0
0.006307
0.242398
2,302
77
98
29.896104
0.797018
0.219374
0
0.230769
0
0
0.104829
0
0
0
0
0
0
1
0.25641
false
0
0
0.128205
0.512821
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
62337d57bdec17d67824c4636d18042caa59150c
51
py
Python
ddmin/__init__.py
hydraseq/ddmin
44d5ab3d6d8905c4025198c9630ed8672b95febb
[ "MIT" ]
1
2020-03-21T17:03:41.000Z
2020-03-21T17:03:41.000Z
ddmin/__init__.py
hydraseq/ddmin
44d5ab3d6d8905c4025198c9630ed8672b95febb
[ "MIT" ]
1
2020-12-09T11:31:39.000Z
2020-12-09T11:31:39.000Z
ddmin/__init__.py
hydraseq/ddmin
44d5ab3d6d8905c4025198c9630ed8672b95febb
[ "MIT" ]
null
null
null
__version__ = '0.0.1' from ddmin.ddmin import DDMin
25.5
29
0.764706
9
51
3.888889
0.666667
0
0
0
0
0
0
0
0
0
0
0.066667
0.117647
51
2
29
25.5
0.711111
0
0
0
0
0
0.096154
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
6252be71d6bddfc058bc6840d77723373ba0bda4
247
py
Python
solace/views/__init__.py
Plurk/Solace
752a98e3279f1e7e0dafd6281e90ba24cb733474
[ "BSD-3-Clause" ]
4
2015-10-28T22:23:07.000Z
2021-08-25T15:21:25.000Z
solace/views/__init__.py
sfermigier/solace
32d0b398643344c797a40a094689300c364de3b0
[ "BSD-3-Clause" ]
null
null
null
solace/views/__init__.py
sfermigier/solace
32d0b398643344c797a40a094689300c364de3b0
[ "BSD-3-Clause" ]
1
2018-11-25T17:52:22.000Z
2018-11-25T17:52:22.000Z
# -*- coding: utf-8 -*- """ solace.views ~~~~~~~~~~~~ All the view functions are implemented in this package. :copyright: (c) 2009 by Plurk Inc., see AUTHORS for more details. :license: BSD, see LICENSE for more details. """
22.454545
69
0.603239
32
247
4.65625
0.84375
0.09396
0.187919
0
0
0
0
0
0
0
0
0.026455
0.234818
247
10
70
24.7
0.761905
0.878543
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
627e53bf99859a633169673aaf31cf4ca8c7e62f
346
py
Python
src/applications/profile/urls.py
tgrx/obliviscor
31f9a4476892460c931b9a8fc5403c3afcc47607
[ "Apache-2.0" ]
null
null
null
src/applications/profile/urls.py
tgrx/obliviscor
31f9a4476892460c931b9a8fc5403c3afcc47607
[ "Apache-2.0" ]
20
2020-04-16T23:45:50.000Z
2020-05-05T14:22:03.000Z
src/applications/profile/urls.py
tgrx/obliviscor
31f9a4476892460c931b9a8fc5403c3afcc47607
[ "Apache-2.0" ]
null
null
null
from django.urls import path from applications.profile.apps import ProfileConfig from applications.profile.views import ProfileEditView from applications.profile.views import ProfileView app_name = ProfileConfig.label urlpatterns = [ path("", ProfileView.as_view(), name="me"), path("edit/", ProfileEditView.a...
26.615385
58
0.771676
41
346
6.439024
0.487805
0.181818
0.261364
0.212121
0.257576
0
0
0
0
0
0
0
0.115607
346
12
59
28.833333
0.862745
0
0
0
0
0
0.031792
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
655044af11e8ea9a1dcc78d883b0bab70a2430ae
5,260
py
Python
torchchem/data/data_utils.py
scarcella/torchchem
48540715948cf75a2018eff736c00a3040f38fa7
[ "MIT" ]
36
2020-03-07T19:32:39.000Z
2022-03-22T10:15:38.000Z
torchchem/data/data_utils.py
RickeyEstes/torchchem
b4cee54088c2d1d52c349c3ed67126bc86940ba8
[ "MIT" ]
10
2020-03-14T02:49:46.000Z
2022-02-10T01:08:03.000Z
torchchem/data/data_utils.py
RickeyEstes/torchchem
b4cee54088c2d1d52c349c3ed67126bc86940ba8
[ "MIT" ]
12
2020-03-18T06:54:46.000Z
2022-01-18T22:57:00.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Mar 21 03:15:05 2020 @author: zqwu """ import numpy as np import pandas as pd import csv import torch as t import os import pickle import copy import torch_geometric as tg import tempfile from rdkit import Chem from torchchem.data.mol_graph import mol...
31.309524
77
0.626426
707
5,260
4.497878
0.216407
0.040881
0.044025
0.042767
0.716352
0.716352
0.716352
0.697484
0.697484
0.67044
0
0.008032
0.289924
5,260
168
78
31.309524
0.843373
0.357795
0
0.5
0
0
0.038154
0
0
0
0
0
0
1
0.021739
false
0
0.130435
0
0.173913
0.054348
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
656178dd47ca615f8866b7c53998fc205581d17d
429
py
Python
happyly/handling/dummy_handler.py
alex-tsukanov/cargopy
f73b68e2ea5263dea5e570756d5fbcc4ef8d7b75
[ "MIT" ]
5
2019-03-01T16:50:15.000Z
2021-05-24T10:58:34.000Z
happyly/handling/dummy_handler.py
alex-tsukanov/cargopy
f73b68e2ea5263dea5e570756d5fbcc4ef8d7b75
[ "MIT" ]
18
2019-03-18T12:59:09.000Z
2019-05-14T17:36:02.000Z
happyly/handling/dummy_handler.py
alex-tsukanov/cargopy
f73b68e2ea5263dea5e570756d5fbcc4ef8d7b75
[ "MIT" ]
2
2019-03-24T22:43:08.000Z
2019-06-04T09:45:12.000Z
from typing import Mapping, Any from happyly.handling.handler import Handler class _DummyHandler(Handler): def handle(self, message: Mapping[str, Any]): return message def on_handling_failed(self, message: Mapping[str, Any], error: Exception): raise error DUMMY_HANDLER: _DummyHandler = _Du...
22.578947
79
0.736597
52
429
5.961538
0.615385
0.122581
0.116129
0.135484
0.154839
0
0
0
0
0
0
0
0.174825
429
18
80
23.833333
0.875706
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
656f919ab3662a3ddacb5a3d0258f1d2dfbfc65b
389
py
Python
thundra_demo_localstack/modules/sqs.py
thundra-io/thundra-demo-localstack-python
ffc7deb50508b59b51d791143e6e11c249df2ad5
[ "Apache-2.0" ]
1
2021-11-08T08:36:06.000Z
2021-11-08T08:36:06.000Z
thundra_demo_localstack/modules/sqs.py
thundra-io/thundra-demo-localstack-python
ffc7deb50508b59b51d791143e6e11c249df2ad5
[ "Apache-2.0" ]
null
null
null
thundra_demo_localstack/modules/sqs.py
thundra-io/thundra-demo-localstack-python
ffc7deb50508b59b51d791143e6e11c249df2ad5
[ "Apache-2.0" ]
null
null
null
import boto3 from botocore import endpoint from thundra_demo_localstack.config import EnvironmentConfig from thundra_demo_localstack.utils import Singleton class SqsClient(metaclass=Singleton): def __init__(self): self.sqs_client = boto3.client("sqs", region_name=EnvironmentConfig.AWS_REGION...
29.923077
60
0.760925
43
389
6.581395
0.55814
0.077739
0.106007
0.176678
0
0
0
0
0
0
0
0.006289
0.182519
389
13
61
29.923077
0.883648
0
0
0
0
0
0.007692
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
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
65a5f6a049181775706072e7ed0717004159282e
844
py
Python
pymag/pipeline.py
jdrumgoole/pymag
f7d3e03dda8726e8ef61b5e2310d91c20cdf478a
[ "Apache-2.0" ]
null
null
null
pymag/pipeline.py
jdrumgoole/pymag
f7d3e03dda8726e8ef61b5e2310d91c20cdf478a
[ "Apache-2.0" ]
null
null
null
pymag/pipeline.py
jdrumgoole/pymag
f7d3e03dda8726e8ef61b5e2310d91c20cdf478a
[ "Apache-2.0" ]
1
2020-05-06T10:49:46.000Z
2020-05-06T10:49:46.000Z
import pymag import pprint class Pipeline(list): def __init__(self, seq=()): super().__init__(seq) for i, d in enumerate(self): if not isinstance(d, pymag.AggStage): raise ValueError(f"the {i} element {d} is not an AggStage object") elif isinstance(d, py...
25.575758
82
0.556872
110
844
4.090909
0.445455
0.035556
0.033333
0.046667
0.093333
0.093333
0
0
0
0
0
0.001742
0.319905
844
32
83
26.375
0.78223
0
0
0
0
0
0.139976
0
0
0
0
0
0
1
0.285714
false
0
0.095238
0.238095
0.666667
0.095238
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