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
22bb8aedc8807258803704532f6ba44c83fae96a
684
py
Python
djangocms_salesforce_forms/migrations/0007_auto_20171219_1033.py
divio/aldryn-salesforce-forms
9ab2b3fd7934e6b88a95377b8f3a9b3daa98d2d0
[ "BSD-3-Clause" ]
null
null
null
djangocms_salesforce_forms/migrations/0007_auto_20171219_1033.py
divio/aldryn-salesforce-forms
9ab2b3fd7934e6b88a95377b8f3a9b3daa98d2d0
[ "BSD-3-Clause" ]
2
2019-04-10T14:59:00.000Z
2019-05-14T06:24:36.000Z
djangocms_salesforce_forms/migrations/0007_auto_20171219_1033.py
divio/aldryn-salesforce-forms
9ab2b3fd7934e6b88a95377b8f3a9b3daa98d2d0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-19 12:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('djangocms_salesforce_forms', '0006_auto_20171212_1453'), ] operations = [ m...
32.571429
253
0.672515
84
684
5.25
0.761905
0.068027
0
0
0
0
0
0
0
0
0
0.064457
0.20614
684
20
254
34.2
0.747698
0.099415
0
0
1
0
0.329527
0.079935
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
22bc840988dac712fee701efe0c80a1f60a95972
438
py
Python
pydownloads/api.py
pystorage/pydownloads
7eea00f5db82f66882e2a97fef7677d8d3cd7466
[ "MIT" ]
1
2020-07-13T23:12:31.000Z
2020-07-13T23:12:31.000Z
pydownloads/api.py
pystorage/pydownloads
7eea00f5db82f66882e2a97fef7677d8d3cd7466
[ "MIT" ]
null
null
null
pydownloads/api.py
pystorage/pydownloads
7eea00f5db82f66882e2a97fef7677d8d3cd7466
[ "MIT" ]
null
null
null
import requests class API: URL = 'https://api.pepy.tech/api/v2/projects/{}' HEADERS = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36'} def request(self, package_name): response = requests.get( ...
29.2
141
0.59589
57
438
4.54386
0.719298
0.03861
0
0
0
0
0
0
0
0
0
0.094044
0.27169
438
14
142
31.285714
0.717868
0
0
0
0
0.090909
0.389151
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.545455
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
22bd1f8a8a03af58262d8407f56ef48bf50c278f
1,648
py
Python
Pinocchio/account/tests/test_profile_views.py
shreygoel7/Pinocchio
b08c6dde591f0de948ef67db7ad83bf8fc4bfa62
[ "MIT" ]
null
null
null
Pinocchio/account/tests/test_profile_views.py
shreygoel7/Pinocchio
b08c6dde591f0de948ef67db7ad83bf8fc4bfa62
[ "MIT" ]
null
null
null
Pinocchio/account/tests/test_profile_views.py
shreygoel7/Pinocchio
b08c6dde591f0de948ef67db7ad83bf8fc4bfa62
[ "MIT" ]
1
2021-11-27T09:23:20.000Z
2021-11-27T09:23:20.000Z
from academicInfo.models import Department from staff.models import Staff from student.models import Student from django.contrib.auth.models import User from django.shortcuts import reverse from django.test import Client, TestCase from django.utils import timezone class StudentProfileTest(TestCase): @classmet...
29.428571
70
0.628641
167
1,648
6.143713
0.377246
0.063353
0.066277
0.040936
0.251462
0.130604
0.072125
0.072125
0
0
0
0.018272
0.269417
1,648
55
71
29.963636
0.833887
0
0
0.133333
0
0
0.097694
0
0
0
0
0
0.088889
1
0.066667
false
0.088889
0.155556
0
0.244444
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
22c3ef6247c9d6d377ef461336888dec24154eaa
841
py
Python
config/env.py
BolajiOlajide/rmw-bot
6c7e37f2f977af8fe3c90b59c1242fc3180aea88
[ "MIT" ]
2
2019-11-24T21:05:00.000Z
2021-02-15T12:32:46.000Z
config/env.py
BolajiOlajide/rmw-bot
6c7e37f2f977af8fe3c90b59c1242fc3180aea88
[ "MIT" ]
1
2019-12-28T07:25:12.000Z
2019-12-28T07:25:12.000Z
config/env.py
BolajiOlajide/rmw-bot
6c7e37f2f977af8fe3c90b59c1242fc3180aea88
[ "MIT" ]
null
null
null
from config import get_env class EnvConfig(object): """Parent configuration class.""" DEBUG = False CSRF_ENABLED = True SECRET = get_env("SECRET") SQLALCHEMY_DATABASE_URI = get_env("DATABASE_URL") class DevelopmentEnv(EnvConfig): """Configurations for Development.""" DEBUG = True cla...
18.282609
68
0.676576
84
841
6.654762
0.452381
0.16458
0.186047
0
0
0
0
0
0
0
0
0
0.209275
841
45
69
18.688889
0.840602
0.210464
0
0.217391
0
0
0.109718
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.73913
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
22c5f98b65b9a9d1098c986ba6efd04bca92de7d
269
py
Python
customers/urls.py
Njaya2019/Store
a5f5b3df935d35c7d874b41bffb57069239dcdfd
[ "MIT" ]
null
null
null
customers/urls.py
Njaya2019/Store
a5f5b3df935d35c7d874b41bffb57069239dcdfd
[ "MIT" ]
null
null
null
customers/urls.py
Njaya2019/Store
a5f5b3df935d35c7d874b41bffb57069239dcdfd
[ "MIT" ]
null
null
null
""" Customers Url conf. This is the url configuration for the customers app. """ from django.urls import path from . import views urlpatterns = [ path('signup', views.SignUp.as_view(), name='signup'), path('signin', views.SignIn.as_view(), name='signin'), ]
19.214286
58
0.687732
37
269
4.945946
0.567568
0.065574
0.10929
0
0
0
0
0
0
0
0
0
0.159851
269
13
59
20.692308
0.809735
0.271375
0
0
0
0
0.128342
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
22c8064cdb8d632ada11ef009b085ac0c667e09b
623
py
Python
p2pmerch/clubs/forms.py
P2P-Computer-Science-Honor-Society/merch
3a8485fcf6d06888f41e7c6610f21f63116a5c99
[ "MIT" ]
null
null
null
p2pmerch/clubs/forms.py
P2P-Computer-Science-Honor-Society/merch
3a8485fcf6d06888f41e7c6610f21f63116a5c99
[ "MIT" ]
null
null
null
p2pmerch/clubs/forms.py
P2P-Computer-Science-Honor-Society/merch
3a8485fcf6d06888f41e7c6610f21f63116a5c99
[ "MIT" ]
1
2022-01-20T00:29:17.000Z
2022-01-20T00:29:17.000Z
from django import forms import datetime as dt from .models import Product from django.utils.safestring import mark_safe class UploadImage(forms.ModelForm): picture = forms.ImageField(label = "Product Picture", required=False) class Meta: model = Product fields = ['picture'] class CreateProdu...
36.647059
82
0.735152
76
623
5.973684
0.513158
0.085903
0.096916
0.118943
0.237885
0.237885
0.237885
0.237885
0
0
0
0.009579
0.162119
623
17
83
36.647059
0.860153
0
0
0.142857
0
0
0.100962
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
0.071429
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
22c8ed414d6f2809827a873d0b00255229898fc6
1,999
py
Python
main.py
wilfredkisku/flownettf
56fe64a4a8de0a14848fe128019f9a8f69888a40
[ "MIT" ]
null
null
null
main.py
wilfredkisku/flownettf
56fe64a4a8de0a14848fe128019f9a8f69888a40
[ "MIT" ]
null
null
null
main.py
wilfredkisku/flownettf
56fe64a4a8de0a14848fe128019f9a8f69888a40
[ "MIT" ]
null
null
null
''' This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along this program. Copyright 2020, wilfred kisku <kisku.1@iitj.ac.in> All rights reserved. ''' import numpy as np import cv2 import math import ...
31.730159
136
0.735368
307
1,999
4.758958
0.413681
0.045175
0.035592
0.054757
0.18412
0.132101
0.132101
0.132101
0.132101
0.132101
0
0.051383
0.114057
1,999
62
137
32.241935
0.773574
0.210105
0
0
0
0
0.120027
0.100796
0
0
0
0
0
1
0
false
0
0.322581
0
0.322581
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
22cf779157a09147559afa3dd961212e1125be41
1,446
py
Python
project3/films/migrations/0011_auto_20180620_1821.py
Codetype/Django-application
91c47a89fb284fb2702eb17438ecb9f02908c3b8
[ "MIT" ]
null
null
null
project3/films/migrations/0011_auto_20180620_1821.py
Codetype/Django-application
91c47a89fb284fb2702eb17438ecb9f02908c3b8
[ "MIT" ]
null
null
null
project3/films/migrations/0011_auto_20180620_1821.py
Codetype/Django-application
91c47a89fb284fb2702eb17438ecb9f02908c3b8
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-06-20 16:21 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('films', '0010_comment'), ] operations = [ migrations.RenameField( ...
28.352941
135
0.560858
137
1,446
5.788321
0.452555
0.110971
0.141236
0.151324
0.295082
0.295082
0
0
0
0
0
0.023374
0.319502
1,446
50
136
28.92
0.78252
0.03112
0
0.5
1
0
0.093638
0
0
0
0
0
0
1
0
false
0
0.068182
0
0.136364
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
22d1d4e98407975b9bc0c7913f0b1c2320397c2b
556
py
Python
hood_app/migrations/0005_auto_20180808_1059.py
ephantuskaranja/hood_watch
3d91e90d1a9c8c7b73d5dcea17cb7bb83e5b71ea
[ "MIT" ]
null
null
null
hood_app/migrations/0005_auto_20180808_1059.py
ephantuskaranja/hood_watch
3d91e90d1a9c8c7b73d5dcea17cb7bb83e5b71ea
[ "MIT" ]
null
null
null
hood_app/migrations/0005_auto_20180808_1059.py
ephantuskaranja/hood_watch
3d91e90d1a9c8c7b73d5dcea17cb7bb83e5b71ea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-08 07:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hood_app', '0004_auto_20180807_1716'), ] operations = [ migrations.AlterField...
26.47619
156
0.613309
61
556
5.377049
0.754098
0.054878
0
0
0
0
0
0
0
0
0
0.079439
0.230216
556
20
157
27.8
0.686916
0.118705
0
0
1
0
0.203285
0.047228
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
22d2e3df3dfbb5df3b7dc2421538acc0a57ab337
447
py
Python
modelchimp/enum.py
gchers/modelchimp-client
c40ba9635e1dda23ea06d2b9406b3d72c2b4c625
[ "BSD-2-Clause" ]
null
null
null
modelchimp/enum.py
gchers/modelchimp-client
c40ba9635e1dda23ea06d2b9406b3d72c2b4c625
[ "BSD-2-Clause" ]
null
null
null
modelchimp/enum.py
gchers/modelchimp-client
c40ba9635e1dda23ea06d2b9406b3d72c2b4c625
[ "BSD-2-Clause" ]
null
null
null
class ClientEvent(object): AUTH = 1 MODEL_PARAM = 2 EVAL_PARAM = 3 DURATION_PARAM = 4 EXPERIMENT_START = 5 EXPERIMENT_END = 6 CODE_FILE = 7 COMPLETED = 10 GET_EXPERIMENT_METRIC_FILTER = 8 GET_EXPERIMENT_METRIC_DATA = 9 GET_EXPERIMENT_DURATION_FILTER = 11 GET_EXPERIMENT_DU...
22.35
39
0.689038
59
447
4.864407
0.661017
0.181185
0.132404
0
0
0
0
0
0
0
0
0.063636
0.261745
447
19
40
23.526316
0.806061
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
22d9f4b76b34c74c17923565878fd0b53aff712a
3,000
py
Python
dlutils/models/utils.py
fmi-basel/dl-utils
15bbb7672314d72abc7c3f7fc86655401cde5eb6
[ "MIT" ]
null
null
null
dlutils/models/utils.py
fmi-basel/dl-utils
15bbb7672314d72abc7c3f7fc86655401cde5eb6
[ "MIT" ]
1
2021-03-10T10:53:59.000Z
2021-03-10T10:53:59.000Z
dlutils/models/utils.py
fmi-basel/dl-utils
15bbb7672314d72abc7c3f7fc86655401cde5eb6
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from collections.abc import Iterable def get_model_name(name, **kwargs): '''generate a model name describing the architecture. ''' if name == 'resnet': from dlutils.mod...
27.777778
79
0.648
423
3,000
4.408983
0.321513
0.028954
0.032172
0.038606
0.156568
0.113673
0.031099
0.031099
0
0
0
0.018182
0.248333
3,000
107
80
28.037383
0.808869
0.207
0
0.035714
0
0
0.043421
0
0
0
0
0
0.035714
1
0.142857
false
0
0.160714
0.017857
0.517857
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
0
0
0
0
0
1
0
0
1
22e207883eabc84532131f444db1f6568af3f723
736
py
Python
test_color_codes_identifier.py
clean-code-craft-tcq-2/well-named-in-py-Sathyapriyan-Kannan
f3baf7cf4f1e0d90f689b598f5e3dbdc9cc743c6
[ "MIT" ]
null
null
null
test_color_codes_identifier.py
clean-code-craft-tcq-2/well-named-in-py-Sathyapriyan-Kannan
f3baf7cf4f1e0d90f689b598f5e3dbdc9cc743c6
[ "MIT" ]
1
2022-01-27T12:18:31.000Z
2022-01-27T12:31:19.000Z
test_color_codes_identifier.py
clean-code-craft-tcq-2/well-named-in-py-Sathyapriyan-Kannan
f3baf7cf4f1e0d90f689b598f5e3dbdc9cc743c6
[ "MIT" ]
null
null
null
from color_codes_identifier import * def test_number_to_pair(pair_number, expected_major_color, expected_minor_color): major_color, minor_color = get_color_from_pair_number(pair_number) assert (major_color == expected_major_color) assert (minor_color == expected_minor_color) def test_pair_to_number(majo...
35.047619
81
0.77038
108
736
4.731481
0.268519
0.156556
0.078278
0.125245
0.097847
0
0
0
0
0
0
0.01092
0.129076
736
20
82
36.8
0.786271
0
0
0
0
0
0.069293
0
0
0
0
0
0.214286
1
0.214286
false
0
0.071429
0
0.285714
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
22e3894dcda2ba882e81ad49bff920137634f1e4
921
py
Python
simul/plots/period_time.py
ConsenSys/handel
bc3f6f8194db140a1067ab157fc6bb1fb53a0144
[ "Apache-2.0" ]
48
2018-11-06T16:52:27.000Z
2021-05-25T07:50:52.000Z
simul/plots/period_time.py
ConsenSys/handel
bc3f6f8194db140a1067ab157fc6bb1fb53a0144
[ "Apache-2.0" ]
39
2018-11-27T10:40:26.000Z
2019-08-04T17:27:45.000Z
simul/plots/period_time.py
ConsenSys/handel
bc3f6f8194db140a1067ab157fc6bb1fb53a0144
[ "Apache-2.0" ]
4
2018-12-20T15:07:56.000Z
2021-08-08T09:11:33.000Z
#!/usr/bin/env python ## This script generate the graphs that compares handel signature generation with different periods ## import sys from lib import * import pandas as pd import matplotlib.pyplot as plt column = "sigen_wall_avg" files = {} for p in [10,20,50,100]: f = "csv/handel_2000_%dperiod_25fail_99thr.c...
24.891892
99
0.680782
142
921
4.338028
0.591549
0.064935
0.097403
0.116883
0
0
0
0
0
0
0
0.027523
0.171553
921
36
100
25.583333
0.779817
0.14658
0
0
1
0
0.258974
0.052564
0
0
0
0
0
1
0
false
0
0.173913
0
0.173913
0.043478
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
22e86e013179c7ae3a28aa42f39a5ef5ebe62cfd
1,663
py
Python
peepshow/utils/terminal.py
gergelyk/peepshow
88820500567b7953e11e06c982f16c252aec1cc9
[ "MIT" ]
7
2019-01-22T06:31:18.000Z
2021-11-12T20:38:36.000Z
peepshow/utils/terminal.py
gergelyk/peepshow
88820500567b7953e11e06c982f16c252aec1cc9
[ "MIT" ]
2
2019-11-14T19:09:16.000Z
2021-03-14T14:14:39.000Z
peepshow/utils/terminal.py
gergelyk/peepshow
88820500567b7953e11e06c982f16c252aec1cc9
[ "MIT" ]
null
null
null
import os from colorama import Fore, Back, Style import colorama import rlcompleter import readline from peepshow.utils.system import OS_IS_WINDOWS _completer_suggestions = {} class Completer(rlcompleter.Completer): def complete_ex(self, *args, **kwargs): buf = readline.get_line_buffer().strip() i...
28.672414
76
0.695731
213
1,663
5.220657
0.41784
0.053957
0.046763
0.066547
0.041367
0
0
0
0
0
0
0.008895
0.188815
1,663
57
77
29.175439
0.815419
0.066747
0
0.046512
0
0
0.020013
0
0
0
0
0
0
1
0.209302
false
0
0.139535
0
0.465116
0.093023
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
22ecd69fd6f58d2d479a1601b04a8c3b974355a9
675
py
Python
playground/playground_printthreading.py
LuisLuii/distributed_lock_helper
e8c5535ceb0e2e9fe842ea39355b89fa7c0f356f
[ "MIT" ]
1
2022-01-23T09:08:59.000Z
2022-01-23T09:08:59.000Z
playground/playground_printthreading.py
LuisLuii/distributed_lock_helper
e8c5535ceb0e2e9fe842ea39355b89fa7c0f356f
[ "MIT" ]
null
null
null
playground/playground_printthreading.py
LuisLuii/distributed_lock_helper
e8c5535ceb0e2e9fe842ea39355b89fa7c0f356f
[ "MIT" ]
null
null
null
import asyncio import requests import queue class TaskGenerator(): def __init__(self): self.queue = queue.Queue(10) def append_task(self, ): pass async def get_data(task_id): #print("start get data from", task_id) await asyncio.sleep(3) # for i in range(5000000): # pass #print("ge...
24.107143
87
0.685926
106
675
4.066038
0.424528
0.097448
0.069606
0.060325
0.162413
0
0
0
0
0
0
0.039783
0.180741
675
28
87
24.107143
0.739602
0.245926
0
0
0
0
0.059524
0
0
0
0
0
0
1
0.125
false
0.0625
0.1875
0
0.375
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
22ed4b38ab5ff7e5d112d7fe31ae6aa994ad9372
2,042
py
Python
src/hierarchy/simulation/competence/simulation.py
drvinceknight/HierarchicalPromotion
8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3
[ "MIT" ]
null
null
null
src/hierarchy/simulation/competence/simulation.py
drvinceknight/HierarchicalPromotion
8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3
[ "MIT" ]
7
2019-10-01T06:47:05.000Z
2020-11-18T13:10:20.000Z
src/hierarchy/simulation/competence/simulation.py
drvinceknight/HierarchicalPromotion
8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3
[ "MIT" ]
null
null
null
import numpy as np import hierarchy as hrcy def get_competence_simulated_history( capacities, lmbda, competence_distribution, retirement_rate, Gamma, max_transitions, initial_state=None, seed=None, ): assert capacities[-1] == 1 if seed is not None: np.random.seed(seed)...
30.477612
85
0.570029
193
2,042
5.735751
0.253886
0.178862
0.144535
0.162602
0.424571
0.393857
0.393857
0.393857
0.276423
0.276423
0
0.006163
0.364349
2,042
66
86
30.939394
0.846687
0
0
0.216667
0
0
0
0
0
0
0
0
0.016667
1
0.016667
false
0
0.033333
0
0.05
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
22ef865318fa62a4370b0278d2481dbb8e5f738c
5,540
py
Python
custom_components/alarmo/const.py
avidit/home-assistant-config
c4ea82e7ea75f93ebfb1700b39df5ff9787843b7
[ "MIT" ]
1
2018-10-04T03:50:13.000Z
2018-10-04T03:50:13.000Z
custom_components/alarmo/const.py
avidit/homeassistant
c4ea82e7ea75f93ebfb1700b39df5ff9787843b7
[ "MIT" ]
null
null
null
custom_components/alarmo/const.py
avidit/homeassistant
c4ea82e7ea75f93ebfb1700b39df5ff9787843b7
[ "MIT" ]
null
null
null
"""Store constants.""" import datetime import voluptuous as vol from homeassistant.const import ( STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_HOME, STATE_ALARM_ARMED_NIGHT, STATE_ALARM_ARMED_CUSTOM_BYPASS, STATE_ALARM_ARMED_VACATION, STATE_ALARM_DISARMED, STATE_ALARM_TRIGGERED, ...
27.425743
88
0.731408
689
5,540
5.364296
0.185776
0.119048
0.146104
0.041126
0.340639
0.300325
0.235931
0.205087
0.205087
0.205087
0
0.001331
0.186462
5,540
201
89
27.562189
0.818726
0.002888
0
0.205882
0
0
0.150273
0.014106
0
0
0
0
0
1
0
false
0.052941
0.029412
0
0.029412
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
22f2031f44ce27cd019743489e78ab92f72ab9ce
335
py
Python
test.py
kazunori279/automl-self-checkout
de94ff304d21234970f4c0ae96286a63aa6246d6
[ "Apache-2.0" ]
6
2019-10-30T21:20:09.000Z
2020-05-09T14:53:33.000Z
test.py
kazunori279/automl-self-checkout
de94ff304d21234970f4c0ae96286a63aa6246d6
[ "Apache-2.0" ]
null
null
null
test.py
kazunori279/automl-self-checkout
de94ff304d21234970f4c0ae96286a63aa6246d6
[ "Apache-2.0" ]
null
null
null
""" Testing Edge TPU """ from edgetpu.classification.engine import ClassificationEngine from PIL import Image # open an Image img = Image.open('img/sample_poloshirt.jpg') # init Edge TPU with the model tpu = ClassificationEngine('/home/pi/model.tflite') # do prediction results = tpu.ClassifyWithImage(img, top_k=3) p...
19.705882
62
0.767164
46
335
5.543478
0.695652
0.054902
0
0
0
0
0
0
0
0
0
0.003413
0.125373
335
16
63
20.9375
0.866894
0.220896
0
0
0
0
0.18
0.18
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
22f961142d281486e25d70e439c7d2e0d5d927d0
1,254
py
Python
puzzle_captcha/management/commands/load_images.py
MegaMark16/django-puzzle-captcha
85233003c52d5f203f5e824b8243089d09186da3
[ "BSD-3-Clause" ]
4
2015-07-24T21:10:43.000Z
2021-10-02T22:40:00.000Z
puzzle_captcha/management/commands/load_images.py
MegaMark16/django-puzzle-captcha
85233003c52d5f203f5e824b8243089d09186da3
[ "BSD-3-Clause" ]
null
null
null
puzzle_captcha/management/commands/load_images.py
MegaMark16/django-puzzle-captcha
85233003c52d5f203f5e824b8243089d09186da3
[ "BSD-3-Clause" ]
3
2016-01-19T14:02:48.000Z
2020-11-09T08:21:25.000Z
import os from django.core.management.base import BaseCommand, CommandError from django.core.files.uploadedfile import SimpleUploadedFile from puzzle_captcha.models import Puzzle class Command(BaseCommand): args = '<path_to_images_folder ...>' help = 'Loads all the images from the folder specified into the Puz...
33
116
0.61882
145
1,254
5.248276
0.489655
0.031537
0.047306
0.049934
0.055191
0
0
0
0
0
0
0
0.285486
1,254
37
117
33.891892
0.84933
0.020734
0
0.133333
0
0
0.128874
0.017945
0
0
0
0
0
0
null
null
0.033333
0.133333
null
null
0.1
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
22fca5422d7e962cdb6bbf9acd240a4e7c0f4434
2,033
py
Python
d7a/alp/action.py
L-I-Am/pyd7a
7e3dd6ff71c92df72570d6b852ca74cc5af50707
[ "Apache-2.0" ]
9
2016-05-12T20:11:30.000Z
2020-08-18T05:46:15.000Z
d7a/alp/action.py
L-I-Am/pyd7a
7e3dd6ff71c92df72570d6b852ca74cc5af50707
[ "Apache-2.0" ]
2
2018-01-14T12:39:06.000Z
2019-11-25T09:11:08.000Z
d7a/alp/action.py
L-I-Am/pyd7a
7e3dd6ff71c92df72570d6b852ca74cc5af50707
[ "Apache-2.0" ]
7
2016-09-06T11:08:15.000Z
2020-10-27T10:29:24.000Z
# # Copyright (c) 2015-2021 University of Antwerp, Aloxy NV. # # This file is part of pyd7a. # See https://github.com/Sub-IoT/pyd7a for further info. # # 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 Lice...
33.883333
98
0.723069
270
2,033
5.344444
0.507407
0.09009
0.03465
0.0693
0.037422
0
0
0
0
0
0
0.01335
0.189375
2,033
59
99
34.457627
0.862257
0.421053
0
0.074074
0
0
0.035559
0
0
0
0
0
0
1
0.148148
false
0
0.222222
0.074074
0.592593
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
fe07ca23110b5170e5f88e429fb6734bdd0c78cf
2,616
py
Python
back/apps/base_user/forms.py
pylvin/nuxt-drf-template
e3f32cf98a2bdf393f88fbda2afedf2c0bf99dc7
[ "MIT" ]
2
2021-11-16T03:47:06.000Z
2021-12-21T20:19:30.000Z
back/apps/base_user/forms.py
pylvin/nuxt-drf-template
e3f32cf98a2bdf393f88fbda2afedf2c0bf99dc7
[ "MIT" ]
null
null
null
back/apps/base_user/forms.py
pylvin/nuxt-drf-template
e3f32cf98a2bdf393f88fbda2afedf2c0bf99dc7
[ "MIT" ]
2
2021-12-21T20:19:39.000Z
2022-01-03T11:27:04.000Z
from django import forms from django.contrib.auth import get_user_model from django.forms import ModelForm from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.forms import ReadOnlyPasswordHashField, AuthenticationForm from django.contrib.auth import authenticate from PIL import Image # ge...
33.974026
99
0.611621
279
2,616
5.594982
0.405018
0.038437
0.032671
0.040359
0.101217
0
0
0
0
0
0
0.006993
0.289373
2,616
76
100
34.421053
0.832706
0.102446
0
0.175439
0
0
0.138065
0
0
0
0
0
0
1
0.070175
false
0.315789
0.122807
0.017544
0.368421
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
fe13627bdd0ba462194fad1580ff7616f5d956da
1,549
py
Python
game/freecell/Card.py
Mason-Lin/python_playground
f6d3f194d48c94d43c0e416baa249755f4388bc9
[ "MIT" ]
null
null
null
game/freecell/Card.py
Mason-Lin/python_playground
f6d3f194d48c94d43c0e416baa249755f4388bc9
[ "MIT" ]
4
2020-09-18T11:49:14.000Z
2021-07-13T11:20:47.000Z
game/freecell/Card.py
Mason-Lin/python_playground
f6d3f194d48c94d43c0e416baa249755f4388bc9
[ "MIT" ]
null
null
null
class Card: # create a list for card face from 1~13 (its value) face = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] # create a list for card suit ,Clubs=C, Diamonds=D, Spades=S, Hearts=H suit = ["C", "D", "S", "H"] def __init__(self, card_face: str = None, card_suit: str = None): self.card_f...
34.422222
103
0.59264
258
1,549
3.426357
0.310078
0.135747
0.095023
0.085973
0.378959
0.261312
0.261312
0.261312
0.228507
0.228507
0
0.032674
0.249193
1,549
44
104
35.204545
0.72055
0.137508
0
0.206897
0
0.068966
0.223141
0
0
0
0
0
0
1
0.241379
false
0
0
0.068966
0.448276
0.068966
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
fe1df99455bc8298fea9fc0136f0759430be54cd
4,069
py
Python
pybtex/backends/markdown.py
napsternxg/pybtex
1ba9c5325088711656c879dd88db8ce635e8417d
[ "MIT" ]
null
null
null
pybtex/backends/markdown.py
napsternxg/pybtex
1ba9c5325088711656c879dd88db8ce635e8417d
[ "MIT" ]
null
null
null
pybtex/backends/markdown.py
napsternxg/pybtex
1ba9c5325088711656c879dd88db8ce635e8417d
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- # # Copyright (c) 2006-2016 Andrey Golovizin # Copyright (c) 2014 Jorrit Wronski # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # wi...
32.552
95
0.627427
548
4,069
4.611314
0.425182
0.034824
0.017412
0.018995
0.092204
0.075979
0.03799
0.03799
0.03799
0.03799
0
0.005225
0.247481
4,069
124
96
32.814516
0.819726
0.389776
0
0.068966
0
0
0.069782
0
0
0
0
0
0
0
null
null
0
0.034483
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
fe1e12cd7a861a4769b36a3554c3ad36b2dbad04
1,521
py
Python
pyScripts/crawlers_and_extraction/extraction_of_domain_doi.py
felipecuetor/WebSemantica_Proyecto
0db39e95884a4f3224ec99c67747cd9de5a52ab8
[ "MIT" ]
null
null
null
pyScripts/crawlers_and_extraction/extraction_of_domain_doi.py
felipecuetor/WebSemantica_Proyecto
0db39e95884a4f3224ec99c67747cd9de5a52ab8
[ "MIT" ]
null
null
null
pyScripts/crawlers_and_extraction/extraction_of_domain_doi.py
felipecuetor/WebSemantica_Proyecto
0db39e95884a4f3224ec99c67747cd9de5a52ab8
[ "MIT" ]
null
null
null
from selenium import webdriver import time import re #from selenium.webdriver.common.keys import keys def clean_string(str_to_clean): clean_str = str_to_clean clean_str = clean_str.replace(":", "<#><#>") clean_str = clean_str.replace(";", "<$<$<") clean_str = clean_str.replace(",", ">*>*>") clean_s...
34.568182
79
0.55687
186
1,521
4.274194
0.333333
0.181132
0.114465
0.140881
0.355975
0.355975
0.355975
0.28805
0.28805
0.28805
0
0.002725
0.276134
1,521
43
80
35.372093
0.719346
0.057199
0
0.194444
0
0
0.12919
0.081006
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.027778
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
a3a62c2d31b818bfa77ec0325abb04beeada61d1
697
py
Python
setup.py
Umesh8Joshi/BooksWord
bf377f55655c12ebf1ccd69058307614c9037e7a
[ "MIT" ]
null
null
null
setup.py
Umesh8Joshi/BooksWord
bf377f55655c12ebf1ccd69058307614c9037e7a
[ "MIT" ]
null
null
null
setup.py
Umesh8Joshi/BooksWord
bf377f55655c12ebf1ccd69058307614c9037e7a
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='booksread', version='0.0.1', description='get all the stats related words from book', keywords='book word autocomplete suggest data \ Google author chain machine learning \ Umesh Joshi', aut...
30.304348
61
0.694405
89
697
5.348315
0.808989
0.042017
0.067227
0
0
0
0
0
0
0
0
0.017065
0.159254
697
23
62
30.304348
0.795222
0.014347
0
0
0
0
0.312955
0.065502
0
0
0
0
0
1
0.047619
true
0
0.047619
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
a3aa83dd860e34854ffc4475ffd05a66e830aaf3
2,784
py
Python
scripts/rt_new_dvds/rt_new_dvds.py
dsears/redsauce
abe296bf19d6cadf4001792555aa1d741a742192
[ "Apache-2.0" ]
null
null
null
scripts/rt_new_dvds/rt_new_dvds.py
dsears/redsauce
abe296bf19d6cadf4001792555aa1d741a742192
[ "Apache-2.0" ]
null
null
null
scripts/rt_new_dvds/rt_new_dvds.py
dsears/redsauce
abe296bf19d6cadf4001792555aa1d741a742192
[ "Apache-2.0" ]
null
null
null
# This is a mess. import time import MySQLdb import MySQLdb.cursors import BeautifulSoup import requests import json import pprint import datetime def q(s): return "'%s'" % MySQLdb.escape_string(str(s)) db = MySQLdb.connect(host='localhost', user='redsauce', db='redsauce', cursorclass=MySQLdb.cursors.DictCursor) c...
30.593407
141
0.681034
388
2,784
4.786082
0.384021
0.006462
0.008078
0.008616
0.134087
0.073775
0.070005
0.070005
0.070005
0.070005
0
0.009754
0.153017
2,784
90
142
30.933333
0.777778
0.024425
0
0.171429
0
0.014286
0.253687
0.036136
0
0
0
0
0.014286
0
null
null
0
0.114286
null
null
0.042857
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
a3ad97558da3b1ac95106eed7774af7a1e09e7d8
602
py
Python
src/helper_inbox.py
PowerOlive/PyBitmessage
d1a90085b7afa82c49bb4a9353121ec19a5829ec
[ "MIT" ]
1
2016-08-01T03:36:31.000Z
2016-08-01T03:36:31.000Z
src/helper_inbox.py
PowerOlive/PyBitmessage
d1a90085b7afa82c49bb4a9353121ec19a5829ec
[ "MIT" ]
null
null
null
src/helper_inbox.py
PowerOlive/PyBitmessage
d1a90085b7afa82c49bb4a9353121ec19a5829ec
[ "MIT" ]
null
null
null
from helper_sql import * import shared def insert(t): sqlExecute('''INSERT INTO inbox VALUES (?,?,?,?,?,?,?,?,?,?)''', *t) #shouldn't emit changedInboxUnread and displayNewInboxMessage at the same time #shared.UISignalQueue.put(('changedInboxUnread', None)) def trash(msgid): sqlExecute('''UPDATE i...
37.625
82
0.677741
64
602
6.359375
0.609375
0.093366
0.108108
0
0
0
0
0
0
0
0
0.005941
0.16113
602
16
83
37.625
0.8
0.217608
0
0
0
0
0.265403
0.099526
0
0
0
0
0
1
0.272727
false
0
0.181818
0
0.545455
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
a3b30447011dcb8987b4c438792a914e0e041c5c
9,526
py
Python
src/sage/rings/finite_rings/finite_field_prime_modn.py
bopopescu/classic_diff_geom
2b1d88becbc8cb30962e0995cc78e429e0f5589f
[ "BSL-1.0" ]
null
null
null
src/sage/rings/finite_rings/finite_field_prime_modn.py
bopopescu/classic_diff_geom
2b1d88becbc8cb30962e0995cc78e429e0f5589f
[ "BSL-1.0" ]
null
null
null
src/sage/rings/finite_rings/finite_field_prime_modn.py
bopopescu/classic_diff_geom
2b1d88becbc8cb30962e0995cc78e429e0f5589f
[ "BSL-1.0" ]
1
2020-07-24T12:08:30.000Z
2020-07-24T12:08:30.000Z
""" Finite Prime Fields AUTHORS: - William Stein: initial version - Martin Albrecht (2008-01): refactoring TESTS:: sage: k = GF(3) sage: TestSuite(k).run() """ #***************************************************************************** # Copyright (C) 2006 William Stein <wstein@gmail.com> # ...
27.531792
106
0.533487
1,102
9,526
4.471869
0.254083
0.02638
0.029018
0.021307
0.155641
0.080763
0.060065
0.021916
0.012987
0
0
0.022222
0.352824
9,526
345
107
27.611594
0.777129
0.469872
0
0.159574
0
0
0.008938
0
0
0
0
0
0
1
0.159574
false
0.010638
0.12766
0
0.510638
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
a3b3f25c07cbe24781de01fe252509912adad6b6
746
py
Python
Cards/migrations/0015_userinfo.py
vabene1111/LearningCards
00539c8d5d3063eecc306dd68eb3eeeac89dba9f
[ "MIT" ]
1
2020-03-18T15:10:42.000Z
2020-03-18T15:10:42.000Z
Cards/migrations/0015_userinfo.py
vabene1111/LearningCards
00539c8d5d3063eecc306dd68eb3eeeac89dba9f
[ "MIT" ]
1
2020-02-22T20:03:02.000Z
2020-02-23T16:31:56.000Z
Cards/migrations/0015_userinfo.py
vabene1111/LearningCards
00539c8d5d3063eecc306dd68eb3eeeac89dba9f
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-20 14:41 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('auth', '0011_update_proxy_permissions'), ('Cards', '0014_registrationkey'), ] ...
31.083333
156
0.648794
82
746
5.780488
0.621951
0.067511
0.088608
0.139241
0.126582
0.126582
0
0
0
0
0
0.039792
0.225201
746
23
157
32.434783
0.780277
0.060322
0
0
1
0
0.144492
0.071531
0
0
0
0
0
1
0
false
0
0.176471
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a3b5e5c066d3e5efab57c9e72371e8d1b3317253
9,417
py
Python
keeper_cnab240/banks/Itau/segments/headers/slip_header.py
BancoDeFormaturas/python-pg-cnab240
1d70d5e4203957673def001b7c48c42f194909b9
[ "MIT" ]
null
null
null
keeper_cnab240/banks/Itau/segments/headers/slip_header.py
BancoDeFormaturas/python-pg-cnab240
1d70d5e4203957673def001b7c48c42f194909b9
[ "MIT" ]
null
null
null
keeper_cnab240/banks/Itau/segments/headers/slip_header.py
BancoDeFormaturas/python-pg-cnab240
1d70d5e4203957673def001b7c48c42f194909b9
[ "MIT" ]
1
2019-12-05T19:40:55.000Z
2019-12-05T19:40:55.000Z
from keeper_cnab240.segment_section import SegmentSection class SlipHeader(SegmentSection): def __init__(self, data=None): super().__init__('SlipHeader', data, { 'bank_code': { 'type': 'int', 'length': 3, 'default': 341, 'pad_cont...
30.87541
57
0.310715
601
9,417
4.697171
0.168053
0.095643
0.090684
0.136026
0.59582
0.561105
0.543394
0.543394
0.527807
0.292597
0
0.046096
0.548476
9,417
304
58
30.976974
0.617827
0.001911
0
0.586093
0
0
0.254762
0.026179
0
0
0
0
0
1
0.003311
false
0
0.003311
0
0.009934
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
a3b6bcd70deb04718a139da908236ff6ebe86bd6
10,135
py
Python
data/external/repositories/38871/kaggle-whales-master/pipeline_job.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories/38871/kaggle-whales-master/pipeline_job.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories/38871/kaggle-whales-master/pipeline_job.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2019-12-04T08:23:33.000Z
2019-12-04T08:23:33.000Z
""" This script does everything from preprocessing to feature extraction to training to evaluation with randomly sampled settings, and then stores results. 2ND GEN: optional local normalisation, only 100 means. Gonna run a SHITTON of these. """ from matplotlib.mlab import specgram import numpy as np import scipy.sign...
31.573209
142
0.712087
1,494
10,135
4.678046
0.243641
0.010302
0.012019
0.008013
0.169123
0.094434
0.017456
0.008871
0
0
0
0.025794
0.154613
10,135
321
143
31.573209
0.789916
0.227134
0
0.071429
0
0
0.15833
0.032805
0
0
0
0
0
0
null
null
0
0.054945
null
null
0.148352
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
a3b78f3b3976dc6f7134990a1591d2a7b890dc9c
1,536
py
Python
bilu/database/mongo.py
maikomjames/bilu
39072e01a19c9c30e1102f10b745310fb0cdbd46
[ "MIT" ]
3
2021-09-16T16:38:22.000Z
2021-09-20T14:14:56.000Z
bilu/database/mongo.py
maikomjames/bilu
39072e01a19c9c30e1102f10b745310fb0cdbd46
[ "MIT" ]
null
null
null
bilu/database/mongo.py
maikomjames/bilu
39072e01a19c9c30e1102f10b745310fb0cdbd46
[ "MIT" ]
null
null
null
import logging from typing import NoReturn from motor.motor_asyncio import AsyncIOMotorClient, AsyncIOMotorDatabase from .base import DatabaseManager logger = logging.getLogger(__name__) settings = {} class MongoManager(DatabaseManager): client: AsyncIOMotorClient = None db: AsyncIOMotorDatabase = None ...
28.444444
72
0.654297
159
1,536
6.100629
0.345912
0.065979
0.045361
0.030928
0
0
0
0
0
0
0
0.007937
0.261719
1,536
53
73
28.981132
0.847443
0
0
0
0
0
0.097005
0.016276
0
0
0
0
0
1
0.023256
false
0.069767
0.093023
0
0.186047
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
a3bed449884b8dfde19afb92694cbec348abf62c
7,848
py
Python
tests/test_pat_variation.py
pedrocamargo/fast-trips
a2549936b2707b00d6c21b4e6ae4be8fefd0aa46
[ "Apache-2.0" ]
3
2017-11-03T00:18:23.000Z
2020-11-30T18:54:46.000Z
tests/test_pat_variation.py
pedrocamargo/fast-trips
a2549936b2707b00d6c21b4e6ae4be8fefd0aa46
[ "Apache-2.0" ]
null
null
null
tests/test_pat_variation.py
pedrocamargo/fast-trips
a2549936b2707b00d6c21b4e6ae4be8fefd0aa46
[ "Apache-2.0" ]
null
null
null
from __future__ import division import datetime import os import pytest import numpy as np import pandas as pd from fasttrips import Assignment from fasttrips import PathSet from fasttrips import Run EXAMPLE_DIR = os.path.join(os.getcwd(), 'fasttrips', 'Examples', 'Springfield') # DIRECTORY LOCATIONS INPUT_NETWORK...
36.84507
120
0.661188
1,017
7,848
4.813176
0.19469
0.040858
0.04903
0.023289
0.729724
0.695403
0.68192
0.666394
0.666394
0.666394
0
0.010295
0.195464
7,848
212
121
37.018868
0.764967
0.066641
0
0.559006
0
0
0.232216
0.004669
0
0
0
0
0.068323
1
0.024845
false
0
0.055901
0.006211
0.086957
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
a3c7020192c5e7989d75cf5b214bce302797aace
369
py
Python
files/Helper_functions.py
EmilyAFlener/lambdatau3s1
aa6b8b70dd84ea3c6a3fa76937cba334831e8f65
[ "MIT" ]
null
null
null
files/Helper_functions.py
EmilyAFlener/lambdatau3s1
aa6b8b70dd84ea3c6a3fa76937cba334831e8f65
[ "MIT" ]
null
null
null
files/Helper_functions.py
EmilyAFlener/lambdatau3s1
aa6b8b70dd84ea3c6a3fa76937cba334831e8f65
[ "MIT" ]
null
null
null
class EFHelperFunctions: #Establishing a HelperFunctions class for future professional use. #All regularly used code can be saved here for easy reproduction later. def __init__(self, df) #EDA def EDA(): df.info() df.profile_report() df.isnull().sum() return df ...
21.705882
75
0.644986
47
369
4.914894
0.765957
0
0
0
0
0
0
0
0
0
0
0.007491
0.276423
369
16
76
23.0625
0.857678
0.373984
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
a3c86212c7bf3ba560cd2cddeb2afc9f8fdd2355
629
py
Python
python-intro/exercicios/problem10.py
elzasimoes/selenium-python
50e4ad8a46864b06193eda09aa2a2a047f98974c
[ "CC0-1.0" ]
2
2020-06-03T04:45:35.000Z
2020-07-10T03:21:17.000Z
python-intro/exercicios/problem10.py
elzasimoes/selenium-python
50e4ad8a46864b06193eda09aa2a2a047f98974c
[ "CC0-1.0" ]
null
null
null
python-intro/exercicios/problem10.py
elzasimoes/selenium-python
50e4ad8a46864b06193eda09aa2a2a047f98974c
[ "CC0-1.0" ]
2
2020-06-03T11:52:33.000Z
2020-06-07T00:01:57.000Z
#Faça um programa que leia 5 números e informe o maior número. n1 = int(input('Numero 1: ')) n2 = int(input('Numero 2: ')) n3 = int(input('Numero 3: ')) n4 = int(input('Numero 4: ')) n5 = int(input('Numero 5: ')) if n1 > n2 and n1 > n3 and n1 > n4 and n1 > n5: print('Numero 1 é o maior.') elif n2 > n1 and n2 > n3...
33.105263
62
0.591415
127
629
2.929134
0.228346
0.096774
0.188172
0.11828
0
0
0
0
0
0
0
0.12069
0.262321
629
18
63
34.944444
0.681034
0.096979
0
0
0
0
0.255732
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
a3cc70301fa376bcf919bcaeffa8ae652e74b95c
8,158
py
Python
framework/cei_python3/impl/jsonwrapper.py
macomfan/cei
49efb1baf39e0bb3e390791fafa3508226644975
[ "MIT" ]
2
2020-05-09T01:54:04.000Z
2020-12-31T02:36:45.000Z
framework/cei_python3/impl/jsonwrapper.py
macomfan/cei
49efb1baf39e0bb3e390791fafa3508226644975
[ "MIT" ]
27
2020-04-18T11:21:07.000Z
2022-02-26T22:22:33.000Z
framework/cei_python3/impl/jsonwrapper.py
macomfan/cei
49efb1baf39e0bb3e390791fafa3508226644975
[ "MIT" ]
1
2020-04-26T10:58:02.000Z
2020-04-26T10:58:02.000Z
import json import re import decimal from exception.ceilog import CEILog def parse_float(value): return value class DecimalEncoder(json.JSONEncoder): def default(self, o): if isinstance(o, decimal.Decimal): return float(o) super(DecimalEncoder, self).default(o) ...
34.133891
100
0.609708
1,092
8,158
4.173993
0.090659
0.05792
0.051338
0.049144
0.603993
0.55792
0.468846
0.401931
0.370777
0.312418
0
0.001409
0.304119
8,158
238
101
34.277311
0.80148
0.00049
0
0.336788
0
0
0.046247
0
0
0
0
0.004202
0
1
0.207254
false
0.005181
0.020725
0.031088
0.466321
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
a3cce32c7a3f8ca98de47326a2f36918f08112ac
4,677
py
Python
mridc/utils.py
wdika/mridc
bcbec4ce3bdca45273369d45c5de889f3b7c82b5
[ "Apache-2.0" ]
14
2021-03-31T06:47:45.000Z
2022-03-27T14:04:53.000Z
mridc/utils.py
wdika/mridc
bcbec4ce3bdca45273369d45c5de889f3b7c82b5
[ "Apache-2.0" ]
64
2021-04-12T17:29:04.000Z
2022-03-30T00:23:43.000Z
mridc/utils.py
wdika/mridc
bcbec4ce3bdca45273369d45c5de889f3b7c82b5
[ "Apache-2.0" ]
6
2021-04-06T08:45:34.000Z
2022-03-28T13:19:31.000Z
# encoding: utf-8 __author__ = "Dimitrios Karkalousos" # Parts of the code have been taken from https://github.com/facebookresearch/fastMRI from pathlib import Path from typing import Dict import h5py import numpy as np import torch def complex_mul(x: torch.Tensor, y: torch.Tensor) -> torch.Tensor: """ Com...
27.19186
84
0.635664
660
4,677
4.462121
0.254545
0.056027
0.038031
0.040747
0.462139
0.410866
0.410866
0.386418
0.386418
0.386418
0
0.017656
0.261279
4,677
171
85
27.350877
0.834732
0.494548
0
0.119048
0
0
0.117415
0
0
0
0
0
0
1
0.214286
false
0
0.119048
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
1
0
0
0
0
0
0
0
1
a3cdbb56e7e49c18fc6ed39cdaddb49aac9ba5e3
282
py
Python
linest.py
dhwan11/applehealth
876a8f2ba909a91c60638aeb83442131ec2822b5
[ "MIT" ]
null
null
null
linest.py
dhwan11/applehealth
876a8f2ba909a91c60638aeb83442131ec2822b5
[ "MIT" ]
null
null
null
linest.py
dhwan11/applehealth
876a8f2ba909a91c60638aeb83442131ec2822b5
[ "MIT" ]
null
null
null
import numpy as np from sklearn.linear_model import LinearRegression x = np.array([29,59,119,238,464,659]).reshape(-1,1) y = np.array([0.004,0.009,0.027,0.027,0.051,0.165]) model = LinearRegression().fit(x, y) r_sq = model.score(x, y) print('coefficient of determination:', r_sq)
28.2
51
0.716312
54
282
3.685185
0.62963
0.070352
0.050251
0
0
0
0
0
0
0
0
0.165354
0.099291
282
9
52
31.333333
0.61811
0
0
0
0
0
0.103571
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
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
a3d79142b1031312771af4624fd6bbcffc8f51fb
310
py
Python
python/492.py
SeisSparrow/Leetcode
10535ca41e51c0d2d4015e53da7efdca43000c4c
[ "MIT" ]
null
null
null
python/492.py
SeisSparrow/Leetcode
10535ca41e51c0d2d4015e53da7efdca43000c4c
[ "MIT" ]
null
null
null
python/492.py
SeisSparrow/Leetcode
10535ca41e51c0d2d4015e53da7efdca43000c4c
[ "MIT" ]
null
null
null
import math class Solution(object): def constructRectangle(self, area): """ :type area: int :rtype: List[int] """ for w in range(int(math.sqrt(area)), 0, -1): if area % w == 0: break return [area/w, area] a = Solution() print a.constructRectangle(1)
14.090909
52
0.551613
40
310
4.275
0.625
0.05848
0
0
0
0
0
0
0
0
0
0.018605
0.306452
310
21
53
14.761905
0.776744
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
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
a3d7a392716826e1c2aeb36663d7357503ad1e77
3,611
py
Python
route4me/address_book.py
route4me/route4me-python-sdk
e2136c54e1ec5ed518f8eb94d5883486e0ec3afd
[ "0BSD" ]
10
2016-10-17T07:14:05.000Z
2021-12-05T02:54:41.000Z
route4me/address_book.py
route4me/route4me-python-sdk
e2136c54e1ec5ed518f8eb94d5883486e0ec3afd
[ "0BSD" ]
14
2017-02-26T23:52:00.000Z
2017-09-16T19:28:49.000Z
route4me/address_book.py
route4me/route4me-python-sdk
e2136c54e1ec5ed518f8eb94d5883486e0ec3afd
[ "0BSD" ]
8
2017-02-23T14:27:07.000Z
2020-05-23T14:23:55.000Z
# -*- coding: utf-8 -*- import json from .api_endpoints import ADDRESSBOOK from .base import Base from .exceptions import ParamValueException class AddressBook(Base): """ Address Book Management """ REQUIRED_FIELDS = ('address_1', 'cached_lat', 'cached_lng',) def __init__(self, api, addresses=[...
38.010526
77
0.559956
347
3,611
5.67147
0.164265
0.121951
0.060976
0.060976
0.680386
0.60874
0.60874
0.60874
0.60874
0.60874
0
0.000851
0.348934
3,611
94
78
38.414894
0.83624
0.214068
0
0.52
0
0
0.092736
0
0
0
0
0
0
1
0.12
false
0
0.08
0
0.34
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
a3d9ddd14a775feaaabc775512afc068ce05fa30
450
py
Python
ccdb/collections_ccdb/migrations/0005_rename_flaws_field.py
thermokarst/ccdb-api
01d76d75ffaaa9949991cdc3ac43b9ae388ad2a6
[ "MIT" ]
null
null
null
ccdb/collections_ccdb/migrations/0005_rename_flaws_field.py
thermokarst/ccdb-api
01d76d75ffaaa9949991cdc3ac43b9ae388ad2a6
[ "MIT" ]
24
2017-01-09T12:51:13.000Z
2018-04-30T17:40:27.000Z
ccdb/collections_ccdb/migrations/0005_rename_flaws_field.py
thermokarst/ccdb-api
01d76d75ffaaa9949991cdc3ac43b9ae388ad2a6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2017-12-04 12:43 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('collections_ccdb', '0004_DATA_reset_sequences'), ] operations = [ migrations.Rename...
21.428571
58
0.624444
49
450
5.469388
0.755102
0.104478
0
0
0
0
0
0
0
0
0
0.063444
0.264444
450
20
59
22.5
0.746224
0.151111
0
0
1
0
0.184697
0.065963
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
a3de82b4c7b82739336709750dd219e47bf6dc03
1,520
py
Python
calixis/plan/submodels/weighted.py
kyleady/SectorsOfInequity
b9fa3fcaa923ed65fdda28992a86b918110caa37
[ "MIT" ]
null
null
null
calixis/plan/submodels/weighted.py
kyleady/SectorsOfInequity
b9fa3fcaa923ed65fdda28992a86b918110caa37
[ "MIT" ]
5
2019-08-03T04:43:46.000Z
2022-02-10T10:13:48.000Z
calixis/plan/submodels/weighted.py
kyleady/SectorsOfInequity
b9fa3fcaa923ed65fdda28992a86b918110caa37
[ "MIT" ]
null
null
null
from django.db import models from django.forms.models import model_to_dict class Weighted_Value(models.Model): class Meta: abstract = True def get_weights_as_str(self): weights = [] has_conditional_weights = False for weight in self.weights.all(): if not ...
33.043478
112
0.658553
176
1,520
5.392045
0.323864
0.068493
0.063224
0.101159
0.362487
0.286617
0
0
0
0
0
0
0.242105
1,520
45
113
33.777778
0.823785
0
0
0
0
0
0.059661
0
0
0
0
0
0
1
0.085714
false
0
0.057143
0.057143
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a3dff20388b6ecb6fc150c39a3a856ea7bf20da2
2,882
py
Python
zerver/lib/scim_filter.py
fatihCinarKrtg/zulip
9c96e030dddae71bd7d79bc3990373bfddc76d0e
[ "Apache-2.0" ]
17,004
2015-09-25T18:27:24.000Z
2022-03-31T22:02:32.000Z
zerver/lib/scim_filter.py
fatihCinarKrtg/zulip
9c96e030dddae71bd7d79bc3990373bfddc76d0e
[ "Apache-2.0" ]
20,344
2015-09-25T19:02:42.000Z
2022-03-31T23:54:40.000Z
zerver/lib/scim_filter.py
fatihCinarKrtg/zulip
9c96e030dddae71bd7d79bc3990373bfddc76d0e
[ "Apache-2.0" ]
7,271
2015-09-25T18:48:39.000Z
2022-03-31T21:06:11.000Z
from typing import List, Optional, Tuple from django.http import HttpRequest from django_scim.filters import UserFilterQuery from zerver.lib.request import RequestNotes # This is in a separate file due to circular import issues django-scim2 runs into # when this is placed in zerver.lib.scim. class ZulipUserFilterQu...
45.746032
99
0.713046
424
2,882
4.792453
0.478774
0.021654
0.031004
0.024606
0
0
0
0
0
0
0
0.008437
0.218598
2,882
62
100
46.483871
0.893872
0.626648
0
0
0
0
0.245223
0.121019
0
0
0
0
0.117647
1
0.058824
false
0
0.235294
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
a3e0e849659adf2239784a7838f150c6f24aa752
374
py
Python
ocelot/transformations/locations/cleanup.py
cmutel/Ocelot
20e9639570c43f84ae255750a6c402ebabe00981
[ "BSD-3-Clause" ]
21
2016-06-01T14:10:07.000Z
2022-02-28T01:56:31.000Z
ocelot/transformations/locations/cleanup.py
cmutel/Ocelot
20e9639570c43f84ae255750a6c402ebabe00981
[ "BSD-3-Clause" ]
152
2016-05-16T21:33:22.000Z
2019-06-24T12:57:14.000Z
ocelot/transformations/locations/cleanup.py
cmutel/Ocelot
20e9639570c43f84ae255750a6c402ebabe00981
[ "BSD-3-Clause" ]
12
2016-09-05T15:35:59.000Z
2021-07-03T19:28:47.000Z
def correct_natural_gas_pipeline_location(data): """Correct specific location in ecoinvent 3.3""" for ds in data: if (ds['type'] == 'transforming activity' and ds['name'] == 'transport, pipeline, long distance, natural gas' and ds['location'] == 'RER w/o DE+NL+NO'): d...
41.555556
79
0.59893
52
374
4.230769
0.576923
0.090909
0.118182
0.127273
0.190909
0.190909
0.190909
0.190909
0
0
0
0.007168
0.254011
374
8
80
46.75
0.781362
0.112299
0
0
0
0
0.389571
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a3e72d1b7c009a84cfa4645d4278e7ffe08a6323
12,078
py
Python
plot_simulated_data_tmrca_mu.py
neherlab/treetime_validation
c9760194712396ea5f5c33a9215eddbd3d13bfc1
[ "MIT" ]
4
2019-01-28T06:47:48.000Z
2021-04-22T16:31:37.000Z
plot_simulated_data_tmrca_mu.py
neherlab/treetime_validation
c9760194712396ea5f5c33a9215eddbd3d13bfc1
[ "MIT" ]
1
2020-04-03T14:42:11.000Z
2020-04-03T14:42:11.000Z
plot_simulated_data_tmrca_mu.py
neherlab/treetime_validation
c9760194712396ea5f5c33a9215eddbd3d13bfc1
[ "MIT" ]
1
2020-03-25T06:58:45.000Z
2020-03-25T06:58:45.000Z
""" Plot figures for the TreeTime validation, comparison with other methods on the simulated dataset. To plot the validation results, CSV files generated by the 'generate_simulated_data.py' script are required. The script plots the reconstruction of the mutation rate and the tiome of the most recent common ancestor ...
33.55
108
0.62055
1,741
12,078
4.121769
0.184377
0.026756
0.011706
0.013378
0.339326
0.29529
0.272436
0.22631
0.209309
0.181299
0
0.014927
0.251201
12,078
359
109
33.643454
0.778527
0.24052
0
0.233333
1
0.005556
0.110168
0.023706
0
0
0
0.002786
0
1
0.027778
false
0
0.061111
0
0.111111
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
a3f4d6ccbefe7405c0770ca9e7eefdb4e0efbe74
3,570
py
Python
fmriprep/workflows/bold/t2s.py
wiheto/fmriprep
25d054a4da68fc198442d483e25fbbbe20fbfd23
[ "BSD-3-Clause" ]
1
2018-10-23T07:33:52.000Z
2018-10-23T07:33:52.000Z
fmriprep/workflows/bold/t2s.py
wiheto/fmriprep
25d054a4da68fc198442d483e25fbbbe20fbfd23
[ "BSD-3-Clause" ]
3
2019-07-17T10:22:50.000Z
2019-07-19T11:23:37.000Z
fmriprep/workflows/bold/t2s.py
wiheto/fmriprep
25d054a4da68fc198442d483e25fbbbe20fbfd23
[ "BSD-3-Clause" ]
1
2019-11-29T15:41:36.000Z
2019-11-29T15:41:36.000Z
# -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """ Generate T2* map from multi-echo BOLD images ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autofunction:: init_bold_t2s_wf """ from nipype import logging from nipype.pipeline...
35.7
152
0.677031
470
3,570
4.987234
0.412766
0.021331
0.015358
0.011092
0.107509
0.05802
0
0
0
0
0
0.017488
0.215126
3,570
99
153
36.060606
0.819058
0.404482
0
0
1
0
0.416751
0.015136
0
0
0
0
0
1
0.028571
false
0
0.171429
0
0.228571
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
a3f8ced12a6d49b9d9d9c28041b04157357c2b3c
584
py
Python
Termin 1/Aufgabenblatt 1.2/Aufgabe3.py
rertoborsnoiztkudrop/ComputerVisionPraktikum
e95434a3af97048e657992577e351b89c7603027
[ "MIT" ]
null
null
null
Termin 1/Aufgabenblatt 1.2/Aufgabe3.py
rertoborsnoiztkudrop/ComputerVisionPraktikum
e95434a3af97048e657992577e351b89c7603027
[ "MIT" ]
null
null
null
Termin 1/Aufgabenblatt 1.2/Aufgabe3.py
rertoborsnoiztkudrop/ComputerVisionPraktikum
e95434a3af97048e657992577e351b89c7603027
[ "MIT" ]
3
2019-11-17T01:33:07.000Z
2020-03-26T10:13:39.000Z
""" Aufgabe 3 von Blatt 1.2 """ myList = [0] * 5 for i, n in enumerate(myList): myList[i] = float(input(f"Die {i+1}. Zahl bitte: ")) print(myList) print(f"min: {min(myList)} at {myList.index(min(myList))}") print(f"max: {max(myList)} at {myList.index(max(myList))}") myList.sort() print("median", myList[2]) print...
29.2
72
0.636986
103
584
3.61165
0.368932
0.177419
0.053763
0.075269
0.293011
0.293011
0.27957
0.27957
0.27957
0.155914
0
0.030364
0.15411
584
19
73
30.736842
0.722672
0.039384
0
0
0
0
0.35443
0.097649
0
0
0
0
0
1
0
false
0
0
0
0
0.692308
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
a3f9e4f67ce41a543dbc3d68f44400ebd0245136
1,529
py
Python
synapse/http/__init__.py
zauguin/synapse
ea00f18135ce30e8415526ce68585ea90da5b856
[ "Apache-2.0" ]
1
2019-08-29T05:52:15.000Z
2019-08-29T05:52:15.000Z
synapse/http/__init__.py
zauguin/synapse
ea00f18135ce30e8415526ce68585ea90da5b856
[ "Apache-2.0" ]
null
null
null
synapse/http/__init__.py
zauguin/synapse
ea00f18135ce30e8415526ce68585ea90da5b856
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2014-2016 OpenMarket Ltd # Copyright 2018 New Vector Ltd # # 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...
30.58
74
0.728581
204
1,529
5.352941
0.622549
0.054945
0.02381
0.029304
0
0
0
0
0
0
0
0.018254
0.175932
1,529
49
75
31.204082
0.848413
0.533682
0
0
0
0
0.090504
0.05638
0
0
0
0
0
1
0.166667
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a3fe059284aed62ed2971a2f6d340a10d0eb2de5
863
py
Python
tests/integration_tests/boolean_tests/operations_tests/test_copy.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
7
2020-05-07T08:13:44.000Z
2021-12-17T07:33:51.000Z
tests/integration_tests/boolean_tests/operations_tests/test_copy.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
17
2019-11-29T23:17:26.000Z
2020-12-20T15:47:17.000Z
tests/integration_tests/boolean_tests/operations_tests/test_copy.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
1
2020-12-17T22:44:21.000Z
2020-12-17T22:44:21.000Z
import copy from typing import Tuple from hypothesis import given from tests.bind_tests.hints import BoundOperation from tests.integration_tests.utils import are_bound_ported_operations_equal from tests.port_tests.hints import PortedOperation from . import strategies @given(strategies.operations_pairs) def test_sha...
31.962963
79
0.720742
96
863
6.239583
0.3125
0.09182
0.175292
0.1202
0.559265
0.510851
0.387312
0.387312
0.387312
0.387312
0
0
0.215527
863
26
80
33.192308
0.884786
0
0
0.222222
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.388889
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
430437e084cbd4476962899fc4226a90c42059b4
284
py
Python
public/test.py
JNjenga/exp_rs_server
0d8a423843c4ad44e6e70b9a1ae423462681f9f0
[ "Apache-1.1" ]
null
null
null
public/test.py
JNjenga/exp_rs_server
0d8a423843c4ad44e6e70b9a1ae423462681f9f0
[ "Apache-1.1" ]
null
null
null
public/test.py
JNjenga/exp_rs_server
0d8a423843c4ad44e6e70b9a1ae423462681f9f0
[ "Apache-1.1" ]
null
null
null
print("""<!DOCTYPE html> <html lang=\"en\"> <head> <meta charset=\"utf-8\"> <title>Hello!</title> </head> <body> """) for i in range(0, 10): print("How awesome is this!!!<br>") print(""" <h1>Hello world!</h1> <p>Hi from python!!</p> </body> </html> """)
14.947368
39
0.514085
40
284
3.65
0.75
0
0
0
0
0
0
0
0
0
0
0.026667
0.207746
284
18
40
15.777778
0.622222
0
0
0.125
0
0
0.764085
0.073944
0
0
0
0
0
1
0
false
0
0
0
0
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4306b3daa608e329c0fee1ce5caad92dcf30c9f4
760
py
Python
page_object.py
LaurenJWeber/points-card-reloader
59073e8f2170ebe92e90c0483fabee9a275abdd1
[ "MIT" ]
null
null
null
page_object.py
LaurenJWeber/points-card-reloader
59073e8f2170ebe92e90c0483fabee9a275abdd1
[ "MIT" ]
null
null
null
page_object.py
LaurenJWeber/points-card-reloader
59073e8f2170ebe92e90c0483fabee9a275abdd1
[ "MIT" ]
null
null
null
from selenium.webdriver.support.ui import WebDriverWait class BasePage: def __init__(self, selenium_driver, url): self.driver = selenium_driver self.url = url self.implicit_wait_time_seconds = 5 self.driver.implicitly_wait(self.implicit_wait_time_seconds) self.explicit_wai...
33.043478
110
0.715789
99
760
5.20202
0.393939
0.116505
0.116505
0.07767
0.372816
0.163107
0.163107
0.163107
0
0
0
0.012987
0.189474
760
22
111
34.545455
0.823052
0
0
0
0
0
0.090789
0.036842
0
0
0
0
0
1
0.25
false
0
0.0625
0
0.375
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
430acc51c52b232f101894820cd8c7ee4ad1494e
1,797
py
Python
arguments.py
VikriAulia/educhain
bd9ec762b6a15a77b1efa0ad3a2a969785286a4c
[ "Apache-2.0" ]
8
2019-11-20T06:12:47.000Z
2021-06-20T13:41:22.000Z
arguments.py
twodude/blockchain-simulator
16eedba3a0b8ae781b1dcdf22a98d42017014e00
[ "Apache-2.0" ]
4
2018-12-11T16:35:34.000Z
2019-03-13T02:59:59.000Z
arguments.py
twodude/blockchain-simulator
16eedba3a0b8ae781b1dcdf22a98d42017014e00
[ "Apache-2.0" ]
2
2020-03-01T13:17:54.000Z
2021-06-20T13:41:45.000Z
import argparse def argparser(): parser = argparse.ArgumentParser() parser.add_argument('--steps', type=int, default=100, help='The number of simulation steps.') parser.add_argument('--nodes', type=int, default=120, help='The number of full nodes construct...
39.933333
108
0.604341
208
1,797
5.120192
0.331731
0.101408
0.191549
0.10892
0.419718
0.276056
0.152113
0.06385
0
0
0
0.032135
0.272677
1,797
44
109
40.840909
0.782708
0
0
0
0
0
0.350028
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.103448
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
431dff82c1fe376f2091c076229d951692cacf7d
5,567
py
Python
test/unit/utils/time/test_conversions.py
Oleksii-Kshenskyi/purple_tools
3c3a7fde0865e3458c5e885a5a5b68677a55cd1b
[ "0BSD" ]
null
null
null
test/unit/utils/time/test_conversions.py
Oleksii-Kshenskyi/purple_tools
3c3a7fde0865e3458c5e885a5a5b68677a55cd1b
[ "0BSD" ]
27
2019-10-06T20:14:48.000Z
2020-03-31T20:42:16.000Z
test/unit/utils/time/test_conversions.py
Oleksii-Kshenskyi/purple_tools
3c3a7fde0865e3458c5e885a5a5b68677a55cd1b
[ "0BSD" ]
null
null
null
import unittest from datetime import timedelta from scripts.utils.time.conversions import check_float_validity_and_convert_from_string from scripts.utils.time.conversions import convert_float_to_timedelta from scripts.utils.time.conversions import convert_time_string_to_timedelta from scripts.utils.time.conversions im...
54.048544
123
0.761451
781
5,567
5.067862
0.143406
0.159171
0.055836
0.0667
0.744568
0.648813
0.562405
0.463871
0.36761
0.339818
0
0.080415
0.117658
5,567
103
124
54.048544
0.725366
0
0
0.047619
0
0
0.086746
0
0
0
0
0
0.5
1
0.142857
false
0.02381
0.107143
0
0.261905
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
432249ac4a059795e669087742a27dd627575981
9,460
py
Python
Lib/encodings/idna.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/encodings/idna.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/encodings/idna.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
# This module implements the RFCs 3490 (IDNA) oraz 3491 (Nameprep) zaimportuj stringprep, re, codecs z unicodedata zaimportuj ucd_3_2_0 jako unicodedata # IDNA section 3.1 dots = re.compile("[\u002E\u3002\uFF0E\uFF61]") # IDNA section 5 ace_prefix = b"xn--" sace_prefix = "xn--" # This assumes query strings, so Allo...
30.516129
73
0.576533
1,065
9,460
5.062911
0.212207
0.032641
0.037834
0.025223
0.439726
0.367582
0.327151
0.270586
0.21773
0.20753
0
0.019783
0.337421
9,460
309
74
30.614887
0.840459
0.185412
0
0.527094
0
0
0.070887
0.0034
0
0
0
0
0
0
null
null
0
0.009852
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
43237df313788a19649fcebbaed29c70e2036c4b
5,089
py
Python
app_user/controller.py
bahmanshams/ICECREAM
fb956f9903333c7890ae9bb287aea81c0aea78f1
[ "BSD-3-Clause" ]
1
2022-02-17T21:50:04.000Z
2022-02-17T21:50:04.000Z
app_user/controller.py
bahmanshams/ICECREAM
fb956f9903333c7890ae9bb287aea81c0aea78f1
[ "BSD-3-Clause" ]
null
null
null
app_user/controller.py
bahmanshams/ICECREAM
fb956f9903333c7890ae9bb287aea81c0aea78f1
[ "BSD-3-Clause" ]
null
null
null
"ICECREAM" import bottle from distutils.util import strtobool from sqlalchemy.orm import Session from ICECREAM.file_handler import upload from ICECREAM.paginator import Paginate from ICECREAM.validators import validate_data from app_user.messages import ACTIVATED_MSG, DEACTIVATED_MSG, DELETE_IMG, PASSWORD_CHANGED, OLD_...
38.847328
114
0.753586
717
5,089
5.052999
0.135286
0.101849
0.046646
0.027049
0.430306
0.341154
0.313552
0.262214
0.225228
0.204803
0
0.01254
0.138141
5,089
130
115
39.146154
0.813497
0.022794
0
0.307692
0
0
0.03253
0
0
0
0
0
0
1
0.115385
false
0.086538
0.115385
0.009615
0.355769
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
4325a9e68b7be469ba10f34a37adc9bc7aa15cd7
2,091
py
Python
options/test_options.py
TaoZheng9/br
5c38937396647dcae3d2ba78e1db4262bf1cbcc4
[ "CC-BY-4.0" ]
null
null
null
options/test_options.py
TaoZheng9/br
5c38937396647dcae3d2ba78e1db4262bf1cbcc4
[ "CC-BY-4.0" ]
null
null
null
options/test_options.py
TaoZheng9/br
5c38937396647dcae3d2ba78e1db4262bf1cbcc4
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. from .base_options import BaseOptions class TestOptions(BaseOptions): def initialize(self): ...
58.083333
156
0.694405
284
2,091
4.992958
0.359155
0.098731
0.12835
0.207334
0.392807
0.222144
0.047955
0.047955
0
0
0
0.006399
0.177905
2,091
36
157
58.083333
0.818499
0.11143
0
0
0
0
0.353323
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.15
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
4327d10e489fd5e4efb72a162450e708ca821ab8
966
py
Python
PythonScripts/FindDubplicates.py
vwolfley/Python-Scripts
baa23041749e3c0bc2400a02886466648d107174
[ "MIT" ]
null
null
null
PythonScripts/FindDubplicates.py
vwolfley/Python-Scripts
baa23041749e3c0bc2400a02886466648d107174
[ "MIT" ]
null
null
null
PythonScripts/FindDubplicates.py
vwolfley/Python-Scripts
baa23041749e3c0bc2400a02886466648d107174
[ "MIT" ]
null
null
null
#-------------------------------- # Name: FindDuplicates.py # Purpose: Flags duplicates as "1" including the first occurrence # Author: Vern Wolfley # Created 03/02/2012 # Copyright: MIT # ArcGIS Version: 10.x # Python Version: 2.6 # INFO: Information found at http://forums.arcgi...
25.421053
91
0.65942
125
966
5.016
0.64
0.043062
0
0
0
0
0
0
0
0
0
0.060453
0.178054
966
38
92
25.421053
0.729219
0.413043
0
0
0
0
0.197842
0.147482
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.047619
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
432ac97ff60d6ff1679e226480915eddff61471a
715
py
Python
avalanche/models/ncm_classifier.py
ricklentz/avalanche
ee3baf287d6bd11cb4640d8ad8fd778269920124
[ "MIT" ]
1
2021-09-15T13:57:27.000Z
2021-09-15T13:57:27.000Z
avalanche/models/ncm_classifier.py
ricklentz/avalanche
ee3baf287d6bd11cb4640d8ad8fd778269920124
[ "MIT" ]
null
null
null
avalanche/models/ncm_classifier.py
ricklentz/avalanche
ee3baf287d6bd11cb4640d8ad8fd778269920124
[ "MIT" ]
null
null
null
import torch from torch import nn class NCMClassifier(nn.Module): """ NCM Classifier. NCMClassifier performs nearest class mean classification measuring the distance between the input tensor and the ones stored in 'self.class_means'. """ def __init__(self, class_mean=None): """ ...
25.535714
75
0.634965
91
715
4.747253
0.571429
0.083333
0.097222
0
0
0
0
0
0
0
0
0.00189
0.26014
715
27
76
26.481481
0.814745
0.374825
0
0
0
0
0.033505
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
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
432ae705e3672e28c9f10d6125f5ef5b026c0378
2,645
py
Python
avx512-binomialcoef/python/precalc_factors.py
clayne/toys
ec06411e2d3b920403607888d4a573e41390ee5b
[ "BSD-2-Clause" ]
null
null
null
avx512-binomialcoef/python/precalc_factors.py
clayne/toys
ec06411e2d3b920403607888d4a573e41390ee5b
[ "BSD-2-Clause" ]
null
null
null
avx512-binomialcoef/python/precalc_factors.py
clayne/toys
ec06411e2d3b920403607888d4a573e41390ee5b
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 import textwrap from string import Template from factor import precalculate, FactorialNumber CPP="""// generated by $script #include <cstddef> namespace avx512binom { constexpr size_t primes_count = $primes_count; constexpr size_t numbers_count = $numbers_count; constexpr size_t f...
23.616071
63
0.618147
321
2,645
4.903427
0.264798
0.050826
0.043202
0.045743
0.21474
0.21474
0.177891
0.177891
0.177891
0.177891
0
0.012575
0.248393
2,645
111
64
23.828829
0.779175
0.023062
0
0.192308
1
0
0.246124
0.030233
0
0
0
0
0.012821
1
0.051282
false
0
0.038462
0
0.102564
0.012821
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
4330199f4d4ab9c7d4a71bae83ef7b86134300e2
20,914
py
Python
gltbx/generate_functions_bpl.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
gltbx/generate_functions_bpl.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
gltbx/generate_functions_bpl.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
from __future__ import absolute_import, division, print_function from libtbx.utils import write_this_is_auto_generated from libtbx.str_utils import line_breaker import libtbx.load_env import libtbx.path import os import sys from six.moves import range this = "gltbx.generate_functions_bpl" return_types = { "GLenum":...
29.792023
81
0.631634
2,596
20,914
4.922573
0.17604
0.016981
0.017529
0.008764
0.224587
0.19219
0.137335
0.115189
0.096878
0.096878
0
0.026162
0.212298
20,914
701
82
29.834522
0.749545
0
0
0.152516
1
0.003145
0.376944
0.055273
0
0
0
0
0.014151
1
0.025157
false
0
0.012579
0.001572
0.051887
0.04717
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
43302e93efdd20a2879679cefe784b25b6237ad4
5,053
py
Python
run_eqSBtab.py
Galaxy-SynBioCAD/rpThermo
642e4b532be40f177e1d7a9645a232161d2dc005
[ "MIT" ]
null
null
null
run_eqSBtab.py
Galaxy-SynBioCAD/rpThermo
642e4b532be40f177e1d7a9645a232161d2dc005
[ "MIT" ]
1
2019-10-16T05:39:09.000Z
2019-10-16T05:39:09.000Z
run_eqSBtab.py
Galaxy-SynBioCAD/rpThermo_image
642e4b532be40f177e1d7a9645a232161d2dc005
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Created on 9 September 2020 @author: Melchior du Lac @description: Generate SBtab files for Equilibrator """ import argparse import tempfile import os import logging import shutil import docker ## # # def main(inputfile, input_format, output, pathway_id='rp_pat...
37.708955
171
0.571937
600
5,053
4.66
0.281667
0.032189
0.060801
0.02432
0.126609
0.066524
0.066524
0.051502
0.051502
0.051502
0
0.015209
0.323372
5,053
133
172
37.992481
0.802574
0.229962
0
0.127907
1
0
0.157309
0.026748
0
0
0
0
0
1
0.011628
false
0
0.069767
0
0.081395
0.034884
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
4331a2aaa9b159a88fea9fda8f8b409f0bdccff3
3,117
py
Python
tests/test_group.py
interactive-sonification/sc3nb
c6081ae01f4e72094b6cb6dbd9667278c8d21069
[ "MIT" ]
7
2021-08-02T12:57:13.000Z
2022-02-16T08:54:23.000Z
tests/test_group.py
interactive-sonification/sc3nb
c6081ae01f4e72094b6cb6dbd9667278c8d21069
[ "MIT" ]
3
2021-05-12T12:59:23.000Z
2021-09-30T16:28:57.000Z
tests/test_group.py
thomas-hermann/sc3nb
7d7fbd9178fe804c5c8ddd0ddd4075579221b7c4
[ "MIT" ]
6
2019-04-18T17:25:42.000Z
2020-04-28T09:43:33.000Z
import time import warnings from sc3nb.sc_objects.node import AddAction, Group, GroupInfo, Synth from tests.conftest import SCBaseTest class GroupTest(SCBaseTest): __test__ = True def setUp(self) -> None: with self.assertRaises(RuntimeError): GroupTest.sc.lang warnings.simplefil...
38.9625
87
0.64068
394
3,117
4.994924
0.312183
0.068598
0.045732
0.079268
0.278963
0.181911
0.148374
0.148374
0.117886
0.082317
0
0.020043
0.247674
3,117
79
88
39.455696
0.81919
0.051652
0
0.164179
0
0
0.061314
0
0
0
0
0.012658
0.328358
1
0.089552
false
0
0.059701
0
0.179104
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
4333d89d2075406cdc81f73a7123e6519cda0f99
1,505
py
Python
notebooks/scripts/create_collection.py
sthahir/Knowledge-base-search
132c03c4b4594a48c03f0508c782023f4d29b904
[ "MIT" ]
null
null
null
notebooks/scripts/create_collection.py
sthahir/Knowledge-base-search
132c03c4b4594a48c03f0508c782023f4d29b904
[ "MIT" ]
null
null
null
notebooks/scripts/create_collection.py
sthahir/Knowledge-base-search
132c03c4b4594a48c03f0508c782023f4d29b904
[ "MIT" ]
null
null
null
import os import sys import json # load the proper path for discovery setup utils if '__file__' in globals(): sys.path.insert(0, os.path.join(os.path.abspath(__file__), 'scripts')) else: sys.path.insert(0, os.path.join(os.path.abspath(os.getcwd()), 'scripts')) from discovery_setup_utils import ( discovery, ...
32.021277
77
0.714286
190
1,505
5.431579
0.336842
0.125969
0.093023
0.100775
0.165698
0.165698
0.139535
0.071705
0.071705
0.071705
0
0.004062
0.18206
1,505
46
78
32.717391
0.834281
0.153488
0
0.117647
0
0
0.164957
0.063931
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.294118
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
433548ff5b2f8cbc72d1e6915a6dd217f10af919
13,835
py
Python
OverviewPlot/grid_overview.py
FPABacks/OverviewPlot
3f7d1f3b01a26c9b429d68de6bf3159b6d275bd2
[ "MIT" ]
null
null
null
OverviewPlot/grid_overview.py
FPABacks/OverviewPlot
3f7d1f3b01a26c9b429d68de6bf3159b6d275bd2
[ "MIT" ]
null
null
null
OverviewPlot/grid_overview.py
FPABacks/OverviewPlot
3f7d1f3b01a26c9b429d68de6bf3159b6d275bd2
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import sys from matplotlib.colors import LogNorm, Normalize from scipy.interpolate import interp2d print "Yay! I am being imported!" class OverviewPlot: def set_unique_parameters(self): self.uni1 = np.unique(self.parameters[:,0]) self.uni2 = np....
42.965839
124
0.55786
1,850
13,835
4.032432
0.2
0.043164
0.014477
0.018097
0.155496
0.086863
0.063003
0.059786
0.031099
0.031099
0
0.026897
0.325479
13,835
321
125
43.099688
0.772503
0.095699
0
0.083333
0
0
0.040017
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.013889
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
433f1b1d00c5613a975f1971b4b5be6e576eb7e9
15,684
py
Python
py/observables.py
mlxd/GPUE
4ff67b43b365f60e9882f2abfe19a4e110bdc745
[ "BSD-3-Clause" ]
21
2015-09-02T03:40:19.000Z
2021-11-17T11:17:28.000Z
py/observables.py
mlxd/GPUE
4ff67b43b365f60e9882f2abfe19a4e110bdc745
[ "BSD-3-Clause" ]
10
2016-03-04T06:21:09.000Z
2017-02-21T07:40:31.000Z
py/observables.py
mlxd/GPUE
4ff67b43b365f60e9882f2abfe19a4e110bdc745
[ "BSD-3-Clause" ]
11
2015-11-26T08:48:14.000Z
2022-01-21T19:17:06.000Z
''' observables.py - GPUE: Split Operator based GPU solver for Nonlinear Schrodinger Equation, Copyright (C) 2011-2015, Lee J. O'Riordan <loriordan@gmail.com>, Tadhg Morgan, Neil Crowley. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
37.431981
126
0.657422
2,677
15,684
3.751214
0.159133
0.013543
0.028381
0.02868
0.483469
0.420733
0.398128
0.369249
0.340769
0.340769
0
0.029799
0.141992
15,684
418
127
37.521531
0.71643
0.058212
0
0.35625
0
0
0.053988
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.04375
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
4a2b5185dad2e54d000371ccd33ddf9eac5fb5ca
2,016
py
Python
weighted_mean_prediction/random_forest/tuning_rf.py
fegb-dataset22/dataset22
6642a01ca7ab9948c9b5ffc3aae1201cd8c72f0b
[ "MIT" ]
null
null
null
weighted_mean_prediction/random_forest/tuning_rf.py
fegb-dataset22/dataset22
6642a01ca7ab9948c9b5ffc3aae1201cd8c72f0b
[ "MIT" ]
null
null
null
weighted_mean_prediction/random_forest/tuning_rf.py
fegb-dataset22/dataset22
6642a01ca7ab9948c9b5ffc3aae1201cd8c72f0b
[ "MIT" ]
null
null
null
import os.path import sys from typing import Callable import pandas as pd from matplotlib import pyplot as plt from optuna import Study from optuna.visualization import plot_parallel_coordinate from optuna.visualization.matplotlib import plot_contour, plot_edf, plot_optimization_history, plot_param_importances, \ ...
37.333333
120
0.748512
282
2,016
4.975177
0.315603
0.025659
0.062723
0.055595
0.151105
0.057021
0.057021
0
0
0
0
0.005422
0.176587
2,016
53
121
38.037736
0.839759
0
0
0.046512
0
0
0.077877
0.028274
0
0
0
0
0
1
0.023256
false
0
0.325581
0
0.348837
0.046512
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
4a346492d682431c15c88fde94f0c5403a1a5da0
1,036
py
Python
calamari_ocr/scripts/cross_fold_train.py
jacektl/calamari
980477aefe4e56f7fc373119c1b38649798d8686
[ "Apache-2.0" ]
922
2018-07-06T05:18:22.000Z
2022-03-22T12:38:32.000Z
calamari_ocr/scripts/cross_fold_train.py
jacektl/calamari
980477aefe4e56f7fc373119c1b38649798d8686
[ "Apache-2.0" ]
267
2018-07-14T22:10:41.000Z
2022-03-28T18:38:43.000Z
calamari_ocr/scripts/cross_fold_train.py
jacektl/calamari
980477aefe4e56f7fc373119c1b38649798d8686
[ "Apache-2.0" ]
227
2018-07-06T07:42:16.000Z
2022-02-27T05:29:59.000Z
from paiargparse import PAIArgumentParser from tfaip.util.logging import logger from calamari_ocr.ocr.training.cross_fold_trainer import ( CrossFoldTrainer, CrossFoldTrainerParams, ) logger = logger(__name__) def run(): return main(parse_args()) def parse_args(args=None): parser = PAIArgumentParse...
28.777778
110
0.697876
117
1,036
5.897436
0.487179
0.03913
0.037681
0.063768
0
0
0
0
0
0
0
0.001215
0.205598
1,036
35
111
29.6
0.837181
0.291506
0
0
0
0
0.065844
0
0
0
0
0.028571
0
1
0.142857
false
0
0.142857
0.047619
0.380952
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
4a3af565371b3acd720205e22f80c4a2845ea323
472
py
Python
setup.py
summer-wu/event-bus
ace85ed2c385d77ef2efc9ddd3269a6991fd08be
[ "MIT" ]
null
null
null
setup.py
summer-wu/event-bus
ace85ed2c385d77ef2efc9ddd3269a6991fd08be
[ "MIT" ]
null
null
null
setup.py
summer-wu/event-bus
ace85ed2c385d77ef2efc9ddd3269a6991fd08be
[ "MIT" ]
null
null
null
from distutils.core import setup from setuptools import setup setup( name='event-bus', version='1.0.4', packages=['event_bus'], url='https://github.com/summer-wu/event-bus', license='MIT', author='Sean Parsons', author_email='seanpatrick2013@gmail.com', description='A simple python event bus.', download_url='...
27.764706
77
0.739407
76
472
4.526316
0.657895
0.139535
0.017442
0.098837
0
0
0
0
0
0
0
0.04662
0.091102
472
17
78
27.764706
0.755245
0.173729
0
0
0
0.076923
0.481959
0.064433
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
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
4a41d9b37fcdaf33cc17ab400cb24ca0c8e9d7d9
902
py
Python
noise_clean.py
cugdeeplearn/Visual-analytics
ecbeea8c609a9ab5600339a88973c75eefe748ae
[ "Apache-2.0" ]
1
2021-01-21T07:44:01.000Z
2021-01-21T07:44:01.000Z
noise_clean.py
cugdeeplearn/Visual-analytics
ecbeea8c609a9ab5600339a88973c75eefe748ae
[ "Apache-2.0" ]
null
null
null
noise_clean.py
cugdeeplearn/Visual-analytics
ecbeea8c609a9ab5600339a88973c75eefe748ae
[ "Apache-2.0" ]
null
null
null
# ecoding=utf-8 #ifn = r"D:\\code\\bp\\visulization\\files\\new_outtext.txt" ifn = r"D:\\code\\bp\\visulization\\files\\new_outtext.txt" ofn = r"D:\\code\\bp\\visulization\\files\\new_outtext_zhengze_out28-1.txt" infile = open(ifn,'r',encoding = 'utf8') outfile = open(ofn,'w+',encoding = 'utf8') # 在使用write()函数的...
47.473684
200
0.654102
135
902
4.555556
0.651852
0.019512
0.029268
0.039024
0.190244
0.190244
0.190244
0.190244
0.133333
0.133333
0
0.038023
0.125277
902
19
201
47.473684
0.695817
0.322616
0
0
0
0.090909
0.464957
0.382906
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
4a487ece1893edb42e18cccb9e9a4e4887c1c9e8
721
py
Python
strawberry_django_jwt/refresh_token/decorators.py
kozickikarol/strawberry-django-jwt
9e99a2b61db87a9ec0466cbeefd694a65b641612
[ "MIT" ]
17
2021-06-20T21:46:18.000Z
2022-02-16T07:47:40.000Z
strawberry_django_jwt/refresh_token/decorators.py
kozickikarol/strawberry-django-jwt
9e99a2b61db87a9ec0466cbeefd694a65b641612
[ "MIT" ]
249
2021-06-21T17:43:00.000Z
2022-03-29T05:20:07.000Z
strawberry_django_jwt/refresh_token/decorators.py
kozickikarol/strawberry-django-jwt
9e99a2b61db87a9ec0466cbeefd694a65b641612
[ "MIT" ]
5
2021-06-24T18:30:00.000Z
2022-03-17T17:23:00.000Z
from functools import wraps from django.utils.translation import gettext as _ from .. import exceptions from ..settings import jwt_settings from ..utils import get_context def ensure_refresh_token(f): @wraps(f) def wrapper(cls, info, refresh_token=None, *args, **kwargs): if refresh_token is None: ...
28.84
64
0.632455
83
721
5.289157
0.409639
0.218679
0.095672
0.08656
0.091116
0
0
0
0
0
0
0
0.292649
721
24
65
30.041667
0.860784
0
0
0.105263
0
0
0.034674
0
0
0
0
0
0
1
0.105263
false
0
0.263158
0
0.473684
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
4a490cf97759132d04b618f07f0728f9b27d47b8
430
py
Python
docs/irf/plot_energy_dispersion.py
grburgess/gammapy
609e460698caca7223afeef5e71826c7b32728d1
[ "BSD-3-Clause" ]
3
2019-01-28T12:21:14.000Z
2019-02-10T19:58:07.000Z
docs/irf/plot_energy_dispersion.py
grburgess/gammapy
609e460698caca7223afeef5e71826c7b32728d1
[ "BSD-3-Clause" ]
null
null
null
docs/irf/plot_energy_dispersion.py
grburgess/gammapy
609e460698caca7223afeef5e71826c7b32728d1
[ "BSD-3-Clause" ]
null
null
null
"""Plot energy dispersion example.""" import matplotlib.pyplot as plt import astropy.units as u import numpy as np from gammapy.irf import EnergyDispersion ebounds = np.logspace(-1, 2, 101) * u.TeV energy_dispersion = EnergyDispersion.from_gauss(e_true=ebounds, e_reco=eb...
30.714286
63
0.611628
51
430
5.039216
0.647059
0.18677
0
0
0
0
0
0
0
0
0
0.02349
0.306977
430
13
64
33.076923
0.838926
0.072093
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4a4bb0ce5d55a2728b0a2e11eab04ed9b3889123
871
py
Python
main/admin.py
ravsimar-sodhi/SRIP-web-app
a134919c7c403d0344a20fae2e29b564244d4e87
[ "MIT" ]
null
null
null
main/admin.py
ravsimar-sodhi/SRIP-web-app
a134919c7c403d0344a20fae2e29b564244d4e87
[ "MIT" ]
null
null
null
main/admin.py
ravsimar-sodhi/SRIP-web-app
a134919c7c403d0344a20fae2e29b564244d4e87
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import LoggedCommit from mentor.models import Mentor def approve_status(modeladmin, request, queryset): queryset.update(status = "APPROVED") approve_status.short_description = "Mark selected Commits as approved" class LoggedCommitAdmin(admin.ModelAdmin): list_filt...
37.869565
127
0.712974
103
871
5.873786
0.563107
0.064463
0
0
0
0
0
0
0
0
0
0
0.172216
871
22
128
39.590909
0.839112
0
0
0
0
0
0.135476
0
0
0
0
0
0
1
0.111111
false
0
0.166667
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4a5c19797fbfbd5234fc875439672138b60710dd
298
py
Python
lightautoml/image/utils.py
kobylkinks/LightAutoML
4d62d2f52192aa3fb2d7841481339e35ef7f7f09
[ "Apache-2.0" ]
766
2020-12-03T08:57:21.000Z
2022-03-31T14:06:53.000Z
lightautoml/image/utils.py
kobylkinks/LightAutoML
4d62d2f52192aa3fb2d7841481339e35ef7f7f09
[ "Apache-2.0" ]
71
2020-12-07T09:53:59.000Z
2022-03-31T09:31:26.000Z
lightautoml/image/utils.py
kobylkinks/LightAutoML
4d62d2f52192aa3fb2d7841481339e35ef7f7f09
[ "Apache-2.0" ]
98
2020-12-04T22:00:28.000Z
2022-03-23T15:52:07.000Z
"""Image utils.""" from PIL import Image def pil_loader(path: str) -> Image: """Load image from pathes. Args: path: Image path. Returns: Loaded PIL Image in rgb. """ with open(path, "rb") as f: img = Image.open(f) return img.convert("RGB")
15.684211
35
0.550336
40
298
4.075
0.6
0
0
0
0
0
0
0
0
0
0
0
0.315436
298
18
36
16.555556
0.79902
0.348993
0
0
0
0
0.031056
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4a61101adf74c29c6604ad40fdfc5e3bb6db1afe
2,856
py
Python
classes.py
mweeden2/desert_game
aaf561d11687455a23982771315b15a9bf5b1a86
[ "MIT" ]
null
null
null
classes.py
mweeden2/desert_game
aaf561d11687455a23982771315b15a9bf5b1a86
[ "MIT" ]
null
null
null
classes.py
mweeden2/desert_game
aaf561d11687455a23982771315b15a9bf5b1a86
[ "MIT" ]
null
null
null
# created by Matt Weeden # 7/8/16 # # This script defines classes for a text-based game import sys import random #TODO: expand status (prettyPrint) into status and info commands class Thing(object): # Note: "..._a" means a user-visible attribute of a Thing def __init__(self, name, kind, weight, health, is_e...
26.444444
95
0.571779
378
2,856
4.113757
0.280423
0.056592
0.061736
0.041158
0.133762
0.097749
0.097749
0.056592
0.056592
0.056592
0
0.007634
0.311975
2,856
107
96
26.691589
0.783715
0.095938
0
0.056338
0
0
0.041213
0.008554
0
0
0
0.009346
0
0
null
null
0
0.028169
null
null
0.056338
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
4a63d62c47560056eec99070675ed023ac38dc57
843
py
Python
toolkit/src/NotifiablePluginBrowser.py
builder08/enigma2-plugins_2
f8f08b947e23c1c86b011492a7323125774c3482
[ "OLDAP-2.3" ]
30
2015-05-08T22:10:00.000Z
2022-03-13T22:09:31.000Z
toolkit/src/NotifiablePluginBrowser.py
builder08/enigma2-plugins_2
f8f08b947e23c1c86b011492a7323125774c3482
[ "OLDAP-2.3" ]
124
2015-04-27T21:30:48.000Z
2022-03-29T10:21:39.000Z
toolkit/src/NotifiablePluginBrowser.py
builder08/enigma2-plugins_2
f8f08b947e23c1c86b011492a7323125774c3482
[ "OLDAP-2.3" ]
193
2015-01-10T09:21:26.000Z
2022-03-21T08:19:33.000Z
from Screens import PluginBrowser as PBBase from Screens.InfoBarGenerics import InfoBarNotifications OriginalPluginBrowser = PBBase.PluginBrowser if not issubclass(OriginalPluginBrowser, InfoBarNotifications): class PluginBrowser(OriginalPluginBrowser, InfoBarNotifications): def __init__(self, *args, **kwargs): ...
32.423077
86
0.812574
65
843
10.292308
0.384615
0.085202
0.035874
0.053812
0
0
0
0
0
0
0
0
0.102017
843
25
87
33.72
0.883752
0.124555
0
0
0
0
0.081522
0.059783
0
0
0
0
0
1
0.1875
false
0
0.125
0
0.375
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4a63e29da8c0f3f71cd6482af3fe581e6be8b6d8
478
py
Python
Examples/CreateComponent.py
singleit-tech/ValispacePythonAPI
a5681779b3ee898188270a7973e0222875f93b8c
[ "MIT" ]
9
2018-04-28T10:38:31.000Z
2022-02-18T12:41:47.000Z
Examples/CreateComponent.py
singleit-tech/ValispacePythonAPI
a5681779b3ee898188270a7973e0222875f93b8c
[ "MIT" ]
7
2017-10-26T13:10:30.000Z
2020-08-08T13:46:19.000Z
Examples/CreateComponent.py
singleit-tech/ValispacePythonAPI
a5681779b3ee898188270a7973e0222875f93b8c
[ "MIT" ]
13
2017-10-06T08:23:06.000Z
2022-02-09T10:55:41.000Z
import valispace deployment = input("Deployment Name:") valispace = valispace.API(url="https://"+deployment+".valispace.com/") # The ID of the Parent Component; If it is at the highest level, parent is null, but project need to be specified. parent_component = # Object with the new Component Property component = {...
25.157895
114
0.746862
62
478
5.725806
0.645161
0.126761
0
0
0
0
0
0
0
0
0
0
0.146444
478
18
115
26.555556
0.870098
0.393305
0
0
0
0
0.259649
0
0
0
0
0
0
0
null
null
0
0.111111
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
4a65dbe5b166fa72418195995e4d658fdb0e946f
379
py
Python
kernel/yloop/ucube.py
kavinlk/AliOS-Things
381be7a9f8f61a6ceb23964e5351f996e8bba49f
[ "Apache-2.0" ]
1
2019-10-15T23:05:43.000Z
2019-10-15T23:05:43.000Z
kernel/yloop/ucube.py
kavinlk/AliOS-Things
381be7a9f8f61a6ceb23964e5351f996e8bba49f
[ "Apache-2.0" ]
null
null
null
kernel/yloop/ucube.py
kavinlk/AliOS-Things
381be7a9f8f61a6ceb23964e5351f996e8bba49f
[ "Apache-2.0" ]
2
2018-09-29T06:01:58.000Z
2020-03-06T15:57:17.000Z
src = Split(''' yloop.c local_event.c ''') component = aos_component('yloop', src) component.add_comp_deps('utility/log', 'kernel/vfs') component.add_global_macros('AOS_LOOP') if aos_global_config.compiler == 'armcc': component.add_prebuilt_objs('local_event.o') elif aos_global_config.compiler ...
31.583333
52
0.717678
52
379
4.903846
0.519231
0.188235
0.117647
0.180392
0.27451
0.27451
0.27451
0
0
0
0
0
0.134565
379
12
53
31.583333
0.777439
0
0
0.181818
0
0
0.284211
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
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
4a668a3f6c2a176cf53b19cc6376721740775c5d
1,914
py
Python
sympy/physics/optics/tests/test_medium.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
8
2019-05-29T09:38:30.000Z
2021-01-20T03:36:59.000Z
sympy/physics/optics/tests/test_medium.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
12
2021-03-09T03:01:16.000Z
2022-03-11T23:59:36.000Z
sympy/physics/optics/tests/test_medium.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
1
2018-10-22T09:17:11.000Z
2018-10-22T09:17:11.000Z
from __future__ import division from sympy import sqrt, simplify from sympy.physics.optics import Medium from sympy.abc import epsilon, mu from sympy.physics.units import speed_of_light, u0, e0, m, kg, s, A c = speed_of_light.convert_to(m/s) e0 = e0.convert_to(A**2*s**4/(kg*m**3)) u0 = u0.convert_to(m*kg/(A**2*s**2)...
41.608696
88
0.633751
336
1,914
3.544643
0.22619
0.02183
0.025189
0.016793
0.359362
0.297229
0.221662
0.188077
0.188077
0.151134
0
0.12516
0.181818
1,914
45
89
42.533333
0.635377
0.105016
0
0
0
0
0.005855
0
0
0
0
0
0.527778
1
0.027778
false
0
0.138889
0
0.166667
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
4a6e116e8a89816876af970ca6eccc7c6c3e46db
8,221
py
Python
python/VisualizationClient.py
dehann/ThermalSoaring
b5f0bbd0be7d599a43f08546171ebac89b7a9333
[ "MIT" ]
5
2015-07-25T11:17:35.000Z
2020-06-08T20:10:54.000Z
python/VisualizationClient.py
dehann/ThermalSoaring
b5f0bbd0be7d599a43f08546171ebac89b7a9333
[ "MIT" ]
null
null
null
python/VisualizationClient.py
dehann/ThermalSoaring
b5f0bbd0be7d599a43f08546171ebac89b7a9333
[ "MIT" ]
4
2015-07-25T11:41:55.000Z
2019-11-03T22:40:44.000Z
#!/usr/bin/env python from pylab import * import socket import time import threading import json from collections import deque from glider_icon import * import helper from ip_list import * #init plot fig = plt.figure() gs = GridSpec(3, 2) ax = plt.subplot(gs[:, 0]) ax1 = plt.subplot(gs[0, 1]) ax2 = plt.subplot(gs[1, ...
28.250859
176
0.719742
1,496
8,221
3.655749
0.159091
0.014994
0.012068
0.007314
0.257817
0.170049
0.125617
0.102944
0.050466
0.027427
0
0.039498
0.137696
8,221
290
177
28.348276
0.731979
0.100474
0
0.044053
0
0
0.058943
0
0
0
0
0
0
0
null
null
0.004405
0.039648
null
null
0.004405
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
4a763ad1f6dfb08f505ad996cc6dc6508e224b22
2,212
py
Python
Test/Jenna/test.py
xorthat/NameThatCarAgain
06df423fb555cc37a37720dc6b37d7b6ad8afe71
[ "MIT" ]
1
2016-04-20T16:07:23.000Z
2016-04-20T16:07:23.000Z
Test/Jenna/test.py
xorthat/NameThatCarAgain
06df423fb555cc37a37720dc6b37d7b6ad8afe71
[ "MIT" ]
null
null
null
Test/Jenna/test.py
xorthat/NameThatCarAgain
06df423fb555cc37a37720dc6b37d7b6ad8afe71
[ "MIT" ]
null
null
null
import numpy as np # Make sure that caffe is on the python path: caffe_root = '../caffe-master/' # this file is expected to be in {caffe_root}/examples import sys sys.path.insert(0, caffe_root + 'python') import caffe def findAccuracy(result_file, model, test_listfile, prototxt): caffe.set_device(0) ...
33.014925
198
0.687613
329
2,212
4.452888
0.316109
0.032765
0.07099
0.049147
0.32628
0.32628
0.32628
0.32628
0.32628
0.32628
0
0.060803
0.167269
2,212
66
199
33.515152
0.734528
0.0434
0
0
0
0
0.349462
0.285435
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.235294
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
4a767d68a185432617981f603722d56ed5c129fc
5,012
py
Python
app/controller/admin/journal_entry_controller.py
JunFuruya/Ratsnake
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
null
null
null
app/controller/admin/journal_entry_controller.py
JunFuruya/Ratsnake
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
5
2018-05-17T04:03:39.000Z
2021-09-08T01:03:17.000Z
app/controller/admin/journal_entry_controller.py
JunFuruya/Hideout
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from app.controller.base_controller import BaseController from app.validator.journal_entry_validator import JournalEntryValidator from app.service.journal_entry_service import JournalEntryService from app.entity.journal_entry_entity import JournalEntryEntity ''' Journal Entry Controller Contro...
44.353982
183
0.698524
596
5,012
5.447987
0.125839
0.20696
0.128734
0.10348
0.674161
0.610718
0.556822
0.503542
0.489683
0.458885
0
0.001236
0.192937
5,012
113
184
44.353982
0.801483
0.031125
0
0.376623
0
0
0.219304
0.126954
0
0
0
0.00885
0
1
0.116883
false
0.012987
0.051948
0.012987
0.285714
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
4a7810f568e2286dd1dca4588bd03b9b10182a0d
292
py
Python
exercism/python/flatten-array/flatten_array.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
exercism/python/flatten-array/flatten_array.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
exercism/python/flatten-array/flatten_array.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
def flatten(iterable): flatten_iterable = [] for elem in iterable: if elem is not None : if type(elem) is list: flatten_iterable.extend(flatten(elem)) else: flatten_iterable.append(elem) return flatten_iterable
26.545455
54
0.571918
32
292
5.09375
0.5
0.460123
0
0
0
0
0
0
0
0
0
0
0.359589
292
10
55
29.2
0.871658
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
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
4a789701562ec91e14c90362fc8624b8f4930505
315
py
Python
tests/functional_tests/identity_tests/test_properties.py
lycantropos/lz
632baaffc1c62cd644f6e67f0bcd7971ae6580da
[ "MIT" ]
7
2019-05-26T15:30:03.000Z
2022-03-07T16:00:31.000Z
tests/functional_tests/identity_tests/test_properties.py
lycantropos/lz
632baaffc1c62cd644f6e67f0bcd7971ae6580da
[ "MIT" ]
29
2018-11-12T11:45:56.000Z
2021-05-04T17:24:45.000Z
tests/functional_tests/identity_tests/test_properties.py
lycantropos/lz
632baaffc1c62cd644f6e67f0bcd7971ae6580da
[ "MIT" ]
null
null
null
from typing import Any from hypothesis import given from lz.functional import (curry, identity) from tests import strategies @given(strategies.scalars) def test_currying(object_: Any) -> None: curried = curry(identity) result = curried(object_) assert result is object_
18.529412
40
0.688889
37
315
5.756757
0.594595
0.122066
0
0
0
0
0
0
0
0
0
0
0.247619
315
16
41
19.6875
0.898734
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.1
false
0
0.4
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
4a7c343766e67f6c7a2ddf30fba030dbab09d217
4,506
py
Python
src/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
249
2017-09-11T22:06:05.000Z
2022-03-04T17:09:29.000Z
src/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
228
2017-09-11T23:07:26.000Z
2022-03-23T10:58:50.000Z
src/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
224
2017-09-27T07:32:43.000Z
2022-03-25T16:55:42.000Z
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
35.761905
261
0.679538
480
4,506
6.177083
0.289583
0.060708
0.241147
0.119393
0.392917
0.31602
0.238111
0.17403
0.069477
0.069477
0
0.0241
0.254106
4,506
125
262
36.048
0.858078
0.549933
0
0.043478
0
0
0.085904
0
0
0
0
0
0
1
0.173913
false
0
0.065217
0.043478
0.391304
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
4a83980be4e8f90830110c1ec52a94fd254cb393
299
py
Python
main.py
neutronest/rayplay
5edab0ae3d8169f15822dd61d7b1281a52f02bd8
[ "MIT" ]
null
null
null
main.py
neutronest/rayplay
5edab0ae3d8169f15822dd61d7b1281a52f02bd8
[ "MIT" ]
null
null
null
main.py
neutronest/rayplay
5edab0ae3d8169f15822dd61d7b1281a52f02bd8
[ "MIT" ]
null
null
null
import unittest import ray #import ray.test.test_functions as test_functions #import ray.test.test_utils import time @ray.remote def f(): time.sleep(1) return 1 if __name__ == "__main__": ray.init() results = ray.get([f.remote() for i in range(4)]) print("results: ", results)
18.6875
53
0.685619
46
299
4.217391
0.565217
0.139175
0.134021
0.175258
0
0
0
0
0
0
0
0.012295
0.183946
299
15
54
19.933333
0.782787
0.247492
0
0
0
0
0.076233
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.454545
0.090909
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
4a9019b822b048ea45f1d4c14f71c87c0b922b06
1,069
py
Python
code/noise.py
BlackSheepFarm/knausj_talon
795e5b5d90ec20b5af76be0a588dc5a51f99d15a
[ "Unlicense" ]
32
2020-10-21T13:14:03.000Z
2022-03-06T22:48:38.000Z
code/noise.py
BlackSheepFarm/knausj_talon
795e5b5d90ec20b5af76be0a588dc5a51f99d15a
[ "Unlicense" ]
1
2020-10-28T16:28:43.000Z
2020-10-28T20:17:03.000Z
code/noise.py
BlackSheepFarm/knausj_talon
795e5b5d90ec20b5af76be0a588dc5a51f99d15a
[ "Unlicense" ]
9
2020-10-22T09:08:28.000Z
2021-09-30T06:32:15.000Z
# From https://github.com/talonvoice/examples/blob/master/noise.py # import time # from talon import ctrl # from talon import tap # from talon import noise # from talon.track.geom import Point2d # class NoiseModel: # def __init__(self): # self.button = 0 # self.mouse_origin = Point2d(0, 0) ...
30.542857
69
0.565949
144
1,069
4.090278
0.361111
0.091681
0.101868
0.044143
0
0
0
0
0
0
0
0.025435
0.301216
1,069
34
70
31.441176
0.763052
0.761459
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4a966d77a87d761b323d619968a78aec7c877296
651
py
Python
molecule/default/tests/test_default.py
darkwizard242/ansible-role-hugo
a3753945e9eca6e61f0a0ce73a1e1095dc5776f2
[ "MIT" ]
1
2021-09-18T16:08:31.000Z
2021-09-18T16:08:31.000Z
roles/not.ansible-hugo/molecule/default/tests/test_default.py
mellonaut/sorrowset-ec2-WorldEdition
0d0f49bc19108b4c0a4d156ecc0894032e65bae7
[ "Apache-2.0" ]
20
2020-03-28T04:59:06.000Z
2022-03-30T12:59:24.000Z
molecule/default/tests/test_default.py
darkwizard242/ansible-role-hugo
a3753945e9eca6e61f0a0ce73a1e1095dc5776f2
[ "MIT" ]
null
null
null
import os import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') PACKAGE_BINARY = '/usr/local/bin/hugo' def test_hugo_binary_exists(host): """ Tests if hugo binary exists. """ assert host.fil...
21
63
0.714286
89
651
4.988764
0.426966
0.112613
0.074324
0.114865
0.216216
0
0
0
0
0
0
0
0.176651
651
30
64
21.7
0.828358
0.179724
0
0
0
0
0.112705
0.047131
0
0
0
0
0.272727
1
0.272727
false
0
0.181818
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
1
0
0
0
0
0
0
0
1
4a98cbb4bdc8ab13cff43c6c253caf6932efe89d
807
py
Python
configs/loftr/indoor/scannet/loftr_ds_eval_new.py
AK391/LoFTR
104ba1f414491381003671aaf811f979a709b0b6
[ "Apache-2.0" ]
907
2021-04-02T00:25:54.000Z
2022-03-31T07:18:36.000Z
configs/loftr/indoor/scannet/loftr_ds_eval_new.py
AK391/LoFTR
104ba1f414491381003671aaf811f979a709b0b6
[ "Apache-2.0" ]
99
2021-04-05T13:36:22.000Z
2022-03-30T08:04:30.000Z
configs/loftr/indoor/scannet/loftr_ds_eval_new.py
AK391/LoFTR
104ba1f414491381003671aaf811f979a709b0b6
[ "Apache-2.0" ]
141
2021-04-02T10:08:05.000Z
2022-03-29T09:43:01.000Z
""" A config only for reproducing the ScanNet evaluation results. We remove border matches by default, but the originally implemented `remove_border()` has a bug, leading to only two sides of all borders are actually removed. However, the [bug fix](https://github.com/zju3dv/LoFTR/commit/e9146c8144dea5f3cbdd98b225f3e14...
42.473684
137
0.789343
132
807
4.75
0.666667
0.038278
0.063796
0.086124
0
0
0
0
0
0
0
0.05165
0.136307
807
18
138
44.833333
0.84792
0.778191
0
0
0
0
0.070175
0
0
0
0
0
0
1
0
true
0
0.25
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
0
1
0
0
0
0
0
0
1
4aa0e4ec27e9d1a2592f6c6b4b78b6bbabf961d1
2,889
py
Python
FortiJson/rpcrequest.py
talbiston/fortijson-rpc
aabad90f105b60f44a926e938208960c3852261e
[ "MIT" ]
null
null
null
FortiJson/rpcrequest.py
talbiston/fortijson-rpc
aabad90f105b60f44a926e938208960c3852261e
[ "MIT" ]
null
null
null
FortiJson/rpcrequest.py
talbiston/fortijson-rpc
aabad90f105b60f44a926e938208960c3852261e
[ "MIT" ]
null
null
null
import json from collections import OrderedDict import requests def sort_request(request): """ Sort a JSON-RPC request dict. This has no effect other than making the request nicer to read. >>> json.dumps(sort_request( ... {'id': 2, 'params': [2, 3], 'method': 'add', 'jsonrpc': '2.0...
28.89
93
0.56767
343
2,889
4.658892
0.344023
0.05632
0.016896
0.045056
0.172716
0.172716
0.132666
0.100125
0.100125
0
0
0.012961
0.305642
2,889
99
94
29.181818
0.783649
0.233991
0
0.109091
0
0
0.066513
0
0
0
0
0.010101
0
1
0.109091
false
0
0.054545
0.018182
0.272727
0.054545
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
4aa245f0db3594921da568a52d64b983c5ad4e79
5,148
py
Python
automation/common/command_executer_test.py
jingpad-bsp/android_external_toolchain-utils
6d59b0c61a2bfed55d783ee68978cf7352d6bc5e
[ "BSD-3-Clause" ]
null
null
null
automation/common/command_executer_test.py
jingpad-bsp/android_external_toolchain-utils
6d59b0c61a2bfed55d783ee68978cf7352d6bc5e
[ "BSD-3-Clause" ]
null
null
null
automation/common/command_executer_test.py
jingpad-bsp/android_external_toolchain-utils
6d59b0c61a2bfed55d783ee68978cf7352d6bc5e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # # Copyright 2011 Google Inc. All Rights Reserved. # __author__ = 'kbaclawski@google.com (Krystian Baclawski)' import cStringIO import logging import os import signal import socket import sys import time import unittest def AddScriptDirToPath(): """Required for remote python script execution.""...
24.398104
77
0.694833
569
5,148
6.191564
0.333919
0.043713
0.032359
0.039171
0.208345
0.084019
0.084019
0.084019
0.084019
0.084019
0
0.008126
0.187257
5,148
210
78
24.514286
0.833891
0.042541
0
0.115942
0
0
0.094977
0.014236
0
0
0
0
0.115942
1
0.246377
false
0.007246
0.065217
0.043478
0.463768
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
4aa407936138cc4b8c5b7feb2c3b13042fb6d57e
170
py
Python
ABC171/C.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
ABC171/C.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
ABC171/C.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
n = int(input()) ans = [] n -= 1 while True: x = n%26 n //= 26 ans.append(chr(x+97)) if n == 0: break n -= 1 ans.reverse() print(''.join(ans))
14.166667
25
0.458824
29
170
2.689655
0.62069
0.051282
0
0
0
0
0
0
0
0
0
0.078261
0.323529
170
12
26
14.166667
0.6
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
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
4aad456e313895b6ed9738159ad075feae9be765
2,170
py
Python
tests/forms/test_public_reset_password.py
akebrissman/id.mkdevops.se
5a9a7a5df33a24f5c367cd476fa547a300e66ea9
[ "Apache-2.0" ]
7
2017-09-04T10:24:02.000Z
2019-12-02T13:12:30.000Z
tests/forms/test_public_reset_password.py
akebrissman/id.mkdevops.se
5a9a7a5df33a24f5c367cd476fa547a300e66ea9
[ "Apache-2.0" ]
140
2017-09-06T07:02:18.000Z
2022-02-26T01:26:25.000Z
tests/forms/test_public_reset_password.py
akebrissman/id.mkdevops.se
5a9a7a5df33a24f5c367cd476fa547a300e66ea9
[ "Apache-2.0" ]
2
2017-09-13T16:42:57.000Z
2018-02-15T15:32:40.000Z
# -*- coding: utf-8 -*- """Test user ResetPasswordForm.""" from __future__ import absolute_import, division, print_function, unicode_literals from datetime import datetime, timedelta from flask_babel import gettext as _ from xl_auth.public.forms import ResetPasswordForm def test_validate_with_incorrect_code(passw...
40.943396
97
0.707373
264
2,170
5.613636
0.284091
0.175439
0.137652
0.09919
0.568151
0.568151
0.568151
0.534413
0.423752
0.352227
0
0.028814
0.184332
2,170
52
98
41.730769
0.808475
0.126267
0
0.4
0
0
0.096843
0
0
0
0
0
0.233333
1
0.133333
false
0.733333
0.133333
0
0.266667
0.033333
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
4aadff8d196a5b37eb0ccc7337ff5f4d9c8da520
1,101
py
Python
interviewbit/TwoPointers/intersect.py
zazhang/coding-problems
704f0ab22ecdc5fca1978ac7791f43258eb441dd
[ "MIT" ]
null
null
null
interviewbit/TwoPointers/intersect.py
zazhang/coding-problems
704f0ab22ecdc5fca1978ac7791f43258eb441dd
[ "MIT" ]
null
null
null
interviewbit/TwoPointers/intersect.py
zazhang/coding-problems
704f0ab22ecdc5fca1978ac7791f43258eb441dd
[ "MIT" ]
null
null
null
#!usr/bin/env ipython """Coding interview problem (two pointers): Given 2 sorted arrays, find all the elements which occur in both the arrays. Example : Input : A : [1 2 3 3 4 5 6] B : [3 3 5] Output : [3 3 5] Input : A : [1 2 3 3 4 5 6] B : [3 5] Output : [3 5] """ class...
22.02
77
0.414169
165
1,101
2.715152
0.50303
0.017857
0.020089
0.026786
0.107143
0.107143
0.066964
0.066964
0.066964
0.066964
0
0.136134
0.459582
1,101
49
78
22.469388
0.616807
0.116258
0
0.181818
0
0
0.012327
0
0
0
0
0
0
0
null
null
0
0
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4aafaf95e3b24812a06dbd95c59134f8d6a79633
1,153
py
Python
pymoodle_jku/utils/config_data.py
LeLunZ/pymoodle-jku-linz
3c15ca8c25622b8ee071c359f933f4a3d7e1d093
[ "BSD-3-Clause" ]
6
2021-01-26T13:28:00.000Z
2021-07-30T15:36:10.000Z
pymoodle_jku/utils/config_data.py
LeLunZ/pymoodle-jku-linz
3c15ca8c25622b8ee071c359f933f4a3d7e1d093
[ "BSD-3-Clause" ]
null
null
null
pymoodle_jku/utils/config_data.py
LeLunZ/pymoodle-jku-linz
3c15ca8c25622b8ee071c359f933f4a3d7e1d093
[ "BSD-3-Clause" ]
null
null
null
import configparser from pathlib import Path import keyring from keyring.errors import PasswordDeleteError cp = configparser.ConfigParser(allow_no_value=True) config_file = Path.home() / '.pymoodle' cp['DEFAULT'] = {'Threads': '6', 'Path': None, 'Username': None, 'SaveQuestion': 'True', 'Session': None, ...
26.204545
105
0.64961
136
1,153
5.419118
0.419118
0.054274
0.048847
0.035278
0
0
0
0
0
0
0
0.001119
0.224631
1,153
43
106
26.813953
0.823266
0.176062
0
0
0
0
0.151279
0
0
0
0
0
0
1
0.083333
false
0.25
0.166667
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
0
0
1
0
0
0
0
0
1
4ab0347f5a50cbfe3d7f571df21060a99bc385b7
2,090
py
Python
rawdata/Cyos.py
quantamc/SMaRT-LAB
4742a80d286505475d46560e9e584da3d05fef72
[ "MIT" ]
null
null
null
rawdata/Cyos.py
quantamc/SMaRT-LAB
4742a80d286505475d46560e9e584da3d05fef72
[ "MIT" ]
null
null
null
rawdata/Cyos.py
quantamc/SMaRT-LAB
4742a80d286505475d46560e9e584da3d05fef72
[ "MIT" ]
null
null
null
# # Cykit OpenViBE Server # # For use with "Generic RAW Telnet Stream" in OpenViBE Acquisition Server. # 14 channels of Signed 16-bit BIG-Endian Integers in non-delimited byte string. # 2 Bytes per Channel. # with no CRLF terminating characters. # import socket import gevent import sys import struct ...
22.967033
124
0.555024
263
2,090
4.403042
0.509506
0.036269
0.017271
0.022453
0.07772
0.039724
0
0
0
0
0
0.025751
0.3311
2,090
90
125
23.222222
0.802575
0.117703
0
0.269841
0
0
0.160938
0
0
0
0
0
0
0
null
null
0
0.079365
null
null
0.174603
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
4ab461baaba80be53c2ca6e44001f7cc9e91aaf6
53,887
py
Python
workspaces/voyage/uim/src/uim.py
raychorn/svn_hp-projects
d5547906354e2759a93b8030632128e8c4bf3880
[ "CC0-1.0" ]
null
null
null
workspaces/voyage/uim/src/uim.py
raychorn/svn_hp-projects
d5547906354e2759a93b8030632128e8c4bf3880
[ "CC0-1.0" ]
null
null
null
workspaces/voyage/uim/src/uim.py
raychorn/svn_hp-projects
d5547906354e2759a93b8030632128e8c4bf3880
[ "CC0-1.0" ]
null
null
null
# $Author: partho.bhowmick@hp.com $ # $Date: 2013-09-10 08:23:29 -0500 (Tue, 10 Sep 2013) $ # $HeadURL: https://svn02.atlanta.hp.com/rg0201/hpic4vc-uim/branches/IC4VC.SERVER.7.3.0/uim/src/uim.py $ # $Id: uim.py 6702 2013-09-10 13:23:29Z partho.bhowmick@hp.com $ # $Rev: 6702 $ # the root directory needs to be set w...
44.682421
255
0.527864
5,604
53,887
4.981085
0.123662
0.031812
0.023859
0.031812
0.420291
0.373254
0.333095
0.303539
0.274235
0.243605
0
0.005292
0.347728
53,887
1,205
256
44.719502
0.78887
0.055394
0
0.366944
0
0.00104
0.200049
0.010515
0
0
0
0.00083
0
0
null
null
0.031185
0.032225
null
null
0.008316
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
4ab4fc14fa188d958e6107c2b0a68ed0f6c364cb
13,401
py
Python
casa/M100Band3Combine5.1.py
teuben/sd2018
2209b3b6ad6a0f693745fed525ef611e9a6ca128
[ "MIT" ]
1
2018-03-16T10:08:04.000Z
2018-03-16T10:08:04.000Z
casa/M100Band3Combine5.1.py
teuben/sd2018
2209b3b6ad6a0f693745fed525ef611e9a6ca128
[ "MIT" ]
null
null
null
casa/M100Band3Combine5.1.py
teuben/sd2018
2209b3b6ad6a0f693745fed525ef611e9a6ca128
[ "MIT" ]
null
null
null
version = cu.version_string() print "You are using " + version if (version < '5.1.1'): print "YOUR VERSION OF CASA IS TOO OLD FOR THIS GUIDE." print "PLEASE UPDATE IT BEFORE PROCEEDING." else: print "Your version of CASA is appropriate for this guide." os.system('rm -rf M100_*m.ms.listobs') listobs('M100_Ba...
43.368932
127
0.661294
1,924
13,401
4.420998
0.143451
0.054315
0.0917
0.107924
0.706913
0.640372
0.588996
0.49083
0.397249
0.328121
0
0.078522
0.163719
13,401
308
128
43.50974
0.680468
0
0
0.298701
0
0
0.390419
0.240131
0
0
0
0
0
0
null
null
0
0
null
null
0.038961
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
4aba83dea62586cf19a7333d16f399c54face4de
1,988
py
Python
RVFS/account/migrations/0001_initial.py
cahudson94/Raven-Valley-Forge-Shop
52f46381eafa9410d8e9c759366ef7490dcb1de9
[ "MIT" ]
2
2018-02-12T01:32:16.000Z
2021-08-23T19:29:08.000Z
RVFS/account/migrations/0001_initial.py
cahudson94/Raven-Valley-Forge-Shop
52f46381eafa9410d8e9c759366ef7490dcb1de9
[ "MIT" ]
1
2018-05-23T03:42:20.000Z
2018-05-23T03:42:20.000Z
RVFS/account/migrations/0001_initial.py
cahudson94/Raven-Valley-Forge-Shop
52f46381eafa9410d8e9c759366ef7490dcb1de9
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2018-01-14 01:49 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
46.232558
171
0.620724
215
1,988
5.562791
0.404651
0.060201
0.075251
0.100334
0.438127
0.399666
0.399666
0.214047
0.214047
0.132107
0
0.023179
0.240443
1,988
42
172
47.333333
0.768874
0.02163
0
0.285714
1
0
0.106536
0.010808
0
0
0
0
0
1
0
false
0
0.085714
0
0.2
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
4abd44e682e518683c5b02945c2a8ea54fed5aed
1,051
py
Python
level_data_handler.py
albertopoljak/geometry-dash-arcade
c453d8888ada32d7537aacde4a4fb0d2262293f3
[ "RSA-MD" ]
1
2020-04-09T23:26:59.000Z
2020-04-09T23:26:59.000Z
level_data_handler.py
albertopoljak/geometry-dash-arcade
c453d8888ada32d7537aacde4a4fb0d2262293f3
[ "RSA-MD" ]
1
2020-04-09T23:27:32.000Z
2020-04-09T23:43:19.000Z
level_data_handler.py
albertopoljak/geometry-dash-arcade
c453d8888ada32d7537aacde4a4fb0d2262293f3
[ "RSA-MD" ]
null
null
null
import json import logging import arcade from typing import List logger = logging.getLogger(__name__) class LevelDataHandler: DEFAULT_LEVEL_SPEED = -1 def __init__(self): with open("level_settings.json") as f: self.level_settings = json.load(f) def get_level_speed(self, level_number...
30.911765
99
0.660324
135
1,051
4.918519
0.414815
0.105422
0.076807
0.069277
0.200301
0.200301
0.13253
0.13253
0
0
0
0.005109
0.254995
1,051
33
100
31.848485
0.842912
0
0
0.08
0
0
0.204004
0.022879
0
0
0
0
0
1
0.12
false
0
0.16
0.04
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ac4862cdcdf8f3649df2c1fa45429aa72104ebd
3,779
py
Python
test_project/models.py
Tartorus/django_audit_trail
c4823f1a9a51a71c5d6293db9ff0eef0fde9c414
[ "Apache-2.0" ]
null
null
null
test_project/models.py
Tartorus/django_audit_trail
c4823f1a9a51a71c5d6293db9ff0eef0fde9c414
[ "Apache-2.0" ]
null
null
null
test_project/models.py
Tartorus/django_audit_trail
c4823f1a9a51a71c5d6293db9ff0eef0fde9c414
[ "Apache-2.0" ]
1
2019-02-27T09:43:41.000Z
2019-02-27T09:43:41.000Z
from django.db import models from audit_trail import audit_trail_watch from audit_trail.watcher import AuditTrailWatcher class TestModelTrackOneField(models.Model): char = models.CharField(max_length=255, null=True) text = models.TextField(null=True) audit = AuditTrailWatcher(fields=['char']) class Tes...
28.201493
113
0.73141
467
3,779
5.762313
0.24197
0.06243
0.053512
0.04162
0.417317
0.328131
0.307321
0.307321
0.286882
0.203642
0
0.018397
0.151363
3,779
133
114
28.413534
0.820705
0.089177
0
0.289474
0
0
0.034975
0
0
0
0
0
0
1
0.052632
false
0
0.039474
0.039474
0.934211
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