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
833466525d85e308dab1da827bf31325dfe6bfda
492
py
Python
test.py
HeraldStudio/APN_py
ae94b315ec59a47ee7113aac97882fb3c93694a7
[ "Apache-2.0" ]
null
null
null
test.py
HeraldStudio/APN_py
ae94b315ec59a47ee7113aac97882fb3c93694a7
[ "Apache-2.0" ]
null
null
null
test.py
HeraldStudio/APN_py
ae94b315ec59a47ee7113aac97882fb3c93694a7
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from apns import APNs, Frame, Payload apns = APNs(use_sandbox=False, cert_file='certificate/cert-pro.pem', key_file='certificate/key-pro.pem') # Send a notification token_hex = '61f74892c732c195016de2e4fe4029bfbd09298458fc77c8ec1f507b96fb4fe0' content = u"测试推送一下" def send_push(): payload...
24.6
78
0.75813
64
492
5.6875
0.640625
0.082418
0.10989
0
0
0
0
0
0
0
0
0.099078
0.117886
492
20
79
24.6
0.739631
0.081301
0
0
0
0
0.275556
0.246667
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
833559566bd886a280b1bbe6901398870f192844
818
py
Python
cbexplorer/types/Array.py
ambitus/cbexplorer
8bb50efce9f81e29ad96c5c1bd49e3d3e95cc97e
[ "Apache-2.0" ]
1
2021-12-07T10:09:44.000Z
2021-12-07T10:09:44.000Z
cbexplorer/types/Array.py
ambitus/cbexplorer
8bb50efce9f81e29ad96c5c1bd49e3d3e95cc97e
[ "Apache-2.0" ]
1
2021-12-20T22:03:05.000Z
2021-12-20T22:03:05.000Z
cbexplorer/types/Array.py
ambitus/cbexplorer
8bb50efce9f81e29ad96c5c1bd49e3d3e95cc97e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2020- IBM Inc. All rights reserved # SPDX-License-Identifier: Apache2.0 # """ """ class Array: array_length = 0 array_element_size = 0 base_element = None def __init__(self, array_length, base_element, array_element_size): self.ba...
24.058824
75
0.638142
102
818
4.754902
0.45098
0.181443
0.164948
0.078351
0
0
0
0
0
0
0
0.016639
0.265281
818
33
76
24.787879
0.790349
0.224939
0
0
0
0
0
0
0
0
0
0.030303
0
1
0.125
false
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
1
8335ec8b02506905243a48bab56855a4bd554dcf
341
py
Python
intermediary_v2/urls.py
uadson/drf-studies
ef88c1a2123a6503cb74cfa3dfe9477fc54d7463
[ "MIT" ]
null
null
null
intermediary_v2/urls.py
uadson/drf-studies
ef88c1a2123a6503cb74cfa3dfe9477fc54d7463
[ "MIT" ]
null
null
null
intermediary_v2/urls.py
uadson/drf-studies
ef88c1a2123a6503cb74cfa3dfe9477fc54d7463
[ "MIT" ]
null
null
null
from django.urls import path from rest_framework.routers import SimpleRouter from .views.courses import CourseViewSet from .views.exams import ExamViewSet app_name = 'intermediary_v2' router = SimpleRouter() router.register('courses', CourseViewSet) router.register('exams', ExamViewSet) urlpatterns = [ # Co...
15.5
47
0.765396
38
341
6.789474
0.552632
0.069767
0
0
0
0
0
0
0
0
0
0.003448
0.14956
341
21
48
16.238095
0.886207
0.038123
0
0
0
0
0.083077
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
833807f0fe92b0344fe0bf2890e864d1d56d5eec
5,701
py
Python
gonzo/scripts/launch.py
flug/gonzo
0f2eb189581e7833a9dec8dafa52ba8ca1765afa
[ "Apache-2.0" ]
8
2015-01-14T10:29:41.000Z
2016-02-07T16:59:20.000Z
gonzo/scripts/launch.py
flug/gonzo
0f2eb189581e7833a9dec8dafa52ba8ca1765afa
[ "Apache-2.0" ]
7
2015-01-14T10:29:22.000Z
2018-10-01T13:00:52.000Z
gonzo/scripts/launch.py
flug/gonzo
0f2eb189581e7833a9dec8dafa52ba8ca1765afa
[ "Apache-2.0" ]
2
2015-01-14T10:31:39.000Z
2018-10-01T12:56:06.000Z
#!/usr/bin/env python """ Launch instances """ from functools import partial import logging import os import sys from time import sleep from gonzo.helpers.document_loader import get_parsed_document from gonzo.clouds import get_current_cloud from gonzo.clouds.dns import DNS from gonzo.config import config_proxy from g...
30.164021
79
0.660235
737
5,701
4.877883
0.255088
0.055633
0.052017
0.029207
0.078999
0.042281
0.024478
0.024478
0.024478
0.024478
0
0.001592
0.228907
5,701
188
80
30.324468
0.816197
0.032275
0
0.153846
0
0
0.281239
0.026383
0
0
0
0
0
0
null
null
0.006993
0.083916
null
null
0.013986
0
0
0
null
0
0
0
0
0
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
833d6ec195bb38998d162f81141a75e396d8dd60
3,391
py
Python
Calibration/TkAlCaRecoProducers/python/ALCARECOSiStripCalCosmicsNano_cff.py
menglu21/cmssw
c3d6cb102c0aaddf652805743370c28044d53da6
[ "Apache-2.0" ]
null
null
null
Calibration/TkAlCaRecoProducers/python/ALCARECOSiStripCalCosmicsNano_cff.py
menglu21/cmssw
c3d6cb102c0aaddf652805743370c28044d53da6
[ "Apache-2.0" ]
null
null
null
Calibration/TkAlCaRecoProducers/python/ALCARECOSiStripCalCosmicsNano_cff.py
menglu21/cmssw
c3d6cb102c0aaddf652805743370c28044d53da6
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms from Calibration.TkAlCaRecoProducers.ALCARECOSiStripCalCosmics_cff import ALCARECOSiStripCalCosmics from CalibTracker.SiStripCommon.prescaleEvent_cfi import prescaleEvent from HLTrigger.HLTfilters.triggerResultsFilter_cfi import triggerResultsFilter ALCARECOSiStripCalCosmicsNa...
45.213333
139
0.771749
250
3,391
10.416
0.472
0.025346
0.03341
0.033794
0
0
0
0
0
0
0
0.001733
0.149219
3,391
74
140
45.824324
0.900867
0.046299
0
0
0
0
0.100031
0.064107
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8340542a82b52dcce6b046c64e7c4553436ad782
892
py
Python
ghostpost_app/migrations/0001_initial.py
amandalynnes/ghostpost
804b87790cafdc0740f860820b667e0dbd99c1b8
[ "MIT" ]
null
null
null
ghostpost_app/migrations/0001_initial.py
amandalynnes/ghostpost
804b87790cafdc0740f860820b667e0dbd99c1b8
[ "MIT" ]
null
null
null
ghostpost_app/migrations/0001_initial.py
amandalynnes/ghostpost
804b87790cafdc0740f860820b667e0dbd99c1b8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-18 14:51 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='PostItem', ...
31.857143
126
0.587444
96
892
5.395833
0.625
0.015444
0.023166
0.100386
0
0
0
0
0
0
0
0.062595
0.265695
892
27
127
33.037037
0.728244
0.050448
0
0
1
0
0.069822
0
0
0
0
0
0
1
0
false
0
0.15
0
0.35
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
834096a696a45384e517dd5a88e131dde7915f8b
394
py
Python
setup.py
Autonomi/warehouse
19cf0f9b7b1824152ad7f9f78896ff01442b10e4
[ "MIT" ]
null
null
null
setup.py
Autonomi/warehouse
19cf0f9b7b1824152ad7f9f78896ff01442b10e4
[ "MIT" ]
null
null
null
setup.py
Autonomi/warehouse
19cf0f9b7b1824152ad7f9f78896ff01442b10e4
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='Warehouse', version='1.0', description='Autonomi Warehouse', author='Pragya Jaiswal', author_email='pragya.jswl@gmail.com', # Uncomment one or more lines below in the install_requires section # for the specific client drivers/modules your application ...
35.818182
74
0.705584
48
394
5.729167
0.833333
0.109091
0
0
0
0
0
0
0
0
0
0.006231
0.185279
394
10
75
39.4
0.850467
0.329949
0
0
0
0
0.342308
0.080769
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8340d9b5016cac8220f4f314af69019f3aa3c478
2,835
py
Python
kubuculum/os_commands/os_commands.py
manojtpillai/kubuculum
fff9617e766d11870d4556b5d7738f08d683b79c
[ "MIT" ]
3
2020-01-23T09:54:48.000Z
2022-03-11T11:31:37.000Z
kubuculum/os_commands/os_commands.py
manojtpillai/kubuculum
fff9617e766d11870d4556b5d7738f08d683b79c
[ "MIT" ]
1
2020-01-26T17:58:40.000Z
2020-08-08T14:46:22.000Z
kubuculum/os_commands/os_commands.py
manojtpillai/kubuculum
fff9617e766d11870d4556b5d7738f08d683b79c
[ "MIT" ]
3
2020-09-25T09:56:53.000Z
2021-04-30T05:57:05.000Z
import logging import os from kubuculum import util_functions from kubuculum import k8s_wrappers logger = logging.getLogger (__name__) class os_commands: instance_counter = 0 def __init__ (self, run_dir, params_dict, globals): # get directory pathname for module self.dirpath = os.path.dirn...
35
77
0.638801
361
2,835
4.811634
0.32964
0.115141
0.041451
0.051813
0.17559
0.142775
0.044905
0.044905
0.044905
0
0
0.010952
0.259259
2,835
80
78
35.4375
0.81619
0.185185
0
0.046512
0
0
0.1244
0
0
0
0
0.0125
0
1
0.069767
false
0.046512
0.093023
0
0.209302
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
835b0b9a813b8944cdedcd0b8cba059586f17eb4
723
py
Python
durls/migrations/0002_auto_20210128_0254.py
almazkun/durls
79441bfbd970026650b22fb12d2826f860d9b746
[ "Apache-2.0" ]
null
null
null
durls/migrations/0002_auto_20210128_0254.py
almazkun/durls
79441bfbd970026650b22fb12d2826f860d9b746
[ "Apache-2.0" ]
1
2021-12-22T02:44:55.000Z
2021-12-22T02:44:55.000Z
durls/migrations/0002_auto_20210128_0254.py
almazkun/durls
79441bfbd970026650b22fb12d2826f860d9b746
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-28 02:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("durls", "0001_initial"), ] operations = [ migrations.AlterField( model_name="destination", name="destination_url", ...
24.931034
82
0.544952
69
723
5.57971
0.637681
0.155844
0.12987
0.150649
0.228571
0.228571
0
0
0
0
0
0.053305
0.351314
723
28
83
25.821429
0.767591
0.062241
0
0.318182
1
0
0.134615
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
835b69484b94384b3eeedf599668dacdd1f07925
1,481
py
Python
fieldsettings/migrations/0001_initial.py
Percyspal/feds-master
b0b252161fdad125149542ab35e6edcae63427ee
[ "Apache-2.0" ]
null
null
null
fieldsettings/migrations/0001_initial.py
Percyspal/feds-master
b0b252161fdad125149542ab35e6edcae63427ee
[ "Apache-2.0" ]
null
null
null
fieldsettings/migrations/0001_initial.py
Percyspal/feds-master
b0b252161fdad125149542ab35e6edcae63427ee
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-22 14:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='FieldS...
51.068966
300
0.625928
171
1,481
5.292398
0.526316
0.053039
0.043094
0.053039
0
0
0
0
0
0
0
0.022222
0.209993
1,481
28
301
52.892857
0.751282
0.045915
0
0
1
0
0.322695
0
0
0
0
0
0
1
0
false
0
0.1
0
0.3
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
835c90071d2af746104ebf868f6f1b71fbc9ae4d
5,009
py
Python
tests/tensor_ops/test_getitem.py
darshankrishnaswamy/MyGrad
a7783b1f9019cec80393daa16896204a4d16882b
[ "MIT" ]
null
null
null
tests/tensor_ops/test_getitem.py
darshankrishnaswamy/MyGrad
a7783b1f9019cec80393daa16896204a4d16882b
[ "MIT" ]
2
2017-08-02T01:47:51.000Z
2017-08-12T22:34:50.000Z
tests/tensor_ops/test_getitem.py
darshankrishnaswamy/MyGrad
a7783b1f9019cec80393daa16896204a4d16882b
[ "MIT" ]
null
null
null
import hypothesis.extra.numpy as hnp import numpy as np from hypothesis import settings from numpy.testing import assert_allclose from mygrad.tensor_base import Tensor from ..custom_strategies import adv_integer_index, basic_indices from ..wrappers.uber import backprop_test_factory, fwdprop_test_factory def test_ge...
22.461883
71
0.712118
785
5,009
4.192357
0.118471
0.061683
0.093589
0.089335
0.740504
0.694318
0.671832
0.631723
0.621696
0.596779
0
0.02509
0.164504
5,009
222
72
22.563063
0.76129
0.007187
0
0.64
0
0
0
0
0
0
0
0
0.051429
1
0.108571
false
0.08
0.04
0.017143
0.171429
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
835e2d42920f068765aca553e55c8d766ef61f57
1,976
py
Python
cli/work_cli.py
ayonymus/gits
1d7fc8741a69e731d3bee56e155132ff3d3490e5
[ "MIT" ]
4
2019-07-15T19:36:14.000Z
2022-03-09T18:30:46.000Z
cli/work_cli.py
ayonymus/gits
1d7fc8741a69e731d3bee56e155132ff3d3490e5
[ "MIT" ]
null
null
null
cli/work_cli.py
ayonymus/gits
1d7fc8741a69e731d3bee56e155132ff3d3490e5
[ "MIT" ]
null
null
null
class WorkCli: def __init__(self, workbranch): self.workbranch = workbranch def add_subparser(self, subparsers): work_parser = subparsers.add_parser('work', help="Keep track of a currently important branch") work_parser.add_argument("current", nargs="?", type=str, default=None, help="...
42.956522
111
0.673583
259
1,976
4.895753
0.235521
0.173502
0.093849
0.082808
0.395899
0.277603
0.143533
0
0
0
0
0
0.21913
1,976
46
112
42.956522
0.821776
0
0
0
0
0
0.17915
0
0
0
0
0
0
1
0.216216
false
0
0.027027
0
0.27027
0.243243
0
0
0
null
0
0
0
0
0
0
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
835f77b8b3bddb40e7ab1619c34d8ac7411ef6f7
15,363
py
Python
mascara_laminados.py
JoaoSevergnini/verificacao_perfis_metalicos
0c0eba1bdcfbcfb5c6c72fe196eb06f19562379d
[ "MIT" ]
null
null
null
mascara_laminados.py
JoaoSevergnini/verificacao_perfis_metalicos
0c0eba1bdcfbcfb5c6c72fe196eb06f19562379d
[ "MIT" ]
null
null
null
mascara_laminados.py
JoaoSevergnini/verificacao_perfis_metalicos
0c0eba1bdcfbcfb5c6c72fe196eb06f19562379d
[ "MIT" ]
1
2022-03-30T14:09:41.000Z
2022-03-30T14:09:41.000Z
from math import sqrt, pi from perfil_de_aco import PerfilDeAço from material import Material import pandas as pd # ================== # RENOMEAR A CLASSE # ================== class NomeDoTipoDePerfil(PerfilDeAço): """ Esta classe define um perfil de aço laminado do tipo XXXX. Parameter ---------- ...
41.634146
108
0.435527
1,609
15,363
4.087011
0.180236
0.02129
0.030109
0.027372
0.538929
0.481904
0.44267
0.35812
0.311131
0.284063
0
0.01903
0.244093
15,363
368
109
41.747283
0.547232
0.596563
0
0.185841
0
0
0.016499
0.009205
0
0
0
0.002717
0
0
null
null
0
0.035398
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
83605bddd8522bca597bb2228c2fe1043511fafe
385
py
Python
awwwards/migrations/0003_profile_name.py
Derrick-Nyongesa/Awwwards
53c3e395490d31e7ac67079a838ff43561819bc9
[ "MIT" ]
null
null
null
awwwards/migrations/0003_profile_name.py
Derrick-Nyongesa/Awwwards
53c3e395490d31e7ac67079a838ff43561819bc9
[ "MIT" ]
null
null
null
awwwards/migrations/0003_profile_name.py
Derrick-Nyongesa/Awwwards
53c3e395490d31e7ac67079a838ff43561819bc9
[ "MIT" ]
null
null
null
# Generated by Django 3.2.2 on 2021-05-28 14:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('awwwards', '0002_rating'), ] operations = [ migrations.AddField( model_name='profile', name='name', fiel...
20.263158
63
0.58961
42
385
5.333333
0.809524
0
0
0
0
0
0
0
0
0
0
0.080586
0.290909
385
18
64
21.388889
0.739927
0.116883
0
0
1
0
0.088757
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
55c2073e5fa6866801e330c591196438c03150b2
6,924
py
Python
tests/integration/test_permissions.py
lingyunsong/synapse_scripts
a6fd694abbd970b2b78ef89130ef2e88b10a102e
[ "Apache-2.0" ]
null
null
null
tests/integration/test_permissions.py
lingyunsong/synapse_scripts
a6fd694abbd970b2b78ef89130ef2e88b10a102e
[ "Apache-2.0" ]
null
null
null
tests/integration/test_permissions.py
lingyunsong/synapse_scripts
a6fd694abbd970b2b78ef89130ef2e88b10a102e
[ "Apache-2.0" ]
null
null
null
import ConfigParser import json import mock import os import sys import uuid from nose.tools import assert_raises import synapseclient import synapseclient.utils as utils from synapseclient import Activity, Entity, Project, Folder, File import integration from integration import schedule_for_cleanup def setup(modu...
40.255814
137
0.677499
850
6,924
5.397647
0.282353
0.039233
0.028335
0.020924
0.265693
0.229076
0.187663
0.12925
0.111813
0.090235
0
0.025241
0.221837
6,924
171
138
40.491228
0.826281
0.146014
0
0.188034
0
0
0.246431
0.082427
0
0
0
0
0.188034
0
null
null
0.025641
0.102564
null
null
0.042735
0
0
0
null
0
0
0
0
0
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
55c897c3953aae91fe7630c561b978342b1e8364
4,267
py
Python
web/auth_app/serializers.py
bandirom/django-blog
a8232ee8e4b7380b0760296de865cca2c5feda87
[ "MIT" ]
1
2021-08-11T10:51:28.000Z
2021-08-11T10:51:28.000Z
web/auth_app/serializers.py
bandirom/django-blog
a8232ee8e4b7380b0760296de865cca2c5feda87
[ "MIT" ]
null
null
null
web/auth_app/serializers.py
bandirom/django-blog
a8232ee8e4b7380b0760296de865cca2c5feda87
[ "MIT" ]
6
2021-04-07T17:03:52.000Z
2021-07-18T04:46:59.000Z
from allauth.account.adapter import get_adapter from allauth.account.utils import setup_user_email from allauth.utils import email_address_exists from dj_rest_auth import serializers as auth_serializers from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.auth.hashers impo...
38.441441
104
0.700258
466
4,267
6.233906
0.26824
0.04957
0.096041
0.081928
0.282272
0.26988
0.26988
0.26988
0.240275
0.240275
0
0.005337
0.209515
4,267
110
105
38.790909
0.855915
0.008906
0
0.252874
0
0
0.105039
0
0
0
0
0
0
1
0.057471
false
0.218391
0.137931
0.011494
0.436782
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
55cbff70c2fc859082bc8da725332c5222e71303
747
py
Python
src/pymaniascript/scope/__init__.py
MrLag31/pymaniascript
7bb9ebd4b2456f928ac68600b24dffb55fc399f2
[ "MIT" ]
2
2021-03-24T07:05:52.000Z
2021-03-24T09:14:39.000Z
src/pymaniascript/scope/__init__.py
MrLag31/pymaniascript
7bb9ebd4b2456f928ac68600b24dffb55fc399f2
[ "MIT" ]
null
null
null
src/pymaniascript/scope/__init__.py
MrLag31/pymaniascript
7bb9ebd4b2456f928ac68600b24dffb55fc399f2
[ "MIT" ]
null
null
null
class Scope: def __init__ (self, parent=None): self.parent = parent self.elements = dict() def get_element (self, name, type, current=False): r = self.elements.get(type, None) if r != None: r = r.get(name, None) if r == None and self.parent ...
26.678571
61
0.532798
91
747
4.252747
0.285714
0.129199
0.072351
0.056848
0
0
0
0
0
0
0
0
0.365462
747
28
62
26.678571
0.816456
0
0
0
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0
0.095238
0.47619
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
55ccbb341628af0097fb7a48cd83e8f987226a25
5,547
py
Python
Blue Cat.py
scskwirl/oldgames
7c6d953f641de595a98f2ec1d4d214fcd1873adf
[ "MIT" ]
null
null
null
Blue Cat.py
scskwirl/oldgames
7c6d953f641de595a98f2ec1d4d214fcd1873adf
[ "MIT" ]
null
null
null
Blue Cat.py
scskwirl/oldgames
7c6d953f641de595a98f2ec1d4d214fcd1873adf
[ "MIT" ]
null
null
null
#--------------# # Blue Cat # # By: Santo C. # #--------------# # Created October 8, 2005 (c) Santo C. # Import the modules needed. import random from time import sleep # Create the Deck suits and values Suits = ['Spades','Clubs','Hearts','Diamonds'] SuitsID = ['s','c','h','d'] Values = ['Ace', 'Two',...
30.311475
90
0.449793
605
5,547
4.109091
0.287603
0.067578
0.045857
0.028962
0.312148
0.271923
0.197104
0.197104
0.172164
0.172164
0
0.02604
0.397692
5,547
182
91
30.478022
0.718048
0.084009
0
0.387755
0
0
0.277547
0.023739
0
0
0
0
0
0
null
null
0
0.013605
null
null
0.346939
0
0
0
null
0
0
0
0
0
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
55dc23ba2d64dd73f6b13e9c625a5fa279212552
567
py
Python
src/Contexts/MainContext.py
xclemence/pykube-switch
4b7ac4565cc15469c2109e1a400d78e1d2b14404
[ "MIT" ]
null
null
null
src/Contexts/MainContext.py
xclemence/pykube-switch
4b7ac4565cc15469c2109e1a400d78e1d2b14404
[ "MIT" ]
1
2020-10-11T23:25:14.000Z
2020-10-11T23:25:14.000Z
src/Contexts/MainContext.py
xclemence/pykube-switch
4b7ac4565cc15469c2109e1a400d78e1d2b14404
[ "MIT" ]
null
null
null
from PySide2.QtCore import QObject, Property, Signal from .ClustersContext import ClustersContext class MainContext(QObject): cluster_context_changed = Signal() title_changed = Signal() def __init__(self): QObject.__init__(self) self._title = "Pykube Switch" self._clusters_conte...
24.652174
62
0.717813
60
567
6.433333
0.383333
0.11658
0.108808
0
0
0
0
0
0
0
0
0.002212
0.202822
567
22
63
25.772727
0.85177
0
0
0
0
0
0.022928
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
55ddfc779b7ad6a742c135c357a121ef91c02b8d
3,169
py
Python
main.py
omermikhailk/Rock-Paper-Scissors
987bdf67e85a7db32da5ef14c91b4781e10344fe
[ "MIT" ]
null
null
null
main.py
omermikhailk/Rock-Paper-Scissors
987bdf67e85a7db32da5ef14c91b4781e10344fe
[ "MIT" ]
null
null
null
main.py
omermikhailk/Rock-Paper-Scissors
987bdf67e85a7db32da5ef14c91b4781e10344fe
[ "MIT" ]
null
null
null
# To generate the random input for the computer's choice. from random import randint # Allows a natural delay to make the game seem more normal. from time import sleep def choice_logic(num): """ Based on a numeric value this function will assign the value to an option which will be either rock, paper or s...
33.357895
94
0.607763
454
3,169
4.134361
0.299559
0.042621
0.015983
0.028769
0
0
0
0
0
0
0
0.015125
0.290628
3,169
94
95
33.712766
0.81984
0.296308
0
0.186441
1
0
0.11955
0
0
0
0
0
0
1
0.067797
false
0
0.033898
0
0.237288
0.101695
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
55e9bdee3e87756d903e6b1b91f7e57bd4858687
397
py
Python
setup.py
Augusto94/csv_utils
a0f158c613bea3292ac713266df595d338e68be7
[ "MIT" ]
4
2020-03-02T12:07:27.000Z
2020-03-08T18:00:53.000Z
setup.py
Augusto94/csv_utils
a0f158c613bea3292ac713266df595d338e68be7
[ "MIT" ]
null
null
null
setup.py
Augusto94/csv_utils
a0f158c613bea3292ac713266df595d338e68be7
[ "MIT" ]
null
null
null
from setuptools import setup from setuptools import find_packages setup( name='csv_utils', version='0.0.2', url='https://github.com/Augusto94/csv_utils', license='MIT', author='Augusto Lima', author_email='arl4@cin.ufpe.br', description='Python and CSV as never', keywords=['python', 'c...
23.352941
51
0.670025
52
397
5
0.730769
0.107692
0.153846
0
0
0
0
0
0
0
0
0.018349
0.176322
397
16
52
24.8125
0.776758
0
0
0
0
0
0.319899
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
55efee3d02f282de9ebd27164e50d878ff693fc5
34,502
py
Python
ixmp/backend/base.py
ShaiWinograd/ixmp
281e84e6e9cd023bd8fea0c382fa3f11c1f3228d
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
ixmp/backend/base.py
ShaiWinograd/ixmp
281e84e6e9cd023bd8fea0c382fa3f11c1f3228d
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
ixmp/backend/base.py
ShaiWinograd/ixmp
281e84e6e9cd023bd8fea0c382fa3f11c1f3228d
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
import json from abc import ABC, abstractmethod from copy import copy from typing import Dict, Generator from ixmp.core import Scenario, TimeSeries from . import ItemType from .io import s_read_excel, s_write_excel, ts_read_file class Backend(ABC): """Abstract base class for backends.""" def __init__(self)...
28.420099
86
0.52939
3,767
34,502
4.782586
0.124502
0.041519
0.015986
0.007327
0.37228
0.313333
0.259325
0.235069
0.204485
0.171181
0
0.000683
0.363428
34,502
1,213
87
28.443528
0.81956
0.595792
0
0.313514
0
0
0.007206
0
0
0
0
0.000824
0
1
0.335135
false
0.005405
0.037838
0
0.443243
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
55f1c6c12a5ba6b0e93aec205416eeb7945082c0
375
py
Python
figures/kCSD_properties/figure_properties.py
mczerwinski/kCSD-python
fb7bae11dabd0709b2a6a36de45b3eae329f2791
[ "BSD-3-Clause" ]
null
null
null
figures/kCSD_properties/figure_properties.py
mczerwinski/kCSD-python
fb7bae11dabd0709b2a6a36de45b3eae329f2791
[ "BSD-3-Clause" ]
null
null
null
figures/kCSD_properties/figure_properties.py
mczerwinski/kCSD-python
fb7bae11dabd0709b2a6a36de45b3eae329f2791
[ "BSD-3-Clause" ]
null
null
null
import matplotlib.pyplot as plt plt.rcParams.update({ 'xtick.labelsize': 20, 'xtick.major.size': 10, 'ytick.labelsize': 20, 'ytick.major.size': 10, 'font.size': 20, 'axes.labelsize': 20, 'axes.titlesize': 15, 'legend.fontsize': 14, 'figure.subplot.wspace': 0.4, 'figure.subp...
19.736842
33
0.6
49
375
4.591837
0.591837
0.146667
0.097778
0.133333
0
0
0
0
0
0
0
0.074576
0.213333
375
18
34
20.833333
0.688136
0
0
0
0
0
0.469169
0.112601
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
55f43108f94e5f04e636ac9cd8e5883eaa4d7ccb
859
py
Python
api/graphql/tests/snapshots/snap_test_metadata_sets.py
SuviVappula/tilavarauspalvelu-core
ad7dec36e392a7b2927e2f825c3b0eb29b700793
[ "MIT" ]
null
null
null
api/graphql/tests/snapshots/snap_test_metadata_sets.py
SuviVappula/tilavarauspalvelu-core
ad7dec36e392a7b2927e2f825c3b0eb29b700793
[ "MIT" ]
null
null
null
api/graphql/tests/snapshots/snap_test_metadata_sets.py
SuviVappula/tilavarauspalvelu-core
ad7dec36e392a7b2927e2f825c3b0eb29b700793
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['MetadataSetsGraphQLTestCase::test_getting_metadata_sets 1'] = { 'data': { 'metadataSets': { 'edges': [ ...
26.84375
74
0.395809
50
859
6.46
0.68
0.111455
0.105263
0.154799
0.204334
0.204334
0
0
0
0
0
0.009501
0.509895
859
31
75
27.709677
0.75772
0.072177
0
0.08
0
0
0.267003
0.06927
0
0
0
0
0
1
0
false
0
0.08
0
0.08
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
55f482b33185167943a4613ecb3a7e7a82539b2a
4,377
py
Python
riptide_vision/scripts/BuoyAction.py
dmae1600/riptide
d029aafe01a0711ccc6304c4bfd6fda323c5bfe3
[ "BSD-2-Clause" ]
null
null
null
riptide_vision/scripts/BuoyAction.py
dmae1600/riptide
d029aafe01a0711ccc6304c4bfd6fda323c5bfe3
[ "BSD-2-Clause" ]
null
null
null
riptide_vision/scripts/BuoyAction.py
dmae1600/riptide
d029aafe01a0711ccc6304c4bfd6fda323c5bfe3
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python #****************************** #* ROS Action Server Template * #****************************** #************ #* INCLUDES * #************ # The following are required includes. # Replace "BuoyAction" with your action name. import roslib import roslib.load_manifest('riptide_autonomy') import numpy...
32.664179
104
0.608408
510
4,377
5.105882
0.429412
0.036866
0.014977
0.015361
0
0
0
0
0
0
0
0.028563
0.264108
4,377
133
105
32.909774
0.779882
0
0
0
0
0
0.033455
0.013686
0
0
0
0
0
0
null
null
0
0.15493
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
55f8868c6cfe4f00ec7c9be522989ffb497c99c7
2,363
py
Python
datasets/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/dataset-preprocesado.py
luisalmendarez/curso
335638694538fc7a0dff1dfc89ecd0bd33ef8b18
[ "MIT" ]
null
null
null
datasets/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/dataset-preprocesado.py
luisalmendarez/curso
335638694538fc7a0dff1dfc89ecd0bd33ef8b18
[ "MIT" ]
null
null
null
datasets/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/dataset-preprocesado.py
luisalmendarez/curso
335638694538fc7a0dff1dfc89ecd0bd33ef8b18
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Sep 27 13:49:16 2021 @author: luis """ # Plantilla de pre-procesado # # Cómo importar las librerías import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importar el dataset a Spyder dataset = pd.read_csv('Data.csv') # Definir la ubicación del archivo # ...
40.741379
108
0.760051
369
2,363
4.785908
0.457995
0.031144
0.005096
0.007928
0.02265
0
0
0
0
0
0
0.015873
0.146847
2,363
58
109
40.741379
0.859127
0.518832
0
0
0
0
0.038321
0
0
0
0
0
0
1
0
false
0.041667
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
55f941f55e34c1ce8e2525446c176f5455e2aad5
4,555
py
Python
app.py
aminayassine180/careers-convention
32c7af38f9958ccd488bb336f7edcc365bc8acf3
[ "CC0-1.0" ]
null
null
null
app.py
aminayassine180/careers-convention
32c7af38f9958ccd488bb336f7edcc365bc8acf3
[ "CC0-1.0" ]
null
null
null
app.py
aminayassine180/careers-convention
32c7af38f9958ccd488bb336f7edcc365bc8acf3
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 # local imports from os import name from os.path import abspath, dirname, join import time import logging import sqlite3 from sqlite3 import Error import requests from flask import flash, Flask, Markup, redirect, render_template, url_for, request from flask_sqlalchemy import SQLAlchemy from s...
33.248175
176
0.727333
598
4,555
5.397993
0.312709
0.043371
0.027881
0.02974
0.169455
0.130421
0.098513
0.098513
0.098513
0.098513
0
0.004615
0.143798
4,555
136
177
33.492647
0.823077
0.167069
0
0.137931
0
0
0.180206
0.035724
0
0
0
0
0
1
0.16092
false
0
0.114943
0.126437
0.62069
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
55fb01943f39eff187503199402b47595bf2c4e7
5,201
py
Python
contrib/py/entroq/__main__.py
shiblon/entroq
7013da43625eaf64f7cb87bd4d991c7ae92bb39e
[ "Apache-2.0" ]
16
2018-08-23T13:52:02.000Z
2022-03-07T12:26:09.000Z
contrib/py/entroq/__main__.py
shiblon/entroq
7013da43625eaf64f7cb87bd4d991c7ae92bb39e
[ "Apache-2.0" ]
18
2019-08-02T19:29:30.000Z
2022-02-11T19:25:38.000Z
contrib/py/entroq/__main__.py
shiblon/entroq
7013da43625eaf64f7cb87bd4d991c7ae92bb39e
[ "Apache-2.0" ]
4
2018-11-08T14:45:56.000Z
2022-03-07T12:26:12.000Z
from .__init__ import EntroQ from . import entroq_pb2 as pb import click import datetime from datetime import timezone import grpc import json from google.protobuf import json_format class _ClickContext: pass def _task_str_raw(task): return EntroQ.to_dict(task) def _task_str_json(task): return EntroQ.to_...
36.370629
123
0.680062
804
5,201
4.271144
0.222637
0.080082
0.041934
0.046593
0.373908
0.331683
0.278684
0.259755
0.223646
0.198311
0
0.004092
0.154201
5,201
142
124
36.626761
0.77654
0
0
0.286957
0
0
0.209767
0
0
0
0
0
0
1
0.095652
false
0.086957
0.069565
0.017391
0.2
0.078261
0
0
0
null
0
0
0
0
0
0
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
36015f07e8c5cf98801a762109edcd0d5ebe5a52
516
py
Python
faraday/hub/migrations/0009_datapool_category.py
stashito/Faraday
1cd232f349195454bed32592930e381444b51f71
[ "MIT" ]
2
2021-02-28T07:34:43.000Z
2021-02-28T16:29:33.000Z
faraday/hub/migrations/0009_datapool_category.py
stashito/Faraday
1cd232f349195454bed32592930e381444b51f71
[ "MIT" ]
1
2021-02-28T18:43:15.000Z
2021-02-28T18:43:15.000Z
faraday/hub/migrations/0009_datapool_category.py
stashito/Faraday
1cd232f349195454bed32592930e381444b51f71
[ "MIT" ]
1
2021-02-28T16:30:10.000Z
2021-02-28T16:30:10.000Z
# Generated by Django 3.1.7 on 2021-02-27 23:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hub', '0008_datapool_document'), ] operations = [ migrations.AddField( model_name='datapool', name='category', ...
27.157895
183
0.606589
52
516
5.942308
0.769231
0
0
0
0
0
0
0
0
0
0
0.05303
0.232558
516
18
184
28.666667
0.727273
0.087209
0
0
1
0
0.238806
0.046908
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
3610ed1a9b985145042dea6f080b2ddfb3c2cfd9
2,233
py
Python
gui/ui/plot_display_dialog.py
lcford2/graps_gui
a47b598cd746425203e8df1ddf77815e3b1522e9
[ "MIT" ]
null
null
null
gui/ui/plot_display_dialog.py
lcford2/graps_gui
a47b598cd746425203e8df1ddf77815e3b1522e9
[ "MIT" ]
5
2020-07-22T11:51:26.000Z
2022-02-17T20:07:12.000Z
gui/ui/plot_display_dialog.py
lcford2/graps_gui
a47b598cd746425203e8df1ddf77815e3b1522e9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\plot_display_dialog.ui' # # Created by: PyQt5 UI code generator 5.15.0 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 impor...
48.543478
108
0.760412
242
2,233
6.805785
0.363636
0.093503
0.144505
0.025501
0.274438
0.274438
0.191864
0.191864
0.110504
0
0
0.015368
0.154949
2,233
45
109
49.622222
0.857446
0.128079
0
0.129032
1
0
0.052604
0
0
0
0
0
0
1
0.064516
false
0
0.032258
0
0.129032
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
36151ed8afebfca51b57a0f6c2b344fc6010b19e
1,103
py
Python
adminmgr/media/code/A3/task3/a3task2.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
9
2019-11-08T02:05:27.000Z
2021-12-13T12:06:35.000Z
adminmgr/media/code/A3/task3/a3task2.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
6
2019-11-27T03:23:16.000Z
2021-06-10T19:15:13.000Z
adminmgr/media/code/A3/task3/a3task2.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
4
2019-11-26T17:04:27.000Z
2021-12-13T11:57:03.000Z
# import findspark # findspark.init() from pyspark import SparkConf,SparkContext from pyspark.streaming import StreamingContext from pyspark.sql import Row,SQLContext import sys #import requests def aggregate_tweets_count(new_values, total_sum): return sum(new_values) + (total_sum or 0) conf=SparkConf() conf.setApp...
26.902439
95
0.757026
157
1,103
5.267516
0.484076
0.050786
0.029021
0.032648
0.036276
0
0
0
0
0
0
0.021718
0.081596
1,103
40
96
27.575
0.794669
0.271079
0
0
0
0
0.044192
0
0
0
0
0
0
0
null
null
0
0.173913
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3617b1de299cb8bb00387522f2cc0f6a392cc0b5
3,950
py
Python
question_generation/generate_gt_boxes.py
aurooj/clevr-dataset-gen
e927f637d02f3aa7e84b17b0013f7bc0213e62bf
[ "BSD-3-Clause" ]
null
null
null
question_generation/generate_gt_boxes.py
aurooj/clevr-dataset-gen
e927f637d02f3aa7e84b17b0013f7bc0213e62bf
[ "BSD-3-Clause" ]
null
null
null
question_generation/generate_gt_boxes.py
aurooj/clevr-dataset-gen
e927f637d02f3aa7e84b17b0013f7bc0213e62bf
[ "BSD-3-Clause" ]
null
null
null
#this script generates gt bounding box labels for existing CLEVR dataset. from __future__ import print_function import argparse, json, os, itertools, random, shutil import time import re import utils parser = argparse.ArgumentParser() # Inputs parser.add_argument('--input_scene_file', default='../output/CLEVR_scenes...
35.267857
96
0.670127
532
3,950
4.763158
0.31015
0.035517
0.046961
0.018942
0.056038
0.017364
0
0
0
0
0
0.005482
0.214937
3,950
111
97
35.585586
0.811674
0.233924
0
0.029412
1
0
0.30877
0.047016
0
0
0
0
0
1
0.014706
false
0
0.102941
0
0.132353
0.014706
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
36187d0e1fc02331d3ea0a39cafa251fcd2c374b
687
py
Python
apps/sales/migrations/0006_auto_20180522_0110.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
apps/sales/migrations/0006_auto_20180522_0110.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
apps/sales/migrations/0006_auto_20180522_0110.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
# Generated by Django 2.0.4 on 2018-05-22 01:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('instruments', '0005_remove_instruments_id_sale'), ('sales', '0005_sale_id_sale_instrument'), ] operations =...
27.48
134
0.636099
76
687
5.552632
0.539474
0.056872
0.113744
0.104265
0.156398
0.156398
0.156398
0
0
0
0
0.044487
0.247453
687
24
135
28.625
0.77176
0.065502
0
0.333333
1
0
0.221875
0.128125
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3618a6d1eb5b01391a2a43f8be25ccdac7e83537
845
py
Python
LottoWebCore/migrations/0004_auto_20190505_0951.py
diegofcoelho/LottoHub
9926f69c4cdb3fc3dca0dc16e94861f5f0a79064
[ "MIT" ]
1
2020-12-15T10:09:35.000Z
2020-12-15T10:09:35.000Z
LottoWebCore/migrations/0004_auto_20190505_0951.py
diegofcoelho/LottoHub
9926f69c4cdb3fc3dca0dc16e94861f5f0a79064
[ "MIT" ]
2
2020-08-25T14:57:08.000Z
2022-01-13T03:15:53.000Z
LottoWebCore/migrations/0004_auto_20190505_0951.py
diegofcoelho/LottoHub
9926f69c4cdb3fc3dca0dc16e94861f5f0a79064
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-05-05 12:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('LottoWebCore', '0003_ticket_winner'), ] operations = [ migrations.CreateModel( name='Prize', fields=[ ...
28.166667
114
0.571598
81
845
5.851852
0.666667
0.046414
0.063291
0.080169
0.105485
0
0
0
0
0
0
0.035654
0.302959
845
29
115
29.137931
0.7691
0.050888
0
0.304348
1
0
0.13375
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
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
3619cbe8792bfc806200573f2ffbfc50711edca2
6,349
py
Python
ax/modelbridge/transforms/stratified_standardize_y.py
stevemandala/Ax
8e289a154e3a2ed237bf27ddb90e09963c0d6a97
[ "MIT" ]
1
2020-03-07T08:26:05.000Z
2020-03-07T08:26:05.000Z
ax/modelbridge/transforms/stratified_standardize_y.py
stevemandala/Ax
8e289a154e3a2ed237bf27ddb90e09963c0d6a97
[ "MIT" ]
null
null
null
ax/modelbridge/transforms/stratified_standardize_y.py
stevemandala/Ax
8e289a154e3a2ed237bf27ddb90e09963c0d6a97
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from collections import defaultdict from typing import TYPE_CHECKING, DefaultDict, List, Optional, Tuple import numpy ...
44.090278
88
0.653016
735
6,349
5.530612
0.253061
0.01476
0.02214
0.02337
0.266913
0.220418
0.220418
0.220418
0.220418
0.220418
0
0.002562
0.262246
6,349
143
89
44.398601
0.865286
0.241298
0
0.309278
0
0
0.084878
0.021272
0
0
0
0.013986
0
1
0.041237
false
0
0.123711
0
0.216495
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
361a9233f1408bb810994c5f0dc3fe1a6d099d5a
380
py
Python
applications/models/admin_user_role.py
solitary-sen/pear-admin-flask
c2ce10bb2a51fd7376ca1d211e30380fca119a19
[ "MIT" ]
1
2021-12-06T06:13:30.000Z
2021-12-06T06:13:30.000Z
applications/models/admin_user_role.py
solitary-sen/pear-admin-flask
c2ce10bb2a51fd7376ca1d211e30380fca119a19
[ "MIT" ]
null
null
null
applications/models/admin_user_role.py
solitary-sen/pear-admin-flask
c2ce10bb2a51fd7376ca1d211e30380fca119a19
[ "MIT" ]
null
null
null
from applications.models import db # 创建中间表 user_role = db.Table( "admin_user_role", # 中间表名称 db.Column("id", db.Integer, primary_key=True, autoincrement=True, comment='标识'), # 主键 db.Column("user_id", db.Integer, db.ForeignKey("admin_user.id"), comment='用户编号'), # 属性 外键 db.Column("role_id", db.Integer, ...
42.222222
94
0.681579
57
380
4.403509
0.45614
0.095618
0.131474
0.103586
0.223108
0.223108
0
0
0
0
0
0
0.142105
380
8
95
47.5
0.769939
0.068421
0
0
0
0
0.192529
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
361e3406add2cdc3b804c56ba37a86590c6d4445
43,178
py
Python
python/calico/test/test_common.py
a0x8o/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
6
2016-10-18T04:04:25.000Z
2016-10-18T04:06:49.000Z
python/calico/test/test_common.py
axbaretto/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
1
2021-06-01T21:45:37.000Z
2021-06-01T21:45:37.000Z
python/calico/test/test_common.py
axbaretto/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2014-2016 Tigera, Inc. All rights reserved. # Copyright 2015 Cisco Systems # # 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.or...
42.372915
80
0.572537
4,604
43,178
5.135317
0.082754
0.0829
0.061583
0.09948
0.787294
0.727361
0.65715
0.597978
0.503785
0.447786
0
0.037812
0.301751
43,178
1,018
81
42.414538
0.74636
0.034647
0
0.454327
0
0
0.152711
0.003123
0
0
0
0
0.293269
1
0.051683
false
0.003606
0.015625
0.002404
0.082933
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
3620b2e91db99f8a99020e2c988953a0e60d3ae8
10,825
py
Python
wikiDB/tables/__init__.py
The-Ranger22/CSC440-Riki
7c9cd6137b14cf1138583ed0d1a608feb36f6b8d
[ "BSD-3-Clause" ]
null
null
null
wikiDB/tables/__init__.py
The-Ranger22/CSC440-Riki
7c9cd6137b14cf1138583ed0d1a608feb36f6b8d
[ "BSD-3-Clause" ]
null
null
null
wikiDB/tables/__init__.py
The-Ranger22/CSC440-Riki
7c9cd6137b14cf1138583ed0d1a608feb36f6b8d
[ "BSD-3-Clause" ]
null
null
null
# region Imports import logging import traceback import config import wikiDB from sqlite3 import connect from sqlite3 import DatabaseError from abc import ABC, abstractmethod # endregion log = logging.getLogger('database') def _query(method): """ A decorator responsible for connecting to a SQLite database an...
29.903315
154
0.557229
1,192
10,825
4.991611
0.173658
0.056471
0.037647
0.045714
0.421849
0.363529
0.279664
0.239832
0.179496
0.179496
0
0.001524
0.333025
10,825
361
155
29.98615
0.822576
0.105404
0
0.441406
0
0.011719
0.157291
0.021429
0
0
0
0
0
1
0.148438
false
0.050781
0.027344
0.070313
0.320313
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
3627b674b70eda2f73bc871ea33c4283c3aedfb1
596
py
Python
Getting_Tickers.py
akmenon1996/Stock_table_population
c13d909dcd97d5ef60b63e4fc0c57732a5f9ecb6
[ "MIT" ]
null
null
null
Getting_Tickers.py
akmenon1996/Stock_table_population
c13d909dcd97d5ef60b63e4fc0c57732a5f9ecb6
[ "MIT" ]
null
null
null
Getting_Tickers.py
akmenon1996/Stock_table_population
c13d909dcd97d5ef60b63e4fc0c57732a5f9ecb6
[ "MIT" ]
null
null
null
import bs4 as bs import datetime as dt import os import pandas_datareader.data as web import pickle import requests def save_sp500_tickers(): resp = requests.get('http://en.wikipedia.org/wiki/List_of_S%26P_500_companies') soup = bs.BeautifulSoup(resp.text, 'lxml') table = soup.find('table', {'class': 'wiki...
22.923077
83
0.677852
84
596
4.702381
0.654762
0.04557
0.081013
0
0
0
0
0
0
0
0
0.035197
0.189597
596
25
84
23.84
0.782609
0
0
0
0
0
0.190878
0
0
0
0
0
0
1
0.055556
false
0
0.333333
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
3629befdfeef339e7f12a9049370d557077a45ad
6,778
py
Python
whatshap/bam.py
xiaoluo91/whatshap
9882248c722b1020321fea6e9491c1cc5b75354b
[ "MIT" ]
2
2020-06-26T08:35:00.000Z
2020-07-13T04:30:11.000Z
whatshap/bam.py
xiaoluo91/whatshap
9882248c722b1020321fea6e9491c1cc5b75354b
[ "MIT" ]
null
null
null
whatshap/bam.py
xiaoluo91/whatshap
9882248c722b1020321fea6e9491c1cc5b75354b
[ "MIT" ]
null
null
null
import os from urllib.parse import urlparse import pysam import logging import heapq from collections import defaultdict, namedtuple logger = logging.getLogger(__name__) AlignmentWithSourceID = namedtuple("AlignmentWithSourceID", ["source_id", "bam_alignment"]) class AlignmentFileNotIndexedError(Exception): p...
35.486911
97
0.646651
837
6,778
5.099164
0.273596
0.033739
0.014058
0.018744
0.107076
0.052015
0.038425
0.017338
0
0
0
0.001848
0.281499
6,778
190
98
35.673684
0.874538
0.272499
0
0.165049
0
0
0.05533
0.004486
0
0
0
0.010526
0.009709
1
0.135922
false
0.038835
0.058252
0.029126
0.31068
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
362a2c53eb25ed60e6745a1343312b3a879c8e58
408
py
Python
xinxu01_test_env/test.py
maverick-xinwei/sec-edgar-downloader
19577856e53f5a280372eb5530c30393d793ef24
[ "MIT" ]
null
null
null
xinxu01_test_env/test.py
maverick-xinwei/sec-edgar-downloader
19577856e53f5a280372eb5530c30393d793ef24
[ "MIT" ]
null
null
null
xinxu01_test_env/test.py
maverick-xinwei/sec-edgar-downloader
19577856e53f5a280372eb5530c30393d793ef24
[ "MIT" ]
null
null
null
import sys ##sys.path.append("./../.") sys.path.insert(1, "./../.") from sec_edgar_downloader import Downloader download_path = './download_files' dl = Downloader(download_path); dl.get(None,"", include_amends=True, query = "\"opportunities doctrine\"", dry_run=False ) #dl.get(None,"", include_amends=True, query = "...
34
134
0.705882
53
408
5.264151
0.603774
0.050179
0.157706
0.114695
0.222222
0.222222
0.222222
0
0
0
0
0.00271
0.095588
408
11
135
37.090909
0.753388
0.387255
0
0
0
0
0.093117
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
362d88fc9a5a580fb5af04326a990ab256ab2910
1,249
py
Python
deeppavlov/metrics/mse.py
xbodx/DeepPavlov
4b60bf162df4294b8b0db3b72786cdd699c674fa
[ "Apache-2.0" ]
2
2021-06-24T01:20:26.000Z
2021-07-15T13:28:15.000Z
deeppavlov/metrics/mse.py
xbodx/DeepPavlov
4b60bf162df4294b8b0db3b72786cdd699c674fa
[ "Apache-2.0" ]
1
2021-05-10T00:29:28.000Z
2021-05-10T00:31:00.000Z
deeppavlov/metrics/mse.py
xbodx/DeepPavlov
4b60bf162df4294b8b0db3b72786cdd699c674fa
[ "Apache-2.0" ]
2
2022-03-15T07:32:06.000Z
2022-03-17T05:25:27.000Z
# Copyright 2020 Neural Networks and Deep Learning lab, MIPT # # 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 applicab...
33.756757
74
0.727782
183
1,249
4.874317
0.557377
0.067265
0.089686
0.035874
0
0
0
0
0
0
0
0.007952
0.194556
1,249
36
75
34.694444
0.878728
0.578062
0
0
0
0
0.037578
0
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
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
1
0
0
0
0
1
363039f0498978ef9301d8de6aa4848c60d6ffa2
5,731
py
Python
tests/command_parsing_test.py
FelixSchwarz/pymta
ac9b3e23e136bc1387fb9c359eabe6087e5264c8
[ "MIT" ]
null
null
null
tests/command_parsing_test.py
FelixSchwarz/pymta
ac9b3e23e136bc1387fb9c359eabe6087e5264c8
[ "MIT" ]
6
2018-10-11T09:01:48.000Z
2020-10-07T08:15:40.000Z
tests/command_parsing_test.py
FelixSchwarz/pymta
ac9b3e23e136bc1387fb9c359eabe6087e5264c8
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- # SPDX-License-Identifier: MIT from __future__ import print_function, unicode_literals from pythonic_testcase import * from pymta.api import IMTAPolicy from pymta.command_parser import SMTPCommandParser from pymta.compat import basestring, b64encode from pymta.test_util import BlackholeDelive...
40.64539
100
0.652591
751
5,731
4.70972
0.226365
0.014136
0.058807
0.040712
0.421261
0.38903
0.341815
0.335595
0.289228
0.271699
0
0.009199
0.2223
5,731
140
101
40.935714
0.784384
0.067876
0
0.228571
0
0
0.138366
0
0
0
0
0
0.238095
1
0.209524
false
0
0.057143
0.047619
0.342857
0.009524
0
0
0
null
0
0
0
0
0
0
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
363c2d5a56efc64c13c3b98abeeb42766a03bcc9
1,540
py
Python
MixFormatErrorTest.py
myskoach/sublime-ex-formatter
5769df6d1cd26ba5e03f3244e50f7ae7d1759291
[ "MIT" ]
null
null
null
MixFormatErrorTest.py
myskoach/sublime-ex-formatter
5769df6d1cd26ba5e03f3244e50f7ae7d1759291
[ "MIT" ]
3
2021-02-22T14:02:00.000Z
2021-05-24T23:52:51.000Z
MixFormatErrorTest.py
myskoach/sublime-ex-formatter
5769df6d1cd26ba5e03f3244e50f7ae7d1759291
[ "MIT" ]
null
null
null
import unittest from MixFormatError import MixFormatError class TestSyntaxErrors(unittest.TestCase): def test_unexpected_token_ex_1_10(self): error = MixFormatError("** (SyntaxError) lib/skoach_bot/repo/users.ex:150: unexpected token: end. The \"{\" at line 149 is missing terminator \"}\"", "") s...
51.333333
198
0.716234
193
1,540
5.53886
0.341969
0.070159
0.093545
0.044902
0.666978
0.636109
0.510758
0.379794
0.379794
0.379794
0
0.026418
0.164286
1,540
29
199
53.103448
0.804196
0
0
0.238095
0
0.142857
0.431169
0.061688
0
0
0
0
0.47619
1
0.142857
false
0
0.190476
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
363e183196a3887a320f7939bfe3d835f5098023
533
py
Python
accounts/migrations/0003_auto_20200102_1847.py
venieri/cancan
5a10d6aa9911733e78eee062025a7b1af96e6167
[ "CC0-1.0" ]
null
null
null
accounts/migrations/0003_auto_20200102_1847.py
venieri/cancan
5a10d6aa9911733e78eee062025a7b1af96e6167
[ "CC0-1.0" ]
null
null
null
accounts/migrations/0003_auto_20200102_1847.py
venieri/cancan
5a10d6aa9911733e78eee062025a7b1af96e6167
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.0.1 on 2020-01-02 18:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_account_score'), ] operations = [ migrations.RenameField( model_name='account', old_name='address',...
22.208333
52
0.572233
53
533
5.603774
0.754717
0.060606
0.107744
0
0
0
0
0
0
0
0
0.052055
0.315197
533
23
53
23.173913
0.761644
0.084428
0
0.235294
1
0
0.141975
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
364259ec269b673ac17b9eae1a805cfe610782b5
5,283
py
Python
src/stay_classification/metric_box_classifier/metric_box_classifier_core.py
m-salewski/stay_classification
e3f9deadf51c97029a0f9a4bb669a5af68abf7c6
[ "MIT" ]
null
null
null
src/stay_classification/metric_box_classifier/metric_box_classifier_core.py
m-salewski/stay_classification
e3f9deadf51c97029a0f9a4bb669a5af68abf7c6
[ "MIT" ]
null
null
null
src/stay_classification/metric_box_classifier/metric_box_classifier_core.py
m-salewski/stay_classification
e3f9deadf51c97029a0f9a4bb669a5af68abf7c6
[ "MIT" ]
null
null
null
import numpy as np #from synthetic_data.trajectory import get_stay_indices, get_adjusted_stays #from sklearn.metrics import precision_score, recall_score, confusion_matrix from .metric_box_classifier_gaps import gap_criterion_3, merge_cluster_pair #from helper__3stays_v3_scripts import inter_bounds, contains, conta...
36.944056
93
0.592466
718
5,283
4.175487
0.295265
0.070047
0.016011
0.01501
0.231154
0.193462
0.166111
0.166111
0.086057
0.086057
0
0.017184
0.317055
5,283
142
94
37.204225
0.813747
0.409805
0
0.254545
0
0
0.048601
0.029371
0
0
0
0.014085
0
1
0.036364
false
0.036364
0.036364
0
0.127273
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
364295377a0fa0d0511d14957004aa694bdded7d
9,372
py
Python
jklib/django/drf/actions.py
Jordan-Kowal/jklib
84dc8ad64b9216926ba9af0ec11f1dbd5d8a53f4
[ "MIT" ]
1
2020-02-28T21:53:51.000Z
2020-02-28T21:53:51.000Z
jklib/django/drf/actions.py
Jordan-Kowal/jklib
84dc8ad64b9216926ba9af0ec11f1dbd5d8a53f4
[ "MIT" ]
null
null
null
jklib/django/drf/actions.py
Jordan-Kowal/jklib
84dc8ad64b9216926ba9af0ec11f1dbd5d8a53f4
[ "MIT" ]
null
null
null
""" Classes to make building actions/endpoints in DRF easier Split in 2 sub-sections: Enums: Data management with enums Base Handlers: The parent/base class for action handles """ # Built-in from enum import Enum # Django from rest_framework.exceptions import MethodNotAllowed from re...
38.567901
115
0.629001
1,098
9,372
5.254098
0.246812
0.01092
0.017681
0.014734
0.219795
0.157046
0.150459
0.118565
0.091697
0.072283
0
0.008973
0.262697
9,372
242
116
38.727273
0.825904
0.523581
0
0.116279
0
0
0.011293
0.006722
0
0
0
0
0
1
0.174419
false
0
0.046512
0
0.523256
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
364297c339cbdcd2bfa15c9f201e15aab12ada2a
1,463
py
Python
UserInputClassification/data/csv_to_numpy.py
alexvbogdan/Assistant-for-People-with-Low-Vision
2c8d60a857a63ce516f33263e61313a3bad0695f
[ "MIT" ]
1
2020-08-21T07:35:54.000Z
2020-08-21T07:35:54.000Z
UserInputClassification/data/csv_to_numpy.py
alexvbogdan/Assistant-for-People-with-Low-Vision
2c8d60a857a63ce516f33263e61313a3bad0695f
[ "MIT" ]
null
null
null
UserInputClassification/data/csv_to_numpy.py
alexvbogdan/Assistant-for-People-with-Low-Vision
2c8d60a857a63ce516f33263e61313a3bad0695f
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import sys import random import pdb import StringIO import csv import fasttext model = fasttext.load_model(PATH_TO_FASTTEXT_MODEL) def word2vec(str): return model[str] sentences = [] labels = [] with open('./LSTM_questions.csv', 'rb') as f: reader = csv.reader(f, delimiter='...
21.835821
51
0.673274
222
1,463
4.292793
0.27027
0.057712
0.047219
0.115425
0.130115
0.130115
0.130115
0
0
0
0
0.023314
0.179084
1,463
66
52
22.166667
0.770192
0
0
0
0
0
0.032126
0
0
0
0
0
0
0
null
null
0
0.131148
null
null
0.04918
0
0
0
null
0
0
0
0
0
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
364b7aa01bcfb64ebee9220f8f11d15c35942892
4,041
py
Python
zziwneededpage.py
PersianWikipedia/Database-reports
f039ac884777608d86a58724ba242d03be9e6883
[ "MIT" ]
null
null
null
zziwneededpage.py
PersianWikipedia/Database-reports
f039ac884777608d86a58724ba242d03be9e6883
[ "MIT" ]
null
null
null
zziwneededpage.py
PersianWikipedia/Database-reports
f039ac884777608d86a58724ba242d03be9e6883
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # MIT license import wikipedia, re import pagegenerators import MySQLdb as mysqldb import config faSite = wikipedia.getSite('fa') enSite=wikipedia.getSite('en') def numbertopersian(a): a = str(a) a = a.replace(u'0', u'۰') a = a.replace(u'1', u'۱') a = a.replace(u'2', u'۲') ...
32.853659
268
0.5902
580
4,041
4.037931
0.327586
0.068318
0.042272
0.046968
0.130231
0.111016
0.111016
0.111016
0.111016
0.111016
0
0.012816
0.246969
4,041
122
269
33.122951
0.752875
0.022767
0
0.135922
0
0.019417
0.206695
0.017246
0
0
0
0
0
0
null
null
0.009709
0.038835
null
null
0.009709
0
0
0
null
0
0
0
0
0
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
364ba43c42a5eb102545dd3d1335de19b7b99f0e
1,086
py
Python
PyOpenGLExample/squares.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
PyOpenGLExample/squares.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
PyOpenGLExample/squares.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
import random from OpenGL.GL import * from OpenGL.GLUT import * from OpenGL.GLU import * """ Generating squares This example will generate 25 squares each in a randomly chosen grayvalue. The grayvalue is chosen out of 25 different possiblities. Every redraw of the window will create a new set of squares. http://ww...
24.681818
77
0.683241
152
1,086
4.789474
0.526316
0.027473
0.024725
0.016484
0.101648
0.093407
0.093407
0.093407
0
0
0
0.073818
0.201657
1,086
44
78
24.681818
0.765859
0
0
0
1
0
0.023661
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.230769
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
364d9ea847f703f384994c2bb1e4507f9bc7bebb
427
py
Python
apps/admin/jumpscripts/deploy/debug_update.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
1
2015-10-26T10:38:13.000Z
2015-10-26T10:38:13.000Z
apps/admin/jumpscripts/deploy/debug_update.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
apps/admin/jumpscripts/deploy/debug_update.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
from JumpScale import j descr = """ update all code on platform """ organization = "jumpscale" author = "kristof@incubaid.com" license = "bsd" version = "1.0" category = "debug.update.code" period = 1 # always in sec startatboot = True order = 1 enable = True async = True log = False def action(node): CMDS=""...
15.25
52
0.674473
57
427
5.052632
0.789474
0
0
0
0
0
0
0
0
0
0
0.011527
0.187354
427
27
53
15.814815
0.818444
0.030445
0
0.095238
0
0
0.314634
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
36542a04dbccca5e27bc08ff3c1d109d8348e492
3,003
py
Python
adafruit_bluefruit_connect/button_packet.py
adafruit/Adafruit_CircuitPython_BluefruitConnect
d1c0a0f400cfef3ce903d3b579165bae3fd70c72
[ "Unlicense", "MIT-0", "MIT" ]
8
2019-02-20T17:35:11.000Z
2021-02-28T18:26:42.000Z
adafruit_bluefruit_connect/button_packet.py
adafruit/Adafruit_CircuitPython_BluefruitConnect
d1c0a0f400cfef3ce903d3b579165bae3fd70c72
[ "Unlicense", "MIT-0", "MIT" ]
16
2019-02-01T17:39:32.000Z
2021-12-14T13:11:51.000Z
adafruit_bluefruit_connect/button_packet.py
adafruit/Adafruit_CircuitPython_BluefruitConnect
d1c0a0f400cfef3ce903d3b579165bae3fd70c72
[ "Unlicense", "MIT-0", "MIT" ]
10
2019-02-04T15:05:19.000Z
2021-11-30T18:48:35.000Z
# SPDX-FileCopyrightText: 2019 Dan Halbert for Adafruit Industries # # SPDX-License-Identifier: MIT """ `adafruit_bluefruit_connect.button_packet` ==================================================== Bluefruit Connect App Button data packet (button_name, pressed/released) * Author(s): Dan Halbert for Adafruit Indus...
30.03
94
0.611722
375
3,003
4.781333
0.408
0.022309
0.014501
0.023424
0.079197
0
0
0
0
0
0
0.013176
0.267066
3,003
99
95
30.333333
0.801454
0.412254
0
0.045455
0
0
0.061517
0
0
0
0
0
0.045455
1
0.113636
false
0
0.045455
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
36569b7316adb66493ad401c9f8144f73caad5a2
2,885
py
Python
gen_lib.py
Blebowski/Reg_Map_Gen
963ec20fc29ba4fc634b62cb2963f1cd788fa1d5
[ "MIT" ]
5
2019-01-09T18:04:49.000Z
2020-07-08T11:41:13.000Z
gen_lib.py
Blebowski/Reg_Map_Gen
963ec20fc29ba4fc634b62cb2963f1cd788fa1d5
[ "MIT" ]
1
2019-01-06T17:12:40.000Z
2019-01-08T21:51:02.000Z
gen_lib.py
Blebowski/Reg_Map_Gen
963ec20fc29ba4fc634b62cb2963f1cd788fa1d5
[ "MIT" ]
1
2019-03-02T20:33:13.000Z
2019-03-02T20:33:13.000Z
################################################################################ ## ## Register map generation tool ## ## Copyright (C) 2018 Ondrej Ille <ondrej.ille@gmail.com> ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of ...
33.16092
133
0.592374
343
2,885
4.938776
0.507289
0.056671
0.016529
0.015348
0.057261
0
0
0
0
0
0
0.005797
0.162912
2,885
86
134
33.546512
0.695652
0.474523
0
0.147059
0
0
0.095028
0.036464
0
0
0
0
0
1
0.147059
false
0
0.264706
0.058824
0.647059
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3656a1213dc83d69ca765bd4a1380ed9af7d06e3
999
py
Python
diary/views.py
chrisjire/Gallery
9745d5b3b4347e9ecbdee15c8018faea151337cb
[ "Unlicense" ]
null
null
null
diary/views.py
chrisjire/Gallery
9745d5b3b4347e9ecbdee15c8018faea151337cb
[ "Unlicense" ]
5
2020-02-12T03:17:25.000Z
2021-09-08T01:19:36.000Z
diary/views.py
chrisjire/Gallery
9745d5b3b4347e9ecbdee15c8018faea151337cb
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render, redirect from django.http import HttpResponse import datetime as dt from .models import Image # Create your views here. def welcome(request): new = Image.get_image() return render (request, 'index.html', {"new...
31.21875
93
0.670671
126
999
5.190476
0.444444
0.073395
0.116208
0.073395
0.229358
0.143731
0.143731
0.143731
0
0
0
0.005057
0.208208
999
31
94
32.225806
0.821745
0.045045
0
0
0
0
0.13775
0
0
0
0
0
0
1
0.130435
false
0
0.217391
0
0.521739
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
3659612a49754895190af5f0c3ac71666f4334ed
597
py
Python
movingbits.py
meneerhenk/BalCConLOC
d53bca1f15c050eda35450267e717fa991a09939
[ "MIT" ]
2
2019-09-22T20:23:04.000Z
2021-04-30T18:16:27.000Z
movingbits.py
meneerhenk/BalCConLOC
d53bca1f15c050eda35450267e717fa991a09939
[ "MIT" ]
1
2019-09-13T11:32:12.000Z
2019-09-13T11:32:12.000Z
movingbits.py
meneerhenk/BalCConLOC
d53bca1f15c050eda35450267e717fa991a09939
[ "MIT" ]
1
2019-09-15T11:04:45.000Z
2019-09-15T11:04:45.000Z
#!/usr/bin/env python import socket import time import random if __name__ == '__main__': UDP_IP = "192.168.1.255" UDP_PORT = 6454 MESSAGE = "KEEP ALIVE" sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) data = [0] * 300 green = [255, 0, 0] ...
31.421053
122
0.649916
102
597
3.647059
0.558824
0.096774
0
0
0
0
0
0
0
0
0
0.102041
0.179229
597
18
123
33.166667
0.657143
0.033501
0
0
0
0.058824
0.128472
0.074653
0
0
0
0
0
0
null
null
0
0.176471
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3659ceb2630b3f28c41993a1308f814bc77635ab
1,146
py
Python
tests/integer_factorization.py
Soy-yo/computer-algebra-algorithms
1a9c048a79f9334e5f8eb4cf19d77d311ab7aebe
[ "MIT" ]
1
2021-12-20T23:06:42.000Z
2021-12-20T23:06:42.000Z
tests/integer_factorization.py
Soy-yo/computer-algebra-algorithms
1a9c048a79f9334e5f8eb4cf19d77d311ab7aebe
[ "MIT" ]
null
null
null
tests/integer_factorization.py
Soy-yo/computer-algebra-algorithms
1a9c048a79f9334e5f8eb4cf19d77d311ab7aebe
[ "MIT" ]
null
null
null
import unittest from compalg import IZ, Var class IntegerFactorization(unittest.TestCase): def test_poly_factorization(self): x = Var('x') ring = IZ[x] methods = ['km', 'hl'] for method in methods: f = x + 1 self.assertCountEqual([f], ring.factor(f, meth...
29.384615
97
0.454625
155
1,146
3.296774
0.258065
0.027397
0.107632
0.166341
0.405088
0.405088
0.381605
0.176125
0.176125
0
0
0.048433
0.387435
1,146
38
98
30.157895
0.679487
0
0
0.076923
0
0
0.055846
0
0
0
0
0
0.192308
1
0.038462
false
0
0.076923
0
0.153846
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
365c571dc70987afd0573eed5ec7074f88082e36
12,054
py
Python
src/stk/molecular/topology_graphs/topology_graph/construction_state/construction_state.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
21
2018-04-12T16:25:24.000Z
2022-02-14T23:05:43.000Z
src/stk/molecular/topology_graphs/topology_graph/construction_state/construction_state.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
8
2019-03-19T12:36:36.000Z
2020-11-11T12:46:00.000Z
src/stk/molecular/topology_graphs/topology_graph/construction_state/construction_state.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
5
2018-08-07T13:00:16.000Z
2021-11-01T00:55:10.000Z
""" Construction State ================== """ from .graph_state import _GraphState from .molecule_state import _MoleculeState class ConstructionState: """ The state of the molecule and topology graph under construction. """ def __init__( self, building_block_vertices, edges...
24.253521
71
0.550606
1,217
12,054
5.253903
0.112572
0.044729
0.032843
0.026587
0.577573
0.453863
0.396622
0.331717
0.301533
0.264467
0
0.000385
0.353576
12,054
496
72
24.302419
0.8202
0.459516
0
0.301724
0
0
0
0
0
0
0
0
0
1
0.232759
false
0
0.017241
0
0.422414
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
366fa254c621a315ff1429c81a493d9d7125e6b6
903
py
Python
monocliche/model/Company.py
yash921/Monocliche
e500842d0e080beaafa8fd8241c567348c7b417d
[ "MIT" ]
null
null
null
monocliche/model/Company.py
yash921/Monocliche
e500842d0e080beaafa8fd8241c567348c7b417d
[ "MIT" ]
null
null
null
monocliche/model/Company.py
yash921/Monocliche
e500842d0e080beaafa8fd8241c567348c7b417d
[ "MIT" ]
null
null
null
from monocliche.model import Property, Game class Company(Property.Property): INCOME_MULTIPLIER = 4 INCOME_MULTIPLIER_BOTH_COMPANY = 10 def __init__(self, name: str, price: int, mortgaged_value: int): super().__init__(name, price, mortgaged_value) def calculate_rent(self, game: Game) -> int:...
34.730769
94
0.660022
116
903
4.887931
0.474138
0.112875
0.070547
0.095238
0.134039
0.134039
0
0
0
0
0
0.006135
0.277962
903
25
95
36.12
0.863497
0.223699
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
367735b386afb186deaf43894562d7fabb12d320
309
py
Python
tests/test_search.py
chdean/usajobs
f4366bf8c5c54c91669b89ccc57a6d6475c189e0
[ "MIT" ]
2
2016-08-24T05:54:19.000Z
2022-02-23T07:34:36.000Z
tests/test_search.py
chdean/usajobs
f4366bf8c5c54c91669b89ccc57a6d6475c189e0
[ "MIT" ]
1
2021-03-25T21:46:58.000Z
2021-03-25T21:46:58.000Z
tests/test_search.py
chdean/usajobs
f4366bf8c5c54c91669b89ccc57a6d6475c189e0
[ "MIT" ]
2
2018-02-11T00:40:38.000Z
2018-02-11T01:01:21.000Z
import usajobs import pytest import requests def test_search(): test_url = 'https://api.usa.gov/jobs/search.json?query=park+ranger&size=100' test_data = requests.get(test_url).json() results = usajobs.search('park ranger', step=5, as_dict=True) assert len(results) == len(test_data) # hack
28.090909
80
0.71521
47
309
4.574468
0.638298
0.065116
0
0
0
0
0
0
0
0
0
0.015152
0.145631
309
10
81
30.9
0.799242
0.012945
0
0
0
0.125
0.244224
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
36787cf501c638dfe21c322b693b9441befae848
554
py
Python
saleor/account/migrations/0023_auto_20180719_0520.py
elwoodxblues/saleor
5e4e4a4259a011d24b04ebd24c77c689de843fa1
[ "CC-BY-4.0" ]
15,337
2015-01-12T02:11:52.000Z
2021-10-05T19:19:29.000Z
saleor/account/migrations/0023_auto_20180719_0520.py
elwoodxblues/saleor
5e4e4a4259a011d24b04ebd24c77c689de843fa1
[ "CC-BY-4.0" ]
7,486
2015-02-11T10:52:13.000Z
2021-10-06T09:37:15.000Z
saleor/account/migrations/0023_auto_20180719_0520.py
aminziadna/saleor
2e78fb5bcf8b83a6278af02551a104cfa555a1fb
[ "CC-BY-4.0" ]
5,864
2015-01-16T14:52:54.000Z
2021-10-05T23:01:15.000Z
# Generated by Django 2.0.3 on 2018-07-19 10:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [("account", "0022_auto_20180718_0956")] operations = [ migrations.AlterModelOptions( name="user", options={ "permissions": ...
25.181818
68
0.518051
46
554
6.108696
0.76087
0.078292
0
0
0
0
0
0
0
0
0
0.087571
0.361011
554
21
69
26.380952
0.706215
0.081227
0
0
1
0
0.272189
0.045365
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
367de7de72c7cd2d65bda36a3ef9c65d6a9b994f
11,269
py
Python
invenio_communities/records/views.py
jrcastro2/invenio-communities
989c9de6da15ae57715816bb98b3cda507ce2901
[ "MIT" ]
null
null
null
invenio_communities/records/views.py
jrcastro2/invenio-communities
989c9de6da15ae57715816bb98b3cda507ce2901
[ "MIT" ]
null
null
null
invenio_communities/records/views.py
jrcastro2/invenio-communities
989c9de6da15ae57715816bb98b3cda507ce2901
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2020 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Blueprint definitions for records integration.""" import uuid from functools import wr...
34.25228
81
0.651078
1,219
11,269
5.824446
0.219032
0.056338
0.015211
0.018592
0.370282
0.348873
0.314789
0.248873
0.213662
0.180141
0
0.005714
0.254592
11,269
328
82
34.356707
0.839524
0.245186
0
0.336683
0
0
0.115068
0.061178
0
0
0
0.003049
0
1
0.065327
false
0.065327
0.075377
0
0.231156
0.035176
0
0
0
null
0
0
0
0
0
0
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
367e9705683c013371353fbb55a9cb9bbcd7bf57
8,135
py
Python
tests/test_repository_pypi.py
wgarlock/prelaunch
827b4520441fce537c4618421a3e815c933ab907
[ "BSD-2-Clause" ]
13
2017-06-15T07:35:39.000Z
2020-08-06T13:25:47.000Z
tests/test_repository_pypi.py
suutari-ai/pip-requ
93adbd63691cff1003cdc88868b20b2ad0c766cc
[ "BSD-2-Clause" ]
28
2017-06-18T12:02:50.000Z
2020-02-19T08:26:36.000Z
tests/test_repository_pypi.py
suutari-ai/pip-requ
93adbd63691cff1003cdc88868b20b2ad0c766cc
[ "BSD-2-Clause" ]
4
2018-04-28T11:14:51.000Z
2020-12-27T16:01:16.000Z
import os import mock import pytest from prequ._pip_compat import PIP_10_OR_NEWER, PIP_192_OR_NEWER, path_to_url from prequ.exceptions import DependencyResolutionFailed from prequ.repositories.pypi import PyPIRepository from prequ.scripts._repo import get_pip_command PY27_LINUX64_TAGS = [ ('cp27', 'cp27mu', 'man...
44.697802
82
0.754395
687
8,135
8.637555
0.305677
0.030671
0.023256
0.014156
0.119818
0.070779
0.065723
0.065723
0.043141
0.043141
0
0.272157
0.15673
8,135
181
83
44.944751
0.592857
0.006269
0
0.131579
0
0
0.461824
0.374335
0
0
0
0
0.052632
1
0.065789
false
0
0.065789
0.006579
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3684268bfaf83dc5a224edda9aab965beebb335a
864
py
Python
report/insert/expressions/scripts/settings.py
DunstanBecht/lpa-workspace
316db41fed08f856c376e7f8e2ff92f2af5ecf7d
[ "CC0-1.0" ]
null
null
null
report/insert/expressions/scripts/settings.py
DunstanBecht/lpa-workspace
316db41fed08f856c376e7f8e2ff92f2af5ecf7d
[ "CC0-1.0" ]
null
null
null
report/insert/expressions/scripts/settings.py
DunstanBecht/lpa-workspace
316db41fed08f856c376e7f8e2ff92f2af5ecf7d
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import numpy as np a, b = 0, 3200 geoord = ( #'circle', 'square', ) geoedgord = { 'circle': ('NEC', 'WOA'), 'square': ('NEC', 'WOA', 'GBB'), } disord = ( 'RDD', 'RRDD-E', 'RRDD-R', ) metord = ( 'simulation', 'expression', ) funord = { #"M"...
16
46
0.41088
105
864
3.380952
0.495238
0.016901
0.033803
0.067606
0.050704
0.050704
0
0
0
0
0
0.066561
0.269676
864
53
47
16.301887
0.496038
0.116898
0
0
0
0
0.237467
0
0
0
0
0
0
1
0
false
0
0.022727
0
0.022727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3685edd2fa8030e5b3e46684d076d86bde8ff709
953
py
Python
calibration/scores/quadratic.py
uu-sml/calibration
7bd1a2407f96f87e37d81eadaea7efeb14bb8a83
[ "MIT" ]
12
2019-11-14T03:31:24.000Z
2021-11-17T01:07:47.000Z
calibration/scores/quadratic.py
uu-sml/calibration
7bd1a2407f96f87e37d81eadaea7efeb14bb8a83
[ "MIT" ]
null
null
null
calibration/scores/quadratic.py
uu-sml/calibration
7bd1a2407f96f87e37d81eadaea7efeb14bb8a83
[ "MIT" ]
2
2019-11-14T03:31:25.000Z
2021-02-07T17:59:02.000Z
import numpy as np def quadratic_score(probs, y): """ Evaluate the logarithmic score of the probabilities `probs` with corresponding targets `y`. Probabilities `probs` should be of shape `(N, C)`, where `N` is the batch size and `C` is the number of targets. Targets `y` should be of shape `(N...
26.472222
77
0.599161
127
953
4.401575
0.425197
0.053667
0.059034
0.071556
0.121646
0.064401
0
0
0
0
0
0.011494
0.269675
953
35
78
27.228571
0.791667
0.293809
0
0
0
0
0.159375
0
0
0
0
0
0
1
0.1875
false
0
0.0625
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
3696ee9dd894f0b3164d1cbb912cb17c7b7694b0
2,049
py
Python
sunspec/core/test/fake/socket.py
samgalam/pysunspec
ace2b189fc0c146c8dac189d26bf54ff02d5f25e
[ "MIT" ]
76
2016-03-18T11:04:22.000Z
2022-03-17T21:44:32.000Z
sunspec/core/test/fake/socket.py
samgalam/pysunspec
ace2b189fc0c146c8dac189d26bf54ff02d5f25e
[ "MIT" ]
71
2016-03-22T10:55:41.000Z
2021-04-07T14:04:33.000Z
sunspec/core/test/fake/socket.py
samgalam/pysunspec
ace2b189fc0c146c8dac189d26bf54ff02d5f25e
[ "MIT" ]
50
2016-03-25T09:18:03.000Z
2021-04-10T18:11:32.000Z
""" Copyright (C) 2018 SunSpec Alliance 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 rights to use, copy, modify, merg...
32.015625
80
0.665203
287
2,049
4.66899
0.442509
0.065672
0.033582
0.01791
0.056716
0.032836
0
0
0
0
0
0.004013
0.270376
2,049
63
81
32.52381
0.892308
0.516837
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.233333
false
0
0
0
0.3
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
36a96fc4b4f9a1e28828a98eac0f7c1c49387b65
3,047
py
Python
kuryr_kubernetes/cni/binding/nested.py
scavnicka/kuryr-kubernetes
f009598f40f224cf59bb610d882534aa80ba3188
[ "Apache-2.0" ]
null
null
null
kuryr_kubernetes/cni/binding/nested.py
scavnicka/kuryr-kubernetes
f009598f40f224cf59bb610d882534aa80ba3188
[ "Apache-2.0" ]
null
null
null
kuryr_kubernetes/cni/binding/nested.py
scavnicka/kuryr-kubernetes
f009598f40f224cf59bb610d882534aa80ba3188
[ "Apache-2.0" ]
null
null
null
# All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
35.022989
78
0.662947
395
3,047
4.908861
0.427848
0.030944
0.039195
0.037133
0.137184
0.0918
0.061888
0.047447
0.047447
0.047447
0
0.002667
0.261569
3,047
86
79
35.430233
0.859111
0.358713
0
0.139535
0
0
0.022798
0
0
0
0
0.011628
0
1
0.186047
false
0.023256
0.139535
0.046512
0.44186
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
36b822f60967178fb04133eb0a6bd6541a241aad
1,238
py
Python
pclub/events/migrations/0001_initial.py
Programming-Club-Ahmedabad-University/PCW-WMC
252c54a3e6fc29bd4cd884ea92d2d314710855a9
[ "MIT" ]
4
2020-07-03T12:01:42.000Z
2020-07-04T06:02:49.000Z
pclub/events/migrations/0001_initial.py
Programming-Club-Ahmedabad-University/PCW-WMC
252c54a3e6fc29bd4cd884ea92d2d314710855a9
[ "MIT" ]
4
2021-06-09T17:56:42.000Z
2022-01-13T02:54:38.000Z
pclub/events/migrations/0001_initial.py
vinaykakkad/PCW-WMC
afe2e3e881e14f7847189eb95126325d0ee5e1ae
[ "MIT" ]
1
2020-07-03T12:01:45.000Z
2020-07-03T12:01:45.000Z
# Generated by Django 3.0.7 on 2020-06-23 03:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Events', fields=[ ...
35.371429
133
0.583199
125
1,238
5.664
0.504
0.033898
0.039548
0.062147
0.336158
0.336158
0.336158
0.223164
0.223164
0.223164
0
0.023411
0.275444
1,238
34
134
36.411765
0.765886
0.036349
0
0.37037
1
0
0.094878
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.222222
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
36b8ced4c0673d4899a2c0efaf61d7c50bb8c2ad
363
py
Python
python/hackerrank/difference/main.py
imjoseangel/sandbox
bc4ff74981faf91eb1a1f777d01fcfd13d6f5147
[ "MIT" ]
null
null
null
python/hackerrank/difference/main.py
imjoseangel/sandbox
bc4ff74981faf91eb1a1f777d01fcfd13d6f5147
[ "MIT" ]
null
null
null
python/hackerrank/difference/main.py
imjoseangel/sandbox
bc4ff74981faf91eb1a1f777d01fcfd13d6f5147
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (division, absolute_import, print_function, unicode_literals) def main(): a = int(input()) b = map(int, input().split()) c = int(input()) d = map(int, input().split()) print(len(set(b).difference(set(d))...
19.105263
66
0.564738
46
363
4.130435
0.673913
0.168421
0.115789
0.168421
0
0
0
0
0
0
0
0.003663
0.247934
363
18
67
20.166667
0.692308
0.115702
0
0
0
0
0.025078
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.2
0.2
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
36bee8fba12d1a0562f199189d683049d9538c25
1,782
py
Python
2020/4/main.py
klrkdekira/adventofcode
8384d919093712c95b707b8e3f293dbfba22be74
[ "BSD-2-Clause" ]
1
2020-12-01T08:41:55.000Z
2020-12-01T08:41:55.000Z
2020/4/main.py
klrkdekira/adventofcode
8384d919093712c95b707b8e3f293dbfba22be74
[ "BSD-2-Clause" ]
null
null
null
2020/4/main.py
klrkdekira/adventofcode
8384d919093712c95b707b8e3f293dbfba22be74
[ "BSD-2-Clause" ]
null
null
null
import re def to_dict(s): items = s.split() d = {} for item in items: key, value = item.split(':') d[key] = value return d REQUIRED = ['byr','iyr','eyr','hgt','hcl','ecl','pid'] REQUIRED_COUNT = len(REQUIRED) def validate(item): found = 0 for key in item.keys(): if key...
28.285714
83
0.511223
225
1,782
3.986667
0.395556
0.054627
0.046823
0.050167
0
0
0
0
0
0
0
0.034252
0.328283
1,782
62
84
28.741935
0.715121
0
0
0.071429
0
0
0.064534
0
0
0
0
0
0
1
0.053571
false
0.089286
0.017857
0
0.285714
0.035714
0
0
0
null
0
0
0
0
0
0
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
36c5c7d137303df58ba7572267798f8dbf252179
2,070
py
Python
projects/signaltransfer/signaltransfer.py
imrehg/labhardware
44e9cb120b20627cecbdd3ce01e07e3a282b7eb1
[ "MIT" ]
2
2016-07-13T09:56:38.000Z
2019-04-02T12:09:38.000Z
projects/signaltransfer/signaltransfer.py
imrehg/labhardware
44e9cb120b20627cecbdd3ce01e07e3a282b7eb1
[ "MIT" ]
null
null
null
projects/signaltransfer/signaltransfer.py
imrehg/labhardware
44e9cb120b20627cecbdd3ce01e07e3a282b7eb1
[ "MIT" ]
null
null
null
""" Transfering data from Stanford Research SR785 Signal analyzer """ import ConfigParser import numpy as np import sys from time import strftime ## For Windows: import matplotlib matplotlib.rcParams['backend'] = 'wx' import matplotlib.pylab as pl # Own modules sys.path.append("../../") sys.path.append("../../drivers...
26.883117
100
0.583575
267
2,070
4.483146
0.479401
0.016708
0.025063
0.021721
0.025063
0
0
0
0
0
0
0.036424
0.270531
2,070
76
101
27.236842
0.756291
0.111594
0
0.142857
0
0.017857
0.149687
0
0
0
0
0
0
0
null
null
0.017857
0.125
null
null
0.035714
0
0
0
null
0
0
0
0
0
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
36c61f115d8a8060ad6085a29fb3388ddf77c96e
929
py
Python
butter/build/clone.py
regnarg/butter
31e8c280e6fc061fd2e146b092843f1983c67194
[ "BSD-3-Clause" ]
null
null
null
butter/build/clone.py
regnarg/butter
31e8c280e6fc061fd2e146b092843f1983c67194
[ "BSD-3-Clause" ]
null
null
null
butter/build/clone.py
regnarg/butter
31e8c280e6fc061fd2e146b092843f1983c67194
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from cffi import FFI ffi = FFI() ffi.cdef(""" #define CLONE_FS ... #define CLONE_NEWNS ... #define CLONE_NEWUTS ... #define CLONE_NEWIPC ... #define CLONE_NEWUSER ... #define CLONE_NEWPID ... #define CLONE_NEWNET ... //#long __clone(unsigned long flags, void *child_stack, ...); lon...
20.195652
61
0.645856
125
929
4.568
0.416
0.134851
0.119089
0.14711
0.504378
0.504378
0.42732
0.42732
0.42732
0.42732
0
0.001335
0.193757
929
45
62
20.644444
0.761015
0.021529
0
0.121212
0
0
0.852423
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.060606
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
36c7ca2a498999292fb9d496495f0fa59af7b219
343
py
Python
2019/03-volga/web-shop2/solve.py
wani-hackase/wani-writeup
dd4ad0607d2f2193ad94c1ce65359294aa591681
[ "MIT" ]
25
2019-03-06T11:55:56.000Z
2021-05-21T22:07:14.000Z
2019/03-volga/web-shop2/solve.py
wani-hackase/wani-writeup
dd4ad0607d2f2193ad94c1ce65359294aa591681
[ "MIT" ]
1
2020-06-25T07:27:15.000Z
2020-06-25T07:27:15.000Z
2019/03-volga/web-shop2/solve.py
wani-hackase/wani-writeup
dd4ad0607d2f2193ad94c1ce65359294aa591681
[ "MIT" ]
1
2019-02-14T00:42:28.000Z
2019-02-14T00:42:28.000Z
import requests login_url = "http://shop2.q.2019.volgactf.ru/loginProcess" target_url = "http://shop2.q.2019.volgactf.ru/profile" payload0 = {'name': 'wani', 'pass': 'xxxxxxxx'} payload1 = {'name': 'wani', 'CartItems[0].id': 4} s = requests.Session() r = s.post(login_url, data=payload0) r = s.post(target_url, data=p...
26.384615
58
0.693878
52
343
4.5
0.576923
0.068376
0.102564
0.111111
0.230769
0.230769
0.230769
0
0
0
0
0.051948
0.102041
343
12
59
28.583333
0.707792
0
0
0
0
0
0.367347
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
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
0
0
0
1
0
0
0
0
0
1
36c90c08bdd98899174f2e239fdb20e9265b804f
1,365
py
Python
ecomerce/auth/jwt.py
AlexandruScrob/fast_api_proj_2
9aca5d48ab3e42933747b23ff04c6d4f3487d93e
[ "MIT" ]
null
null
null
ecomerce/auth/jwt.py
AlexandruScrob/fast_api_proj_2
9aca5d48ab3e42933747b23ff04c6d4f3487d93e
[ "MIT" ]
null
null
null
ecomerce/auth/jwt.py
AlexandruScrob/fast_api_proj_2
9aca5d48ab3e42933747b23ff04c6d4f3487d93e
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from typing import Any, Dict from fastapi import Depends, HTTPException, status from fastapi.security import OAuth2PasswordBearer from jose import JWTError, jwt from . import schema SECRET_KEY: str = ( "BFB971EC54AB24DBA06EB40958089C0BF635B9B1079A0518667AF19FACE2ABFA" #...
27.3
79
0.731868
156
1,365
6.230769
0.474359
0.102881
0.034979
0.049383
0
0
0
0
0
0
0
0.043088
0.183883
1,365
49
80
27.857143
0.829443
0.00293
0
0
0
0
0.09713
0.047093
0
0
0
0
0
1
0.090909
false
0.060606
0.181818
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
36c9221154bd12f17a7e98bdc9ebf46c96b72557
2,380
py
Python
pysnmp-with-texts/LINKSYS-WLAN-ACCESS-POINT-REF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/LINKSYS-WLAN-ACCESS-POINT-REF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/LINKSYS-WLAN-ACCESS-POINT-REF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module LINKSYS-WLAN-ACCESS-POINT-REF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LINKSYS-WLAN-ACCESS-POINT-REF-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:07:23 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using P...
95.2
505
0.778571
263
2,380
7.038023
0.509506
0.074554
0.056726
0.075635
0.356564
0.249595
0.204214
0.193409
0.193409
0.193409
0
0.066483
0.083613
2,380
24
506
99.166667
0.78221
0.151261
0
0
0
0.0625
0.352561
0.038289
0
0
0
0
0
1
0
false
0
0.375
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
36ce440bd3b967f93d0cb79a22661bbd18c8a493
1,548
py
Python
Gym/web_athlete/models.py
Ahmadrezasamadi/django-internship
03f4d6d7b8d8ebefc70c2e921b64888afc3e6b28
[ "MIT" ]
6
2019-11-24T20:30:36.000Z
2021-09-20T13:12:54.000Z
Gym/web_athlete/models.py
ahmadreza-smdi/django-internship
03f4d6d7b8d8ebefc70c2e921b64888afc3e6b28
[ "MIT" ]
2
2021-06-10T20:43:43.000Z
2021-08-10T15:10:55.000Z
Gym/web_athlete/models.py
ahmadreza-smdi/django-internship
03f4d6d7b8d8ebefc70c2e921b64888afc3e6b28
[ "MIT" ]
1
2019-11-24T20:35:45.000Z
2019-11-24T20:35:45.000Z
from django.db import models from django.contrib.auth.models import User import datetime # Create your models here. class Time_option(models.Model): timee = models.CharField(max_length = 10) def __str__(self): return self.timee class Fields(models.Model): name = models.CharField(max_length = ...
29.769231
75
0.678295
191
1,548
5.314136
0.371728
0.062069
0.106404
0.141872
0.474877
0.447291
0.275862
0.275862
0
0
0
0.012068
0.197028
1,548
52
76
29.769231
0.802896
0.015504
0
0.225
0
0
0.0348
0
0
0
0
0
0
1
0.075
false
0
0.075
0.075
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
36d1e43e9af9abcfc9dcc8b454fae533d081599b
839
py
Python
appengine/trooper_o_matic/appengine_module/trooper_o_matic/trees.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/trooper_o_matic/appengine_module/trooper_o_matic/trees.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/trooper_o_matic/appengine_module/trooper_o_matic/trees.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Lists the masters for the given tree. """ import base64 import json import logging import re from google.appengine.api import urlfetch URL = ('https...
31.074074
76
0.735399
126
839
4.84127
0.65873
0.02623
0.059016
0
0
0
0
0
0
0
0
0.019417
0.140644
839
26
77
32.269231
0.82663
0.256257
0
0
0
0
0.278502
0.089577
0
0
0
0
0
1
0.066667
false
0
0.333333
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
1
0
0
0
0
1
36d65cd9c1011389109106c33a964f4ac4987c82
5,929
py
Python
metaheuristicas/umda.py
edwinb-ai/intelicompu
7ed4c51c789d0b71aac5f507d800cc57ba752fe4
[ "Apache-2.0" ]
1
2020-01-10T03:22:50.000Z
2020-01-10T03:22:50.000Z
metaheuristicas/umda.py
edwinb-ai/intelicompu
7ed4c51c789d0b71aac5f507d800cc57ba752fe4
[ "Apache-2.0" ]
null
null
null
metaheuristicas/umda.py
edwinb-ai/intelicompu
7ed4c51c789d0b71aac5f507d800cc57ba752fe4
[ "Apache-2.0" ]
null
null
null
import numpy as np class Poblacion: """Posibles soluciones del óptimo de una función. Esta clase crea posibles soluciones para una función a optimizar. Toma la dimensión del espacio, los límites de búsqueda y el número de elementos a tomar en cuenta. Attributes: dimension: Un entero que dete...
47.814516
109
0.673638
752
5,929
5.268617
0.273936
0.044422
0.030288
0.015144
0.178698
0.131752
0.131752
0.131752
0.089854
0.089854
0
0.003675
0.265643
5,929
123
110
48.203252
0.906293
0.59268
0
0.122449
0
0
0
0
0
0
0
0.01626
0
1
0.142857
false
0
0.020408
0
0.244898
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
36dfebed0d983465dedea1ff0e8a2973137bc475
603
py
Python
demoproject/filter/views.py
peopledoc/django-generic-filters
1eac5d3582a79df66ecf90818e233dd2a7e4958c
[ "BSD-3-Clause" ]
20
2016-05-22T19:09:04.000Z
2022-03-29T08:02:44.000Z
demoproject/filter/views.py
peopledoc/django-generic-filters
1eac5d3582a79df66ecf90818e233dd2a7e4958c
[ "BSD-3-Clause" ]
14
2016-05-10T12:16:02.000Z
2022-03-09T06:20:09.000Z
demoproject/filter/views.py
peopledoc/django-generic-filters
1eac5d3582a79df66ecf90818e233dd2a7e4958c
[ "BSD-3-Clause" ]
5
2016-06-27T21:34:54.000Z
2020-06-08T09:32:18.000Z
from django.contrib.auth.models import User from demoproject.filter.forms import UserListForm from django_genericfilters.views import FilteredListView class UserListView(FilteredListView): # Normal ListView options template_name = "user/user_list.html" paginate_by = 10 context_object_name = "users" ...
27.409091
68
0.746269
71
603
6.070423
0.633803
0.046404
0
0
0
0
0
0
0
0
0
0.003968
0.164179
603
21
69
28.714286
0.85119
0.079602
0
0
0
0
0.17029
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.923077
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
36e05e19ef00e6ea5bf5609970956bfab2248fa5
1,718
py
Python
miqa/core/migrations/0013_evaluations.py
curtislisle/miqa
d7220e1ab9bdacce9e4344ba6549f16fe710862a
[ "Apache-2.0" ]
29
2019-01-23T20:14:03.000Z
2022-03-24T01:07:10.000Z
miqa/core/migrations/0013_evaluations.py
curtislisle/miqa
d7220e1ab9bdacce9e4344ba6549f16fe710862a
[ "Apache-2.0" ]
373
2019-07-31T01:26:21.000Z
2022-03-31T16:27:55.000Z
miqa/core/migrations/0013_evaluations.py
curtislisle/miqa
d7220e1ab9bdacce9e4344ba6549f16fe710862a
[ "Apache-2.0" ]
16
2019-08-08T19:27:56.000Z
2022-03-30T20:05:42.000Z
# Generated by Django 3.2.7 on 2021-09-21 12:58 import uuid from django.db import migrations, models import django.db.models.deletion def default_evaluation_model_mapping(): return {'ncanda-t1spgr-v1': 'MIQAT1-0', 'ncanda-mprage-v1': 'MIQAT1-0'} class Migration(migrations.Migration): replaces = [ ...
28.633333
100
0.508731
151
1,718
5.615894
0.523179
0.028302
0.049528
0.051887
0
0
0
0
0
0
0
0.05709
0.36787
1,718
59
101
29.118644
0.723757
0.026193
0
0.183673
1
0
0.186715
0.049072
0
0
0
0
0
1
0.020408
false
0
0.061224
0.020408
0.183673
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
36e85cfe21866e9ffaac15ca2b3a99004ade4c69
2,265
py
Python
pub_site/src/pub_site/notify/task.py
webee/pay
b48c6892686bf3f9014bb67ed119506e41050d45
[ "W3C" ]
1
2019-10-14T11:51:49.000Z
2019-10-14T11:51:49.000Z
pub_site/src/pub_site/notify/task.py
webee/pay
b48c6892686bf3f9014bb67ed119506e41050d45
[ "W3C" ]
null
null
null
pub_site/src/pub_site/notify/task.py
webee/pay
b48c6892686bf3f9014bb67ed119506e41050d45
[ "W3C" ]
null
null
null
# coding=utf-8 from __future__ import unicode_literals from datetime import datetime, timedelta from pub_site.constant import WithdrawState from pub_site.withdraw import dba as withdraw_dba from pub_site import pay_client from pub_site.sms import sms from tools.utils import to_bankcard_mask def fetch_notify_withdraw...
32.826087
122
0.713907
316
2,265
4.787975
0.291139
0.166557
0.029081
0.052875
0.240582
0.240582
0.165235
0.165235
0.103106
0.048909
0
0.00385
0.197351
2,265
68
123
33.308824
0.828383
0.015894
0
0.078431
0
0.019608
0.103324
0.050314
0
0
0
0.014706
0
1
0.078431
false
0
0.137255
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
36e8969ee3504f8bc3887fd5bf17c581ba0f0d41
9,869
py
Python
coba/learners/bandit.py
zmhammedi/coba
90cdeb7b781e1ef498cd5a989bd3601b85a2fad0
[ "BSD-3-Clause" ]
2
2021-10-01T18:25:11.000Z
2022-02-15T19:17:10.000Z
coba/learners/bandit.py
zmhammedi/coba
90cdeb7b781e1ef498cd5a989bd3601b85a2fad0
[ "BSD-3-Clause" ]
null
null
null
coba/learners/bandit.py
zmhammedi/coba
90cdeb7b781e1ef498cd5a989bd3601b85a2fad0
[ "BSD-3-Clause" ]
1
2021-10-01T18:25:13.000Z
2021-10-01T18:25:13.000Z
"""A collection of simple bandit algorithms for comparison purposes.""" import math from collections import defaultdict from typing import Any, Dict, Tuple, Sequence, Optional, cast, Hashable from coba.simulations import Context, Action from coba.statistics import OnlineVariance from coba.learners.core import Learne...
39.318725
123
0.626913
1,337
9,869
4.551982
0.157068
0.025633
0.039435
0.059152
0.640158
0.621755
0.613046
0.604174
0.581006
0.581006
0
0.007515
0.285338
9,869
251
124
39.318725
0.855381
0.449083
0
0.352941
0
0
0.0211
0
0
0
0
0
0.011765
1
0.211765
false
0.011765
0.070588
0.023529
0.482353
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
36eb12a95b9f4287f8dcff1da313823c2f7e50aa
477
py
Python
vsitapp/migrations/0007_auto_20180322_0012.py
Rishabh570/refresher
7eca89c42a38fa2bc59957c85469a2627d640e1b
[ "MIT" ]
null
null
null
vsitapp/migrations/0007_auto_20180322_0012.py
Rishabh570/refresher
7eca89c42a38fa2bc59957c85469a2627d640e1b
[ "MIT" ]
6
2020-06-05T18:09:58.000Z
2022-02-10T08:09:32.000Z
vsitapp/migrations/0007_auto_20180322_0012.py
Rishabh570/refresher
7eca89c42a38fa2bc59957c85469a2627d640e1b
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-03-21 18:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('vsitapp', '0006_add_django_vote_app_for_voting'), ] operations = [ migrations.AlterModelOptions( name='post', ...
21.681818
60
0.538784
45
477
5.555556
0.755556
0.064
0
0
0
0
0
0
0
0
0
0.06051
0.341719
477
21
61
22.714286
0.735669
0.09434
0
0.133333
1
0
0.163814
0.085575
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
36ebdb4bb26a43ad8eed5736761367b5f7d06f96
951
py
Python
setup.py
renaudll/maya-mock
be5754affe03b06b7960872ac21d7ff04e8c5002
[ "MIT" ]
23
2018-12-05T10:54:45.000Z
2021-06-04T12:54:13.000Z
setup.py
renaudll/maya-mock
be5754affe03b06b7960872ac21d7ff04e8c5002
[ "MIT" ]
null
null
null
setup.py
renaudll/maya-mock
be5754affe03b06b7960872ac21d7ff04e8c5002
[ "MIT" ]
3
2020-04-24T05:24:58.000Z
2020-05-14T16:51:31.000Z
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="maya_mock", version="1.0", description="Mock for Autodesk Maya", author="Renaud Lessard Larouche", author_email="sigmao@gmail.com", url="https://github.com/renaudll/maya-mock", packages=find_packages(where="src"...
33.964286
80
0.61409
99
951
5.818182
0.737374
0.041667
0.086806
0
0
0
0
0
0
0
0
0.009434
0.219769
951
27
81
35.222222
0.766846
0.02103
0
0
0
0
0.539785
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
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
36f26b792e450ad80d82bb34dcf45edb6438cd91
1,375
py
Python
cmumosei/tools/05_generate_pair_list.py
kazuki-cho/data_maintenance_tools
19a71ff3cf5c4a283c12a0e709c892eb6d913c51
[ "Apache-2.0" ]
null
null
null
cmumosei/tools/05_generate_pair_list.py
kazuki-cho/data_maintenance_tools
19a71ff3cf5c4a283c12a0e709c892eb6d913c51
[ "Apache-2.0" ]
null
null
null
cmumosei/tools/05_generate_pair_list.py
kazuki-cho/data_maintenance_tools
19a71ff3cf5c4a283c12a0e709c892eb6d913c51
[ "Apache-2.0" ]
null
null
null
import pickle MOSEI_DATA = '../data/cmumosei_jp_data.pkl' OUTPUT = '../data/pair_segments.pkl' def pairing(video_id, segment_no, segment_list): pair_no = 0 segment_no_list = segment_list[str(video_id)] for i in segment_no_list: if int(segment_no) < int(i): if pair_no == 0: ...
28.061224
70
0.617455
192
1,375
4.057292
0.234375
0.150193
0.107831
0.082157
0.417202
0.390244
0.390244
0.302953
0.2362
0.2362
0
0.002982
0.268364
1,375
49
71
28.061224
0.771372
0
0
0.228571
0
0
0.074128
0.038517
0
0
0
0
0
0
null
null
0
0.028571
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
36fc0270cc1f44fc3a5583ee6aa46fda98bece93
303
py
Python
LinkedListCycle/LinkedlistCycle01.py
tnkteja/notthisagain
85e2b2cbea1298a052986e9dfe5e73d022b537f3
[ "MIT" ]
null
null
null
LinkedListCycle/LinkedlistCycle01.py
tnkteja/notthisagain
85e2b2cbea1298a052986e9dfe5e73d022b537f3
[ "MIT" ]
null
null
null
LinkedListCycle/LinkedlistCycle01.py
tnkteja/notthisagain
85e2b2cbea1298a052986e9dfe5e73d022b537f3
[ "MIT" ]
null
null
null
def has_cycle(head): slowref=head if not slowref or not slowref.next: return False fastref=head.next.next while slowref != fastref: slowref=slowref.next if not slowref or not slowref.next: return False fastref=fastref.next.next return True
27.545455
43
0.636964
40
303
4.8
0.35
0.208333
0.125
0.145833
0.479167
0.479167
0.479167
0.479167
0.479167
0.479167
0
0
0.30033
303
11
44
27.545455
0.90566
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.363636
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
36fd49fdb0e3d58a6d91f526adddd205a8f7d08a
3,047
py
Python
khl/bot/parser.py
TWT233/khl.py
6f9a795b85bac90b1417c93434dcda1bb2a6012e
[ "MIT" ]
44
2020-12-20T04:17:42.000Z
2022-03-19T20:05:29.000Z
khl/bot/parser.py
TWT233/khl.py
6f9a795b85bac90b1417c93434dcda1bb2a6012e
[ "MIT" ]
17
2021-01-19T13:07:42.000Z
2022-02-25T03:05:22.000Z
khl/bot/parser.py
TWT233/khl.py
6f9a795b85bac90b1417c93434dcda1bb2a6012e
[ "MIT" ]
22
2020-12-18T15:39:59.000Z
2022-03-21T21:07:37.000Z
import asyncio import copy import inspect import logging from typing import Dict, Any, Callable, List, Tuple log = logging.getLogger(__name__) class Parser: """ deal with a list of tokens made from Lexer, convert their type to match the command.handler """ _parse_funcs: Dict[Any, Callable] = { ...
32.414894
98
0.605185
357
3,047
5.067227
0.361345
0.038695
0.024323
0.043118
0.113875
0.039801
0
0
0
0
0
0.002821
0.301936
3,047
93
99
32.763441
0.847673
0.212012
0
0.074074
0
0
0.04424
0
0
0
0
0.021505
0
1
0.111111
false
0.018519
0.092593
0
0.351852
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
7fc4e7d21ce732705ab8bb00b3b47719d46c7d73
401
py
Python
dcodex_lectionary/migrations/0006_auto_20190927_1634.py
rbturnbull/dcodex_lectionary
9a4787eb353d09fef023cd82af8859a7ee041aee
[ "Apache-2.0" ]
null
null
null
dcodex_lectionary/migrations/0006_auto_20190927_1634.py
rbturnbull/dcodex_lectionary
9a4787eb353d09fef023cd82af8859a7ee041aee
[ "Apache-2.0" ]
2
2021-08-09T01:11:59.000Z
2021-08-09T01:12:49.000Z
dcodex_lectionary/migrations/0006_auto_20190927_1634.py
rbturnbull/dcodex_lectionary
9a4787eb353d09fef023cd82af8859a7ee041aee
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.2 on 2019-09-27 06:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dcodex_lectionary', '0005_auto_20190921_1617'), ] operations = [ migrations.AlterModelOptions( name='lectioninsystem', optio...
22.277778
80
0.625935
43
401
5.627907
0.813953
0.016529
0
0
0
0
0
0
0
0
0
0.10299
0.249377
401
17
81
23.588235
0.700997
0.112219
0
0
1
0
0.271186
0.064972
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
7fcc29c3ef753384a4ae43da3aeea8c8b325f9ab
408
py
Python
Regex_Sheet.py
HeyIamJames/PyGames
ce2d667b0318a4c663933b2fce842d191f54bdc1
[ "MIT" ]
1
2017-03-20T06:22:25.000Z
2017-03-20T06:22:25.000Z
Regex_Sheet.py
HeyIamJames/PyGames
ce2d667b0318a4c663933b2fce842d191f54bdc1
[ "MIT" ]
null
null
null
Regex_Sheet.py
HeyIamJames/PyGames
ce2d667b0318a4c663933b2fce842d191f54bdc1
[ "MIT" ]
null
null
null
#cheet sheet = https://www.debuggex.com/cheatsheet/regex/python #return all ints of len 6 import re re.findall(r"\D(\d{6})\D", s) #include 6+ only len 6 = /([\W\w])\d{6} #only 6 ^\D*\d{15}\D*$ #how to replace char re.sub('[d]', ' ', x) >>> str = "h3110 23 cat 444.4 rabbit 11 2 dog" >>> [int(s) for s in str.split...
16.32
63
0.578431
82
408
2.878049
0.621951
0.033898
0
0
0
0
0
0
0
0
0
0.083582
0.178922
408
24
64
17
0.620896
0.330882
0
0
0
0
0.214286
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7fcd831a39b8004d8d3bcb12533cf3e918ccb6b9
6,689
py
Python
experiment/build/builder.py
dokyungs/fuzzbench
83d265f8afdda558f664175b5e16f77d5bcee0e5
[ "Apache-2.0" ]
1
2021-03-30T01:23:33.000Z
2021-03-30T01:23:33.000Z
experiment/build/builder.py
zzyyrr/fuzzbench
7805093436f36ddaef155da8b045da2b57ec02b2
[ "Apache-2.0" ]
4
2020-07-28T19:00:26.000Z
2020-11-10T01:09:38.000Z
experiment/build/builder.py
zzyyrr/fuzzbench
7805093436f36ddaef155da8b045da2b57ec02b2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2020 Google LLC # # 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...
36.955801
80
0.681268
842
6,689
5.27791
0.312352
0.040504
0.045005
0.012826
0.182268
0.130063
0.084608
0.041404
0.041404
0.019352
0
0.00428
0.231574
6,689
180
81
37.161111
0.860311
0.303184
0
0.130841
0
0
0.123354
0
0
0
0
0.011111
0.009346
1
0.074766
false
0
0.149533
0
0.317757
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
7fce949a9400796354382daf5fe3bd06e31cea68
526
py
Python
src/info.py
Naddy7706/Electric
2501a1e87f78b81bdd5c85fbc4f9d44609a8598d
[ "Apache-2.0" ]
null
null
null
src/info.py
Naddy7706/Electric
2501a1e87f78b81bdd5c85fbc4f9d44609a8598d
[ "Apache-2.0" ]
null
null
null
src/info.py
Naddy7706/Electric
2501a1e87f78b81bdd5c85fbc4f9d44609a8598d
[ "Apache-2.0" ]
null
null
null
__title__ = 'electric' __description__ = "A package manager for Windows, MacOS And Linux!" __url__ = 'https://github.com/TheBossProSniper/Electric' __version__ = '0.0.1' __author__ = 'Electric Inc.' __credits__ = "" __license__ = """Apache License 2.0 A permissive license whose main conditions require preservation of...
32.875
67
0.785171
67
526
5.746269
0.80597
0
0
0
0
0
0
0
0
0
0
0.010989
0.134981
526
15
68
35.066667
0.835165
0
0
0
0
0
0.768061
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
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
7fd05a0c92b56b9a1c1c46f49b23b796f0212e2c
744
py
Python
teryt/exceptions.py
stijm/teryt
ed0c2fed3674e17119db624b1859e665cbf798b9
[ "MIT" ]
1
2021-02-09T13:41:16.000Z
2021-02-09T13:41:16.000Z
teryt/exceptions.py
stijm/teryt
ed0c2fed3674e17119db624b1859e665cbf798b9
[ "MIT" ]
null
null
null
teryt/exceptions.py
stijm/teryt
ed0c2fed3674e17119db624b1859e665cbf798b9
[ "MIT" ]
null
null
null
""" Exceptions. """ # This is the part of *teryt* library. # Author: Stim (stijm), 2021 # License: MIT class Error(Exception): """ An error. """ class ResourceError(Exception): """ A resource error. """ class MissingResourcesError(ResourceError): """ Missing resources error. """ class ErroneousUnit...
17.714286
43
0.655914
75
744
6.56
0.533333
0.162602
0.073171
0.113821
0.115854
0
0
0
0
0
0
0.006667
0.193548
744
41
44
18.146341
0.806667
0.397849
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7fd08991ec50d48eeda0509ad76e102a6981a364
2,842
py
Python
plugin/plugins/license_manager_plugins/nagios/arguments.py
crazy-canux/xPlugin_Monitoring
4a66d26f9d2982609489eaa0f57d6afb16aca37c
[ "Apache-2.0" ]
2
2015-12-17T04:00:30.000Z
2015-12-22T11:49:01.000Z
plugin/plugins/license_manager_plugins/nagios/arguments.py
crazy-canux/xPlugin_Monitoring
4a66d26f9d2982609489eaa0f57d6afb16aca37c
[ "Apache-2.0" ]
null
null
null
plugin/plugins/license_manager_plugins/nagios/arguments.py
crazy-canux/xPlugin_Monitoring
4a66d26f9d2982609489eaa0f57d6afb16aca37c
[ "Apache-2.0" ]
1
2017-02-20T22:57:17.000Z
2017-02-20T22:57:17.000Z
# -*- coding: utf-8 -*- # Copyright (C) Canux CHENG <canuxcheng@gmail.com> # # 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 rights to ...
43.060606
79
0.603448
334
2,842
5.08982
0.508982
0.051765
0.063529
0.033529
0.051765
0.051765
0.051765
0.051765
0.051765
0
0
0.003564
0.308937
2,842
65
80
43.723077
0.862016
0.399367
0
0.083333
0
0
0.300484
0.012696
0
0
0
0
0
0
null
null
0
0.055556
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
7fd0f1ae83b9524898aed55dc0831051d3380ea9
17,171
py
Python
tools/obsolete/databaseTools.py
nepahwin/persephone
73173dd9ba9c49bab2f0a424f6e41d51e4d1e170
[ "Apache-2.0" ]
4
2017-05-27T15:52:38.000Z
2021-04-06T13:51:03.000Z
tools/obsolete/databaseTools.py
nepahwin/persephone
73173dd9ba9c49bab2f0a424f6e41d51e4d1e170
[ "Apache-2.0" ]
1
2016-09-16T02:00:32.000Z
2016-09-16T02:00:32.000Z
tools/obsolete/databaseTools.py
nepahwin/persephone
73173dd9ba9c49bab2f0a424f6e41d51e4d1e170
[ "Apache-2.0" ]
1
2015-08-13T15:15:44.000Z
2015-08-13T15:15:44.000Z
#!/usr/bin/python # ================ # databaseTools.py # ================ # # See README.md # # =============== # Based on RadioDBTools.py by Ben Wise. # =============== # # This code is heavily based upon an open source code developed by Ben Wise: # # ----------------------------...
35.624481
93
0.48349
1,856
17,171
4.396552
0.175647
0.024877
0.013725
0.015686
0.548652
0.506373
0.499877
0.460662
0.448284
0.429044
0
0.013978
0.36253
17,171
481
94
35.698545
0.7315
0.062256
0
0.573935
0
0
0.249001
0.012491
0
0
0
0
0
1
0.015038
false
0.077694
0.022556
0
0.0401
0.14787
0
0
0
null
0
0
0
0
0
0
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
7fd1fdd575a940f3e492cd8dffba1a343e4ad353
1,843
py
Python
bender_service/bender_service/urls.py
Dreem-Organization/bender-api
9ddc817f130b853127a1925b2a9dced2662f66fc
[ "MIT" ]
null
null
null
bender_service/bender_service/urls.py
Dreem-Organization/bender-api
9ddc817f130b853127a1925b2a9dced2662f66fc
[ "MIT" ]
2
2021-03-19T22:20:06.000Z
2021-06-10T21:17:12.000Z
bender_service/bender_service/urls.py
Dreem-Organization/bender-api
9ddc817f130b853127a1925b2a9dced2662f66fc
[ "MIT" ]
null
null
null
"""bender URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
38.395833
104
0.685296
269
1,843
4.635688
0.401487
0.038492
0.048115
0.019246
0.204491
0.148356
0.114675
0.060144
0
0
0
0.016139
0.159523
1,843
47
105
39.212766
0.788896
0.471514
0
0
0
0.05
0.305613
0.14657
0
0
0
0
0
1
0
false
0.1
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7fd6a5deb178b3649b1b829b2cd2c2fa1d1cf90e
584
py
Python
tests/test_util/lfsr/test_lfsr.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
14
2017-10-08T09:16:10.000Z
2021-11-27T19:12:24.000Z
tests/test_util/lfsr/test_lfsr.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
7
2018-04-12T21:33:49.000Z
2018-08-21T22:14:20.000Z
tests/test_util/lfsr/test_lfsr.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
3
2018-07-24T04:55:02.000Z
2019-12-30T08:12:39.000Z
import pytest import mantle from ..harness import show def com(name, main): import magma from magma.testing import check_files_equal name += '_' + magma.mantle_target build = 'build/' + name gold = 'gold/' + name magma.compile(build, main) assert check_files_equal(__file__, build+'.v', go...
27.809524
65
0.67637
83
584
4.554217
0.445783
0.079365
0.119048
0.111111
0.15873
0.15873
0
0
0
0
0
0.012526
0.179795
584
20
66
29.2
0.776618
0
0
0
0
0
0.068493
0
0
0
0
0
0.117647
1
0.117647
false
0
0.352941
0
0.470588
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
7fda83615387e78457a36be3b0db520fba78e184
3,230
py
Python
checkOutCart.py
LoTerence/figpin-buybot
7caba565d850540fbfae9ab0f120f0204b620d45
[ "MIT" ]
1
2020-10-13T14:50:02.000Z
2020-10-13T14:50:02.000Z
checkOutCart.py
LoTerence/figpin-buybot
7caba565d850540fbfae9ab0f120f0204b620d45
[ "MIT" ]
null
null
null
checkOutCart.py
LoTerence/figpin-buybot
7caba565d850540fbfae9ab0f120f0204b620d45
[ "MIT" ]
1
2021-04-07T16:03:25.000Z
2021-04-07T16:03:25.000Z
# 3a - check out cart from figpin.com/cart redirects to a cart checkout page import requests import json # read cookies.json to get cart cookies with open('jsons/cookies.json', 'r') as f: cookies = json.load(f) # make a dict for form data and req headers form_data = { 'updates[]': '1', 'checkout': 'Check ...
35.494505
141
0.673065
451
3,230
4.736142
0.40133
0.021067
0.037453
0.019663
0.120787
0.058052
0.058052
0
0
0
0
0.017857
0.167802
3,230
90
142
35.888889
0.776786
0.152322
0
0.031746
0
0.031746
0.489583
0.139423
0
0
0
0.011111
0
1
0
false
0
0.031746
0
0.031746
0.126984
0
0
0
null
0
0
0
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
7fdb1806346cf41298a450bfb825c12a64d0217a
11,779
py
Python
Twitter/GetTeetByUser.py
xbwei/Data-Mining-on-Social-Media
b65182bb14245f975e319a6a28aec452eabb7644
[ "MIT" ]
91
2016-11-29T19:48:24.000Z
2022-03-26T21:45:15.000Z
Twitter/GetTeetByUser.py
xbwei/GetTwitter
b65182bb14245f975e319a6a28aec452eabb7644
[ "MIT" ]
1
2017-10-27T22:15:57.000Z
2017-10-27T22:15:57.000Z
Twitter/GetTeetByUser.py
xbwei/Data-Mining-on-Social-Media
b65182bb14245f975e319a6a28aec452eabb7644
[ "MIT" ]
73
2016-11-09T10:08:47.000Z
2022-03-26T21:45:21.000Z
''' Created on Dec 29, 2014 @author: xuebin email: weixuebin@gmail.com department of geography university of Georgia ''' import twitter # import json import sys import logging import traceback from bs4 import BeautifulSoup import urllib2 import psycopg2 import time # import urllib2 ''' handle log ''' # create log...
38.619672
175
0.575261
1,330
11,779
4.957895
0.184962
0.023355
0.033364
0.050046
0.521838
0.480437
0.464362
0.434941
0.424325
0.40461
0
0.010794
0.307836
11,779
304
176
38.746711
0.797988
0.155361
0
0.55914
0
0.010753
0.114807
0.022103
0
0
0
0
0
0
null
null
0.021505
0.043011
null
null
0.107527
0
0
0
null
0
0
0
0
0
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
7fe11ff332f6bce9de33ea5e91d67b0694f8d8ed
1,062
py
Python
fossbotpy/utils/accessibility.py
fosscord/fossbotpy
c10c57c42f403acc93197d524d254ab3215c1737
[ "MIT" ]
2
2021-12-04T15:16:30.000Z
2021-12-21T04:37:17.000Z
fossbotpy/utils/accessibility.py
fosscord/fossbotpy
c10c57c42f403acc93197d524d254ab3215c1737
[ "MIT" ]
null
null
null
fossbotpy/utils/accessibility.py
fosscord/fossbotpy
c10c57c42f403acc93197d524d254ab3215c1737
[ "MIT" ]
null
null
null
#accessibility numbers for science. Pretty sure fosscord just hardcodes this as 128. class ACCESSIBILITY_FEATURES: SCREENREADER = 1 << 0 REDUCED_MOTION = 1 << 1 REDUCED_TRANSPARENCY = 1 << 2 HIGH_CONTRAST = 1 << 3 BOLD_TEXT = 1 << 4 GRAYSCALE = 1 << 5 INVERT_COLORS = 1 << 6 PREFERS_COLOR_SCHEME_LIGHT = 1 << 7 ...
30.342857
84
0.745763
142
1,062
5.274648
0.542254
0.106809
0.048064
0
0
0
0
0
0
0
0
0.050847
0.166667
1,062
34
85
31.235294
0.79548
0.078154
0
0.066667
0
0
0.002045
0
0
0
0
0
0
1
0.066667
false
0
0
0.033333
0.766667
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
7fe14d884f3faafc1683580ca278cdfa0bdc3885
240
py
Python
Nimbus/settings/secret.sample.py
cgreencode/Nimbus
edaf1fdd307551706edcbcf950769aee161641cf
[ "MIT" ]
213
2015-02-19T15:07:52.000Z
2021-01-19T21:15:26.000Z
Nimbus/settings/secret.sample.py
cgreencode/Nimbus
edaf1fdd307551706edcbcf950769aee161641cf
[ "MIT" ]
10
2015-02-27T00:07:56.000Z
2016-07-03T01:01:43.000Z
Nimbus/settings/secret.sample.py
cgreencode/Nimbus
edaf1fdd307551706edcbcf950769aee161641cf
[ "MIT" ]
36
2015-11-04T07:08:32.000Z
2020-08-10T07:24:42.000Z
""" Rename this file to 'secret.py' once all settings are defined """ SECRET_KEY = "..." HOSTNAME = "example.com" DATABASE_URL = "mysql://<user>:<password>@<host>/<database>" AWS_ACCESS_KEY_ID = "12345" AWS_SECRET_ACCESS_KEY = "12345"
17.142857
61
0.691667
33
240
4.787879
0.757576
0.113924
0
0
0
0
0
0
0
0
0
0.048077
0.133333
240
13
62
18.461538
0.711538
0.254167
0
0
0
0
0.394118
0.252941
0
0
0
0
0
1
0
false
0.2
0
0
0
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
7fe3b2ebedfa78dffe58b6c1a35a351843be05fe
632
py
Python
public/snippets/Python/Function in Python.py
ORLANDOWTP/webcompiler
00d822854e70d9c3ab88b64b05557a954a5a5ede
[ "MIT" ]
null
null
null
public/snippets/Python/Function in Python.py
ORLANDOWTP/webcompiler
00d822854e70d9c3ab88b64b05557a954a5a5ede
[ "MIT" ]
null
null
null
public/snippets/Python/Function in Python.py
ORLANDOWTP/webcompiler
00d822854e70d9c3ab88b64b05557a954a5a5ede
[ "MIT" ]
null
null
null
#!/usr/bin/python # --------------------------------------- # # Cara Define Sebuah Function pada Python # # --------------------------------------- # # def functionname( parameters ): # # "function_docstring" # # function_suite # # return [expression] # # --------------------------...
27.478261
50
0.511076
59
632
5.440678
0.627119
0.174455
0.158879
0
0
0
0
0
0
0
0
0.019802
0.200949
632
23
51
27.478261
0.615842
0.620253
0
0
0
0
0.380597
0
0
0
0
0
0
1
0.125
false
0.125
0
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1