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
e741a17085f69bbb4515f1b6de69e6344e0a8ba2
237
py
Python
src/code/static_network/globals.py
dvaruas/minority_recommendations
8adcbf5af5c322e4b20d4336b12ecda62a5c4d5f
[ "MIT" ]
null
null
null
src/code/static_network/globals.py
dvaruas/minority_recommendations
8adcbf5af5c322e4b20d4336b12ecda62a5c4d5f
[ "MIT" ]
null
null
null
src/code/static_network/globals.py
dvaruas/minority_recommendations
8adcbf5af5c322e4b20d4336b12ecda62a5c4d5f
[ "MIT" ]
null
null
null
import os PARAMETERS_PATH = os.path.join(os.path.dirname(__file__), os.pardir, "common", "parameters.ini") STATIC_DATA_PATH = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, "data", "synthetic", "static")
29.625
96
0.721519
35
237
4.571429
0.371429
0.15
0.125
0.175
0.4875
0.4875
0.4875
0.4875
0.4875
0.4875
0
0
0.101266
237
7
97
33.857143
0.751174
0
0
0
0
0
0.164557
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e74a850eb0a9ef7a3a8e07d6a7a66ec36501cef4
7,973
py
Python
api.py
sVialaret/SCmon2000EP
a7197825462741811129af2980c8acd56073b25c
[ "MIT" ]
1
2018-07-07T21:18:11.000Z
2018-07-07T21:18:11.000Z
api.py
sVialaret/SCmon2000EP
a7197825462741811129af2980c8acd56073b25c
[ "MIT" ]
null
null
null
api.py
sVialaret/SCmon2000EP
a7197825462741811129af2980c8acd56073b25c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import requests from datetime import datetime import hashlib import urllib import base64 import random as rd allocine_secret_key = '29d185d98c984a359e6e6f26a0474269' allocine_partner = '100043982026' formatUrl = 'json' def init_connect(): ### Initialisation : user-agent aleatoire v = str...
40.887179
194
0.647059
1,137
7,973
4.502199
0.171504
0.018754
0.038679
0.060168
0.733151
0.717523
0.685876
0.685681
0.655988
0.610471
0
0.066809
0.175843
7,973
195
195
40.887179
0.71222
0.045905
0
0.440299
0
0.119403
0.455894
0.017984
0
0
0
0
0
1
0.052239
false
0
0.044776
0
0.164179
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
0
0
0
2
e752d03591a27815f5b4f82c7dd8461c80132bef
1,937
py
Python
tests/behavioural/features/steps/status_code.py
ONSdigital/ras-secure-message
0713214e89e84ac0c16f2eb075883e4c05d48179
[ "MIT" ]
6
2017-06-30T12:31:36.000Z
2018-03-06T12:34:11.000Z
tests/behavioural/features/steps/status_code.py
ONSdigital/ras-secure-message
0713214e89e84ac0c16f2eb075883e4c05d48179
[ "MIT" ]
97
2017-06-28T11:55:43.000Z
2021-12-24T09:22:17.000Z
tests/behavioural/features/steps/status_code.py
ONSdigital/ras-secure-message
0713214e89e84ac0c16f2eb075883e4c05d48179
[ "MIT" ]
2
2017-05-05T10:31:41.000Z
2021-04-11T07:46:18.000Z
import nose.tools from behave import then @then("a success status code 200 is returned") def step_impl_200_success_returned(context): """validate that the status code was 200""" nose.tools.assert_equal(context.response.status_code, 200) @then("a success status code no content 204 is returned") def step_impl...
33.982456
75
0.758906
296
1,937
4.780405
0.152027
0.219081
0.082686
0.108127
0.728622
0.563958
0.54417
0.54417
0.106007
0
0
0.055655
0.137326
1,937
56
76
34.589286
0.791143
0.182757
0
0
0
0
0.241379
0
0
0
0
0
0.310345
1
0.310345
false
0
0.068966
0
0.37931
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
e76fbada9c705f5e58be2894e0c55cbee7b88a76
173
py
Python
sources/breakout/breakout03.py
kantel/python-schulung
c319125c4a6f8479aff5ca5e66f3bbfbf48eb22c
[ "MIT" ]
null
null
null
sources/breakout/breakout03.py
kantel/python-schulung
c319125c4a6f8479aff5ca5e66f3bbfbf48eb22c
[ "MIT" ]
null
null
null
sources/breakout/breakout03.py
kantel/python-schulung
c319125c4a6f8479aff5ca5e66f3bbfbf48eb22c
[ "MIT" ]
null
null
null
import tkinter as tk from gameworld03 import World if __name__ == "__main__": root = tk.Tk() root.title("Hello, Pong!") world = World(root) world.mainloop()
21.625
30
0.65896
23
173
4.608696
0.652174
0
0
0
0
0
0
0
0
0
0
0.014706
0.213873
173
8
31
21.625
0.764706
0
0
0
0
0
0.114943
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e771210221631e3d7a50994ca92e75bd48791fc0
2,233
py
Python
processor.py
GPrathap/OpenBCIPython
0f5be167fb09d31c15885003eeafec8cdc08dbfa
[ "MIT" ]
1
2021-11-07T12:01:08.000Z
2021-11-07T12:01:08.000Z
processor.py
GPrathap/OpenBCIPython
0f5be167fb09d31c15885003eeafec8cdc08dbfa
[ "MIT" ]
null
null
null
processor.py
GPrathap/OpenBCIPython
0f5be167fb09d31c15885003eeafec8cdc08dbfa
[ "MIT" ]
1
2020-10-15T08:35:01.000Z
2020-10-15T08:35:01.000Z
import pydub import os import seaborn as sb from manager import FeatureManager from features.energy import Energy from features.fft import FFT from features.mean import Mean from features.mfcc import MFCC from features.zcr import ZCR from utils.Audio import Audio sb.set(style="white", palette="muted") import rand...
24.271739
112
0.68876
249
2,233
6.092369
0.297189
0.166117
0.175346
0.056032
0.164799
0.134476
0.059328
0
0
0
0
0.015704
0.201523
2,233
91
113
24.538462
0.835109
0.145096
0
0
0
0
0.027361
0
0
0
0
0.010989
0
1
0.081081
false
0
0.297297
0.054054
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
e776c4a51bd56f025b8a5aa8b6dd6e07e98ccfa4
1,249
py
Python
file_builder/test/__init__.py
btrekkie/file-builder
e85726ed647ad7a73839c7410618ef3f118c96c9
[ "MIT" ]
1
2020-05-29T17:13:26.000Z
2020-05-29T17:13:26.000Z
file_builder/test/__init__.py
btrekkie/file-builder
e85726ed647ad7a73839c7410618ef3f118c96c9
[ "MIT" ]
4
2021-06-14T18:42:55.000Z
2022-03-27T13:36:54.000Z
file_builder/test/__init__.py
btrekkie/file-builder
e85726ed647ad7a73839c7410618ef3f118c96c9
[ "MIT" ]
null
null
null
from .args_test import ArgsTest from .arithmetic_test import ArithmeticTest from .build_dirs_test import BuildDirsTest from .build_file_test import BuildFileTest from .bundle_tags_test import BundleTagsTest from .caching_test import CachingTest from .case_test import CaseTest from .clean_test import CleanTest from .cre...
43.068966
76
0.831865
135
1,249
7.414815
0.377778
0.1998
0.027972
0
0
0
0
0
0
0
0
0
0.102482
1,249
28
77
44.607143
0.892953
0
0
0
0
0
0.21297
0
0
0
0
0
0
1
0
false
0
0.740741
0
0.740741
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e7804903cb7c22b31443ae1d6aa38133fef36381
1,108
py
Python
problem_5.py
m-yuhas/project_euler
ea7b5ee0c715426fb08062f576dcd633a824b848
[ "MIT" ]
null
null
null
problem_5.py
m-yuhas/project_euler
ea7b5ee0c715426fb08062f576dcd633a824b848
[ "MIT" ]
null
null
null
problem_5.py
m-yuhas/project_euler
ea7b5ee0c715426fb08062f576dcd633a824b848
[ "MIT" ]
null
null
null
#!/usr/bin/python from math import ceil, sqrt def find_prime_factors(n): """ Returns an array of the prime factors on n Loops from 2 to sqrt(n) to pull off a prime factor Recursively computes factors until the remaining number is prime """ for i in range(2,ceil(sqrt(n))+1): if...
35.741935
90
0.608303
167
1,108
3.772455
0.335329
0.32381
0.155556
0.166667
0.293651
0.190476
0
0
0
0
0
0.016927
0.306859
1,108
30
91
36.933333
0.803385
0.157942
0
0
0
0
0.069397
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.181818
0.045455
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e780e9824ee241c0711032c06c3d25c7ce2099c8
177
py
Python
main.py
rp-bot/Instagram-DM-bot1
5c040f5f4533718027254cb171e91b40590b54a8
[ "MIT" ]
null
null
null
main.py
rp-bot/Instagram-DM-bot1
5c040f5f4533718027254cb171e91b40590b54a8
[ "MIT" ]
null
null
null
main.py
rp-bot/Instagram-DM-bot1
5c040f5f4533718027254cb171e91b40590b54a8
[ "MIT" ]
null
null
null
# run this file import notification_alert as notif import reply if __name__ == '__main__': away = True while away: notif.checkstatus() reply.bot_init()
17.7
34
0.661017
22
177
4.863636
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.259887
177
9
35
19.666667
0.816794
0.073446
0
0
0
0
0.049383
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e79679623553bf3e6b0c212a4abe4239e1e9c46e
597
py
Python
custom_model_metrics_visualize.py
Miso-K/DDCW
aa033e1bf9258eee0a39b6dd69260910179528e0
[ "MIT" ]
1
2021-12-07T19:22:27.000Z
2021-12-07T19:22:27.000Z
custom_model_metrics_visualize.py
Miso-K/DDCW
aa033e1bf9258eee0a39b6dd69260910179528e0
[ "MIT" ]
null
null
null
custom_model_metrics_visualize.py
Miso-K/DDCW
aa033e1bf9258eee0a39b6dd69260910179528e0
[ "MIT" ]
null
null
null
import pickle """Run visualization of internal metrics of DDCW model after evaluation (read saved evaluation object)""" evaluator = pickle.load(open("evaluatorobject", "rb")) # Plotting internal model metrics (for DDCW model) from utils import plot_custom_model_metrics as pc pc.plot_model_size(evaluator, model_ids=[0,...
59.7
154
0.775544
92
597
4.902174
0.5
0.039911
0.075388
0.079823
0.283814
0.283814
0.283814
0.146341
0
0
0
0.020561
0.103853
597
9
155
66.333333
0.82243
0.080402
0
0
0
0
0.352941
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
e7bdecb59192c20a3769338156f36e66c6aeb79a
687
py
Python
codenames/messages.py
dieret/codenames
dc4bf9c873c2bf96d7a0fd86bc46e570f9721f0f
[ "MIT" ]
null
null
null
codenames/messages.py
dieret/codenames
dc4bf9c873c2bf96d7a0fd86bc46e570f9721f0f
[ "MIT" ]
null
null
null
codenames/messages.py
dieret/codenames
dc4bf9c873c2bf96d7a0fd86bc46e570f9721f0f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # std from typing import List, Optional # ours from codenames.users import User class Message: def __init__(self, message: str, user: Optional[User] = None): self.user = user # type: Optional[User] self.message = message def to_html(self): if self.user: ...
22.16129
66
0.615721
89
687
4.606742
0.393258
0.134146
0.073171
0.078049
0.097561
0
0
0
0
0
0
0.00198
0.26492
687
30
67
22.9
0.809901
0.103348
0
0.111111
0
0
0.00982
0
0
0
0
0
0
1
0.277778
false
0
0.111111
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e7c92b00482e580e8ca5918a5b90b90b5f5a5cc8
68,133
py
Python
pysnmp-with-texts/DOCS-RPHY-PTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/DOCS-RPHY-PTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/DOCS-RPHY-PTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DOCS-RPHY-PTP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DOCS-RPHY-PTP-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:53:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
191.923944
9,463
0.824857
6,750
68,133
8.325481
0.084593
0.043988
0.076979
0.008185
0.458868
0.370429
0.356567
0.339662
0.306796
0.286777
0
0.042695
0.077672
68,133
354
9,464
192.466102
0.851578
0.004814
0
0.011594
0
0.136232
0.325609
0.065166
0
0
0.000826
0
0
1
0
false
0
0.043478
0
0.043478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e7cf7ba0b15891237f5fbb5ea5a2112c17fcf8a2
2,095
py
Python
nerds/test/test_crf_ner_model.py
elsevierlabs-os/nerds
9c4f32a51e3e08c802498dc88b5f6367c9d2df2d
[ "BSD-3-Clause" ]
19
2018-07-06T10:09:37.000Z
2020-11-27T18:14:42.000Z
nerds_orig/test/test_crf_ner_model.py
Banguiskode/nerds
366420b2ec57bf790562de62a79f4973cbd6b3ed
[ "BSD-3-Clause" ]
6
2018-12-28T12:14:12.000Z
2020-04-22T14:09:12.000Z
nerds/test/test_crf_ner_model.py
elsevierlabs-os/nerds
9c4f32a51e3e08c802498dc88b5f6367c9d2df2d
[ "BSD-3-Clause" ]
8
2018-07-14T16:50:28.000Z
2020-11-25T08:03:24.000Z
from nose.tools import assert_equal from nerds.core.model.input.annotation import Annotation from nerds.core.model.input.document import Document, AnnotatedDocument from nerds.core.model.ner.crf import CRF def test_crf(): content = b"The quick brown fox jumps over the lazy dog." annotations = [ Annot...
33.790323
76
0.666826
277
2,095
4.960289
0.216607
0.120087
0.152838
0.131004
0.772926
0.739447
0.710335
0.606259
0.570597
0.570597
0
0.039558
0.179475
2,095
61
77
34.344262
0.759744
0.051551
0
0.52381
0
0
0.123232
0
0
0
0
0
0.357143
1
0.047619
false
0
0.095238
0
0.142857
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e7d469a2b915f57d7024559e17cd3d524efd509a
144
py
Python
config.sample.py
talyguryn/watcher
dc491179f544ec7a120f82b19a67f69a6bed39bc
[ "MIT" ]
null
null
null
config.sample.py
talyguryn/watcher
dc491179f544ec7a120f82b19a67f69a6bed39bc
[ "MIT" ]
null
null
null
config.sample.py
talyguryn/watcher
dc491179f544ec7a120f82b19a67f69a6bed39bc
[ "MIT" ]
1
2019-05-24T19:41:47.000Z
2019-05-24T19:41:47.000Z
# Domains list DOMAINS = [ { 'url': 'https://ifmo.su', 'message': '@guryn' } ] # Notifications link from https://t.me/wbhkbot WEBHOOK = ''
18
53
0.604167
17
144
5.117647
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.180556
144
7
54
20.571429
0.737288
0.395833
0
0
0
0
0.369048
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e7e2f0d8909d8aded4b234668a35a9bea452ea64
514
py
Python
src/bromine/exceptions.py
Etiqa/bromine
cabf0931f5a06796c26fdc7fb9f7ecf147554fd5
[ "BSD-2-Clause" ]
2
2018-09-20T12:37:01.000Z
2021-08-30T14:44:25.000Z
src/bromine/exceptions.py
Etiqa/bromine
cabf0931f5a06796c26fdc7fb9f7ecf147554fd5
[ "BSD-2-Clause" ]
null
null
null
src/bromine/exceptions.py
Etiqa/bromine
cabf0931f5a06796c26fdc7fb9f7ecf147554fd5
[ "BSD-2-Clause" ]
null
null
null
""" Global Bromine exception and warning classes. """ from selenium.common.exceptions import (NoSuchElementException, # pylint: disable=unused-import StaleElementReferenceException, TimeoutException) class BromineException(Exception): ...
32.125
96
0.663424
44
514
7.75
0.840909
0
0
0
0
0
0
0
0
0
0
0
0.262646
514
15
97
34.266667
0.899736
0.383268
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
99b3045cad2b02c487f592e3a12fefd9366714c0
65
py
Python
src/__init__.py
neuront/jtrans
291e04deac061c1848484bb5f80bcfec0d910d6c
[ "MIT" ]
1
2018-10-31T02:12:01.000Z
2018-10-31T02:12:01.000Z
src/__init__.py
neuront/jtrans
291e04deac061c1848484bb5f80bcfec0d910d6c
[ "MIT" ]
null
null
null
src/__init__.py
neuront/jtrans
291e04deac061c1848484bb5f80bcfec0d910d6c
[ "MIT" ]
null
null
null
__version__ = '0.0.3' REPO = 'https://github.com/neuront/jtrans'
21.666667
42
0.692308
10
65
4.1
0.9
0
0
0
0
0
0
0
0
0
0
0.050847
0.092308
65
2
43
32.5
0.644068
0
0
0
0
0
0.584615
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
99b840a2a2e359344dc940d3f6572705741d4bad
6,649
py
Python
Dev/Cpp/CreateHeader.py
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-11-21T01:34:30.000Z
2020-11-21T01:34:30.000Z
Dev/Cpp/CreateHeader.py
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Dev/Cpp/CreateHeader.py
NumAniCloud/Effekseer
f4547a57eea4c85b55cb8218bf6cac6af6d6dd37
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
import re import codecs def isValidLine(line): if re.search('include \"', line) == None or line.find('.PSVita') != -1 or line.find('.PS4') != -1 or line.find('.Switch') != -1 or line.find('.XBoxOne') != -1: return True return False class CreateHeader: def __init__(self): self.lines = [] def addLine(self,line...
52.769841
160
0.848097
584
6,649
9.645548
0.196918
0.169359
0.148589
0.186402
0.62915
0.324871
0.124268
0
0
0
0
0.011717
0.037299
6,649
125
161
53.192
0.868302
0
0
0.06
0
0
0.488043
0.458866
0
0
0
0
0
1
0.05
false
0
0.02
0
0.1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
99be4754e2c0ff7cecb500a1dc5e5acd0e8dcf60
546
py
Python
src/camera/camera.py
jucoba/IpCamMonitorSystem
466e22d3cd095dbf99a1238713f1c23cabe514ed
[ "MIT" ]
1
2017-05-13T18:22:03.000Z
2017-05-13T18:22:03.000Z
src/camera/camera.py
jucoba/IpCamMonitorSystem
466e22d3cd095dbf99a1238713f1c23cabe514ed
[ "MIT" ]
null
null
null
src/camera/camera.py
jucoba/IpCamMonitorSystem
466e22d3cd095dbf99a1238713f1c23cabe514ed
[ "MIT" ]
null
null
null
from utils.paramUtils import * from utils.configUtils import * class Camera(): json_data = None paramUtil = ParamUtils() configUtil = ConfigUtils() def __init__(self, json_data): self.json_data = json_data self.url = self.configUtil.getUrl(json_data) def motion_detected(self): params = self.get_stat...
21.84
60
0.708791
75
546
4.946667
0.426667
0.107817
0.06469
0
0
0
0
0
0
0
0
0.033113
0.17033
546
25
61
21.84
0.785872
0
0
0
0
0
0.06947
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.055556
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
99c932b7b330e53a0d1d9e71a543716bac2b814e
3,534
py
Python
libdyson/dyson_pure_humidify_cool.py
vbsoftpl/libdyson
70d890259fe7baaa106f8c3302cd42077697ddd7
[ "Apache-2.0" ]
28
2021-02-11T22:44:01.000Z
2022-03-28T22:29:35.000Z
libdyson/dyson_pure_humidify_cool.py
vbsoftpl/libdyson
70d890259fe7baaa106f8c3302cd42077697ddd7
[ "Apache-2.0" ]
20
2021-03-07T15:18:58.000Z
2022-03-07T13:47:30.000Z
libdyson/dyson_pure_humidify_cool.py
vbsoftpl/libdyson
70d890259fe7baaa106f8c3302cd42077697ddd7
[ "Apache-2.0" ]
25
2021-02-13T14:55:43.000Z
2022-03-29T22:27:55.000Z
"""Dyson Pure Humidify+Cool device.""" from typing import Optional from .const import HumidifyOscillationMode, WaterHardness from .dyson_pure_cool import DysonPureCoolBase WATER_HARDNESS_ENUM_TO_STR = { WaterHardness.SOFT: "2025", WaterHardness.MEDIUM: "1350", WaterHardness.HARD: "0675", } WATER_HARDNESS...
34.647059
86
0.679117
404
3,534
5.665842
0.20297
0.062473
0.047182
0.066841
0.392748
0.200524
0.176933
0.095238
0.032329
0
0
0.004961
0.201471
3,534
101
87
34.990099
0.806166
0.18223
0
0.152542
0
0
0.035433
0.007516
0
0
0
0
0
1
0.288136
false
0
0.050847
0
0.508475
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
99cf2e6c972e6c1e9a70c4c30a8071a16ed1cd47
393
py
Python
edw_fluent/signals/handlers/__init__.py
infolabs/django_edw_fluent
ddb013c0b4dde9c7b00282c9b0c43b06e21b7c19
[ "MIT" ]
1
2020-10-23T08:55:21.000Z
2020-10-23T08:55:21.000Z
edw_fluent/signals/handlers/__init__.py
EagerBeager/django-edw-fluent
ab10ffe17000f2d07f29e4a25892ebc0e2e47101
[ "MIT" ]
3
2020-03-24T14:34:37.000Z
2021-06-10T21:12:53.000Z
edw_fluent/signals/handlers/__init__.py
EagerBeager/django-edw-fluent
ab10ffe17000f2d07f29e4a25892ebc0e2e47101
[ "MIT" ]
2
2020-10-23T08:55:19.000Z
2022-03-02T07:05:45.000Z
# -*- coding: utf-8 -*- from django.db.utils import ProgrammingError try: from edw_fluent.signals.handlers import ( page_layout, template, entity, data_mart, term, simple_page, hot_tag ) except (AttributeError, ProgrammingError) as e: # initial migrat...
21.833333
47
0.608142
42
393
5.571429
0.785714
0.145299
0.179487
0.222222
0
0
0
0
0
0
0
0.003584
0.290076
393
17
48
23.117647
0.835125
0.114504
0
0
0
0
0.089855
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0.142857
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
1
0
0
0
0
0
0
2
99cfded404e2fff90ba78176653a31e7278d3928
1,175
py
Python
submission/util.py
pwqbot/eoj3
46be6a6f192798e74eab7b327bb8df7ca73575d9
[ "MIT" ]
107
2017-03-15T11:53:45.000Z
2019-09-06T11:23:44.000Z
submission/util.py
OS-EDU/eoj3
f117dcd4e3cea7d150c3e3794e7255e00d486c88
[ "MIT" ]
27
2019-09-24T12:44:48.000Z
2022-03-11T23:18:21.000Z
submission/util.py
OS-EDU/eoj3
f117dcd4e3cea7d150c3e3794e7255e00d486c88
[ "MIT" ]
25
2019-10-11T10:39:12.000Z
2022-03-18T05:15:57.000Z
class SubmissionStatus(object): SUBMITTED = -4 WAITING = -3 JUDGING = -2 WRONG_ANSWER = -1 ACCEPTED = 0 TIME_LIMIT_EXCEEDED = 1 IDLENESS_LIMIT_EXCEEDED = 2 MEMORY_LIMIT_EXCEEDED = 3 RUNTIME_ERROR = 4 SYSTEM_ERROR = 5 COMPILE_ERROR = 6 SCORED = 7 REJECTED = 10 JUDGE_ERROR = 11 PRETEST_PASSE...
22.596154
91
0.675745
140
1,175
5.521429
0.385714
0.100906
0.087969
0.131953
0
0
0
0
0
0
0
0.038015
0.194043
1,175
51
92
23.039216
0.778247
0
0
0.088889
0
0
0.173617
0
0
0
0
0
0
1
0.088889
false
0.066667
0
0.088889
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
99e8b2d89b7758b9057c1a18c6d154fb6590ef35
13,221
py
Python
protos/kokoro_api_pb2.py
portintegration/releasetool
7567bd29b3c13b14f6336cbdb11965c2d2b65a2e
[ "Apache-2.0" ]
23
2018-10-09T15:14:21.000Z
2022-01-24T12:18:57.000Z
protos/kokoro_api_pb2.py
portintegration/releasetool
7567bd29b3c13b14f6336cbdb11965c2d2b65a2e
[ "Apache-2.0" ]
160
2018-09-21T22:16:02.000Z
2022-03-30T21:51:35.000Z
protos/kokoro_api_pb2.py
portintegration/releasetool
7567bd29b3c13b14f6336cbdb11965c2d2b65a2e
[ "Apache-2.0" ]
19
2018-10-08T20:39:39.000Z
2021-07-28T15:17:14.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: kokoro_api.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _re...
41.971429
1,127
0.754708
1,657
13,221
5.73446
0.112855
0.045464
0.051568
0.07409
0.689013
0.65281
0.631551
0.562303
0.521153
0.509366
0
0.033248
0.117313
13,221
314
1,128
42.105096
0.780977
0.04334
0
0.640569
1
0.003559
0.231287
0.178114
0
0
0
0
0
1
0
false
0
0.017794
0
0.017794
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
99f3b0b67951876e04128c58901271203717d169
1,121
py
Python
cgee/Producao/py-nlp/GenerateID.py
gustavodsf/java_project
ce0e735d6ce4804d30ae52986285e4c5f5e2d9b7
[ "Apache-2.0" ]
null
null
null
cgee/Producao/py-nlp/GenerateID.py
gustavodsf/java_project
ce0e735d6ce4804d30ae52986285e4c5f5e2d9b7
[ "Apache-2.0" ]
null
null
null
cgee/Producao/py-nlp/GenerateID.py
gustavodsf/java_project
ce0e735d6ce4804d30ae52986285e4c5f5e2d9b7
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- ''' Empresa: Funcao Coppetec Desenvolvedor: Gustavo Daniel Soares Figueiredo Data: 14/12/2014 Descricao: Classe criada para gerar os id dos objetos a serem adicionados no banco de dados, evitando assim mais requisições ao banco de dados. ''' class GenerateID: def __init...
25.477273
143
0.742194
156
1,121
5.307692
0.487179
0.05314
0.091787
0.096618
0.14372
0.14372
0.109903
0.074879
0
0
0
0.018418
0.176628
1,121
44
144
25.477273
0.878657
0.456735
0
0
0
0
0
0
0
0
0
0
0
1
0.409091
false
0
0
0.181818
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
99f3c397e2ceb24adfe2a47d369c5bea4a24c225
2,213
py
Python
postGIS_tools/routines/back_up_entire_machine.py
AltaPlanning/postGIS-tools
c39957d8eda0b67a34c46f629bb5dea1b65085d7
[ "MIT" ]
4
2020-06-25T17:18:28.000Z
2020-08-28T15:43:29.000Z
postGIS_tools/routines/back_up_entire_machine.py
AltaPlanning/postGIS-tools
c39957d8eda0b67a34c46f629bb5dea1b65085d7
[ "MIT" ]
null
null
null
postGIS_tools/routines/back_up_entire_machine.py
AltaPlanning/postGIS-tools
c39957d8eda0b67a34c46f629bb5dea1b65085d7
[ "MIT" ]
2
2019-10-09T04:29:34.000Z
2019-11-18T02:37:04.000Z
""" TODO: docstrings all across file Examples -------- >>> from postGIS_tools.configurations import get_postGIS_config, USER_DESKTOP >>> config, _ = get_postGIS_config() >>> config["localhost"]["debug"] = True >>> back_up_all_databases(USER_DESKTOP, **config["localhost"]) >>> remove_all_database...
28.012658
101
0.601446
236
2,213
5.385593
0.322034
0.047207
0.047207
0.028324
0.325728
0.325728
0.231314
0.231314
0.231314
0.231314
0
0.006923
0.28197
2,213
78
102
28.371795
0.792952
0.234071
0
0.341463
0
0
0.087814
0
0
0
0
0.012821
0
1
0.04878
false
0.170732
0.097561
0
0.146341
0.02439
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
0
0
0
0
0
2
99fa473f028db4963001c16010e34535fd4e4605
8,157
py
Python
tests/test_paginated_list.py
eriktews/canvasapi
132146395ecf55227cae69dc4d5f6d94545172b9
[ "MIT" ]
null
null
null
tests/test_paginated_list.py
eriktews/canvasapi
132146395ecf55227cae69dc4d5f6d94545172b9
[ "MIT" ]
null
null
null
tests/test_paginated_list.py
eriktews/canvasapi
132146395ecf55227cae69dc4d5f6d94545172b9
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals import unittest import requests_mock from canvasapi import Canvas from canvasapi.enrollment_term import EnrollmentTerm from canvasapi.paginated_list import PaginatedList from canvasapi.user import User from tests import settings from t...
39.597087
88
0.668751
1,116
8,157
4.544803
0.116487
0.057965
0.033123
0.078667
0.749606
0.746254
0.693612
0.682374
0.651222
0.651222
0
0.026825
0.213927
8,157
205
89
39.790244
0.764192
0.057987
0
0.503401
0
0
0.162539
0.041189
0
0
0
0
0.217687
1
0.136054
false
0
0.061224
0
0.204082
0.006803
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
0
0
0
2
8200cf491a16b60f3e40c5f160051d1422366337
1,008
py
Python
src/dice_stats/_magic/mapping.py
sponsfreixes/dice_stats
47e4909ffca896121a15aedef06c7fae8533bd06
[ "MIT" ]
2
2020-03-11T04:20:52.000Z
2020-03-11T16:53:48.000Z
src/dice_stats/_magic/mapping.py
sponsfreixes/dice_stats
47e4909ffca896121a15aedef06c7fae8533bd06
[ "MIT" ]
5
2020-03-11T04:29:56.000Z
2020-03-15T00:50:18.000Z
src/dice_stats/_magic/mapping.py
sponsfreixes/dice_stats
47e4909ffca896121a15aedef06c7fae8533bd06
[ "MIT" ]
2
2020-03-11T05:23:22.000Z
2022-02-18T00:06:40.000Z
""" Mapping interface. Code to make Dice implement an immutable mapping interface. This interface helps to keep code that uses dice Pythonic as they can use standard methods, and it the immutability helps make all the code simpler to use as we don't need to think about mutability. """ from __future__ import annotatio...
30.545455
69
0.717262
130
1,008
5.292308
0.515385
0.021802
0.026163
0.056686
0.110465
0.110465
0.110465
0.110465
0.110465
0
0
0
0.180556
1,008
32
70
31.5
0.83293
0.396825
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.416667
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
1
0
0
1
0
0
0
0
2
8217b4796812f86fa895263899add1b8a9eec667
1,737
py
Python
accounts/views.py
omid-taj/Deepfake-Detection-Website
8ba5cb5dda05df884a25120e7b2faffe900ca251
[ "MIT" ]
1
2021-08-01T00:17:56.000Z
2021-08-01T00:17:56.000Z
accounts/views.py
omid-taj/Deepfake-Detection-Website
8ba5cb5dda05df884a25120e7b2faffe900ca251
[ "MIT" ]
8
2021-03-30T13:17:39.000Z
2022-03-12T00:28:19.000Z
accounts/views.py
omid-taj/Deepfake-Detection-Website
8ba5cb5dda05df884a25120e7b2faffe900ca251
[ "MIT" ]
null
null
null
from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.auth.models import User from django.shortcuts import render, redirect from django.contrib.auth import login as auth_login from django.contrib.auth import logout as auth_logout # Create your views here. from django.views.generic import View ...
33.403846
94
0.639609
200
1,737
5.49
0.25
0.054645
0.103825
0.076503
0.614754
0.546448
0.546448
0.494536
0.288707
0.112933
0
0
0.244675
1,737
52
95
33.403846
0.83689
0.013241
0
0.575
0
0
0.10683
0
0
0
0
0
0
1
0.125
false
0.2
0.15
0.05
0.55
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
82353c7059ffa3a5062b9787ddbc7ad62b5ef466
284
py
Python
classes_and_testsTest/DocumentationFromUnitTestsTestData/DataSet1_py_ClassFile.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
classes_and_testsTest/DocumentationFromUnitTestsTestData/DataSet1_py_ClassFile.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
classes_and_testsTest/DocumentationFromUnitTestsTestData/DataSet1_py_ClassFile.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
class DataClassFile(): def functionName1(self): """ One Function (without parameters) with one test function (with single line comments) where the documentation had not been generated. """ say = "say" fu = "fu" return say + " " + fu
35.5
96
0.591549
31
284
5.419355
0.774194
0.059524
0
0
0
0
0
0
0
0
0
0.005128
0.31338
284
8
97
35.5
0.85641
0.464789
0
0
0
0
0.046512
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
823e899aecf5881c99e791fd7099ceb1404c2f55
418
py
Python
tests/test_api.py
pinntech/pinn-python
d7d3f2d2a4cdc3eb01ae85a117c0e3d8bc1732bd
[ "MIT" ]
2
2019-03-29T17:36:44.000Z
2021-11-20T00:05:04.000Z
tests/test_api.py
pinntech/pinn-python
d7d3f2d2a4cdc3eb01ae85a117c0e3d8bc1732bd
[ "MIT" ]
4
2020-03-24T16:52:29.000Z
2021-06-01T23:36:18.000Z
tests/test_api.py
pinntech/pinn-python
d7d3f2d2a4cdc3eb01ae85a117c0e3d8bc1732bd
[ "MIT" ]
1
2021-11-20T00:05:07.000Z
2021-11-20T00:05:07.000Z
""" :copyright: (c) 2019 Pinn Technologies, Inc. :license: MIT """ def test_import(): import pinn def test_configuration_error(): import pinn try: pinn.User.create() except pinn.errors.ConfigurationError: pass def test_authentication_error(): import pinn pinn.secret_key = '...
16.076923
44
0.645933
47
418
5.617021
0.531915
0.079545
0.113636
0.128788
0.25
0.25
0.25
0
0
0
0
0.01278
0.251196
418
25
45
16.72
0.830671
0.138756
0
0.6
0
0
0.008523
0
0
0
0
0
0
1
0.2
true
0.133333
0.266667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
412e7307ec9dcf65ea18ba353869dbba281732f1
806
py
Python
tests/core/actions/list_task_statuses/test_list_task_statuses_request.py
Himon-SYNCRAFT/taskplus
9e6293840941d0cb4fd7bac0f8ff66f8e72cc62b
[ "BSD-3-Clause" ]
null
null
null
tests/core/actions/list_task_statuses/test_list_task_statuses_request.py
Himon-SYNCRAFT/taskplus
9e6293840941d0cb4fd7bac0f8ff66f8e72cc62b
[ "BSD-3-Clause" ]
null
null
null
tests/core/actions/list_task_statuses/test_list_task_statuses_request.py
Himon-SYNCRAFT/taskplus
9e6293840941d0cb4fd7bac0f8ff66f8e72cc62b
[ "BSD-3-Clause" ]
null
null
null
from taskplus.core.actions import ListTaskStatusesRequest def test_list_user_roles_request_without_parameters(): request = ListTaskStatusesRequest() assert request.filters is None assert request.is_valid() is True def test_list_user_roles_request_with_empty_filters(): request = ListTaskStatusesRequ...
26.866667
63
0.756824
102
806
5.696078
0.313725
0.179002
0.075732
0.10327
0.521515
0.483649
0.437177
0.376936
0.376936
0.376936
0
0.008772
0.151365
806
29
64
27.793103
0.840643
0
0
0.294118
0
0
0.013648
0
0
0
0
0
0.470588
1
0.235294
false
0
0.058824
0
0.294118
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
1
0
1
0
0
0
0
0
0
0
2
4146a11ae36e37d979012bdedf5e4d1627d1f3bf
682
py
Python
pipelines/h1c/idr2/v1/bad_ants/H1C_IDR2_bad_ants.py
HERA-Team/hera_pipelines
d2b46bb494dfb020093b807445fc2095d292e898
[ "BSD-2-Clause" ]
null
null
null
pipelines/h1c/idr2/v1/bad_ants/H1C_IDR2_bad_ants.py
HERA-Team/hera_pipelines
d2b46bb494dfb020093b807445fc2095d292e898
[ "BSD-2-Clause" ]
9
2020-08-14T18:11:40.000Z
2022-03-18T17:38:03.000Z
pipelines/h1c/idr2/v1/bad_ants/H1C_IDR2_bad_ants.py
HERA-Team/hera_pipelines
d2b46bb494dfb020093b807445fc2095d292e898
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python """Script for producing bad_ants text files.""" JDs = [ 2458098, 2458099, 2458101, 2458102, 2458103, 2458104, 2458105, 2458106, 2458107, 2458108, 2458109, 2458110, 2458111, 2458112, 2458113, 2458114, 2458115, 2458116, 245...
17.487179
47
0.552786
84
682
4.428571
0.690476
0.107527
0
0
0
0
0
0
0
0
0
0.357759
0.319648
682
38
48
17.947368
0.443966
0.090909
0
0
0
0
0.011401
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4174c16b7b44a20c364180859943cecb67d2ec6d
447
py
Python
TWLight/applications/factories.py
jajodiaraghav/TWLight
22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70
[ "MIT" ]
1
2019-10-24T04:49:52.000Z
2019-10-24T04:49:52.000Z
TWLight/applications/factories.py
jajodiaraghav/TWLight
22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70
[ "MIT" ]
1
2019-03-29T15:29:45.000Z
2019-03-29T15:57:20.000Z
TWLight/applications/factories.py
jajodiaraghav/TWLight
22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70
[ "MIT" ]
1
2019-09-26T14:40:27.000Z
2019-09-26T14:40:27.000Z
# -*- coding: utf-8 -*- import factory from TWLight.resources.factories import PartnerFactory from TWLight.users.factories import EditorFactory from TWLight.applications.models import Application class ApplicationFactory(factory.django.DjangoModelFactory): class Meta: model = Application strat...
23.526316
60
0.771812
44
447
7.818182
0.590909
0.09593
0
0
0
0
0
0
0
0
0
0.002653
0.1566
447
18
61
24.833333
0.909814
0.04698
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
417b57d9a12833b40b6e93faf3fe1e15baea9076
143
py
Python
dcm_anon/__main__.py
LilMit/pl-dcm_anon
084d3f902f8dae32c4ba3a1ec979ef278186062f
[ "MIT" ]
null
null
null
dcm_anon/__main__.py
LilMit/pl-dcm_anon
084d3f902f8dae32c4ba3a1ec979ef278186062f
[ "MIT" ]
null
null
null
dcm_anon/__main__.py
LilMit/pl-dcm_anon
084d3f902f8dae32c4ba3a1ec979ef278186062f
[ "MIT" ]
null
null
null
from dcm_anon.dcm_anon import dcm_anon def main(): chris_app = dcm_anon() chris_app.launch() if __name__ == "__main__": main()
13
38
0.664336
21
143
3.857143
0.52381
0.345679
0
0
0
0
0
0
0
0
0
0
0.216783
143
10
39
14.3
0.723214
0
0
0
0
0
0.055944
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
417e4e14a59f787a0882eb60937548a0683d9e66
299
py
Python
app/resources/users/resources/__init__.py
admiralobvious/falcon-boilerplate
eb076ff9e1d6fb1e537b18f86d2228afbf123e19
[ "MIT" ]
34
2016-10-26T17:19:23.000Z
2020-04-30T09:12:34.000Z
app/resources/users/resources/__init__.py
admiralobvious/falcon-boilerplate
eb076ff9e1d6fb1e537b18f86d2228afbf123e19
[ "MIT" ]
2
2019-04-09T11:50:38.000Z
2019-07-05T03:31:57.000Z
app/resources/users/resources/__init__.py
admiralobvious/falcon-boilerplate
eb076ff9e1d6fb1e537b18f86d2228afbf123e19
[ "MIT" ]
12
2017-01-14T09:40:24.000Z
2020-04-16T07:40:56.000Z
import falcon from app.data.db import setup from .user import User, UserSchema from .users import Users def get_routes(app: falcon.App): db = setup() app.add_route("/users", Users(db)) app.add_route("/users/{user_id}", User(db)) app.add_route("/user.schema.json", UserSchema())
19.933333
52
0.688963
46
299
4.369565
0.391304
0.089552
0.164179
0.159204
0
0
0
0
0
0
0
0
0.160535
299
14
53
21.357143
0.800797
0
0
0
0
0
0.130435
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
41862d17d86e2df373c597564852dbddf775109e
1,567
py
Python
tensorflow/python/data/experimental/ops/take_while_ops.py
ashutom/tensorflow-upstream
c16069c19de9e286dd664abb78d0ea421e9f32d4
[ "Apache-2.0" ]
8
2021-08-03T03:57:10.000Z
2021-12-13T01:19:02.000Z
tensorflow/python/data/experimental/ops/take_while_ops.py
CaptainGizzy21/tensorflow
3457a2b122e50b4d44ceaaed5a663d635e5c22df
[ "Apache-2.0" ]
17
2021-08-12T19:38:42.000Z
2022-01-27T14:39:35.000Z
tensorflow/python/data/experimental/ops/take_while_ops.py
CaptainGizzy21/tensorflow
3457a2b122e50b4d44ceaaed5a663d635e5c22df
[ "Apache-2.0" ]
4
2022-01-13T11:23:44.000Z
2022-03-02T11:11:42.000Z
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
36.44186
80
0.724952
213
1,567
5.206573
0.535211
0.054103
0.043282
0.028855
0
0
0
0
0
0
0
0.006002
0.14933
1,567
42
81
37.309524
0.825956
0.673899
0
0
0
0
0.13617
0.12766
0
0
0
0
0
1
0.181818
false
0
0.454545
0.090909
0.818182
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4187de5950df159828a7772938f462e9332f2e53
526
py
Python
ustack_etl/mongo.py
ustudio/ustack-etl
ae0c3104178109cd12ca395122ab12aae72e365a
[ "MIT" ]
1
2019-06-28T16:09:09.000Z
2019-06-28T16:09:09.000Z
ustack_etl/mongo.py
ustudio/ustack-etl
ae0c3104178109cd12ca395122ab12aae72e365a
[ "MIT" ]
null
null
null
ustack_etl/mongo.py
ustudio/ustack-etl
ae0c3104178109cd12ca395122ab12aae72e365a
[ "MIT" ]
null
null
null
import logging def etl_collection(mongo_db, collection_name, fn): documents = mongo_db[collection_name].find() count = mongo_db[collection_name].count_documents({}) logging.info( f"Processing {count} documents in collection " f"'{collection_name}'") for document in documents: ...
27.684211
58
0.619772
55
526
5.727273
0.418182
0.222222
0.161905
0.2
0.171429
0
0
0
0
0
0
0
0.275665
526
18
59
29.222222
0.826772
0
0
0
0
0
0.26616
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.142857
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
418f86a801fe05cec1886299103a277fc6c78c68
30,694
py
Python
plot_results.py
freedmanlab/Context-Dependent-Gating
14c6ba0f9ab840a43e236e6a7ca536cc97240ffc
[ "Apache-2.0" ]
null
null
null
plot_results.py
freedmanlab/Context-Dependent-Gating
14c6ba0f9ab840a43e236e6a7ca536cc97240ffc
[ "Apache-2.0" ]
null
null
null
plot_results.py
freedmanlab/Context-Dependent-Gating
14c6ba0f9ab840a43e236e6a7ca536cc97240ffc
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import pickle import os import matplotlib from itertools import product from mpl_toolkits.axes_grid1.inset_locator import zoomed_inset_axes from mpl_toolkits.axes_grid1.inset_locator import mark_inset matplotlib.rcParams['pdf.fonttype'] = 42 matplotlib.rcParams['ps.f...
35.159221
178
0.607904
4,832
30,694
3.647972
0.068295
0.060135
0.081806
0.012935
0.783911
0.745674
0.704658
0.646338
0.602825
0.582118
0
0.059428
0.223725
30,694
872
179
35.199541
0.680363
0.077474
0
0.408425
0
0
0.186002
0.074045
0
0
0
0
0
1
0.029304
false
0
0.014652
0
0.047619
0.038462
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4199f294a2e28e1458f5bcf7a7ab4d59791be55e
497
py
Python
back-end/curso-em-video/python3/Mundo I/Desafios/15F - (Aluguel de Carros).py
gustavocamalionti/cursos-e-linguagens
615db91aff13db5678a783aac69df11231c925e8
[ "MIT" ]
null
null
null
back-end/curso-em-video/python3/Mundo I/Desafios/15F - (Aluguel de Carros).py
gustavocamalionti/cursos-e-linguagens
615db91aff13db5678a783aac69df11231c925e8
[ "MIT" ]
null
null
null
back-end/curso-em-video/python3/Mundo I/Desafios/15F - (Aluguel de Carros).py
gustavocamalionti/cursos-e-linguagens
615db91aff13db5678a783aac69df11231c925e8
[ "MIT" ]
null
null
null
#Desafio 015: escreva um programa que pergunte a quantidade de km percorridos por um carro alugado e a quantidade de dias pelos quais ele foi alugado. Calcule o preço a pagar, sabendo que o carro custa R$60 por dia e R$0.15 por km rodado. from math import ceil n1 = float(input('Quantos dias você ficou com o carro? '))...
71
238
0.732394
96
497
3.791667
0.59375
0.06044
0.071429
0
0
0
0
0
0
0
0
0.046341
0.17505
497
7
239
71
0.841463
0.476861
0
0
0
0
0.615385
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
419b810a097b707c486896ea644d7ea06d891f98
499
py
Python
examples/pytorch/diffpool/model/tensorized_layers/assignment.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
9,516
2018-12-08T22:11:31.000Z
2022-03-31T13:04:33.000Z
examples/pytorch/diffpool/model/tensorized_layers/assignment.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
2,494
2018-12-08T22:43:00.000Z
2022-03-31T21:16:27.000Z
examples/pytorch/diffpool/model/tensorized_layers/assignment.py
ketyi/dgl
a1b859c29b63a673c148d13231a49504740e0e01
[ "Apache-2.0" ]
2,529
2018-12-08T22:56:14.000Z
2022-03-31T13:07:41.000Z
import torch from torch import nn as nn from torch.nn import functional as F from torch.autograd import Variable from model.tensorized_layers.graphsage import BatchedGraphSAGE class DiffPoolAssignment(nn.Module): def __init__(self, nfeat, nnext): super().__init__() self.assign_mat = BatchedGraph...
26.263158
69
0.707415
74
499
4.527027
0.527027
0.023881
0.083582
0.101493
0
0
0
0
0
0
0
0.002519
0.204409
499
18
70
27.722222
0.84131
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
41a7633ddffb30cf6b1f5142c98eefc976d7f329
1,264
py
Python
comments/models.py
chench53/jquery-comments-server
15f4b3dead770846bbb7c0d6aec889c64df6387c
[ "MIT" ]
2
2020-06-02T05:08:30.000Z
2020-06-02T05:08:33.000Z
comments/models.py
chench53/jquery-comments-server
15f4b3dead770846bbb7c0d6aec889c64df6387c
[ "MIT" ]
null
null
null
comments/models.py
chench53/jquery-comments-server
15f4b3dead770846bbb7c0d6aec889c64df6387c
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone # Create your models here. class Creator(models.Model): fullname = models.CharField(max_length=30) profile_picture_url = models.URLField() def __str__(self): return self.fullname class Customer(models.Model): pass class File(m...
28.088889
96
0.711234
154
1,264
5.694805
0.357143
0.054732
0.034208
0.054732
0.241733
0.189282
0.107184
0
0
0
0
0.006635
0.165348
1,264
44
97
28.727273
0.824645
0.018987
0
0.107143
0
0
0.05412
0
0
0
0
0
0
1
0.107143
false
0.035714
0.071429
0.107143
0.928571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
41b54267490971fa18558b1ff581557f6e72fe91
491
py
Python
test/integration/test_attributename.py
immijimmi/managedState
cb24aaa288f7ddb12a5042d104f6f0d6ab79828c
[ "MIT" ]
null
null
null
test/integration/test_attributename.py
immijimmi/managedState
cb24aaa288f7ddb12a5042d104f6f0d6ab79828c
[ "MIT" ]
null
null
null
test/integration/test_attributename.py
immijimmi/managedState
cb24aaa288f7ddb12a5042d104f6f0d6ab79828c
[ "MIT" ]
null
null
null
from managedstate import State, AttributeName class TestAttributeName: def test_get_uses_attributename_correctly(self, res): state = State(res.value_4) assert state.get(["key_2", AttributeName("attribute_1"), "key_3"]) == 7 def test_set_applies_attributename_correctly(self, res): sta...
30.6875
79
0.688391
61
491
5.262295
0.409836
0.037383
0.158879
0.242991
0.635514
0.548287
0.548287
0.299065
0.299065
0
0
0.024752
0.177189
491
15
80
32.733333
0.769802
0
0
0.222222
0
0
0.12831
0
0
0
0
0
0.222222
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
41b57c0d33d477d09b1dd88ceeff4ea07dbdc75c
3,585
py
Python
tarefas-poo/lista-04/matriz_de_inteiros/model/matriz_de_inteiros.py
victoriaduarte/POO_UFSC
0c65b4f26383d1e3038d8469bd91fd2c0cb98c1a
[ "MIT" ]
null
null
null
tarefas-poo/lista-04/matriz_de_inteiros/model/matriz_de_inteiros.py
victoriaduarte/POO_UFSC
0c65b4f26383d1e3038d8469bd91fd2c0cb98c1a
[ "MIT" ]
null
null
null
tarefas-poo/lista-04/matriz_de_inteiros/model/matriz_de_inteiros.py
victoriaduarte/POO_UFSC
0c65b4f26383d1e3038d8469bd91fd2c0cb98c1a
[ "MIT" ]
null
null
null
# ------------------------------- # UFSC - CTC - INE - INE5663 # Exercício da Matriz de Inteiros # ------------------------------- # Classe que representa uma matriz de números inteiros. # class MatrizDeInteiros: def __init__(self, dimensoes_ou_numeros): '''Cria uma matriz de números inteiros. Há duas form...
33.504673
103
0.590237
457
3,585
4.531729
0.260394
0.050217
0.046354
0.063737
0.447127
0.388218
0.333172
0.333172
0.333172
0.299372
0
0.015971
0.318828
3,585
107
104
33.504673
0.832105
0.520502
0
0.108108
0
0
0
0
0
0
0
0.009346
0
1
0.432432
false
0.054054
0
0
0.810811
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
68c41f425ed9a900c2ffb53250f96b3e217dd617
507
py
Python
etsy_convos/convos/filters.py
jessehon/etsy-convos
34631f49ec745fa11611af6122a7522adc16d241
[ "BSD-3-Clause" ]
2
2018-12-17T15:47:43.000Z
2020-02-29T19:47:30.000Z
etsy_convos/convos/filters.py
jessehon/etsy-convos
34631f49ec745fa11611af6122a7522adc16d241
[ "BSD-3-Clause" ]
2
2017-07-12T02:45:33.000Z
2017-11-02T00:37:59.000Z
etsy_convos/convos/filters.py
jessehon/etsy-convos
34631f49ec745fa11611af6122a7522adc16d241
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from rest_framework import filters class ActiveForUserFilter(filters.BaseFilterBackend): def filter_queryset(self, request, queryset, view): return queryset.active_for(request.user) class ThreadFolderFilter(filters.BaseFilterBackend): def filter_queryset(self, request, queryset...
36.214286
64
0.719921
57
507
6.298246
0.526316
0.133705
0.150418
0.183844
0.356546
0.356546
0.356546
0.356546
0.356546
0
0
0.002421
0.185404
507
13
65
39
0.866828
0.04142
0
0.2
0
0
0.012397
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.7
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
0
1
0
0
2
68d3b22a58336ef88b11279b1b9195714e9a3308
350
py
Python
invoicer/_units/forms.py
mtik00/invoicer
6128202ca86823dc998b8ea661050702544b9b21
[ "MIT" ]
null
null
null
invoicer/_units/forms.py
mtik00/invoicer
6128202ca86823dc998b8ea661050702544b9b21
[ "MIT" ]
1
2021-08-04T23:32:15.000Z
2021-08-04T23:32:15.000Z
invoicer/_units/forms.py
mtik00/invoicer
6128202ca86823dc998b8ea661050702544b9b21
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, FloatField from wtforms.validators import DataRequired class UnitForm(FlaskForm): description = StringField(u'Description', validators=[DataRequired()]) unit_price = FloatField(u'Unit Price', validators=[DataRequired()]) units = StringField(...
35
74
0.762857
41
350
6.463415
0.536585
0.083019
0
0
0
0
0
0
0
0
0
0
0.128571
350
9
75
38.888889
0.868852
0
0
0
0
0
0.131429
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
68d4db48cd7efced20080ca32fe6dc3a1aa6264d
799
py
Python
data/test/python/68d4db48cd7efced20080ca32fe6dc3a1aa6264dfiles.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/python/68d4db48cd7efced20080ca32fe6dc3a1aa6264dfiles.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/python/68d4db48cd7efced20080ca32fe6dc3a1aa6264dfiles.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
from django.db import models __all__ = ('PostSaveImageField',) class PostSaveImageField(models.ImageField): def __init__(self, *args, **kwargs): kwargs['null'] = True kwargs['blank'] = True super(PostSaveImageField, self).__init__(*args, **kwargs) def contribute_to_class(self, cls,...
30.730769
75
0.663329
91
799
5.538462
0.43956
0.136905
0.160714
0
0
0
0
0
0
0
0
0
0.211514
799
25
76
31.96
0.8
0
0
0
0
0
0.033792
0
0
0
0
0
0
1
0.235294
false
0.058824
0.058824
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
68f3a8745467c301c743a873cdae59b1918cd5b0
557
py
Python
personalcrm/quote/migrations/0007_auto_20210131_1508.py
carlossgv/personalcrm-repo
2fbe824a62d8976ce09817d75dfac7291ca3d28d
[ "MIT" ]
2
2021-02-11T12:46:06.000Z
2021-02-22T01:32:35.000Z
personalcrm/quote/migrations/0007_auto_20210131_1508.py
carlossgv/personalcrm-repo
2fbe824a62d8976ce09817d75dfac7291ca3d28d
[ "MIT" ]
null
null
null
personalcrm/quote/migrations/0007_auto_20210131_1508.py
carlossgv/personalcrm-repo
2fbe824a62d8976ce09817d75dfac7291ca3d28d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-31 15:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quote', '0006_quotedproducts_hidden'), ] operations = [ migrations.AddField( model_name='quote', name='tax', ...
23.208333
59
0.576302
56
557
5.660714
0.625
0.113565
0.14511
0.170347
0.239748
0.239748
0.239748
0
0
0
0
0.049096
0.305206
557
23
60
24.217391
0.770026
0.08079
0
0.352941
1
0
0.113725
0.05098
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ec0b8833358586c61838d39b98d99d94417de4a3
460
py
Python
pycoin/symbols/mona.py
jaschadub/pycoin
1e8d0d9fe20ce0347b97847bb529cd1bd84c7442
[ "MIT" ]
1,210
2015-01-02T13:36:28.000Z
2022-03-30T00:52:22.000Z
pycoin/symbols/mona.py
impactog/pycoin
3db6f82afa3054d8d07caca4909e1aed3de2fceb
[ "MIT" ]
280
2015-01-05T23:16:47.000Z
2022-02-22T22:02:17.000Z
pycoin/symbols/mona.py
impactog/pycoin
3db6f82afa3054d8d07caca4909e1aed3de2fceb
[ "MIT" ]
459
2015-01-10T00:15:57.000Z
2022-03-16T12:04:40.000Z
from pycoin.networks.bitcoinish import create_bitcoinish_network network = create_bitcoinish_network( network_name="Monacoin", symbol="MONA", subnet_name="mainnet", wif_prefix_hex="b0", sec_prefix="MONASEC:", address_prefix_hex="32", pay_to_script_prefix_hex="37", bip32_prv_prefix_hex="0488ade4", bip32_pu...
46
103
0.780435
62
460
5.370968
0.677419
0.135135
0.138138
0.18018
0
0
0
0
0
0
0
0.066986
0.091304
460
9
104
51.111111
0.729665
0
0
0
0
0
0.176087
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ec2672ae7bcadf74322cfd2f19354039f5fcb505
3,320
py
Python
src/djlime/forms/widgets.py
freshlimestudio/djlime
69e177d6e26fdf9cb520ac3316548d7d38b9690e
[ "BSD-3-Clause" ]
null
null
null
src/djlime/forms/widgets.py
freshlimestudio/djlime
69e177d6e26fdf9cb520ac3316548d7d38b9690e
[ "BSD-3-Clause" ]
null
null
null
src/djlime/forms/widgets.py
freshlimestudio/djlime
69e177d6e26fdf9cb520ac3316548d7d38b9690e
[ "BSD-3-Clause" ]
null
null
null
""" djlime.forms.widgets ~~~~~~~~~~~~~~ Extended django form widgets. :copyright: (c) 2012 by Andrey Voronov. :license: BSD, see LICENSE for more details. """ from itertools import chain from django.forms import widgets from django.forms.util import flatatt from django.utils.encoding import force...
37.727273
122
0.679819
424
3,320
5.096698
0.226415
0.101805
0.064785
0.041647
0.415086
0.404905
0.378066
0.378066
0.36187
0.322073
0
0.001503
0.198193
3,320
87
123
38.16092
0.810293
0.10241
0
0.339623
0
0
0.020137
0
0
0
0
0
0
1
0.226415
false
0
0.113208
0.037736
0.54717
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ec3416c60abd3578832e4a31787a9c2b8eb12e3d
873
py
Python
S8/objetos.py
Escannor/Algoritmia_21-2
284e35a040eae7aa1a0a6cb9336f0d4c2b782a48
[ "MIT" ]
1
2021-04-18T04:54:04.000Z
2021-04-18T04:54:04.000Z
S8/objetos.py
Alexship896/Algoritmia_21-2
1ffb33fc2b93899d813e67d958e437d66a39070e
[ "MIT" ]
null
null
null
S8/objetos.py
Alexship896/Algoritmia_21-2
1ffb33fc2b93899d813e67d958e437d66a39070e
[ "MIT" ]
1
2021-04-18T05:01:08.000Z
2021-04-18T05:01:08.000Z
## class <nombre_del_objeto>: ## def <metodo_del_objeto>(self): # variable -> atributos # funciones -> metodos def hola(): print("hola a todos") hola() class Persona: def __init__(self, nombre): self.nombre = nombre def hola(self): print("Hola a todos, soy", self.nombre) de...
15.589286
47
0.647194
109
873
5.036697
0.321101
0.10929
0.03643
0.054645
0.120219
0.120219
0.120219
0
0
0
0
0.008785
0.21764
873
56
48
15.589286
0.795022
0.122566
0
0.25
0
0
0.080263
0
0
0
0
0.017857
0
1
0.21875
false
0
0
0.03125
0.3125
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
ec3d018ff3d0640052c42c4cb920908caff7f29a
501
py
Python
utility/error.py
ghowland/dirdb
38d346885c5411884b5b7252dc2f09ba42972caa
[ "MIT" ]
1
2017-07-23T16:04:53.000Z
2017-07-23T16:04:53.000Z
utility/error.py
ghowland/dirdb
38d346885c5411884b5b7252dc2f09ba42972caa
[ "MIT" ]
null
null
null
utility/error.py
ghowland/dirdb
38d346885c5411884b5b7252dc2f09ba42972caa
[ "MIT" ]
null
null
null
""" Error Reporting """ import sys def Error(text, options, exit_code=1): """Fail with an error. Options are required to deliver proper output.""" #output = {'error': text, 'exit_code':exit_code} # ## Format errors and output them, in the specified fashion #format.FormatAndOuput(output, options) sys.st...
20.04
76
0.670659
75
501
4.426667
0.666667
0.096386
0
0
0
0
0
0
0
0
0
0.002494
0.199601
501
24
77
20.875
0.825436
0.644711
0
0
0
0
0.070513
0
0
0
0
0.041667
0
1
0.2
false
0.2
0.2
0
0.4
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
0
0
0
0
0
2
ec4aacd0ee4112bfaad1f422cbfbb013aa8fd123
2,247
py
Python
tests/test_feature_selection.py
NewKnowledge/punk
53007a38433023f9a9f5cf39786b1c5a28f1f996
[ "MIT" ]
2
2017-08-23T16:58:01.000Z
2020-07-03T01:53:34.000Z
tests/test_feature_selection.py
NewKnowledge/punk
53007a38433023f9a9f5cf39786b1c5a28f1f996
[ "MIT" ]
11
2017-08-18T17:19:21.000Z
2022-03-18T15:54:40.000Z
tests/test_feature_selection.py
NewKnowledge/punk
53007a38433023f9a9f5cf39786b1c5a28f1f996
[ "MIT" ]
2
2017-09-11T19:38:04.000Z
2020-05-28T00:58:05.000Z
import unittest import numpy as np import pandas as pd from sklearn import datasets from sklearn.preprocessing import StandardScaler from sklearn.model_selection import train_test_split from punk.feature_selection import PCAFeatures from punk.feature_selection import RFFeatures class TestPCA(unittest.TestCase):...
35.666667
98
0.583
277
2,247
4.592058
0.364621
0.023585
0.035377
0.031447
0.413522
0.237421
0.237421
0.168239
0.168239
0.168239
0
0.030476
0.299065
2,247
63
99
35.666667
0.777143
0
0
0.195652
0
0
0.064947
0.02847
0
0
0
0
0.108696
1
0.130435
false
0
0.347826
0
0.543478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6b6f7a61e5e93d5e09483ec5c09b8dfa71ba3d9c
58,726
py
Python
test/_data/generator/dps_pds/gp_practices.py
NHSDigital/list-reconciliation
37b1ebe99a64275e23b0e7fb6a89415b92d14306
[ "MIT" ]
4
2021-06-25T08:28:54.000Z
2021-12-16T11:03:42.000Z
test/_data/generator/dps_pds/gp_practices.py
NHSDigital/list-reconciliation
37b1ebe99a64275e23b0e7fb6a89415b92d14306
[ "MIT" ]
184
2021-06-24T15:27:08.000Z
2022-03-17T12:44:28.000Z
test/_data/generator/dps_pds/gp_practices.py
NHSDigital/list-reconciliation
37b1ebe99a64275e23b0e7fb6a89415b92d14306
[ "MIT" ]
3
2021-11-05T10:21:44.000Z
2022-03-04T14:29:24.000Z
ref = [ "A00002", "A00005", "A10001", "A10002", "A10003", "A10004", "A10005", "A10006", "A10007", "A10008", "A10009", "A10010", "A10011", "A10012", "A10013", "A10014", "A10015", "A10016", "A10017", "A10018", "A10019", "A10020", ...
13.992376
13
0.42855
4,195
58,726
5.999285
1
0
0
0
0
0
0
0
0
0
0
0.555361
0.35715
58,726
4,196
14
13.99571
0.111279
0
0
0
0
0
0.428498
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6b7d0be198578062e55a903d8aadba221bbbd6f9
354
py
Python
maintenance/templates/nodeclass.py
JFlynnXYZ/pymel
2aa254c7982c78aac3e30e8d1b6a85f2465f898e
[ "BSD-3-Clause" ]
287
2015-01-03T21:18:59.000Z
2022-03-16T07:55:33.000Z
maintenance/templates/nodeclass.py
JFlynnXYZ/pymel
2aa254c7982c78aac3e30e8d1b6a85f2465f898e
[ "BSD-3-Clause" ]
412
2015-06-19T15:13:33.000Z
2022-02-25T08:12:25.000Z
maintenance/templates/nodeclass.py
JFlynnXYZ/pymel
2aa254c7982c78aac3e30e8d1b6a85f2465f898e
[ "BSD-3-Clause" ]
106
2015-01-03T06:46:44.000Z
2022-03-30T15:43:01.000Z
{% if not existing %} class {{ classname }}({{ parents }}): {% endif %} {% if attrs %} {% for attr in attrs %} {% for line in attr.getLines() %} {{line}} {% endfor %} {% endfor %} {% endif %} {% if methods %} {% for method in methods %} {% for line in method.getLines() %} {{line}} {% endfor %} {% ...
16.090909
37
0.5
38
354
4.657895
0.447368
0.079096
0.101695
0.271186
0
0
0
0
0
0
0
0
0.259887
354
21
38
16.857143
0.675573
0
0
0.5
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
2
6b7df49fac50568f5ef0ff875cc4f6710ca60bfc
8,905
py
Python
shatter/util/helpers.py
jisazaTappsi/mastermind
bb096119b6e062611dec8e8062feb5f838d5a198
[ "MIT" ]
1
2016-06-10T05:55:05.000Z
2016-06-10T05:55:05.000Z
shatter/util/helpers.py
jisazaTappsi/mastermind
bb096119b6e062611dec8e8062feb5f838d5a198
[ "MIT" ]
1
2016-02-05T06:59:46.000Z
2016-02-05T06:59:46.000Z
shatter/util/helpers.py
jisazaTappsi/mastermind
bb096119b6e062611dec8e8062feb5f838d5a198
[ "MIT" ]
1
2016-03-28T11:01:23.000Z
2016-03-28T11:01:23.000Z
#!/usr/bin/env python """Utility and General purpose functions.""" import inspect import warnings import os import re import shatter.constants as cts __author__ = 'juan pablo isaza' def read_file(absolute_path): """ :param absolute_path: string path. :return: list with lines of the file. """ re...
27.741433
120
0.658956
1,299
8,905
4.384911
0.203233
0.025105
0.014045
0.018434
0.260885
0.184867
0.154143
0.129565
0.129565
0.120084
0
0.004793
0.250309
8,905
320
121
27.828125
0.848412
0.447951
0
0.142857
0
0
0.035182
0
0
0
0
0
0
1
0.241071
false
0
0.044643
0.017857
0.580357
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6b8591e59247dad1b7b1305c25ea86898d890846
306
py
Python
src/bot/cocoa/src/basic/systems/cmd_system.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
12
2021-03-17T05:15:33.000Z
2022-01-19T06:09:21.000Z
src/bot/cocoa/src/basic/systems/cmd_system.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
2
2021-05-25T07:28:46.000Z
2022-02-11T01:54:43.000Z
src/bot/cocoa/src/basic/systems/cmd_system.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
4
2021-10-11T03:39:38.000Z
2022-02-01T23:58:50.000Z
from system import System from src.basic.sessions.cmd_session import CmdSession class CmdSystem(System): def __init__(self): super(CmdSystem, self).__init__() @classmethod def name(cls): return 'cmd' def new_session(self, agent, kb): return CmdSession(agent, kb)
21.857143
53
0.679739
38
306
5.210526
0.578947
0.070707
0
0
0
0
0
0
0
0
0
0
0.22549
306
13
54
23.538462
0.835443
0
0
0
0
0
0.009804
0
0
0
0
0
0
1
0.3
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
6b9a56d04bac907997a092760a7763b29877194d
335
py
Python
0104/test5.py
eto/study
95f506569657c174bf2347b5240768fafedaa285
[ "BSD-3-Clause" ]
null
null
null
0104/test5.py
eto/study
95f506569657c174bf2347b5240768fafedaa285
[ "BSD-3-Clause" ]
null
null
null
0104/test5.py
eto/study
95f506569657c174bf2347b5240768fafedaa285
[ "BSD-3-Clause" ]
null
null
null
# file handling # 1) without using with statement file = open('t1.txt', 'w') file.write('hello world !') file.close() # 2) without using with statement file = open('t2.txt', 'w') try: file.write('hello world') finally: file.close() # 3) using with statement with open('t3.txt', 'w') as file: file.write('h...
18.611111
33
0.644776
51
335
4.235294
0.431373
0.125
0.25
0.263889
0.305556
0.305556
0
0
0
0
0
0.021818
0.179104
335
17
34
19.705882
0.763636
0.301493
0
0.4
0
0
0.253275
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6bb7889b4decd4266d4e92eef2bdbcfe210d5377
493
py
Python
thaniya_server_upload/src/thaniya_server_upload/slots/IUploadSlotContext.py
jkpubsrc/Thaniya
4ebdf2854e3d7888af7396adffa22628b4ab2267
[ "Apache-1.1" ]
1
2021-01-20T18:27:22.000Z
2021-01-20T18:27:22.000Z
thaniya_server_upload/src/thaniya_server_upload/slots/IUploadSlotContext.py
jkpubsrc/Thaniya
4ebdf2854e3d7888af7396adffa22628b4ab2267
[ "Apache-1.1" ]
null
null
null
thaniya_server_upload/src/thaniya_server_upload/slots/IUploadSlotContext.py
jkpubsrc/Thaniya
4ebdf2854e3d7888af7396adffa22628b4ab2267
[ "Apache-1.1" ]
null
null
null
from thaniya_server_sudo import SudoScriptRunner from thaniya_server.usermgr import BackupUserManager from thaniya_server.sysusers import SystemAccountManager class IUploadSlotContext: @property def backupUserManager(self) -> BackupUserManager: raise NotImplementedError() # @property def sudoScriptRunne...
14.085714
56
0.793103
41
493
9.439024
0.414634
0.085271
0.131783
0.180879
0
0
0
0
0
0
0
0
0.144016
493
34
57
14.5
0.917062
0
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
6bbda07e389bf551e26624d26ca28aadcfbca0c4
217
py
Python
Curso_Python/Secao2-Python-Basico-Logica-Programacao/37_desempacotamento_listas/37_desempacotamento_listas.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso_Python/Secao2-Python-Basico-Logica-Programacao/37_desempacotamento_listas/37_desempacotamento_listas.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso_Python/Secao2-Python-Basico-Logica-Programacao/37_desempacotamento_listas/37_desempacotamento_listas.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
""" Desempacotamento de listas em python """ lista = ['Luiz', 'João', 'Maria', 1, 2, 3, 4, 5] n1, n2, *n3 = lista #todo: usando a * cria outra lista, e os valores que eu quiser mostrar, começa pelas ultimas print(n3)
31
112
0.663594
36
217
4
0.916667
0
0
0
0
0
0
0
0
0
0
0.050847
0.184332
217
6
113
36.166667
0.762712
0.589862
0
0
0
0
0.160494
0
0
0
0
0.166667
0
1
0
false
0
0
0
0
0.333333
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
0
0
2
6bc4bf2d5b5985b5f35826eee953cf4a89bb1e53
138
py
Python
petpy/__main__.py
csmarfan/petpy
d5edaea43a6657e6a93a1f01f3dd27e9e8fbb0cf
[ "Apache-2.0" ]
null
null
null
petpy/__main__.py
csmarfan/petpy
d5edaea43a6657e6a93a1f01f3dd27e9e8fbb0cf
[ "Apache-2.0" ]
2
2019-06-19T12:16:12.000Z
2019-06-19T12:38:02.000Z
petpy/__main__.py
csmarfan/petpy
d5edaea43a6657e6a93a1f01f3dd27e9e8fbb0cf
[ "Apache-2.0" ]
1
2019-06-19T12:27:06.000Z
2019-06-19T12:27:06.000Z
import sys from .petpy import gardner def main(): vp = float(sys.arv[1]) print(gardner(vp)) if __name__=='__main__': main()
13.8
26
0.637681
20
138
4
0.7
0
0
0
0
0
0
0
0
0
0
0.009174
0.210145
138
9
27
15.333333
0.724771
0
0
0
0
0
0.057971
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6bdabddf24475c6a7309d4c9ef42f919cb418158
250
py
Python
bdsim/blocks/__init__.py
petercorke/bdsim
0b6afee0ae889e39a4be036f2aea8c2261cce0f8
[ "MIT" ]
64
2020-05-24T01:07:41.000Z
2022-02-27T10:31:07.000Z
bdsim/blocks/__init__.py
petercorke/bdsim
0b6afee0ae889e39a4be036f2aea8c2261cce0f8
[ "MIT" ]
6
2020-06-14T10:48:29.000Z
2022-02-12T08:30:44.000Z
bdsim/blocks/__init__.py
petercorke/bdsim
0b6afee0ae889e39a4be036f2aea8c2261cce0f8
[ "MIT" ]
17
2020-06-13T18:53:53.000Z
2022-01-10T14:42:51.000Z
from .functions import * from .sources import * from .sinks import * from .transfers import * from .discrete import * from .linalg import * from .displays import * from .connections import * url = "https://petercorke.github.io/bdsim/" + __package__
22.727273
57
0.74
31
250
5.83871
0.548387
0.38674
0
0
0
0
0
0
0
0
0
0
0.152
250
10
58
25
0.853774
0
0
0
0
0
0.14
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6be2face076e8b3accb63a8d1177e6d440d63b46
939
py
Python
src/structurizr/mixin/childless_mixin.py
xolynrac/examen_final_4c
dfa19b44fee6a17b7efc5630f1c8580aabc549e9
[ "Apache-2.0" ]
47
2020-04-26T20:00:03.000Z
2022-02-19T14:32:04.000Z
src/structurizr/mixin/childless_mixin.py
xolynrac/examen_final_4c
dfa19b44fee6a17b7efc5630f1c8580aabc549e9
[ "Apache-2.0" ]
84
2020-05-25T14:49:21.000Z
2022-01-26T01:55:04.000Z
src/structurizr/mixin/childless_mixin.py
xolynrac/examen_final_4c
dfa19b44fee6a17b7efc5630f1c8580aabc549e9
[ "Apache-2.0" ]
14
2020-07-01T11:03:25.000Z
2022-01-11T06:37:31.000Z
# Copyright (c) 2020 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwar...
30.290323
76
0.729499
133
939
5.142857
0.654135
0.087719
0.038012
0.046784
0
0
0
0
0
0
0
0.010471
0.186368
939
30
77
31.3
0.884817
0.751864
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6bf1b8faec412f1cce9606a9643d4de5cc1158b7
1,125
py
Python
3-Python-Advanced (May 2021)/00-Exams-Prep/03-Python-Advanced-Exam-14-Feb-2021/01-Problem-1.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
3-Python-Advanced (May 2021)/00-Exams-Prep/03-Python-Advanced-Exam-14-Feb-2021/01-Problem-1.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
3-Python-Advanced (May 2021)/00-Exams-Prep/03-Python-Advanced-Exam-14-Feb-2021/01-Problem-1.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
# Problem 1 # First, you will be given a sequence of integers representing firework effects. Afterwards you will be given another # sequence of integers representing explosive power. # You need to start from the first firework effect and try to mix it with the last explosive power. # If the sum of their values is: # • ...
75
117
0.776
201
1,125
4.373134
0.432836
0.062571
0.040956
0.071672
0.261661
0.143345
0.095563
0.095563
0
0
0
0.010989
0.191111
1,125
14
118
80.357143
0.948352
0.974222
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d4246e25860579a29b30485c3d1b321ea8dadcaf
275
py
Python
questao6.py
higorcastro17/Avaliacao1
30d727d9c85fd532a6a6264fa50eee7d34a57bbf
[ "Apache-2.0" ]
null
null
null
questao6.py
higorcastro17/Avaliacao1
30d727d9c85fd532a6a6264fa50eee7d34a57bbf
[ "Apache-2.0" ]
null
null
null
questao6.py
higorcastro17/Avaliacao1
30d727d9c85fd532a6a6264fa50eee7d34a57bbf
[ "Apache-2.0" ]
null
null
null
turno = input('M-matutino, V-vespertino, N-noturno: ') if (turno == 'M')or(turno == 'm') : print ('Bom Dia') if (turno == 'V')or(turno == 'v'): print ('Boa Tarde') if (turno == 'N')or(turno == 'n'): print ('Boa Noite') else: print ('Valor inválido')
27.5
55
0.527273
39
275
3.717949
0.487179
0.144828
0
0
0
0
0
0
0
0
0
0
0.229091
275
9
56
30.555556
0.683962
0
0
0
0
0
0.308271
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
d42502013a724d256a3f3b74c173fa598ca64b62
490
py
Python
b0mb3r/services/webbankir.py
Superior0/b0mb3r_r
216b1851303f5101b09457ba31749b63e4d0d5e8
[ "Apache-2.0" ]
null
null
null
b0mb3r/services/webbankir.py
Superior0/b0mb3r_r
216b1851303f5101b09457ba31749b63e4d0d5e8
[ "Apache-2.0" ]
null
null
null
b0mb3r/services/webbankir.py
Superior0/b0mb3r_r
216b1851303f5101b09457ba31749b63e4d0d5e8
[ "Apache-2.0" ]
null
null
null
from b0mb3r.services.service import Service class WebBankir(Service): async def run(self): await self.post( "https://ng-api.webbankir.com/user/v2/create", json={ "lastName": self.russian_name, "firstName": self.russian_name, "middleNa...
28.823529
58
0.512245
45
490
5.488889
0.688889
0.133603
0.182186
0
0
0
0
0
0
0
0
0.009709
0.369388
490
16
59
30.625
0.789644
0
0
0
0
0
0.189796
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.142857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d4254df5226f1fbca945831c16a37f0346ea800a
511
py
Python
login.py
sgravrock/flickr-to-go
42badc3c08acfb834505ea31e76a50b7b81aec31
[ "MIT" ]
null
null
null
login.py
sgravrock/flickr-to-go
42badc3c08acfb834505ea31e76a50b7b81aec31
[ "MIT" ]
null
null
null
login.py
sgravrock/flickr-to-go
42badc3c08acfb834505ea31e76a50b7b81aec31
[ "MIT" ]
null
null
null
import os import sys import flickr_api from flickr_api import auth a = auth.AuthHandler(key=os.environ['FLICKR_API_KEY'], secret=os.environ['FLICKR_API_SECRET'], callback='oob') print("Open this in your browser: " + a.get_authorization_url('read')) print("Once you finish logging in, enter the code from the browser: ")...
30.058824
110
0.759295
82
511
4.573171
0.560976
0.144
0.08
0.096
0
0
0
0
0
0
0
0
0.107632
511
16
111
31.9375
0.822368
0
0
0
0
0
0.272016
0
0
0
0
0
0
0
null
null
0
0.307692
null
null
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
d42b94352b7c3c7e5fe8e652dabf68483b72d935
524
py
Python
structures/cycle.py
TheBiggerFish/fishpy
632a7c603a33ad694650aa2bed058931775a4259
[ "MIT" ]
null
null
null
structures/cycle.py
TheBiggerFish/fishpy
632a7c603a33ad694650aa2bed058931775a4259
[ "MIT" ]
null
null
null
structures/cycle.py
TheBiggerFish/fishpy
632a7c603a33ad694650aa2bed058931775a4259
[ "MIT" ]
null
null
null
""" This module provides a sequence class which can be used for cyclic values """ from typing import Generic, TypeVar T = TypeVar('T') class Cycle(list,Generic[T]): """This class can be used to store cyclic values""" def __getitem__(self,key:int) -> T: return super().__getitem__(key%len(self)) ...
24.952381
73
0.65458
75
524
4.36
0.506667
0.06422
0.055046
0
0
0
0
0
0
0
0
0
0.20229
524
20
74
26.2
0.782297
0.290076
0
0
0
0
0.002833
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d43acd41d13bbda6864c50e5a66d740ba0abd4a6
984
py
Python
django_vueformgenerator/fields.py
agronick/django-vueformgenerator
6c59be1d06118327af08cc0e6260d234f12f715e
[ "MIT" ]
7
2016-10-20T11:49:01.000Z
2020-06-17T22:12:59.000Z
django_vueformgenerator/fields.py
agronick/django-vueformgenerator
6c59be1d06118327af08cc0e6260d234f12f715e
[ "MIT" ]
2
2019-03-19T15:41:43.000Z
2019-03-29T17:39:44.000Z
django_vueformgenerator/fields.py
agronick/django-vueformgenerator
6c59be1d06118327af08cc0e6260d234f12f715e
[ "MIT" ]
5
2016-12-01T15:41:15.000Z
2019-10-06T02:00:20.000Z
class Field(object): def render(self, field): raise NotImplementedError('Field.render needs to be defined') class Attr(Field): def __init__(self, attr, default=None, type=None): self.attr = attr self.default = default if type is None: self.type = lambda x: x ...
22.363636
69
0.565041
118
984
4.559322
0.313559
0.083643
0.120818
0.133829
0.089219
0
0
0
0
0
0
0
0.325203
984
43
70
22.883721
0.810241
0
0
0.125
0
0
0.036585
0
0
0
0
0
0
1
0.25
false
0
0
0.09375
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d45e0abbc1b60250ad55d017c7df68087d2d533a
388
py
Python
Course.py
timot3/uiuc-course-api
468043724532f6cc85c2e24dc8d11cd7819f7381
[ "MIT" ]
6
2021-12-21T21:32:52.000Z
2021-12-22T04:11:33.000Z
Course.py
timot3/uiuc-course-api
468043724532f6cc85c2e24dc8d11cd7819f7381
[ "MIT" ]
null
null
null
Course.py
timot3/uiuc-course-api
468043724532f6cc85c2e24dc8d11cd7819f7381
[ "MIT" ]
null
null
null
from dataclasses import dataclass import json @dataclass class Course: name: str # "CS 124" number: str # "124" label: str # "Introduction to Computer Science I" description: str # "Basic concepts in computing and fundamental techniques for solving computational problems.....
35.272727
120
0.608247
43
388
5.488372
0.813953
0
0
0
0
0
0
0
0
0
0
0.026415
0.31701
388
11
121
35.272727
0.864151
0.412371
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
d469c0222f63a84b0e954f5e839ba9f76753383c
1,004
py
Python
tagify_project/music/migrations/old/0001_initial.py
Krayonn/tagify
5ee7efce3cacfa23a344e4c02070a365f50136a8
[ "MIT" ]
null
null
null
tagify_project/music/migrations/old/0001_initial.py
Krayonn/tagify
5ee7efce3cacfa23a344e4c02070a365f50136a8
[ "MIT" ]
null
null
null
tagify_project/music/migrations/old/0001_initial.py
Krayonn/tagify
5ee7efce3cacfa23a344e4c02070a365f50136a8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-03-08 10:44 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Album', fields=[ ('id', models.AutoField(au...
30.424242
114
0.547809
99
1,004
5.424242
0.484848
0.139665
0.167598
0.223464
0.487896
0.294227
0.294227
0.294227
0.294227
0.294227
0
0.037791
0.314741
1,004
32
115
31.375
0.742733
0.044821
0
0.4
1
0
0.057471
0
0
0
0
0
0
1
0
false
0
0.04
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d46e84399f4a786d2d9417ea41788e945de9b9f8
1,223
py
Python
intrepyd/colors.py
bobosoft/intrepyd
13f0912b31f86f9bcc50f52ef4ad870e33f0cf65
[ "BSD-3-Clause" ]
2
2021-04-25T17:38:03.000Z
2022-03-20T20:48:50.000Z
intrepyd/colors.py
bobosoft/intrepyd
13f0912b31f86f9bcc50f52ef4ad870e33f0cf65
[ "BSD-3-Clause" ]
1
2016-11-30T22:25:00.000Z
2017-01-16T22:43:39.000Z
intrepyd/colors.py
bobosoft/intrepyd
13f0912b31f86f9bcc50f52ef4ad870e33f0cf65
[ "BSD-3-Clause" ]
null
null
null
""" Copyright (C) 2017 Roberto Bruttomesso <roberto.bruttomesso@gmail.com> This file is distributed under the terms of the 3-clause BSD License. A copy of the license can be found in the root directory or at https://opensource.org/licenses/BSD-3-Clause. Author: Roberto Bruttomesso <roberto.bruttomesso@gmail.com> Da...
21.839286
70
0.670482
161
1,223
5.043478
0.447205
0.066502
0.096059
0.155172
0.108374
0.108374
0
0
0
0
0
0.014568
0.214227
1,223
55
71
22.236364
0.830385
0.421096
0
0
0
0
0
0
0
0
0
0
0
1
0.466667
false
0
0.066667
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
1
0
0
0
0
1
0
0
2
d476d8dd1be2c7313c00dcab49d959a864de8726
352
py
Python
codeforces.com/1560B/solution.py
zubtsov/competitive-programming
919d63130144347d7f6eddcf8f5bc2afb85fddf3
[ "MIT" ]
null
null
null
codeforces.com/1560B/solution.py
zubtsov/competitive-programming
919d63130144347d7f6eddcf8f5bc2afb85fddf3
[ "MIT" ]
null
null
null
codeforces.com/1560B/solution.py
zubtsov/competitive-programming
919d63130144347d7f6eddcf8f5bc2afb85fddf3
[ "MIT" ]
null
null
null
for i in range(int(input())): a, b, c = map(int, input().split()) mi = min(a, b) ma = max(a, b) half_circle_people = (ma - mi) full_circle_people = 2 * half_circle_people if ma > half_circle_people * 2 or c > full_circle_people: print(-1) else: print((c - half_circle_people...
27.076923
68
0.59375
57
352
3.421053
0.438596
0.430769
0.328205
0
0
0
0
0
0
0
0
0.019455
0.269886
352
12
69
29.333333
0.7393
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2e2c18a17632c78bdb14e00bd093659ba759ce89
281
py
Python
src/hyper_prompt/themes/default.py
artbycrunk/hyper-prompt
b78d98e4e5c65647b566368ea778b205a86371de
[ "MIT" ]
5
2019-11-11T15:54:09.000Z
2022-03-23T00:00:07.000Z
src/hyper_prompt/themes/default.py
artbycrunk/hyper-prompt
b78d98e4e5c65647b566368ea778b205a86371de
[ "MIT" ]
8
2019-12-19T16:03:08.000Z
2021-10-21T01:42:08.000Z
src/hyper_prompt/themes/default.py
artbycrunk/hyper-prompt
b78d98e4e5c65647b566368ea778b205a86371de
[ "MIT" ]
3
2019-08-09T12:05:19.000Z
2020-10-06T08:16:24.000Z
from ..theme import BasicTheme class Theme(BasicTheme): USERNAME_FG = (188, 188, 188) USERNAME_BG = (88, 88, 88) USERNAME_ROOT_BG = (175, 0, 0) VIRTUAL_ENV_BG = (0, 175, 95) VIRTUAL_ENV_FG = (0, 0, 0) SSH_BG = (240, 121, 9) SSH_FG = (228, 228, 228)
20.071429
34
0.597865
45
281
3.511111
0.466667
0.037975
0
0
0
0
0
0
0
0
0
0.216346
0.259786
281
13
35
21.615385
0.543269
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
2e2c874eabf70ce448a8da9afd9c8435d81d6bca
5,970
py
Python
uefi_firmware/guids/efiguids_asrock.py
MikeSpreitzer/uefi-firmware-parser
2af7e41c800300b0509494cec1db7125d2be2de9
[ "MIT" ]
492
2015-01-14T18:33:34.000Z
2022-03-28T03:28:24.000Z
uefi_firmware/guids/efiguids_asrock.py
ontikka/uefi-firmware-parser
044fbde61970eaa626852b5b70821822c612c9f0
[ "MIT" ]
59
2015-04-11T22:25:29.000Z
2022-03-09T14:34:19.000Z
uefi_firmware/guids/efiguids_asrock.py
ontikka/uefi-firmware-parser
044fbde61970eaa626852b5b70821822c612c9f0
[ "MIT" ]
142
2015-02-05T06:36:30.000Z
2022-01-13T03:46:42.000Z
GUIDs = { "ASROCK_ACPIS4_DXE_GUID": [69196166, 45078, 18382, 175, 197, 34, 105, 237, 212, 173, 100], "ASROCK_USBRT_GUID": [82487969, 10657, 4567, 136, 56, 0, 80, 4, 115, 212, 235], "ASROCK_RAID_SETUP_GUID": [152494882, 14144, 12750, 173, 98, 189, 23, 44, 236, 202, 54], "ASROCK_RAID_LOADER_GUID": [16450...
90.454545
108
0.666332
939
5,970
4.029819
0.517572
0.025899
0.011099
0.0037
0.040698
0.040698
0.040698
0.030655
0.030655
0.016913
0
0.509954
0.167002
5,970
65
109
91.846154
0.250955
0
0
0
0
0
0.245602
0.195008
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2e3264f2b6283971a43a58d5f49534eec7b0ac2f
208
py
Python
tests/server/pong_routing.py
Drachenfels/carp-api
b7f280a645d5116d85dc7cd1d177b449704457de
[ "MIT" ]
null
null
null
tests/server/pong_routing.py
Drachenfels/carp-api
b7f280a645d5116d85dc7cd1d177b449704457de
[ "MIT" ]
null
null
null
tests/server/pong_routing.py
Drachenfels/carp-api
b7f280a645d5116d85dc7cd1d177b449704457de
[ "MIT" ]
null
null
null
from carp_api.routing import router from . import endpoints # NOQA # to use pong we need to disable common routes as they are using conflicting # urls router.enable(endpoints=[ endpoints.UberPong, ])
18.909091
76
0.754808
30
208
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.182692
208
10
77
20.8
0.917647
0.403846
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
2e3b58116e2d1f608d6de30c24daeb4023443f20
2,501
py
Python
set_dictionary/abstractdict.py
pinmingkenan/python_structure
8d5d12f739136d49c8585d1e8173ca77fd806180
[ "Apache-2.0" ]
null
null
null
set_dictionary/abstractdict.py
pinmingkenan/python_structure
8d5d12f739136d49c8585d1e8173ca77fd806180
[ "Apache-2.0" ]
null
null
null
set_dictionary/abstractdict.py
pinmingkenan/python_structure
8d5d12f739136d49c8585d1e8173ca77fd806180
[ "Apache-2.0" ]
null
null
null
# coding = utf-8 from inherit_abstract.abstractcollection import AbstractCollection class AbstractDict(AbstractCollection): """ Common data and method implementations for dictionaries. """ def __init__(self, source_collection): """ Will copy items to the collection from source_collect...
26.326316
83
0.554178
288
2,501
4.65625
0.260417
0.04698
0.059657
0.04176
0.271439
0.225951
0.202834
0.202834
0.202834
0.138702
0
0.000606
0.340664
2,501
94
84
26.606383
0.812614
0.222311
0
0.297872
0
0
0.002907
0
0
0
0
0
0
1
0.255319
false
0
0.021277
0.042553
0.659574
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2e4b63bd5b4769f7df88e32782400d4e36345165
5,920
py
Python
canvas_sdk/methods/gradebook_history.py
david-house-harvard/canvas_python_sdk
9c2e59621a9a5667bc43c253ef801482b241a2c1
[ "MIT" ]
21
2015-06-12T13:49:04.000Z
2021-11-08T05:37:44.000Z
canvas_sdk/methods/gradebook_history.py
david-house-harvard/canvas_python_sdk
9c2e59621a9a5667bc43c253ef801482b241a2c1
[ "MIT" ]
44
2015-02-04T15:26:52.000Z
2021-12-03T17:47:00.000Z
canvas_sdk/methods/gradebook_history.py
david-house-harvard/canvas_python_sdk
9c2e59621a9a5667bc43c253ef801482b241a2c1
[ "MIT" ]
7
2015-07-20T23:56:03.000Z
2021-02-23T17:13:00.000Z
from canvas_sdk import client, utils def days_in_gradebook_history_for_this_course(request_ctx, course_id, per_page=None, **request_kwargs): """ Returns a map of dates to grader/assignment groups :param request_ctx: The request context :type request_ctx: :class:RequestContext :param co...
44.511278
187
0.707095
824
5,920
4.894417
0.162621
0.062485
0.013885
0.019836
0.729482
0.704686
0.661046
0.644185
0.630052
0.630052
0
0.000865
0.219257
5,920
132
188
44.848485
0.871701
0.584122
0
0.590909
0
0
0.141031
0.11319
0
0
0
0
0
1
0.090909
false
0
0.022727
0
0.204545
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
0
0
0
2
2e55cbdc85e25fb41d40bbaf42cdc30151a9b83e
1,657
py
Python
Files/Print_text.py
Adian-kids/AWD-Framework-First
7177d14fd61de780e9b0b0981d8ed4531ee8100a
[ "MIT" ]
4
2020-06-17T04:35:41.000Z
2020-07-27T13:51:43.000Z
Files/Print_text.py
Adian-kids/AWD-Framework-First
7177d14fd61de780e9b0b0981d8ed4531ee8100a
[ "MIT" ]
null
null
null
Files/Print_text.py
Adian-kids/AWD-Framework-First
7177d14fd61de780e9b0b0981d8ed4531ee8100a
[ "MIT" ]
2
2020-10-12T12:49:10.000Z
2021-09-28T02:04:26.000Z
import os def Usage(): print("Commands : ") #输出帮助信息 print("+----------------------------------------------------+") print("|Num|Command | Describe |") print("+----------------------------------------------------+") print("|0. | help | ...
47.342857
102
0.388654
148
1,657
4.337838
0.594595
0.077882
0
0
0
0
0
0
0
0
0
0.006295
0.328908
1,657
34
103
48.735294
0.571043
0.017502
0
0.206897
0
0.034483
0.656948
0.189826
0
0
0
0
0
1
0.103448
false
0
0.034483
0
0.137931
0.793103
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
2e6db740bfd18316b5341b49fe5013fc2673f569
2,980
py
Python
trunk/bin/comparecatalogs.py
drmegannewsome/lcogtsnpipe
f00afa7aa68fb0e7aa35aab57c201e54e293b20b
[ "MIT" ]
null
null
null
trunk/bin/comparecatalogs.py
drmegannewsome/lcogtsnpipe
f00afa7aa68fb0e7aa35aab57c201e54e293b20b
[ "MIT" ]
60
2020-05-11T22:57:18.000Z
2022-03-29T19:40:22.000Z
trunk/bin/comparecatalogs.py
drmegannewsome/lcogtsnpipe
f00afa7aa68fb0e7aa35aab57c201e54e293b20b
[ "MIT" ]
6
2020-09-01T17:32:08.000Z
2022-02-23T13:44:29.000Z
#!/usr/bin/env python import lsc import os import argparse default_catdir = os.path.join(os.getenv('LCOSNDIR', lsc.util.workdirectory), 'standard', 'cat') parser = argparse.ArgumentParser() parser.add_argument('-F', '--force', action='store_true', help="try to download catalog even if we've tried before") parser.add...
54.181818
152
0.611074
372
2,980
4.846774
0.362903
0.02995
0.038824
0.049917
0.255685
0.236828
0.215752
0.175818
0.153078
0.153078
0
0.00527
0.235906
2,980
54
153
55.185185
0.786561
0.072819
0
0.166667
0
0
0.249184
0
0
0
0
0
0
0
null
null
0.083333
0.0625
null
null
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
2e74549502ee3fbceab7d78082a65a25de94f1a2
471
py
Python
pyhsgw/hs_set_value.py
zopyx/pyHSgw
42f9cdf375130f601f7a35cf1caee3c5a49ab484
[ "BSD-3-Clause" ]
null
null
null
pyhsgw/hs_set_value.py
zopyx/pyHSgw
42f9cdf375130f601f7a35cf1caee3c5a49ab484
[ "BSD-3-Clause" ]
null
null
null
pyhsgw/hs_set_value.py
zopyx/pyHSgw
42f9cdf375130f601f7a35cf1caee3c5a49ab484
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import hsgw from sys import argv, exit if len(argv) != 4: print argv[0], "<key> <addr> <value>" (key, addr, value) = argv[1:] print "key =", key print "addr =", addr print "value =", value if not hsgw.initConnection(key = key): print "Could not initialize connection." exit(1) print "S...
21.409091
107
0.647558
69
471
4.405797
0.507246
0.088816
0.078947
0
0
0
0
0
0
0
0
0.012755
0.167728
471
21
108
22.428571
0.762755
0.03397
0
0
0
0
0.222467
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
2e74ca3a12ea7ed1aacea732de257ba7d9e4fd0b
4,727
py
Python
log_to_blockchain.py
sandialabs/idash2018task1
46a53c882f3c5f81cabb9c1b0a463f1ec6f9f414
[ "BSD-3-Clause" ]
1
2020-08-03T20:52:52.000Z
2020-08-03T20:52:52.000Z
log_to_blockchain.py
sandialabs/idash2018task1
46a53c882f3c5f81cabb9c1b0a463f1ec6f9f414
[ "BSD-3-Clause" ]
null
null
null
log_to_blockchain.py
sandialabs/idash2018task1
46a53c882f3c5f81cabb9c1b0a463f1ec6f9f414
[ "BSD-3-Clause" ]
2
2018-11-25T22:31:08.000Z
2020-08-03T20:52:56.000Z
#TODO: thread to balance optimize disk i/o vs network, try to saturate #TODO: look into the rawtransaction way of doing multiple things at once #TODO: look into optimizing/issuing network directly, instead of through RPC #import subprocess import binascii import math import json import time import random import argpars...
34.253623
94
0.549397
520
4,727
4.909615
0.328846
0.034469
0.033294
0.03917
0.145319
0.065413
0.065413
0.031336
0.031336
0.031336
0
0.00786
0.30019
4,727
137
95
34.50365
0.763906
0.145547
0
0.099099
0
0
0.148498
0.018128
0
0
0
0.007299
0
0
null
null
0.072072
0.081081
null
null
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
2e757cbcf7753e1a41bcc35d789ef83c1bf668e3
544
py
Python
fpl/migrations/0017_auto_20180816_2035.py
sornars/leaguetracker
b83cd21db2edfeeeaecc27b768107e5b7bf0cd93
[ "MIT" ]
null
null
null
fpl/migrations/0017_auto_20180816_2035.py
sornars/leaguetracker
b83cd21db2edfeeeaecc27b768107e5b7bf0cd93
[ "MIT" ]
null
null
null
fpl/migrations/0017_auto_20180816_2035.py
sornars/leaguetracker
b83cd21db2edfeeeaecc27b768107e5b7bf0cd93
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2018-08-16 20:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fpl', '0016_auto_20180816_2020'), ] operations = [ migrations.AlterField( model_name='classicleague', name='fpl_league...
22.666667
45
0.582721
52
544
5.923077
0.653846
0.12987
0.162338
0.188312
0.246753
0.246753
0.246753
0
0
0
0
0.079787
0.308824
544
23
46
23.652174
0.739362
0.079044
0
0.470588
1
0
0.162325
0.046092
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2e7a4d5bb577ab8e56c7765e7aa74cfa6de7a904
176
py
Python
crawl_cvs-project/crawl_cvs/url_builder.py
MacHu-GWU/learn_scrapy-project
e6324471704a2ba092ec59abedf617d98d18d436
[ "MIT" ]
null
null
null
crawl_cvs-project/crawl_cvs/url_builder.py
MacHu-GWU/learn_scrapy-project
e6324471704a2ba092ec59abedf617d98d18d436
[ "MIT" ]
null
null
null
crawl_cvs-project/crawl_cvs/url_builder.py
MacHu-GWU/learn_scrapy-project
e6324471704a2ba092ec59abedf617d98d18d436
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import crawlib class CvsUrlBuilder(crawlib.BaseUrlBuilder): domain = "https://www.cvs.com/" urlbuilder = CvsUrlBuilder()
14.666667
44
0.681818
20
176
6
0.9
0
0
0
0
0
0
0
0
0
0
0.006667
0.147727
176
11
45
16
0.793333
0.238636
0
0
0
0
0.151515
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
2e7a800956a7899680c40d12d8132141d36264a0
689
py
Python
app/models/oj.py
Kyooooma/view-oj-backend
3b2fc9ed0b8b52029b45cd30f90e8dd925a09d35
[ "Apache-2.0" ]
6
2019-08-05T13:01:19.000Z
2021-07-16T09:59:45.000Z
app/models/oj.py
Kyooooma/view-oj-backend
3b2fc9ed0b8b52029b45cd30f90e8dd925a09d35
[ "Apache-2.0" ]
null
null
null
app/models/oj.py
Kyooooma/view-oj-backend
3b2fc9ed0b8b52029b45cd30f90e8dd925a09d35
[ "Apache-2.0" ]
6
2019-12-05T13:04:38.000Z
2020-07-05T15:05:40.000Z
from sqlalchemy import Boolean, Column, Integer, String from app.models.base import Base class OJ(Base): __tablename__ = 'oj' fields = ['id', 'name', 'status', 'need_password'] id = Column(Integer, primary_key=True, autoincrement=True) name = Column(String(100), unique=True) url = Column(String...
28.708333
71
0.666183
89
689
5.033708
0.494382
0.087054
0.09375
0.116071
0.169643
0.169643
0
0
0
0
0
0.016514
0.208999
689
23
72
29.956522
0.805505
0
0
0
0
0
0.044993
0
0
0
0
0
0
1
0.058824
false
0.117647
0.117647
0
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
2e7b8c7a1f96576a8ce83e77e893389b85c02c65
413
py
Python
Expressions/Operations/Pow.py
nerdsupremacist/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
5
2019-04-03T12:27:37.000Z
2022-02-18T08:20:12.000Z
Expressions/Operations/Pow.py
nerdsupremacist/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
7
2016-05-26T13:46:33.000Z
2016-06-15T20:57:15.000Z
Expressions/Operations/Pow.py
mathiasquintero/LlamaLang
84484b03eb24f326d7889c9dd4e9605d4eca9f8d
[ "MIT" ]
null
null
null
from Expressions.Number import Number class Pow(Number): def __init__(self, left, right): self.left = left self.right = right def eval(self): if self.left.type() == Number and self.right.type() == Number: return self.left.eval() ** self.right.eval() else: ...
22.944444
70
0.590799
51
413
4.705882
0.45098
0.133333
0
0
0
0
0
0
0
0
0
0
0.292978
413
17
71
24.294118
0.821918
0
0
0
0
0
0.062954
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2e8188e1b5844062b4f166f34c4b31931a6fc142
801
py
Python
merlion/models/anomaly/forecast_based/arima.py
ankitakashyap05/Merlion
7dc95fbf64002e22bfce89625bdb76b7a3cbfbfc
[ "BSD-3-Clause" ]
2,215
2021-09-21T18:11:36.000Z
2022-03-31T20:21:42.000Z
merlion/models/anomaly/forecast_based/arima.py
ankitakashyap05/Merlion
7dc95fbf64002e22bfce89625bdb76b7a3cbfbfc
[ "BSD-3-Clause" ]
56
2021-09-22T14:45:50.000Z
2022-03-29T22:28:19.000Z
merlion/models/anomaly/forecast_based/arima.py
ankitakashyap05/Merlion
7dc95fbf64002e22bfce89625bdb76b7a3cbfbfc
[ "BSD-3-Clause" ]
181
2021-09-22T09:04:22.000Z
2022-03-29T16:04:43.000Z
# # Copyright (c) 2021 salesforce.com, inc. # All rights reserved. # SPDX-License-Identifier: BSD-3-Clause # For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause # """ Classic ARIMA (AutoRegressive Integrated Moving Average) forecasting model, adapted for anomaly ...
34.826087
110
0.815231
96
801
6.739583
0.645833
0.068006
0.078825
0.074189
0
0
0
0
0
0
0
0.011173
0.106117
801
22
111
36.409091
0.892458
0.393258
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2e8465e06a15db8c637c5ad1006b7946b8ad2cd0
1,788
py
Python
Code/set.py
escofresco/makeschool_cs13_core_ds
74195ea836338c84c912ecd15da3cb7aab229fb5
[ "MIT" ]
null
null
null
Code/set.py
escofresco/makeschool_cs13_core_ds
74195ea836338c84c912ecd15da3cb7aab229fb5
[ "MIT" ]
4
2020-02-17T22:25:41.000Z
2020-03-10T08:49:06.000Z
Code/set.py
escofresco/makeschool_cs13_core_ds
74195ea836338c84c912ecd15da3cb7aab229fb5
[ "MIT" ]
null
null
null
"""This module is a custom implement of the set data type. Implements: Set data type class.""" from binarytree import BinarySearchTree from copy import deepcopy class Set: """Implements a set using BinarySearchTree""" __slots__ = ("data",) def __init__(self, it=()): self.data = BinarySearchT...
28.380952
77
0.60962
234
1,788
4.521368
0.282051
0.090737
0.090737
0.056711
0.287335
0.287335
0.287335
0.287335
0.287335
0.287335
0
0
0.288031
1,788
62
78
28.83871
0.831108
0.074385
0
0.181818
0
0
0.030414
0
0
0
0
0
0
1
0.25
false
0
0.045455
0.068182
0.568182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2e84f7f317a9e66ebbebbcae3a975ec7b991d53f
937
py
Python
xos/grpc/tests/api_user_crud.py
pan2za/xos
c2a4da2ccaa12360b2718be303b247866aefdfe6
[ "Apache-2.0" ]
null
null
null
xos/grpc/tests/api_user_crud.py
pan2za/xos
c2a4da2ccaa12360b2718be303b247866aefdfe6
[ "Apache-2.0" ]
5
2020-06-05T17:47:15.000Z
2021-09-23T23:21:27.000Z
xos/grpc/tests/api_user_crud.py
pan2za/xos
c2a4da2ccaa12360b2718be303b247866aefdfe6
[ "Apache-2.0" ]
null
null
null
import sys sys.path.append("..") import grpc_client from testconfig import * print "api_user_crud" #c=grpc_client.InsecureClient("localhost") c=grpc_client.SecureClient("xos-core.cord.lab", username=USERNAME, password=PASSWORD) u=grpc_client.User() import random, string u.email=''.join(random.choice(string.ascii_upp...
24.025641
89
0.735326
169
937
3.952663
0.402367
0.11976
0.032934
0.056886
0.278443
0.236527
0.236527
0.236527
0.236527
0.236527
0
0.016746
0.107791
937
38
90
24.657895
0.782297
0.128068
0
0.166667
0
0
0.064039
0
0
0
0
0
0.166667
0
null
null
0.125
0.166667
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
cf07e4d49362a937cf48cd3216faa6ecbaf0289e
1,142
py
Python
qunetsim/utils/constants.py
rheaparekh/QuNetSim
f09335d4994fc9f82f15c0bebbbe3d21b945b4ea
[ "MIT" ]
null
null
null
qunetsim/utils/constants.py
rheaparekh/QuNetSim
f09335d4994fc9f82f15c0bebbbe3d21b945b4ea
[ "MIT" ]
null
null
null
qunetsim/utils/constants.py
rheaparekh/QuNetSim
f09335d4994fc9f82f15c0bebbbe3d21b945b4ea
[ "MIT" ]
1
2020-09-17T15:43:34.000Z
2020-09-17T15:43:34.000Z
class Constants: # DATA TYPES GENERATE_EPR_IF_NONE = 'generate_epr_if_none' AWAIT_ACK = 'await_ack' SEQUENCE_NUMBER = 'sequence_number' PAYLOAD = 'payload' PAYLOAD_TYPE = 'payload_type' SENDER = 'sender' RECEIVER = 'receiver' PROTOCOL = 'protocol' KEY = 'key' # WAIT TIME ...
21.54717
49
0.62697
133
1,142
5.015038
0.330827
0.058471
0.038981
0.050975
0
0
0
0
0
0
0
0.006046
0.275832
1,142
52
50
21.961538
0.800484
0.06042
0
0
1
0
0.301408
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
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
1
0
0
2
cf2441e808929b6faa57cc3a71cd5dfe5c01ef11
388
py
Python
mach/models.py
RobDBennett/mach2
c6beac71712acbec01fbec68809d759be13e891b
[ "MIT" ]
null
null
null
mach/models.py
RobDBennett/mach2
c6beac71712acbec01fbec68809d759be13e891b
[ "MIT" ]
null
null
null
mach/models.py
RobDBennett/mach2
c6beac71712acbec01fbec68809d759be13e891b
[ "MIT" ]
null
null
null
"""SQLAlchemy models and utility functions for Sprint.""" from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Record(db.Model): id = db.Column(db.Integer, primary_key=True) datetime = db.Column(db.String(25)) value = db.Column(db.Float, nullable=False) def __repr__(self): return...
24.25
80
0.703608
54
388
4.944444
0.592593
0.089888
0.11236
0
0
0
0
0
0
0
0
0.006116
0.157216
388
15
81
25.866667
0.810398
0.131443
0
0
0
0
0.187879
0.187879
0
0
0
0
0
1
0.125
false
0
0.125
0.125
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
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
cf5af642f862583555a72b1ffb31c75257f89438
1,939
py
Python
test.py
iNateDawg/Craft
07cc0002d74ed4842861e318f8fffb1d7883f0e8
[ "MIT" ]
null
null
null
test.py
iNateDawg/Craft
07cc0002d74ed4842861e318f8fffb1d7883f0e8
[ "MIT" ]
23
2020-02-13T23:36:55.000Z
2020-04-27T18:24:04.000Z
test.py
iNateDawg/Craft
07cc0002d74ed4842861e318f8fffb1d7883f0e8
[ "MIT" ]
null
null
null
import normalize norm = normalize.normalize("heightdata.png", 6, 6) class TestNormArray: """test_norm_array references requirement 3.0 because it shows 2x2 block area of (0,0), (0,1), (1,0), (1,1), this area will for sure be a 2x2 block area""" # \brief Ref : Req 3.0 One pixel in topographic image sha...
46.166667
123
0.676122
317
1,939
4.07571
0.29653
0.06192
0.059598
0.037152
0.439628
0.394737
0.394737
0.394737
0.394737
0.394737
0
0.06157
0.237751
1,939
41
124
47.292683
0.812585
0.459515
0
0
0
0
0.0761
0
0
0
0
0
0.5
1
0.3
false
0
0.05
0
0.45
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
1
0
1
0
0
0
0
0
0
0
2
cf5e44c6b2e424b2b5948c67c6cd8e692e1cb91a
916
py
Python
code/util/rototranslation.py
goldleaf3i/declutter-reconstruct
954b755a1eced34af50d31ee2e3938a0b751cc4d
[ "MIT" ]
2
2022-03-14T07:37:45.000Z
2022-03-25T09:01:48.000Z
code/util/rototranslation.py
goldleaf3i/declutter-reconstruct
954b755a1eced34af50d31ee2e3938a0b751cc4d
[ "MIT" ]
1
2022-03-24T07:34:16.000Z
2022-03-27T11:20:27.000Z
code/util/rototranslation.py
goldleaf3i/declutter-reconstruct
954b755a1eced34af50d31ee2e3938a0b751cc4d
[ "MIT" ]
1
2022-03-08T05:37:22.000Z
2022-03-08T05:37:22.000Z
import math def rototranslate(x0, y0, angle): alpha = float(angle)*math.pi/180.0 cos = math.cos sin = math.sin def RT(x, y): return x0+x*cos(alpha)-y*sin(alpha),y0+x*sin(alpha)+y*cos(alpha) return RT def inverseRT(x0, y0, angle): alpha = float(angle)*math.pi/180.0 cos = math.cos sin = math.sin def iRT(...
26.941176
118
0.706332
163
916
3.96319
0.337423
0.074303
0.041796
0.04644
0.291022
0.291022
0.250774
0.176471
0.176471
0.176471
0
0.03881
0.156114
916
33
119
27.757576
0.796895
0.29476
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.095238
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
cf68231df974fd2bf1dc647492649911b88dec93
925
py
Python
dayu_database/status/__init__.py
phenom-films/dayu_database
221f965a77a5ea1d4074135903d29bc0a9d9b1c7
[ "MIT" ]
7
2018-10-11T07:44:57.000Z
2020-10-08T14:44:52.000Z
dayu_database/status/__init__.py
phenom-films/dayu_database
221f965a77a5ea1d4074135903d29bc0a9d9b1c7
[ "MIT" ]
null
null
null
dayu_database/status/__init__.py
phenom-films/dayu_database
221f965a77a5ea1d4074135903d29bc0a9d9b1c7
[ "MIT" ]
6
2018-10-16T02:54:37.000Z
2022-02-16T13:43:02.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- __author__ = 'andyguo' from functools import wraps class DayuDatabaseStatusNotConnect(object): pass class DayuDatabaseStatusConnected(object): pass def validate_status(status): def outter_wrapper(func): @wraps(func) def wrapper(self, *a...
28.030303
97
0.658378
93
925
6.408602
0.494624
0.087248
0.04698
0.07047
0.090604
0
0
0
0
0
0
0.001447
0.252973
925
33
98
28.030303
0.861071
0.047568
0
0.1
0
0
0.071591
0
0
0
0
0
0
1
0.15
false
0.1
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
0
0
1
0
0
1
0
0
2
cf72823e6134abf9dc68d82573bb0ef74467bab2
431
py
Python
yepes/contrib/emails/models.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
yepes/contrib/emails/models.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
yepes/contrib/emails/models.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
# -*- coding:utf-8 -*- from yepes.apps import apps AbstractConnection = apps.get_class('emails.abstract_models', 'AbstractConnection') AbstractDelivery = apps.get_class('emails.abstract_models', 'AbstractDelivery') AbstractMessage = apps.get_class('emails.abstract_models', 'AbstractMessage') class Connection(Abstra...
22.684211
83
0.774942
44
431
7.454545
0.431818
0.064024
0.109756
0.164634
0.292683
0.292683
0
0
0
0
0
0.002611
0.111369
431
18
84
23.944444
0.853786
0.046404
0
0.3
0
0
0.281863
0.161765
0
0
0
0
0
1
0
false
0.3
0.1
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
cf7428c27c691770110fa52f6694724bc3c98a7d
1,345
py
Python
pentominos.py
wusui/pentomino_redux
258b2f541329a6e7e20fc6b58534ab4201b6082f
[ "MIT" ]
null
null
null
pentominos.py
wusui/pentomino_redux
258b2f541329a6e7e20fc6b58534ab4201b6082f
[ "MIT" ]
null
null
null
pentominos.py
wusui/pentomino_redux
258b2f541329a6e7e20fc6b58534ab4201b6082f
[ "MIT" ]
null
null
null
""" Top level function calls for pentomino solver """ from tree_find_pents import build_pent_tree from rect_find_x import solve_case def fill_rectangles_with_pentominos(io_obj=print, low=3, high=7): """ Loop through rectangle sizes and solve for each. build_pent_tree is called to initialize the tree. Io...
28.617021
77
0.692937
193
1,345
4.544041
0.450777
0.051311
0.04447
0.063854
0.068415
0.068415
0
0
0
0
0
0.011472
0.222305
1,345
46
78
29.23913
0.82696
0.391078
0
0
0
0
0.010884
0
0
0
0
0
0
1
0.352941
false
0
0.117647
0
0.588235
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
cf746234a79fd1b2603a547db20b86892c27b565
95
py
Python
tests/custom_template_path_root/conf.py
TimKam/sphinx-pretty-searchresults
65fc8133f0fab70627c665e1ccfc6a5d45d16fc3
[ "MIT" ]
12
2016-07-30T21:33:03.000Z
2018-04-30T22:05:07.000Z
tests/custom_template_path_root/conf.py
TimKam/sphinx-pretty-searchresults
65fc8133f0fab70627c665e1ccfc6a5d45d16fc3
[ "MIT" ]
20
2016-08-02T09:34:35.000Z
2018-05-27T12:40:12.000Z
tests/custom_template_path_root/conf.py
TimKam/sphinx-pretty-searchresults
65fc8133f0fab70627c665e1ccfc6a5d45d16fc3
[ "MIT" ]
3
2020-11-23T05:56:53.000Z
2020-11-23T05:57:11.000Z
master_doc = 'index' extensions = ['sphinxprettysearchresults'] templates_path = ['_templates']
31.666667
42
0.778947
8
95
8.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.084211
95
3
43
31.666667
0.816092
0
0
0
0
0
0.416667
0.260417
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cf88808935b10cbd4d8294c1021bdfebd7c7988d
3,500
py
Python
test_autofit/tools/test_edenise/test_import.py
rhayes777/PyAutoF
87f56419348833b285b00da1a524e329588e0b01
[ "MIT" ]
39
2019-01-24T10:45:23.000Z
2022-03-18T09:37:59.000Z
test_autofit/tools/test_edenise/test_import.py
rhayes777/PyAutoF
87f56419348833b285b00da1a524e329588e0b01
[ "MIT" ]
260
2018-11-27T12:56:33.000Z
2022-03-31T16:08:59.000Z
test_autofit/tools/test_edenise/test_import.py
rhayes777/PyAutoF
87f56419348833b285b00da1a524e329588e0b01
[ "MIT" ]
13
2018-11-30T16:49:05.000Z
2022-01-21T17:39:29.000Z
import pytest from autofit.tools.edenise import Package, Import, LineItem @pytest.fixture( name="import_" ) def make_import(package): return Import( "from autofit.tools.edenise import Line", parent=package ) @pytest.fixture( name="local_import" ) def make_local_import( packa...
23.489933
119
0.673429
420
3,500
5.302381
0.130952
0.053884
0.057476
0.043107
0.527616
0.462506
0.370903
0.287831
0.148181
0.148181
0
0
0.236
3,500
148
120
23.648649
0.832835
0
0
0.40678
0
0
0.284571
0.100571
0
0
0
0
0.152542
1
0.110169
false
0
0.5
0.016949
0.627119
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d84175e37630d255baf90653a9fe79cb0117e569
644
py
Python
corere/main/migrations/0012_auto_20210730_1522.py
Xarthisius/dataverse-corere
016b80445c7b226ae7fb44d34daa84399b9acab6
[ "MIT" ]
9
2019-06-18T20:11:27.000Z
2021-02-10T19:20:08.000Z
corere/main/migrations/0012_auto_20210730_1522.py
Xarthisius/dataverse-corere
016b80445c7b226ae7fb44d34daa84399b9acab6
[ "MIT" ]
9
2020-01-10T22:11:56.000Z
2021-07-28T18:19:53.000Z
corere/main/migrations/0012_auto_20210730_1522.py
Xarthisius/dataverse-corere
016b80445c7b226ae7fb44d34daa84399b9acab6
[ "MIT" ]
2
2021-09-17T15:48:28.000Z
2021-10-07T13:32:38.000Z
# Generated by Django 3.2.5 on 2021-07-30 15:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0011_auto_20210729_2147'), ] operations = [ migrations.AddField( model_name='curation', name='needs_verifica...
26.833333
87
0.624224
63
644
6.238095
0.603175
0.091603
0.21374
0.137405
0.422392
0.422392
0.422392
0.422392
0.422392
0.422392
0
0.065678
0.267081
644
23
88
28
0.766949
0.069876
0
0.470588
1
0
0.20938
0.038526
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d84fb543ffa833bbe5448f17c96e8318c6bb4f0d
1,234
py
Python
bin/MLEout2tab_NA.py
gaofeng21cn/IDP-fusion
052ac4f868fd416e10165ef4891804d25edc8862
[ "Apache-2.0" ]
5
2017-09-18T18:21:26.000Z
2020-05-01T23:29:26.000Z
bin/MLEout2tab_NA.py
gaofeng21cn/IDP-fusion
052ac4f868fd416e10165ef4891804d25edc8862
[ "Apache-2.0" ]
3
2018-11-26T16:35:12.000Z
2021-11-22T07:16:51.000Z
bin/MLEout2tab_NA.py
gaofeng21cn/IDP-fusion
052ac4f868fd416e10165ef4891804d25edc8862
[ "Apache-2.0" ]
4
2018-01-02T13:06:39.000Z
2020-04-14T13:20:52.000Z
#!/usr/bin/python import sys import os if len(sys.argv) >= 2 : exp_filename = sys.argv[1] else: print("usage: ") print("or ") sys.exit(1) ################################################################################ exp_dt = {} exp_file = open(exp_filename,'r') i=0 for line in exp_file: ls = lin...
28.697674
95
0.419773
166
1,234
2.921687
0.277108
0.103093
0.11134
0.160825
0.338144
0.074227
0
0
0
0
0
0.017668
0.311994
1,234
42
96
29.380952
0.553592
0.02269
0
0.111111
0
0
0.033525
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.083333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d853bf37352fcda986f521a35690300e37f1e3db
145
py
Python
ABC066/ABC066a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ABC066/ABC066a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ABC066/ABC066a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
# ABC066a import sys input = sys.stdin.readline sys.setrecursionlimit(10**6) bell = tuple(map(int, input().split())) print(sum(bell)-max(bell))
18.125
39
0.717241
22
145
4.727273
0.772727
0
0
0
0
0
0
0
0
0
0
0.045802
0.096552
145
7
40
20.714286
0.748092
0.048276
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d8555ee45594776fd2dc1479324c7089491c7c52
694
py
Python
src/plottoolbox/skill_metrics/pc_bias.py
timcera/plottoolbox
b5f4b634d366eb5ba244e2f1fd33a7ef0eba7298
[ "BSD-3-Clause" ]
5
2016-10-13T18:06:41.000Z
2021-06-29T19:47:36.000Z
src/tstoolbox/skill_metrics/pc_bias.py
timcera/tstoolbox
a32fa399d96082f01b7eedfd6c8893bdb881845c
[ "BSD-3-Clause" ]
21
2016-04-28T16:48:03.000Z
2021-12-16T18:07:07.000Z
src/plottoolbox/skill_metrics/pc_bias.py
timcera/plottoolbox
b5f4b634d366eb5ba244e2f1fd33a7ef0eba7298
[ "BSD-3-Clause" ]
3
2018-03-21T21:07:52.000Z
2021-01-22T20:07:49.000Z
# -*- coding: utf-8 -*- import numpy as np from . import utils def pc_bias(simulated, observed): """ Calculate the percent bias between simulated and observed. B = 100.0*sum(s-o)/sum(o) where s is the simulated values, and o is the observed values. Note that s & o must have the same number of v...
23.133333
66
0.67147
99
694
4.686869
0.464646
0.109914
0.12931
0.116379
0.163793
0.163793
0
0
0
0
0
0.017241
0.247839
694
29
67
23.931034
0.871648
0.618156
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d860768aa401303e4e43e3b81af80668a675fe4e
400
py
Python
apps/setup.py
nlantoing/Astrarium
f1899caed01b8946e0e024bca559f5aaafdd69ea
[ "MIT" ]
null
null
null
apps/setup.py
nlantoing/Astrarium
f1899caed01b8946e0e024bca559f5aaafdd69ea
[ "MIT" ]
null
null
null
apps/setup.py
nlantoing/Astrarium
f1899caed01b8946e0e024bca559f5aaafdd69ea
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='Astrarium', version='0.0.1', packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=[ 'Flask', 'SQLAlchemy', 'flask_sqlalchemy', 'flask_migrate', 'flask_script', ...
19.047619
43
0.5625
38
400
5.657895
0.736842
0.111628
0.186047
0
0
0
0
0
0
0
0
0.01087
0.31
400
20
44
20
0.768116
0
0
0
0
0
0.2475
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2