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
42682dfbcdd13e169c775d9967f031a870fdbf93
222
py
Python
wimm/urls.py
slapec/wimm
d0dc9d6ad8675a9b5dd2d38502b8dd3eb08209bf
[ "MIT" ]
null
null
null
wimm/urls.py
slapec/wimm
d0dc9d6ad8675a9b5dd2d38502b8dd3eb08209bf
[ "MIT" ]
22
2017-01-16T20:31:26.000Z
2021-06-10T20:03:55.000Z
wimm/urls.py
slapec/wimm
d0dc9d6ad8675a9b5dd2d38502b8dd3eb08209bf
[ "MIT" ]
1
2016-06-04T19:37:37.000Z
2016-06-04T19:37:37.000Z
# coding: utf-8 from django.conf.urls import url, include from wimm.api import api urlpatterns = [ url(r'^api/items/', include('item.api', namespace='item')), url(r'api/', include(api.urls, namespace='api')) ]
18.5
63
0.662162
33
222
4.454545
0.515152
0.054422
0.095238
0
0
0
0
0
0
0
0
0.005319
0.153153
222
11
64
20.181818
0.776596
0.058559
0
0
0
0
0.144928
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
1
426a4698dcc91bf018a0763dde61745d015883b8
659
py
Python
python-modules/pybluez/examples/simple/l2capclient.py
vlinhd11/vlinhd11-android-scripting
c90f04eb26a3746f025a6a0beab92bb6aa88c084
[ "Apache-2.0" ]
2,293
2015-01-02T12:46:10.000Z
2022-03-29T09:45:43.000Z
python-modules/pybluez/examples/simple/l2capclient.py
weiqiangzheng/sl4a
d3c17dca978cbeee545e12ea240a9dbf2a6999e9
[ "Apache-2.0" ]
315
2015-05-31T11:55:46.000Z
2022-01-12T08:36:37.000Z
python-modules/pybluez/examples/simple/l2capclient.py
weiqiangzheng/sl4a
d3c17dca978cbeee545e12ea240a9dbf2a6999e9
[ "Apache-2.0" ]
1,033
2015-01-04T07:48:40.000Z
2022-03-24T09:34:37.000Z
# file: l2capclient.py # desc: Demo L2CAP client for bluetooth module. # $Id: l2capclient.py 524 2007-08-15 04:04:52Z albert $ import sys import bluetooth sock=bluetooth.BluetoothSocket(bluetooth.L2CAP) if len(sys.argv) < 2: print "scanning" addr=bluetooth.discover_devices() if len(addr) >= 1: bt_addr=a...
18.828571
61
0.681335
103
659
4.300971
0.563107
0.054176
0.045147
0
0
0
0
0
0
0
0
0.063197
0.183612
659
34
62
19.382353
0.760223
0.182094
0
0.090909
0
0
0.174157
0
0
0
0.011236
0
0
0
null
null
0
0.090909
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4278672085f4c2854938b6ec092a59fcfb70dc73
9,906
py
Python
lib/Python3/AtlejgTools/RCP_project/Valve_characteristics.py
atlejg/atlejg
ea53815a6e092ea0428697515583dd7902fbb758
[ "MIT" ]
1
2020-04-07T16:48:35.000Z
2020-04-07T16:48:35.000Z
lib/Python3/AtlejgTools/RCP_project/Valve_characteristics.py
atlejg/atlejg
ea53815a6e092ea0428697515583dd7902fbb758
[ "MIT" ]
null
null
null
lib/Python3/AtlejgTools/RCP_project/Valve_characteristics.py
atlejg/atlejg
ea53815a6e092ea0428697515583dd7902fbb758
[ "MIT" ]
null
null
null
import AtlejgTools.Utils as UT import AtlejgTools.SimulationTools.UnitConversion as U import pylab as pl _RHO_CAL = 1000.25 _MU_CAL = 1.45 USE_STD_AICD_FUNC = True RHO_EXP = 1. def rcp_coeff(rho, mu, rho_cal, mu_cal, cnst, y): ''' for debug purposes, its useful to have this isolated [rho] = kg...
30.95625
127
0.581163
1,718
9,906
3.189756
0.142608
0.054745
0.051095
0.060219
0.668248
0.653102
0.62427
0.601095
0.579927
0.55219
0
0.042176
0.265193
9,906
319
128
31.053292
0.710675
0.377347
0
0.276786
0
0
0.024056
0
0
0
0
0
0
1
0.232143
false
0
0.026786
0
0.482143
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4279b0293c7a0af3c3a2a4adc700a46540258614
531
py
Python
07-MidExam_Preparation/1-Bonus_Scoring_System.py
eclipse-ib/Software-University-Fundamentals_Module
994ef75c70d1bae8e615dbb789aeffd6e0a42c34
[ "MIT" ]
null
null
null
07-MidExam_Preparation/1-Bonus_Scoring_System.py
eclipse-ib/Software-University-Fundamentals_Module
994ef75c70d1bae8e615dbb789aeffd6e0a42c34
[ "MIT" ]
null
null
null
07-MidExam_Preparation/1-Bonus_Scoring_System.py
eclipse-ib/Software-University-Fundamentals_Module
994ef75c70d1bae8e615dbb789aeffd6e0a42c34
[ "MIT" ]
null
null
null
import math students = int(input()) lectures = int(input()) additional_bonus = int(input()) total_max_bonus = 0 max_student_attendances = 0 for i in range(students): student_attendances = int(input()) total_bonus = (student_attendances / lectures) * (5 + additional_bonus) if total_bonus > total_max_bonus:...
29.5
75
0.741996
72
531
5.166667
0.361111
0.290323
0.139785
0.096774
0.096774
0
0
0
0
0
0
0.006696
0.156309
531
18
76
29.5
0.823661
0
0
0
0
0
0.191729
0.105263
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
427cfa6e7190560c26772cbaa13a14a9c07ddd0a
922
py
Python
portal/migrations/versions/d0b40bc8d7e6_.py
ivan-c/truenth-portal
0b9d39ae43f42ea3413ed9634f295f5d856cbc77
[ "BSD-3-Clause" ]
3
2017-01-15T10:11:57.000Z
2018-10-02T23:46:44.000Z
portal/migrations/versions/d0b40bc8d7e6_.py
pep8speaks/true_nth_usa_portal
31ff755b0cfe61ab908e2a399e3c41ef17ca8c16
[ "BSD-3-Clause" ]
876
2016-04-04T20:45:11.000Z
2019-02-28T00:10:36.000Z
portal/migrations/versions/d0b40bc8d7e6_.py
pep8speaks/true_nth_usa_portal
31ff755b0cfe61ab908e2a399e3c41ef17ca8c16
[ "BSD-3-Clause" ]
9
2016-04-13T01:18:55.000Z
2018-09-19T20:44:23.000Z
from alembic import op import sqlalchemy as sa """empty message Revision ID: d0b40bc8d7e6 Revises: 8ffec90e68a7 Create Date: 2017-09-20 05:59:45.168324 """ # revision identifiers, used by Alembic. revision = 'd0b40bc8d7e6' down_revision = '8ffec90e68a7' def upgrade(): # Work around site_persistence fragility....
29.741935
74
0.685466
110
922
5.654545
0.536364
0.057878
0.096463
0.180064
0.482315
0.482315
0.482315
0.482315
0.482315
0.482315
0
0.061453
0.223427
922
30
75
30.733333
0.807263
0.175705
0
0
0
0
0.569659
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
427d0661d00759e81eb87b3b268a1a8cd04de206
631
py
Python
ot2kb/cues/cues.py
levinericzimmermann/oT2kb
baa10ebfbe8cfc80c48947b390653ccee9b5c4c2
[ "Unlicense" ]
null
null
null
ot2kb/cues/cues.py
levinericzimmermann/oT2kb
baa10ebfbe8cfc80c48947b390653ccee9b5c4c2
[ "Unlicense" ]
null
null
null
ot2kb/cues/cues.py
levinericzimmermann/oT2kb
baa10ebfbe8cfc80c48947b390653ccee9b5c4c2
[ "Unlicense" ]
null
null
null
import os import json import typing import frozendict from ot2kb import config class Cue(frozendict.frozendict): @staticmethod def parse_json(path: str): with open(path, "r") as f: data = json.load(f) data = {int(key): value for key, value in data.items()} return data ...
20.354839
63
0.633914
87
631
4.494253
0.390805
0.046036
0.066496
0
0
0
0
0
0
0
0
0.002096
0.244057
631
30
64
21.033333
0.81761
0
0
0
0
0
0.041204
0.03962
0
0
0
0
0
1
0.142857
false
0
0.238095
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4284d66972a066bb714c1b9d3ab5d6de28e476bc
4,061
py
Python
tensorflow_addons/image/utils_test.py
Soroosh129/addons
d92ae02d04e9052f6ca5ea272873efd15eaa35ce
[ "Apache-2.0" ]
1
2020-09-09T14:51:22.000Z
2020-09-09T14:51:22.000Z
tensorflow_addons/image/utils_test.py
pkanwar23/addons
de99c6dd904c475c5c95726911f4aac447c13361
[ "Apache-2.0" ]
null
null
null
tensorflow_addons/image/utils_test.py
pkanwar23/addons
de99c6dd904c475c5c95726911f4aac447c13361
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
44.141304
84
0.624723
579
4,061
4.215889
0.214162
0.018025
0.019664
0.014748
0.687833
0.657927
0.641131
0.627612
0.615322
0.615322
0
0.038141
0.231716
4,061
91
85
44.626374
0.744231
0.174588
0
0.396552
0
0
0.04233
0
0
0
0
0
0.224138
1
0.12069
false
0
0.051724
0
0.189655
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4292e395b82ce206c42e3ab1e8c67e62c38cebc2
2,156
py
Python
tests/components/smart_meter_texas/test_sensor.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
1
2021-07-08T20:09:55.000Z
2021-07-08T20:09:55.000Z
tests/components/smart_meter_texas/test_sensor.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
47
2021-02-21T23:43:07.000Z
2022-03-31T06:07:10.000Z
tests/components/smart_meter_texas/test_sensor.py
OpenPeerPower/core
f673dfac9f2d0c48fa30af37b0a99df9dd6640ee
[ "Apache-2.0" ]
null
null
null
"""Test the Smart Meter Texas sensor entity.""" from unittest.mock import patch from openpeerpower.components.openpeerpower import ( DOMAIN as HA_DOMAIN, SERVICE_UPDATE_ENTITY, ) from openpeerpower.components.smart_meter_texas.const import ( ELECTRIC_METER, ESIID, METER_NUMBER, ) from openpeerpower...
34.774194
80
0.745362
278
2,156
5.489209
0.255396
0.064875
0.100917
0.165793
0.408912
0.373526
0.292267
0.292267
0.292267
0.257536
0
0.025112
0.168831
2,156
61
81
35.344262
0.826451
0.019017
0
0.27907
0
0
0.05404
0.017499
0
0
0
0
0.162791
1
0
false
0
0.139535
0
0.139535
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4295030125bf94d1eb8f43bbb0bf1c3dddcfa1ae
341
py
Python
gym_envs/__init__.py
ranok92/deepirl
88c7e76986243cf0b988d8d7dc0eef6b58e07864
[ "MIT" ]
2
2019-01-04T22:03:15.000Z
2019-04-03T00:16:11.000Z
gym_envs/__init__.py
ranok92/deepirl
88c7e76986243cf0b988d8d7dc0eef6b58e07864
[ "MIT" ]
null
null
null
gym_envs/__init__.py
ranok92/deepirl
88c7e76986243cf0b988d8d7dc0eef6b58e07864
[ "MIT" ]
null
null
null
''' register the modified forzenlake environment. ''' from gym.envs.registration import register register(id='FrozenLakeNP-v0', entry_point='gym_envs.np_frozenlake:FrozenLakeNP', kwargs={'map_name': '4x4', 'is_slippery':False}, max_episode_steps=100, reward_threshold=0.78, # optim...
26.230769
59
0.668622
39
341
5.641026
0.871795
0.063636
0
0
0
0
0
0
0
0
0
0.04797
0.205279
341
12
60
28.416667
0.763838
0.181818
0
0
0
0
0.265683
0.129151
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4296b8ef9e5d26e7649b92338eecfc2aaf260d55
298
py
Python
scripts/registry/list-schemas.py
JeffersonLab/jaws
59c135d686c1d2be716f7a413e971a8bdf9f5f6a
[ "MIT" ]
2
2022-01-11T18:14:52.000Z
2022-01-11T22:38:54.000Z
scripts/registry/list-schemas.py
JeffersonLab/jaws
59c135d686c1d2be716f7a413e971a8bdf9f5f6a
[ "MIT" ]
23
2021-03-15T11:46:14.000Z
2022-03-15T21:38:24.000Z
scripts/registry/list-schemas.py
JeffersonLab/jaws
59c135d686c1d2be716f7a413e971a8bdf9f5f6a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os from confluent_kafka.schema_registry import SchemaRegistryClient sr_conf = {'url': os.environ.get('SCHEMA_REGISTRY', 'http://localhost:8081')} client = SchemaRegistryClient(sr_conf) subjects = client.get_subjects() for subject in subjects: print(subject)
21.285714
78
0.768456
38
298
5.868421
0.684211
0.125561
0.233184
0
0
0
0
0
0
0
0
0.018939
0.114094
298
13
79
22.923077
0.825758
0.07047
0
0
0
0
0.141304
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
429aca1652aab1206073fcbb51f65cd6ad6715c4
4,083
py
Python
tests/test.py
ojacques/mkdocs-with-confluence
e91a40f2fcc070c7102506df0750ee5bcc30199e
[ "MIT" ]
11
2021-05-18T15:56:08.000Z
2022-03-29T18:13:33.000Z
tests/test.py
ojacques/mkdocs-with-confluence
e91a40f2fcc070c7102506df0750ee5bcc30199e
[ "MIT" ]
3
2021-06-22T04:49:52.000Z
2022-03-28T07:01:46.000Z
tests/test.py
ojacques/mkdocs-with-confluence
e91a40f2fcc070c7102506df0750ee5bcc30199e
[ "MIT" ]
13
2021-05-18T15:56:12.000Z
2022-03-23T09:37:15.000Z
import requests import mimetypes # ----------------------------------------------------------------------------- # Globals BASE_URL = "<YOUR_DOMAIN>/rest/api/content" SPACE_NAME = "<YOUR_SPACE_NAME>" USERNAME = "<YOUR_USERNAME>" PASSWORD = "<YOUR_PASSWORD>" def upload_attachment(page_id, filepath): url = BASE_U...
29.586957
103
0.59662
508
4,083
4.594488
0.19685
0.03599
0.025707
0.030848
0.467009
0.4006
0.362468
0.350043
0.350043
0.317481
0
0.001269
0.228264
4,083
137
104
29.80292
0.739448
0.078374
0
0.465347
0
0
0.234338
0.038923
0
0
0
0
0
1
0.059406
false
0.069307
0.019802
0
0.138614
0.178218
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
42adfc27ced064f23ac08abc9f53b1a6e5250cc9
7,356
py
Python
tests/test_pipelines_zero_shot.py
Liang813/transformers
08f534d2da47875a4b7eb1c125cfa7f0f3b79642
[ "Apache-2.0" ]
1
2022-03-25T00:00:49.000Z
2022-03-25T00:00:49.000Z
tests/test_pipelines_zero_shot.py
Liang813/transformers
08f534d2da47875a4b7eb1c125cfa7f0f3b79642
[ "Apache-2.0" ]
null
null
null
tests/test_pipelines_zero_shot.py
Liang813/transformers
08f534d2da47875a4b7eb1c125cfa7f0f3b79642
[ "Apache-2.0" ]
2
2021-03-27T16:46:26.000Z
2021-12-24T00:33:28.000Z
import unittest from transformers.pipelines import Pipeline from .test_pipelines_common import CustomInputPipelineCommonMixin class ZeroShotClassificationPipelineTests(CustomInputPipelineCommonMixin, unittest.TestCase): pipeline_task = "zero-shot-classification" small_models = [ "sshleifer/tiny-dist...
60.793388
1,172
0.630778
855
7,356
5.328655
0.251462
0.052678
0.027656
0.046093
0.661106
0.636962
0.636962
0.631694
0.624451
0.591967
0
0.024062
0.28249
7,356
120
1,173
61.3
0.839144
0.017265
0
0.115385
0
0.019231
0.517785
0.011903
0
0
0
0
0.105769
1
0.019231
false
0
0.028846
0
0.086538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
35f2ee230315d4b37d2e8aaff02409b37693a081
875
py
Python
attic/decorators/local_demo.py
matteoshen/example-code
b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3
[ "MIT" ]
5,651
2015-01-06T21:58:46.000Z
2022-03-31T13:39:07.000Z
attic/decorators/local_demo.py
matteoshen/example-code
b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3
[ "MIT" ]
42
2016-12-11T19:17:11.000Z
2021-11-23T19:41:16.000Z
attic/decorators/local_demo.py
matteoshen/example-code
b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3
[ "MIT" ]
2,394
2015-01-18T10:57:38.000Z
2022-03-31T11:41:12.000Z
""" >>> f1(3) >>> b = 8 >>> f1(3) a = 3 b = 8 >>> f2(3) Traceback (most recent call last): ... UnboundLocalError: local variable 'b' referenced before assignment >>> f3(3) a = 3 b = 7 b = 6 >>> b = -5 >>> ff = f4() >>> ff(3) a = 3 b = 11 b = 6 >>> print('b =', b) b = -5 """ def f1(a): print('a =', a) print('...
13.671875
76
0.454857
140
875
2.835714
0.285714
0.075567
0.176322
0.100756
0.345088
0.345088
0.345088
0.304786
0.304786
0.304786
0
0.064407
0.325714
875
63
77
13.888889
0.608475
0.306286
0
0.612903
0
0
0.07047
0
0
0
0
0
0
1
0.193548
false
0
0.032258
0
0.258065
0.451613
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
35fecc556bc9715de1871eac3043064211688214
1,724
py
Python
blaze/blazet.py
davidfischer/blaze-core
19b55ed469aec742fd871b959115a3d87a89acb9
[ "BSD-2-Clause" ]
1
2015-01-02T18:16:07.000Z
2015-01-02T18:16:07.000Z
blaze/blazet.py
davidfischer/blaze-core
19b55ed469aec742fd871b959115a3d87a89acb9
[ "BSD-2-Clause" ]
null
null
null
blaze/blazet.py
davidfischer/blaze-core
19b55ed469aec742fd871b959115a3d87a89acb9
[ "BSD-2-Clause" ]
null
null
null
""" BlazeT consists of of the extensible set of Blaze datashape types and all expression types. """ from blaze.datashape.coretypes import int_, float_, string, top, dynamic from blaze.expr.graph import App, Fun, ArrayNode, IntNode, FloatNode, StringNode # Type checking and unification from blaze.datashape.unification...
25.731343
80
0.552204
186
1,724
5.096774
0.424731
0.031646
0.047468
0.033755
0.044304
0.044304
0
0
0
0
0
0.006603
0.209397
1,724
66
81
26.121212
0.688922
0.367749
0
0.086957
0
0
0
0
0
0
0
0
0
0
null
null
0
0.173913
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
0
0
1
0
0
0
0
0
0
0
0
1
c401591c79fecb5a2c1b344be37bd024192c4c1b
16,754
py
Python
old/Operations/Shari_Operations/localize/subs.py
broadinstitute/cms
4743ffd3feac08f02be7719c82b3371cb94a4d6b
[ "BSD-2-Clause" ]
13
2015-05-18T14:39:00.000Z
2020-07-22T12:57:07.000Z
old/Operations/Shari_Operations/localize/subs.py
broadinstitute/cms
4743ffd3feac08f02be7719c82b3371cb94a4d6b
[ "BSD-2-Clause" ]
33
2015-04-13T20:48:02.000Z
2019-12-19T07:27:30.000Z
old/Operations/Shari_Operations/localize/subs.py
broadinstitute/cms
4743ffd3feac08f02be7719c82b3371cb94a4d6b
[ "BSD-2-Clause" ]
9
2016-03-31T06:56:01.000Z
2020-01-30T16:35:45.000Z
from __future__ import with_statement, division from Classes.DotData import DotData from Operations.MiscUtil import dbg, clamp from Operations.Shari_Operations.localize.RunningStat import RunningStat from numpy import * import numpy as np import logging, itertools ## Normalizes an array by mean and std dev def normal...
30.741284
119
0.59932
2,274
16,754
4.361917
0.151275
0.014114
0.013106
0.008872
0.601976
0.573344
0.546628
0.540982
0.520919
0.509124
0
0.011519
0.310851
16,754
544
120
30.797794
0.847566
0.15071
0
0.452675
0
0
0.018092
0
0
0
0
0
0.020576
0
null
null
0
0.028807
null
null
0.032922
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c4087430fb7d5e28cf5d641286972e163613a669
7,563
py
Python
model/networks/SSIM/ssim_upsam_pl.py
hukefei/DeeCamp-10Group-Unsupervised-Defect-Segmentation-master
71c72202316bd1ce790c812e874085149f793f6d
[ "MIT" ]
2
2020-10-15T10:43:58.000Z
2020-10-15T14:06:39.000Z
model/networks/SSIM/ssim_upsam_pl.py
hukefei/DeeCamp-10Group-Unsupervised-Defect-Segmentation-master
71c72202316bd1ce790c812e874085149f793f6d
[ "MIT" ]
null
null
null
model/networks/SSIM/ssim_upsam_pl.py
hukefei/DeeCamp-10Group-Unsupervised-Defect-Segmentation-master
71c72202316bd1ce790c812e874085149f793f6d
[ "MIT" ]
null
null
null
"""Autoencoder with ssim loss author: Haixin wang e-mail: haixinwa@gmail.com """ import torch.nn as nn import torch.nn.functional as F from model.loss.Perceptual_loss import Perceptual_loss class BNConv(nn.Module): def __init__(self, in_planes, out_planes, kernel_size, stride=1, padding=0, dilation=1, groups=1, ...
50.42
120
0.666534
1,104
7,563
4.410326
0.112319
0.053604
0.028343
0.057507
0.779421
0.699733
0.674677
0.670158
0.641816
0.625385
0
0.050777
0.208383
7,563
149
121
50.758389
0.762485
0.038345
0
0.398374
0
0
0.001101
0
0
0
0
0
0
1
0.097561
false
0
0.02439
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c40e3f4a5a7324b1a021996c93f256bdb1528f11
1,929
py
Python
pytcher/marshallers/csv_marshaller.py
chimpler/pytcher
cf6cbb5c583a79a50c53845fd293b3d7cbb29a85
[ "Apache-2.0" ]
6
2020-11-25T02:40:13.000Z
2021-12-20T03:32:31.000Z
pytcher/marshallers/csv_marshaller.py
chimpler/pytcher
cf6cbb5c583a79a50c53845fd293b3d7cbb29a85
[ "Apache-2.0" ]
2
2020-09-25T10:16:17.000Z
2021-06-25T15:18:50.000Z
pytcher/marshallers/csv_marshaller.py
chimpler/pytcher
cf6cbb5c583a79a50c53845fd293b3d7cbb29a85
[ "Apache-2.0" ]
null
null
null
import dataclasses import itertools from typing import Iterable from pytcher.marshallers import Marshaller, MarshallerException class CSVMarshaller(Marshaller): def encode_value(self, obj): if obj is None: return '' elif isinstance(obj, (bool, int, float, str)): return ob...
30.140625
110
0.528771
203
1,929
4.896552
0.359606
0.088531
0.024145
0.040241
0.100604
0.062374
0
0
0
0
0
0.005046
0.383618
1,929
63
111
30.619048
0.83095
0.05858
0
0.078431
0
0
0.053562
0
0
0
0
0.015873
0
1
0.058824
false
0
0.078431
0.019608
0.27451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c4110a912ba42a4157d443788a62f8ebb1ef584d
2,345
py
Python
pymcuprog/nvmavr32.py
xthanhn/mcuprog
84eb4baf82dcefe696d5d50344d7d5ca155cbefd
[ "MIT" ]
1
2021-08-25T08:59:33.000Z
2021-08-25T08:59:33.000Z
pymcuprog/nvmavr32.py
xthanhn/mcuprog
84eb4baf82dcefe696d5d50344d7d5ca155cbefd
[ "MIT" ]
null
null
null
pymcuprog/nvmavr32.py
xthanhn/mcuprog
84eb4baf82dcefe696d5d50344d7d5ca155cbefd
[ "MIT" ]
null
null
null
""" AVR32 NVM implementation NB: This is a stub - not all features are implemented """ from abc import abstractmethod from pymcuprog.nvm import NvmAccessProviderCmsisDapAvr from pymcuprog.avr32target import Avr32Device from pymcuprog.pymcuprog_errors import PymcuprogError from pymcuprog.deviceinfo.deviceinfokeys impor...
30.454545
95
0.666525
261
2,345
5.862069
0.394636
0.035294
0.027451
0.035294
0.128105
0.128105
0.128105
0.128105
0.128105
0.128105
0
0.020571
0.253731
2,345
76
96
30.855263
0.853714
0.278038
0
0.09375
0
0
0.055667
0
0
0
0
0
0
1
0.21875
false
0.03125
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c41243aabd510d52ca5bc3763c0e79837cb3908a
1,067
py
Python
test/test_tasks.py
ownport/playbook
6d3196ddf68f2c3c3efc4a52e26719c3e5596dca
[ "MIT" ]
1
2018-09-10T10:01:25.000Z
2018-09-10T10:01:25.000Z
test/test_tasks.py
ownport/playbook
6d3196ddf68f2c3c3efc4a52e26719c3e5596dca
[ "MIT" ]
null
null
null
test/test_tasks.py
ownport/playbook
6d3196ddf68f2c3c3efc4a52e26719c3e5596dca
[ "MIT" ]
null
null
null
import pytest from playbook.tasks import Task from playbook.errors import UnknownAction def test_tasks_create(): with pytest.raises(UnknownAction): assert Task() task = Task(shell='echo "Hello"') assert task.action == 'shell' def test_tasks_execute(): task = Task(shell='echo "Hello"') ...
33.34375
123
0.605436
142
1,067
4.429577
0.302817
0.111288
0.079491
0.08744
0.330684
0.09221
0
0
0
0
0
0.001145
0.181818
1,067
31
124
34.419355
0.719359
0
0
0.090909
0
0
0.229616
0
0
0
0
0
0.545455
1
0.136364
false
0
0.136364
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
c41406a853b8d6b80d673c685b8746f2f4f14674
3,298
py
Python
dumblock.py
Fak3/dumblock
29e510f23d4be705bfbaa551ae142ceb812274de
[ "MIT" ]
1
2019-07-07T03:08:50.000Z
2019-07-07T03:08:50.000Z
dumblock.py
Fak3/dumblock
29e510f23d4be705bfbaa551ae142ceb812274de
[ "MIT" ]
null
null
null
dumblock.py
Fak3/dumblock
29e510f23d4be705bfbaa551ae142ceb812274de
[ "MIT" ]
null
null
null
import logging from functools import wraps from urllib.parse import urlparse from django.conf import settings from redis import StrictRedis from redis.exceptions import LockError url = urlparse(settings.DUMBLOCK_REDIS_URL) redis = StrictRedis(host=url.hostname, port=url.port) logger = logging.getLogger('dumblock')...
27.949153
81
0.571559
373
3,298
4.951743
0.286863
0.029237
0.032485
0.036816
0.709258
0.662696
0.662696
0.662696
0.662696
0.624797
0
0.005856
0.326865
3,298
117
82
28.188034
0.826126
0.346574
0
0.631579
0
0
0.055694
0
0
0
0
0
0
1
0.105263
false
0.017544
0.105263
0
0.350877
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c41989923a9dd584d7a82e71e85ba483a456312c
2,018
py
Python
Python/Insta Non Followers/main.py
Ian-Yy/code-n-stitch
20fc8784bf51bd3e36329d1ca44b0be6dc66fae6
[ "MIT" ]
50
2020-09-19T16:40:21.000Z
2022-02-05T05:48:42.000Z
Python/Insta Non Followers/main.py
Ian-Yy/code-n-stitch
20fc8784bf51bd3e36329d1ca44b0be6dc66fae6
[ "MIT" ]
266
2020-09-25T17:24:04.000Z
2021-11-29T07:17:57.000Z
Python/Insta Non Followers/main.py
Ian-Yy/code-n-stitch
20fc8784bf51bd3e36329d1ca44b0be6dc66fae6
[ "MIT" ]
113
2020-09-26T10:28:11.000Z
2021-10-15T06:58:53.000Z
from time import sleep from instagram_private_api import Client import argparse def get_non_followers(username, password, my_max_following=1000): api = Client(username, password, timeout=30) print('Successfully Logged In.') my_account = api.username_info(username)['user'] # Getting my following list ...
38.807692
113
0.666997
262
2,018
4.908397
0.374046
0.051322
0.027994
0.039658
0.191291
0.105754
0.065319
0.065319
0.065319
0
0
0.008811
0.212587
2,018
52
114
38.807692
0.800503
0.05996
0
0.051282
0
0
0.210359
0.011099
0
0
0
0
0
1
0.025641
false
0.128205
0.076923
0
0.102564
0.179487
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c41f4479d23a8862a21b8338f69f56908adf190d
64,747
py
Python
Util.py
woqls22/MakeUpProject
aaada85ff28ac7ad1f41927f57f8d3405795241c
[ "Unlicense" ]
1
2020-09-15T10:00:05.000Z
2020-09-15T10:00:05.000Z
Util.py
woqls22/MakeUpProject
aaada85ff28ac7ad1f41927f57f8d3405795241c
[ "Unlicense" ]
null
null
null
Util.py
woqls22/MakeUpProject
aaada85ff28ac7ad1f41927f57f8d3405795241c
[ "Unlicense" ]
2
2020-07-24T07:59:46.000Z
2021-02-07T16:25:35.000Z
import dlib import cv2 import numpy as np from PIL import Image import math import os from PIL import ImageFilter from scipy.spatial import distance os.environ["KERAS_BACKEND"] = "tensorflow" MAKE_TRANSPARENT = True def draw_line(img, L): for i in range(len(L)-1): x = list(L[i])[0]+3 y = list(L[i])[1]+3 ...
34.330329
186
0.621975
10,497
64,747
3.68229
0.053444
0.013091
0.024008
0.028148
0.77148
0.71759
0.657051
0.590847
0.560991
0.545572
0
0.067221
0.207562
64,747
1,885
187
34.348541
0.686131
0.064605
0
0.5836
0
0
0.023396
0.014585
0
0
0
0
0
1
0.025625
false
0.001281
0.005125
0
0.054452
0.003203
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c42279b245ed31b9937d5ffd79869064ff989ddc
19,398
py
Python
submit_to_anubis.py
maliceio/malice-anubis
353fc57c922082a580fc037491b70f37da451117
[ "MIT" ]
3
2017-07-07T15:53:27.000Z
2021-01-21T18:04:56.000Z
submit_to_anubis.py
malice-plugins/anubis
353fc57c922082a580fc037491b70f37da451117
[ "MIT" ]
null
null
null
submit_to_anubis.py
malice-plugins/anubis
353fc57c922082a580fc037491b70f37da451117
[ "MIT" ]
2
2019-09-26T02:55:54.000Z
2021-01-21T18:04:57.000Z
#!/usr/bin/env python ################################################################################ # Script for submitting samples to the ANUBIS analysis service. # # Last change: 19/October/2009 # Contact: anubis@iseclab.org # # Usage: submit_to_anubis.py [options] ANALYSIS_SUBJECT_1 ANALYSIS_SUBJECT_2 ... # O...
42.632967
100
0.55882
2,178
19,398
4.865932
0.21258
0.015097
0.015569
0.021136
0.268069
0.249858
0.216267
0.197207
0.190036
0.169277
0
0.004356
0.337303
19,398
454
101
42.726872
0.82007
0.211723
0
0.168539
0
0
0.193498
0.008591
0
0
0
0
0.007491
0
null
null
0.033708
0.037453
null
null
0.041199
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c427605b25e1f40f1eedaa586a32883a0f338165
2,930
py
Python
registry/app/views.py
LupusAnay/gateway-prototype
e40426e05ca7b2a83bfd8d31fec252086f586eb8
[ "MIT" ]
null
null
null
registry/app/views.py
LupusAnay/gateway-prototype
e40426e05ca7b2a83bfd8d31fec252086f586eb8
[ "MIT" ]
null
null
null
registry/app/views.py
LupusAnay/gateway-prototype
e40426e05ca7b2a83bfd8d31fec252086f586eb8
[ "MIT" ]
null
null
null
from functools import wraps from jsonschema import validate, ValidationError from flask import Blueprint, make_response, jsonify, request, current_app from flask.views import MethodView from app import db from app.models import Service, Instance instance_blueprint = Blueprint('registry', __name__) register_schema = {...
29.59596
73
0.588396
322
2,930
5.214286
0.31677
0.032758
0.038714
0.044669
0.297796
0.240619
0.079809
0.079809
0.055986
0.055986
0
0.007296
0.298294
2,930
98
74
29.897959
0.809339
0.008874
0
0.253333
0
0
0.089249
0.007926
0
0
0
0.010204
0
1
0.093333
false
0
0.08
0
0.293333
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c428ecdefe005f695f0574b667662b9833d45b20
6,786
py
Python
HMM/hmm.py
SinestroEdmonce/MachineLearning
278a427993db28fe6364351a4315539ac8b651e1
[ "MIT" ]
null
null
null
HMM/hmm.py
SinestroEdmonce/MachineLearning
278a427993db28fe6364351a4315539ac8b651e1
[ "MIT" ]
null
null
null
HMM/hmm.py
SinestroEdmonce/MachineLearning
278a427993db28fe6364351a4315539ac8b651e1
[ "MIT" ]
null
null
null
from __future__ import print_function import json import numpy as np class HMM: def __init__(self, pi, A, B, obs_dict, state_dict): """ - pi: (1*num_state) A numpy array of initial probabilities. pi[i] = P(Z_1 = s_i) - A: (num_state*num_state) A numpy array of transition probabilities. A[...
35.528796
117
0.552756
1,020
6,786
3.590196
0.131373
0.012015
0.042054
0.0355
0.567176
0.459312
0.430366
0.403878
0.403878
0.386401
0
0.014684
0.317566
6,786
190
118
35.715789
0.776074
0.384321
0
0.253012
0
0
0
0
0
0
0
0.031579
0
1
0.120482
false
0
0.036145
0
0.277108
0.012048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c428f85338fdb430cced4d1116edc601a9666c15
4,764
py
Python
eden/converter/rna/rnashapes_struct.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
eden/converter/rna/rnashapes_struct.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
eden/converter/rna/rnashapes_struct.py
zaidurrehman/EDeN
1f29d4c9d458edb2bd62a98e57254d78a1f2093f
[ "MIT" ]
null
null
null
#!/usr/bin/env python import networkx as nx import subprocess as sp from eden.converter.fasta import seq_to_networkx import math from eden.util import is_iterable def rnashapes_wrapper(sequence, shape_type=None, energy_range=None, max_num=None): # command line cmd = 'echo "%s" | RNAshapes -t %d -c %d -# %d' ...
42.159292
126
0.628673
608
4,764
4.690789
0.195724
0.035063
0.036466
0.049088
0.416199
0.350631
0.302244
0.302244
0.302244
0.302244
0
0.006002
0.265533
4,764
112
127
42.535714
0.809088
0.053107
0
0.297872
0
0
0.096889
0
0
0
0
0
0.053191
0
null
null
0
0.053191
null
null
0.042553
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c429a81b9f56559c9e0944d8c776d3f4dfc6be8f
90,066
py
Python
scdiff2/viz2.py
haochenucr/scdiff2
ebc4149851399b2f15ed5b5874d44764b5f130fb
[ "MIT" ]
6
2020-08-02T23:13:43.000Z
2021-12-12T03:53:57.000Z
scdiff2/viz2.py
haochenucr/scdiff2
ebc4149851399b2f15ed5b5874d44764b5f130fb
[ "MIT" ]
8
2020-07-11T12:24:45.000Z
2021-07-31T04:25:35.000Z
scdiff2/viz2.py
haochenucr/scdiff2
ebc4149851399b2f15ed5b5874d44764b5f130fb
[ "MIT" ]
2
2020-10-07T22:39:00.000Z
2022-01-17T20:07:53.000Z
#!/usr/bin/env python import pdb,sys,os,json import warnings warnings.filterwarnings('ignore') # update cell coordinates def updateCellXY(CL,XYMatrix,XYType="TE"): for i in range(len(CL)): ixy=list(XYMatrix[i]) CL[i][XYType]=ixy return CL #----------------------------------------------------...
34.801391
292
0.480248
8,683
90,066
4.960037
0.178279
0.026563
0.040657
0.013374
0.383278
0.345802
0.323999
0.286547
0.260077
0.248723
0
0.025806
0.35937
90,066
2,587
293
34.814843
0.720619
0.008472
0
0.319982
0
0.040954
0.972894
0.291894
0.00045
0
0
0
0
1
0.00135
false
0
0.0009
0
0.021152
0.0027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c43396f45f2eaa6ef2535ba79e1ad4b9d70bd7e3
7,450
py
Python
test_qacls.py
Qumulo/qacls
3fd8c1a47d51d4767294fef665646af23995c747
[ "ECL-2.0" ]
1
2018-04-06T04:07:31.000Z
2018-04-06T04:07:31.000Z
test_qacls.py
Qumulo/qacls
3fd8c1a47d51d4767294fef665646af23995c747
[ "ECL-2.0" ]
7
2016-02-12T18:31:24.000Z
2020-08-12T16:33:24.000Z
test_qacls.py
Qumulo/qacls
3fd8c1a47d51d4767294fef665646af23995c747
[ "ECL-2.0" ]
null
null
null
__author__ = 'mbott' import unittest import qacls from qacls import QID_UID_BASE, QID_GID_BASE # Some global defaults for testing API = { 'host': '192.168.11.147', 'port': '8000', 'user': 'admin', 'pass': 'a' } INHERIT_ALL = [ "QFS_ACE_FLAG_OBJECT_INHERIT", "QFS_ACE_FLAG_CONTAINER_INHERIT" ...
30.408163
73
0.593154
875
7,450
4.681143
0.16
0.037598
0.04834
0.044434
0.658936
0.568115
0.528809
0.51001
0.47583
0.443604
0
0.084407
0.301879
7,450
244
74
30.532787
0.703134
0.004295
0
0.370787
0
0
0.172203
0.046992
0
0
0
0
0.11236
0
null
null
0.016854
0.022472
null
null
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c43ac81711d2318c8c5a82f41d452497c647c33d
3,397
py
Python
bdn/urls.py
OpenSourceUniversity/bdn
8e8d5b4d63ff4cb9bdf7c5f23d07aa3ad3dd0121
[ "MIT" ]
1
2019-01-18T19:57:25.000Z
2019-01-18T19:57:25.000Z
bdn/urls.py
OpenSourceUniversity/bdn
8e8d5b4d63ff4cb9bdf7c5f23d07aa3ad3dd0121
[ "MIT" ]
3
2019-06-23T17:26:24.000Z
2022-02-11T03:40:54.000Z
bdn/urls.py
OpenSourceUniversity/bdn
8e8d5b4d63ff4cb9bdf7c5f23d07aa3ad3dd0121
[ "MIT" ]
null
null
null
"""bdn URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
43.551282
79
0.779806
430
3,397
6.076744
0.3
0.067356
0.086108
0.009185
0.108687
0.108687
0.028703
0
0
0
0
0.002973
0.10892
3,397
77
80
44.116883
0.860258
0.18222
0
0.035088
0
0
0.166366
0.04511
0
0
0
0
0
1
0
false
0
0.385965
0
0.385965
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c43ca45bfff15948673c18c0a599d17503c0e843
6,395
py
Python
charlton/contrasts.py
wesm/charlton
3779c0fb27f471dd3afdea8a02d60a0c690fae25
[ "BSD-2-Clause" ]
1
2017-09-05T10:36:18.000Z
2017-09-05T10:36:18.000Z
charlton/contrasts.py
wesm/charlton
3779c0fb27f471dd3afdea8a02d60a0c690fae25
[ "BSD-2-Clause" ]
null
null
null
charlton/contrasts.py
wesm/charlton
3779c0fb27f471dd3afdea8a02d60a0c690fae25
[ "BSD-2-Clause" ]
null
null
null
# This file is part of Charlton # Copyright (C) 2011 Nathaniel Smith <njs@pobox.com> # See file COPYING for license information. # car::Contrasts constructs contrasts with *easier to read names* than stats # treatment: type[T.prof], type[T.wc] # sum: S. # helmert: H. # and I guess type[prof] for dummy coding? or...
40.474684
82
0.591556
811
6,395
4.551171
0.256473
0.041723
0.043349
0.017069
0.325115
0.291791
0.260363
0.188838
0.188838
0.188838
0
0.077539
0.257858
6,395
157
83
40.732484
0.700169
0.189367
0
0.18018
0
0
0.05993
0
0
0
0
0
0.135135
0
null
null
0
0.018018
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c4400832310b1f96499653b0a647aa598faaa804
3,071
py
Python
recipes/Python/577940_Emulate_KeywordOnly_Arguments/recipe-577940.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577940_Emulate_KeywordOnly_Arguments/recipe-577940.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577940_Emulate_KeywordOnly_Arguments/recipe-577940.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
"""kwonly module """ def emulate_kwonly(kws, required, withdefaults, leftovers=False): """Emulate Python 3's kwonly arguments. Parameters: kws - the kwargs from which to extract the kwonly args. required - an iterable holding the required kwonly args. withdefaults - an iterable of pairs map...
27.918182
72
0.565288
421
3,071
4.090261
0.27791
0.03252
0.017422
0.025552
0.367015
0.29849
0.243902
0.235772
0.212544
0.212544
0
0.018946
0.295344
3,071
109
73
28.174312
0.776802
0.381309
0
0.27451
0
0
0.072188
0
0
0
0
0
0.156863
1
0.058824
false
0.078431
0
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c4412bac5fa01d8b25de90283a4603cde38c79d2
376
py
Python
config.py
FesonX/memoryTest
4614c04734fc4e5e05d1e09d0ab7a7609cb49705
[ "MIT" ]
1
2020-09-28T11:26:37.000Z
2020-09-28T11:26:37.000Z
config.py
FesonX/memoryTest
4614c04734fc4e5e05d1e09d0ab7a7609cb49705
[ "MIT" ]
null
null
null
config.py
FesonX/memoryTest
4614c04734fc4e5e05d1e09d0ab7a7609cb49705
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: config.py Author: FesonX Email: fesonx@foxmail.com GitHub: github.com/FesonX date: 20-2-10 ------------------------------------------------- """ import os # Get root path of projec...
25.066667
53
0.422872
37
376
4.162162
0.756757
0.077922
0
0
0
0
0
0
0
0
0
0.020408
0.218085
376
14
54
26.857143
0.503401
0.795213
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c44183dff0b595de03e7ad61aaa5d50dfb0d0445
461
py
Python
backend0bit/migrations/0004_auto_20161003_0850.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
null
null
null
backend0bit/migrations/0004_auto_20161003_0850.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
1
2020-06-05T19:21:04.000Z
2020-06-05T19:21:04.000Z
backend0bit/migrations/0004_auto_20161003_0850.py
piotrb5e3/0bit-backend
1df105ab57d0ddde5868ae4b03b359e0c3f00b13
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-03 08:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('backend0bit', '0003_staticpage'), ] operations = [ migrations.AlterField( ...
21.952381
63
0.618221
50
461
5.54
0.78
0
0
0
0
0
0
0
0
0
0
0.070588
0.262473
461
20
64
23.05
0.744118
0.147505
0
0
1
0
0.1
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c44296252cc716507f6966a6371e0d9eb49e1694
6,930
py
Python
day1/kapua-python-client/swagger_client/models/device_command_output.py
liang-faan/SmartIOT-Diec
8336a4b558295295f10a82cf350d8b7ff3fb9f5c
[ "MIT" ]
5
2019-05-30T02:55:16.000Z
2020-03-03T14:18:23.000Z
day1/kapua-python-client/swagger_client/models/device_command_output.py
liang-faan/SmartIOT-Diec
8336a4b558295295f10a82cf350d8b7ff3fb9f5c
[ "MIT" ]
3
2019-12-27T00:53:23.000Z
2020-02-17T05:29:19.000Z
day1/kapua-python-client/swagger_client/models/device_command_output.py
liang-faan/SmartIOT-Diec
8336a4b558295295f10a82cf350d8b7ff3fb9f5c
[ "MIT" ]
4
2019-06-04T06:26:14.000Z
2021-01-07T04:25:32.000Z
# coding: utf-8 """ Eclipse Kapua REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 i...
28.170732
144
0.599423
769
6,930
5.227568
0.159948
0.035821
0.149254
0.129851
0.454229
0.353731
0.309204
0.254478
0.100498
0.048756
0
0.015085
0.311255
6,930
245
145
28.285714
0.827153
0.339683
0
0.073395
1
0
0.059598
0
0
0
0
0
0
1
0.165138
false
0
0.027523
0
0.330275
0.018349
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c44b79ed957eacac118a569e848be8a871297ca5
1,773
py
Python
MIHF/BayesianNetwork/BayesianNetworkEvaluator.py
revygabor/HWTester
5a0c59ebe686de1f34638f6361fcd27b56e529e2
[ "MIT" ]
null
null
null
MIHF/BayesianNetwork/BayesianNetworkEvaluator.py
revygabor/HWTester
5a0c59ebe686de1f34638f6361fcd27b56e529e2
[ "MIT" ]
null
null
null
MIHF/BayesianNetwork/BayesianNetworkEvaluator.py
revygabor/HWTester
5a0c59ebe686de1f34638f6361fcd27b56e529e2
[ "MIT" ]
2
2019-11-11T12:44:17.000Z
2020-11-20T11:08:53.000Z
import Evaluator from io import StringIO import numpy as np import sys class BayesianNetworkEvaluator(Evaluator.Evaluator): def __init__(self, details): pass def evaluate(self, input_str, target_output, output, log): try: if not output: raise ValueError("Received e...
50.657143
123
0.580372
228
1,773
4.385965
0.377193
0.108
0.072
0.04
0.202
0.15
0.15
0.048
0
0
0
0.026677
0.302312
1,773
34
124
52.147059
0.78173
0
0
0.064516
0
0.064516
0.246475
0.045685
0
0
0
0
0
0
null
null
0.032258
0.129032
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c44d8187436dee9a6714a9528b80a3d0215a1e11
2,198
py
Python
meiduotest/meiduo_mall/meiduo_mall/apps/verifications/views.py
littrell0/meiduo_project_test
3d2f6a6e528e6c45a5ffc1db0ddc5de9b4e52bf8
[ "MIT" ]
null
null
null
meiduotest/meiduo_mall/meiduo_mall/apps/verifications/views.py
littrell0/meiduo_project_test
3d2f6a6e528e6c45a5ffc1db0ddc5de9b4e52bf8
[ "MIT" ]
null
null
null
meiduotest/meiduo_mall/meiduo_mall/apps/verifications/views.py
littrell0/meiduo_project_test
3d2f6a6e528e6c45a5ffc1db0ddc5de9b4e52bf8
[ "MIT" ]
null
null
null
import random from django.contrib.auth import logout from django.views import View from django import http from django_redis import get_redis_connection from meiduo_mall.lib.captcha.captcha import captcha from meiduo_mall.lib.yuntongxun.sms import CCP from meiduo_mall.utils.response_code import RETCODE from verific...
28.921053
95
0.67061
247
2,198
5.740891
0.412955
0.076164
0.052891
0.042313
0.123413
0.053597
0.053597
0
0
0
0
0.006524
0.232939
2,198
75
96
29.306667
0.83452
0.119654
0
0.058824
0
0
0.064042
0
0
0
0
0
0
1
0.058824
false
0
0.264706
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c4519ecc3f462eeacbac0ca8bc9c8462167c26c5
22,332
py
Python
modules/user/EmphysemaViewer/EmphysemaViewer.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
25
2015-08-24T16:05:14.000Z
2020-12-09T20:07:14.000Z
modules/user/EmphysemaViewer/EmphysemaViewer.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
1
2016-02-16T21:18:10.000Z
2016-02-16T21:18:10.000Z
modules/user/EmphysemaViewer/EmphysemaViewer.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
5
2016-02-16T20:05:37.000Z
2020-01-31T11:27:39.000Z
# EmphysemaViewer by Corine Slagboom & Noeska Smit # # # Based on SkeletonAUIViewer: # Copyright (c) Charl P. Botha, TU Delft. # All rights reserved. # See COPYRIGHT for details. # skeleton of an AUI-based viewer module # copy and modify for your own purposes. # set to False for 3D viewer, True for 2D image viewer I...
39.110333
177
0.667249
2,787
22,332
5.18084
0.198062
0.038022
0.05222
0.028811
0.360828
0.263661
0.19572
0.14357
0.126671
0.112681
0
0.013532
0.245522
22,332
570
178
39.178947
0.843433
0.10429
0
0.270893
0
0
0.031617
0.001571
0
0
0
0.001754
0
0
null
null
0.020173
0.034582
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
0
0
1
0
0
0
0
0
0
0
0
1
c45488a66f4643ccdb2e58e1d3da9bfc4b983ffc
1,524
py
Python
frontend/src/gbuilder/UI/Dockable.py
ahmed-youssef/GINI
99c92a6e491bb17205b615b3dd8979895e3aa5bd
[ "MIT" ]
3
2016-04-21T04:41:52.000Z
2017-09-01T11:46:31.000Z
frontend/src/gbuilder/UI/Dockable.py
ahmed-youssef/GINI
99c92a6e491bb17205b615b3dd8979895e3aa5bd
[ "MIT" ]
null
null
null
frontend/src/gbuilder/UI/Dockable.py
ahmed-youssef/GINI
99c92a6e491bb17205b615b3dd8979895e3aa5bd
[ "MIT" ]
1
2020-03-24T09:32:36.000Z
2020-03-24T09:32:36.000Z
"""A window that can float or dock""" from PyQt4 import QtGui, QtCore class Dockable(QtGui.QDockWidget): def __init__(self, title = QtCore.QString(), parent = None): """ Create a dockable window. """ QtGui.QDockWidget.__init__(self, title, parent) self.location = ...
28.222222
107
0.55643
146
1,524
5.753425
0.40411
0.083333
0.030952
0
0
0
0
0
0
0
0
0.00689
0.333333
1,524
53
108
28.754717
0.819882
0.116798
0
0
0
0
0.041775
0.033943
0
0
0
0
0
1
0.230769
false
0
0.038462
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c456606d94bb772c9dc800209691dc33ffb5cd1a
1,652
py
Python
nikola/data/themes/base/messages/messages_lt.py
maniacs-satm/nikola
fad241e78dfdaee56bb95203cdb8a11769b454de
[ "MIT" ]
null
null
null
nikola/data/themes/base/messages/messages_lt.py
maniacs-satm/nikola
fad241e78dfdaee56bb95203cdb8a11769b454de
[ "MIT" ]
null
null
null
nikola/data/themes/base/messages/messages_lt.py
maniacs-satm/nikola
fad241e78dfdaee56bb95203cdb8a11769b454de
[ "MIT" ]
null
null
null
# -*- encoding:utf-8 -*- from __future__ import unicode_literals MESSAGES = { "%d min remaining to read": "liko %d min skaitymo", "(active)": "(aktyvi)", "Also available in:": "Taip pat turimas šiomis kalbomis:", "Archive": "Archyvas", "Authors": "Autoriai", "Categories": "Kategorijos", "Co...
37.545455
70
0.613801
184
1,652
5.483696
0.630435
0.032706
0.041625
0.037661
0
0
0
0
0
0
0
0.000762
0.205811
1,652
43
71
38.418605
0.768293
0.013317
0
0
0
0
0.684889
0
0
0
0
0
0
1
0
false
0
0.02439
0
0.02439
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c45919b3d62ca2d3e193a1b46a6915023c6c6ef6
2,682
py
Python
CodeWars/battleship-field-validator.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
46
2019-10-14T01:21:35.000Z
2022-01-08T23:55:15.000Z
CodeWars/battleship-field-validator.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
53
2019-10-03T17:16:43.000Z
2020-12-08T12:48:19.000Z
CodeWars/battleship-field-validator.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
96
2019-10-03T18:12:10.000Z
2021-03-14T19:41:06.000Z
#!/usr/bir/#!/usr/bin/#!/usr/bin/env python """ Write a method that takes a field for well-known board game "Battleship" as an argument and returns true if it has a valid disposition of ships, false otherwise. Argument is guaranteed to be 10*10 two-dimension array. Elements in the array are numbers, 0 if the cell is fr...
49.666667
394
0.649142
435
2,682
4.002299
0.335632
0.044802
0.050546
0.041356
0.152211
0.118897
0.063756
0.052269
0
0
0
0.03307
0.244594
2,682
53
395
50.603774
0.826259
0.014914
0
0.058824
0
0
0.013049
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
1
c4592025647f73b9081e381d11d34937d32f935c
11,677
py
Python
extensions/get_json.py
s1341/roundup-json
95797d4acdfc5f54a766cdc5df0be5e7eac45a61
[ "MIT" ]
1
2021-04-23T13:50:59.000Z
2021-04-23T13:50:59.000Z
extensions/get_json.py
s1341/roundup-json
95797d4acdfc5f54a766cdc5df0be5e7eac45a61
[ "MIT" ]
1
2019-05-08T00:33:30.000Z
2019-05-15T07:22:57.000Z
extensions/get_json.py
s1341/roundup-json
95797d4acdfc5f54a766cdc5df0be5e7eac45a61
[ "MIT" ]
null
null
null
from roundup.cgi.actions import Action from roundup.cgi import exceptions, templating import cgi import roundup import json import re from pprint import pprint def _walkprop(db, node, path): n = node for p in path.split("."): i = n.get(p) if p in ['creator']: p = 'user' n ...
39.053512
187
0.572322
1,348
11,677
4.801929
0.219585
0.032288
0.047273
0.055152
0.194346
0.15974
0.13286
0.122663
0.098872
0.071991
0
0.002171
0.329365
11,677
298
188
39.184564
0.824416
0.086324
0
0.183486
0
0.004587
0.064085
0.002227
0
0
0
0.006711
0
0
null
null
0
0.03211
null
null
0.013761
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c45a20180a6ec8c7e5e4ca533159f3d6629e6b8f
311
py
Python
src/static/variables.py
sterrenburg/fingerprinting-python
7b4b19bfce80dc5a965939870ce8c5cac7126d47
[ "MIT" ]
2
2017-03-10T09:11:37.000Z
2017-03-20T17:25:02.000Z
src/static/variables.py
thomas-sterrenburg/fingerprinting-python
7b4b19bfce80dc5a965939870ce8c5cac7126d47
[ "MIT" ]
null
null
null
src/static/variables.py
thomas-sterrenburg/fingerprinting-python
7b4b19bfce80dc5a965939870ce8c5cac7126d47
[ "MIT" ]
1
2020-09-15T16:33:39.000Z
2020-09-15T16:33:39.000Z
# Copyright 2017 Thomas Sterrenburg # # Licensed under the MIT License (the License); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at https://opensource.org/licenses/MIT# host_total = 0 def init(total): global host_total host_total = total
25.916667
76
0.745981
49
311
4.673469
0.693878
0.131004
0.113537
0.139738
0
0
0
0
0
0
0
0.019763
0.186495
311
12
77
25.916667
0.885375
0.707396
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c45e17450083e09715231ca5cb4c1bc295a90e6a
2,734
py
Python
internal/test.py
ItHertzSoGood/DragonBuild
1aaf6133ab386ba3a5165a4b29c080ca8d814b52
[ "MIT" ]
null
null
null
internal/test.py
ItHertzSoGood/DragonBuild
1aaf6133ab386ba3a5165a4b29c080ca8d814b52
[ "MIT" ]
null
null
null
internal/test.py
ItHertzSoGood/DragonBuild
1aaf6133ab386ba3a5165a4b29c080ca8d814b52
[ "MIT" ]
null
null
null
import subprocess, sys, os from pprint import pprint from math import sin, cos, radians import timeit, time, yaml TestDict = yaml.safe_load(open(os.environ['DRAGONBUILD'] + '/internal/tests.yml')) projects = TestDict['ProjectTests'] def bench(): product = 1.0 for counter in range(1, 1000, 1): for dex...
29.085106
97
0.52853
308
2,734
4.636364
0.334416
0.044118
0.098039
0.094538
0.078431
0.078431
0.054622
0
0
0
0
0.011302
0.32041
2,734
93
98
29.397849
0.757266
0.036942
0
0.071429
0
0.014286
0.183099
0
0
0
0
0
0
1
0.042857
false
0.114286
0.057143
0
0.128571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c462ab18e0bd09087130ac6a82f568b83ae7fd3c
9,087
py
Python
frontend/sphinx/widget_extension.py
spanners/learn-adacore-com
45ca9231e91d8a3412849b3e5daf047e9380bbdb
[ "CC-BY-4.0" ]
71
2018-05-04T17:53:49.000Z
2022-03-26T17:08:58.000Z
frontend/sphinx/widget_extension.py
spanners/learn-adacore-com
45ca9231e91d8a3412849b3e5daf047e9380bbdb
[ "CC-BY-4.0" ]
231
2018-05-20T12:01:28.000Z
2022-03-26T09:07:29.000Z
frontend/sphinx/widget_extension.py
spanners/learn-adacore-com
45ca9231e91d8a3412849b3e5daf047e9380bbdb
[ "CC-BY-4.0" ]
44
2018-05-04T17:13:10.000Z
2022-03-23T13:53:21.000Z
"""Provide a sphinx extension to generate widgets from a .. code: directive. This plugin interprets the following arguments to the code:: directive: * no_button - removes all buttons * <X>_button - forces the existence of a button for mode X. Modes are defined in the MODES variable in ed...
36.203187
103
0.58149
1,027
9,087
5.015579
0.282376
0.023296
0.015143
0.024461
0.25529
0.215492
0.182101
0.170452
0.143273
0.143273
0
0.002478
0.333774
9,087
250
104
36.348
0.848365
0.311324
0
0.185484
1
0
0.115202
0.03191
0
0
0
0
0
1
0.040323
false
0
0.056452
0
0.185484
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c462d7417aebca683eea83415907cbbb35543f23
2,606
py
Python
tests/test_genes.py
syedmohsinbukhari/neat
8dcbf792c7022fa8b6ba98290d50580c61adcd53
[ "MIT" ]
null
null
null
tests/test_genes.py
syedmohsinbukhari/neat
8dcbf792c7022fa8b6ba98290d50580c61adcd53
[ "MIT" ]
14
2019-06-26T13:14:09.000Z
2019-07-26T12:19:29.000Z
tests/test_genes.py
the3eyes/neat
8dcbf792c7022fa8b6ba98290d50580c61adcd53
[ "MIT" ]
null
null
null
""" Description: Genomes classes author: syedmohsinbukhari@googlemail.com """ from neat.genes import Connection, Node class TestConnection: """Class to test Connection Class""" def setup(self): """Setup for testing connection object.""" self.in_node = Node(0) self.out_node = Node(1) ...
28.955556
84
0.660399
376
2,606
4.265957
0.12766
0.05985
0.093516
0.048628
0.761845
0.69202
0.61409
0.57419
0.475686
0.387157
0
0.009896
0.224482
2,606
89
85
29.280899
0.78377
0.202226
0
0.636364
0
0
0
0
0
0
0
0
0.272727
1
0.204545
false
0
0.022727
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c463093d5f5fd8c648a813d45a3036bf534fd853
2,151
py
Python
activities/views.py
Julmgc/Course-Organizer
b383f2845474314186a2ac6589885af890889da8
[ "MIT" ]
null
null
null
activities/views.py
Julmgc/Course-Organizer
b383f2845474314186a2ac6589885af890889da8
[ "MIT" ]
null
null
null
activities/views.py
Julmgc/Course-Organizer
b383f2845474314186a2ac6589885af890889da8
[ "MIT" ]
null
null
null
from accounts.permissions import Instructor_Facilitator from django.db import IntegrityError from django.shortcuts import get_object_or_404 from rest_framework import status from rest_framework.authentication import TokenAuthentication from rest_framework.response import Response from rest_framework.views import APIVie...
32.590909
133
0.693166
221
2,151
6.59276
0.334842
0.057653
0.065889
0.057653
0.463281
0.427591
0.407687
0.407687
0.407687
0.248456
0
0.014537
0.23245
2,151
65
134
33.092308
0.867959
0
0
0.372093
0
0
0.074384
0
0
0
0
0
0
1
0.069767
false
0
0.209302
0
0.55814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c465e55983fa54f3e7af1334295bf60f93a1911f
223
py
Python
app.py
rico79/cycling-director
bd132126537db212b3a0ca8cd89559ed282107b3
[ "MIT" ]
null
null
null
app.py
rico79/cycling-director
bd132126537db212b3a0ca8cd89559ed282107b3
[ "MIT" ]
null
null
null
app.py
rico79/cycling-director
bd132126537db212b3a0ca8cd89559ed282107b3
[ "MIT" ]
null
null
null
from flask import Flask from datetime import datetime app = Flask(__name__) @app.route('/') def home(): return app.send_static_file('index.html') if __name__ == '__main__': app.run(debug=True, use_reloader=True)
18.583333
45
0.717489
32
223
4.53125
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.147982
223
11
46
20.272727
0.763158
0
0
0
0
0
0.085586
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
c467c1eedbbb9f8e240909222ab5ebed69076446
997
py
Python
src/z3c/celery/logging.py
ZeitOnline/z3c.celery
9d310713469e0a106b69e92275114f13de6e725e
[ "BSD-3-Clause" ]
4
2017-04-07T05:50:52.000Z
2019-05-22T07:13:53.000Z
src/z3c/celery/logging.py
ZeitOnline/z3c.celery
9d310713469e0a106b69e92275114f13de6e725e
[ "BSD-3-Clause" ]
7
2016-12-08T10:12:47.000Z
2019-12-13T07:31:14.000Z
src/z3c/celery/logging.py
ZeitOnline/z3c.celery
9d310713469e0a106b69e92275114f13de6e725e
[ "BSD-3-Clause" ]
3
2019-05-19T22:39:52.000Z
2019-12-12T15:41:26.000Z
from __future__ import absolute_import from celery._state import get_current_task import zope.exceptions.log class TaskId: def format(self, record): task = get_current_task() if task: record.__dict__.update( task_id=task.request.id, task_name=task.name)...
27.694444
76
0.678034
120
997
5.358333
0.508333
0.049767
0.043546
0.07465
0
0
0
0
0
0
0
0
0.234704
997
35
77
28.485714
0.842726
0.254764
0
0.181818
0
0
0.022222
0
0
0
0
0
0
1
0.045455
false
0.090909
0.227273
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c468cbb7442f023167a8bda5d9c4ee64572952b8
2,627
py
Python
main.py
erbanku/weibo-hot-hub
f0b9e1a535dd022b5b69b15e176f08b6bd4f222b
[ "MIT" ]
12
2021-02-07T10:15:34.000Z
2022-02-13T19:27:00.000Z
main.py
SnailDev/weibo-hot-hub
9c79901c81ed9d3401cff216cb5124bb2de937f9
[ "MIT" ]
null
null
null
main.py
SnailDev/weibo-hot-hub
9c79901c81ed9d3401cff216cb5124bb2de937f9
[ "MIT" ]
6
2021-06-02T04:05:45.000Z
2022-02-20T15:09:37.000Z
import os import util from util import logger from weibo import Weibo def generate_archive_md(searches, topics): """生成归档readme """ def search(item): return '1. [{}]({})'.format(item['title'], item['url']) def topic(item): return '1. [{}]({})\n - {}\n - {}'.format(item['title'],...
25.019048
113
0.599163
328
2,627
4.685976
0.210366
0.054652
0.07417
0.049447
0.641509
0.601171
0.601171
0.563435
0.523097
0.523097
0
0.001963
0.22421
2,627
104
114
25.259615
0.752208
0.017891
0
0.529412
1
0
0.132112
0
0
0
0
0
0
1
0.147059
false
0
0.058824
0.058824
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c46bba43ec6e1b88693ad8215133661deed5148a
7,804
py
Python
handlers/ApiHandler.py
ammogcoder/blockexplorer
18f8999667875fe52817ea06100be481b9ada90f
[ "MIT" ]
null
null
null
handlers/ApiHandler.py
ammogcoder/blockexplorer
18f8999667875fe52817ea06100be481b9ada90f
[ "MIT" ]
null
null
null
handlers/ApiHandler.py
ammogcoder/blockexplorer
18f8999667875fe52817ea06100be481b9ada90f
[ "MIT" ]
null
null
null
''' Distributed under the MIT License, see accompanying file LICENSE.txt ''' import tornado.gen import json import tornadoredis import re import tornado.websocket import collections import zlib from itertools import izip_longest from handlers.BaseHandler import BaseHandler import time class BlockAfterHandler(BaseHandl...
31.216
131
0.686699
1,065
7,804
4.9277
0.186854
0.042873
0.071456
0.040015
0.567454
0.512005
0.461128
0.432165
0.41654
0.399771
0
0.017137
0.155049
7,804
249
132
31.341365
0.778738
0.019093
0
0.602041
0
0
0.095153
0
0
0
0
0
0
0
null
null
0.015306
0.05102
null
null
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c4714ceef463d7782de5ebe268603857f0f79efa
1,053
py
Python
limix_genetics/__init__.py
glimix/limix-genetics
9c69a59a61e030243a9f865a7f7ae8842859eaee
[ "MIT" ]
null
null
null
limix_genetics/__init__.py
glimix/limix-genetics
9c69a59a61e030243a9f865a7f7ae8842859eaee
[ "MIT" ]
null
null
null
limix_genetics/__init__.py
glimix/limix-genetics
9c69a59a61e030243a9f865a7f7ae8842859eaee
[ "MIT" ]
null
null
null
r"""Genetic-related tools for Limix.. .. moduleauthor:: Danilo Horta <horta@ebi.ac.uk> """ from __future__ import absolute_import as _ from __future__ import unicode_literals as _ from pkg_resources import get_distribution as _get_distribution from pkg_resources import DistributionNotFound as _DistributionNotFound ...
24.488372
71
0.723647
132
1,053
5.280303
0.484848
0.064562
0.045911
0.063128
0
0
0
0
0
0
0
0.002307
0.176638
1,053
42
72
25.071429
0.801615
0.098765
0
0.068966
0
0
0.117521
0
0
0
0
0
0
1
0.034483
false
0.034483
0.413793
0
0.482759
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c4734ef7b85a93f16cbf66fd3e1e71ce02e95dfe
2,573
py
Python
blast.py
ccivit/BLAST_alignments
a36389bceab6240cd71b50a000854555a24f9387
[ "MIT" ]
null
null
null
blast.py
ccivit/BLAST_alignments
a36389bceab6240cd71b50a000854555a24f9387
[ "MIT" ]
null
null
null
blast.py
ccivit/BLAST_alignments
a36389bceab6240cd71b50a000854555a24f9387
[ "MIT" ]
null
null
null
from Bio.Blast import NCBIWWW from Bio.Blast import NCBIXML import pickle generate_results = True read_results = True results_file = 'results.xml' if generate_results == True: sequence_data = open("gRNAtest.txt").read().split('\n') print(sequence_data) print('Executing BLAST...') result_handle = NCBI...
32.987179
95
0.567431
299
2,573
4.712375
0.244147
0.085167
0.031228
0.038325
0.411639
0.343506
0.251242
0.232079
0.188077
0.188077
0
0.021241
0.304703
2,573
77
96
33.415584
0.76635
0.451613
0
0.1875
1
0
0.093614
0
0
0
0
0
0
1
0
false
0
0.09375
0
0.09375
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c4784c3871945cc41a4745006f9c78b1e7606280
6,020
py
Python
simple_3dviz/behaviours/__init__.py
prinshul/simple-3dviz
e56e259b06a3fe82e029c4e8b82410d297b38b41
[ "MIT" ]
null
null
null
simple_3dviz/behaviours/__init__.py
prinshul/simple-3dviz
e56e259b06a3fe82e029c4e8b82410d297b38b41
[ "MIT" ]
null
null
null
simple_3dviz/behaviours/__init__.py
prinshul/simple-3dviz
e56e259b06a3fe82e029c4e8b82410d297b38b41
[ "MIT" ]
null
null
null
"""Behaviours decouple the changes of a scene with the management of a scene (creation, rendering, etc.). The behaviours allow for a simple and unified way to animate, save frames to disk, interact with a mouse and keyboard. This means that you can write all your domain logic in terms of behaviours and then render wit...
37.391304
83
0.624585
716
6,020
5.150838
0.293296
0.035792
0.039859
0.040672
0.176247
0.070228
0.04718
0.029284
0.029284
0.029284
0
0.002907
0.314286
6,020
160
84
37.625
0.890504
0.613621
0
0.102041
0
0
0
0
0
0
0
0
0
1
0.244898
false
0
0
0
0.408163
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c47ad27be33f1bf3e3463eeba49210027553e875
4,053
py
Python
tests/test_pyjackson.py
mike0sv/pyjackson
87d2bffa03703ed6b5dabf8098b37f92a067531a
[ "Apache-2.0" ]
20
2019-09-20T15:14:42.000Z
2020-08-05T09:59:30.000Z
tests/test_pyjackson.py
mike0sv/pyjackson
87d2bffa03703ed6b5dabf8098b37f92a067531a
[ "Apache-2.0" ]
null
null
null
tests/test_pyjackson.py
mike0sv/pyjackson
87d2bffa03703ed6b5dabf8098b37f92a067531a
[ "Apache-2.0" ]
1
2020-08-13T11:29:36.000Z
2020-08-13T11:29:36.000Z
from typing import Any, Dict, List, Set, Tuple, Union import pytest import pyjackson from pyjackson import deserialize, serialize from pyjackson.core import Unserializable from pyjackson.decorators import make_string, type_field from pyjackson.errors import UnserializableError from pyjackson.utils import Comparable f...
22.642458
87
0.691093
509
4,053
5.170923
0.194499
0.051672
0.096885
0.06383
0.294073
0.18617
0.143237
0.095365
0.068389
0.068389
0
0.007227
0.180607
4,053
178
88
22.769663
0.785306
0
0
0.153153
0
0
0.06563
0.009376
0
0
0
0
0.072072
1
0.225225
false
0.009009
0.099099
0
0.468468
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c481a84abdd8c17ab54e2d82cc58e0ef3cfa9e9d
2,142
py
Python
src/quiver2html/objects/qvnotebook.py
pktangyue/quiver2html
befb2deaaba6c689fafcc84f19f74a283fa1f550
[ "MIT" ]
null
null
null
src/quiver2html/objects/qvnotebook.py
pktangyue/quiver2html
befb2deaaba6c689fafcc84f19f74a283fa1f550
[ "MIT" ]
null
null
null
src/quiver2html/objects/qvnotebook.py
pktangyue/quiver2html
befb2deaaba6c689fafcc84f19f74a283fa1f550
[ "MIT" ]
null
null
null
import json import os from .qvnote import QvNote from ..mixin import ParserMixin from ..objects import QV_TYPES from ..utils import is_qvnote class QvNotebook(ParserMixin): type = QV_TYPES.NOTEBOOK def __init__(self, path, parent=None): self._parent = parent self._path = path self._q...
26.775
94
0.603175
266
2,142
4.657895
0.319549
0.053269
0.062954
0.022599
0.106538
0.041969
0
0
0
0
0
0.000641
0.271709
2,142
79
95
27.113924
0.79359
0
0
0.12069
0
0
0.045752
0.009804
0
0
0
0
0
1
0.172414
false
0
0.103448
0.103448
0.448276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
c481b4e9f702939cb9db5d2018226c31333a4290
564
py
Python
inventory/migrations/0008_auto_20200514_1755.py
sujeethiremath/FoodPantry
cc5751648cb6d4be82a269cd07792f050058e596
[ "MIT" ]
null
null
null
inventory/migrations/0008_auto_20200514_1755.py
sujeethiremath/FoodPantry
cc5751648cb6d4be82a269cd07792f050058e596
[ "MIT" ]
null
null
null
inventory/migrations/0008_auto_20200514_1755.py
sujeethiremath/FoodPantry
cc5751648cb6d4be82a269cd07792f050058e596
[ "MIT" ]
8
2020-04-21T01:45:14.000Z
2020-09-19T13:10:04.000Z
# Generated by Django 3.0.3 on 2020-05-14 17:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('provider', '0009_provider_anonymus_status'), ('inventory', '0007_inventory_donor'), ] operations = [ ...
26.857143
139
0.652482
64
564
5.609375
0.609375
0.066852
0.077994
0.122563
0
0
0
0
0
0
0
0.052511
0.223404
564
20
140
28.2
0.767123
0.079787
0
0
1
0
0.197292
0.056093
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c484846adccfa3467c41c0b1da531a8d0a8e2244
7,762
py
Python
pycrypto/lib/Crypto/Cipher/AES.py
netlabcode/PyExpose
9026b065b704d05251b54b60bdb9921361ffb7c3
[ "MIT" ]
null
null
null
pycrypto/lib/Crypto/Cipher/AES.py
netlabcode/PyExpose
9026b065b704d05251b54b60bdb9921361ffb7c3
[ "MIT" ]
null
null
null
pycrypto/lib/Crypto/Cipher/AES.py
netlabcode/PyExpose
9026b065b704d05251b54b60bdb9921361ffb7c3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Cipher/AES.py : AES # # =================================================================== # The contents of this file are dedicated to the public domain. To # the extent that dedication to the public domain is not available, # everyone is granted a worldwide, perpetual, royalty-free, # n...
37.138756
101
0.657691
1,128
7,762
4.417553
0.303191
0.014048
0.032109
0.022075
0.119205
0.09994
0.083484
0.07646
0.059402
0.047762
0
0.016279
0.224427
7,762
208
102
37.317308
0.811462
0.815769
0
0.102564
0
0
0.026701
0
0
0
0
0
0
1
0.051282
false
0
0.179487
0
0.282051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
670a33bce925c444ab8676b4d41cbadab08165e1
1,552
py
Python
cmds/scaleMgmt.py
otclab/EstApp
bf197580b1639b6a0aa2ae60ead4c1d8dde61b67
[ "MIT" ]
null
null
null
cmds/scaleMgmt.py
otclab/EstApp
bf197580b1639b6a0aa2ae60ead4c1d8dde61b67
[ "MIT" ]
null
null
null
cmds/scaleMgmt.py
otclab/EstApp
bf197580b1639b6a0aa2ae60ead4c1d8dde61b67
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import sys from common import openCard def ScaleCmd(args, port, throughput_limit) : u''' EstParser : Escala de Medición de las Tensiones ============================================== La escala de tensión depende la resistencias asociadas a las entrada de tensión ...
28.740741
77
0.628222
236
1,552
4.105932
0.444915
0.04128
0.03096
0.047472
0.045408
0.045408
0
0
0
0
0
0.018166
0.255155
1,552
53
78
29.283019
0.820069
0.603093
0
0.285714
0
0
0.16958
0
0
0
0
0.018868
0
1
0.047619
false
0
0.095238
0
0.142857
0.190476
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
670aa694634b9eefb13d76bc3b47bd3b65388c31
1,044
py
Python
code/Adversarial-Classification/tests/test_metrics/test_wandb_table_metric.py
dikvangenuchten/bep-adversarial-image-annotation
f4d8a7349df7a6c7cc8aa4a4409c45a7082b24ee
[ "MIT" ]
null
null
null
code/Adversarial-Classification/tests/test_metrics/test_wandb_table_metric.py
dikvangenuchten/bep-adversarial-image-annotation
f4d8a7349df7a6c7cc8aa4a4409c45a7082b24ee
[ "MIT" ]
null
null
null
code/Adversarial-Classification/tests/test_metrics/test_wandb_table_metric.py
dikvangenuchten/bep-adversarial-image-annotation
f4d8a7349df7a6c7cc8aa4a4409c45a7082b24ee
[ "MIT" ]
null
null
null
from metrics.wandb_table_metric import WandbTableMetric import pytest import torch import numpy as np @pytest.fixture(params=[1, 2, 16]) def batch_size(request): return request.param @pytest.fixture(params=[2, 16]) def n_classes(request) -> int: return request.param @pytest.fixture(scope="function") def ...
27.473684
80
0.717433
158
1,044
4.544304
0.417722
0.087744
0.111421
0.066852
0.153203
0
0
0
0
0
0
0.01611
0.167625
1,044
37
81
28.216216
0.810127
0.032567
0
0.083333
0
0
0.104167
0
0
0
0
0
0.125
1
0.166667
false
0
0.166667
0.125
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
67168498b1d5269fee398bc26ff097baed695172
22,246
py
Python
scripts/SystRankingPlotMP.py
cartervu/HistFitter_GHH
ad381bb25245b77b2c3167afe772babf20364f5b
[ "BSD-2-Clause" ]
null
null
null
scripts/SystRankingPlotMP.py
cartervu/HistFitter_GHH
ad381bb25245b77b2c3167afe772babf20364f5b
[ "BSD-2-Clause" ]
null
null
null
scripts/SystRankingPlotMP.py
cartervu/HistFitter_GHH
ad381bb25245b77b2c3167afe772babf20364f5b
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import sys import os import pickle from collections import namedtuple from copy import deepcopy from ROOT import * AFTER_FIT = 'RooExpandedFitResult_afterFit' AFTER_FIT_SNAPSHOT = 'snapshot_paramsVals_' + AFTER_FIT PerParamResult = namedtuple("PerParamResult", "name val err_hi err_lo init_p1s ...
33.252616
144
0.673514
3,186
22,246
4.508161
0.173258
0.019495
0.023672
0.005431
0.268259
0.195085
0.169672
0.160134
0.130265
0.123303
0
0.025589
0.18664
22,246
668
145
33.302395
0.76821
0.020408
0
0.189944
0
0.003724
0.146335
0.01433
0
0
0
0
0
0
null
null
0
0.01676
null
null
0.037244
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6718c020f7b3ede51a92511af8b952065cc26202
710
py
Python
django_src/task/migrations/0001_initial.py
jup014/Walk-Data-Processing
5951df6e467702ab0bc3c2721cb5457b0a074aa4
[ "MIT" ]
null
null
null
django_src/task/migrations/0001_initial.py
jup014/Walk-Data-Processing
5951df6e467702ab0bc3c2721cb5457b0a074aa4
[ "MIT" ]
null
null
null
django_src/task/migrations/0001_initial.py
jup014/Walk-Data-Processing
5951df6e467702ab0bc3c2721cb5457b0a074aa4
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-06-23 17:08 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Task', fields=[ ('pkey', models.AutoField(p...
27.307692
78
0.559155
68
710
5.75
0.764706
0
0
0
0
0
0
0
0
0
0
0.036585
0.307042
710
25
79
28.4
0.75813
0.06338
0
0
1
0
0.092006
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
671cecf07d280ea9f6cb4fbb191b5d34db6edb8b
290
py
Python
image/admin.py
Juru-10/gallery
04bc8e6bfc06e000893ce37dbdd57465bc7482de
[ "MIT" ]
null
null
null
image/admin.py
Juru-10/gallery
04bc8e6bfc06e000893ce37dbdd57465bc7482de
[ "MIT" ]
null
null
null
image/admin.py
Juru-10/gallery
04bc8e6bfc06e000893ce37dbdd57465bc7482de
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Editor,Image,Location,Category class ImageAdmin(admin.ModelAdmin): filter =('id','location','category') admin.site.register(Editor) admin.site.register(Image,ImageAdmin) admin.site.register(Location) admin.site.register(Category)
24.166667
50
0.793103
37
290
6.216216
0.459459
0.156522
0.295652
0
0
0
0
0
0
0
0
0
0.07931
290
11
51
26.363636
0.861423
0
0
0
0
0
0.062069
0
0
0
0
0
0
1
0
false
0
0.25
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
671e7f1fa56e26d87aa128d0049545339cec7ba0
1,019
py
Python
homeassistant/helpers/network.py
m2hofi94/home-assistant
288ae8b1e7cdbbdcb6d055eaea09445cc3dc4064
[ "Apache-2.0" ]
3
2020-10-23T14:39:11.000Z
2021-02-17T14:40:17.000Z
homeassistant/helpers/network.py
m2hofi94/home-assistant
288ae8b1e7cdbbdcb6d055eaea09445cc3dc4064
[ "Apache-2.0" ]
3
2021-02-08T20:54:46.000Z
2021-09-08T02:30:04.000Z
homeassistant/helpers/network.py
m2hofi94/home-assistant
288ae8b1e7cdbbdcb6d055eaea09445cc3dc4064
[ "Apache-2.0" ]
4
2020-05-30T08:19:47.000Z
2021-05-14T11:39:19.000Z
"""Network helpers.""" from typing import Optional, cast from ipaddress import ip_address import yarl from homeassistant.core import HomeAssistant, callback from homeassistant.loader import bind_hass from homeassistant.util.network import is_local @bind_hass @callback def async_get_external_url(hass: HomeAssistant)...
26.128205
73
0.705594
138
1,019
5.065217
0.449275
0.051502
0.040057
0.051502
0.060086
0
0
0
0
0
0
0.002528
0.223749
1,019
38
74
26.815789
0.881163
0.21001
0
0.26087
0
0
0.006402
0
0
0
0
0
0
1
0.043478
false
0.086957
0.26087
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
671ebb72439733d0cfd01f0a6781d0828dc8a73b
10,392
py
Python
scraper.py
404notfound-3/ig-profile-scraper
eb6ee0d986e596a18254156aac759c2a5acfb4a7
[ "MIT" ]
8
2020-09-10T18:35:30.000Z
2022-02-17T02:35:15.000Z
scraper.py
404notfound-3/ig-profile-scraper
eb6ee0d986e596a18254156aac759c2a5acfb4a7
[ "MIT" ]
null
null
null
scraper.py
404notfound-3/ig-profile-scraper
eb6ee0d986e596a18254156aac759c2a5acfb4a7
[ "MIT" ]
1
2021-09-13T21:06:24.000Z
2021-09-13T21:06:24.000Z
import csv import time import json import random import subprocess from os import path, name from selenium import webdriver from traceback import format_exc from bs4 import BeautifulSoup as bs from pyvirtualdisplay import Display from config import URL, slack, proxies, date, timee, weekday, lps, lprint, get_tor_ip, ren...
57.414365
168
0.670804
1,455
10,392
4.630241
0.254983
0.041562
0.042304
0.053585
0.298649
0.257681
0.249072
0.243877
0.211964
0.172926
0
0.016651
0.167821
10,392
181
169
57.414365
0.762373
0.161182
0
0.072368
0
0.019737
0.310962
0.06977
0
0
0
0
0
1
0.059211
false
0.052632
0.072368
0.006579
0.151316
0.059211
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6720ef6995a5e73f2bb49aadd0909b027cac2cbe
302
py
Python
pythonDesafios/aula11.py
mateusdev7/desafios-python
6160ddc84548c7af7f5775f9acabe58238f83008
[ "MIT" ]
null
null
null
pythonDesafios/aula11.py
mateusdev7/desafios-python
6160ddc84548c7af7f5775f9acabe58238f83008
[ "MIT" ]
null
null
null
pythonDesafios/aula11.py
mateusdev7/desafios-python
6160ddc84548c7af7f5775f9acabe58238f83008
[ "MIT" ]
null
null
null
# Trabalhando com cores no terminal x = int(input('Digite um valor: ')) y = int(input('Digite outro valor: ')) media = (x + y) / 2 if media >= 6: print(f'Parabens você foi aprovador com a media {media}') else: print(f'Sua \033[31mmédia {media}\033[m não foi suficiente... Continue estudando')
30.2
86
0.668874
48
302
4.208333
0.6875
0.079208
0.138614
0
0
0
0
0
0
0
0
0.040486
0.182119
302
9
87
33.555556
0.777328
0.109272
0
0
0
0
0.58427
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6723058c1b34395281870b67f374870810ec4b0c
3,111
py
Python
assignment4/color_grid/cgp_solver.py
Peiffap/lingi2261-assignments
63413c0731617bc9865fba4d6d65a53550d0b684
[ "MIT" ]
null
null
null
assignment4/color_grid/cgp_solver.py
Peiffap/lingi2261-assignments
63413c0731617bc9865fba4d6d65a53550d0b684
[ "MIT" ]
null
null
null
assignment4/color_grid/cgp_solver.py
Peiffap/lingi2261-assignments
63413c0731617bc9865fba4d6d65a53550d0b684
[ "MIT" ]
null
null
null
from clause import * """ For the color grid problem, the only code you have to do is in this file. You should replace # your code here by a code generating a list of clauses modeling the grid color problem for the input file. You should build clauses using the Clause class defined in clause.py Read the comment on...
38.8875
82
0.496946
347
3,111
4.386167
0.244957
0.086728
0.086728
0.051248
0.340342
0.285151
0.285151
0.285151
0.285151
0.180026
0
0.026184
0.423015
3,111
79
83
39.379747
0.821727
0.073288
0
0
0
0
0.00316
0
0
0
0
0.012658
0
1
0.02
false
0
0.02
0
0.06
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6726605012cdc3ab65bd31f4fda15697f7d05187
738
py
Python
ex21.py
phyuthinzarmg/python-exercises
cfa907dd45623c1c58b96f3588af04e1e7b452ff
[ "MIT" ]
null
null
null
ex21.py
phyuthinzarmg/python-exercises
cfa907dd45623c1c58b96f3588af04e1e7b452ff
[ "MIT" ]
null
null
null
ex21.py
phyuthinzarmg/python-exercises
cfa907dd45623c1c58b96f3588af04e1e7b452ff
[ "MIT" ]
null
null
null
def add(a, b): 2 print(f"ADDING {a} + {b}") 3 return a + b 4 5 def subtract(a, b): 6 print(f"SUBTRACTING {a} - {b}") 7 return a - b 8 9 def multiply(a, b): 10 print(f"MULTIPLYING {a} * {b}") 11 return a * b 12 13 def divide(a, b): 14 print(f"DIVIDING {a} / {b}") 15 return a / b 16 17 18 print("Let's do some math with j...
21.705882
69
0.638211
150
738
3.14
0.526667
0.050955
0.067941
0
0
0
0
0
0
0
0
0.116861
0.188347
738
33
70
22.363636
0.669449
0.066396
0
0
0
0
0.326055
0
0
0
0
0
0
0
null
null
0
0
null
null
0.242424
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6727d6bd3154e799946cf632e4ade5023705436b
4,863
py
Python
MDX_codes/Motorsteps.py
Lord-Doubi/MDX_Spin_Local
37ad0a16c95f83398db6a1830794cd1116e64f4a
[ "MIT" ]
null
null
null
MDX_codes/Motorsteps.py
Lord-Doubi/MDX_Spin_Local
37ad0a16c95f83398db6a1830794cd1116e64f4a
[ "MIT" ]
null
null
null
MDX_codes/Motorsteps.py
Lord-Doubi/MDX_Spin_Local
37ad0a16c95f83398db6a1830794cd1116e64f4a
[ "MIT" ]
null
null
null
import Spin as s import GPIOcontrol as gp import threading import Cameracontrol as cc import picturemanipulation as pm import os as oss import serial import time ser = serial.Serial( port='/dev/ttyUSB0', baudrate=9600, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, bytesize=serial.EIGHTBITS ) ...
27.630682
64
0.586058
721
4,863
3.947295
0.212205
0.069571
0.140197
0.166901
0.568517
0.523893
0.498946
0.485945
0.441673
0.410049
0
0.05694
0.248818
4,863
175
65
27.788571
0.722146
0.149907
0
0.548148
0
0
0.05846
0.037085
0
0
0
0
0
1
0.044444
false
0.007407
0.059259
0
0.103704
0.014815
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
67285e97422f7d40c45aeddf19631465fde26c2a
2,749
py
Python
var/spack/repos/builtin/packages/camp/package.py
healther/spack
389e9c11f6927ea27d629ed0e77ca0a52e402bc9
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
14
2019-12-17T17:40:32.000Z
2021-12-13T20:32:32.000Z
var/spack/repos/builtin/packages/camp/package.py
healther/spack
389e9c11f6927ea27d629ed0e77ca0a52e402bc9
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
72
2019-12-21T16:55:38.000Z
2022-03-22T20:40:13.000Z
var/spack/repos/builtin/packages/camp/package.py
healther/spack
389e9c11f6927ea27d629ed0e77ca0a52e402bc9
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
3
2020-02-21T18:06:57.000Z
2021-12-03T18:39:48.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Camp(CMakePackage, CudaPackage): """ Compiler agnostic metaprogramming library providi...
35.701299
95
0.61877
340
2,749
4.902941
0.467647
0.025195
0.025195
0.032394
0.095981
0.082783
0.026395
0
0
0
0
0.046523
0.241542
2,749
76
96
36.171053
0.752998
0.241179
0
0.090909
0
0.022727
0.319066
0.074903
0
0
0
0.013158
0
1
0.022727
false
0
0.022727
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6734cfe2daa19d673170f48120fa1b405492dbb8
3,814
py
Python
tools/create_class.py
gsage/portAudioPlugin
852aadb39ab558f71d8b29007d1a0da663b28b4f
[ "MIT" ]
null
null
null
tools/create_class.py
gsage/portAudioPlugin
852aadb39ab558f71d8b29007d1a0da663b28b4f
[ "MIT" ]
null
null
null
tools/create_class.py
gsage/portAudioPlugin
852aadb39ab558f71d8b29007d1a0da663b28b4f
[ "MIT" ]
1
2016-08-17T23:17:26.000Z
2016-08-17T23:17:26.000Z
#!/usr/bin/python """ ----------------------------------------------------------------------------- This file is a part of Gsage engine Copyright (c) 2014-2016 Artem Chernyshev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwa...
40.147368
128
0.701363
550
3,814
4.747273
0.350909
0.025278
0.045576
0.016086
0.153964
0.083876
0.055917
0.055917
0
0
0
0.002767
0.14709
3,814
94
129
40.574468
0.799877
0.009439
0
0.115385
0
0
0.196813
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
673b5da057216f53d4963e6f4bea968b154baf68
5,854
py
Python
seqRead.py
MatthewCarse/evolve
ada8e65a5c67a64eecc16d874f2785d56b8c155c
[ "MIT" ]
1
2021-06-27T21:52:20.000Z
2021-06-27T21:52:20.000Z
seqRead.py
MatthewCarse/evolve
ada8e65a5c67a64eecc16d874f2785d56b8c155c
[ "MIT" ]
null
null
null
seqRead.py
MatthewCarse/evolve
ada8e65a5c67a64eecc16d874f2785d56b8c155c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jun 21 2016 @author: Matthew Carse """ #@ Class to read peptide sequences from a file. #@ Each sequence in the dataset is checked for numbers, length and composition. #@ If the sequence contains >25% abundance of a base (A, C, T or G) the user is #@ asked whether th...
47.983607
138
0.531602
661
5,854
4.679274
0.313162
0.024895
0.017782
0.023278
0.248303
0.227611
0.227611
0.192693
0.192693
0.164242
0
0.015031
0.374957
5,854
121
139
48.380165
0.830282
0.281346
0
0.287671
0
0.013699
0.16992
0
0
0
0
0
0
0
null
null
0
0.013699
null
null
0.09589
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
673c03469788e790aa6771307ef9736422adb648
1,050
py
Python
poc-backend/dashboard/es_models.py
coder-baymax/taxi-poc-aws
4be8021873ee6b58b2dba5a5d41df12cdd3b67fc
[ "MIT" ]
null
null
null
poc-backend/dashboard/es_models.py
coder-baymax/taxi-poc-aws
4be8021873ee6b58b2dba5a5d41df12cdd3b67fc
[ "MIT" ]
null
null
null
poc-backend/dashboard/es_models.py
coder-baymax/taxi-poc-aws
4be8021873ee6b58b2dba5a5d41df12cdd3b67fc
[ "MIT" ]
null
null
null
from elasticsearch_dsl import Document, Date, GeoPoint, Keyword, Long, Integer, Double class TripRecord(Document): vendor_type = Integer() passenger_count = Integer() trip_distance = Double() total_amount = Double() pick_up_time = Date() drop_off_time = Date() duration = Long() speed =...
25.609756
86
0.664762
115
1,050
5.747826
0.356522
0.072617
0.06354
0
0
0
0
0
0
0
0
0
0.239048
1,050
40
87
26.25
0.827284
0
0
0.176471
0
0
0.034286
0
0
0
0
0
0
1
0
false
0.029412
0.029412
0
0.882353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6741e28c38bd63c476918428f135dbefb4c5b4b5
1,112
py
Python
tests/decisions/b03_test.py
benoitc/pywebmachine
ee32a61e0dbcd89bc04391554968bd0b43f4c1cd
[ "MIT" ]
5
2015-03-29T03:20:10.000Z
2020-01-21T11:07:47.000Z
tests/decisions/b03_test.py
benoitc/pywebmachine
ee32a61e0dbcd89bc04391554968bd0b43f4c1cd
[ "MIT" ]
null
null
null
tests/decisions/b03_test.py
benoitc/pywebmachine
ee32a61e0dbcd89bc04391554968bd0b43f4c1cd
[ "MIT" ]
1
2015-07-18T03:26:39.000Z
2015-07-18T03:26:39.000Z
import t class b03(t.Test): class TestResource(t.Resource): def allowed_methods(self, req, rsp): return ["GET", "OPTIONS"] def options(self, req, rsp): return [("X-Noah", "Awesome")] def to_html(self, req, rsp): return "Hello, world!" def...
27.8
53
0.542266
153
1,112
3.862745
0.300654
0.040609
0.094755
0.135364
0.255499
0.201354
0.201354
0.201354
0.201354
0.201354
0
0.014379
0.31205
1,112
40
54
27.8
0.75817
0.042266
0
0.2
0
0
0.091251
0
0
0
0
0
0
1
0.233333
false
0
0.033333
0.1
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6745b53e22bad8d9b95d4fc06bba51ca52bb956b
1,965
py
Python
tests/functions.py
fuzziqersoftware/nemesys
ee6cc8e1fd804b5cfaa94a79e295770cadec8204
[ "MIT" ]
9
2018-02-05T06:52:02.000Z
2022-03-27T18:26:14.000Z
tests/functions.py
fuzziqersoftware/nemesys
ee6cc8e1fd804b5cfaa94a79e295770cadec8204
[ "MIT" ]
1
2021-05-17T16:53:12.000Z
2021-05-31T11:19:28.000Z
tests/functions.py
fuzziqersoftware/nemesys
ee6cc8e1fd804b5cfaa94a79e295770cadec8204
[ "MIT" ]
3
2018-02-06T17:24:34.000Z
2021-11-16T17:20:28.000Z
import test_globals from test_globals import y, z, get_z z = 10 # check if basic argument passing and global references within functions work def g(v): print('in g(), z is ' + repr(z) + ' and y is ' + repr(y) + ' and v is ' + repr(v)) return v # check if local names override global names in the function scope de...
32.75
84
0.610178
382
1,965
3.054974
0.240838
0.113111
0.077121
0.077121
0.305056
0.191945
0.174807
0.138817
0.108826
0.087404
0
0.031088
0.214249
1,965
59
85
33.305085
0.724741
0.22341
0
0.046512
0
0
0.210145
0
0
0
0
0
0
1
0.069767
false
0
0.046512
0
0.186047
0.511628
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6747e954ab72d8d9d7788447627838c1e6258a5c
1,200
py
Python
wagtailnews/blocks.py
Taywee/wagtailnews-collection
526e6d36a16b490822032e6255e6ac914af498a0
[ "BSD-2-Clause" ]
1
2017-10-04T14:34:09.000Z
2017-10-04T14:34:09.000Z
wagtailnews/blocks.py
Taywee/wagtailnews-collection
526e6d36a16b490822032e6255e6ac914af498a0
[ "BSD-2-Clause" ]
null
null
null
wagtailnews/blocks.py
Taywee/wagtailnews-collection
526e6d36a16b490822032e6255e6ac914af498a0
[ "BSD-2-Clause" ]
null
null
null
from django.utils.functional import cached_property from wagtail.wagtailcore.blocks import ChooserBlock from wagtail.wagtailcore.utils import resolve_model_string class NewsChooserBlock(ChooserBlock): """ A StreamField block for editors to pick a news item. Takes the news item class as its only argument. ...
30
72
0.669167
129
1,200
6.023256
0.449612
0.113256
0.096525
0.079794
0.072072
0
0
0
0
0
0
0
0.240833
1,200
39
73
30.769231
0.852909
0.251667
0
0.1
0
0
0.018824
0
0
0
0
0
0
1
0.2
false
0
0.2
0.05
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
674bbcfafbc750bfd7c522b835614e6d6b22c85f
4,828
py
Python
FileUtils.py
slicol/UE4ModuleTools
d9620b582cdcf61d171cfc53ab76e147657043f2
[ "MIT" ]
4
2021-02-02T09:47:23.000Z
2021-03-21T14:55:20.000Z
FileUtils.py
slicol/UE4ModuleTools
d9620b582cdcf61d171cfc53ab76e147657043f2
[ "MIT" ]
null
null
null
FileUtils.py
slicol/UE4ModuleTools
d9620b582cdcf61d171cfc53ab76e147657043f2
[ "MIT" ]
1
2021-11-01T12:29:54.000Z
2021-11-01T12:29:54.000Z
import os import logging import chardet import re ######################################################################## def StringEndswith(str, suffix): if isinstance(suffix,list): for tmp in suffix: if str.endswith(tmp): return True pass pass else: ...
24.886598
77
0.498964
493
4,828
4.809331
0.231237
0.026993
0.032898
0.026993
0.290173
0.252214
0.252214
0.224378
0.199916
0.199916
0
0.01817
0.373032
4,828
193
78
25.015544
0.765114
0
0
0.569697
0
0
0.038223
0
0
0
0.008542
0
0
1
0.054545
false
0.163636
0.024242
0
0.187879
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
674dca9040332d8c125e839ffd3a432fb00fc720
2,281
py
Python
bcipy/acquisition/protocols/dsi/dsi.py
theGreenJedi/BciPy
222ac9b79f1ab3374e888be9e9b8d86f88d1bc82
[ "MIT" ]
1
2020-07-28T16:59:24.000Z
2020-07-28T16:59:24.000Z
bcipy/acquisition/protocols/dsi/dsi.py
sci-tab/BciPy
6f3aaa8cefaa198f66567f9de829c7eda5dbf686
[ "MIT" ]
5
2021-06-08T23:56:19.000Z
2022-03-12T00:57:00.000Z
bcipy/acquisition/protocols/dsi/dsi.py
sci-tab/BciPy
6f3aaa8cefaa198f66567f9de829c7eda5dbf686
[ "MIT" ]
null
null
null
# pylint: disable=fixme,invalid-name """ Binary protocol for DSI; ported to construct 2.8 from the original rsvpkeyboard app. """ from construct import (Array, Bytes, Const, Embedded, Enum, Float32b, Int8ub, Int16ub, Int32ub, Optional, PascalString, Struct, Switch, this) D...
35.640625
79
0.491013
246
2,281
4.455285
0.585366
0.025547
0.016423
0
0
0
0
0
0
0
0
0.079096
0.37922
2,281
63
80
36.206349
0.694915
0.237615
0
0
0
0
0.119534
0
0
0
0
0.031746
0
1
0
false
0
0.023256
0
0.023256
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6758564c1649e79fd82b580708ba20582bf85ae8
5,409
py
Python
deep500/frameworks/reference/distributed_optimizers.py
khoaideptrai/deep500
0953038f64bc73c8d41d01796e07d3a23ca97822
[ "BSD-3-Clause" ]
90
2019-01-02T22:49:08.000Z
2022-02-17T21:11:38.000Z
deep500/frameworks/reference/distributed_optimizers.py
khoaideptrai/deep500
0953038f64bc73c8d41d01796e07d3a23ca97822
[ "BSD-3-Clause" ]
4
2019-02-14T16:19:06.000Z
2022-01-11T17:54:42.000Z
deep500/frameworks/reference/distributed_optimizers.py
khoaideptrai/deep500
0953038f64bc73c8d41d01796e07d3a23ca97822
[ "BSD-3-Clause" ]
24
2019-01-09T18:09:44.000Z
2022-01-10T13:04:42.000Z
import abc from deep500.lv2.optimizer import ThreeStepOptimizer from deep500.lv3.distributed_optimizer import DistributedOptimizer from deep500.lv3.communication import CommunicationNetwork import numpy as np class ConsistentParameterServer(DistributedOptimizer): def step(self, inputs): self.base_optim...
45.838983
105
0.675541
660
5,409
5.336364
0.181818
0.065872
0.139977
0.07155
0.740488
0.695911
0.677172
0.658717
0.647076
0.630324
0
0.007992
0.236643
5,409
117
106
46.230769
0.844999
0.069144
0
0.647059
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6759a1f5d0f814b42bba666f456f87db68609afb
1,917
py
Python
vol2/vol2-python-examples/examples/capstone_titanic/run_milestone3.py
Sun-Joong/aifh
1b6363d26f54b77348020ce88ced0670568ed736
[ "Apache-2.0" ]
777
2015-01-17T22:48:26.000Z
2022-03-31T01:10:07.000Z
vol2/vol2-python-examples/examples/capstone_titanic/run_milestone3.py
Sun-Joong/aifh
1b6363d26f54b77348020ce88ced0670568ed736
[ "Apache-2.0" ]
17
2015-01-02T14:41:24.000Z
2017-09-02T02:57:09.000Z
vol2/vol2-python-examples/examples/capstone_titanic/run_milestone3.py
Sun-Joong/aifh
1b6363d26f54b77348020ce88ced0670568ed736
[ "Apache-2.0" ]
445
2015-01-26T17:01:49.000Z
2022-03-24T07:16:58.000Z
#!/usr/bin/env python """ Artificial Intelligence for Humans Volume 2: Nature-Inspired Algorithms Python Version http://www.aifh.org http://www.jeffheaton.com Code repository: https://github.com/jeffheaton/aifh Copyright 2014 by Jeff Heaton Licensed under the Apache License, Versi...
30.428571
103
0.739697
279
1,917
4.996416
0.508961
0.043042
0.019369
0.030129
0.075323
0.075323
0.075323
0
0
0
0
0.009482
0.174752
1,917
63
104
30.428571
0.871681
0.501826
0
0
0
0
0.109954
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6761ca5b626231090b266682277eedcc24f072f4
920
py
Python
src/utils/history_queue.py
mayerjRRR/TricycleGAN
6c0ef0a258266599a7eb35d2a1dac437f7068346
[ "MIT" ]
2
2019-09-23T21:28:49.000Z
2019-09-23T21:49:12.000Z
src/utils/history_queue.py
mayerjRRR/TricycleGAN
6c0ef0a258266599a7eb35d2a1dac437f7068346
[ "MIT" ]
null
null
null
src/utils/history_queue.py
mayerjRRR/TricycleGAN
6c0ef0a258266599a7eb35d2a1dac437f7068346
[ "MIT" ]
null
null
null
import random class HistoryQueue(object): def __init__(self, size=50): self.buffer_size = size self.current_size = 0 self.buffer = [] def query(self, input_element): if self.buffer_size == 0: return input_element if self.current_size < self.buffer_size: ...
27.878788
61
0.642391
112
920
4.991071
0.25
0.214669
0.100179
0.064401
0
0
0
0
0
0
0
0.012085
0.280435
920
32
62
28.75
0.832326
0
0
0.12
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.04
0
0.48
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6761f01c7b619f09b83ed5c27d2bbb06509b3db0
1,346
py
Python
05/solve.py
englhardt/adventofcode2019
b401b39020e23482bc88e947a361274809a61f79
[ "MIT" ]
null
null
null
05/solve.py
englhardt/adventofcode2019
b401b39020e23482bc88e947a361274809a61f79
[ "MIT" ]
null
null
null
05/solve.py
englhardt/adventofcode2019
b401b39020e23482bc88e947a361274809a61f79
[ "MIT" ]
null
null
null
def run(d, io): def get_val(imm, i): return d[i] if imm else d[d[i]] i = 0 output = None while True: instr = d[i] % 100 imm_a, imm_b = d[i] // 100 % 10 == 1, d[i] // 1000 == 1 if instr == 1: d[d[i+3]] = get_val(imm_a, i+1) + get_val(imm_b, i+2) i +...
29.911111
71
0.399703
227
1,346
2.23348
0.202643
0.177515
0.266272
0.157791
0.518738
0.518738
0.4714
0.4714
0.4714
0.4714
0
0.074122
0.428678
1,346
44
72
30.590909
0.585176
0
0
0.295455
0
0
0.007429
0
0
0
0
0
0.022727
1
0.045455
false
0
0
0.022727
0.090909
0.045455
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
676590bca6b9d44b3196ec7e627d30e6e9e0a546
1,230
py
Python
src/sentry/relay/query.py
xiaotian45123/sentry
93428feeaa495cc36c5dcab90f3bb2bb967dd311
[ "BSD-3-Clause" ]
1
2019-07-29T16:21:39.000Z
2019-07-29T16:21:39.000Z
src/sentry/relay/query.py
xiaotian45123/sentry
93428feeaa495cc36c5dcab90f3bb2bb967dd311
[ "BSD-3-Clause" ]
1
2020-11-05T14:54:44.000Z
2020-11-19T21:54:19.000Z
src/sentry/relay/query.py
xiaotian45123/sentry
93428feeaa495cc36c5dcab90f3bb2bb967dd311
[ "BSD-3-Clause" ]
1
2017-02-09T06:36:57.000Z
2017-02-09T06:36:57.000Z
from __future__ import absolute_import from importlib import import_module import six from sentry.relay.queries.base import InvalidQuery from sentry.relay.utils import type_to_class_name def execute_queries(relay, queries): query_results = {} for query_id, query in six.iteritems(queries): try: ...
30
92
0.547154
124
1,230
5.209677
0.403226
0.051084
0.04644
0.04644
0
0
0
0
0
0
0
0
0.363415
1,230
40
93
30.75
0.825032
0.044715
0
0.28125
0
0
0.076726
0.019608
0
0
0
0.025
0
1
0.03125
false
0
0.21875
0
0.28125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6766944bad7dcb06b108679ede53c093ef7f27f5
3,001
py
Python
developer_tools/dymola_python_testing/ModelicaPy/buildingspy/tests/test_examples_dymola.py
klfrick2/HYBRID
d8a82bcdb9d0516a22205eed0de75f63764fa004
[ "ECL-2.0", "Apache-2.0" ]
16
2021-02-10T21:37:01.000Z
2022-02-20T13:25:11.000Z
developer_tools/dymola_python_testing/ModelicaPy/buildingspy/tests/test_examples_dymola.py
klfrick2/HYBRID
d8a82bcdb9d0516a22205eed0de75f63764fa004
[ "ECL-2.0", "Apache-2.0" ]
11
2021-03-16T14:33:34.000Z
2022-02-15T19:05:55.000Z
developer_tools/dymola_python_testing/ModelicaPy/buildingspy/tests/test_examples_dymola.py
klfrick2/HYBRID
d8a82bcdb9d0516a22205eed0de75f63764fa004
[ "ECL-2.0", "Apache-2.0" ]
8
2021-06-03T00:22:26.000Z
2022-03-14T21:47:39.000Z
#Licensed under Apache 2.0 License. #© 2020 Battelle Energy Alliance, LLC #ALL RIGHTS RESERVED #. #Prepared by Battelle Energy Alliance, LLC #Under Contract No. DE-AC07-05ID14517 #With the U. S. Department of Energy #. #NOTICE: This computer software was prepared by Battelle Energy #Alliance, LLC, hereinafter the Cont...
38.974026
77
0.714762
383
3,001
5.563969
0.428198
0.062412
0.070389
0.035195
0.326607
0.240263
0.193336
0.137025
0.137025
0.137025
0
0.010139
0.211263
3,001
76
78
39.486842
0.889734
0.656781
0
0.15
0
0
0.077283
0.031616
0
0
0
0
0
1
0.2
false
0
0.3
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
676721c646be70daf8fda9865fe47a93de17d882
797
py
Python
api/schema/language/schema.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
1
2022-03-03T09:55:57.000Z
2022-03-03T09:55:57.000Z
api/schema/language/schema.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
7
2022-02-09T10:44:53.000Z
2022-03-28T03:29:43.000Z
api/schema/language/schema.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
null
null
null
import graphene from graphene import ObjectType, relay from graphene_django import DjangoObjectType from db.models import Language as LanguageModel class Language(DjangoObjectType): class Meta: model = LanguageModel interfaces = (relay.Node, ) fields = ('name', ) class LanguageConnecti...
25.709677
81
0.683814
78
797
6.910256
0.525641
0.06679
0.055659
0.103896
0.12987
0
0
0
0
0
0
0
0.239649
797
30
82
26.566667
0.889439
0
0
0.1
0
0
0.016311
0
0
0
0
0
0
1
0.05
false
0
0.2
0
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
67679a726a0df9c8250bea8a1033e0c0a90b8168
1,139
py
Python
Desafios/Mundo 1/ex010.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
Desafios/Mundo 1/ex010.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
Desafios/Mundo 1/ex010.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
# EXERCÍCIO 10 # Crie um programa que leia quanto dinheiro uma pessoa tem na carteira e mostre quantos dólares ela pode comprar. # CONSIDERE A COTAÇÃO ABAIXO -> MOEDA REAL BR SENDO COMPARADA COM AS DEMAIS MOEDAS # DATA: 27/08/2020 # LINK: https://www.bcb.gov.br/conversao # DÓLAR EUA = R$ 0.1787118 # EURO = € 0.151116...
40.678571
113
0.71115
160
1,139
4.75
0.4625
0.086842
0.059211
0.085526
0.202632
0.202632
0.107895
0.107895
0.107895
0.107895
0
0.101852
0.14662
1,139
27
114
42.185185
0.679012
0.404741
0
0.153846
0
0
0.352853
0
0
0
0
0
0
1
0
false
0
0
0
0
0.538462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
676879004e6669c9a48c4d1d628c534675a2673d
2,141
py
Python
scripts/archive/2d-gen-direct-kml.py
lpenuelac/ImageAnalysis
a01b1278cca92e45fef6f5e41d1310cfbb041308
[ "MIT" ]
93
2015-11-26T14:15:51.000Z
2022-03-10T13:54:21.000Z
scripts/archive/2d-gen-direct-kml.py
lpenuelac/ImageAnalysis
a01b1278cca92e45fef6f5e41d1310cfbb041308
[ "MIT" ]
19
2017-04-06T11:09:21.000Z
2022-03-05T20:12:39.000Z
scripts/archive/2d-gen-direct-kml.py
lpenuelac/ImageAnalysis
a01b1278cca92e45fef6f5e41d1310cfbb041308
[ "MIT" ]
30
2017-06-12T16:08:51.000Z
2022-01-28T17:34:04.000Z
#!/usr/bin/python import sys sys.path.insert(0, "/usr/local/opencv-2.4.11/lib/python2.7/site-packages/") import argparse import commands import cv2 import fnmatch import numpy as np import os.path import random import navpy import simplekml sys.path.append('../lib') import Pose import ProjectMgr import SRTM import ...
28.546667
77
0.700607
302
2,141
4.874172
0.460265
0.040761
0.043478
0.023098
0.050272
0.050272
0.050272
0
0
0
0
0.016
0.182625
2,141
74
78
28.932432
0.825143
0.226997
0
0
0
0.020833
0.091849
0.032238
0
0
0
0
0
0
null
null
0
0.291667
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6769c94b799634ba3e6d8031bbe55b2d01317b9d
219
py
Python
backend/mypkg/tweet.py
DKeen0123/SentiMind
0ffb702e88879b3e2e02d3d94a703b1f8a785bd3
[ "MIT" ]
5
2018-04-09T16:47:53.000Z
2018-07-05T11:03:25.000Z
backend/mypkg/tweet.py
DKeen0123/SentiMind
0ffb702e88879b3e2e02d3d94a703b1f8a785bd3
[ "MIT" ]
2
2018-04-09T17:40:40.000Z
2020-07-07T21:12:07.000Z
backend/mypkg/tweet.py
marcusfgardiner/SentiMind
d14b366ab36190df0bf3c867a149b7260ed1e2e4
[ "MIT" ]
3
2018-04-12T22:14:55.000Z
2018-04-17T10:36:58.000Z
class Tweet: 'Wraps #user, #text and #sentiment' def __init__(self, user, text, id): self.user = user self.text = text self.id = id self.polarity = None self.sentiment = None
19.909091
38
0.570776
28
219
4.321429
0.464286
0.132231
0
0
0
0
0
0
0
0
0
0
0.324201
219
10
39
21.9
0.817568
0.150685
0
0
0
0
0.150685
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
676b6bdf7d736515787d67993e7a7e3e08dc9431
3,366
py
Python
muddery/utils/attributes_info_handler.py
MarsZone/DreamLand
87455f421c1ba09cb6efd5fc0882fbc2a29ea1a5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
muddery/utils/attributes_info_handler.py
MarsZone/DreamLand
87455f421c1ba09cb6efd5fc0882fbc2a29ea1a5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
muddery/utils/attributes_info_handler.py
MarsZone/DreamLand
87455f421c1ba09cb6efd5fc0882fbc2a29ea1a5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
""" Handles characters attributes. """ from muddery.utils.localized_strings_handler import _ from muddery.worlddata.data_sets import DATA_SETS class AttributesInfoHandler(object): """ Handles character attribute's information. """ def __init__(self, model_data_handler, info_data_handler): """...
27.818182
114
0.563874
370
3,366
4.948649
0.210811
0.034954
0.034954
0.032769
0.260513
0.060076
0
0
0
0
0
0
0.342246
3,366
120
115
28.05
0.82701
0.033868
0
0.071429
0
0
0.022542
0
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
676d384f753d0b4fd25c8c1779a001445fd3ce6f
1,505
py
Python
pystacking/models/catboost.py
vhdeluca/PyStacking
30f72934eb2335baff45faf0b901a214aed88b23
[ "MIT" ]
null
null
null
pystacking/models/catboost.py
vhdeluca/PyStacking
30f72934eb2335baff45faf0b901a214aed88b23
[ "MIT" ]
null
null
null
pystacking/models/catboost.py
vhdeluca/PyStacking
30f72934eb2335baff45faf0b901a214aed88b23
[ "MIT" ]
null
null
null
""" CatBoost Further information: https://github.com/catboost/catboost """ import catboost as ctb import pandas as pd from dmle.stacking.node import Node class CatBoost(Node): """ xxxx """ def __init__(self): """ ccc """ Node.__init__(self) self.model_type = 'catboost' self....
26.403509
105
0.609967
188
1,505
4.702128
0.409574
0.076923
0.015837
0.067873
0.076923
0
0
0
0
0
0
0.002737
0.271761
1,505
56
106
26.875
0.803832
0.209967
0
0
0
0
0.076655
0
0
0
0
0
0
1
0.153846
false
0
0.269231
0
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
676e7133e7b55f3a2c2e99c2009ff419e9836d50
272
py
Python
saleor/order/migrations/0117_merge_20210903_1013.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
15,337
2015-01-12T02:11:52.000Z
2021-10-05T19:19:29.000Z
saleor/order/migrations/0117_merge_20210903_1013.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
7,486
2015-02-11T10:52:13.000Z
2021-10-06T09:37:15.000Z
saleor/order/migrations/0117_merge_20210903_1013.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
5,864
2015-01-16T14:52:54.000Z
2021-10-05T23:01:15.000Z
# Generated by Django 3.2.6 on 2021-09-03 10:13 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("order", "0115_alter_order_language_code"), ("order", "0116_merge_20210824_1103"), ] operations = []
19.428571
52
0.665441
34
272
5.117647
0.852941
0
0
0
0
0
0
0
0
0
0
0.163551
0.213235
272
13
53
20.923077
0.649533
0.165441
0
0
1
0
0.284444
0.24
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
67701ef5da6f07c54eedf6a4abd95c077d3183b3
508
py
Python
config/urls.py
Svjard/bonvoyage
608c44bbfda0305bf2c71de84ff27c340d389288
[ "MIT" ]
1
2016-05-17T02:55:14.000Z
2016-05-17T02:55:14.000Z
config/urls.py
Svjard/flightpath
608c44bbfda0305bf2c71de84ff27c340d389288
[ "MIT" ]
null
null
null
config/urls.py
Svjard/flightpath
608c44bbfda0305bf2c71de84ff27c340d389288
[ "MIT" ]
null
null
null
from django.conf.urls import include, patterns, url from django.contrib import admin urlpatterns = patterns( '', url(r'', include('main.urls')), url(r'^api/v1/', include('authentication.urls')), url(r'^api/v1/', include('posts.urls')), url(r'^admin/', include(admin.site.urls)) ) urlpatterns += [ url(r'^ap...
23.090909
51
0.665354
67
508
5.014925
0.432836
0.071429
0.071429
0.089286
0.220238
0.119048
0
0
0
0
0
0.004525
0.129921
508
21
52
24.190476
0.755656
0.096457
0
0.125
0
0
0.256579
0
0
0
0
0.047619
0
1
0
false
0
0.125
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
0
0
0
0
0
0
0
0
0
0
1
677efe46a063453f28d852ba858aa8c53982a2e4
1,234
py
Python
plugins/bot_Fuck_Bili_Mini_Program.py
AlinJiong/OPQ-SetuBot
7debddf5e414244673e31265c306233ee7f0a0f1
[ "MIT" ]
null
null
null
plugins/bot_Fuck_Bili_Mini_Program.py
AlinJiong/OPQ-SetuBot
7debddf5e414244673e31265c306233ee7f0a0f1
[ "MIT" ]
null
null
null
plugins/bot_Fuck_Bili_Mini_Program.py
AlinJiong/OPQ-SetuBot
7debddf5e414244673e31265c306233ee7f0a0f1
[ "MIT" ]
1
2022-03-08T00:44:29.000Z
2022-03-08T00:44:29.000Z
import re from botoy import GroupMsg, S from botoy import async_decorators as deco import base64 import json from io import BytesIO from pathlib import Path import httpx from PIL import Image, ImageFilter from botoy import FriendMsg, GroupMsg, S, jconfig, logger from botoy.parser import friend as fp from botoy.parser...
27.422222
86
0.63047
160
1,234
4.78125
0.475
0.058824
0.058824
0.049673
0.130719
0
0
0
0
0
0
0.014254
0.26094
1,234
44
87
28.045455
0.824561
0.025932
0
0.166667
0
0
0.050791
0
0
0
0
0
0
1
0
false
0.027778
0.472222
0
0.472222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
67868b883465fa8500244f0b9d892ec652618eff
25,969
py
Python
Server/Python/src/dbs/business/DBSMigrate.py
vkuznet/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
8
2015-08-14T04:01:32.000Z
2021-06-03T00:56:42.000Z
Server/Python/src/dbs/business/DBSMigrate.py
yuyiguo/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
162
2015-01-07T21:34:47.000Z
2021-10-13T09:42:41.000Z
Server/Python/src/dbs/business/DBSMigrate.py
yuyiguo/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
16
2015-01-22T15:27:29.000Z
2021-04-28T09:23:28.000Z
#!/usr/bin/env python #pylint: disable=C0103 """ This module provides dataset migration business object class. """ from __future__ import print_function __revision__ = "$Id: DBSMigrate.py,v 1.17 2010/09/14 14:53:54 yuyi Exp $" __version__ = "$Revision: 1.17 $" from WMCore.DAOFactory import DAOFactory #temporary thin...
44.164966
158
0.595325
2,762
25,969
5.478277
0.169804
0.0458
0.02181
0.012887
0.339898
0.295023
0.219021
0.18439
0.169784
0.146851
0
0.009215
0.314644
25,969
587
159
44.240204
0.840937
0.082444
0
0.335013
0
0.002519
0.160052
0.028233
0
0
0
0.001704
0
0
null
null
0
0.042821
null
null
0.007557
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
678992f6aed3512d9b9b30f6ea81ef80d151e8ed
2,855
py
Python
utensor_cgen/transformer/base.py
neil-tan/utensor_cgen
ffaf692bf6d1f8572039ad7e82e695f97b050cd2
[ "Apache-2.0" ]
null
null
null
utensor_cgen/transformer/base.py
neil-tan/utensor_cgen
ffaf692bf6d1f8572039ad7e82e695f97b050cd2
[ "Apache-2.0" ]
null
null
null
utensor_cgen/transformer/base.py
neil-tan/utensor_cgen
ffaf692bf6d1f8572039ad7e82e695f97b050cd2
[ "Apache-2.0" ]
null
null
null
from abc import ABCMeta, abstractmethod from copy import deepcopy from functools import wraps from utensor_cgen.utils import parse_tensor_name, topologic_order_graph class Transformer(object): """ Any subclass of Transformer should follow the signature of __new__ and __init__ defined here if the overwrite t...
32.443182
106
0.690018
413
2,855
4.484262
0.312349
0.032397
0.042117
0.025918
0.056156
0.045896
0.045896
0.025918
0
0
0
0.000918
0.236778
2,855
87
107
32.816092
0.849013
0.254991
0
0.035714
0
0
0.04298
0
0
0
0
0.011494
0
1
0.089286
false
0.017857
0.071429
0
0.303571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
678ac2d7d60e05c324c23b78432e75e72397a301
841
py
Python
Exercicios/triangulos_semelhantes.py
eduardodarocha/Introducao_Ciencia_da_Computacao_com_Python_Parte_2_Coursera
b5b9198e16b4b67894b85766eb521ae96010accf
[ "MIT" ]
1
2020-08-28T20:29:23.000Z
2020-08-28T20:29:23.000Z
Exercicios/triangulos_semelhantes.py
eduardodarocha/Introducao_Ciencia_da_Computacao_com_Python_Parte_2_Coursera
b5b9198e16b4b67894b85766eb521ae96010accf
[ "MIT" ]
null
null
null
Exercicios/triangulos_semelhantes.py
eduardodarocha/Introducao_Ciencia_da_Computacao_com_Python_Parte_2_Coursera
b5b9198e16b4b67894b85766eb521ae96010accf
[ "MIT" ]
null
null
null
'''Ainda na classe Triangulo, escreva um método semelhantes(triangulo) que recebe um objeto do tipo Triangulo como parâmetro e verifica se o triângulo atual é semelhante ao triângulo passado como parâmetro. Caso positivo, o método deve devolver True. Caso negativo, deve devolver False. Verifique a semelhança dos tri...
40.047619
98
0.65874
126
841
4.365079
0.547619
0.027273
0.021818
0
0
0
0
0
0
0
0
0.022013
0.243757
841
20
99
42.05
0.842767
0.539834
0
0
0
0
0
0
0
0
0
0.1
0
1
0.166667
false
0
0
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
678c12da3c204ade829d38a8c0327eca18d1120a
7,499
py
Python
cs15211/OptimalAccountBalancing.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/OptimalAccountBalancing.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/OptimalAccountBalancing.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/optimal-account-balancing/' # https://github.com/kamyu104/LeetCode/blob/master/Python/optimal-account-balancing.py # Time: O(n * 2^n), n is the size of the debt. # Space: O(n * 2^n) # # Description: 465. Optimal Account Balancing # # A group of friends went on holiday and so...
39.26178
115
0.605947
1,132
7,499
3.999117
0.310071
0.01237
0.016567
0.015905
0.081732
0.052132
0.027391
0.027391
0
0
0
0.036023
0.274437
7,499
191
116
39.26178
0.795993
0.200427
0
0.040984
0
0.131148
0.796271
0.04322
0
0
0
0
0.008197
1
0.016393
false
0
0.016393
0
0.07377
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
678f3c52e59906c79ce6f148c0319e2aab438294
2,166
py
Python
moving.py
FunkyPanda3245/Automatic-Youtube-Playlist-Downloader
5e4451f7fb2c1619baaec3a1cfb5cbb8099160e6
[ "MIT" ]
null
null
null
moving.py
FunkyPanda3245/Automatic-Youtube-Playlist-Downloader
5e4451f7fb2c1619baaec3a1cfb5cbb8099160e6
[ "MIT" ]
null
null
null
moving.py
FunkyPanda3245/Automatic-Youtube-Playlist-Downloader
5e4451f7fb2c1619baaec3a1cfb5cbb8099160e6
[ "MIT" ]
null
null
null
#from __future__ import unicode_literals import subprocess from cgitb import reset from sys import api_version from urllib import request, response from googleapiclient.discovery import build #import pandas as pd import seaborn as sns import yt_dlp import os from youtube_dl import YoutubeDL import pyudev import shuti...
28.88
131
0.686519
295
2,166
4.925424
0.474576
0.044735
0.027529
0.027529
0.079835
0.053682
0.053682
0.053682
0.053682
0.053682
0
0.005587
0.173592
2,166
74
132
29.27027
0.806145
0.232687
0
0
0
0
0.180109
0
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
0.068182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
67988e3e037e6872338afa3a9ffbfaddeb4cf5f2
677
py
Python
ovfiets/importer.py
openbikeshare/fleet
0dbb526c22a489f24395e051fae28e57f11f9200
[ "MIT" ]
5
2018-07-02T11:15:36.000Z
2020-06-24T18:20:31.000Z
ovfiets/importer.py
openbikeshare/fleet
0dbb526c22a489f24395e051fae28e57f11f9200
[ "MIT" ]
2
2018-09-05T17:01:14.000Z
2020-12-10T18:53:07.000Z
ovfiets/importer.py
openbikeshare/fleet
0dbb526c22a489f24395e051fae28e57f11f9200
[ "MIT" ]
2
2018-07-14T22:02:35.000Z
2018-11-21T18:22:15.000Z
import requests import cycle_location class OVFietsImporter(): def import_station(self, id, station): id = "ovfiets:" + id return cycle_location.CycleLocation(id, station["lat"], station["lng"], "ovfiets", "station", station["extra"]["fetchTime"]) def import_json(self, json): ...
29.434783
82
0.598227
74
677
5.378378
0.432432
0.067839
0
0
0
0
0
0
0
0
0
0
0.265879
677
22
83
30.772727
0.800805
0
0
0
0
0
0.138848
0
0
0
0
0
0
1
0.166667
false
0
0.444444
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
679d068613cd8b08e1456894bea8a993767fbe77
21,467
py
Python
pbdc/pbdc.py
jj4jj/pbdc
ff9ec1c11de6a548437aa68ac05e14acc09d8fe4
[ "MIT" ]
1
2018-02-27T13:01:41.000Z
2018-02-27T13:01:41.000Z
pbdc/pbdc.py
jj4jj/pbdc
ff9ec1c11de6a548437aa68ac05e14acc09d8fe4
[ "MIT" ]
null
null
null
pbdc/pbdc.py
jj4jj/pbdc
ff9ec1c11de6a548437aa68ac05e14acc09d8fe4
[ "MIT" ]
null
null
null
#!/bin/python #-*- coding:utf-8 -*- from __future__ import unicode_literals from jinja2 import Template, Environment, TemplateSyntaxError import os import sys import traceback import datetime ######################################################################################################## gtpl_env = Environment...
35.365733
946
0.53538
2,740
21,467
4.044526
0.164599
0.016604
0.008121
0.010106
0.239487
0.180924
0.130843
0.113878
0.101245
0.093665
0
0.013821
0.282107
21,467
606
947
35.424092
0.705275
0.017422
0
0.223529
0
0.003922
0.17484
0.004973
0
0
0
0
0.021569
0
null
null
0
0.019608
null
null
0.005882
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
679e6ad381796ab85a6827659bf3ee57b753c758
387
py
Python
backend/tracker/api/schemas/projects.py
dmitriyvek/Tracker
b2903d0e980c8480e9c9cbecbfa3987997c7f04e
[ "MIT" ]
null
null
null
backend/tracker/api/schemas/projects.py
dmitriyvek/Tracker
b2903d0e980c8480e9c9cbecbfa3987997c7f04e
[ "MIT" ]
null
null
null
backend/tracker/api/schemas/projects.py
dmitriyvek/Tracker
b2903d0e980c8480e9c9cbecbfa3987997c7f04e
[ "MIT" ]
null
null
null
from marshmallow import Schema from marshmallow.fields import Str from marshmallow.validate import Length class ProjectCreationSchema(Schema): title = Str(required=True, validate=Length(min=4, max=32)) description = Str(required=False, validate=Length(min=0, max=128)) class TitleDuplicationCheckSchema(Schem...
29.769231
70
0.77261
50
387
5.98
0.44
0.150502
0.170569
0.147157
0.327759
0.327759
0.327759
0.327759
0.327759
0.327759
0
0.029412
0.121447
387
12
71
32.25
0.85
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1