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
c6f313c9cf056ca62bc76f3ad6d4a7e1b3fb209c
1,484
py
Python
toontown/environment/TemperatureManagerAI.py
LittleNed/toontown-stride
1252a8f9a8816c1810106006d09c8bdfe6ad1e57
[ "Apache-2.0" ]
3
2020-01-02T08:43:36.000Z
2020-07-05T08:59:02.000Z
toontown/environment/TemperatureManagerAI.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
null
null
null
toontown/environment/TemperatureManagerAI.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
4
2019-06-20T23:45:23.000Z
2020-10-14T20:30:15.000Z
from toontown.toonbase import ToontownGlobals from toontown.environment import TemperatureGlobals import random import math class TemperatureManagerAI: def __init__(self, air): self.air = air self._temperatures = {} def calculateRandom(self, low, high): return random.randint(low, ...
31.574468
105
0.62938
148
1,484
6.22973
0.418919
0.104121
0.071584
0.05423
0.236443
0.236443
0.186551
0.186551
0.186551
0
0
0.00096
0.297844
1,484
46
106
32.26087
0.883877
0.07345
0
0.060606
0
0
0.005831
0
0
0
0
0.021739
0
1
0.212121
false
0
0.121212
0.090909
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
c6f383b8e42b969dc90e3064bb5dab464b32d3dc
998
py
Python
exercises/test_02_05.py
DayMath82/www.warmups.dev
2a1f3f7b2e1e066b3033366a91512c1b1be824ce
[ "MIT" ]
5
2021-05-03T05:09:17.000Z
2021-05-05T11:45:12.000Z
exercises/test_02_05.py
DayMath82/www.warmups.dev
2a1f3f7b2e1e066b3033366a91512c1b1be824ce
[ "MIT" ]
13
2021-06-10T20:10:25.000Z
2021-07-12T18:59:15.000Z
exercises/test_02_05.py
DayMath82/www.warmups.dev
2a1f3f7b2e1e066b3033366a91512c1b1be824ce
[ "MIT" ]
3
2021-05-01T00:08:07.000Z
2021-05-21T03:36:46.000Z
def test(): # if an assertion fails, the message will be displayed # --> must have the correct arithmetic mean assert numbers_one_mean == 4.0, "Are you calculating the arithmetic mean?" # --> must have the first function call assert "mean(numbers_one)" in __solution__, "Did you call the mean functio...
58.705882
112
0.708417
145
998
4.655172
0.37931
0.059259
0.081481
0.118519
0.287407
0.287407
0.216296
0.216296
0.118519
0
0
0.002528
0.207415
998
16
113
62.375
0.850822
0.329659
0
0
0
0
0.566667
0
0
0
0
0.0625
0.75
1
0.125
true
0
0
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
1
0
0
1
0
0
0
0
0
0
3
05f5bc79901ca9bc87206c39bb7558d8fa0434fa
224
py
Python
src/Auxiliar_Functions.py
FHe/SurfComp
adcaebdc8cb80f48fdee547fa8207c2aeb584472
[ "MIT" ]
1
2019-05-17T10:46:08.000Z
2019-05-17T10:46:08.000Z
src/Auxiliar_Functions.py
FHe/SurfComp
adcaebdc8cb80f48fdee547fa8207c2aeb584472
[ "MIT" ]
null
null
null
src/Auxiliar_Functions.py
FHe/SurfComp
adcaebdc8cb80f48fdee547fa8207c2aeb584472
[ "MIT" ]
1
2018-08-02T06:54:38.000Z
2018-08-02T06:54:38.000Z
# -*- coding: utf-8 -*- """ Created on Fri Aug 24 09:07:47 2018 @author: Lützenkirchen, Heberling, Jara This module contains functions that are supossed to be used in one or more classes in order to remove redundancy. """
24.888889
113
0.723214
36
224
4.5
0.944444
0
0
0
0
0
0
0
0
0
0
0.070652
0.178571
224
8
114
28
0.809783
0.955357
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
af18489dbcf52b549372708bf18aa3a265cebe2a
529
py
Python
stubs/ev3_pybricks_v1_0_0/urequests.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
stubs/ev3_pybricks_v1_0_0/urequests.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
stubs/ev3_pybricks_v1_0_0/urequests.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
""" Module: 'urequests' on LEGO EV3 v1.0.0 """ # MCU: sysname=ev3, nodename=ev3, release=('v1.0.0',), version=('0.0.0',), machine=ev3 # Stubber: 1.3.2 - updated from typing import Any class Response: """""" def close(self, *argv) -> Any: pass content = None def json(self, *argv) -> Any: ...
10.173077
86
0.544423
73
529
3.945205
0.561644
0.145833
0.027778
0.104167
0
0
0
0
0
0
0
0.042781
0.293006
529
51
87
10.372549
0.727273
0.281664
0
0.391304
0
0
0
0
0
0
0
0
0
1
0.391304
false
0.391304
0.043478
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
af223ccce469776fa1f5601a07f0ad6ba1f7c3bd
72
py
Python
datautil/__init__.py
yobo000/preprocess
2fb5422d4310709b2a3ea02abfe064a8e93915c7
[ "MIT" ]
null
null
null
datautil/__init__.py
yobo000/preprocess
2fb5422d4310709b2a3ea02abfe064a8e93915c7
[ "MIT" ]
null
null
null
datautil/__init__.py
yobo000/preprocess
2fb5422d4310709b2a3ea02abfe064a8e93915c7
[ "MIT" ]
null
null
null
from .dataset import CategoriesDataset __all__ = ['CategoriesDataset']
18
38
0.805556
6
72
9
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.111111
72
3
39
24
0.84375
0
0
0
0
0
0.236111
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
af244f737efca0da1bf4a913e0c98b5912caf75e
376
py
Python
setup.py
e2crawfo/reverse_curric
0b7ec119c1032deaac4ef6e0d64c29bfd14ee7f9
[ "MIT" ]
null
null
null
setup.py
e2crawfo/reverse_curric
0b7ec119c1032deaac4ef6e0d64c29bfd14ee7f9
[ "MIT" ]
null
null
null
setup.py
e2crawfo/reverse_curric
0b7ec119c1032deaac4ef6e0d64c29bfd14ee7f9
[ "MIT" ]
null
null
null
try: import setuptools from setuptools import setup except ImportError: from ez_setup import use_setuptools setuptools = use_setuptools() from setuptools import find_packages, setup # noqa: F811 setup( name='reverse_curric', author="Eric Crawford", author_email="eric.crawford@mail.mcgill....
22.117647
57
0.718085
46
376
5.717391
0.565217
0.106464
0.18251
0.228137
0
0
0
0
0
0
0
0.016393
0.18883
376
16
58
23.5
0.845902
0.026596
0
0
0
0
0.159341
0.076923
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
af4410a3e307a68ec0546753138e4f8a28fa07e1
58
py
Python
orangeshare/temp_dir.py
krzemienski/Orange-Share
26a1cb55c3d147bc16807bbf1faa73350f72be22
[ "MIT" ]
18
2021-07-31T18:10:25.000Z
2022-03-14T01:38:54.000Z
orangeshare/temp_dir.py
krzemienski/Orange-Share
26a1cb55c3d147bc16807bbf1faa73350f72be22
[ "MIT" ]
14
2021-08-06T19:10:01.000Z
2021-12-20T10:21:50.000Z
orangeshare/temp_dir.py
krzemienski/Orange-Share
26a1cb55c3d147bc16807bbf1faa73350f72be22
[ "MIT" ]
2
2021-11-13T15:53:20.000Z
2022-01-23T12:25:32.000Z
import tempfile temp_dir = tempfile.TemporaryDirectory()
14.5
40
0.827586
6
58
7.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.103448
58
3
41
19.333333
0.903846
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
af4a40408bf7fac41cde068c937ee1e98ba190c3
271
py
Python
src/edamame/utils.py
tokibito/django-edamame
5d2bea6b9f804963678e8492a1d9a9e3e1dd3c48
[ "MIT" ]
4
2015-05-18T13:49:05.000Z
2015-05-18T14:45:27.000Z
src/edamame/utils.py
tokibito/django-edamame
5d2bea6b9f804963678e8492a1d9a9e3e1dd3c48
[ "MIT" ]
null
null
null
src/edamame/utils.py
tokibito/django-edamame
5d2bea6b9f804963678e8492a1d9a9e3e1dd3c48
[ "MIT" ]
null
null
null
def to_method(view, **base_kwargs): """Convert view function to instance method """ def _view(self, request, *args, **kwargs): _kwargs = base_kwargs.copy() _kwargs.update(kwargs) return view(request, *args, **_kwargs) return _view
30.111111
47
0.630996
32
271
5.09375
0.46875
0.122699
0.208589
0
0
0
0
0
0
0
0
0
0.239852
271
8
48
33.875
0.791262
0.147601
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
af4a913d24dbf3ecabc3272e9b6b40c09b337fb3
6,286
py
Python
web/app/core/migrations/0001_initial.py
n1kko777/moneycontrol-app-api
8db7a999747c3eaed7157abc836af603a5638c0f
[ "MIT" ]
null
null
null
web/app/core/migrations/0001_initial.py
n1kko777/moneycontrol-app-api
8db7a999747c3eaed7157abc836af603a5638c0f
[ "MIT" ]
1
2020-08-13T19:19:58.000Z
2020-08-13T19:19:58.000Z
web/app/core/migrations/0001_initial.py
n1kko777/moneycontrol-app-api
8db7a999747c3eaed7157abc836af603a5638c0f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-07-04 04:56 import core.models from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Accoun...
53.726496
159
0.596882
646
6,286
5.620743
0.148607
0.083723
0.101349
0.114569
0.754338
0.745525
0.676122
0.665932
0.665932
0.665932
0
0.011815
0.259465
6,286
116
160
54.189655
0.768206
0.007318
0
0.605505
1
0
0.116223
0.003366
0
0
0
0
0
1
0
false
0
0.036697
0
0.073395
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
af5ab2039e24ea7e0c140b5068821d9fdf48a7a9
117
py
Python
AtCoder/ABC 207/B - Hydrate.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
AtCoder/ABC 207/B - Hydrate.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
AtCoder/ABC 207/B - Hydrate.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
import math a,b,c,d = list(map(int,input().split())) if b >= c*d: print(-1) else: print(math.ceil(a/(c*d-b)))
19.5
40
0.564103
25
117
2.64
0.64
0.090909
0.090909
0
0
0
0
0
0
0
0
0.010204
0.162393
117
6
41
19.5
0.663265
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
af64d69ba546bf4d50ed1ed5b0fd7ed8d7cd589a
2,333
py
Python
yawhois/parser/base_verisign.py
huyphan/pyyawhois
77fb2f73a9c67989f1d41d98f37037406a69d136
[ "MIT" ]
null
null
null
yawhois/parser/base_verisign.py
huyphan/pyyawhois
77fb2f73a9c67989f1d41d98f37037406a69d136
[ "MIT" ]
null
null
null
yawhois/parser/base_verisign.py
huyphan/pyyawhois
77fb2f73a9c67989f1d41d98f37037406a69d136
[ "MIT" ]
null
null
null
from dateutil import parser as time_parser from .base_scannable import ScannableParserBase from ..scanner.verisign import VerisignScanner from ..utils import array_wrapper from ..record import Nameserver, Registrar class VerisignParserBase(ScannableParserBase): _scanner = VerisignScanner @property def di...
29.531646
152
0.644235
278
2,333
5.309353
0.291367
0.081301
0.047425
0.060976
0.26355
0.176829
0.176829
0.109756
0
0
0
0.000579
0.259751
2,333
78
153
29.910256
0.854082
0.051007
0
0.216667
0
0
0.12076
0
0
0
0
0
0
1
0.233333
false
0
0.083333
0.133333
0.616667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
af90acbde551dec6bcfce0d8f06042c9b25b22fc
172
py
Python
homeassistant/components/eq3btsmart/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/eq3btsmart/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
24,710
2016-04-13T08:27:26.000Z
2020-03-02T12:59:13.000Z
homeassistant/components/eq3btsmart/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Constants for EQ3 Bluetooth Smart Radiator Valves.""" PRESET_PERMANENT_HOLD = "permanent_hold" PRESET_NO_HOLD = "no_hold" PRESET_OPEN = "open" PRESET_CLOSED = "closed"
24.571429
56
0.773256
23
172
5.434783
0.565217
0.208
0
0
0
0
0
0
0
0
0
0.006579
0.116279
172
6
57
28.666667
0.815789
0.290698
0
0
0
0
0.267241
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
afa0fefced719f5572a78498e6c6b076f952c986
24,763
py
Python
ode_explorer/stepfunctions/templates.py
nicholasjng/ode-explorer
0bcb5d4834f6001b2a3e54bd5e000e86bbedf221
[ "MIT" ]
3
2021-11-11T02:14:18.000Z
2022-03-14T11:18:59.000Z
ode_explorer/stepfunctions/templates.py
njunge94/ode-explorer
0bcb5d4834f6001b2a3e54bd5e000e86bbedf221
[ "MIT" ]
null
null
null
ode_explorer/stepfunctions/templates.py
njunge94/ode-explorer
0bcb5d4834f6001b2a3e54bd5e000e86bbedf221
[ "MIT" ]
null
null
null
import logging import jax.numpy as jnp from jax import lax from ode_explorer.models import BaseModel, ODEModel from ode_explorer.types import State # from scipy.optimize import root logger = logging.getLogger(__name__) __all__ = ["SingleStepMethod", "MultiStepMethod", "ExplicitRungeKuttaMetho...
37.69102
106
0.58022
3,035
24,763
4.637562
0.124217
0.017052
0.010231
0.020462
0.736767
0.717584
0.703162
0.679076
0.658259
0.653712
0
0.003587
0.346969
24,763
656
107
37.748476
0.866799
0.499657
0
0.61674
0
0
0.073315
0.008835
0
0
0
0.001524
0
1
0.101322
false
0.004405
0.022026
0
0.202643
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bb6953ebc3438cb200de43a9d727c0a737ae9a94
419
py
Python
app/users/api/serializers.py
Valaraucoo/raven
0157e193baf569be9479a78838dc26d77a11a99d
[ "BSD-3-Clause" ]
3
2020-12-27T21:52:52.000Z
2021-08-23T10:26:10.000Z
app/users/api/serializers.py
Valaraucoo/raven
0157e193baf569be9479a78838dc26d77a11a99d
[ "BSD-3-Clause" ]
12
2020-12-22T22:36:28.000Z
2021-01-18T13:39:34.000Z
app/users/api/serializers.py
Valaraucoo/raven
0157e193baf569be9479a78838dc26d77a11a99d
[ "BSD-3-Clause" ]
2
2020-12-27T21:52:39.000Z
2021-11-18T08:08:25.000Z
from rest_framework import serializers from users import models class StudentSerializer(serializers.ModelSerializer): class Meta: model = models.Student fields = ('first_name', 'pk', 'last_name', 'email', 'is_online',) class TeacherSerializer(serializers.ModelSerializer): class Meta: ...
26.1875
73
0.687351
45
419
6.244444
0.511111
0.185053
0.220641
0.24911
0.597865
0.597865
0.270463
0.270463
0.270463
0
0
0
0.193317
419
15
74
27.933333
0.831361
0
0
0.4
0
0
0.167064
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bb9705acdd48297e1651ad32ab7459e0cb9c2c37
959
py
Python
src/greenery/migrations/0001_initial.py
troublsum03/RP_CapStone1
b8d911c4cb531041330f4f5a99d7795b47bf4e4d
[ "bzip2-1.0.6" ]
null
null
null
src/greenery/migrations/0001_initial.py
troublsum03/RP_CapStone1
b8d911c4cb531041330f4f5a99d7795b47bf4e4d
[ "bzip2-1.0.6" ]
null
null
null
src/greenery/migrations/0001_initial.py
troublsum03/RP_CapStone1
b8d911c4cb531041330f4f5a99d7795b47bf4e4d
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-31 22:31 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Greenery', fields=[ ('id', models.AutoField...
33.068966
114
0.573514
96
959
5.614583
0.572917
0.166976
0.200371
0.267161
0.300557
0
0
0
0
0
0
0.058565
0.2878
959
28
115
34.25
0.7306
0.046924
0
0
1
0
0.08114
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.238095
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bbd9ec3e98518dc1aaa16c300d8c0e4fa06e019b
155
py
Python
CommonTools/PileupAlgos/python/PUPuppi_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
CommonTools/PileupAlgos/python/PUPuppi_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
CommonTools/PileupAlgos/python/PUPuppi_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms from CommonTools.PileupAlgos.Puppi_cff import * pupuppi = puppi.clone() pupuppi.invertPuppi = True
19.375
47
0.741935
18
155
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.187097
155
7
48
22.142857
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bbe45f12023a1d76c55c545aa0d12bbf3048bf36
339
py
Python
AnuOyeboade/phase1/BASIC/DAY1/Q9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
AnuOyeboade/phase1/BASIC/DAY1/Q9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
AnuOyeboade/phase1/BASIC/DAY1/Q9.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
""" Write a Python program to display the examination schedule. (extract the date from exam_st_date). exam_st_date = (11, 12, 2014) Sample Output : The examination will start from : 11 / 12 / 2014 """ exam_st_date = (11, 12, 2014) print("The examination will start from:",'{}/{}/{}'.format(exam_st_date[0],exam_st_date[1...
48.428571
108
0.719764
57
339
4.070175
0.45614
0.155172
0.258621
0.103448
0.387931
0.155172
0
0
0
0
0
0.091525
0.129794
339
7
108
48.428571
0.694915
0.566372
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a53c39b66f8ddd80317b3b771cf20fda2bb3dca0
3,202
py
Python
qda_modelos/chlorophylla.py
ept-certi/qda_modelos
6ac77b00474940676686965394b4ed2cca8531f0
[ "BSD-3-Clause" ]
8
2020-06-16T19:18:55.000Z
2021-12-28T15:42:26.000Z
qda_modelos/chlorophylla.py
ept-certi/qda_modelos
6ac77b00474940676686965394b4ed2cca8531f0
[ "BSD-3-Clause" ]
1
2021-03-26T14:25:24.000Z
2021-03-26T14:25:24.000Z
qda_modelos/chlorophylla.py
ept-certi/qda_modelos
6ac77b00474940676686965394b4ed2cca8531f0
[ "BSD-3-Clause" ]
5
2020-06-16T19:25:43.000Z
2021-07-17T09:07:30.000Z
# ################################################################################################## # Copyright (c) 2020 - Fundação CERTI # All rights reserved. # ################################################################################################## import numpy numpy.seterr(divide="ignore", invalid="ign...
30.495238
100
0.712055
300
3,202
7.1
0.243333
0.187324
0.187324
0.195305
0.376056
0.311737
0.05446
0.05446
0
0
0
0.087477
0.164585
3,202
104
101
30.788462
0.708785
0.017489
0
0.161765
0
0
0.004077
0
0
0
0
0
0
1
0.147059
false
0
0.014706
0.147059
0.308824
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
1
0
0
0
3
a547846f657683065374b9b58b62d4e831ef3f95
183
py
Python
example/simple/hello.py
marrow/script
1729884df208040c28058f6088b9a5cd16208871
[ "MIT" ]
null
null
null
example/simple/hello.py
marrow/script
1729884df208040c28058f6088b9a5cd16208871
[ "MIT" ]
null
null
null
example/simple/hello.py
marrow/script
1729884df208040c28058f6088b9a5cd16208871
[ "MIT" ]
null
null
null
# encoding: utf-8 from __future__ import print_function def hello(): print("Hello world!") if __name__ == '__main__': from marrow.script import execute execute(hello)
15.25
37
0.699454
23
183
5
0.73913
0
0
0
0
0
0
0
0
0
0
0.006803
0.196721
183
11
38
16.636364
0.77551
0.081967
0
0
0
0
0.120482
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a5578f094b1c4652200d6b37b22f46e12c5ed2c6
334
py
Python
demo-algorithm/strings/string_test.py
code4everything/py-demo
142378382216cd41dc43c765993f4715fdc8726d
[ "MIT" ]
1
2019-05-18T07:58:08.000Z
2019-05-18T07:58:08.000Z
demo-algorithm/strings/string_test.py
code4everything/py_demo
142378382216cd41dc43c765993f4715fdc8726d
[ "MIT" ]
3
2021-06-08T20:42:33.000Z
2022-03-12T00:07:44.000Z
demo-algorithm/strings/string_test.py
code4everything/py_demo
142378382216cd41dc43c765993f4715fdc8726d
[ "MIT" ]
null
null
null
# coding:utf-8 import unittest from strings.solution import Solution class TestString(unittest.TestCase): s = Solution() def test_compress(self): self.s.compress(["a", "b", "b", "b", "b", "b", "b", "b", "b", "b", "b", "b", "b"]) def test_find_anagrams(self): self.s.findAnagrams("cbaeba...
20.875
90
0.592814
46
334
4.23913
0.5
0.112821
0.153846
0.184615
0.061538
0.061538
0.061538
0.061538
0.061538
0.061538
0
0.003731
0.197605
334
15
91
22.266667
0.723881
0.035928
0
0
0
0
0.08125
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a571a660b30417866e56bdf52cc89c6cbe3368a5
22
py
Python
__init__.py
vladislavbailovic/dove
d46baeb0dde83cb49fdd2bfbeec19ca35ec28fa4
[ "MIT" ]
23
2018-08-20T14:40:48.000Z
2019-11-02T10:04:27.000Z
__init__.py
vladislavbailovic/dove
d46baeb0dde83cb49fdd2bfbeec19ca35ec28fa4
[ "MIT" ]
1
2018-09-09T06:17:16.000Z
2018-09-09T06:17:16.000Z
__init__.py
vishalkuo/dove
4cb4df4e4a5bb5154e43c3a3beb2b335a6cfab1a
[ "MIT" ]
null
null
null
name = "droplet_dove"
11
21
0.727273
3
22
5
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.789474
0
0
0
0
0
0.545455
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a577aa72872855a32746e308120a52b1189d5f23
175
py
Python
flask_simple_captcha/config.py
vfabi/flask-simple-captcha
b1f7e2d062116337e73a5a4f216cc5ae920e8ac9
[ "MIT" ]
22
2015-01-18T21:22:53.000Z
2018-01-07T06:15:06.000Z
flask_simple_captcha/config.py
vfabi/flask-simple-captcha
b1f7e2d062116337e73a5a4f216cc5ae920e8ac9
[ "MIT" ]
12
2015-01-21T11:38:09.000Z
2022-01-17T13:29:22.000Z
flask_simple_captcha/config.py
vfabi/flask-simple-captcha
b1f7e2d062116337e73a5a4f216cc5ae920e8ac9
[ "MIT" ]
8
2020-05-09T22:28:43.000Z
2021-12-29T19:36:26.000Z
config = { 'SECRET_CAPTCHA_KEY': 'CHANGEME - 40 or 50 character long key here', 'METHOD': 'pbkdf2:sha256:100', 'CAPTCHA_LENGTH': 5, 'CAPTCHA_DIGITS': False }
21.875
72
0.645714
22
175
4.954545
0.863636
0
0
0
0
0
0
0
0
0
0
0.086957
0.211429
175
7
73
25
0.702899
0
0
0
0
0
0.643678
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a586c9585ae71001c2456a4cd772976ea1d7981e
148
py
Python
src/bxcommon/network/network_direction.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/network/network_direction.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/network/network_direction.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
from enum import Enum class NetworkDirection(Enum): INBOUND = 1 OUTBOUND = 2 def __str__(self) -> str: return str(self.name)
14.8
29
0.635135
19
148
4.736842
0.736842
0.155556
0
0
0
0
0
0
0
0
0
0.018692
0.277027
148
9
30
16.444444
0.82243
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
a59263624f2cea208eed61dcdfbd112a34f8beba
814
py
Python
app/model/forms/ride.py
nataliafonseca/flask-systrans
9af6372361dbe46bc12bd39cc679f10f328cbf7b
[ "MIT" ]
1
2022-03-30T04:24:20.000Z
2022-03-30T04:24:20.000Z
app/model/forms/ride.py
nataliafonseca/flask-systrans
9af6372361dbe46bc12bd39cc679f10f328cbf7b
[ "MIT" ]
null
null
null
app/model/forms/ride.py
nataliafonseca/flask-systrans
9af6372361dbe46bc12bd39cc679f10f328cbf7b
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, DateField, FloatField, TimeField from wtforms.validators import DataRequired, Length class RideForm(FlaskForm): vehicle_plate = StringField( 'vehicle_plate', validators=[DataRequired('Campo obrigatório')] ) passenger_cpf = StringFiel...
32.56
76
0.637592
71
814
7.253521
0.464789
0.213592
0.262136
0.368932
0
0
0
0
0
0
0
0.00995
0.259214
814
24
77
33.916667
0.844113
0
0
0
0
0
0.190418
0
0
0
0
0
0
1
0
false
0.045455
0.136364
0
0.409091
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a5aaa92325873f56ba218d9cd3dffb23a03f37b9
1,466
py
Python
test/Crawler/Fs/Render/NukeRenderCrawlerTest.py
paulondc/chilopoda
046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4
[ "MIT" ]
2
2019-09-24T18:56:27.000Z
2021-02-07T04:58:49.000Z
test/Crawler/Fs/Render/NukeRenderCrawlerTest.py
paulondc/kombi
046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4
[ "MIT" ]
20
2019-02-16T04:21:13.000Z
2019-03-09T21:21:21.000Z
test/Crawler/Fs/Render/NukeRenderCrawlerTest.py
paulondc/kombi
046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4
[ "MIT" ]
3
2019-11-15T05:16:32.000Z
2021-09-28T21:28:29.000Z
import os import unittest from ....BaseTestCase import BaseTestCase from kombi.Crawler import Crawler from kombi.Crawler.PathHolder import PathHolder from kombi.Crawler.Fs.Render import NukeRenderCrawler class NukeRenderCrawlerTest(BaseTestCase): """Test NukeRenderCrawler crawler.""" __exrFile = os.path.join(...
37.589744
116
0.690996
151
1,466
6.582781
0.377483
0.150905
0.221328
0.251509
0.10664
0.10664
0.10664
0.10664
0
0
0
0.009967
0.178718
1,466
38
117
38.578947
0.815615
0.088677
0
0.08
0
0
0.138629
0.038162
0
0
0
0
0.44
1
0.08
false
0
0.24
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
3c162c1b89cbabb27a7014033d3bf376b0953d0a
5,935
py
Python
tests/test_s3/test_s3_replication.py
gtourkas/moto
307104417b579d23d02f670ff55217a2d4a16bee
[ "Apache-2.0" ]
5,460
2015-01-01T01:11:17.000Z
2022-03-31T23:45:38.000Z
tests/test_s3/test_s3_replication.py
gtourkas/moto
307104417b579d23d02f670ff55217a2d4a16bee
[ "Apache-2.0" ]
4,475
2015-01-05T19:37:30.000Z
2022-03-31T13:55:12.000Z
tests/test_s3/test_s3_replication.py
gtourkas/moto
307104417b579d23d02f670ff55217a2d4a16bee
[ "Apache-2.0" ]
1,831
2015-01-14T00:00:44.000Z
2022-03-31T20:30:04.000Z
import boto3 import pytest import sure # noqa # pylint: disable=unused-import from botocore.exceptions import ClientError from moto import mock_s3 from uuid import uuid4 DEFAULT_REGION_NAME = "us-east-1" @mock_s3 def test_get_bucket_replication_for_unexisting_bucket(): bucket_name = str(uuid4()) s3 = boto3...
33.531073
89
0.635889
641
5,935
5.670827
0.168487
0.082531
0.088033
0.087758
0.787895
0.735351
0.716094
0.676754
0.676754
0.665199
0
0.014298
0.234035
5,935
176
90
33.721591
0.785306
0.015164
0
0.619048
0
0
0.184932
0.024829
0
0
0
0
0
1
0.047619
false
0
0.040816
0
0.088435
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3c3ed874a62dd850f4f9f1e30e91b37c4a88981b
155
py
Python
django_efilling/__init__.py
realnoobs/django-efilling
c105671d122d2f9b35320f12d9bb616f23ccd735
[ "MIT" ]
1
2021-09-15T17:12:13.000Z
2021-09-15T17:12:13.000Z
django_efilling/__init__.py
realnoobs/django-efilling
c105671d122d2f9b35320f12d9bb616f23ccd735
[ "MIT" ]
null
null
null
django_efilling/__init__.py
realnoobs/django-efilling
c105671d122d2f9b35320f12d9bb616f23ccd735
[ "MIT" ]
1
2021-09-12T14:08:05.000Z
2021-09-12T14:08:05.000Z
from .version import get_version VERSION = (0, 0, 1, "alpha", 1) default_app_config = "django_efilling.apps.AppConfig" __version__ = get_version(VERSION)
25.833333
53
0.767742
22
155
5
0.636364
0.181818
0.309091
0
0
0
0
0
0
0
0
0.029197
0.116129
155
6
54
25.833333
0.773723
0
0
0
0
0
0.224359
0.192308
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3c92a0c3b86f3f229b6714903193fc04b39b2207
6,249
py
Python
src/alias_free_torch/filter.py
junjun3518/alias-free-torch
670843075b687d9e676394975d533c7aeb9f5f5e
[ "Apache-2.0" ]
39
2021-08-18T00:01:53.000Z
2022-01-04T22:32:43.000Z
src/alias_free_torch/filter.py
junjun3518/alias-free-torch
670843075b687d9e676394975d533c7aeb9f5f5e
[ "Apache-2.0" ]
null
null
null
src/alias_free_torch/filter.py
junjun3518/alias-free-torch
670843075b687d9e676394975d533c7aeb9f5f5e
[ "Apache-2.0" ]
3
2021-08-25T10:35:36.000Z
2022-01-04T22:32:48.000Z
import torch import torch.nn as nn import torch.nn.functional as F import math if 'sinc' in dir(torch): sinc = torch.sinc else: # This code is adopted from adefossez's julius.core.sinc # https://adefossez.github.io/julius/julius/core.html def sinc(x: torch.Tensor): """ Implementation of...
38.103659
86
0.525844
811
6,249
3.945746
0.202219
0.05
0.075
0.05
0.775313
0.752813
0.725
0.71
0.616563
0.570313
0
0.040517
0.356217
6,249
163
87
38.337423
0.754909
0.179229
0
0.674603
0
0
0.037453
0
0
0
0
0
0
1
0.039683
false
0.015873
0.031746
0
0.111111
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3c9f7b8297d6619074e88d69d8de3ddad024684d
317
py
Python
model/toy_predict.py
Drdestiny/DeeperForensicsChallengeSubmissionExample
b1a52232e9dd2d3b689edda56e50bb19a497d803
[ "MIT" ]
6
2020-09-07T14:53:06.000Z
2020-09-28T08:38:14.000Z
model/toy_predict.py
Drdestiny/DeeperForensicsChallengeSubmissionExample
b1a52232e9dd2d3b689edda56e50bb19a497d803
[ "MIT" ]
2
2020-09-07T14:55:31.000Z
2020-09-24T06:23:55.000Z
model/toy_predict.py
Drdestiny/DeeperForensicsChallengeSubmissionExample
b1a52232e9dd2d3b689edda56e50bb19a497d803
[ "MIT" ]
1
2020-10-26T07:03:06.000Z
2020-10-26T07:03:06.000Z
import sys sys.path.append('..') from eval_kit.detector import DeeperForensicsDetector class ToyPredictor(DeeperForensicsDetector): def __init__(self): super(ToyPredictor, self).__init__() def predict(self, video_frames): # Here, we just simply return possibility of 0.5 return 0.5
24.384615
56
0.712934
38
317
5.684211
0.710526
0.018519
0
0
0
0
0
0
0
0
0
0.015686
0.195584
317
12
57
26.416667
0.831373
0.14511
0
0
0
0
0.007435
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b1b921cd8c3686b64921816829bc68c4631cafb6
4,579
py
Python
task_09.py
aSkryabina/selenium-training
bdb95d840108b4c10b598ad7e9fc8e8478c7834d
[ "Apache-2.0" ]
null
null
null
task_09.py
aSkryabina/selenium-training
bdb95d840108b4c10b598ad7e9fc8e8478c7834d
[ "Apache-2.0" ]
null
null
null
task_09.py
aSkryabina/selenium-training
bdb95d840108b4c10b598ad7e9fc8e8478c7834d
[ "Apache-2.0" ]
null
null
null
import pytest from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC @pytest.fixture def driver(request): wd = webdriver.Chrome() wd.implicitly_wait(1) request.addfinalizer(wd.quit) return wd def test_c...
50.877778
151
0.673509
603
4,579
4.965174
0.233831
0.04342
0.056446
0.054108
0.768203
0.760521
0.725451
0.697729
0.670341
0.670341
0
0.003666
0.225595
4,579
90
152
50.877778
0.840666
0.226469
0
0.57971
0
0
0.227048
0.007578
0
0
0
0
0
1
0.028986
false
0.014493
0.057971
0
0.101449
0.086957
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b1c95eefef6c7775f8e8ef9d2dd784420aee6858
81
py
Python
vif/apps.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
null
null
null
vif/apps.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
7
2020-02-05T20:54:24.000Z
2021-12-13T20:13:20.000Z
vif/apps.py
paleocore/paleocore110
754f3248ab22a2996b43bd224bd4ba15462edf7d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class VifConfig(AppConfig): name = 'vif'
13.5
33
0.728395
10
81
5.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.185185
81
5
34
16.2
0.893939
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b1ce1c6da1c74a9fac0139935c571e2071ff93b3
2,518
py
Python
py3canvas/tests/user_observees.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/user_observees.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/user_observees.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
"""UserObservees API Tests for Version 1.0. This is a testing template for the generated UserObserveesAPI Class. """ import unittest import requests import secrets from py3canvas.apis.user_observees import UserObserveesAPI from py3canvas.apis.user_observees import Pairingcode class TestUserObserveesAPI(unittest.Test...
38.738462
126
0.713264
315
2,518
5.514286
0.228571
0.034542
0.11399
0.101324
0.677029
0.621186
0.51468
0.373633
0.294761
0.294761
0
0.002007
0.208499
2,518
64
127
39.34375
0.869543
0.450755
0
0.3125
1
0
0
0
0
0
0
0
0
1
0.28125
false
0.09375
0.15625
0
0.46875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
b1dcf706069c99211bac14412bbf91bffeb44707
2,992
py
Python
src/util/response_evaluator.py
guillaume-chevalier/ReuBERT
86f115f651e0613047a7e319fdb0a5d9ec6f9292
[ "MIT" ]
48
2019-04-27T01:26:18.000Z
2022-03-21T08:01:06.000Z
src/util/response_evaluator.py
h2k/ReuBERT
86f115f651e0613047a7e319fdb0a5d9ec6f9292
[ "MIT" ]
4
2019-04-27T01:05:31.000Z
2020-03-06T00:25:37.000Z
src/util/response_evaluator.py
h2k/ReuBERT
86f115f651e0613047a7e319fdb0a5d9ec6f9292
[ "MIT" ]
12
2019-04-21T04:53:49.000Z
2020-08-13T08:02:16.000Z
import stringdist import difflib class ResponseEvaluator: def __int__(self): pass def is_response_close_enough_using_leveinstein_with_text_separation(self, response, expected_response): acceptable_levenshtein_threshold = 0.5 if len(response) < len(expected_response): exp...
43.362319
113
0.687834
322
2,992
5.996894
0.158385
0.223718
0.174003
0.051787
0.721906
0.708441
0.708441
0.588296
0.538581
0.396686
0
0.005806
0.251671
2,992
68
114
44
0.856632
0
0
0.517857
0
0
0.000334
0
0
0
0
0
0
1
0.107143
false
0.017857
0.035714
0
0.375
0
0
0
0
null
1
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
3
59066eac800d5f46996c636ef7cbae4facd9ef59
369
py
Python
image_vision/plugins/loaders/image/simple.py
IvanKosik/ImageVision
038b2b3948a16adc4c2abb3bc8c1c32f62aa4319
[ "BSD-3-Clause" ]
null
null
null
image_vision/plugins/loaders/image/simple.py
IvanKosik/ImageVision
038b2b3948a16adc4c2abb3bc8c1c32f62aa4319
[ "BSD-3-Clause" ]
null
null
null
image_vision/plugins/loaders/image/simple.py
IvanKosik/ImageVision
038b2b3948a16adc4c2abb3bc8c1c32f62aa4319
[ "BSD-3-Clause" ]
null
null
null
from .base import ImageFileLoaderPlugin from extensions.loaders.image import SimpleImageFileLoader from plugins.loaders.registry import FileLoaderRegistryPlugin class SimpleImageFileLoaderPlugin(ImageFileLoaderPlugin): def __init__(self, loaders_registry_plugin: FileLoaderRegistryPlugin): super().__init__...
41
74
0.856369
32
369
9.5
0.5625
0.148026
0.138158
0
0
0
0
0
0
0
0
0
0.092141
369
8
75
46.125
0.907463
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5923a4e70f69e4820fd0332d1bbb82509c5d65bc
39
py
Python
src/systeminfo/__init__.py
SBean92/systeminfo
ac7bc619fd78d5a55165ff95da23f2e01c8fc4ed
[ "MIT" ]
null
null
null
src/systeminfo/__init__.py
SBean92/systeminfo
ac7bc619fd78d5a55165ff95da23f2e01c8fc4ed
[ "MIT" ]
null
null
null
src/systeminfo/__init__.py
SBean92/systeminfo
ac7bc619fd78d5a55165ff95da23f2e01c8fc4ed
[ "MIT" ]
null
null
null
''' Basic Info ''' __version__ = '0.1'
7.8
19
0.564103
5
39
3.6
1
0
0
0
0
0
0
0
0
0
0
0.0625
0.179487
39
4
20
9.75
0.5
0.25641
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5938638306e575b7c0172b8ebd789a0c60fe99da
464
py
Python
google_test/ion-flux-relabeling/relabel.py
perlygatekeeper/glowing-robot
7ef5eb089f552a1de309092606c95e805e6723a0
[ "Artistic-2.0" ]
2
2015-06-05T15:40:06.000Z
2020-03-19T17:08:37.000Z
google_test/ion-flux-relabeling/relabel.py
perlygatekeeper/glowing-robot
7ef5eb089f552a1de309092606c95e805e6723a0
[ "Artistic-2.0" ]
null
null
null
google_test/ion-flux-relabeling/relabel.py
perlygatekeeper/glowing-robot
7ef5eb089f552a1de309092606c95e805e6723a0
[ "Artistic-2.0" ]
null
null
null
class Node: def __init__(self,value): self.value = value self.left = None self.right = None self.parent = None class BinaryTree: def __init__(self, root_value) self.root = Node(root_value) # iterable returning nodes starting at root # returning the nodes in a de...
21.090909
61
0.612069
61
464
4.491803
0.557377
0.09854
0.080292
0
0
0
0
0
0
0
0
0
0.3125
464
21
62
22.095238
0.858934
0.241379
0
0.142857
0
0
0
0
0
0
0
0.047619
0
0
null
null
0.142857
0
null
null
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
1
0
0
1
0
0
0
0
0
3
3ca1e55cb06c72ee51202e9c8df7d5fdc9c5bfd7
141
py
Python
auth_backends/apps.py
wwj718/django_cas_server_demo
2a44c930f2bea536f1726ff2351021e355d3d7a1
[ "MIT" ]
null
null
null
auth_backends/apps.py
wwj718/django_cas_server_demo
2a44c930f2bea536f1726ff2351021e355d3d7a1
[ "MIT" ]
null
null
null
auth_backends/apps.py
wwj718/django_cas_server_demo
2a44c930f2bea536f1726ff2351021e355d3d7a1
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class AuthBackendsConfig(AppConfig): name = 'auth_backends'
17.625
39
0.808511
16
141
6.75
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.141844
141
7
40
20.142857
0.892562
0
0
0
0
0
0.092199
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3caa201541e09d6d97931314a18cb320c8181411
199
py
Python
Main.py
yuk27/JenkinsTest
1c9e21b411bf26c13b793243f440c294da4e687d
[ "Apache-2.0" ]
null
null
null
Main.py
yuk27/JenkinsTest
1c9e21b411bf26c13b793243f440c294da4e687d
[ "Apache-2.0" ]
null
null
null
Main.py
yuk27/JenkinsTest
1c9e21b411bf26c13b793243f440c294da4e687d
[ "Apache-2.0" ]
null
null
null
import datetime import time with open("file.txt", 'w') as f: f.write("Today is {0}!".format(datetime.date.today())) f.close() with open("file.txt", 'r') as f: print(f.read()) f.close()
13.266667
58
0.60804
34
199
3.558824
0.588235
0.132231
0.198347
0.247934
0
0
0
0
0
0
0
0.006061
0.170854
199
14
59
14.214286
0.727273
0
0
0.25
0
0
0.158974
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3cd3e3bb88ffe4295575914e3f4f7e8928f5f065
121
py
Python
lambdata_hughjafro/__init__.py
hughjafro/lambdata
9cd3ded0ae5eca8e255210ad1d7c6901a094ceeb
[ "MIT" ]
null
null
null
lambdata_hughjafro/__init__.py
hughjafro/lambdata
9cd3ded0ae5eca8e255210ad1d7c6901a094ceeb
[ "MIT" ]
4
2020-03-24T16:57:15.000Z
2021-06-01T23:27:05.000Z
lambdata_hughjafro/__init__.py
hughjafro/lambdata
9cd3ded0ae5eca8e255210ad1d7c6901a094ceeb
[ "MIT" ]
1
2019-02-14T16:17:27.000Z
2019-02-14T16:17:27.000Z
import numpy as np import pandas as pd import matplotlib.pyplot as plt import DFDisplay VERSION = 0 ONES = np.ones(99)
13.444444
31
0.768595
21
121
4.428571
0.666667
0
0
0
0
0
0
0
0
0
0
0.030303
0.181818
121
8
32
15.125
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3cedba46f6ef77144f2601b2c1d300e40bf3a212
1,136
py
Python
package/cloudshell/email/email_helpers.py
omri-amd/cloudshell-email
080ed90680f8da26e81639ad3a8e9c9624343b4a
[ "Apache-2.0" ]
null
null
null
package/cloudshell/email/email_helpers.py
omri-amd/cloudshell-email
080ed90680f8da26e81639ad3a8e9c9624343b4a
[ "Apache-2.0" ]
null
null
null
package/cloudshell/email/email_helpers.py
omri-amd/cloudshell-email
080ed90680f8da26e81639ad3a8e9c9624343b4a
[ "Apache-2.0" ]
null
null
null
import os from urllib.parse import urljoin from cloudshell.api.cloudshell_api import ResourceInfo def get_resource_attribute_value(resource: ResourceInfo, attribute_name: str) -> str: attribute_name = attribute_name.lower() attribute = next(filter(lambda x: x.Name.lower() == attribute_name ...
37.866667
106
0.725352
150
1,136
5.226667
0.386667
0.09949
0.061224
0
0
0
0
0
0
0
0
0
0.172535
1,136
29
107
39.172414
0.834043
0
0
0
0
0
0.132042
0.072183
0
0
0
0
0
1
0.210526
false
0
0.157895
0.105263
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a700ff37391304379ca7ee2565a7b7a0e422c2c2
8,634
py
Python
runtime/term.py
mamysa/PyPltRedex
d99f809c0519efa0f451f2bc0078a50d98efdf6e
[ "MIT" ]
null
null
null
runtime/term.py
mamysa/PyPltRedex
d99f809c0519efa0f451f2bc0078a50d98efdf6e
[ "MIT" ]
null
null
null
runtime/term.py
mamysa/PyPltRedex
d99f809c0519efa0f451f2bc0078a50d98efdf6e
[ "MIT" ]
null
null
null
import copy class TermKind: Variable = 0 Integer = 1 Float = 2 Sequence = 3 Hole = 4 String = 5 Boolean = 6 class Term: def __init__(self, kind): self.__kind = kind def kind(self): return self.__kind def append(self, term): raise Exception('unsuppo...
25.696429
99
0.597058
1,061
8,634
4.713478
0.120641
0.062987
0.035993
0.023995
0.459708
0.416717
0.340932
0.311938
0.255549
0.246951
0
0.009177
0.293259
8,634
335
100
25.773134
0.81039
0.035441
0
0.418972
0
0
0.01256
0
0
0
0
0
0.063241
1
0.264822
false
0
0.003953
0.13834
0.616601
0.01581
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a70f7ea2700ab31220a0adf5b74e47b892dbb584
174
py
Python
problem0633.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0633.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0633.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #633 Square prime factors II - Project Euler # https://projecteuler.net/problem=633 # # Code by Kevin Marciniak # ###########################
19.333333
46
0.488506
16
174
5.3125
0.9375
0
0
0
0
0
0
0
0
0
0
0.039216
0.12069
174
8
47
21.75
0.51634
0.597701
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a710c3d6ef3d3b43cbc5e5a6f4639d25c3bbf3de
789
py
Python
utils/dto.py
zeciola/password_generator
6b5d3e07cc53599004509425ef6971501a36f4c8
[ "MIT" ]
null
null
null
utils/dto.py
zeciola/password_generator
6b5d3e07cc53599004509425ef6971501a36f4c8
[ "MIT" ]
null
null
null
utils/dto.py
zeciola/password_generator
6b5d3e07cc53599004509425ef6971501a36f4c8
[ "MIT" ]
null
null
null
from database_config import db class DatabaseManager: def add_model(self, model_data): db.session.add(model_data) db.session.commit() def delete_model(self, model_data): db.session.delete(model_data) db.session.commit() def update_model(self): db.session.commit()...
23.909091
62
0.684411
98
789
5.204082
0.336735
0.123529
0.086275
0.141176
0.211765
0.211765
0
0
0
0
0
0
0.21166
789
32
63
24.65625
0.819936
0
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.380952
false
0.190476
0.047619
0.095238
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
a71aba3a81cf7a9fbad62b8952309a19be787521
611
py
Python
dictionary/models/managers/entry.py
ankitgc1/django-sozluk-master
eeebc3eadf932a3f98e826400d5010d2b5b360b7
[ "BSD-3-Clause" ]
248
2019-10-29T20:35:01.000Z
2022-03-25T11:17:35.000Z
dictionary/models/managers/entry.py
ankitgc1/django-sozluk-master
eeebc3eadf932a3f98e826400d5010d2b5b360b7
[ "BSD-3-Clause" ]
27
2019-12-18T21:58:15.000Z
2022-02-28T11:41:25.000Z
dictionary/models/managers/entry.py
ankitgc1/django-sozluk-master
eeebc3eadf932a3f98e826400d5010d2b5b360b7
[ "BSD-3-Clause" ]
74
2019-10-30T14:06:46.000Z
2022-02-28T07:29:05.000Z
from django.db import models from django.db.models import Q class EntryManager(models.Manager): # Includes ONLY the PUBLISHED entries by NON-NOVICE authors def get_queryset(self): return super().get_queryset().exclude(Q(is_draft=True) | Q(author__is_novice=True)) class EntryManagerAll(models.Manager...
29.095238
91
0.746318
81
611
5.518519
0.469136
0.098434
0.14094
0.111857
0.407159
0.407159
0.407159
0.210291
0.210291
0
0
0
0.165303
611
20
92
30.55
0.876471
0.299509
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0.1
0.2
0.2
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
0
1
0
1
1
0
0
3
596222b62a3e10fe7b4192cc42e7b4abfc776f32
617
py
Python
tests/core/eth-module/test_eth_properties.py
nathonNot/web3.py
5cf1fb7b84b590baa9b98a79d04e67b1554349a5
[ "MIT" ]
null
null
null
tests/core/eth-module/test_eth_properties.py
nathonNot/web3.py
5cf1fb7b84b590baa9b98a79d04e67b1554349a5
[ "MIT" ]
null
null
null
tests/core/eth-module/test_eth_properties.py
nathonNot/web3.py
5cf1fb7b84b590baa9b98a79d04e67b1554349a5
[ "MIT" ]
null
null
null
import pytest def test_eth_protocol_version(w3): with pytest.warns(DeprecationWarning): assert w3.eth.protocol_version == '63' def test_eth_protocolVersion(w3): with pytest.warns(DeprecationWarning): assert w3.eth.protocolVersion == '63' def test_eth_chain_id(w3): assert w3.eth.chain_i...
19.903226
46
0.693679
92
617
4.434783
0.228261
0.110294
0.188725
0.176471
0.612745
0.529412
0.480392
0.480392
0.142157
0
0
0.060852
0.200972
617
30
47
20.566667
0.766734
0
0
0.333333
0
0
0.006483
0
0
0
0
0
0.388889
1
0.277778
false
0
0.055556
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
59854ed2bf8050d74ce457b1a5deac085a330126
1,755
py
Python
networks/ranlp/io_rsr_dev.py
nicolay-r/attitudes-extraction-ds
49a82843e6adbca35321aaaa08d05532e953a0fc
[ "MIT" ]
3
2019-11-05T19:42:55.000Z
2021-02-25T12:14:17.000Z
networks/ranlp/io_rsr_dev.py
nicolay-r/attitudes-extraction-ds
49a82843e6adbca35321aaaa08d05532e953a0fc
[ "MIT" ]
1
2021-03-30T07:41:22.000Z
2021-03-30T07:41:22.000Z
networks/ranlp/io_rsr_dev.py
nicolay-r/attitudes-extraction-ds
49a82843e6adbca35321aaaa08d05532e953a0fc
[ "MIT" ]
1
2019-08-18T18:33:11.000Z
2019-08-18T18:33:11.000Z
from os import path, makedirs from os.path import join import io_utils from networks.io import NetworkIO from networks.ranlp.io_dev import RaNLPConfTaskDevIO from networks.ranlp.io_rsr import RaNLPConfTaskRuSentRelIO class RaNLPConfTaskRuSentRelWithDevIO(NetworkIO): __etalon_root = join(io_utils.get_data_root()...
26.590909
85
0.705983
224
1,755
5.075893
0.258929
0.047493
0.039578
0.066843
0.117854
0
0
0
0
0
0
0.001468
0.223932
1,755
65
86
27
0.833333
0
0
0.204082
0
0
0.012536
0.012536
0
0
0
0
0
1
0.244898
false
0
0.122449
0.163265
0.612245
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
59905c20b8a4425af4f114e16915e9842f1c2804
173
py
Python
ads/tests/test_init.py
migueldvb/ads-python
bf0f80f9ad72a3a7b49cfb8d71a699a719be1765
[ "MIT" ]
null
null
null
ads/tests/test_init.py
migueldvb/ads-python
bf0f80f9ad72a3a7b49cfb8d71a699a719be1765
[ "MIT" ]
null
null
null
ads/tests/test_init.py
migueldvb/ads-python
bf0f80f9ad72a3a7b49cfb8d71a699a719be1765
[ "MIT" ]
null
null
null
# coding: utf-8 """ Test ADS queries """ __author__ = "Andy Casey <andy@astrowizici.st>" import unittest import ads def test_api_key(): ads.utils.get_api_settings()
14.416667
47
0.705202
25
173
4.56
0.76
0
0
0
0
0
0
0
0
0
0
0.006897
0.16185
173
12
48
14.416667
0.77931
0.184971
0
0
0
0
0.237037
0.155556
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
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
1
0
1
0
0
3
59928f6ab6d604c60aa76ea8d6f4d7bb46818144
895
py
Python
library/pyjamas/Canvas/ImageData.py
allbuttonspressed/pyjs
c726fdead530eb63ee4763ae15daaa58d84cd58f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
library/pyjamas/Canvas/ImageData.py
allbuttonspressed/pyjs
c726fdead530eb63ee4763ae15daaa58d84cd58f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
library/pyjamas/Canvas/ImageData.py
allbuttonspressed/pyjs
c726fdead530eb63ee4763ae15daaa58d84cd58f
[ "ECL-2.0", "Apache-2.0" ]
1
2019-11-18T14:17:59.000Z
2019-11-18T14:17:59.000Z
# -*- coding: utf-8 -*- """ Created on Mon Dec 6 23:56:31 2010 @author: Alexander Tsepkov """ """ This class wraps around ImageData HTML5 Canvas object and allows easier per-pixel access """ class ImageData: def __init__(self, imagedata): self.width = imagedata.width self.height = imagedata.heig...
22.948718
72
0.593296
120
895
4.391667
0.483333
0.091082
0.079696
0.060721
0.163188
0.163188
0
0
0
0
0
0.034865
0.294972
895
39
73
22.948718
0.800317
0.096089
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.368421
false
0
0
0.157895
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5992e534fd5c641e2875efa7d3fa4829772f64ee
105
py
Python
tensorflow_tutorials/deep_mnist/__init__.py
rxedu/tensorflow-tutorials
2821c24589e4aa7056e50628a33d9e045899aed1
[ "MIT" ]
null
null
null
tensorflow_tutorials/deep_mnist/__init__.py
rxedu/tensorflow-tutorials
2821c24589e4aa7056e50628a33d9e045899aed1
[ "MIT" ]
null
null
null
tensorflow_tutorials/deep_mnist/__init__.py
rxedu/tensorflow-tutorials
2821c24589e4aa7056e50628a33d9e045899aed1
[ "MIT" ]
null
null
null
"""Top level classes for deep_mnist.""" from .deep_mnist import DeepMNIST __all__ = [ 'DeepMNIST' ]
15
39
0.695238
13
105
5.153846
0.769231
0.268657
0
0
0
0
0
0
0
0
0
0
0.180952
105
6
40
17.5
0.77907
0.314286
0
0
0
0
0.136364
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
59962c04cdf9345b8360d696f9599c5d0e450062
104
py
Python
models/database.py
line/ncloud-chatbot-slack
ed5df5b2711df4cfecd0877ba680efc2966b5e2f
[ "CC0-1.0" ]
null
null
null
models/database.py
line/ncloud-chatbot-slack
ed5df5b2711df4cfecd0877ba680efc2966b5e2f
[ "CC0-1.0" ]
null
null
null
models/database.py
line/ncloud-chatbot-slack
ed5df5b2711df4cfecd0877ba680efc2966b5e2f
[ "CC0-1.0" ]
2
2020-05-13T07:40:55.000Z
2020-05-13T08:12:07.000Z
# coding:utf-8 from flask_sqlalchemy import SQLAlchemy # initialize SQLAlchemy database = SQLAlchemy()
17.333333
39
0.807692
12
104
6.916667
0.75
0
0
0
0
0
0
0
0
0
0
0.010989
0.125
104
5
40
20.8
0.901099
0.326923
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5999af94cb0f4d23c8af4e1b4d982ea65c3addfb
3,659
py
Python
dynamic_programming/longest_path_matrix/memoization.py
chrisjdavie/compsci_basics
dab0d377c6cf040ddda2c9c9f8373e996b1a594c
[ "MIT" ]
null
null
null
dynamic_programming/longest_path_matrix/memoization.py
chrisjdavie/compsci_basics
dab0d377c6cf040ddda2c9c9f8373e996b1a594c
[ "MIT" ]
null
null
null
dynamic_programming/longest_path_matrix/memoization.py
chrisjdavie/compsci_basics
dab0d377c6cf040ddda2c9c9f8373e996b1a594c
[ "MIT" ]
null
null
null
from collections import defaultdict import unittest from parameterized import parameterized class Test(unittest.TestCase): @parameterized.expand([ ("given example", [ [ 348, 391 ], [ 618, 193 ] ], 1009 ), ("Singular matrix", [ [ 1 ] ], 1 ), (...
41.11236
1,454
0.522547
550
3,659
3.378182
0.587273
0.076964
0.064047
0.054898
0.131324
0.08127
0.05436
0.05436
0.036598
0
0
0.365515
0.312107
3,659
88
1,455
41.579545
0.372666
0.016945
0
0
0
0
0.034243
0
0
0
0
0
0.014286
1
0.071429
false
0
0.042857
0.014286
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
59d657b3e0ac1f24561e8b703bcf391310df5049
579
py
Python
tests/calculator_test.py
pottsga/python_boilerplate
a811c947f7287a9cf52c3dc28732cd88d59f12e7
[ "MIT" ]
null
null
null
tests/calculator_test.py
pottsga/python_boilerplate
a811c947f7287a9cf52c3dc28732cd88d59f12e7
[ "MIT" ]
null
null
null
tests/calculator_test.py
pottsga/python_boilerplate
a811c947f7287a9cf52c3dc28732cd88d59f12e7
[ "MIT" ]
null
null
null
from src import calculator class TestCalculatorAdd: def test_basic_add(self): result = calculator.add([1, 2]) assert result == 3 def test_add_with_more_numbers(self): result = calculator.add([1, 2, 3, 4, 5, 6]) assert result == 21 def test_add_with_negative_number(self...
26.318182
51
0.595855
80
579
4.15
0.3625
0.195783
0.210843
0.207831
0.28012
0.207831
0
0
0
0
0
0.070048
0.284974
579
21
52
27.571429
0.731884
0
0
0
0
0
0
0
0
0
0
0
0.3125
1
0.25
false
0
0.0625
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
59e3402cb62a89fd67ea5b75a99f2813ab26267a
64
py
Python
variables.py
BernardoAguayoOrtega/CS50-s-Python-2020
66fc60d584220c81b03f4157f2da99a2b2910234
[ "MIT" ]
null
null
null
variables.py
BernardoAguayoOrtega/CS50-s-Python-2020
66fc60d584220c81b03f4157f2da99a2b2910234
[ "MIT" ]
null
null
null
variables.py
BernardoAguayoOrtega/CS50-s-Python-2020
66fc60d584220c81b03f4157f2da99a2b2910234
[ "MIT" ]
null
null
null
a = 28 b = 1.5 c = 'hello' d = True e = None print(a,b,c,d,e)
9.142857
18
0.5
17
64
1.882353
0.705882
0
0
0
0
0
0
0
0
0
0
0.086957
0.28125
64
7
18
9.142857
0.608696
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ab6625fa20c410b086ab9ec19178ad7d2be589ef
309
py
Python
poke_django/trainer/models.py
XrossFox/Poke-Django-Api-Test
2e272b055fbeb633edb64fb2a3d6a720a50045f8
[ "MIT" ]
null
null
null
poke_django/trainer/models.py
XrossFox/Poke-Django-Api-Test
2e272b055fbeb633edb64fb2a3d6a720a50045f8
[ "MIT" ]
null
null
null
poke_django/trainer/models.py
XrossFox/Poke-Django-Api-Test
2e272b055fbeb633edb64fb2a3d6a720a50045f8
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Trainer(models.Model): """ This class represents the Pokemon Trainer itself. """ name = models.CharField(max_length=20, null=False, default="Red") last_name = models.CharField(max_length=100, null=False, default="Oak (lmao)")
30.9
82
0.708738
42
309
5.142857
0.690476
0.092593
0.175926
0.203704
0.259259
0
0
0
0
0
0
0.019455
0.168285
309
9
83
34.333333
0.821012
0.242718
0
0
0
0
0.059633
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
1
0
0
3
abaf719d4a53e5fae89a9e8ad65ed23aaa2d9e62
287
py
Python
examples/slack/chat.py
q0w/snug
a9de335b48d96190a2bfe5e606830c4a60cb5705
[ "MIT" ]
123
2018-01-23T17:29:29.000Z
2022-02-11T06:57:57.000Z
examples/slack/chat.py
q0w/snug
a9de335b48d96190a2bfe5e606830c4a60cb5705
[ "MIT" ]
274
2018-01-25T07:17:55.000Z
2022-01-20T07:37:10.000Z
examples/slack/chat.py
q0w/snug
a9de335b48d96190a2bfe5e606830c4a60cb5705
[ "MIT" ]
5
2017-11-26T21:31:12.000Z
2021-11-28T10:19:57.000Z
"""queries for the 'chat' method family""" import snug from .query import json_post from .types import Message @json_post('chat.postMessage', rtype=Message, key='message') def post_message(channel: str, text: str) -> snug.Query[Message]: return {'channel': channel, 'text': text}
26.090909
65
0.721254
40
287
5.1
0.55
0.078431
0
0
0
0
0
0
0
0
0
0
0.132404
287
10
66
28.7
0.819277
0.125436
0
0
0
0
0.138776
0
0
0
0
0
0
1
0.166667
false
0
0.5
0.166667
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
1
1
0
0
3
abbe61cf33e46b4845376c3c54176187aa16b3f1
691
py
Python
test/test_champion.py
dp0973/static-data
bba6f209bcef9844c57b5aadba49e9e70ae6cfed
[ "MIT" ]
2
2021-07-25T04:01:46.000Z
2021-08-31T19:18:48.000Z
test/test_champion.py
dp0973/static-data
bba6f209bcef9844c57b5aadba49e9e70ae6cfed
[ "MIT" ]
1
2021-08-31T19:47:46.000Z
2021-09-01T06:56:18.000Z
test/test_champion.py
dp0973/static-data
bba6f209bcef9844c57b5aadba49e9e70ae6cfed
[ "MIT" ]
2
2021-07-25T04:01:56.000Z
2021-08-31T19:31:55.000Z
import static_data dd = static_data.ddragon() def test_champion_Annie(): assert dd.getChampion("Annie").image[-9:] == "Annie.png" assert dd.getChampion(1).image == dd.getChampion("Annie").image assert dd.getChampion(1).name == "Annie" assert dd.getChampion("Annie").id == "1" def test_ch...
26.576923
68
0.635311
89
691
4.842697
0.325843
0.331787
0.352668
0.111369
0.259861
0
0
0
0
0
0
0.025408
0.202605
691
26
69
26.576923
0.756806
0.026049
0
0
0
0
0.098214
0
0
0
0
0
0.529412
1
0.176471
false
0
0.058824
0
0.235294
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
abc765e33c911e9e72999bef36e4016181a49d90
350
py
Python
Alura_python3_curso_pt3/teste.py
Lorenzo-Lopes/Python-Estudo
7ee623ce29b6a0e9fac48189fbd9c641be84d418
[ "MIT" ]
null
null
null
Alura_python3_curso_pt3/teste.py
Lorenzo-Lopes/Python-Estudo
7ee623ce29b6a0e9fac48189fbd9c641be84d418
[ "MIT" ]
null
null
null
Alura_python3_curso_pt3/teste.py
Lorenzo-Lopes/Python-Estudo
7ee623ce29b6a0e9fac48189fbd9c641be84d418
[ "MIT" ]
null
null
null
class Data: def __init__(self): self.__dia = 0 self.__mes = 0 self.__ano = 0 def le_data(self): self.dia = int(input('Digite o dia: ')) self.mes = int(input('Digite o mes: ')) self.ano = int(input('Digite o ano: ')) def formatada(self): print(f'{self...
25
50
0.531429
50
350
3.5
0.34
0.12
0.24
0.257143
0
0
0
0
0
0
0
0.012295
0.302857
350
13
51
26.923077
0.704918
0
0
0
0
0
0.211429
0.091429
0
0
0
0
0
1
0.272727
false
0
0
0
0.363636
0.090909
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
abd07e18e38d332cbf9c2e7c2ed94ebd131b7b51
182
py
Python
modulo-dois/Exercicio52.py
Ribinha740/Exercicios-python
c2af02fedd2f72445abedf3598cb07c74fad326f
[ "MIT" ]
null
null
null
modulo-dois/Exercicio52.py
Ribinha740/Exercicios-python
c2af02fedd2f72445abedf3598cb07c74fad326f
[ "MIT" ]
null
null
null
modulo-dois/Exercicio52.py
Ribinha740/Exercicios-python
c2af02fedd2f72445abedf3598cb07c74fad326f
[ "MIT" ]
null
null
null
print('=========DESAFIO52=========') numero = int(input('Digite um número: ')) if numero / 1 and numero / numero: print('Número primo') else: print('Nao é um número primo')
22.75
41
0.593407
24
182
4.5
0.625
0.148148
0
0
0
0
0
0
0
0
0
0.02
0.175824
182
7
42
26
0.7
0
0
0
0
0
0.428571
0.148352
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
abeb52397509ea5346ab2d344f55ce161acd8f25
277
py
Python
Python/Problems/Modifying data/task.py
victoroliveros/Hyperskill
bd0f81d7479fc210e4b3e36e993bf93f1815b239
[ "MIT" ]
4
2020-08-07T06:24:00.000Z
2021-01-23T14:40:35.000Z
Python/Problems/Modifying data/task.py
victoroliveros/Hyperskill
bd0f81d7479fc210e4b3e36e993bf93f1815b239
[ "MIT" ]
null
null
null
Python/Problems/Modifying data/task.py
victoroliveros/Hyperskill
bd0f81d7479fc210e4b3e36e993bf93f1815b239
[ "MIT" ]
1
2020-09-20T11:48:16.000Z
2020-09-20T11:48:16.000Z
print("{1} is a {kind}".format(kind="fruit", "grapefruit")) print('{1} divided by {0} equals {2}'.format(6, 100, 100/6)) print('{} divided by {} equals {:.5f}'.format(100, 6, 100/6)) print('{dividend} / {divisor} = {quotient}'.format(quotient=100/6, divisor=6, dividend=100))
46.166667
92
0.635379
43
277
4.093023
0.44186
0.090909
0.102273
0
0
0
0
0
0
0
0
0.116935
0.104693
277
5
93
55.4
0.592742
0
0
0
0
0
0.449275
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
0
0
0
0
0
1
0
3
abeee92188e0d8b2edd777a02730a687b0d8ae29
261
py
Python
tmp.py
rnestler/card10-nickname
e3009311e318d3855fbff2f400c25d36882fe314
[ "MIT" ]
null
null
null
tmp.py
rnestler/card10-nickname
e3009311e318d3855fbff2f400c25d36882fe314
[ "MIT" ]
null
null
null
tmp.py
rnestler/card10-nickname
e3009311e318d3855fbff2f400c25d36882fe314
[ "MIT" ]
null
null
null
import display with display.open() as disp: disp.clear() disp.rect(0, 0, 160, 80, col=[255,255,255], filled=True) disp.rect(140, 1, 155, 8, filled=True, col=[255, 0, 0]) disp.rect(155, 3, 157, 6, filled=True, col=[255, 0, 0]) disp.update()
29
60
0.605364
47
261
3.361702
0.489362
0.151899
0.164557
0.202532
0.278481
0.278481
0.278481
0
0
0
0
0.2
0.195402
261
8
61
32.625
0.552381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
3
28011860adba31c45cca8db24be06803e037ce33
449
py
Python
pyrobolearn/tools/interfaces/camera/__init__.py
Pandinosaurus/pyrobolearn
9cd7c060723fda7d2779fa255ac998c2c82b8436
[ "Apache-2.0" ]
2
2021-01-21T21:08:30.000Z
2022-03-29T16:45:49.000Z
pyrobolearn/tools/interfaces/camera/__init__.py
Pandinosaurus/pyrobolearn
9cd7c060723fda7d2779fa255ac998c2c82b8436
[ "Apache-2.0" ]
null
null
null
pyrobolearn/tools/interfaces/camera/__init__.py
Pandinosaurus/pyrobolearn
9cd7c060723fda7d2779fa255ac998c2c82b8436
[ "Apache-2.0" ]
1
2020-09-29T21:25:39.000Z
2020-09-29T21:25:39.000Z
# -*- coding: utf-8 -*- # General import from .camera import CameraInterface # # Webcam # # from webcam import WebcamInterface # from . import webcam # # # Asus Xtion # # from asus_xtion import AsusXtionInterface # from . import asus_xtion # # # Kinect # # from kinect import * # from . import kinect # # # FER # # fro...
17.96
45
0.699332
51
449
6.117647
0.352941
0.160256
0
0
0
0
0
0
0
0
0
0.002778
0.198218
449
24
46
18.708333
0.863889
0.797327
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f9ebd9638ab0bba4f287fe6dd1f1efd431f968dc
5,390
py
Python
src/CVC_solver.py
shushu-qin/deeponet
5bbe066279bba055ad80e04c364140363c87634a
[ "Apache-2.0" ]
140
2020-12-14T00:45:25.000Z
2022-03-29T15:28:53.000Z
src/CVC_solver.py
shushu-qin/deeponet
5bbe066279bba055ad80e04c364140363c87634a
[ "Apache-2.0" ]
16
2021-05-01T04:00:39.000Z
2022-03-25T22:01:53.000Z
src/CVC_solver.py
shushu-qin/deeponet
5bbe066279bba055ad80e04c364140363c87634a
[ "Apache-2.0" ]
63
2020-12-13T15:27:12.000Z
2022-03-26T14:09:17.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import matplotlib.pyplot as plt def solve_CVC(xmin, xmax, tmin, tmax, f, g, V, Nx, Nt): """Solve u_t + a(x) * u_x = 0 """ # Case I: Analytical solution for a(x...
28.670213
87
0.448423
1,022
5,390
2.303327
0.104697
0.016992
0.025489
0.033985
0.751487
0.735769
0.704333
0.68989
0.686066
0.669499
0
0.060061
0.329685
5,390
187
88
28.823529
0.591475
0.116698
0
0
0
0
0.028531
0
0
0
0
0
0
1
0.052632
false
0
0.131579
0
0.236842
0.078947
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e61525238b0ce2997b9928481fbfce521f1aec1c
400
py
Python
users/models.py
andrenbrandao/pirauber
d7c5647ec6df698fa3d7397907ff629c74cc76b9
[ "MIT" ]
null
null
null
users/models.py
andrenbrandao/pirauber
d7c5647ec6df698fa3d7397907ff629c74cc76b9
[ "MIT" ]
6
2020-06-05T23:27:38.000Z
2022-02-10T08:14:16.000Z
users/models.py
andrenbrandao/pirauber
d7c5647ec6df698fa3d7397907ff629c74cc76b9
[ "MIT" ]
null
null
null
from django.contrib.auth.models import AbstractUser from django.db import models from django.utils.translation import ugettext_lazy as _ from phonenumber_field.modelfields import PhoneNumberField class CustomUser(AbstractUser): name = models.CharField(_("Name"), blank=True, max_length=255) phone = PhoneNumbe...
28.571429
66
0.77
49
400
6.081633
0.632653
0.100671
0
0
0
0
0
0
0
0
0
0.008746
0.1425
400
13
67
30.769231
0.860058
0
0
0
0
0
0.0225
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
e618f968d1b5ab5da00668d2053c3435b1023389
87
py
Python
.history/ClassFiles/DataTypes/Number_20201230220801.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/DataTypes/Number_20201230220801.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/DataTypes/Number_20201230220801.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
""" Number Data types Integers(int) Floating Point(float) Integer is a w """
10.875
29
0.632184
12
87
4.583333
1
0
0
0
0
0
0
0
0
0
0
0
0.252874
87
7
30
12.428571
0.846154
0.781609
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e63e232343804d0c2ee162d4dae9d1862fc22f3e
198
py
Python
Python Decorators/flask/flask_fib.py
Junth19/Learning-Python
724dbade880acbbde00760a38f145a416e744923
[ "MIT" ]
null
null
null
Python Decorators/flask/flask_fib.py
Junth19/Learning-Python
724dbade880acbbde00760a38f145a416e744923
[ "MIT" ]
null
null
null
Python Decorators/flask/flask_fib.py
Junth19/Learning-Python
724dbade880acbbde00760a38f145a416e744923
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route('/') def print_fib(): return '<h1>Fibonacci</h1>' @app.route('/fib') def list_fib(): return '<b>1, 1, 2, 3, 5, 8, 13, 21 ...</b>'
16.5
48
0.580808
33
198
3.30303
0.636364
0.146789
0
0
0
0
0
0
0
0
0
0.074074
0.181818
198
11
49
18
0.598765
0
0
0
0
0.125
0.292929
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e647b60f82192288560f3596c867edb4e7dea817
184
py
Python
src/attack_surface_pypy/core/exceptions/base.py
ccrvs/attack_surface_pypy
f2bc9998cf42f4764f1c495e6243d970e01bd176
[ "CC0-1.0" ]
null
null
null
src/attack_surface_pypy/core/exceptions/base.py
ccrvs/attack_surface_pypy
f2bc9998cf42f4764f1c495e6243d970e01bd176
[ "CC0-1.0" ]
null
null
null
src/attack_surface_pypy/core/exceptions/base.py
ccrvs/attack_surface_pypy
f2bc9998cf42f4764f1c495e6243d970e01bd176
[ "CC0-1.0" ]
null
null
null
class BaseError(Exception): ... class InternalError(BaseError): _default = "An internal error has occurred." def __init__(self): super().__init__(self._default)
18.4
48
0.673913
19
184
6
0.736842
0.140351
0
0
0
0
0
0
0
0
0
0
0.206522
184
9
49
20.444444
0.780822
0
0
0
0
0
0.168478
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e649f6682e61a7492c0bbc975f5af9cba2f565e8
12,608
py
Python
nova/tests/functional/api_sample_tests/test_evacuate.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/functional/api_sample_tests/test_evacuate.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/functional/api_sample_tests/test_evacuate.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2012 Nebula, Inc.' nl|'\n' comment|'# Copyright 2013 IBM Corp.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' commen...
13.484492
88
0.622303
1,896
12,608
4.02057
0.113924
0.156631
0.03214
0.069264
0.753378
0.703922
0.636232
0.62259
0.575889
0.571035
0
0.003423
0.096447
12,608
934
89
13.498929
0.66573
0
0
0.91863
0
0
0.41672
0.090498
0
0
0
0
0.006424
0
null
null
0.017131
0.004283
null
null
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e64c33cca667238d197cc3a385263a9e5e308eaf
613
py
Python
zounds/datasets/__init__.py
FelixAbrahamsson/zounds
197c358acf3bea4252cfc2561da70cbe799e2c75
[ "MIT" ]
20
2016-06-04T05:44:28.000Z
2021-05-26T02:26:08.000Z
zounds/datasets/__init__.py
FelixAbrahamsson/zounds
197c358acf3bea4252cfc2561da70cbe799e2c75
[ "MIT" ]
53
2016-08-07T15:11:38.000Z
2019-05-21T15:56:40.000Z
zounds/datasets/__init__.py
FelixAbrahamsson/zounds
197c358acf3bea4252cfc2561da70cbe799e2c75
[ "MIT" ]
7
2016-08-14T15:50:33.000Z
2020-12-22T13:34:23.000Z
""" The datasets module provides access to some common sources of audio on the internet. In general, a dataset instance is an iterable of :class:`zounds.soundfile.AudioMetaData` instances that can be passed to the root node of an audio processing graph. """ from .musicnet import MusicNet from .phatdrumloops import Ph...
34.055556
75
0.825449
81
613
6.246914
0.617284
0
0
0
0
0
0
0
0
0
0
0
0.133768
613
17
76
36.058824
0.952919
0.40783
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e66037d90ad05d604a9bfb6cca6034831ef1eb3e
705
py
Python
test/dialect/mysql/test_deprecations.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
null
null
null
test/dialect/mysql/test_deprecations.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
null
null
null
test/dialect/mysql/test_deprecations.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
1
2022-02-28T20:16:29.000Z
2022-02-28T20:16:29.000Z
from sqlalchemy import select from sqlalchemy import table from sqlalchemy.dialects.mysql import base as mysql from sqlalchemy.testing import AssertsCompiledSQL from sqlalchemy.testing import expect_deprecated from sqlalchemy.testing import fixtures class CompileTest(AssertsCompiledSQL, fixtures.TestBase): __dia...
32.045455
78
0.716312
84
705
5.880952
0.488095
0.17004
0.12753
0.163968
0
0
0
0
0
0
0
0
0.212766
705
21
79
33.571429
0.89009
0
0
0
0
0
0.197163
0
0
0
0
0
0.1875
1
0.0625
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e6684e3294b6f04e6f55bd5a3fe3421105cfe6a9
937
py
Python
TestTriangle.py
rpatel1291/SSW567-Assignment5
c733fcb9fb2fd93e2581f7a3a7cf27cddc161e8e
[ "MIT" ]
null
null
null
TestTriangle.py
rpatel1291/SSW567-Assignment5
c733fcb9fb2fd93e2581f7a3a7cf27cddc161e8e
[ "MIT" ]
null
null
null
TestTriangle.py
rpatel1291/SSW567-Assignment5
c733fcb9fb2fd93e2581f7a3a7cf27cddc161e8e
[ "MIT" ]
null
null
null
import unittest import pytest from Triangle import classify_triangle, valid_input class TestTriangle(unittest.TestCase): def testValidInputs(self): self.assertEqual(valid_input(-1, 2, 3), False, "-1,2,3 are invalid inputs for a triangle") def testValidInputs2(self): self.assertEqual(valid_i...
30.225806
102
0.6873
134
937
4.686567
0.298507
0.076433
0.181529
0.11465
0.460191
0.324841
0.210191
0.210191
0.10828
0.10828
0
0.053876
0.187834
937
30
103
31.233333
0.771353
0
0
0
0
0
0.242263
0
0
0
0
0
0.333333
1
0.333333
false
0
0.166667
0
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0516fb521532717bcca80157c02dd4dceb7728da
185
py
Python
BOJ/12000~12999/12727.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/12000~12999/12727.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/12000~12999/12727.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
for t in range(int(input())): n=int(input()) k = 3 + 5**(1/2) s = str(int(k**n)) if len(s) <3: s = "0"*(3-len(s)) +s print("Case #{}: {}".format(t+1,s[-3:]))
26.428571
44
0.410811
36
185
2.111111
0.555556
0.210526
0
0
0
0
0
0
0
0
0
0.066667
0.27027
185
7
44
26.428571
0.496296
0
0
0
0
0
0.069892
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
053b84f1d1e92060b29c7c712750608a42f09726
5,113
py
Python
bert-distillation-multimetric/sigopt_clients/sigopt_experiment_client.py
meghanaravikumar/sigopt-examples
e2d938928384f340d77efb52b226f678b6008fb9
[ "MIT" ]
213
2015-02-24T22:26:46.000Z
2021-11-29T14:17:52.000Z
bert-distillation-multimetric/sigopt_clients/sigopt_experiment_client.py
meghanaravikumar/sigopt-examples
e2d938928384f340d77efb52b226f678b6008fb9
[ "MIT" ]
73
2015-11-12T03:11:55.000Z
2022-03-11T23:43:18.000Z
bert-distillation-multimetric/sigopt_clients/sigopt_experiment_client.py
meghanaravikumar/sigopt-examples
e2d938928384f340d77efb52b226f678b6008fb9
[ "MIT" ]
66
2016-01-01T18:25:11.000Z
2020-10-27T03:07:07.000Z
import logging class SigOptExperiment: def __init__(self, connection): self.connection = connection def initialize_random_experiment(self, experiment_name, project_name, parameters_list, metrics_list, observation_budget, metadata, parallel_bandwidth=1): r...
55.576087
157
0.664189
479
5,113
6.866388
0.152401
0.080268
0.144421
0.180906
0.554272
0.508969
0.493159
0.456978
0.401034
0.276376
0
0.000526
0.255819
5,113
91
158
56.186813
0.863863
0.01858
0
0.101449
0
0
0.027119
0
0
0
0
0
0
1
0.246377
false
0
0.014493
0.130435
0.492754
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
0578a95842103d434093bc55cf75cec380264dbb
8,837
py
Python
emlp/reps/linear_operators.py
marcelroed/equivariant-MLP
453d948055936aab3e718c36863c2db318c038ce
[ "MIT" ]
null
null
null
emlp/reps/linear_operators.py
marcelroed/equivariant-MLP
453d948055936aab3e718c36863c2db318c038ce
[ "MIT" ]
null
null
null
emlp/reps/linear_operators.py
marcelroed/equivariant-MLP
453d948055936aab3e718c36863c2db318c038ce
[ "MIT" ]
null
null
null
from .linear_operator_base import LinearOperator, Lazy import jax.numpy as jnp import numpy as np from jax import jit import jax from functools import reduce import torch product = lambda c: reduce(lambda a, b: a * b, c) def lazify(x): if isinstance(x, LinearOperator): return x elif isinstance(x, (jn...
29.456667
106
0.593527
1,364
8,837
3.709677
0.11217
0.035573
0.028261
0.027668
0.62668
0.597628
0.535178
0.466798
0.443478
0.395652
0
0.014717
0.261854
8,837
299
107
29.555184
0.761
0.092226
0
0.6
0
0
0.010895
0
0
0
0
0
0.004878
1
0.273171
false
0
0.034146
0.156098
0.590244
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0586ea5e8979633cea4a72473b22e4347a016e01
288
py
Python
0/ksnctf/bin-24/solve.py
wani-hackase/wani-writeup
dd4ad0607d2f2193ad94c1ce65359294aa591681
[ "MIT" ]
25
2019-03-06T11:55:56.000Z
2021-05-21T22:07:14.000Z
0/ksnctf/bin-24/solve.py
wani-hackase/wani-writeup
dd4ad0607d2f2193ad94c1ce65359294aa591681
[ "MIT" ]
1
2020-06-25T07:27:15.000Z
2020-06-25T07:27:15.000Z
0/ksnctf/bin-24/solve.py
wani-hackase/wani-writeup
dd4ad0607d2f2193ad94c1ce65359294aa591681
[ "MIT" ]
1
2019-02-14T00:42:28.000Z
2019-02-14T00:42:28.000Z
list1 = [1, 7, 16, 11, 14, 19, 20, 18] list2 = [85, 111, 117, 43, 104, 127, 117, 117, 33, 110, 99, 43, 72, 95, 85, 85, 94, 66, 120, 98, 79, 117, 68, 83, 64, 94, 39, 65, 73, 32, 65, 72, 51] ans = '' for i in range(len(list2)): ans += chr(list2[i] ^ list1[i % len(list1)]) print(ans)
32
149
0.538194
60
288
2.583333
0.7
0
0
0
0
0
0
0
0
0
0
0.427928
0.229167
288
8
150
36
0.27027
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
058fc51caafea700fae92ac7b534241d5a11c1aa
446
py
Python
data_to_model/generators/base_generator.py
dmitriiweb/data2model
42331176792f6fe606f45f54c8ed55afb376b193
[ "MIT" ]
null
null
null
data_to_model/generators/base_generator.py
dmitriiweb/data2model
42331176792f6fe606f45f54c8ed55afb376b193
[ "MIT" ]
null
null
null
data_to_model/generators/base_generator.py
dmitriiweb/data2model
42331176792f6fe606f45f54c8ed55afb376b193
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import List from ..models.data_class_model import DataClassModel from .types import ClassData class BaseGenerator(ABC): disclaimer = "# This file was generated by data_to_model." def __init__(self, classes: List[ClassData]): self.classes = classes ...
24.777778
62
0.726457
53
446
5.924528
0.528302
0.070064
0
0
0
0
0
0
0
0
0
0
0.199552
446
17
63
26.235294
0.879552
0
0
0
0
0
0.096413
0
0
0
0
0
0
1
0.166667
false
0.083333
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
1
1
0
1
0
0
3
0594f9b53d0cadeea82b905c893b9e348ffbb8da
304
py
Python
__init__.py
emberderek/szakal-skill
758d6bf88886d9d944e89a5addd39bca2c9fc027
[ "Apache-2.0" ]
null
null
null
__init__.py
emberderek/szakal-skill
758d6bf88886d9d944e89a5addd39bca2c9fc027
[ "Apache-2.0" ]
null
null
null
__init__.py
emberderek/szakal-skill
758d6bf88886d9d944e89a5addd39bca2c9fc027
[ "Apache-2.0" ]
null
null
null
from mycroft import MycroftSkill, intent_file_handler class Szakal(MycroftSkill): def __init__(self): MycroftSkill.__init__(self) @intent_file_handler('szakal.intent') def handle_szakal(self, message): self.speak_dialog('szakal') def create_skill(): return Szakal()
19
53
0.713816
35
304
5.771429
0.542857
0.09901
0.168317
0
0
0
0
0
0
0
0
0
0.1875
304
15
54
20.266667
0.817814
0
0
0
0
0
0.062706
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
553780ecdf648455b90ea1df0aeb911b350da319
396
py
Python
lteration.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
lteration.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
lteration.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
#lteration d={'a':1,'b':2,'c':3} for key in d: print key for value in d.itervalues(): print value for k,v in d.items(): print k,v for ch in 'ABCDEF': print ch from collections import Iterable print isinstance('abc',Iterable) print isinstance([1,2,3],Iterable) print isinstance(123,Iterable) for i,value in enumera...
18.857143
40
0.669192
78
396
3.397436
0.423077
0.033962
0.260377
0
0
0
0
0
0
0
0
0.044118
0.141414
396
21
41
18.857143
0.735294
0.022727
0
0
0
0
0.03876
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.529412
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
1
0
0
0
0
0
0
1
0
3
55461a2a84ffab872111bfd05ea68925ec87077b
166
py
Python
nvim/nostow/test/test_colorscheme/example.py
viccuad/dotfiles
fbd13a108c8201310af323ccda74aac23ec7a03a
[ "MIT" ]
26
2015-02-27T09:27:40.000Z
2020-03-27T23:18:20.000Z
vim/nostow/test/test_colorscheme/example.py
uGeek/dotfiles-1
fbd13a108c8201310af323ccda74aac23ec7a03a
[ "MIT" ]
2
2015-02-19T22:21:42.000Z
2017-01-28T17:30:33.000Z
vim/nostow/test/test_colorscheme/example.py
viccuad/dotfiles
fbd13a108c8201310af323ccda74aac23ec7a03a
[ "MIT" ]
11
2015-04-11T15:02:48.000Z
2019-08-18T00:51:39.000Z
#!/usr/bin/python def Hello(where): if where == "World": print("The world is too big.") else: print "Hello " + where + "!" Hello("people")
15.090909
38
0.53012
21
166
4.190476
0.714286
0.227273
0
0
0
0
0
0
0
0
0
0
0.289157
166
10
39
16.6
0.745763
0.096386
0
0
0
0
0.263514
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
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
1
0
0
0
0
0
0
0
0
3
554f58959ac14c40d43e9e2b176f1926d9ba2d19
58,639
py
Python
ansys/mapdl/core/_commands/apdl/array_parm.py
da1910/pymapdl
305b70b30e61a78011e974ff4cb409ee21f89e13
[ "MIT" ]
null
null
null
ansys/mapdl/core/_commands/apdl/array_parm.py
da1910/pymapdl
305b70b30e61a78011e974ff4cb409ee21f89e13
[ "MIT" ]
null
null
null
ansys/mapdl/core/_commands/apdl/array_parm.py
da1910/pymapdl
305b70b30e61a78011e974ff4cb409ee21f89e13
[ "MIT" ]
null
null
null
def mfouri(self, oper="", coeff="", mode="", isym="", theta="", curve="", **kwargs): """Calculates the coefficients for, or evaluates, a Fourier series. APDL Command: *MFOURI Parameters ---------- oper Type of Fourier operation: Calculate Fourier coefficients COEFF from...
46.501983
881
0.657702
8,625
58,639
4.471072
0.114087
0.012836
0.006846
0.009854
0.486191
0.44872
0.403936
0.36701
0.344034
0.318518
0
0.01942
0.278177
58,639
1,260
882
46.538889
0.891629
0.8714
0
0.323944
0
0.028169
0.243087
0.215433
0
0
0
0
0
1
0.267606
false
0
0
0
0.535211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
555b2d1139940d0fa4295997d1d7cff97c898734
174
py
Python
alfredworkflow/alfred/util.py
ktal90/SmartThings-Alfred
b30bbd27982533daf0eb556e48ce673ec11ebdf1
[ "MIT" ]
2
2019-10-23T13:28:54.000Z
2022-01-26T02:37:25.000Z
alfred/util.py
schwark/alfred-alarmcom
958cc21a8c8b4d32b5a522729755fb674786a937
[ "MIT" ]
null
null
null
alfred/util.py
schwark/alfred-alarmcom
958cc21a8c8b4d32b5a522729755fb674786a937
[ "MIT" ]
2
2019-11-12T06:46:10.000Z
2022-01-12T19:57:42.000Z
# -*- coding: utf-8 -*- import hashlib, random import core hashDigest = lambda s: hashlib.md5(s).hexdigest() uid = lambda: hashDigest('{}'.format(random.getrandbits(25)))
19.333333
61
0.689655
22
174
5.454545
0.727273
0
0
0
0
0
0
0
0
0
0
0.026316
0.126437
174
9
61
19.333333
0.763158
0.12069
0
0
0
0
0.013158
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
555eedda66e8bcf8bf745bdf033b4fd9a06baaab
852
py
Python
bds/06.set.py
QMHTMY/DataStructurePy
aede275f2f932dedce2a9dc0e7b36e4d31827c69
[ "Apache-2.0" ]
null
null
null
bds/06.set.py
QMHTMY/DataStructurePy
aede275f2f932dedce2a9dc0e7b36e4d31827c69
[ "Apache-2.0" ]
null
null
null
bds/06.set.py
QMHTMY/DataStructurePy
aede275f2f932dedce2a9dc0e7b36e4d31827c69
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # python实现集合 # Date: 2020-07-13 class Set: """列表实现集合""" def __init__(self): self.items = [] def add(self, item): if item not in self.items: self.items.append(item) def clear(self): self.items = [] def discard(self, item): if item in ...
20.285714
59
0.521127
114
852
3.789474
0.359649
0.25
0.12037
0.166667
0.25
0.203704
0.203704
0.203704
0.203704
0.203704
0
0.032258
0.34507
852
41
60
20.780488
0.741935
0.061033
0
0.275862
0
0
0.068182
0
0
0
0
0
0
1
0.206897
false
0
0
0
0.275862
0.034483
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
55623289151cfd9b89856ccdc17e5f014691b2eb
181
py
Python
app.py
cn505240/UsersAPI
df287fec72c529cf7d0047a713878d8a6b396783
[ "MIT" ]
null
null
null
app.py
cn505240/UsersAPI
df287fec72c529cf7d0047a713878d8a6b396783
[ "MIT" ]
null
null
null
app.py
cn505240/UsersAPI
df287fec72c529cf7d0047a713878d8a6b396783
[ "MIT" ]
null
null
null
from users_api.app import create_app from users_api.config import Config app = create_app(config_object=Config) if __name__ == '__main__': app.run(host='0.0.0.0', debug=True)
22.625
39
0.751381
31
181
3.967742
0.516129
0.04878
0.195122
0
0
0
0
0
0
0
0
0.025316
0.127072
181
8
39
22.625
0.753165
0
0
0
0
0
0.082418
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5567d6a073504d7809152bac4b38c0c6280f485b
266
py
Python
stRT/tdr/models/mesh/__init__.py
Yao-14/stAnalysis
d08483ce581f5b03cfcad8be500aaa64b0293f74
[ "BSD-3-Clause" ]
null
null
null
stRT/tdr/models/mesh/__init__.py
Yao-14/stAnalysis
d08483ce581f5b03cfcad8be500aaa64b0293f74
[ "BSD-3-Clause" ]
null
null
null
stRT/tdr/models/mesh/__init__.py
Yao-14/stAnalysis
d08483ce581f5b03cfcad8be500aaa64b0293f74
[ "BSD-3-Clause" ]
null
null
null
from .mesh_model import construct_cells, construct_surface from .mesh_utils import fix_mesh, uniform_larger_pc, uniform_mesh from .reconstruction_methods import ( alpha_shape_mesh, ball_pivoting_mesh, marching_cube_mesh, poisson_mesh, pv_mesh, )
26.6
65
0.796992
36
266
5.416667
0.611111
0.082051
0
0
0
0
0
0
0
0
0
0
0.154135
266
9
66
29.555556
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
55716ac9bf127c1c732567758f0a7dbf30f4357d
1,438
py
Python
symbolic/predicate.py
cuhk-mobitec/S3KVetter
9ae79a242afbe6edae27c17065a88feca2896cf6
[ "Apache-2.0" ]
null
null
null
symbolic/predicate.py
cuhk-mobitec/S3KVetter
9ae79a242afbe6edae27c17065a88feca2896cf6
[ "Apache-2.0" ]
null
null
null
symbolic/predicate.py
cuhk-mobitec/S3KVetter
9ae79a242afbe6edae27c17065a88feca2896cf6
[ "Apache-2.0" ]
null
null
null
# Copyright - see copyright.txt import codecs import collections class Predicate: """Predicate is one specific ``if'' encountered during the program execution. """ def __init__(self, st, result): # symtype means the symbolic type (object). It stores an symbolic object. To get the path condition, you can print ...
27.132075
135
0.700278
202
1,438
4.856436
0.410891
0.078491
0.086646
0.06422
0.059123
0
0
0
0
0
0
0.005093
0.180807
1,438
53
136
27.132075
0.827674
0.248957
0
0.135135
0
0
0.015829
0
0
0
0
0
0.027027
1
0.243243
false
0
0.054054
0.135135
0.621622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
55863c41ae23733a5ec60b0ecf4a4786121d2540
11,823
py
Python
lib/python2.7/site-packages/tests/test_encode.py
DPNT-Sourcecode/CHK-uimw01
87144ae10115d7a8df565f5109666f00bc001ce4
[ "Apache-2.0" ]
3
2017-10-09T03:13:23.000Z
2020-07-16T01:20:16.000Z
lib/python2.7/site-packages/tests/test_encode.py
DPNT-Sourcecode/CHK-uimw01
87144ae10115d7a8df565f5109666f00bc001ce4
[ "Apache-2.0" ]
2
2016-06-15T18:46:47.000Z
2016-06-16T00:40:18.000Z
lib/python2.7/site-packages/tests/test_encode.py
DPNT-Sourcecode/CHK-uimw01
87144ae10115d7a8df565f5109666f00bc001ce4
[ "Apache-2.0" ]
2
2017-04-22T22:23:09.000Z
2021-06-09T03:03:52.000Z
# -*- coding: utf-8 -*- from unittest import TestCase import mimetypes import poster.encode import StringIO import sys def unix2dos(s): return s.replace("\n", "\r\n") class TestEncode_String(TestCase): def test_simple(self): expected = unix2dos("""--XXXXXXXXX Content-Disposition: form-data; name="foo"...
31.697051
95
0.631227
1,331
11,823
5.503381
0.108941
0.085188
0.063072
0.074539
0.781297
0.742526
0.706758
0.69529
0.688464
0.643549
0
0.010724
0.219149
11,823
372
96
31.782258
0.782604
0.003637
0
0.618557
0
0
0.262631
0.006029
0
0
0
0
0.14433
1
0.113402
false
0
0.037801
0.003436
0.182131
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
558a1ae22123e4812a3260c1a8be869c77d0b23b
422
py
Python
intro_to_wc_modeling/cell_modeling/simulation/multi_algorithm/util.py
KarrLab/python_package_tutorial
dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6
[ "MIT" ]
15
2018-01-06T11:33:01.000Z
2022-03-01T15:18:40.000Z
intro_to_wc_modeling/cell_modeling/simulation/multi_algorithm/util.py
KarrLab/python_package_tutorial
dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6
[ "MIT" ]
2
2018-01-30T23:21:12.000Z
2018-03-23T20:22:06.000Z
intro_to_wc_modeling/cell_modeling/simulation/multi_algorithm/util.py
KarrLab/python_package_tutorial
dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6
[ "MIT" ]
8
2018-01-08T21:40:19.000Z
2022-01-04T14:48:02.000Z
''' Utility functions @author Jonathan Karr, karr@mssm.edu @date 3/22/2016 ''' import numpy as np N_AVOGADRO = 6.022e23 # Avogadro constant def nanminimum(x, y): return np.where(np.logical_or(np.isnan(y), np.logical_and(x <= y, np.logical_not(np.isnan(x)))), x, y) def nanmaximum(x, y): retu...
22.210526
107
0.654028
74
422
3.635135
0.432432
0.04461
0.148699
0.074349
0.520446
0.520446
0.520446
0.520446
0.520446
0.520446
0
0.037356
0.175355
422
18
108
23.444444
0.735632
0.21327
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
558ae3efd3e0e17f67c15acccbefce5539a60825
45,528
py
Python
apps/plea/tests/test_email_template_output.py
uk-gov-mirror/ministryofjustice.manchester_traffic_offences_pleas
4c625b13fa2826bdde083a0270dcea1791f6dc18
[ "MIT" ]
3
2015-12-22T16:37:14.000Z
2018-01-22T18:44:38.000Z
apps/plea/tests/test_email_template_output.py
uk-gov-mirror/ministryofjustice.manchester_traffic_offences_pleas
4c625b13fa2826bdde083a0270dcea1791f6dc18
[ "MIT" ]
145
2015-03-04T11:17:50.000Z
2022-03-21T12:10:13.000Z
apps/plea/tests/test_email_template_output.py
uk-gov-mirror/ministryofjustice.manchester_traffic_offences_pleas
4c625b13fa2826bdde083a0270dcea1791f6dc18
[ "MIT" ]
3
2015-12-29T14:59:12.000Z
2021-04-11T06:24:11.000Z
# coding=utf-8 import re from datetime import datetime, timedelta from dateutil.relativedelta import relativedelta from mock import Mock, patch from django.core import mail from django.test import TestCase from django.utils import translation from ..email import send_plea_email from ..models import Court, Case from ....
44.766962
115
0.594513
4,791
45,528
5.36986
0.086621
0.095347
0.102149
0.122012
0.781436
0.756093
0.729895
0.69911
0.664088
0.644226
0
0.023763
0.291974
45,528
1,016
116
44.811024
0.77391
0.003053
0
0.534527
0
0
0.205662
0.033667
0
0
0
0
0.162404
1
0.071611
false
0
0.012788
0
0.09335
0.001279
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
55919ad1f501679d906603ecef5efe7dc9aa4dd2
441
py
Python
ztlearn/ml/regression/__init__.py
jefkine/zeta-learn
04388f90093b52f5df2f334c898f3a1224f5a13f
[ "MIT" ]
30
2018-03-12T19:16:27.000Z
2021-12-16T05:32:38.000Z
ztlearn/ml/regression/__init__.py
jefkine/zeta-learn
04388f90093b52f5df2f334c898f3a1224f5a13f
[ "MIT" ]
4
2018-06-13T03:47:15.000Z
2018-11-05T21:33:34.000Z
ztlearn/ml/regression/__init__.py
jefkine/zeta-learn
04388f90093b52f5df2f334c898f3a1224f5a13f
[ "MIT" ]
4
2018-04-30T07:42:47.000Z
2022-01-31T11:35:53.000Z
# -*- coding: utf-8 -*- # import file(s) from . import base from . import linear from . import logistic from . import polynomial from . import elasticnet # base model from .base import Regression # linear model from .linear import LinearRegression # logistic model from .logistic import LogisticRegression # polynom...
18.375
44
0.780045
52
441
6.615385
0.384615
0.145349
0
0
0
0
0
0
0
0
0
0.002695
0.15873
441
23
45
19.173913
0.924528
0.249433
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
55a115c35ec700ccfb9933ec28a282cc33784fe7
570
py
Python
tests/test_file_loader.py
thomas-hermann/pya
7dccda7e40c39c09f53ef97eed4b10790faff0ad
[ "MIT" ]
23
2019-10-18T07:48:44.000Z
2022-01-24T06:51:17.000Z
tests/test_file_loader.py
dreinsch/pya
7dccda7e40c39c09f53ef97eed4b10790faff0ad
[ "MIT" ]
35
2019-09-16T18:56:23.000Z
2021-04-03T09:53:09.000Z
tests/test_file_loader.py
dreinsch/pya
7dccda7e40c39c09f53ef97eed4b10790faff0ad
[ "MIT" ]
3
2020-07-07T19:27:19.000Z
2021-06-20T15:17:53.000Z
from pya import Asig from unittest import TestCase class TestLoadFile(TestCase): """Test loading audio file.""" def setUp(self): pass def tearDown(self): pass def test_wav(self): asig = Asig("./examples/samples/stereoTest.wav") self.assertEqual(2, asig.channels) ...
24.782609
66
0.642105
70
570
5.157143
0.485714
0.058172
0.099723
0.166205
0.224377
0
0
0
0
0
0
0.041284
0.235088
570
23
67
24.782609
0.786697
0.042105
0
0.125
0
0
0.190388
0.190388
0
0
0
0
0.1875
1
0.3125
false
0.125
0.125
0
0.5
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
1
0
0
0
0
0
3
55a20bea5362d1174c185ea12a5c9e6c5202d0be
854
py
Python
platheum/views.py
salimsuleiman/plt
b0a4fdbb5e765518e44440f12ef306a7aa60c382
[ "MIT" ]
2
2022-03-25T09:22:54.000Z
2022-03-30T19:57:42.000Z
platheum/views.py
salimsuleiman/plt
b0a4fdbb5e765518e44440f12ef306a7aa60c382
[ "MIT" ]
null
null
null
platheum/views.py
salimsuleiman/plt
b0a4fdbb5e765518e44440f12ef306a7aa60c382
[ "MIT" ]
1
2022-03-30T19:58:54.000Z
2022-03-30T19:58:54.000Z
from django.shortcuts import get_object_or_404, render from numpy import block from rest_framework.response import Response from rest_framework.decorators import api_view from users.models import User from django.forms import ModelForm from rest_framework import status from blocks.models import Block class UserForm(Mo...
25.878788
92
0.722482
111
854
5.405405
0.594595
0.04
0.085
0
0
0
0
0
0
0
0
0.008547
0.177986
854
33
93
25.878788
0.846154
0.032787
0
0
0
0
0.12
0
0
0
0
0
0
1
0.047619
false
0.095238
0.380952
0
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
55a7fc83632300e093168e649ee2928013c94c77
144
py
Python
president_candidates_recognition/src/db_manager/db_config_mock.py
lsawaniewski/dw-olsztyn-project
ce29221c81fa1208d7d0c1bab0608aefb28bdf68
[ "MIT" ]
null
null
null
president_candidates_recognition/src/db_manager/db_config_mock.py
lsawaniewski/dw-olsztyn-project
ce29221c81fa1208d7d0c1bab0608aefb28bdf68
[ "MIT" ]
null
null
null
president_candidates_recognition/src/db_manager/db_config_mock.py
lsawaniewski/dw-olsztyn-project
ce29221c81fa1208d7d0c1bab0608aefb28bdf68
[ "MIT" ]
null
null
null
db_config = { 'user': 'user', 'password': 'password', 'host': 'host.com', 'port': 12345, 'database': 'db-name', "autocommit": True }
18
25
0.5625
16
144
5
0.75
0
0
0
0
0
0
0
0
0
0
0.042735
0.1875
144
8
26
18
0.641026
0
0
0
0
0
0.448276
0
0
0
0
0
0
1
0
false
0.125
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
55c07534fae4cb808b76b3c0204b6c11ad4f8dcd
289
py
Python
tests/echo/test_echo_service.py
mdrohmann/txtemplates
b346b15d3eb465ec828a31fea0a00df3ae582942
[ "BSD-3-Clause" ]
null
null
null
tests/echo/test_echo_service.py
mdrohmann/txtemplates
b346b15d3eb465ec828a31fea0a00df3ae582942
[ "BSD-3-Clause" ]
null
null
null
tests/echo/test_echo_service.py
mdrohmann/txtemplates
b346b15d3eb465ec828a31fea0a00df3ae582942
[ "BSD-3-Clause" ]
null
null
null
from ..conftest import WorkingServiceBase, FailingServiceBase, DummyServiceBase class TestService(WorkingServiceBase): pass class TestServiceErrors(FailingServiceBase): pass class TestDummyService(DummyServiceBase): pass # vim: set ft=python sw=4 et spell spelllang=en:
18.0625
79
0.788927
28
289
8.142857
0.75
0.078947
0
0
0
0
0
0
0
0
0
0.004049
0.145329
289
15
80
19.266667
0.919028
0.15917
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
true
0.428571
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
e950311742a1cd5e10a8e6a121066ccd60f0fd80
50
py
Python
locking/__init__.py
joshmaker/django-admin-locking
56d130af7b3471b857546f58f6eea9684f909abf
[ "BSD-2-Clause" ]
26
2015-03-10T20:59:19.000Z
2021-05-25T07:38:52.000Z
locking/__init__.py
joshmaker/django-admin-locking
56d130af7b3471b857546f58f6eea9684f909abf
[ "BSD-2-Clause" ]
6
2016-05-22T22:15:04.000Z
2019-12-11T19:56:28.000Z
locking/__init__.py
joshmaker/django-admin-locking
56d130af7b3471b857546f58f6eea9684f909abf
[ "BSD-2-Clause" ]
19
2016-01-19T12:38:22.000Z
2022-01-31T16:07:00.000Z
default_app_config = 'locking.apps.LockingConfig'
25
49
0.84
6
50
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.06
50
1
50
50
0.851064
0
0
0
0
0
0.52
0.52
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e98bfba7bd19220e49c95672db2024072278f987
852
py
Python
users/managers.py
zware/pythondotorg
00537089b1cfe29de2e71b4e1685baa14aa4475b
[ "Apache-2.0" ]
1
2021-02-12T10:23:37.000Z
2021-02-12T10:23:37.000Z
users/managers.py
zware/pythondotorg
00537089b1cfe29de2e71b4e1685baa14aa4475b
[ "Apache-2.0" ]
null
null
null
users/managers.py
zware/pythondotorg
00537089b1cfe29de2e71b4e1685baa14aa4475b
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.models import UserManager as BaseUserManager from django.db.models.query import QuerySet class UserQuerySet(QuerySet): def public_email(self): return self.filter(email_privacy__exact=self.model.SEARCH_PUBLIC) def searchable(self): return self.filter( publ...
25.818182
73
0.707746
102
852
5.696078
0.303922
0.120482
0.144578
0.10327
0.528399
0.471601
0.127367
0
0
0
0
0
0.203052
852
32
74
26.625
0.85567
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.095238
0.333333
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e9938bf0f5c9072d454069fca0568c650dcd55ed
640
py
Python
install/res/meta-ellida/recipes-ellida/ellida-daemon/ellida-daemon-0.1/ellidadaemon/providers/provider.py
VoltBit/ellida
110593556d795eb4feef976d30576fa394415506
[ "MIT" ]
null
null
null
install/res/meta-ellida/recipes-ellida/ellida-daemon/ellida-daemon-0.1/ellidadaemon/providers/provider.py
VoltBit/ellida
110593556d795eb4feef976d30576fa394415506
[ "MIT" ]
5
2017-04-16T13:29:12.000Z
2020-10-12T14:03:56.000Z
install/res/meta-ellida/recipes-ellida/ellida-daemon/ellida-daemon-0.1/ellidadaemon/providers/provider.py
VoltBit/ellida
110593556d795eb4feef976d30576fa394415506
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod import sys sys.path.append('/usr/bin/python3.5/site-packages/') sys.path.append('/usr/bin/python2.7/site-packages/') class Provider(object): __metaclass__ = ABCMeta DEFAULT_LOG_NAMEFILE = "/tmp/ellida.log" def __init__(self): pass @abstractmethod ...
21.333333
52
0.690625
69
640
6.188406
0.550725
0.159251
0.266979
0.288056
0.299766
0
0
0
0
0
0
0.00789
0.207813
640
29
53
22.068966
0.83432
0
0
0.380952
0
0
0.126761
0.103286
0
0
0
0
0
1
0.238095
false
0.047619
0.095238
0
0.47619
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e9a3a1e83e22aac41733f4018bf43566873f5261
610
py
Python
mySite/myApp/models.py
Vexxen/webDevProject
144f9a0896018898df39aef85a5aa60bbd252a3b
[ "MIT" ]
null
null
null
mySite/myApp/models.py
Vexxen/webDevProject
144f9a0896018898df39aef85a5aa60bbd252a3b
[ "MIT" ]
null
null
null
mySite/myApp/models.py
Vexxen/webDevProject
144f9a0896018898df39aef85a5aa60bbd252a3b
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Suggestion_Model(models.Model): suggestion = models.CharField(max_length=240) #author = models.CharField(max_length=240, default="sean") def __str__(self): return self.suggestion # class Comment_Model(models.Model): # comment = mode...
35.882353
79
0.731148
75
610
5.706667
0.466667
0.10514
0.126168
0.168224
0.324766
0.182243
0.182243
0
0
0
0
0.017613
0.162295
610
17
80
35.882353
0.819961
0.678689
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
e9b0b4db6bdaeaba4a2a335a3b7f7b488103e7d5
187
py
Python
build/launch.py
suurjaak/h3sed
e86e83d91bea0332493bf3b123c8e6071a27bd4b
[ "MIT" ]
null
null
null
build/launch.py
suurjaak/h3sed
e86e83d91bea0332493bf3b123c8e6071a27bd4b
[ "MIT" ]
null
null
null
build/launch.py
suurjaak/h3sed
e86e83d91bea0332493bf3b123c8e6071a27bd4b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Entry point for pyinstaller. @created 12.04.2020 @modified 13.04.2020 """ from h3sed import main if __name__ == '__main__': main.run()
15.583333
29
0.582888
24
187
4.208333
0.833333
0.118812
0
0
0
0
0
0
0
0
0
0.129496
0.256684
187
11
30
17
0.597122
0.534759
0
0
0
0
0.117647
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e9c0c977a2b6a9d8f4222120709aae7e31a4028e
204
py
Python
test/skip-all/test_skip_all.py
mgorny/unittest-or-fail
ecb9c0d1578489f3b51003be30e12f6c600c7010
[ "BSD-2-Clause" ]
null
null
null
test/skip-all/test_skip_all.py
mgorny/unittest-or-fail
ecb9c0d1578489f3b51003be30e12f6c600c7010
[ "BSD-2-Clause" ]
null
null
null
test/skip-all/test_skip_all.py
mgorny/unittest-or-fail
ecb9c0d1578489f3b51003be30e12f6c600c7010
[ "BSD-2-Clause" ]
null
null
null
from unittest import TestCase, skipIf class SkipAllTest(TestCase): """A test where all methods are skipped.""" @skipIf(True, "skipping for testing's sake") def test_foo(self): pass
20.4
48
0.676471
27
204
5.074074
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.220588
204
9
49
22.666667
0.861635
0.181373
0
0
0
0
0.167702
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e9c36c7b78636f31f5f23693ef4b5612d32c7184
1,191
py
Python
python/test/test_layout.py
dandyvica/rbf
449a99a30854ad8ca35032dbecfeb3af465a77aa
[ "MIT" ]
null
null
null
python/test/test_layout.py
dandyvica/rbf
449a99a30854ad8ca35032dbecfeb3af465a77aa
[ "MIT" ]
null
null
null
python/test/test_layout.py
dandyvica/rbf
449a99a30854ad8ca35032dbecfeb3af465a77aa
[ "MIT" ]
null
null
null
import sys import unittest from rbf.layout import Layout class TestReader(unittest.TestCase): def setUp(self): self.assertRaises(ValueError, Layout, "foo.xml") self.layout = Layout("world_data.xml") # test meta data self.assertEqual(self.layout.version, "1.0") ...
30.538462
83
0.621327
140
1,191
5.2
0.4
0.192308
0.182692
0.240385
0.252747
0.173077
0
0
0
0
0
0.009793
0.22838
1,191
38
84
31.342105
0.782372
0.011755
0
0.08
0
0
0.141725
0
0
0
0
0
0.44
1
0.12
false
0
0.12
0
0.28
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
e9c7544d7969d853bb54ba15e0a8aa05cf71dc04
786
py
Python
libraries/botbuilder-schema/botbuilder/schema/teams/additional_properties.py
Fl4v/botbuilder-python
4003d713beb8fb986a01cfd11632eabc65858618
[ "MIT" ]
388
2019-05-07T15:53:21.000Z
2022-03-28T20:29:46.000Z
libraries/botbuilder-schema/botbuilder/schema/teams/additional_properties.py
Fl4v/botbuilder-python
4003d713beb8fb986a01cfd11632eabc65858618
[ "MIT" ]
1,286
2019-05-07T23:38:19.000Z
2022-03-31T10:44:16.000Z
libraries/botbuilder-schema/botbuilder/schema/teams/additional_properties.py
Fl4v/botbuilder-python
4003d713beb8fb986a01cfd11632eabc65858618
[ "MIT" ]
168
2019-05-14T20:23:25.000Z
2022-03-16T06:49:14.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. class ContentType: O365_CONNECTOR_CARD = "application/vnd.microsoft.teams.card.o365connector" FILE_CONSENT_CARD = "application/vnd.microsoft.teams.card.file.consent" FILE_DOWNLOAD_INFO = "application/vnd.microsof...
39.3
78
0.791349
96
786
6.114583
0.4375
0.177172
0.231687
0.190801
0.197615
0.197615
0.136286
0
0
0
0
0.039301
0.125954
786
19
79
41.368421
0.815138
0.113232
0
0
0
0
0.380403
0.28098
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3