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
e201f77686f2bfe24e3d7ffce091bc77ab5d9228
1,484
py
Python
evidently/model_monitoring/data_drift.py
alex-zenml/evidently
e9b683056661fcab8dc3fd4c2d4576b082d80d20
[ "Apache-2.0" ]
1
2021-12-30T14:27:40.000Z
2021-12-30T14:27:40.000Z
evidently/model_monitoring/data_drift.py
alex-zenml/evidently
e9b683056661fcab8dc3fd4c2d4576b082d80d20
[ "Apache-2.0" ]
null
null
null
evidently/model_monitoring/data_drift.py
alex-zenml/evidently
e9b683056661fcab8dc3fd4c2d4576b082d80d20
[ "Apache-2.0" ]
null
null
null
from evidently.analyzers.data_drift_analyzer import DataDriftAnalyzer from evidently.model_monitoring.monitoring import ModelMonitor, ModelMonitoringMetric class DataDriftMetrics: p_value = ModelMonitoringMetric("data_drift:p_value", ["feature", "feature_type"]) dataset_drift = ModelMonitoringMetric("data_dri...
49.466667
117
0.762803
159
1,484
6.748428
0.257862
0.10904
0.10438
0.085741
0.192917
0.082013
0.082013
0
0
0
0
0
0.148248
1,484
29
118
51.172414
0.848892
0
0
0
0
0
0.179919
0.072776
0
0
0
0
0
1
0.130435
false
0
0.086957
0.086957
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e20e0c2c08d0e65ebac4dc73f297d5d0771870f0
921
py
Python
course_access_groups/filters.py
appsembler/course-cccess-groups
d9c59dc55a3d021196c50e1080d3a251b4751780
[ "MIT" ]
4
2020-03-09T15:47:17.000Z
2021-09-08T09:17:42.000Z
course_access_groups/filters.py
appsembler/course-cccess-groups
d9c59dc55a3d021196c50e1080d3a251b4751780
[ "MIT" ]
51
2019-11-26T14:09:33.000Z
2022-03-09T08:27:59.000Z
course_access_groups/filters.py
appsembler/course-cccess-groups
d9c59dc55a3d021196c50e1080d3a251b4751780
[ "MIT" ]
3
2020-04-12T22:33:24.000Z
2021-09-30T20:28:03.000Z
""" DRF ViewSet filters. """ import django_filters from django.contrib.auth import get_user_model from .openedx_modules import CourseOverview class UserFilter(django_filters.FilterSet): email_exact = django_filters.CharFilter('email', lookup_expr='iexact') group = django_filters.NumberFilter('membership__gr...
31.758621
97
0.745928
107
921
6.074766
0.364486
0.18
0.110769
0.092308
0.123077
0.123077
0.123077
0
0
0
0
0
0.145494
921
28
98
32.892857
0.825921
0.021716
0
0.117647
0
0
0.176932
0.025756
0
0
0
0
0
1
0
false
0
0.176471
0
0.764706
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
e21366f6c2e3dc9ebe5f0612a2c263db0ee8c380
531
py
Python
rosegameLibraryDev/rg_sprite.py
ConnectingWithCode/cwc2022_SOLUTION
a844501206aa7059fec3aa3af5502c5716af1772
[ "MIT" ]
null
null
null
rosegameLibraryDev/rg_sprite.py
ConnectingWithCode/cwc2022_SOLUTION
a844501206aa7059fec3aa3af5502c5716af1772
[ "MIT" ]
null
null
null
rosegameLibraryDev/rg_sprite.py
ConnectingWithCode/cwc2022_SOLUTION
a844501206aa7059fec3aa3af5502c5716af1772
[ "MIT" ]
null
null
null
import pygame import rosegame as rg def setup(game): print("Setup stuff") game.my_fighter = rg.Sprite(game, "images/fighter.png", 40, 300) def loop(game): if game.is_key_pressed(pygame.K_UP): game.my_fighter.move(0, -5) if game.is_key_pressed(pygame.K_DOWN): game.my_fighter.move(0, 5...
22.125
68
0.66855
90
531
3.744444
0.355556
0.106825
0.231454
0.130564
0.522255
0.522255
0.409496
0.261128
0.261128
0.261128
0
0.030445
0.195857
531
23
69
23.086957
0.758782
0
0
0
0
0
0.054614
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.0625
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
e2150d2f2b7c68498b921268bb6a4da4873d9839
6,619
py
Python
vmapp/users/tests.py
codeasap-pl/vmapp
dd845dcb6b49f06ac635d019139453137e20b548
[ "MIT" ]
null
null
null
vmapp/users/tests.py
codeasap-pl/vmapp
dd845dcb6b49f06ac635d019139453137e20b548
[ "MIT" ]
null
null
null
vmapp/users/tests.py
codeasap-pl/vmapp
dd845dcb6b49f06ac635d019139453137e20b548
[ "MIT" ]
null
null
null
from django.test import TestCase from django.db.utils import IntegrityError from django.core.validators import ValidationError from users.models import User from domains.models import Domain class TestUsers(TestCase): def test_create_invalid(self): with self.assertRaises(IntegrityError): User...
32.287805
79
0.580752
672
6,619
5.63244
0.14881
0.082431
0.085337
0.069749
0.574108
0.55852
0.508322
0.33712
0.303303
0.197094
0
0.018925
0.305484
6,619
204
80
32.446078
0.804438
0.012389
0
0.429412
0
0
0.160288
0.064605
0
0
0
0
0.158824
1
0.076471
false
0.211765
0.029412
0
0.111765
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
3552780d8b7f4201fb8ed79f155dccbee341d163
2,000
py
Python
bot.py
fopina/tgbotplug-plugins
35d71ca392e6d1299038974bffd24f8df01401f1
[ "MIT" ]
1
2015-12-26T20:52:31.000Z
2015-12-26T20:52:31.000Z
bot.py
fopina/tgbotplug-plugins
35d71ca392e6d1299038974bffd24f8df01401f1
[ "MIT" ]
3
2015-07-30T00:51:09.000Z
2016-02-23T21:05:49.000Z
bot.py
fopina/tgbotplug-plugins
35d71ca392e6d1299038974bffd24f8df01401f1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 import tgbot from plugins.echo import EchoPlugin from plugins.random_choice import RandomPlugin from plugins.google import GooglePlugin from plugins.simsimi import SimsimiPlugin import argparse from requests.packages import urllib3 urllib3.disable_warnings() def main(): args...
30.769231
101
0.6075
235
2,000
5.025532
0.442553
0.045724
0.086367
0.035563
0.069433
0.069433
0.069433
0.069433
0
0
0
0.008754
0.2575
2,000
64
102
31.25
0.786532
0.0165
0
0.040816
0
0
0.205598
0.025954
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.040816
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
35557953ddb8fed794f824a009210c037acf9908
2,989
py
Python
m/commands/accumulate.py
minersoft/miner
247ae1ffb27a4ce3203ac236afd2ed145b31a465
[ "BSD-3-Clause" ]
1
2015-04-18T16:48:48.000Z
2015-04-18T16:48:48.000Z
m/commands/accumulate.py
minersoft/miner
247ae1ffb27a4ce3203ac236afd2ed145b31a465
[ "BSD-3-Clause" ]
null
null
null
m/commands/accumulate.py
minersoft/miner
247ae1ffb27a4ce3203ac236afd2ed145b31a465
[ "BSD-3-Clause" ]
null
null
null
# # Copyright Michael Groys, 2012-2014 # import miner_globals import m.common as common from base import * def p_accumulate_coals(p): '''command : | ACCUMULATE''' p[0] = DefaultAccumulateCommand() def p_accumulate_command(p): '''command : ACCUMULATE id_list BY expression''' ...
31.797872
99
0.653061
276
2,989
6.974638
0.318841
0.046753
0.027013
0.04987
0.253506
0.166234
0.124675
0.124675
0.124675
0.124675
0
0.007476
0.23921
2,989
93
100
32.139785
0.83905
0.033791
0
0.373333
0
0
0.328876
0.056017
0
0
0
0
0
1
0.186667
false
0
0.053333
0.12
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
3556c668820008c5b74d4c6f25a3a4d759238b06
1,744
py
Python
test/scorer_t.py
kariminf/MultiNetSum
b3a66d13049d4501c7e07243af45e8c56512d624
[ "Apache-2.0" ]
1
2019-02-24T22:15:44.000Z
2019-02-24T22:15:44.000Z
test/scorer_t.py
kariminf/MultiNetSum
b3a66d13049d4501c7e07243af45e8c56512d624
[ "Apache-2.0" ]
6
2018-07-24T13:52:45.000Z
2019-08-23T22:10:16.000Z
test/scorer_t.py
kariminf/MultiNetSum
b3a66d13049d4501c7e07243af45e8c56512d624
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2018 Abdelkrime Aries <kariminfo0@gmail.com> # # ---- AUTHORS ---- # 2018 Abdelkrime Aries <kariminfo0@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You ma...
24.222222
83
0.674885
292
1,744
3.982877
0.486301
0.022356
0.020636
0.013758
0.137575
0.135856
0.012898
0.012898
0.012898
0
0
0.04898
0.15711
1,744
71
84
24.56338
0.742177
0.412844
0
0.058824
0
0
0.042871
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3564a7ac5a30a54a64445c8315ee717f73d20835
1,037
py
Python
warehouse/classifiers/models.py
fairhopeweb/warehouse
7d8ef742e8fe6b401190c28ce56761848041c89f
[ "Apache-2.0" ]
3,103
2015-01-30T00:24:10.000Z
2022-03-31T23:21:39.000Z
warehouse/classifiers/models.py
fairhopeweb/warehouse
7d8ef742e8fe6b401190c28ce56761848041c89f
[ "Apache-2.0" ]
6,709
2015-01-05T01:23:20.000Z
2022-03-31T14:49:46.000Z
warehouse/classifiers/models.py
fairhopeweb/warehouse
7d8ef742e8fe6b401190c28ce56761848041c89f
[ "Apache-2.0" ]
959
2015-01-12T22:22:40.000Z
2022-03-31T22:21:51.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
33.451613
74
0.75217
141
1,037
5.382979
0.659574
0.079051
0.034256
0.042161
0
0
0
0
0
0
0
0.004657
0.171649
1,037
30
75
34.566667
0.878929
0.498554
0
0
0
0
0.198819
0.07874
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
356ab7db3330eeb05100794ee5ca9ea34d13f4dc
9,508
py
Python
networkapi/infrastructure/xml_utils.py
vinicius-marinho/GloboNetworkAPI
94651d3b4dd180769bc40ec966814f3427ccfb5b
[ "Apache-2.0" ]
73
2015-04-13T17:56:11.000Z
2022-03-24T06:13:07.000Z
networkapi/infrastructure/xml_utils.py
leopoldomauricio/GloboNetworkAPI
3b5b2e336d9eb53b2c113977bfe466b23a50aa29
[ "Apache-2.0" ]
99
2015-04-03T01:04:46.000Z
2021-10-03T23:24:48.000Z
networkapi/infrastructure/xml_utils.py
shildenbrand/GloboNetworkAPI
515d5e961456cee657c08c275faa1b69b7452719
[ "Apache-2.0" ]
64
2015-08-05T21:26:29.000Z
2022-03-22T01:06:28.000Z
# -*- coding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Lic...
31.17377
206
0.613483
1,195
9,508
4.748954
0.217573
0.023789
0.019736
0.019736
0.331278
0.302026
0.247753
0.221145
0.204582
0.204582
0
0.007739
0.279764
9,508
304
207
31.276316
0.82097
0.081405
0
0.40201
0
0.01005
0.170814
0.054692
0
0
0
0
0
0
null
null
0
0.020101
null
null
0.065327
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
356b708d6c12039de198f04106fd5b9ca6427f01
4,920
py
Python
testing/library/tools/initPromLibrary.py
GoogleCloudPlatform/datanucleus-appengine
ada72da1e0c7cecaca1e9522d4a18d32af561733
[ "Apache-2.0" ]
7
2017-01-10T21:58:37.000Z
2021-10-09T14:41:47.000Z
testing/library/tools/initPromLibrary.py
GoogleCloudPlatform/datanucleus-appengine
ada72da1e0c7cecaca1e9522d4a18d32af561733
[ "Apache-2.0" ]
null
null
null
testing/library/tools/initPromLibrary.py
GoogleCloudPlatform/datanucleus-appengine
ada72da1e0c7cecaca1e9522d4a18d32af561733
[ "Apache-2.0" ]
12
2016-07-12T02:15:23.000Z
2021-12-25T17:25:13.000Z
#!/usr/bin/python2.4 import os import sys import getopt import xml.dom.minidom # Starts parsing the XML file containing the book data entries # default_local = "http://localhost:8080/library" default_corp = "http://gptestshop.prom.corp.google.com/library" default_uri = default_corp default_files = ("book.xml", "tech....
31.33758
76
0.671545
679
4,920
4.818851
0.319588
0.009169
0.012225
0.020171
0.047066
0.047066
0.023227
0
0
0
0
0.010185
0.221748
4,920
156
77
31.538462
0.844346
0.01626
0
0
0
0
0.145966
0
0
0
0
0
0
0
null
null
0
0.055556
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
356c58b9b5998ded49bb750fe13f3171f8bc6e9a
4,692
py
Python
mtp_cashbook/misc_views.py
uk-gov-mirror/ministryofjustice.money-to-prisoners-cashbook
d35a621e21631e577faacaeacb5ab9f883c9b4f4
[ "MIT" ]
4
2016-01-05T12:21:39.000Z
2016-12-22T15:56:37.000Z
mtp_cashbook/misc_views.py
uk-gov-mirror/ministryofjustice.money-to-prisoners-cashbook
d35a621e21631e577faacaeacb5ab9f883c9b4f4
[ "MIT" ]
132
2015-06-10T09:53:14.000Z
2022-02-01T17:35:54.000Z
mtp_cashbook/misc_views.py
uk-gov-mirror/ministryofjustice.money-to-prisoners-cashbook
d35a621e21631e577faacaeacb5ab9f883c9b4f4
[ "MIT" ]
3
2015-07-07T14:40:33.000Z
2021-04-11T06:20:14.000Z
from django import forms from django.conf import settings from django.contrib import messages from django.contrib.auth.decorators import login_required from django.shortcuts import redirect from django.urls import reverse_lazy from django.utils.decorators import method_decorator from django.utils.translation import get...
34.248175
105
0.661978
539
4,692
5.55102
0.320965
0.046791
0.028075
0.028075
0.225267
0.161096
0.137032
0.063503
0.063503
0.063503
0
0.001955
0.236786
4,692
136
106
34.5
0.833566
0.033035
0
0.186275
0
0
0.199867
0.028806
0
0
0
0
0
1
0.078431
false
0.009804
0.117647
0
0.509804
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
35733d12f96e4489b4d70471661a39164e444a1c
324
py
Python
apps/courses/migrations/0043_remove_course_tag.py
islandowner-web/IT-MOOC
f361512e6ff81a6e120ee808b20d78a79e325f5c
[ "MIT" ]
9
2020-01-30T16:13:00.000Z
2022-03-22T03:49:18.000Z
apps/courses/migrations/0043_remove_course_tag.py
islandowner-web/IT-MOOC
f361512e6ff81a6e120ee808b20d78a79e325f5c
[ "MIT" ]
8
2020-04-10T17:24:09.000Z
2022-03-23T10:38:27.000Z
apps/courses/migrations/0043_remove_course_tag.py
islandowner-web/IT-MOOC
f361512e6ff81a6e120ee808b20d78a79e325f5c
[ "MIT" ]
2
2020-07-05T13:42:12.000Z
2020-12-17T05:50:48.000Z
# Generated by Django 2.2 on 2019-12-10 22:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('courses', '0042_delete_bannercourse'), ] operations = [ migrations.RemoveField( model_name='course', name='tag', ), ...
18
48
0.589506
33
324
5.69697
0.787879
0
0
0
0
0
0
0
0
0
0
0.079295
0.299383
324
17
49
19.058824
0.748899
0.132716
0
0
1
0
0.143369
0.086022
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
35774a95c753d97c27dc0d9b8653cba2a16c254e
1,203
py
Python
example/parse_joined_gff_inline_dna.py
pflans/edge
d84de02bd9b334212b7405ecc4e68d3a209add99
[ "MIT" ]
32
2017-05-15T06:03:46.000Z
2022-02-18T08:30:19.000Z
example/parse_joined_gff_inline_dna.py
pflans/edge
d84de02bd9b334212b7405ecc4e68d3a209add99
[ "MIT" ]
36
2017-05-11T01:29:14.000Z
2022-02-10T07:31:24.000Z
example/parse_joined_gff_inline_dna.py
pflans/edge
d84de02bd9b334212b7405ecc4e68d3a209add99
[ "MIT" ]
4
2017-09-19T18:10:45.000Z
2019-11-29T03:38:08.000Z
# flake8: noqa # Converting GFF format that includes DNA as # # ##DNA chrI # ##AGCTAGAT # ##end-DNA # # to GFF with FASTA import sys import urllib import re fasta = [] curseq = [] started = False fn = sys.argv[1] f = open(fn, "r") def unescape(s): return re.sub("\s", "_", urllib.unquote(s)) for l in f.read()...
20.389831
61
0.474647
154
1,203
3.694805
0.415584
0.02109
0.063269
0
0
0
0
0
0
0
0
0.012771
0.349127
1,203
58
62
20.741379
0.713921
0.082294
0
0.261905
0
0
0.067034
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3579110446bd6660c4befc89e62e2fca18fe1645
4,661
py
Python
app/core/models.py
YumiBunny/Gusoktor
5a3fa8ae04cd406df3f1555aacbd50a21e5c91ba
[ "MIT" ]
null
null
null
app/core/models.py
YumiBunny/Gusoktor
5a3fa8ae04cd406df3f1555aacbd50a21e5c91ba
[ "MIT" ]
null
null
null
app/core/models.py
YumiBunny/Gusoktor
5a3fa8ae04cd406df3f1555aacbd50a21e5c91ba
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver import app.core.patch # La solución planteada tiene ventajas y desventajas. Como ventaja, se usa el # sistema de autenticación de django, y no hay que hacer mucha...
43.560748
111
0.733104
676
4,661
4.970414
0.343195
0.058036
0.069643
0.092857
0.296429
0.211905
0.190476
0.122024
0.07619
0.07619
0
0.006848
0.185368
4,661
106
112
43.971698
0.878062
0.4705
0
0.245283
0
0
0.015638
0
0
0
0
0
0
1
0.150943
false
0.018868
0.09434
0.09434
0.830189
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
3579990497f54ed445f3f3479726de70ad64ae9f
2,031
py
Python
src/olympia/access/migrations/0001_initial.py
dante381/addons-server
9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7
[ "BSD-3-Clause" ]
null
null
null
src/olympia/access/migrations/0001_initial.py
dante381/addons-server
9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7
[ "BSD-3-Clause" ]
null
null
null
src/olympia/access/migrations/0001_initial.py
dante381/addons-server
9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.5 on 2019-09-12 13:30 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import olympia.amo.fields import olympia.amo.models class Migration(migrations.Migration): initial = True dependencies = [ ...
36.267857
121
0.592811
197
2,031
6.010152
0.401015
0.04223
0.035473
0.055743
0.236486
0.199324
0.199324
0.199324
0.199324
0.199324
0
0.012262
0.277203
2,031
55
122
36.927273
0.794278
0.022157
0
0.291667
1
0
0.080645
0
0
0
0
0
0
1
0
false
0
0.125
0
0.208333
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
357a614d2b682ca4b938d58b525e78003819411d
184
py
Python
tmp/xml_rpc.py
hanzhichao/requestz
6ec81e4bf520ade2ed6537f24dc0a395b3af754b
[ "MIT" ]
2
2020-07-30T11:00:57.000Z
2021-06-12T21:15:29.000Z
tmp/xml_rpc.py
hanzhichao/requestz
6ec81e4bf520ade2ed6537f24dc0a395b3af754b
[ "MIT" ]
null
null
null
tmp/xml_rpc.py
hanzhichao/requestz
6ec81e4bf520ade2ed6537f24dc0a395b3af754b
[ "MIT" ]
null
null
null
import xmlrpclib __HOST = 'localhost' __PORT = '8000' s = xmlrpclib.ServerProxy('http://' + __HOST + ':' + __PORT) # print s.pow(2, 3) s.add(2, 3) s.div(5, 2) s.system.listMethods()
16.727273
60
0.641304
28
184
3.928571
0.642857
0.036364
0.054545
0
0
0
0
0
0
0
0
0.064103
0.152174
184
11
61
16.727273
0.641026
0.092391
0
0
0
0
0.126506
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
357d7cc488f22e33cad519941bfde449257b56f1
1,147
py
Python
hood/forms.py
p-koskey/mtaani
56b28123349ba51f10a3c2a25545d581815160a9
[ "Unlicense", "MIT" ]
null
null
null
hood/forms.py
p-koskey/mtaani
56b28123349ba51f10a3c2a25545d581815160a9
[ "Unlicense", "MIT" ]
null
null
null
hood/forms.py
p-koskey/mtaani
56b28123349ba51f10a3c2a25545d581815160a9
[ "Unlicense", "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from .models import Profile, Neighbourhood, Business, Post from cloudinary.models import CloudinaryField class SignupForm(UserCreationForm): email = forms.EmailField(max_length=254) clas...
27.97561
66
0.673932
118
1,147
6.525424
0.355932
0.07013
0.109091
0.08961
0.288312
0.179221
0.179221
0.179221
0.179221
0.179221
0
0.00885
0.211857
1,147
41
67
27.97561
0.84292
0
0
0.3125
0
0
0.118467
0
0
0
0
0
0
1
0
false
0.03125
0.15625
0
0.625
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
357f035e1ee860c491179bb60cbbe89dcc6cce51
4,953
py
Python
oc_ocdm/graph/entities/bibliographic/resource_embodiment.py
arcangelo7/oc_ocdm
128d062ce9d858024aafd26d7d238c7a26cc8914
[ "0BSD" ]
1
2020-12-17T15:33:01.000Z
2020-12-17T15:33:01.000Z
oc_ocdm/graph/entities/bibliographic/resource_embodiment.py
arcangelo7/oc_ocdm
128d062ce9d858024aafd26d7d238c7a26cc8914
[ "0BSD" ]
26
2021-01-08T08:32:23.000Z
2022-03-29T10:01:40.000Z
oc_ocdm/graph/entities/bibliographic/resource_embodiment.py
arcangelo7/oc_ocdm
128d062ce9d858024aafd26d7d238c7a26cc8914
[ "0BSD" ]
3
2021-04-16T08:44:44.000Z
2022-02-15T11:09:22.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2016, Silvio Peroni <essepuntato@gmail.com> # # Permission to use, copy, modify, and/or distribute this software for any purpose # with or without fee is hereby granted, provided that the above copyright notice # and this permission notice appear in all copies. ...
38.1
92
0.688875
661
4,953
4.974281
0.249622
0.059611
0.031022
0.038321
0.446472
0.386861
0.337591
0.318735
0.29927
0.29927
0
0.001289
0.216838
4,953
129
93
38.395349
0.845321
0.304462
0
0.169014
0
0
0.015371
0
0
0
0
0
0
1
0.211268
false
0
0.112676
0.028169
0.394366
0.028169
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
358c2620c13d6858ee834f7b904f6bf686657ddd
1,289
py
Python
magicfolder/picklemsg.py
mgax/MagicFolder
a34ae33722213e7266b6ddb8f350140538d77c51
[ "MIT" ]
1
2015-05-05T00:28:13.000Z
2015-05-05T00:28:13.000Z
magicfolder/picklemsg.py
mgax/MagicFolder
a34ae33722213e7266b6ddb8f350140538d77c51
[ "MIT" ]
null
null
null
magicfolder/picklemsg.py
mgax/MagicFolder
a34ae33722213e7266b6ddb8f350140538d77c51
[ "MIT" ]
null
null
null
import cPickle as pickle CHUNK_SIZE = 64 * 1024 # 64 KB class Remote(object): def __init__(self, in_file, out_file): self.in_unpickler = pickle.Unpickler(in_file) self.out_pickler = pickle.Pickler(out_file, 2) # protocol version 2 self.out_file = out_file def send(self, msg, payload=N...
27.425532
75
0.576416
164
1,289
4.329268
0.347561
0.049296
0.059155
0.053521
0.090141
0.090141
0.090141
0
0
0
0
0.011429
0.321179
1,289
46
76
28.021739
0.8
0.018619
0
0.111111
0
0
0.05626
0
0
0
0
0
0.027778
0
null
null
0
0.027778
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
358d1bca51ad59c12fc38e3e8f6a5847dfee9413
799
py
Python
app/http/controllers/CarController.py
craigderington/serviceauto
28958e3cb82431151c02c4bd600cf887c54d2866
[ "MIT" ]
null
null
null
app/http/controllers/CarController.py
craigderington/serviceauto
28958e3cb82431151c02c4bd600cf887c54d2866
[ "MIT" ]
null
null
null
app/http/controllers/CarController.py
craigderington/serviceauto
28958e3cb82431151c02c4bd600cf887c54d2866
[ "MIT" ]
null
null
null
"""A CarController Module.""" from masonite.request import Request from masonite.view import View from masonite.controllers import Controller from app.Car import Car class CarController(Controller): """CarController Controller Class.""" def __init__(self, request: Request): """CarController Initiali...
25.774194
77
0.620776
87
799
5.655172
0.333333
0.142276
0.073171
0.077236
0.105691
0
0
0
0
0
0
0
0.265332
799
30
78
26.633333
0.83816
0.204005
0
0
0
0
0.040336
0
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.588235
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
3599ca7e35cb582c0b48aa43a05ef48f464ba056
3,786
py
Python
mysql/mysql_print_metadata-values.py
MichaelCurrin/python-2016
00af4e61175fc15aebfab208c76fe9db845d2f4c
[ "MIT" ]
null
null
null
mysql/mysql_print_metadata-values.py
MichaelCurrin/python-2016
00af4e61175fc15aebfab208c76fe9db845d2f4c
[ "MIT" ]
null
null
null
mysql/mysql_print_metadata-values.py
MichaelCurrin/python-2016
00af4e61175fc15aebfab208c76fe9db845d2f4c
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """ Created on Wed Jun 8 14:10:03 2016 @author: michaelcurrin Open a connection to a database Print the tables and column data metadata Print the actual values for the some tables, for a defined table limit and row count. Close the database. """ # library to connect to MySQL...
25.931507
87
0.60037
444
3,786
5.056306
0.369369
0.024053
0.012027
0.016927
0.083742
0.083742
0.026726
0
0
0
0
0.022745
0.314844
3,786
145
88
26.110345
0.842714
0.221342
0
0.079365
0
0
0.063484
0
0
0
0
0
0
0
null
null
0.015873
0.031746
null
null
0.222222
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
35a04fcc1233779fe85edc841841e148baf43e1a
520
py
Python
tests/test_prepare.py
benoitc/pyuv
51a2f8687e3b6cd54af5ce81aabfc00b7fe40a18
[ "MIT" ]
1
2020-01-21T11:10:38.000Z
2020-01-21T11:10:38.000Z
tests/test_prepare.py
benoitc/pyuv
51a2f8687e3b6cd54af5ce81aabfc00b7fe40a18
[ "MIT" ]
null
null
null
tests/test_prepare.py
benoitc/pyuv
51a2f8687e3b6cd54af5ce81aabfc00b7fe40a18
[ "MIT" ]
null
null
null
from common import unittest2 import pyuv class PrepareTest(unittest2.TestCase): def test_prepare1(self): self.prepare_cb_called = 0 def prepare_cb(prepare): self.prepare_cb_called += 1 prepare.stop() prepare.close() loop = pyuv.Loop.default_loop() ...
21.666667
51
0.630769
61
520
5.081967
0.47541
0.145161
0.125806
0.183871
0.129032
0
0
0
0
0
0
0.021164
0.273077
520
23
52
22.608696
0.798942
0
0
0
0
0
0.015444
0
0
0
0
0
0.0625
1
0.125
false
0
0.125
0
0.3125
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
35a26dad8a1eb0c5cd6d31c3f25a9643b204f499
2,288
py
Python
notes/c20170904h2/visualise.py
tommilligan/dailyprogrammer
1d25329d6c5873e87c68a8fd32663c215073cfd9
[ "Apache-2.0" ]
null
null
null
notes/c20170904h2/visualise.py
tommilligan/dailyprogrammer
1d25329d6c5873e87c68a8fd32663c215073cfd9
[ "Apache-2.0" ]
null
null
null
notes/c20170904h2/visualise.py
tommilligan/dailyprogrammer
1d25329d6c5873e87c68a8fd32663c215073cfd9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Generate visualisations for the main script """ from io import BytesIO import sys from PIL import Image, ImageDraw import dailyprogrammer.challenges.c20170904e2 as challenge from dailyprogrammer.utils.logging import moduleLogger logger = moduleLogger(__name__) INF = float('inf') def getY...
25.142857
104
0.558566
338
2,288
3.739645
0.349112
0.006329
0.040348
0.006329
0
0
0
0
0
0
0
0.062001
0.288024
2,288
90
105
25.422222
0.713935
0.143357
0
0.04
1
0
0.033508
0
0
0
0
0
0
1
0.04
false
0
0.1
0
0.16
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
35a43db344d1c038443b0a0424972d976c339745
308
py
Python
python_utils/__about__.py
mgorny/python-utils
f65dd4b86c8fb7575e8b52855139d883baffcd89
[ "BSD-3-Clause" ]
null
null
null
python_utils/__about__.py
mgorny/python-utils
f65dd4b86c8fb7575e8b52855139d883baffcd89
[ "BSD-3-Clause" ]
null
null
null
python_utils/__about__.py
mgorny/python-utils
f65dd4b86c8fb7575e8b52855139d883baffcd89
[ "BSD-3-Clause" ]
null
null
null
__package_name__ = 'python-utils' __version__ = '2.5.0' __author__ = 'Rick van Hattem' __author_email__ = 'Wolph@wol.ph' __description__ = ( 'Python Utils is a module with some convenient utilities not included ' 'with the standard Python install') __url__ = 'https://github.com/WoLpH/python-utils'
30.8
75
0.74026
41
308
4.926829
0.804878
0.163366
0
0
0
0
0
0
0
0
0
0.01145
0.149351
308
9
76
34.222222
0.759542
0
0
0
0
0
0.592834
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
35a80f22a7e8fcd5ada7647e0b19cdab0f0b0f12
2,014
py
Python
prokat/engine/migrations/0001_initial.py
mackevich/prokat
e24f45018a595678837b0cf94d27ee82cc270df5
[ "MIT" ]
null
null
null
prokat/engine/migrations/0001_initial.py
mackevich/prokat
e24f45018a595678837b0cf94d27ee82cc270df5
[ "MIT" ]
null
null
null
prokat/engine/migrations/0001_initial.py
mackevich/prokat
e24f45018a595678837b0cf94d27ee82cc270df5
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-10-23 13:58 from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', ...
42.851064
145
0.593347
203
2,014
5.773399
0.369458
0.027304
0.061433
0.081911
0.672355
0.672355
0.607509
0.43686
0.43686
0.43686
0
0.025068
0.26713
2,014
46
146
43.782609
0.76897
0.022344
0
0.410256
1
0
0.0788
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.179487
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
35a8f22213deca6c65eb2e3c2f11cadeb9a3bd16
2,932
py
Python
src/ast_toolbox/mcts/AdaptiveStressTestingRandomSeed.py
hdelecki/AdaptiveStressTestingToolbox
184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed
[ "MIT" ]
29
2019-01-09T23:56:35.000Z
2022-03-18T03:41:10.000Z
src/ast_toolbox/mcts/AdaptiveStressTestingRandomSeed.py
hdelecki/AdaptiveStressTestingToolbox
184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed
[ "MIT" ]
39
2019-01-10T00:32:26.000Z
2022-03-12T00:29:05.000Z
src/ast_toolbox/mcts/AdaptiveStressTestingRandomSeed.py
hdelecki/AdaptiveStressTestingToolbox
184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed
[ "MIT" ]
11
2019-01-10T08:11:47.000Z
2021-12-28T15:56:02.000Z
import copy import gym import ast_toolbox.mcts.RNGWrapper as RNG from ast_toolbox.mcts.AdaptiveStressTesting import AdaptiveStressTest class AdaptiveStressTestRS(AdaptiveStressTest): """The AST wrapper for MCTS using random seeds as actions. Parameters ---------- kwargs : Keyword arguments ...
27.92381
95
0.601978
327
2,932
5.24159
0.318043
0.028588
0.04084
0.033256
0.213536
0.213536
0.180863
0.180863
0.180863
0.180863
0
0.000962
0.291269
2,932
104
96
28.192308
0.823869
0.401432
0
0.114286
0
0
0
0
0
0
0
0.009615
0
1
0.228571
false
0
0.114286
0
0.542857
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
35b54c20eddf485db569692b8ee175921e6897b8
386
py
Python
openff/bespokefit/optimizers/__init__.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
12
2020-08-28T20:49:00.000Z
2021-11-17T08:50:32.000Z
openff/bespokefit/optimizers/__init__.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
95
2020-02-19T18:40:54.000Z
2021-12-02T10:52:23.000Z
openff/bespokefit/optimizers/__init__.py
openforcefield/bespoke-f
27b072bd09610dc8209429118d739e1f453edd61
[ "MIT" ]
3
2021-04-01T04:22:49.000Z
2021-04-13T03:19:10.000Z
from openff.bespokefit.optimizers.base import ( BaseOptimizer, deregister_optimizer, get_optimizer, list_optimizers, register_optimizer, ) from openff.bespokefit.optimizers.forcebalance import ForceBalanceOptimizer __all__ = [ BaseOptimizer, deregister_optimizer, get_optimizer, list...
21.444444
75
0.764249
33
386
8.575758
0.454545
0.070671
0.141343
0.212014
0.530035
0.530035
0.530035
0.530035
0.530035
0
0
0
0.178756
386
17
76
22.705882
0.892744
0
0
0.625
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
35b7d26ebb8589bc5f4531513d898dbab85302fd
1,877
py
Python
aula 8/01_quiz_exercise_visualization_1.py
RichardPSilva/Udacity-Intro-to-Data-Science
36820b186c670a4b022a623eacc21e4c18a10235
[ "Apache-2.0" ]
null
null
null
aula 8/01_quiz_exercise_visualization_1.py
RichardPSilva/Udacity-Intro-to-Data-Science
36820b186c670a4b022a623eacc21e4c18a10235
[ "Apache-2.0" ]
null
null
null
aula 8/01_quiz_exercise_visualization_1.py
RichardPSilva/Udacity-Intro-to-Data-Science
36820b186c670a4b022a623eacc21e4c18a10235
[ "Apache-2.0" ]
null
null
null
from pandas import * from ggplot import * from datetime import datetime def get_day(date): return datetime.strftime(datetime.strptime(date,'%Y-%m-%d').date(),'%a') def plot_weather_data(turnstile_weather): ''' You are passed in a dataframe called turnstile_weather. Use turnstile_weather along...
40.804348
106
0.709643
279
1,877
4.695341
0.53405
0.09771
0.030534
0.015267
0.045802
0
0
0
0
0
0
0.005424
0.214172
1,877
46
107
40.804348
0.882712
0.633458
0
0
0
0
0.104274
0
0
0
0
0.021739
0
1
0.142857
false
0
0.214286
0.071429
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
1
0
0
0
0
0
0
0
0
0
0
1
35ba6e573c5d4233e444d432f054b59c63625b03
5,458
py
Python
translators/object.py
rgirish28/blenderseed
fee897620d0348f4ea1f5722e1a82c3682ca0178
[ "MIT" ]
null
null
null
translators/object.py
rgirish28/blenderseed
fee897620d0348f4ea1f5722e1a82c3682ca0178
[ "MIT" ]
null
null
null
translators/object.py
rgirish28/blenderseed
fee897620d0348f4ea1f5722e1a82c3682ca0178
[ "MIT" ]
null
null
null
# # This source file is part of appleseed. # Visit http://appleseedhq.net/ for additional information and resources. # # This software is released under the MIT license. # # Copyright (c) 2014-2018 The appleseedhq Organization # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this so...
30.49162
103
0.706486
686
5,458
5.323615
0.293003
0.026835
0.03012
0.021906
0.342826
0.297097
0.239321
0.215772
0.213308
0.150055
0
0.004618
0.206486
5,458
178
104
30.662921
0.838605
0.254489
0
0.269231
0
0
0.024165
0
0
0
0
0
0
1
0.24359
false
0.025641
0.089744
0.038462
0.435897
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
35be64ccfa69a1eddd15edd6ee09125beda41393
1,358
py
Python
post/migrations/0001_initial.py
vis7/connection
10f39dcc232887ad2f8af155bd685bd536a80a2d
[ "MIT" ]
1
2021-07-02T04:45:29.000Z
2021-07-02T04:45:29.000Z
post/migrations/0001_initial.py
vis7/connection
10f39dcc232887ad2f8af155bd685bd536a80a2d
[ "MIT" ]
null
null
null
post/migrations/0001_initial.py
vis7/connection
10f39dcc232887ad2f8af155bd685bd536a80a2d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-10-04 14:24 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Comment', fields=[ ('comment_id', models.Au...
37.722222
141
0.555228
135
1,358
5.451852
0.577778
0.061141
0.067935
0.065217
0.258152
0.258152
0.258152
0.258152
0.13587
0.13587
0
0.027749
0.283505
1,358
35
142
38.8
0.728674
0.033137
0
0.285714
1
0
0.129672
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.178571
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
35c87aee9d65ad703eb45a8174517c01aa7239e0
513
py
Python
caf_verilog/dot_prod_pip.py
chiranthsiddappa/caf_verilog
cd3cfd00459dc03518fcce53d5d6ac5194fb2adc
[ "MIT" ]
1
2019-06-04T22:05:12.000Z
2019-06-04T22:05:12.000Z
caf_verilog/dot_prod_pip.py
chiranthsiddappa/caf_verilog
cd3cfd00459dc03518fcce53d5d6ac5194fb2adc
[ "MIT" ]
6
2019-04-17T17:21:42.000Z
2019-09-11T16:15:28.000Z
caf_verilog/dot_prod_pip.py
chiranthsiddappa/caf_verilog
cd3cfd00459dc03518fcce53d5d6ac5194fb2adc
[ "MIT" ]
null
null
null
from .dot_product import DotProduct import os from numpy import log2 filedir = os.path.dirname(os.path.realpath(__file__)) dot_product_tb_module_path = os.path.join(filedir, '..', 'src') dot_product_module_path = os.path.join(filedir, '..', 'src', 'dot_prod_pip.v') class DotProdPip(DotProduct): """ """ ...
27
78
0.703704
73
513
4.630137
0.493151
0.071006
0.071006
0.094675
0.195266
0.195266
0.195266
0.195266
0
0
0
0.00463
0.157895
513
18
79
28.5
0.777778
0
0
0
0
0
0.085828
0
0
0
0
0
0
1
0.090909
false
0
0.272727
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
35ca02072e4cc887d204a7b824c7a3c8ed0c2e2f
14,766
py
Python
contrib/fedora/ganglia/voltdb.py
guthemberg/tejo
43b4cbaabb5c349b14f46e45ba464536ef2dc4b0
[ "BSD-3-Clause" ]
null
null
null
contrib/fedora/ganglia/voltdb.py
guthemberg/tejo
43b4cbaabb5c349b14f46e45ba464536ef2dc4b0
[ "BSD-3-Clause" ]
null
null
null
contrib/fedora/ganglia/voltdb.py
guthemberg/tejo
43b4cbaabb5c349b14f46e45ba464536ef2dc4b0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import time import copy import subprocess from configobj import ConfigObj import sys #db api available in home_dir conf_file = "/etc/tejo.conf" config=ConfigObj(conf_file) sys.path.append(config['home_dir']) ALIVE_TIME=int(config['alive_time']) #from database import MyDB #av...
31.551282
140
0.523094
1,463
14,766
5.047163
0.159262
0.046452
0.045504
0.045504
0.460049
0.408992
0.311213
0.277898
0.267606
0.267606
0
0.009144
0.340851
14,766
467
141
31.618844
0.749512
0.045036
0
0.449495
0
0
0.301302
0.026109
0
0
0
0
0
0
null
null
0.002525
0.015152
null
null
0.005051
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
35ca3996f4799c0208a1a9a772f292cb14f50009
1,180
py
Python
biblio/titlecovers.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
biblio/titlecovers.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
biblio/titlecovers.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
#!_PYTHONLOC # # (C) COPYRIGHT 2014-2021 Ahasuerus and Dirk Stoecker # ALL RIGHTS RESERVED # # The copyright notice above does not evidence any actual or # intended publication of such source code. # # Version: $Revision$ # Date: $Date$ from SQLparsing import * from common import * from li...
29.5
149
0.60678
148
1,180
4.709459
0.547297
0.070301
0.028694
0
0
0
0
0
0
0
0
0.018583
0.270339
1,180
39
150
30.25641
0.790941
0.207627
0
0
0
0
0.227027
0
0
0
0
0
0
0
null
null
0
0.15
null
null
0.15
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
35e0cf39ff5d21a8e16e5a86c0b52a7b472a3257
14,973
py
Python
baselines/arch/lostgans/resnet_generator_v2.py
atmacvit/meronymnet
47e1a7caadc0f770439bb26a93b885f790f62804
[ "MIT" ]
1
2021-11-02T05:13:12.000Z
2021-11-02T05:13:12.000Z
baselines/arch/lostgans/resnet_generator_v2.py
atmacvit/meronymnet
47e1a7caadc0f770439bb26a93b885f790f62804
[ "MIT" ]
1
2021-12-17T14:29:18.000Z
2021-12-17T14:29:18.000Z
baselines/arch/lostgans/resnet_generator_v2.py
atmacvit/meronymnet
47e1a7caadc0f770439bb26a93b885f790f62804
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from .norm_module import * from .mask_regression import * from .sync_batchnorm import SynchronizedBatchNorm2d BatchNorm = SynchronizedBatchNorm2d class ResnetGenerator128(nn.Module): def __init__(self, ch=64, z_dim=128, num_classes=10, output_dim...
42.29661
137
0.585788
2,276
14,973
3.70123
0.087873
0.038462
0.020655
0.023267
0.721035
0.690764
0.687559
0.66358
0.66358
0.654915
0
0.047942
0.261671
14,973
353
138
42.416431
0.714066
0.029386
0
0.568627
0
0
0.011391
0
0
0
0
0
0
1
0.062745
false
0
0.023529
0
0.145098
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
35e63e8f4aaf06aa68c49a0562ce7d47f63f3c98
3,028
py
Python
staticbackend/user.py
ipfans/backend-python
5c720dd839f7165b712ab41ea20103fe58848d06
[ "MIT" ]
null
null
null
staticbackend/user.py
ipfans/backend-python
5c720dd839f7165b712ab41ea20103fe58848d06
[ "MIT" ]
null
null
null
staticbackend/user.py
ipfans/backend-python
5c720dd839f7165b712ab41ea20103fe58848d06
[ "MIT" ]
null
null
null
"""User management.""" from functools import lru_cache from typing import Any from httpx import Client from .base import Base from .database import Database from .errors import EmailError, LoginError from .forms import Form from .storage import Storage class LoginState(Base): def __init__(self, client: Client,...
27.527273
85
0.584214
348
3,028
4.994253
0.20977
0.031646
0.028769
0.034522
0.43901
0.394131
0.195627
0.177215
0.177215
0.177215
0
0
0.306473
3,028
109
86
27.779817
0.827619
0.22358
0
0.405797
0
0
0.059954
0
0
0
0
0
0
1
0.144928
false
0.15942
0.115942
0.043478
0.405797
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
ea01a235a6fd2388e0f677755e737a736b34ea79
2,461
py
Python
django_de/news/models.py
django-de/django-de-v3
35e927ad2864730703e5b8664f41dd45e93081bf
[ "BSD-3-Clause" ]
1
2019-12-03T11:59:08.000Z
2019-12-03T11:59:08.000Z
django_de/news/models.py
django-de/django-de-v3
35e927ad2864730703e5b8664f41dd45e93081bf
[ "BSD-3-Clause" ]
3
2018-02-16T09:28:17.000Z
2018-02-16T09:28:17.000Z
django_de/news/models.py
django-de/django-de-v3
35e927ad2864730703e5b8664f41dd45e93081bf
[ "BSD-3-Clause" ]
1
2019-12-03T11:59:11.000Z
2019-12-03T11:59:11.000Z
import datetime from django.db import models from django.conf import settings from django.contrib.auth.models import User from django.contrib.sites.models import Site from django.core.urlresolvers import reverse as url_reverse from django.template.defaultfilters import slugify from django.utils.translation import gett...
33.712329
78
0.633889
306
2,461
4.947712
0.421569
0.046235
0.029723
0.030383
0.040951
0.040951
0
0
0
0
0
0.003289
0.258838
2,461
72
79
34.180556
0.826754
0.113369
0
0.043478
0
0
0.05725
0
0
0
0
0
0
1
0.152174
false
0
0.173913
0.086957
0.717391
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
ea03e01d93b6b217e84d348d54f243d79959c888
699
py
Python
section_10_(dictionaries)/dict_values.py
alisonjo2786/pythonlessons_materials
7df6d495b972f1f0a42ba8a382d2bffc50f46aa1
[ "MIT" ]
425
2015-01-13T03:19:10.000Z
2022-03-13T00:34:44.000Z
section_10_(dictionaries)/dict_values.py
Supercodero/python-lessons
38409c318e7a62d30b2ffd68f8a7a5a5ec00778d
[ "MIT" ]
null
null
null
section_10_(dictionaries)/dict_values.py
Supercodero/python-lessons
38409c318e7a62d30b2ffd68f8a7a5a5ec00778d
[ "MIT" ]
178
2015-01-08T05:01:05.000Z
2021-12-02T00:56:58.000Z
# If you're new to dictionaries, you might want to start with dict_access.py # We create a dictionary. contacts = { 'Shannon': '202-555-1234', 'Amy': '410-515-3000', 'Jen': '301-600-5555', 'Julie': '202-333-9876' } # We can use the dictionary method .values() to give us a list of all of the values in...
33.285714
139
0.683834
125
699
3.816
0.584
0.037736
0.02935
0.041929
0.08805
0.08805
0.08805
0
0
0
0
0.073609
0.203147
699
21
140
33.285714
0.782765
0.669528
0
0
0
0
0.30531
0
0
0
0
0
0
0
null
null
0
0
null
null
0.222222
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
ea0bced13457e5263a64916c100e79140884446a
6,743
py
Python
melisa/models/user/user.py
MelisaDev/melisa
53fee10d8c1bf4dd716bc90096c16f096e11bfbf
[ "MIT" ]
5
2022-03-11T19:51:28.000Z
2022-03-13T16:28:58.000Z
melisa/models/user/user.py
jungledev1/melisa
835e4b644e50b5038599ecbd1bfa510a0d3200e9
[ "MIT" ]
2
2022-03-19T18:09:39.000Z
2022-03-23T12:18:49.000Z
melisa/models/user/user.py
jungledev1/melisa
835e4b644e50b5038599ecbd1bfa510a0d3200e9
[ "MIT" ]
1
2022-03-23T07:30:04.000Z
2022-03-23T07:30:04.000Z
# Copyright MelisaDev 2022 - Present # Full MIT License can be found in `LICENSE.txt` at the project root. from __future__ import annotations from enum import IntEnum from dataclasses import dataclass from typing import Optional, Dict, Any from ...utils.conversion import try_enum from ...utils.api_model import APIMo...
29.968889
95
0.645262
825
6,743
5.150303
0.272727
0.024712
0.016945
0.021181
0.105201
0.075783
0.02683
0
0
0
0
0.01236
0.256117
6,743
224
96
30.102679
0.834729
0.430965
0
0.133333
0
0
0.058341
0
0
0
0
0.008929
0
1
0.1
false
0
0.088889
0.055556
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ea11c5669ca1a4429b5ee92770e527c7795a0bd0
733
py
Python
zdpapi_file/directory.py
zhangdapeng520/zdpapi_file
96404814b9c36b15b037c66319a4972c30cae151
[ "MIT" ]
1
2021-12-07T15:19:40.000Z
2021-12-07T15:19:40.000Z
zdpapi_file/directory.py
zhangdapeng520/zdpapi_file
96404814b9c36b15b037c66319a4972c30cae151
[ "MIT" ]
null
null
null
zdpapi_file/directory.py
zhangdapeng520/zdpapi_file
96404814b9c36b15b037c66319a4972c30cae151
[ "MIT" ]
null
null
null
""" 文件夹相关 """ import os class Directory: def __init__(self, path:str) -> None: """ path: 文件夹路径 """ self.path = path def disk_usage(self): """ 查看文件夹的占用量 """ # 使用内部函数避开递归函数self问题 def inner_disk_usage(path): total = os.path.g...
24.433333
62
0.489768
75
733
4.586667
0.48
0.104651
0.122093
0
0
0
0
0
0
0
0
0.004577
0.40382
733
30
63
24.433333
0.782609
0.102319
0
0
0
0
0.009967
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.5
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
1
0
0
0
0
0
0
0
1
ea17db8584325ad5d864cc438298addfb18c8d91
21,502
py
Python
gdsfactory/components/__init__.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
null
null
null
gdsfactory/components/__init__.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
null
null
null
gdsfactory/components/__init__.py
jorgepadilla19/gdsfactory
68e1c18257a75d4418279851baea417c8899a165
[ "MIT" ]
null
null
null
from gdsfactory.components.add_fidutials import add_fidutials, add_fidutials_offsets from gdsfactory.components.align import add_frame, align_wafer from gdsfactory.components.array_component import array from gdsfactory.components.array_with_fanout import ( array_with_fanout, array_with_fanout_2d, ) from gdsfac...
33.914826
90
0.799042
2,678
21,502
5.961912
0.07655
0.113115
0.193912
0.0233
0.506075
0.381373
0.298071
0.244019
0.20932
0.151572
0
0.026228
0.136452
21,502
633
91
33.968404
0.833639
0.000837
0
0.088889
0
0
0.113677
0.035984
0
0
0
0
0
1
0
false
0.006349
0.204762
0
0.204762
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
ea19b1da7d31355cb3d15f154be0ef6471e37ff8
8,705
py
Python
mygamelist/games/models.py
Frostflake/mygamelist
53638c29d3834af921065a6158e29c126b17d3e9
[ "MIT" ]
2
2022-01-26T07:31:25.000Z
2022-03-21T04:24:53.000Z
mygamelist/games/models.py
Frostflake/mygamelist
53638c29d3834af921065a6158e29c126b17d3e9
[ "MIT" ]
39
2022-01-10T17:37:31.000Z
2022-03-21T04:34:13.000Z
mygamelist/games/models.py
Frostflake/mygamelist
53638c29d3834af921065a6158e29c126b17d3e9
[ "MIT" ]
null
null
null
from django.db import models from decimal import Decimal from uuid import uuid4 from django.contrib.auth.models import User from django.dispatch import receiver from django.db.models.signals import post_save def random_cover_filename(instance, filename): ext = filename.split('.')[-1] filename = '{}.{}'.format(...
43.525
115
0.704078
1,062
8,705
5.601695
0.170433
0.06354
0.060514
0.080686
0.716927
0.672886
0.612876
0.57455
0.464112
0.456379
0
0.014239
0.160942
8,705
200
116
43.525
0.800246
0
0
0.488372
0
0
0.064438
0.005628
0
0
0
0
0
1
0.081395
false
0
0.046512
0.05814
0.790698
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
ea1adc187e840ef1c9730dca30d6118e6f54cf1c
1,242
py
Python
src/components/vcs/MarkdownArticle.py
leikareipa/vcs-doxy-theme
217f02d2ddadd3fbce199c9f5bd249d472069db1
[ "MIT" ]
null
null
null
src/components/vcs/MarkdownArticle.py
leikareipa/vcs-doxy-theme
217f02d2ddadd3fbce199c9f5bd249d472069db1
[ "MIT" ]
null
null
null
src/components/vcs/MarkdownArticle.py
leikareipa/vcs-doxy-theme
217f02d2ddadd3fbce199c9f5bd249d472069db1
[ "MIT" ]
null
null
null
# # 2021 Tarpeeksi Hyvae Soft # # Software: VCS Doxygen theme # from src.components.vcs import ( ArticleHeader, ) from xml.etree import ElementTree from typing import Final from src import xml2html # The sub-components used in this component. childComponents:Final = [ ArticleHeader, ] def html(xmlTree:Elemen...
23
111
0.620773
139
1,242
5.52518
0.582734
0.052083
0.044271
0
0
0
0
0
0
0
0
0.02452
0.244767
1,242
53
112
23.433962
0.794243
0.077295
0
0.1
0
0.025
0.633011
0.18525
0
0
0
0
0
1
0.05
false
0
0.1
0.025
0.225
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ea2396219f963f9bb0e6cd313a9c43f500eaf53a
561
py
Python
config.py
justplus/vansel
15db51de78b333e2ff753dfa11064200fee7feec
[ "MIT" ]
3
2016-05-24T05:39:56.000Z
2018-02-12T03:53:20.000Z
config.py
justplus/vansel
15db51de78b333e2ff753dfa11064200fee7feec
[ "MIT" ]
1
2020-05-12T01:47:22.000Z
2020-05-12T01:47:22.000Z
config.py
justplus/vansel
15db51de78b333e2ff753dfa11064200fee7feec
[ "MIT" ]
3
2016-06-30T13:02:02.000Z
2021-02-22T12:11:02.000Z
#!/usr/bin/env python # coding=utf-8 __author__ = 'zhaoliang' __email__ = 'zhaoliang@iflytek.com' __created__ = '15/12/19' import os CSRF_ENABLED = True SECRET_KEY = 'guess what you can and try it' DATABASE_URI = { 'host': 'localhost', 'user': 'root', 'passwd': 'root', 'port': 3306, 'db': 'vans...
20.777778
55
0.666667
81
561
4.296296
0.728395
0.068966
0.057471
0.08046
0.132184
0.132184
0
0
0
0
0
0.037975
0.15508
561
27
56
20.777778
0.696203
0.058824
0
0
0
0
0.320683
0.039848
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.055556
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
ea23b72e8f0b2b54956524b46669d872f6a49408
466
py
Python
pages/wikipedia_pages/home_page.py
glenn-barker/web-bdd
75ab00a299d843ee24313758df2c2978838491c6
[ "MIT" ]
null
null
null
pages/wikipedia_pages/home_page.py
glenn-barker/web-bdd
75ab00a299d843ee24313758df2c2978838491c6
[ "MIT" ]
null
null
null
pages/wikipedia_pages/home_page.py
glenn-barker/web-bdd
75ab00a299d843ee24313758df2c2978838491c6
[ "MIT" ]
null
null
null
from selenium.webdriver.support import expected_conditions as EC from pages.page import Page class HomePage(Page): PAGE_URL = "https://www.wikipedia.org" def visit(self): self.selenium.driver.get(HomePage.PAGE_URL) self.verify_is_loaded() def verify_is_loaded(self): self.selenium...
29.125
89
0.695279
64
466
4.90625
0.5625
0.11465
0.101911
0
0
0
0
0
0
0
0
0
0.203863
466
15
90
31.066667
0.846361
0
0
0
0
0
0.229614
0.072961
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
ea267a03194c0bc5407ec14126f3ebf593552aa6
414
py
Python
BlogApp/migrations/0010_auto_20201016_1546.py
n3trob3/nimrodage
578eb14e2e8f7dc7ae58913b6131fd60c1596c0b
[ "Apache-2.0" ]
null
null
null
BlogApp/migrations/0010_auto_20201016_1546.py
n3trob3/nimrodage
578eb14e2e8f7dc7ae58913b6131fd60c1596c0b
[ "Apache-2.0" ]
null
null
null
BlogApp/migrations/0010_auto_20201016_1546.py
n3trob3/nimrodage
578eb14e2e8f7dc7ae58913b6131fd60c1596c0b
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.1 on 2020-10-16 14:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('BlogApp', '0009_newsletter'), ] operations = [ migrations.AlterField( model_name='newsletter', name='e...
21.789474
66
0.574879
42
414
5.595238
0.809524
0
0
0
0
0
0
0
0
0
0
0.077465
0.31401
414
18
67
23
0.75
0.108696
0
0
1
0
0.106017
0
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ea2bbf0172ca78f6811d82f90d55119cdf70afe1
1,067
py
Python
Mxonline/apps/organization/adminx.py
chiefsh/song
b472898cf033fb02e63bcf741e70e9e0f548bf2e
[ "Apache-2.0" ]
1
2018-04-25T05:33:59.000Z
2018-04-25T05:33:59.000Z
Mxonline/apps/organization/adminx.py
chiefsh/song
b472898cf033fb02e63bcf741e70e9e0f548bf2e
[ "Apache-2.0" ]
null
null
null
Mxonline/apps/organization/adminx.py
chiefsh/song
b472898cf033fb02e63bcf741e70e9e0f548bf2e
[ "Apache-2.0" ]
null
null
null
# _*_coding:utf-8_*_ __author__ = 'song' __date__ = '2017/10/24 23:03' import xadmin from .models import CityDict,CourseOrg,Teacher class CityDictAdmin(object): list_display = ['name', 'desc', 'add_time'] search_fields = ['name', 'desc', 'add_time'] list_filter = ['name', 'desc', 'add_time'] ...
42.68
92
0.684161
133
1,067
5.150376
0.330827
0.091971
0.09635
0.131387
0.564964
0.564964
0.456934
0.385401
0.385401
0.385401
0
0.013934
0.125586
1,067
25
93
42.68
0.720257
0.01687
0
0
0
0
0.344727
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.736842
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
ea2cd9c99050929c52fd3e89dd51efaeac3e8093
1,188
py
Python
example-project/cli.py
claudio-walser/srgssr-publication-data-api
d4c671ca969da686db2efc0753fe388df3bd96fd
[ "MIT" ]
1
2022-01-12T10:58:00.000Z
2022-01-12T10:58:00.000Z
example-project/cli.py
claudio-walser/srgssr-publication-data-api
d4c671ca969da686db2efc0753fe388df3bd96fd
[ "MIT" ]
3
2021-09-07T09:08:29.000Z
2021-09-07T09:09:05.000Z
example-project/cli.py
claudio-walser/srgssr-publication-data-api
d4c671ca969da686db2efc0753fe388df3bd96fd
[ "MIT" ]
1
2021-04-13T22:37:33.000Z
2021-04-13T22:37:33.000Z
# -*- coding: utf-8 -*- """Console script for srgssr_publication_data_api.""" import sys import json import click from dotenv import load_dotenv from sgqlc.types import Variable, non_null from srgssr_publication_data_api import PublicationDataApi @click.command() @click.option('--size', help='number of items', defau...
32.108108
69
0.694444
160
1,188
5.0125
0.45
0.068579
0.078554
0.089776
0.144638
0.099751
0.099751
0
0
0
0
0.005025
0.162458
1,188
36
70
33
0.801005
0.113636
0
0
0
0
0.191162
0
0
0
0
0
0
1
0.035714
false
0.107143
0.214286
0
0.321429
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
1
0
0
0
0
0
1
ea3d0e9484f5f8ad442cc9457f9aa2fc4e279d9f
3,687
py
Python
cozy/polynomials.py
mernst/cozy
d7b2c0ee575057dea4ebec201d579f0ecd785b1b
[ "Apache-2.0" ]
188
2017-11-27T18:59:34.000Z
2021-12-31T02:28:33.000Z
cozy/polynomials.py
mernst/cozy
d7b2c0ee575057dea4ebec201d579f0ecd785b1b
[ "Apache-2.0" ]
95
2017-11-13T01:21:48.000Z
2020-10-30T06:38:14.000Z
cozy/polynomials.py
mernst/cozy
d7b2c0ee575057dea4ebec201d579f0ecd785b1b
[ "Apache-2.0" ]
16
2018-02-13T04:49:09.000Z
2021-02-06T13:26:46.000Z
"""Class for representing polynomials of one variable.""" import functools @functools.total_ordering class Polynomial(object): __slots__ = ("terms",) def __init__(self, terms=()): terms = list(terms) while terms and (terms[-1] == 0): terms.pop() self.terms = tuple(terms) ...
33.216216
95
0.595877
445
3,687
4.755056
0.182022
0.093573
0.045369
0.026938
0.230624
0.203686
0.085066
0.085066
0.029301
0
0
0.007241
0.28831
3,687
110
96
33.518182
0.799162
0.065636
0
0.202247
0
0
0.021631
0
0
0
0
0
0
1
0.191011
false
0
0.011236
0.089888
0.516854
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
ea450f5ad50b159552e919af8fcc3cead62de14f
1,354
py
Python
usaspending_api/recipient/migrations/0005_auto_20180723_1753.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
usaspending_api/recipient/migrations/0005_auto_20180723_1753.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
1
2021-11-15T17:54:12.000Z
2021-11-15T17:54:12.000Z
usaspending_api/recipient/migrations/0005_auto_20180723_1753.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-07-23 17:53 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipient', '0004_dunsprops'), ] operations =...
36.594595
142
0.60192
131
1,354
6.022901
0.603053
0.030418
0.064639
0.068441
0.081115
0
0
0
0
0
0
0.028226
0.267356
1,354
36
143
37.611111
0.767137
0.050222
0
0.068966
1
0
0.169914
0.017147
0
0
0
0
0
1
0
false
0
0.103448
0
0.206897
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
ea4a3116e94907d15ac9cfab910f3485203cd026
1,856
py
Python
python/image_processor.py
devonlee111/Basic-Neural-Net
a365024195a2681cd58c4fd97dc6de3ba8268859
[ "MIT" ]
null
null
null
python/image_processor.py
devonlee111/Basic-Neural-Net
a365024195a2681cd58c4fd97dc6de3ba8268859
[ "MIT" ]
1
2018-01-13T04:51:28.000Z
2018-01-17T16:38:18.000Z
python/image_processor.py
devonlee111/Basic-Neural-Net
a365024195a2681cd58c4fd97dc6de3ba8268859
[ "MIT" ]
null
null
null
import os import sys from PIL import Image numArgs = len(sys.argv) if numArgs < 3: print "Not Enough Arguments\n" sys.exit() elif numArgs == 4: print "Not Enough Arguments\n" sys.exit() elif numArgs > 5: print "Too many arguments\n" sys.exit() path = sys.argv[1] outFile = open(sys.argv[2], "w+") try: image...
19.536842
72
0.577586
288
1,856
3.722222
0.263889
0.039179
0.069963
0.063433
0.455224
0.423507
0.423507
0.423507
0.423507
0.281716
0
0.0337
0.264547
1,856
94
73
19.744681
0.751648
0
0
0.52
0
0
0.074892
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.053333
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
ea4a3ee6129d247a3ad2298540f8a4ef15fbcac7
1,076
py
Python
core/migrations/0030_greatmedia.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
6
2018-03-20T11:19:07.000Z
2021-10-05T07:53:11.000Z
core/migrations/0030_greatmedia.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
802
2018-02-05T14:16:13.000Z
2022-02-10T10:59:21.000Z
core/migrations/0030_greatmedia.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
6
2019-01-22T13:19:37.000Z
2019-07-01T10:35:26.000Z
# Generated by Django 2.2.24 on 2021-10-05 14:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailmedia', '0003_copy_media_permissions_to_collections'), ('core', '0029_auto_20190417_1024'), ] opera...
37.103448
194
0.622677
113
1,076
5.769912
0.610619
0.03681
0.042945
0.067485
0
0
0
0
0
0
0
0.044665
0.250929
1,076
28
195
38.428571
0.764268
0.042751
0
0
1
0
0.258755
0.06323
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
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
ea4dd360ccac9058920babd564c52d24bb82a585
9,180
py
Python
src/dynamic_graph/entity.py
florent-lamiraux/dynamic-graph-python
3adadf9e64585dfc623726af9f87f363da99284a
[ "BSD-2-Clause" ]
null
null
null
src/dynamic_graph/entity.py
florent-lamiraux/dynamic-graph-python
3adadf9e64585dfc623726af9f87f363da99284a
[ "BSD-2-Clause" ]
null
null
null
src/dynamic_graph/entity.py
florent-lamiraux/dynamic-graph-python
3adadf9e64585dfc623726af9f87f363da99284a
[ "BSD-2-Clause" ]
null
null
null
""" Copyright (C) 2010 CNRS Author: Florent Lamiraux, Nicolas Mansard """ import wrap, signal_base, new from attrpath import setattrpath if 'display' not in globals().keys(): def display(s): print(s) # --- FACTORY ------------------------------------------------------------------ # --- FACTORY ------...
37.622951
89
0.569499
1,001
9,180
5.070929
0.228771
0.022065
0.020489
0.01576
0.107368
0.076438
0.040189
0.01182
0
0
0
0.00185
0.293355
9,180
243
90
37.777778
0.780638
0.112854
0
0.100775
0
0
0.066036
0
0
0
0
0.004115
0
0
null
null
0
0.015504
null
null
0.03876
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
ea5314674e415f31511f2dc8b58155e5e6ca916a
307
py
Python
loca-testing/scripts/015_myway_test.py
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
loca-testing/scripts/015_myway_test.py
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
loca-testing/scripts/015_myway_test.py
crutchwalkfactory/jaikuengine-mobile-client
c47100ec009d47a4045b3d98addc9b8ad887b132
[ "MIT" ]
null
null
null
execfile("_general.py") execfile("015_myway.py") def test_myway() : dev=dict() general=dict() general['nodename']='Saint Clare' general['time']=local_to_unixtime(8, 8, 47) msg=dict() msg['successcount']=3 res = myway(general, dev, msg) print res print "\n----\n\n" print res[4] test_myway()
14.619048
44
0.664495
47
307
4.212766
0.531915
0.090909
0
0
0
0
0
0
0
0
0
0.033962
0.136808
307
20
45
15.35
0.713208
0
0
0
0
0
0.221498
0
0
0
0
0
0
0
null
null
0
0
null
null
0.214286
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
ea55d3b1259585cd19905337c2c5d6c7e01a4730
2,500
py
Python
day04zy.py
aixiaocha/test
d9f1bfbf79f17c00c1fc1699692429c0a7b74a12
[ "Apache-2.0" ]
null
null
null
day04zy.py
aixiaocha/test
d9f1bfbf79f17c00c1fc1699692429c0a7b74a12
[ "Apache-2.0" ]
null
null
null
day04zy.py
aixiaocha/test
d9f1bfbf79f17c00c1fc1699692429c0a7b74a12
[ "Apache-2.0" ]
null
null
null
#EP1 ''' def getPentagonalNumber(n): i = 1 for i in range(1,n+1): s = (i*(3*i-1)*1.0)/2 print (str(s)+' ',end='') if i%10==0: print() getPentagonalNumber(100) ''' #EP2 ''' def sum(n): s= 0 while(n%10!=0): a=n%10 b=n//10 s=s+a n=b p...
15.432099
67
0.5104
425
2,500
2.992941
0.287059
0.033019
0.023585
0.043239
0.21305
0.128931
0.042453
0.042453
0
0
0
0.08691
0.2452
2,500
161
68
15.52795
0.587175
0.092
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
ea580247027b7176ad2b320afb3e4616f85e4f76
351
py
Python
python__OOP/04.classes_and_instances_exercise/01.point.py
EmilianStoyanov/Projects-in-SoftUni
e83996670fe00424a158905d537a7bbbeee8fb59
[ "MIT" ]
1
2020-07-14T12:32:47.000Z
2020-07-14T12:32:47.000Z
python__OOP/04.classes_and_instances_exercise/01.point.py
EmilianStoyanov/Projects-in-SoftUni
e83996670fe00424a158905d537a7bbbeee8fb59
[ "MIT" ]
null
null
null
python__OOP/04.classes_and_instances_exercise/01.point.py
EmilianStoyanov/Projects-in-SoftUni
e83996670fe00424a158905d537a7bbbeee8fb59
[ "MIT" ]
null
null
null
import math class Point: def __init__(self, x, y): self.x = x self.y = y def set_x(self, new_x): self.x = new_x def set_y(self, new_y): self.y = new_y def distance(self, x, y): xx = abs(self.x - x) yy = abs(self.y - y) c = (xx ** 2) + (yy ** 2...
16.714286
33
0.467236
59
351
2.610169
0.322034
0.162338
0.077922
0
0
0
0
0
0
0
0
0.009346
0.390313
351
20
34
17.55
0.71028
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.071429
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
ea5a2ff864a7968d3755204fbcb7a11788d0d301
6,986
py
Python
typhon/nano/smallcaps.py
justinnoah/typhon
2aa883aa37e4ae70a45474c6eb4a444181940ef1
[ "Apache-2.0" ]
63
2015-02-19T20:47:16.000Z
2021-12-27T23:29:54.000Z
typhon/nano/smallcaps.py
justinnoah/typhon
2aa883aa37e4ae70a45474c6eb4a444181940ef1
[ "Apache-2.0" ]
197
2015-02-23T23:05:24.000Z
2021-04-05T16:15:04.000Z
typhon/nano/smallcaps.py
justinnoah/typhon
2aa883aa37e4ae70a45474c6eb4a444181940ef1
[ "Apache-2.0" ]
9
2015-02-15T09:27:09.000Z
2018-02-14T17:27:40.000Z
from rpython.rlib.rbigint import BASE10 from typhon.nano import checkpoints from typhon.quoting import quoteChar, quoteStr def doNanoSmallCaps(expr): expr = checkpoints.AddCheckpoints().visitExpr(expr) expr = checkpoints.CollectCheckpoints().visitExpr(expr) return expr class PrettySmallCaps(checkpoints.C...
28.867769
73
0.554108
765
6,986
5.053595
0.180392
0.190895
0.183652
0.101397
0.442835
0.394465
0.338076
0.299793
0.29643
0.266684
0
0.004578
0.312053
6,986
241
74
28.987552
0.799834
0
0
0.47549
0
0
0.037074
0
0
0
0
0
0
1
0.171569
false
0.004902
0.014706
0.004902
0.20098
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
ea5dcc2c3ecc2fe98ae406f591e74a0bc86036e8
460
py
Python
django_csv/admin.py
yunojuno/django-queryset-csv
592017585c3f050b8ab0230d77f597b65df08275
[ "MIT" ]
null
null
null
django_csv/admin.py
yunojuno/django-queryset-csv
592017585c3f050b8ab0230d77f597b65df08275
[ "MIT" ]
2
2021-03-15T10:06:18.000Z
2021-03-19T17:26:16.000Z
django_csv/admin.py
yunojuno/django-queryset-csv
592017585c3f050b8ab0230d77f597b65df08275
[ "MIT" ]
1
2021-03-21T20:19:19.000Z
2021-03-21T20:19:19.000Z
from django.contrib import admin from .models import CsvDownload class CsvDownloadAdmin(admin.ModelAdmin): list_display = ("user", "timestamp", "row_count", "filename") list_filter = ("timestamp",) search_fields = ("user", "filename") raw_id_fields = ("user",) readonly_fields = ( "user", ...
21.904762
65
0.632609
44
460
6.431818
0.590909
0.106007
0
0
0
0
0
0
0
0
0
0
0.230435
460
20
66
23
0.799435
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ea5eb75470b7428429749ddb31c06dbae4c501ac
979
py
Python
full-problems/amq1.py
vikas-t/DS-Algo
ea654d1cad5374c824c52da9d3815a9546eb43fa
[ "Apache-2.0" ]
null
null
null
full-problems/amq1.py
vikas-t/DS-Algo
ea654d1cad5374c824c52da9d3815a9546eb43fa
[ "Apache-2.0" ]
null
null
null
full-problems/amq1.py
vikas-t/DS-Algo
ea654d1cad5374c824c52da9d3815a9546eb43fa
[ "Apache-2.0" ]
null
null
null
# Question #1 def find_all_paths(graph, start, end, path=[]): path = path + [start] if start == end: return [path] if not graph.has_key(start): return [] paths = [] for node in graph[start]: if node not in path: newpaths = find_all_paths(graph, node, end, path) for ne...
20.829787
58
0.540347
165
979
3.151515
0.272727
0.092308
0.046154
0.092308
0.223077
0.2
0.096154
0
0
0
0
0.02029
0.295199
979
47
59
20.829787
0.733333
0.010215
0
0.051282
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ea630d9a6c2060870331ef889d7eee537bc2ab9f
3,511
py
Python
pythonProject/venv/Lib/site-packages/workbook/__init__.py
MontanhaRio/python
43ad6173d692ebeb153c23c893e4b8f0bf07afcc
[ "MIT" ]
null
null
null
pythonProject/venv/Lib/site-packages/workbook/__init__.py
MontanhaRio/python
43ad6173d692ebeb153c23c893e4b8f0bf07afcc
[ "MIT" ]
null
null
null
pythonProject/venv/Lib/site-packages/workbook/__init__.py
MontanhaRio/python
43ad6173d692ebeb153c23c893e4b8f0bf07afcc
[ "MIT" ]
null
null
null
#!/usr/bin/env python from xlwt import Workbook as _WB_, Font, XFStyle, Borders, Alignment def print_table(data, title="", bold=True): '''fancy ascii table''' maxs = [] for row in data: for i, cell in enumerate(row): if len(maxs) <= i: maxs.append(0) ...
25.442029
69
0.462261
421
3,511
3.741093
0.249406
0.045714
0.010159
0.034286
0.266667
0.266667
0.245079
0.137143
0.110476
0.110476
0
0.032274
0.417545
3,511
137
70
25.627737
0.737897
0.0319
0
0.357895
0
0
0.035066
0
0.010526
0
0
0
0
0
null
null
0
0.010526
null
null
0.136842
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
ea68f169f63f5a721be5992d10da06a3786120cf
494
py
Python
python_scripts/11-colored_circles.py
mohammedbehjoo/DigitalFUTURES-Developing-Costum-Components-in-Grasshopper-with-Python
c3d4c50f7cec01b6560ed3e8717e79a08de62cd6
[ "MIT" ]
1
2021-12-25T15:08:57.000Z
2021-12-25T15:08:57.000Z
python_scripts/11-colored_circles.py
DigitalFUTURES-world/DigitalFUTURES-Developing-Costum-Components-in-Grasshopper-with-Python
c3d4c50f7cec01b6560ed3e8717e79a08de62cd6
[ "MIT" ]
null
null
null
python_scripts/11-colored_circles.py
DigitalFUTURES-world/DigitalFUTURES-Developing-Costum-Components-in-Grasshopper-with-Python
c3d4c50f7cec01b6560ed3e8717e79a08de62cd6
[ "MIT" ]
1
2021-12-16T19:01:06.000Z
2021-12-16T19:01:06.000Z
import rhinoscriptsyntax as rs import Rhino.Geometry as rg import System.Drawing as sd import Rhino.RhinoDoc as rr import scriptcontext as sc sc.doc=rr.ActiveDoc def createColoredPoint(x,y,z,r,g,b): currentColor = [r,g,b] pt = rs.AddPoint(x,y,z) rs.ObjectColor(pt, currentColor) rs.EnableRe...
22.454545
44
0.661943
82
494
3.987805
0.45122
0.024465
0.036697
0.100917
0.155963
0.110092
0
0
0
0
0
0.03125
0.222672
494
22
45
22.454545
0.820313
0
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.3125
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
0
1
0
0
0
0
1
ea6e716dec837b365f66be0b5cfc5e5c87d8ed21
5,487
py
Python
tests/web/user_api_test.py
Darkheir/TibetanBrownBear
c3843daa4f84730e733c2dde1cda7739e6cdad8e
[ "Apache-2.0" ]
9
2018-01-15T22:44:24.000Z
2021-05-28T11:13:03.000Z
tests/web/user_api_test.py
Darkheir/TibetanBrownBear
c3843daa4f84730e733c2dde1cda7739e6cdad8e
[ "Apache-2.0" ]
140
2018-01-12T10:07:47.000Z
2021-08-02T23:03:49.000Z
tests/web/user_api_test.py
Darkheir/TibetanBrownBear
c3843daa4f84730e733c2dde1cda7739e6cdad8e
[ "Apache-2.0" ]
11
2018-01-16T19:49:35.000Z
2022-01-18T16:30:34.000Z
"""Tests for the User API.""" import json import time import jwt import pytest from yeti.auth.local import user_management from yeti.common.config import yeti_config from yeti.webapp import app app.testing = True client = app.test_client() # pylint: disable=fixme # TODO: Consider using pytest-flask for easier test...
37.074324
79
0.636049
671
5,487
5.070045
0.208644
0.042034
0.071135
0.084068
0.601705
0.588771
0.588183
0.542916
0.529394
0.508524
0
0.007163
0.236741
5,487
147
80
37.326531
0.805158
0.136869
0
0.556522
0
0
0.218469
0.026935
0
0
0
0.006803
0.182609
1
0.078261
false
0.06087
0.06087
0
0.13913
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
ea7080d864027db07be5f03497bde8a147dc79a2
6,164
py
Python
sila_library/sila2lib/sila_service_detection.py
lemmi25/sila2lib
ac4db8ee7fe6c99bde498151a539b25be2021d2f
[ "MIT" ]
null
null
null
sila_library/sila2lib/sila_service_detection.py
lemmi25/sila2lib
ac4db8ee7fe6c99bde498151a539b25be2021d2f
[ "MIT" ]
null
null
null
sila_library/sila2lib/sila_service_detection.py
lemmi25/sila2lib
ac4db8ee7fe6c99bde498151a539b25be2021d2f
[ "MIT" ]
null
null
null
""" ________________________________________________________________________ :PROJECT: SiLA2_python *SiLA device detection library* :details: SiLA Device detection is based on zeroconf / bonjour. s. zeroconf documentation for details. server looks for services in local network server ch...
41.093333
161
0.608209
691
6,164
5.017366
0.347323
0.0349
0.030286
0.021633
0.239112
0.216902
0.196712
0.178252
0.178252
0.178252
0
0.016535
0.303374
6,164
149
162
41.369128
0.790871
0.346042
0
0.352941
0
0.029412
0.218097
0.043682
0
0
0
0.013423
0
1
0.073529
false
0.014706
0.044118
0
0.147059
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
ea75fedd76791c01be07b3f4eb1c07a565acea00
358
py
Python
users/migrations/0005_auto_20210404_0058.py
hanahamberno/project-a-23
a136b70a142ad810f0c7cdafeafe6529edf52004
[ "OLDAP-2.5" ]
null
null
null
users/migrations/0005_auto_20210404_0058.py
hanahamberno/project-a-23
a136b70a142ad810f0c7cdafeafe6529edf52004
[ "OLDAP-2.5" ]
null
null
null
users/migrations/0005_auto_20210404_0058.py
hanahamberno/project-a-23
a136b70a142ad810f0c7cdafeafe6529edf52004
[ "OLDAP-2.5" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-04 00:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20210404_0050'), ] operations = [ migrations.AlterModelOptions( name='amenity', options={'verbose_name_pl...
19.888889
57
0.608939
37
358
5.756757
0.837838
0
0
0
0
0
0
0
0
0
0
0.119231
0.273743
358
17
58
21.058824
0.7
0.125698
0
0
1
0
0.202572
0.073955
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
ea78246160d78c4a55f63454d59ad908c9a98a95
6,441
py
Python
api/serializers.py
IronTooch/bounca
ad728c39ff8921ec38f924ed8ebcd088516b8438
[ "Apache-2.0" ]
null
null
null
api/serializers.py
IronTooch/bounca
ad728c39ff8921ec38f924ed8ebcd088516b8438
[ "Apache-2.0" ]
1
2022-02-19T16:21:18.000Z
2022-02-19T16:21:18.000Z
api/serializers.py
IronTooch/bounca
ad728c39ff8921ec38f924ed8ebcd088516b8438
[ "Apache-2.0" ]
null
null
null
"""Serializers for Certificate API""" import django_countries from dj_rest_auth.serializers import UserDetailsSerializer from django.contrib.auth import password_validation from django_countries.serializers import CountryFieldMixin from rest_framework import serializers from certificate_engine.types import Certificat...
39.036364
120
0.663406
621
6,441
6.669887
0.236715
0.10816
0.060357
0.035007
0.443747
0.362868
0.331
0.331
0.315065
0.315065
0
0.003956
0.254308
6,441
164
121
39.27439
0.858422
0.004813
0
0.272059
0
0
0.165834
0.020924
0
0
0
0
0
1
0.058824
false
0.330882
0.051471
0
0.330882
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
ea7c306856f47b3b859a325a2cd6b06fdd57adcd
5,006
py
Python
parse.py
Algy/Attrobject
c6f5ad580252040416d8ac0d5f5959ed95c7c7b7
[ "MIT" ]
null
null
null
parse.py
Algy/Attrobject
c6f5ad580252040416d8ac0d5f5959ed95c7c7b7
[ "MIT" ]
null
null
null
parse.py
Algy/Attrobject
c6f5ad580252040416d8ac0d5f5959ed95c7c7b7
[ "MIT" ]
null
null
null
# coding: utf-8 def parse_pattern(s): try: if s.startswith(u"**"): return u"varkwd", None, s[2:] elif s.startswith(u"*"): return u"vararg", None, s[1:] elif u"#" in s: idx = s.rindex("#") tag_str = s[idx + 1:] name = s[:idx] ...
30.901235
111
0.497403
546
5,006
4.406593
0.214286
0.0266
0.035328
0.04655
0.145885
0.118454
0.066916
0.066916
0.066916
0.053616
0
0.020766
0.384339
5,006
161
112
31.093168
0.759896
0.092289
0
0.186992
0
0
0.07677
0
0
0
0
0
0
0
null
null
0.00813
0
null
null
0.04878
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
ea7e807b1cca904b3a450b0fedc4c3ef55a1b4ad
2,191
py
Python
char_samples_gen.py
Baiy97/Ultra_light_OCR_No.5
200647c91cc77194c41d80828c0884c2533d004a
[ "Apache-2.0" ]
1
2021-11-17T14:05:40.000Z
2021-11-17T14:05:40.000Z
char_samples_gen.py
Baiy97/Ultra_light_OCR_No.5
200647c91cc77194c41d80828c0884c2533d004a
[ "Apache-2.0" ]
null
null
null
char_samples_gen.py
Baiy97/Ultra_light_OCR_No.5
200647c91cc77194c41d80828c0884c2533d004a
[ "Apache-2.0" ]
1
2021-08-07T10:26:54.000Z
2021-08-07T10:26:54.000Z
import os import cv2 import numpy as np from tqdm import tqdm image_dir = 'data/train_data/TrainImages/' gt_txt = 'data/train_data/LabelTrain.txt' gt_dict = dict() with open(gt_txt, 'r') as f: lines = f.readlines() for line in lines: line = line.strip().split('\t') if len(line) > 1: ...
25.476744
97
0.50388
315
2,191
3.361905
0.244444
0.073654
0.050992
0.031161
0.286119
0.175637
0.130312
0.050992
0
0
0
0.017277
0.339571
2,191
85
98
25.776471
0.714582
0.191693
0
0.2
0
0
0.075713
0.054747
0
0
0
0.011765
0
1
0
false
0.02
0.08
0
0.08
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ea7ecd7221c4a7e07ecb8e1086c7d8dd456fe044
445
py
Python
framedata.py
jgreer013/pymcc
3472321cffa0e81136a0d0a9596a594635c45377
[ "MIT" ]
null
null
null
framedata.py
jgreer013/pymcc
3472321cffa0e81136a0d0a9596a594635c45377
[ "MIT" ]
null
null
null
framedata.py
jgreer013/pymcc
3472321cffa0e81136a0d0a9596a594635c45377
[ "MIT" ]
null
null
null
import mss import cv2 import numpy as np class FrameData(): def __init__(self, fileName: str, controllerState: list, imageData): self.fileName = fileName self.controllerState = controllerState self.imageData = imageData def save(self, outfile): self.imageData.save(self.fileNam...
24.722222
94
0.651685
49
445
5.836735
0.489796
0.167832
0
0
0
0
0
0
0
0
0
0.002941
0.235955
445
17
95
26.176471
0.838235
0.031461
0
0
0
0
0.009346
0
0
0
0
0
0
1
0.181818
false
0
0.272727
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
ea88cb35f45e7505dd2167889263cc8ddc439459
3,489
py
Python
function.py
gvangool/wapi
f70eb4b17da4cd634f27fdc4cdcc6a698c0c0526
[ "MIT" ]
1
2016-05-09T07:27:13.000Z
2016-05-09T07:27:13.000Z
function.py
gvangool/wapi
f70eb4b17da4cd634f27fdc4cdcc6a698c0c0526
[ "MIT" ]
null
null
null
function.py
gvangool/wapi
f70eb4b17da4cd634f27fdc4cdcc6a698c0c0526
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2008 Alberto García Hierro <fiam@rm-fr.net> # 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 without limitation the rig...
36.34375
80
0.68673
454
3,489
5.147577
0.403084
0.037655
0.022251
0.035944
0.09157
0.081301
0.029953
0.029953
0.029953
0
0
0.002217
0.22442
3,489
95
81
36.726316
0.861419
0.445973
0
0.148936
0
0
0.05615
0.02246
0
0
0
0
0
1
0.212766
false
0
0.042553
0.021277
0.489362
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
ea91df093fc15d3ce19d82111ed696a6adbc9f81
1,251
py
Python
setup.py
WqyJh/winpexpect
02ba2ef2636b109eb3c19b3494ea66fe12c21887
[ "MIT" ]
1
2018-11-09T14:29:45.000Z
2018-11-09T14:29:45.000Z
setup.py
WqyJh/winpexpect
02ba2ef2636b109eb3c19b3494ea66fe12c21887
[ "MIT" ]
null
null
null
setup.py
WqyJh/winpexpect
02ba2ef2636b109eb3c19b3494ea66fe12c21887
[ "MIT" ]
null
null
null
# # This file is part of WinPexpect. WinPexpect is free software that is made # available under the MIT license. Consult the file "LICENSE" that is # distributed together with this file for the exact licensing terms. # # WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the # file "AUTHORS" for a com...
33.810811
75
0.669864
155
1,251
5.329032
0.703226
0.01937
0
0
0
0
0
0
0
0
0
0.022222
0.208633
1,251
36
76
34.75
0.812121
0.256595
0
0
0
0
0.440347
0
0
0
0
0
0
1
0
true
0
0.12
0
0.12
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
ea93fb56b3aeed603c681197ae754f9eba3e8ace
422
py
Python
twitoff/__init__.py
ekoly/twitoff-app
b9e8271d2e9388aad67b036255cc3bcbcbbdf701
[ "MIT" ]
null
null
null
twitoff/__init__.py
ekoly/twitoff-app
b9e8271d2e9388aad67b036255cc3bcbcbbdf701
[ "MIT" ]
5
2021-06-08T21:01:27.000Z
2022-03-12T00:20:27.000Z
twitoff/__init__.py
ekoly/twitoff-app
b9e8271d2e9388aad67b036255cc3bcbcbbdf701
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ App base. - APP: flask app object - DB: sqlalchemy database - UTIL: utility methods """ import logging from twitoff.app import make_app APP, DB, REDIS = make_app() application = APP LOG = logging.getLogger("twitoff") from twitoff import Routes from twitoff.ser...
16.88
52
0.703791
53
422
5.54717
0.54717
0.112245
0
0
0
0
0
0
0
0
0
0.002959
0.199052
422
24
53
17.583333
0.866864
0.277251
0
0
0
0
0.025
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
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
ea94b25118acb557025b51ea13405af4ac3589da
1,169
py
Python
Python_Files/murach/book_apps/ch10/create_account.py
Interloper2448/BCGPortfolio
c4c160a835c64c8d099d44c0995197f806ccc824
[ "MIT" ]
null
null
null
Python_Files/murach/book_apps/ch10/create_account.py
Interloper2448/BCGPortfolio
c4c160a835c64c8d099d44c0995197f806ccc824
[ "MIT" ]
null
null
null
Python_Files/murach/book_apps/ch10/create_account.py
Interloper2448/BCGPortfolio
c4c160a835c64c8d099d44c0995197f806ccc824
[ "MIT" ]
null
null
null
def main(): full_name = get_full_name() print() password = get_password() print() first_name = get_first_name(full_name) print("Hi " + first_name + ", thanks for creating an account.") def get_full_name(): while True: name = input("Enter full name: ").s...
29.225
80
0.540633
137
1,169
4.394161
0.357664
0.119601
0.064784
0.084718
0.114618
0
0
0
0
0
0
0.005376
0.363559
1,169
39
81
29.974359
0.803763
0
0
0.171429
0
0
0.180496
0
0
0
0
0
0
1
0.114286
false
0.2
0
0
0.2
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ea94f8eec1109363eaf92c42f0c4b02c347b5a65
294
py
Python
lib/evaluate_model.py
98miranil/DeepLearning_Solver
daa46d5ddb8fc4e82e19cfc6a85903113232250b
[ "MIT" ]
null
null
null
lib/evaluate_model.py
98miranil/DeepLearning_Solver
daa46d5ddb8fc4e82e19cfc6a85903113232250b
[ "MIT" ]
null
null
null
lib/evaluate_model.py
98miranil/DeepLearning_Solver
daa46d5ddb8fc4e82e19cfc6a85903113232250b
[ "MIT" ]
null
null
null
#EVALUATION OF THE MODEL def evaluate_model(model, X_test, y_test): _, score = model.evaluate(X_test, y_test, verbose = 0) print(score) def predict_model(model, X): y = model.predict(X) print(y) def predict_class_model(model, X): y = model.predict_classes(X) print(y)
22.615385
58
0.683673
47
294
4.06383
0.340426
0.157068
0.172775
0.104712
0.251309
0.251309
0
0
0
0
0
0.004219
0.193878
294
13
59
22.615385
0.801688
0.078231
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
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
ea9c40daca1d184d55dae841a561201ffcc3fea5
275
py
Python
eyecite/__init__.py
pombredanne/eyecite
086b0cbbdf87f2e2dfc816822a5a081789292639
[ "BSD-2-Clause" ]
null
null
null
eyecite/__init__.py
pombredanne/eyecite
086b0cbbdf87f2e2dfc816822a5a081789292639
[ "BSD-2-Clause" ]
null
null
null
eyecite/__init__.py
pombredanne/eyecite
086b0cbbdf87f2e2dfc816822a5a081789292639
[ "BSD-2-Clause" ]
null
null
null
from .annotate import annotate from .find_citations import get_citations from .resolve import resolve_citations from .utils import clean_text, dump_citations __all__ = [ "annotate", "get_citations", "clean_text", "resolve_citations", "dump_citations", ]
21.153846
45
0.745455
32
275
6
0.375
0.125
0
0
0
0
0
0
0
0
0
0
0.170909
275
12
46
22.916667
0.842105
0
0
0
0
0
0.225455
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
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
ea9c488c75bac8dcb42ad6b661d0afeebafe9b1b
625
py
Python
app/migrations/0002_auto_20200803_1017.py
raptor419/SIH2020_AN314_AMRTrack
8bbdfce967ff8f52a6ee2aae5664047ce953d8a8
[ "MIT" ]
null
null
null
app/migrations/0002_auto_20200803_1017.py
raptor419/SIH2020_AN314_AMRTrack
8bbdfce967ff8f52a6ee2aae5664047ce953d8a8
[ "MIT" ]
null
null
null
app/migrations/0002_auto_20200803_1017.py
raptor419/SIH2020_AN314_AMRTrack
8bbdfce967ff8f52a6ee2aae5664047ce953d8a8
[ "MIT" ]
null
null
null
# Generated by Django 2.1.1 on 2020-08-03 04:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AddField( model_name='pathtest', name='district', fie...
24.038462
64
0.5744
63
625
5.587302
0.603175
0.102273
0.130682
0.153409
0.573864
0.573864
0.352273
0.352273
0.352273
0.352273
0
0.053613
0.3136
625
25
65
25
0.7669
0.072
0
0.526316
1
0
0.076125
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
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
576124794c067e8fb04e3af84105e7ce95e1ecca
17,565
py
Python
resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
36.36646
80
0.611785
2,106
17,565
4.970085
0.107312
0.080252
0.021974
0.035731
0.745295
0.725996
0.692653
0.635808
0.587848
0.556415
0
0.005922
0.307828
17,565
482
81
36.441909
0.854993
0.405465
0
0.534759
0
0
0.17077
0.002361
0
0
0
0
0
1
0.101604
false
0.005348
0.02139
0
0.262032
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5762d8ebf56f98fde1880601c5218b7fa4812140
772
py
Python
examples/password_git.py
qualichat/questionary
d13e7e534d355810b27770a6dc672f9bc1b4e6de
[ "MIT" ]
851
2018-12-10T10:32:50.000Z
2022-03-29T10:21:00.000Z
examples/password_git.py
qualichat/questionary
d13e7e534d355810b27770a6dc672f9bc1b4e6de
[ "MIT" ]
150
2019-01-08T14:08:34.000Z
2022-03-23T09:10:17.000Z
examples/password_git.py
qualichat/questionary
d13e7e534d355810b27770a6dc672f9bc1b4e6de
[ "MIT" ]
68
2019-01-08T13:58:18.000Z
2022-01-26T06:57:54.000Z
# -*- coding: utf-8 -*- """Example for a password question type. Run example by typing `python -m examples.password` in your console.""" from pprint import pprint import questionary from examples import custom_style_dope from questionary import Separator, Choice, prompt def ask_pystyle(**kwargs): # create the q...
24.125
86
0.694301
95
772
5.463158
0.494737
0.063584
0.086705
0.077071
0.100193
0
0
0
0
0
0
0.001605
0.193005
772
31
87
24.903226
0.831461
0.242228
0
0
0
0
0.147314
0
0
0
0
0
0
1
0.125
false
0.1875
0.25
0
0.5
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5765308593beccdadbf07313be3b165767ed85ac
1,040
py
Python
Stack/402. Remove K Digits.py
Into-Y0u/Github-Baby
5e4e6b02f49c2c99533289be9d49911006cad919
[ "MIT" ]
2
2022-01-25T04:30:26.000Z
2022-01-25T10:36:15.000Z
Stack/402. Remove K Digits.py
Into-Y0u/Leetcode-Baby
681ad4df01ee908f76d888aa4ccc10f04c03c56f
[ "MIT" ]
null
null
null
Stack/402. Remove K Digits.py
Into-Y0u/Leetcode-Baby
681ad4df01ee908f76d888aa4ccc10f04c03c56f
[ "MIT" ]
null
null
null
class Solution: def removeKdigits(self, num: str, k: int) -> str: if len(num) == 0 and len(num) <= k : return "0" st = [num[0]] i = 1 while i < len(num): while len(st) > 0 and int(st[-1]) > int(num[i]) and k > 0: st.pop() ...
23.636364
70
0.363462
128
1,040
2.953125
0.242188
0.042328
0.047619
0.153439
0.365079
0.291005
0.243386
0.243386
0.243386
0.243386
0
0.042718
0.504808
1,040
43
71
24.186047
0.691262
0.013462
0
0.354839
0
0
0.004878
0
0
0
0
0
0
1
0.064516
false
0
0
0
0.258065
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
57691ec7cb580411c045fc4972b65548775df825
3,755
py
Python
configlib/conftypes.py
ddorn/pyconfiglib
3ad01d0bb9344e18719d82a5928b4d8e5fe726ac
[ "MIT" ]
1
2017-10-17T14:20:32.000Z
2017-10-17T14:20:32.000Z
configlib/conftypes.py
ddorn/configlib
3ad01d0bb9344e18719d82a5928b4d8e5fe726ac
[ "MIT" ]
5
2019-02-05T07:54:06.000Z
2019-02-09T01:23:10.000Z
configlib/conftypes.py
ddorn/configlib
3ad01d0bb9344e18719d82a5928b4d8e5fe726ac
[ "MIT" ]
1
2019-02-05T21:13:14.000Z
2019-02-05T21:13:14.000Z
import json import click from typing import TYPE_CHECKING if TYPE_CHECKING: import configlib def is_valid(instance, type_): if isinstance(type_, ConfigType): return type_.is_valid(instance) return isinstance(instance, type_) class ConfigType(click.ParamType): name = 'any' def __repr_...
24.86755
84
0.576298
463
3,755
4.542117
0.265659
0.059914
0.028531
0.033286
0.225868
0.161674
0.135045
0.135045
0.097004
0.055159
0
0.009831
0.32277
3,755
150
85
25.033333
0.817145
0.156858
0
0.311111
0
0
0.04362
0
0
0
0
0
0
1
0.211111
false
0.022222
0.044444
0.1
0.566667
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
576ddaa70e860148dea9f3957310cd2a0f1b0ab8
2,676
py
Python
biosys/apps/main/api/urls.py
parksandwildlife/biosys
0682cf1b4055e7cae59fb53045fa441af6d48f5e
[ "Apache-2.0" ]
2
2018-04-09T04:02:30.000Z
2019-08-20T03:12:55.000Z
biosys/apps/main/api/urls.py
parksandwildlife/biosys
0682cf1b4055e7cae59fb53045fa441af6d48f5e
[ "Apache-2.0" ]
29
2016-01-20T08:14:15.000Z
2017-07-13T07:17:32.000Z
biosys/apps/main/api/urls.py
parksandwildlife/biosys
0682cf1b4055e7cae59fb53045fa441af6d48f5e
[ "Apache-2.0" ]
5
2016-01-14T23:02:36.000Z
2016-09-21T05:35:03.000Z
from __future__ import absolute_import, unicode_literals, print_function, division from django.conf.urls import url from rest_framework import routers from rest_framework.authtoken.views import obtain_auth_token from djoser import views as djoser_views from main.api import views as api_views router = routers.Default...
44.6
116
0.704036
348
2,676
5.255747
0.258621
0.091853
0.06561
0.02187
0.109349
0.084199
0.049207
0.049207
0.049207
0.049207
0
0
0.124813
2,676
59
117
45.355932
0.780956
0.020927
0
0.117647
0
0
0.264627
0.111281
0
0
0
0
0
1
0
false
0.137255
0.117647
0
0.117647
0.019608
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
57709a9040b06e2eac007c2729eb4397ae031e06
167
py
Python
Python Fundamentals/Regular Expressions/Lab/Task01_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
1
2022-03-16T10:23:04.000Z
2022-03-16T10:23:04.000Z
Python Fundamentals/Regular Expressions/Lab/Task01_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
Python Fundamentals/Regular Expressions/Lab/Task01_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
import re data = input() pattern = r"\b([A-Z][a-z]+)\s([A-Z][a-z]+)\b" matches = re.finditer(pattern, data) for match in matches: print(match.group(), end=" ")
16.7
45
0.592814
30
167
3.3
0.6
0.080808
0.060606
0.080808
0
0
0
0
0
0
0
0
0.155689
167
9
46
18.555556
0.702128
0
0
0
0
0.166667
0.197605
0.191617
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
5770c7aa1672fe4ac866c31f28b531f4b2e7acee
305
py
Python
kindeditor/__version__.py
waketzheng/django-kindeditor
cb390bbdf95d838adf863d0e8e1cb71ce3cfb5e3
[ "MIT" ]
4
2018-07-22T08:52:00.000Z
2019-04-30T01:48:10.000Z
kindeditor/__version__.py
waketzheng/django-kindeditor
cb390bbdf95d838adf863d0e8e1cb71ce3cfb5e3
[ "MIT" ]
1
2018-12-04T10:09:25.000Z
2019-01-02T12:46:20.000Z
kindeditor/__version__.py
waketzheng/django-kindeditor
cb390bbdf95d838adf863d0e8e1cb71ce3cfb5e3
[ "MIT" ]
null
null
null
__title__ = "django-kindeditor" __description__ = "Django admin KindEditor integration." __url__ = "https://github.com/waketzheng/django-kindeditor" __version__ = "0.3.0" __author__ = "Waket Zheng" __author_email__ = "waketzheng@gmail.com" __license__ = "MIT" __copyright__ = "Copyright 2019 Waket Zheng"
33.888889
59
0.777049
34
305
6
0.676471
0.156863
0
0
0
0
0
0
0
0
0
0.025547
0.101639
305
8
60
38.125
0.718978
0
0
0
0
0
0.540984
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
57769ce4e10b49505e945abd6f8c24c25e314e00
427
py
Python
src/image_processor/bounding_box.py
salieri/2d-enhance
9ec2f3c63161d44ce0b25540eccf26e2c5cdccf0
[ "MIT" ]
null
null
null
src/image_processor/bounding_box.py
salieri/2d-enhance
9ec2f3c63161d44ce0b25540eccf26e2c5cdccf0
[ "MIT" ]
3
2021-06-08T20:14:32.000Z
2022-03-11T23:56:59.000Z
src/image_processor/bounding_box.py
salieri/2d-enhance
9ec2f3c63161d44ce0b25540eccf26e2c5cdccf0
[ "MIT" ]
null
null
null
class BoundingBox: x: int y: int x2: int y2: int cx: int cy: int width: int height: int def __init__(self, x: int, y: int, width: int, height: int): self.x = x self.y = y self.width = width self.height = height self.x2 = x + width - 1 ...
18.565217
64
0.484778
63
427
3.222222
0.269841
0.039409
0.049261
0.078818
0.197044
0
0
0
0
0
0
0.031373
0.40281
427
22
65
19.409091
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
577a7ecc6fb7ec7d62eb88354398f557b13d1f23
5,726
py
Python
src/Statistics_TechIndicators/CalcTechIndictors.py
zmcx16/AxisTradeCult
e2f86fb1a68e6c0748eaff56e14056438e7b886b
[ "MIT" ]
35
2018-01-06T23:55:32.000Z
2022-01-14T03:21:04.000Z
src/Statistics_TechIndicators/CalcTechIndictors.py
zmcx16/AxisTradeCult
e2f86fb1a68e6c0748eaff56e14056438e7b886b
[ "MIT" ]
1
2019-07-09T20:17:58.000Z
2019-09-17T03:39:13.000Z
src/Statistics_TechIndicators/CalcTechIndictors.py
zmcx16/AxisTradeCult
e2f86fb1a68e6c0748eaff56e14056438e7b886b
[ "MIT" ]
10
2018-03-23T10:16:25.000Z
2021-12-09T22:45:34.000Z
import pandas import numpy def GetRollingMean(values, window): return pandas.Series.rolling(values, window = window, center = False).mean() def GetRollingStd(values, window): return pandas.Series.rolling(values, window = window, center = False).std() def GetRollingMax(values, window): return pandas.Seri...
34.493976
107
0.653336
813
5,726
4.466175
0.183272
0.087855
0.046544
0.068025
0.453043
0.395759
0.331865
0.272928
0.238226
0.211787
0
0.021546
0.213762
5,726
165
108
34.70303
0.784984
0.026022
0
0.080357
0
0
0.001809
0
0
0
0
0
0
1
0.214286
false
0
0.017857
0.098214
0.4375
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
577c904d4f6eaa25f8a3cba3e455cf9be2379585
1,957
py
Python
mysql_dbcon.py
uniaim-event-team/pullre-kun
60ee86c399d34254c82974a5debcdcb7d332f2a1
[ "MIT" ]
3
2020-03-24T08:06:37.000Z
2020-03-29T08:53:55.000Z
mysql_dbcon.py
uniaim-event-team/pullre-kun
60ee86c399d34254c82974a5debcdcb7d332f2a1
[ "MIT" ]
7
2020-03-23T12:36:01.000Z
2020-04-11T08:14:06.000Z
mysql_dbcon.py
uniaim-event-team/pullre-kun
60ee86c399d34254c82974a5debcdcb7d332f2a1
[ "MIT" ]
null
null
null
import codecs from typing import Optional from sqlalchemy.engine import create_engine from config import webapp_settings from model import Session codecs.register( lambda name: codecs.lookup('utf8') if name == 'utf8mb4' else None) class ConnectionPooling(object): def __init__(self, **params): self....
29.208955
119
0.623403
232
1,957
4.99569
0.362069
0.034513
0.069025
0.036238
0.043141
0
0
0
0
0
0
0.007774
0.276955
1,957
66
120
29.651515
0.811307
0.052121
0
0
0
0
0.024472
0
0
0
0
0.015152
0
1
0.119048
false
0
0.119048
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
57867b059f3a9ed8099f1e2db037e37cd5b95323
11,644
py
Python
peaksIdentification/peacks_testannotated.py
andreagia/peaks-identification
ddcc3523f9a1154f6c2f69035dde1bfb9eac0f2a
[ "MIT" ]
null
null
null
peaksIdentification/peacks_testannotated.py
andreagia/peaks-identification
ddcc3523f9a1154f6c2f69035dde1bfb9eac0f2a
[ "MIT" ]
null
null
null
peaksIdentification/peacks_testannotated.py
andreagia/peaks-identification
ddcc3523f9a1154f6c2f69035dde1bfb9eac0f2a
[ "MIT" ]
null
null
null
import numpy as np import sys import re import plotly.express as px import pandas as pd import plotly.graph_objects as go # from peaksIdentification.peaks_assignement import generate_data, reassign_peaks from core.peak_manager_V2 import PeakManager, Spectra class TestAnnotated: def __init__(self, path="./data/Ann...
35.827692
128
0.434301
1,264
11,644
3.943038
0.203323
0.013042
0.016854
0.019663
0.381822
0.339085
0.321027
0.307785
0.294944
0.264446
0
0.050459
0.400893
11,644
324
129
35.938272
0.663991
0.109155
0
0.395745
1
0.004255
0.064693
0.014017
0
0
0
0
0
1
0.051064
false
0
0.029787
0.008511
0.119149
0.06383
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
5789c074039f75d5fe97ba8ae46115e3f998ce46
870
py
Python
todo/migrations/0012_filer_file_20201217_1211.py
paiuolo/django-todo
17d35460b6dfa8c5a45a9eeafbec262233f1586d
[ "BSD-3-Clause" ]
null
null
null
todo/migrations/0012_filer_file_20201217_1211.py
paiuolo/django-todo
17d35460b6dfa8c5a45a9eeafbec262233f1586d
[ "BSD-3-Clause" ]
null
null
null
todo/migrations/0012_filer_file_20201217_1211.py
paiuolo/django-todo
17d35460b6dfa8c5a45a9eeafbec262233f1586d
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.16 on 2020-12-17 12:11 from django.db import migrations, models import django.db.models.deletion import filer.fields.file import todo.models import todo.storage class Migration(migrations.Migration): dependencies = [ ('filer', '0012_file_mime_type'), ('todo', '0011_auto...
30
149
0.663218
102
870
5.5
0.519608
0.042781
0.049911
0.078431
0
0
0
0
0
0
0
0.057437
0.21954
870
28
150
31.071429
0.768778
0.052874
0
0.181818
1
0
0.115572
0.027981
0
0
0
0
0
1
0
false
0
0.227273
0
0.363636
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
578fb6f86307738c8ad37e4a9c0fcbfaaf37cffd
682
py
Python
Python/binary_search.py
cavigna/Sort_Order
10356526b8aa18b3999ab49be327b28e49f4f0fc
[ "MIT" ]
null
null
null
Python/binary_search.py
cavigna/Sort_Order
10356526b8aa18b3999ab49be327b28e49f4f0fc
[ "MIT" ]
null
null
null
Python/binary_search.py
cavigna/Sort_Order
10356526b8aa18b3999ab49be327b28e49f4f0fc
[ "MIT" ]
null
null
null
def binary_search(array: list, valor_buscado, inicio=0, fin=None): if fin == None: fin = len(array)-1 if inicio > fin: return f"No se encontró el valor: {valor_buscado}" medio = (inicio + fin)//2 if valor_buscado == array[medio]: return f"El valor {valor_buscado} está ...
31
68
0.633431
100
682
4.2
0.33
0.2
0.202381
0.066667
0.385714
0.295238
0
0
0
0
0
0.039216
0.252199
682
21
69
32.47619
0.784314
0.076246
0
0
0
0
0.145215
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.357143
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
57988bcf67d7b766f3607b5e9508e86e85ca473e
5,306
py
Python
test/test_coverage_wrapper.py
vasili-v/distcovery
e07882d55ebe2e4fd78a720764803e6b3e8cbc7d
[ "MIT" ]
null
null
null
test/test_coverage_wrapper.py
vasili-v/distcovery
e07882d55ebe2e4fd78a720764803e6b3e8cbc7d
[ "MIT" ]
null
null
null
test/test_coverage_wrapper.py
vasili-v/distcovery
e07882d55ebe2e4fd78a720764803e6b3e8cbc7d
[ "MIT" ]
null
null
null
import unittest import sys import StringIO import __builtin__ import os from distutils import log # Reload module to run its global section under coverage supervision import distcovery.coverage_wrapper reload(distcovery.coverage_wrapper) from distcovery.coverage_wrapper import _DummyCoverage, Coverage, \ ...
32.157576
75
0.61798
540
5,306
5.67963
0.164815
0.070427
0.068145
0.061624
0.442778
0.380176
0.304532
0.273883
0.228562
0.194001
0
0.00336
0.270825
5,306
164
76
32.353659
0.789351
0.012439
0
0.247934
0
0
0.032461
0
0
0
0
0
0.165289
0
null
null
0
0.165289
null
null
0.008264
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
5799372ef34657569148865107ab982211044e11
1,345
py
Python
intent/judge_intent.py
ricosr/travel_consult_chatbot
cb258d65672ae1d8e2035ed0d7c0703e9d77eae9
[ "MIT" ]
null
null
null
intent/judge_intent.py
ricosr/travel_consult_chatbot
cb258d65672ae1d8e2035ed0d7c0703e9d77eae9
[ "MIT" ]
4
2020-01-28T23:02:29.000Z
2022-02-10T00:46:45.000Z
intent/judge_intent.py
ricosr/travel_consult_chatbot
cb258d65672ae1d8e2035ed0d7c0703e9d77eae9
[ "MIT" ]
1
2019-10-10T04:15:24.000Z
2019-10-10T04:15:24.000Z
# -*- coding: utf-8 -*- from rasa.nlu.model import Interpreter from intent.intent_temrs import intent_terms_dict class Intent: def __init__(self, model_name='models1'): self.interpreter = Interpreter.load("intent/{}/nlu".format(model_name)) self.threshold = 0.7 # TODO: need to test def ge...
38.428571
84
0.605204
155
1,345
5.045161
0.316129
0.102302
0.11509
0.092072
0.388747
0.388747
0.388747
0.388747
0.388747
0.278772
0
0.005225
0.288476
1,345
34
85
39.558824
0.811912
0.02974
0
0.37037
0
0
0.119139
0
0
0
0
0.029412
0
1
0.074074
false
0
0.074074
0
0.296296
0.037037
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
57ad5aa5d9dfbd44f4e5694c5b8e9a1f4774bcbe
1,727
py
Python
_archive/reference/pi_server.py
ranstotz/surveillance_system
feb178842862da99f2fc2145f430771edc246908
[ "MIT" ]
null
null
null
_archive/reference/pi_server.py
ranstotz/surveillance_system
feb178842862da99f2fc2145f430771edc246908
[ "MIT" ]
null
null
null
_archive/reference/pi_server.py
ranstotz/surveillance_system
feb178842862da99f2fc2145f430771edc246908
[ "MIT" ]
null
null
null
import cv2 import numpy as np import zmq import base64 import time class serverViewer(object): def __init__(self, ip, port): self.ip = ip self.port = port self.footage_socket = "" print "Initiallizing context and socket." self.context = zmq.Context() self.fo...
31.4
76
0.537348
174
1,727
5.247126
0.425287
0.072289
0.11172
0.046002
0.247536
0.247536
0.177437
0.177437
0.177437
0.177437
0
0.023831
0.368269
1,727
54
77
31.981481
0.813016
0.02432
0
0.232558
0
0
0.108734
0
0
0
0
0
0
0
null
null
0.023256
0.116279
null
null
0.116279
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
57ad9f90e18d5257a475648547fcbb9c9638472a
1,626
py
Python
questions/scripts/seed_questions_v1.py
nyctophiliacme/edtech-backend
71f65b379d03d04fad1ea2b1a16a5a3be9bdd938
[ "MIT" ]
null
null
null
questions/scripts/seed_questions_v1.py
nyctophiliacme/edtech-backend
71f65b379d03d04fad1ea2b1a16a5a3be9bdd938
[ "MIT" ]
null
null
null
questions/scripts/seed_questions_v1.py
nyctophiliacme/edtech-backend
71f65b379d03d04fad1ea2b1a16a5a3be9bdd938
[ "MIT" ]
null
null
null
import csv import django import os import sys sys.path.append("/home/ubuntu/edtech-backend") os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'superteacher.settings') django.setup() from questions.views import QuestionPostView file_path = '/home/ubuntu/edtech-backend/questions/questions_csvs/' + sys.argv[1] row_numbe...
41.692308
81
0.674662
201
1,626
5.049751
0.318408
0.22069
0.13399
0.074877
0.193103
0
0
0
0
0
0
0.017829
0.206642
1,626
38
82
42.789474
0.768992
0
0
0
0
0
0.432349
0.208487
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.028571
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
57ae11587b53785dc5f4858748096dd4e14d131a
2,339
py
Python
cursos_complementarios/estructuras_datos_lineales_python/modulo_II_arrays/utils/array.py
EdinsonRequena/articicial-inteligence-and-data-science
953566220e64cbd8f732c2667b818da807bb54c0
[ "MIT" ]
30
2020-06-19T16:21:04.000Z
2022-02-19T01:48:39.000Z
cursos_complementarios/estructuras_datos_lineales_python/modulo_II_arrays/utils/array.py
Samsuesca/articicial-inteligence-and-data-science
953566220e64cbd8f732c2667b818da807bb54c0
[ "MIT" ]
87
2021-02-12T04:42:13.000Z
2021-09-20T04:25:29.000Z
cursos_complementarios/estructuras_datos_lineales_python/modulo_II_arrays/utils/array.py
Samsuesca/articicial-inteligence-and-data-science
953566220e64cbd8f732c2667b818da807bb54c0
[ "MIT" ]
11
2020-08-13T04:04:01.000Z
2022-01-20T20:10:43.000Z
""" Tema: Arrays Curso: Estructura de Datos Lineales (Python). Plataforma: Platzi. Profesor: Hector Vega. Alumno: @edinsonrequena. """ class Array(object): """A simple array""" def __init__(self, capacity: int, fill_value=None) -> None: self.items = list() for i in range(capacity): ...
24.621053
87
0.525011
273
2,339
4.322344
0.369963
0.099153
0.020339
0.027966
0.118644
0.059322
0.059322
0.059322
0
0
0
0.003406
0.372381
2,339
94
88
24.882979
0.800409
0.243694
0
0.086957
0
0
0.018135
0
0
0
0
0
0
1
0.23913
false
0
0
0
0.456522
0.021739
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
57b5de228ec3a2c8ca4efcdc692b946f0e8ad963
956
py
Python
accounts/auth_backends.py
zeitcodes/django-accounts
5a253de83a95a9b13f739c4ed1562ea668fe770c
[ "BSD-3-Clause" ]
null
null
null
accounts/auth_backends.py
zeitcodes/django-accounts
5a253de83a95a9b13f739c4ed1562ea668fe770c
[ "BSD-3-Clause" ]
null
null
null
accounts/auth_backends.py
zeitcodes/django-accounts
5a253de83a95a9b13f739c4ed1562ea668fe770c
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth.backends import ModelBackend try: from django.contrib.auth import get_user_model except ImportError: from django.contrib.auth.models import User get_user_model = lambda: User import re email_re = re.compile( r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*" #...
32.965517
101
0.587866
117
956
4.709402
0.504274
0.054446
0.092559
0.114338
0
0
0
0
0
0
0
0.063257
0.222803
956
28
102
34.142857
0.678331
0.030335
0
0.090909
0
0.045455
0.192568
0.192568
0
0
0
0
0
1
0.045455
false
0.136364
0.227273
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
57b85c078ba58fe04eba3b0c728ffc1df4b55292
4,627
py
Python
solog/filmanza/gameplay.py
Namratasingh10/SoloG
c532869b1203d763eacfa9dfb389e854c50eeecb
[ "MIT" ]
1
2021-08-06T07:46:52.000Z
2021-08-06T07:46:52.000Z
solog/filmanza/gameplay.py
sidhu1012/SoloG
0994d636138684baca4597a53d6d4666a5c584e8
[ "MIT" ]
null
null
null
solog/filmanza/gameplay.py
sidhu1012/SoloG
0994d636138684baca4597a53d6d4666a5c584e8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import numpy as np import pandas as pd import random as rn import time from .game_over import game_over from .run import run score = 0 # Total score h = 3 # Total Help def question_number(l,n): j=rn.randint(0,n-1) if j in l: question_number(l,n) else: ...
24.225131
67
0.53901
638
4,627
3.802508
0.203762
0.066777
0.103875
0.027205
0.507832
0.483924
0.483924
0.483924
0.368508
0.368508
0
0.015592
0.293062
4,627
190
68
24.352632
0.726078
0
0
0.416667
0
0
0.134122
0.058469
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.198718
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
57bd3b1b1b444db5aacb21edd429ff8e2d4238a7
851
py
Python
config_state/serializers/_pickle.py
nicolaspi/config-state
bbf99c7084b88a4a491f7de3fcf27eeb619c7036
[ "Apache-2.0" ]
2
2021-08-23T10:01:16.000Z
2021-10-13T02:27:28.000Z
config_state/serializers/_pickle.py
nicolaspi/config-state
bbf99c7084b88a4a491f7de3fcf27eeb619c7036
[ "Apache-2.0" ]
null
null
null
config_state/serializers/_pickle.py
nicolaspi/config-state
bbf99c7084b88a4a491f7de3fcf27eeb619c7036
[ "Apache-2.0" ]
null
null
null
import pickle from typing import IO from config_state import ConfigField from config_state import register from config_state.config_state import ObjectState from config_state.serializers.serializer import Serializer @register class Pickle(Serializer): is_binary: bool = ConfigField(True, ...
31.518519
74
0.686251
97
851
5.793814
0.371134
0.097865
0.106762
0.074733
0
0
0
0
0
0
0
0
0.236193
851
26
75
32.730769
0.864615
0
0
0
0
0
0.06698
0
0
0
0
0
0
1
0.15
false
0
0.3
0
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
57c18c909ea7d820cb16d9d038a16825be396c42
384
py
Python
helpers/os_methods.py
finnurtorfa/aflafrettir.is
f5d973f567434286ed28017bf88b4e043c19d853
[ "MIT" ]
null
null
null
helpers/os_methods.py
finnurtorfa/aflafrettir.is
f5d973f567434286ed28017bf88b4e043c19d853
[ "MIT" ]
11
2015-01-03T14:50:22.000Z
2015-06-01T17:04:42.000Z
helpers/os_methods.py
finnurtorfa/aflafrettir.is
f5d973f567434286ed28017bf88b4e043c19d853
[ "MIT" ]
null
null
null
from os import walk, remove def get_all_files(directory): """ Method for listing files within a directory """ f = [] for (_, _, filenames) in walk(directory): f.extend(filenames) return f def remove_file(filename, directory): """ Method for removing a file within a directory """ try: remove(d...
20.210526
51
0.674479
48
384
5.291667
0.5625
0.11811
0.141732
0
0
0
0
0
0
0
0
0
0.216146
384
18
52
21.333333
0.843854
0.239583
0
0
0
0
0.003623
0
0
0
0
0
0
1
0.181818
false
0.090909
0.090909
0
0.363636
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
57c4803d16a2563294bbec34891760426960caa0
827
py
Python
ejemplo-mqtt-viewer.py
Marcombo/cursio_IoT
d38b58ed9be87bcfc267623abce4ad16fad2f8ed
[ "MIT" ]
null
null
null
ejemplo-mqtt-viewer.py
Marcombo/cursio_IoT
d38b58ed9be87bcfc267623abce4ad16fad2f8ed
[ "MIT" ]
null
null
null
ejemplo-mqtt-viewer.py
Marcombo/cursio_IoT
d38b58ed9be87bcfc267623abce4ad16fad2f8ed
[ "MIT" ]
null
null
null
import paho.mqtt.client as mqtt import time def on_message(client,userdata,message): data = str(message.payload.decode("utf-8")) topic = str(message.topic) print(topic,data) broker_user = "xxxx" broker_password = "xxxx" broker_address = "xxxx" broker_port = 1883 broker_topic = "xxxx" #print("creating new instance...
23.628571
70
0.778718
111
827
5.648649
0.486486
0.043062
0.066986
0
0
0
0
0
0
0
0
0.00813
0.107618
827
34
71
24.323529
0.841463
0.182588
0
0
0
0
0.050746
0
0
0
0
0
0
1
0.041667
false
0.083333
0.083333
0
0.125
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
57c4b7d08206233fb0e0eb1adb79e732d9b22739
5,507
py
Python
heat_integration.py
glluk/ci-tests
9ab3663e098bfeb9bd4140ff069bd8a3b7e74089
[ "Apache-2.0" ]
null
null
null
heat_integration.py
glluk/ci-tests
9ab3663e098bfeb9bd4140ff069bd8a3b7e74089
[ "Apache-2.0" ]
null
null
null
heat_integration.py
glluk/ci-tests
9ab3663e098bfeb9bd4140ff069bd8a3b7e74089
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
38.78169
94
0.591611
645
5,507
4.927132
0.384496
0.013216
0.020138
0.008496
0.099119
0.072058
0.072058
0.051919
0.045312
0.045312
0
0.013691
0.310332
5,507
141
95
39.056738
0.823065
0.19793
0
0.047619
0
0.011905
0.126431
0.021155
0
0
0.002489
0
0.059524
0
null
null
0.02381
0.119048
null
null
0.02381
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
57c938dd48ba3419df2548426505801663ebb272
593
py
Python
TodoApp/todos/urls.py
ExeExzo/Django-ToDo
143a9505baad44254b681096a1cc98f98c99e40a
[ "MIT" ]
null
null
null
TodoApp/todos/urls.py
ExeExzo/Django-ToDo
143a9505baad44254b681096a1cc98f98c99e40a
[ "MIT" ]
null
null
null
TodoApp/todos/urls.py
ExeExzo/Django-ToDo
143a9505baad44254b681096a1cc98f98c99e40a
[ "MIT" ]
null
null
null
from django.urls import path from . import views from .views import CustomLoginView, RegisterPage from django.contrib.auth.views import LogoutView urlpatterns = [ path('login/', CustomLoginView.as_view(),name='login'), path('logout/', LogoutView.as_view(next_page='login'),name='logout'), path('regi...
42.357143
88
0.720067
78
593
5.25641
0.358974
0.078049
0.04878
0
0
0
0
0
0
0
0
0
0.11973
593
14
89
42.357143
0.785441
0
0
0
0
0
0.216867
0.04475
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
57cba83b2421ff8c63a36deb5f0fe8570da9917e
1,375
py
Python
bazaar/__init__.py
ronbeltran/bazaar
8f2d69ba2d5a5bf5531e7af7c0a64bf98b152aa8
[ "MIT" ]
2
2019-01-09T10:12:34.000Z
2020-09-08T21:52:38.000Z
bazaar/__init__.py
ronbeltran/bazaar
8f2d69ba2d5a5bf5531e7af7c0a64bf98b152aa8
[ "MIT" ]
null
null
null
bazaar/__init__.py
ronbeltran/bazaar
8f2d69ba2d5a5bf5531e7af7c0a64bf98b152aa8
[ "MIT" ]
1
2020-09-08T21:52:40.000Z
2020-09-08T21:52:40.000Z
import os try: from secrets import choice # >= python3.6 except ImportError: from random import choice # < python3.6 BASE_DIR = os.path.join(os.path.dirname(__file__)) WORDS_DIR = os.path.join(BASE_DIR, 'words') class Bazaar(object): def __init__(self): self.item = self.get_item("items.txt") ...
25.943396
76
0.600727
184
1,375
4.326087
0.293478
0.113065
0.105528
0.060302
0.062814
0.062814
0
0
0
0
0
0.011834
0.262545
1,375
52
77
26.442308
0.773176
0.017455
0
0.15
0
0
0.04451
0
0
0
0
0
0
1
0.2
false
0
0.1
0.15
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1