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
2ee7c94defef9b021d96821b4fb3f10b7d2d409d
694
py
Python
src/groups/models.py
OmarYehia/django-social_network
83fc6fd288fe23684409c43bf51c7fca01297481
[ "MIT" ]
null
null
null
src/groups/models.py
OmarYehia/django-social_network
83fc6fd288fe23684409c43bf51c7fca01297481
[ "MIT" ]
null
null
null
src/groups/models.py
OmarYehia/django-social_network
83fc6fd288fe23684409c43bf51c7fca01297481
[ "MIT" ]
1
2021-05-13T15:08:12.000Z
2021-05-13T15:08:12.000Z
from django.db import models from profiles.models import Profile # Create your models here. class Group(models.Model): users = models.ManyToManyField(Profile, blank=True, related_name='groups') owner = models.ForeignKey( Profile, on_delete=models.CASCADE, related_name='+') name = models.CharField...
34.7
85
0.724784
92
694
5.304348
0.619565
0.036885
0.086066
0.102459
0.114754
0
0
0
0
0
0
0.008726
0.174352
694
19
86
36.526316
0.842932
0.149856
0
0
0
0
0.0477
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0.076923
0.846154
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
2eeba743b811e114065608b85445aefb3e686e15
297
py
Python
pyplumio/structures/__init__.py
denpamusic/PyPlumIO
16e8049977cbfbb1bd6c830beb751e65ee270295
[ "MIT" ]
1
2022-03-24T21:44:59.000Z
2022-03-24T21:44:59.000Z
pyplumio/structures/__init__.py
denpamusic/PyPlumIO
16e8049977cbfbb1bd6c830beb751e65ee270295
[ "MIT" ]
null
null
null
pyplumio/structures/__init__.py
denpamusic/PyPlumIO
16e8049977cbfbb1bd6c830beb751e65ee270295
[ "MIT" ]
null
null
null
"""Contains structure parsers.""" __all__ = [ "alarms", "device_parameters", "frame_versions", "lambda_", "mixer_parameters", "mixers", "modules", "output_flags", "outputs", "statuses", "temperatures", "thermostats", "uid", "var_string", ]
15.631579
33
0.56229
23
297
6.826087
0.956522
0
0
0
0
0
0
0
0
0
0
0
0.262626
297
18
34
16.5
0.716895
0.090909
0
0
0
0
0.515152
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2eecd8b51024630d653e89416e0c7dd612ac554f
2,805
py
Python
examples/client/python/cancel_tasks.py
kirillsc/aws-htc-grid
d1dd8068c3aebc3c04904b3daefc142a4b96872b
[ "Apache-2.0" ]
24
2021-04-14T11:57:42.000Z
2022-03-23T17:09:12.000Z
examples/client/python/cancel_tasks.py
kirillsc/aws-htc-grid
d1dd8068c3aebc3c04904b3daefc142a4b96872b
[ "Apache-2.0" ]
9
2021-04-23T08:44:13.000Z
2021-09-15T13:37:42.000Z
examples/client/python/cancel_tasks.py
kirillsc/aws-htc-grid
d1dd8068c3aebc3c04904b3daefc142a4b96872b
[ "Apache-2.0" ]
15
2021-04-14T11:53:58.000Z
2022-02-28T16:45:47.000Z
# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 https://aws.amazon.com/apache-2-0/ from api.connector import AWSConnector import os import json import time import argparse try: client_config_file = os...
28.622449
99
0.671301
330
2,805
5.49697
0.433333
0.054024
0.044101
0.023153
0.265711
0.170893
0.088203
0.088203
0.088203
0.088203
0
0.016287
0.233868
2,805
97
100
28.917526
0.827827
0.123351
0
0.232143
0
0
0.159701
0.040475
0
0
0
0
0
1
0.017857
false
0.053571
0.089286
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2c02adf446921c10d0ddaf0fd8239df8c3089858
1,050
py
Python
bootstrapvz/plugins/chef/tasks.py
wrigri/bootstrap-vz
52b5846cb5acd5551fd818b9e84f42683455a3e5
[ "Apache-2.0" ]
null
null
null
bootstrapvz/plugins/chef/tasks.py
wrigri/bootstrap-vz
52b5846cb5acd5551fd818b9e84f42683455a3e5
[ "Apache-2.0" ]
null
null
null
bootstrapvz/plugins/chef/tasks.py
wrigri/bootstrap-vz
52b5846cb5acd5551fd818b9e84f42683455a3e5
[ "Apache-2.0" ]
null
null
null
from bootstrapvz.base import Task from bootstrapvz.common import phases import os class CheckAssetsPath(Task): description = 'Checking whether the assets path exist' phase = phases.preparation @classmethod def run(cls, info): from bootstrapvz.common.exceptions import TaskError assets = info.manifest.plugins[...
26.923077
89
0.746667
141
1,050
5.539007
0.390071
0.076825
0.080666
0.076825
0.366197
0.291933
0.202305
0.202305
0
0
0
0
0.140952
1,050
38
90
27.631579
0.865854
0
0
0.344828
0
0
0.195238
0
0
0
0
0
0
1
0.103448
false
0
0.172414
0
0.586207
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
2c0c97ce7d6fee1a7e7c8b3b3c48cdc6e87f84af
1,968
py
Python
rockiot/app/migrations/0010_auto_20210806_2357.py
isocserbia/rockiot
fc0c52cca4ca862ba570d6b2c64b8d30f8989f05
[ "Apache-2.0" ]
2
2022-01-23T11:03:37.000Z
2022-02-26T10:54:10.000Z
rockiot/app/migrations/0010_auto_20210806_2357.py
isocserbia/rockiot
fc0c52cca4ca862ba570d6b2c64b8d30f8989f05
[ "Apache-2.0" ]
null
null
null
rockiot/app/migrations/0010_auto_20210806_2357.py
isocserbia/rockiot
fc0c52cca4ca862ba570d6b2c64b8d30f8989f05
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-06 23:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0009_auto_20210806_2012'), ] operations = [ migrations.RemoveField( model_name='device',...
32.8
110
0.569106
186
1,968
5.849462
0.333333
0.074449
0.082721
0.104779
0.599265
0.567096
0.426471
0.352941
0.352941
0.261029
0
0.03132
0.318598
1,968
59
111
33.355932
0.780015
0.022866
0
0.641509
1
0
0.150963
0.0557
0
0
0
0
0
1
0
false
0.018868
0.037736
0
0.09434
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
2c0d77717e0ceda03134bdd343f10e5c508f5d65
2,381
py
Python
csiadmin/urls.py
samarthanand12/Erp-Based-Event-Management-System
bb494c951db859fc9e89903a37ddd457b248b638
[ "MIT" ]
null
null
null
csiadmin/urls.py
samarthanand12/Erp-Based-Event-Management-System
bb494c951db859fc9e89903a37ddd457b248b638
[ "MIT" ]
null
null
null
csiadmin/urls.py
samarthanand12/Erp-Based-Event-Management-System
bb494c951db859fc9e89903a37ddd457b248b638
[ "MIT" ]
null
null
null
"""csi URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
49.604167
99
0.726585
329
2,381
5.06079
0.246201
0.057658
0.009009
0.014414
0.07027
0.07027
0.045045
0
0
0
0
0.006679
0.119698
2,381
47
100
50.659574
0.787691
0.259975
0
0
0
0
0.329345
0.026211
0
0
0
0
0
1
0
false
0.096774
0.096774
0
0.096774
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
2c0dcca26a8379d174630dc910c5bb9b01b371c9
1,179
py
Python
cryptonite/challenge/migrations/0009_cryptographer_user.py
pshrmn/cryptonite
3f83f34ae6c1733568578c6296e6396872fa5513
[ "MIT" ]
1
2018-01-15T14:44:36.000Z
2018-01-15T14:44:36.000Z
cryptonite/challenge/migrations/0009_cryptographer_user.py
pshrmn/cryptonite
3f83f34ae6c1733568578c6296e6396872fa5513
[ "MIT" ]
null
null
null
cryptonite/challenge/migrations/0009_cryptographer_user.py
pshrmn/cryptonite
3f83f34ae6c1733568578c6296e6396872fa5513
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-21 06:09 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cryptographer', '0001_cryptographer_user'), ('challen...
31.026316
115
0.614928
110
1,179
6.436364
0.5
0.045198
0.059322
0.09322
0.30791
0.30791
0.169492
0.169492
0.169492
0.169492
0
0.027714
0.265479
1,179
37
116
31.864865
0.789838
0.05598
0
0.266667
1
0
0.185586
0.063964
0
0
0
0
0
1
0
false
0
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2c10c32184214d224d14e5d351cf14cf93695fa6
349
py
Python
Mundo 2/ex051.py
torvigoes/Exercicios-Python3
1c1ef59087405cd2272808802fd00fe0bb49a5fd
[ "MIT" ]
1
2021-01-06T22:12:30.000Z
2021-01-06T22:12:30.000Z
Mundo 2/ex051.py
torvigoes/Exercicios-Python3
1c1ef59087405cd2272808802fd00fe0bb49a5fd
[ "MIT" ]
null
null
null
Mundo 2/ex051.py
torvigoes/Exercicios-Python3
1c1ef59087405cd2272808802fd00fe0bb49a5fd
[ "MIT" ]
null
null
null
print(f'{"CÁLCULO DE PROGRESSÃO ARITMÉTICA":=^60}') print() a1 = int(input('Digite o primeiro termo da PA: ')) r = int(input('Digite a razão da PA: ')) an = a1 + 10 * r # Cálculo termo geral da PA, para saber qual o último termo da PA, "10" são a quantidade de termos # da PA for c in range(a1, an, r): print(f"{c...
29.083333
116
0.630372
63
349
3.492063
0.555556
0.090909
0.127273
0
0
0
0
0
0
0
0
0.032258
0.200573
349
11
117
31.727273
0.756272
0.292264
0
0
0
0
0.42623
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
2c161b21a5968da51d04494428932de95cf1e1b0
1,958
py
Python
Classes/Classes.py
micro164/AdvGame
cf27f86b5773b97de195596c512879f9e8be1a04
[ "MIT" ]
3
2017-12-31T02:41:34.000Z
2018-02-18T23:56:44.000Z
Classes/Classes.py
micro164/AdvGame
cf27f86b5773b97de195596c512879f9e8be1a04
[ "MIT" ]
null
null
null
Classes/Classes.py
micro164/AdvGame
cf27f86b5773b97de195596c512879f9e8be1a04
[ "MIT" ]
null
null
null
from enum import IntEnum from enum import Enum class Player: """Player Class""" name = "" MaxHP = 0 hp = 0 Strength = 0 Defense = 0 gold = 0 MaxExp = 100 exp = 0 lvl = 1 Pclass = "" uniqueId = 0 Inventory = dict() Equipment = dict() def __init__(self, playe...
18.826923
102
0.542901
235
1,958
4.438298
0.259574
0.014382
0.025887
0.030681
0.057526
0.057526
0.057526
0.057526
0.057526
0.057526
0
0.03271
0.344229
1,958
103
103
19.009709
0.779595
0.04954
0
0.125
0
0
0.002192
0
0
0
0
0
0
1
0.025
false
0
0.025
0
0.7125
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
2c169222381a9f7e35114a43d60f96fa4293bf26
1,481
py
Python
src/alexapi/device_platforms/desktop.py
mnoble19/AlexaPi
59c37c9f9970b12c2775358b6c59e046cdb0f475
[ "MIT" ]
null
null
null
src/alexapi/device_platforms/desktop.py
mnoble19/AlexaPi
59c37c9f9970b12c2775358b6c59e046cdb0f475
[ "MIT" ]
null
null
null
src/alexapi/device_platforms/desktop.py
mnoble19/AlexaPi
59c37c9f9970b12c2775358b6c59e046cdb0f475
[ "MIT" ]
null
null
null
import sys import time import threading from baseplatform import BasePlatform class DesktopPlatform(BasePlatform): def __init__(self, config): super(DesktopPlatform, self).__init__(config) self.__config = config self.__pconfig = config['platforms']['common'] self.__pconfig.update(config['platforms']['desk...
21.779412
77
0.741391
187
1,481
5.57754
0.320856
0.052733
0.081496
0.060403
0.049856
0
0
0
0
0
0
0.000785
0.13977
1,481
67
78
22.104478
0.817896
0
0
0
0
0
0.114112
0.043214
0
0
0
0
0
1
0.266667
false
0.022222
0.088889
0.022222
0.422222
0.088889
0
0
0
null
0
0
0
0
0
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
25750c8794444def7be2e0ed0c2beae4eab5e2f1
1,233
py
Python
Python Programs/matrix-add-top-row.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
2
2021-06-26T21:50:59.000Z
2021-09-18T04:55:51.000Z
Python Programs/matrix-add-top-row.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Python Programs/matrix-add-top-row.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Matrix Add Top Row Matrix Add Top Row: A matrix of size R*C is given as the input to the program. The program must add the elements in the first row in each column to the elements in the below rows by equally dividing them. Then the program must print the modified matrix as the output. Note: If the integer cannot be e...
25.6875
267
0.657745
255
1,233
3.184314
0.403922
0.034483
0.022167
0.04064
0.029557
0
0
0
0
0
0
0.12743
0.248986
1,233
47
268
26.234043
0.74838
0
0
0.170213
0
0
0.001623
0
0
0
0
0
0
0
null
null
0
0
null
null
0.085106
0
0
0
null
0
0
0
0
0
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
257e4eb0dea44309c2b7cddb8176aa3e129b02d2
7,258
py
Python
evaluate.py
LijieFan/PKU-MMD
cfa6aad468ce6675c6027de1173e366603705d63
[ "Apache-2.0" ]
49
2017-05-30T15:28:36.000Z
2022-03-16T06:33:52.000Z
evaluate.py
LijieFan/PKU-MMD
cfa6aad468ce6675c6027de1173e366603705d63
[ "Apache-2.0" ]
7
2018-12-07T15:05:50.000Z
2021-11-04T08:21:00.000Z
evaluate.py
ECHO960/PKU-MMD
cfa6aad468ce6675c6027de1173e366603705d63
[ "Apache-2.0" ]
9
2018-03-03T17:24:16.000Z
2021-01-15T07:02:07.000Z
# Copyright (c) 2017 Chunhui_Liu@STRUCT_ICST_PKU, All rights reserved. # # evaluation protocols used for PKU-MMD dataset # http://www.icst.pku.edu.cn/struct/Projects/PKUMMD.html # # In proposal folder: # each file contains results for one video. # several lines in one file, # each line contain: label, start_fra...
37.606218
83
0.666161
1,116
7,258
4.182796
0.157706
0.017138
0.025707
0.043702
0.456084
0.376392
0.314053
0.289417
0.289417
0.280634
0
0.011982
0.172086
7,258
192
84
37.802083
0.764853
0.293883
0
0.264463
0
0
0.069072
0.037098
0
0
0
0
0
0
null
null
0
0.024793
null
null
0.07438
0
0
0
null
0
0
0
0
0
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
2582945bf9536fba450ea2b236790e0e288299e8
2,821
py
Python
tests/ahv_vm/test_ahv_vm.py
nutanixdev/calm-dsl
90e1c583d7b9ac905cdfb3e2ad27f9f930e69831
[ "Apache-2.0" ]
null
null
null
tests/ahv_vm/test_ahv_vm.py
nutanixdev/calm-dsl
90e1c583d7b9ac905cdfb3e2ad27f9f930e69831
[ "Apache-2.0" ]
null
null
null
tests/ahv_vm/test_ahv_vm.py
nutanixdev/calm-dsl
90e1c583d7b9ac905cdfb3e2ad27f9f930e69831
[ "Apache-2.0" ]
null
null
null
from calm.dsl.builtins import AhvVmDisk, AhvVmNic, AhvVmGC, AhvVmGpu from calm.dsl.builtins import basic_cred, ahv_vm_resources from calm.dsl.builtins import vm_disk_package, read_local_file from calm.dsl.config import get_context AhvVm = ahv_vm_resources() CENTOS_USERNAME = read_local_file(".tests/centos_username")...
31.344444
88
0.69408
340
2,821
5.505882
0.385294
0.037393
0.041132
0.038462
0.266026
0.169872
0.093483
0
0
0
0
0.02053
0.171216
2,821
89
89
31.696629
0.780154
0.007799
0
0
0
0
0.149381
0.076625
0
0
0
0
0.016949
1
0.033898
false
0.050847
0.084746
0
0.288136
0.016949
0
0
0
null
0
0
0
0
0
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
258619b27ba7620cfaf422123a35bececd0c3a59
6,826
py
Python
sdk/python/pulumi_aws/directconnect/connection.py
johnktims/pulumi-aws
c838bc79043f5376c66fc66275a1e012edd3ab7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/directconnect/connection.py
johnktims/pulumi-aws
c838bc79043f5376c66fc66275a1e012edd3ab7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/directconnect/connection.py
johnktims/pulumi-aws
c838bc79043f5376c66fc66275a1e012edd3ab7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from .. import utilities, tables class Connec...
52.507692
287
0.693671
844
6,826
5.374408
0.216825
0.033951
0.042328
0.037698
0.578042
0.542108
0.525573
0.492504
0.477513
0.449074
0
0.015089
0.223264
6,826
129
288
52.914729
0.840438
0.360973
0
0.030303
1
0
0.162473
0.025784
0
0
0
0
0
1
0.060606
false
0.015152
0.090909
0.030303
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
258cee1ed8e38aa6d11f224a86d185f53caa2d9e
765
py
Python
backend/db.py
vrutkovs/catcatgo
80e7d0b0335a44488a1582ab067be59ec998c6e7
[ "Apache-2.0" ]
1
2018-05-07T20:09:05.000Z
2018-05-07T20:09:05.000Z
backend/db.py
vrutkovs/catcatgo
80e7d0b0335a44488a1582ab067be59ec998c6e7
[ "Apache-2.0" ]
null
null
null
backend/db.py
vrutkovs/catcatgo
80e7d0b0335a44488a1582ab067be59ec998c6e7
[ "Apache-2.0" ]
null
null
null
import sys from pymongo import MongoClient from pymongo.errors import ServerSelectionTimeoutError class Mongo(): def __init__(self, username, password, host, port, db): try: self.client = MongoClient('mongodb://{}:{}@{}:{}/{}' .format(username, password, host, port, db)) ...
30.6
68
0.576471
80
765
5.45
0.575
0.114679
0.091743
0.110092
0.119266
0
0
0
0
0
0
0
0.301961
765
24
69
31.875
0.816479
0
0
0
0
0
0.081046
0.031373
0
0
0
0
0
1
0.1
false
0.1
0.15
0
0.35
0.05
0
0
0
null
0
0
0
0
0
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
2591756f58979e1697229e248af9186007db7429
14,777
py
Python
listener/fhir_validator.py
ideaworld/Tester
21b0106f2affe13636688339cef129aa855e5041
[ "Unlicense" ]
null
null
null
listener/fhir_validator.py
ideaworld/Tester
21b0106f2affe13636688339cef129aa855e5041
[ "Unlicense" ]
null
null
null
listener/fhir_validator.py
ideaworld/Tester
21b0106f2affe13636688339cef129aa855e5041
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import re import os import json import requests versions_url = { 1 : "http://hl7.org/fhir/2017Jan/%s.profile.json", 2 : "http://hl7.org/fhir/STU3/%s.profile.json" } DATE_RE = re.compile(r'-?([1-9][0-9]{3}|0[0-9]{3})(-(0[1-9]|1[0-2])(-(0[1-9]|[12][0-9]|3[01]))?)?') DATETIME_RE = re.compil...
37.889744
312
0.540908
1,797
14,777
4.257095
0.124096
0.022222
0.020131
0.023529
0.265359
0.232026
0.193203
0.152941
0.143399
0.116471
0
0.018592
0.315693
14,777
390
313
37.889744
0.737935
0.035393
0
0.273273
0
0.012012
0.132921
0.048967
0
0
0
0
0
0
null
null
0.003003
0.012012
null
null
0.009009
0
0
0
null
0
0
0
0
0
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
2595bdd2cbc9598042685c93170a1adc72d0d989
2,303
py
Python
Train/misc/DeepJetTrain_regr_class_dense_conv.py
dntaylor/DeepJet
249610b3b80543c8c84f5ba795bbb07c097f8150
[ "Apache-2.0" ]
1
2019-11-12T01:51:30.000Z
2019-11-12T01:51:30.000Z
Train/misc/DeepJetTrain_regr_class_dense_conv.py
dntaylor/DeepJet
249610b3b80543c8c84f5ba795bbb07c097f8150
[ "Apache-2.0" ]
null
null
null
Train/misc/DeepJetTrain_regr_class_dense_conv.py
dntaylor/DeepJet
249610b3b80543c8c84f5ba795bbb07c097f8150
[ "Apache-2.0" ]
5
2017-11-03T15:51:27.000Z
2019-05-29T14:45:23.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function # some private extra plots #from NBatchLogger import NBatchLogger import matplotlib #if no X11 use below matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np from keras import backend as K ...
31.547945
162
0.776813
338
2,303
5.136095
0.440828
0.03629
0.051843
0.028802
0.051843
0.036866
0
0
0
0
0
0.015466
0.101607
2,303
72
163
31.986111
0.823586
0.21624
0
0
0
0
0.149804
0.054779
0
0
0
0
0
1
0
false
0
0.347826
0
0.347826
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
25a092bb2e72769fd405cdd4fba33e5a42c809e8
792
py
Python
test.py
blurryface92/student-portal
aec15d6177c0c37ad815b2e63e4c8fa68dc8df53
[ "MIT" ]
1
2022-01-21T16:10:18.000Z
2022-01-21T16:10:18.000Z
test.py
blurryface92/student-portal
aec15d6177c0c37ad815b2e63e4c8fa68dc8df53
[ "MIT" ]
null
null
null
test.py
blurryface92/student-portal
aec15d6177c0c37ad815b2e63e4c8fa68dc8df53
[ "MIT" ]
1
2022-01-21T16:10:42.000Z
2022-01-21T16:10:42.000Z
import json from flask import Flask, request, jsonify,render_template app=Flask(__name__) with open("students.json") as f: data = json.load(f) @app.route('/home',methods=['GET','POST']) def index(): if request.method == 'POST': email = request.form['email'] password ...
36
109
0.582071
94
792
4.819149
0.414894
0.12362
0.13245
0.075055
0.233996
0.233996
0.233996
0.233996
0.233996
0
0
0
0.256313
792
22
110
36
0.7691
0
0
0
0
0
0.148964
0
0
0
0
0
0
1
0.105263
false
0.157895
0.105263
0.052632
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
25a7a3ffbbb7d6682b950f2f6c5f6f4d10c6c18c
1,735
py
Python
al_bench/__init__.py
Leengit/ALBench
18d0ff19f4c954f69785cca91e11c45f87268698
[ "Apache-2.0" ]
null
null
null
al_bench/__init__.py
Leengit/ALBench
18d0ff19f4c954f69785cca91e11c45f87268698
[ "Apache-2.0" ]
null
null
null
al_bench/__init__.py
Leengit/ALBench
18d0ff19f4c954f69785cca91e11c45f87268698
[ "Apache-2.0" ]
null
null
null
# ========================================================================== # # Copyright NumFOCUS # # 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/...
45.657895
88
0.70951
236
1,735
5.199153
0.495763
0.0489
0.041565
0.02608
0.03586
0
0
0
0
0
0
0.004818
0.162536
1,735
37
89
46.891892
0.839642
0.433429
0
0
0
0
0.053191
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
25a8985013702867d298b80f39523be51b7e0efb
17,761
py
Python
nauta/nauta.py
fsadannn/nauta-cli
7ab21fddcbf9cfc8db9a005e9ec883519637b524
[ "MIT" ]
null
null
null
nauta/nauta.py
fsadannn/nauta-cli
7ab21fddcbf9cfc8db9a005e9ec883519637b524
[ "MIT" ]
null
null
null
nauta/nauta.py
fsadannn/nauta-cli
7ab21fddcbf9cfc8db9a005e9ec883519637b524
[ "MIT" ]
null
null
null
import os import time import logging import logging.handlers from typing import Dict, List, Union, Any, Optional from requests import Session import requests from parsel import Selector from .constants import NautaState, LogLevel, CONFIG from .user_cls import User from .utils import get_inputs, get_info, human_secs fr...
39.381375
139
0.557964
2,004
17,761
4.808383
0.13024
0.031756
0.010274
0.01868
0.694894
0.660336
0.631071
0.607098
0.591947
0.579078
0
0.003008
0.32622
17,761
451
140
39.381375
0.802206
0.004392
0
0.672414
0
0
0.218992
0.01052
0
0
0
0
0
1
0.039409
false
0.059113
0.036946
0.002463
0.150246
0.049261
0
0
0
null
0
0
0
0
0
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
25a912c6b85b838095734a453a49dc1d85038a60
2,112
py
Python
stixcore/products/tests/test_bsd.py
i4Ds/STIXCore
9a765a33f2e924ead669b9b99afc1e41a4d2d8e8
[ "BSD-3-Clause" ]
1
2022-03-31T13:42:43.000Z
2022-03-31T13:42:43.000Z
stixcore/products/tests/test_bsd.py
i4Ds/STIXCore
9a765a33f2e924ead669b9b99afc1e41a4d2d8e8
[ "BSD-3-Clause" ]
192
2020-11-03T22:40:19.000Z
2022-03-31T15:17:13.000Z
stixcore/products/tests/test_bsd.py
i4Ds/STIXCore
9a765a33f2e924ead669b9b99afc1e41a4d2d8e8
[ "BSD-3-Clause" ]
3
2020-11-09T15:05:18.000Z
2022-01-21T07:52:51.000Z
import re from unittest.mock import patch import numpy as np import pytest from stixcore.data.test import test_data from stixcore.products.level0 import scienceL0 as sl0 from stixcore.products.level1 import scienceL1 as sl1 testpackets = [(test_data.tmtc.TM_21_6_20_complete, sl0.RawPixelData, sl1.RawPixelData, ...
44.93617
100
0.671875
284
2,112
4.795775
0.376761
0.041116
0.052863
0.061674
0.180617
0.154185
0.054332
0
0
0
0
0.154706
0.195076
2,112
46
101
45.913043
0.646471
0.046402
0
0
0
0
0.171642
0.018905
0
0
0
0.021739
0.171429
1
0.028571
false
0
0.2
0
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
25b040492768293a10b1f4bb4b453755073193ce
7,907
py
Python
dialogue.py
Maxzolythus/Badmoon-Working-Title-pre-alpha-I-hate-that-word-
f90068d670432a5c32a0d0938529968e1da375c8
[ "CC0-1.0" ]
null
null
null
dialogue.py
Maxzolythus/Badmoon-Working-Title-pre-alpha-I-hate-that-word-
f90068d670432a5c32a0d0938529968e1da375c8
[ "CC0-1.0" ]
null
null
null
dialogue.py
Maxzolythus/Badmoon-Working-Title-pre-alpha-I-hate-that-word-
f90068d670432a5c32a0d0938529968e1da375c8
[ "CC0-1.0" ]
null
null
null
""" Full of social stuff with the other characters Up ur social links dialogue.py Max Ferguson """ from main import * sLink = {"Steve": 0, "Zara": 0, "Aeyden": 0, "Emil": 0, "Douche": 0, "Diana": 0, "Cheryl": 0, "Hiram": 0, "Eduardo": 0} def steve(place, sLink, stats, name, pronouns): """ "Dykey" cis Werewol...
38.950739
119
0.554825
1,053
7,907
4.166192
0.296296
0.013677
0.030773
0.038979
0.4062
0.337816
0.311602
0.209027
0.209027
0.209027
0
0.004632
0.344758
7,907
202
120
39.143564
0.842115
0.367143
0
0.378641
0
0.009709
0.349107
0
0
0
0
0
0
1
0.087379
false
0.116505
0.009709
0
0.097087
0.116505
0
0
0
null
0
0
0
0
0
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
25b56d59ee51fe287acc9555362e89eb0880dd7a
8,915
py
Python
ibmcli/tests/unit/test_api.py
powellquiring/pycli
ecc5beec84833b978dfa41259ab3ac306617fc55
[ "Apache-2.0" ]
null
null
null
ibmcli/tests/unit/test_api.py
powellquiring/pycli
ecc5beec84833b978dfa41259ab3ac306617fc55
[ "Apache-2.0" ]
2
2021-04-06T18:19:56.000Z
2021-06-02T03:28:55.000Z
ibmcli/tests/unit/test_api.py
powellquiring/pycli
ecc5beec84833b978dfa41259ab3ac306617fc55
[ "Apache-2.0" ]
null
null
null
import ibmcli import re def test_plugin_list(): example_output = """Listing installed plug-ins... Plugin Name Version Status dev 2.4.0 cloud-functions/wsk/functions/fn 1.0.35 container-service/kubernetes-service 0.4.38 ...
51.531792
271
0.636455
1,139
8,915
4.894644
0.321335
0.01722
0.016144
0.022422
0.161794
0.133812
0.110135
0.110135
0.08287
0.056323
0
0.053276
0.275715
8,915
173
272
51.531792
0.810129
0.004936
0
0.040541
0
0.101351
0.726494
0.049493
0
0
0
0
0.141892
1
0.067568
false
0
0.027027
0
0.094595
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
25be66a44bc977c43292b8dbb8604562501b636d
23,766
py
Python
FWCore/Framework/test/test_module_delete_subprocess_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
5
2020-07-02T19:05:26.000Z
2022-02-25T14:37:09.000Z
FWCore/Framework/test/test_module_delete_subprocess_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
524
2018-01-29T15:50:45.000Z
2021-08-04T14:03:21.000Z
FWCore/Framework/test/test_module_delete_subprocess_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
8
2020-06-08T16:28:54.000Z
2021-11-16T14:40:00.000Z
import FWCore.ParameterSet.Config as cms process = cms.Process("A") process.maxEvents.input = 8 process.source = cms.Source("EmptySource") #process.Tracer = cms.Service("Tracer") # Process tree # A (Process) # ^ # \- B # | ^ # | \- BA # | # \- C # | # \- D # ^ # \- DA # Cases to test # - event/lumi/run/pro...
44.256983
162
0.79963
1,591
23,766
11.940918
0.157762
0.028056
0.041057
0.053269
0.316928
0.196179
0.182019
0.177492
0.146068
0.099695
0
0.007253
0.106581
23,766
536
163
44.339552
0.887486
0.048767
0
0.207637
0
0
0.179065
0.167171
0
0
0
0
0
1
0.002387
false
0
0.002387
0
0.00716
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
25c1eb5997e281f0e9cff107c934f0f8dbe2e2eb
13,571
py
Python
src/jsleakcheck.py
Letractively/leak-finder-for-javascript
3a6c872313dc94d9f5c71950d30b14c01d63078c
[ "Apache-2.0" ]
null
null
null
src/jsleakcheck.py
Letractively/leak-finder-for-javascript
3a6c872313dc94d9f5c71950d30b14c01d63078c
[ "Apache-2.0" ]
null
null
null
src/jsleakcheck.py
Letractively/leak-finder-for-javascript
3a6c872313dc94d9f5c71950d30b14c01d63078c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2012 Google Inc. 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...
36.877717
80
0.663179
1,633
13,571
5.397428
0.244948
0.034944
0.01838
0.009644
0.146358
0.13592
0.122532
0.112321
0.085546
0.044021
0
0.002046
0.243829
13,571
367
81
36.978202
0.856851
0.066465
0
0.135747
0
0
0.251
0.039286
0
0
0
0
0
0
null
null
0.004525
0.036199
null
null
0.031674
0
0
0
null
0
0
0
0
0
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
25c22b5ef0da2b64f093b2f009b804a76def2bb9
1,298
py
Python
map/header.py
WhereGroup/mapconverter
cd0aa5f533194c85cf6e098fadc079ea61b63fce
[ "MIT" ]
9
2020-05-13T13:45:54.000Z
2022-03-30T10:43:45.000Z
map/header.py
WhereGroup/mapconverter
cd0aa5f533194c85cf6e098fadc079ea61b63fce
[ "MIT" ]
4
2020-09-09T10:01:08.000Z
2022-01-15T17:59:11.000Z
map/header.py
WhereGroup/mapconverter
cd0aa5f533194c85cf6e098fadc079ea61b63fce
[ "MIT" ]
1
2022-03-16T17:08:16.000Z
2022-03-16T17:08:16.000Z
# coding=utf-8 def create_header(xml_document, arc_doc_info): """ Creates the Header in the DOM :param xml_document: The DOM / Document for writing the QGIS-File :return: the header element in the DOM """ header_element = xml_document.createElement("qgis") header_element.setAttribute("projectna...
41.870968
89
0.782743
150
1,298
6.453333
0.306667
0.134298
0.092975
0.160124
0.103306
0.103306
0.103306
0
0
0
0
0.007042
0.124807
1,298
30
90
43.266667
0.84507
0.114792
0
0
0
0
0.096546
0.018601
0
0
0
0
0
1
0.052632
false
0
0
0
0.105263
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
25c460aba52525705ae564ecd9a987d6cd1c6003
8,755
py
Python
populous/media/models.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
2
2016-05-09T01:17:08.000Z
2017-07-18T23:35:01.000Z
populous/media/models.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
null
null
null
populous/media/models.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.utils.html import strip_tags from django.utils.translation import ugettext_lazy as _ from django.contrib.sites.managers import CurrentSiteManager from django.contrib.sites.models import Site from populous.filebrowser.fields import FileBrowseField from populous.staff.models impo...
42.916667
282
0.672073
1,071
8,755
5.281046
0.159664
0.036598
0.041372
0.054102
0.644272
0.629774
0.599364
0.560113
0.512376
0.455269
0
0.007843
0.184466
8,755
204
283
42.916667
0.784314
0.079155
0
0.527778
0
0
0.150196
0
0
0
0
0
0
1
0.104167
false
0
0.055556
0.048611
0.777778
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
25c5027aeec82d81b35c8aa9d76e300f3294343e
5,378
py
Python
publications/2021-al-generator-lulc/scripts/results.py
joaopfonseca/research
02659512218d077d9ef28d481178e62172ef18cd
[ "MIT" ]
1
2021-01-25T00:09:32.000Z
2021-01-25T00:09:32.000Z
publications/2021-al-generator-lulc/scripts/results.py
joaopfonseca/research
ac4ad6fa05b5985050c63dc9e4e18cd00965e09b
[ "MIT" ]
20
2021-12-10T11:54:59.000Z
2022-03-18T17:55:33.000Z
publications/2021-al-generator-lulc/scripts/results.py
joaopfonseca/research
ac4ad6fa05b5985050c63dc9e4e18cd00965e09b
[ "MIT" ]
null
null
null
""" Generate the main experimental results. """ # Author: Joao Fonseca <jpmrfonseca@gmail.com> # Georgios Douzas <gdouzas@icloud.com> # License: MIT from os.path import join import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.neighbors import KNeighborsClassifier from sklearn....
28.305263
88
0.598364
596
5,378
5.114094
0.307047
0.023622
0.01706
0.023622
0.2979
0.229659
0.200787
0.177165
0.147638
0.122047
0
0.012814
0.288955
5,378
189
89
28.455026
0.784257
0.087021
0
0.243056
1
0
0.123974
0.025657
0
0
0
0
0
1
0.034722
false
0
0.104167
0.013889
0.173611
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
25c8813ed4ae67c3e35bea39915c2befdf4b00ec
1,498
py
Python
curation_projects/sites/sarit/main.py
sanskrit-coders/doc_curation
6da4cab5d97232b84b2a656becca9136da13a00b
[ "MIT" ]
7
2020-04-25T08:55:55.000Z
2020-12-21T05:31:00.000Z
curation_projects/sites/sarit/main.py
sanskrit-coders/doc_curation
6da4cab5d97232b84b2a656becca9136da13a00b
[ "MIT" ]
15
2020-04-25T08:31:42.000Z
2021-07-24T12:23:42.000Z
curation_projects/sites/sarit/main.py
sanskrit-coders/doc_curation
6da4cab5d97232b84b2a656becca9136da13a00b
[ "MIT" ]
4
2020-04-25T06:28:37.000Z
2020-12-19T21:30:10.000Z
import logging import os from pathlib import Path from curation_utils.file_helper import clear_bad_chars from doc_curation import tei from doc_curation.md.file import MdFile def dump_sarit_markdown(src_dir, dest_dir): file_paths = sorted(Path(src_dir).glob("*.xml")) for file_path in file_paths: file_path = s...
48.322581
249
0.755007
234
1,498
4.57265
0.277778
0.061682
0.106542
0.079439
0.440187
0.371963
0.371963
0.326168
0.220561
0.08785
0
0.001473
0.093458
1,498
30
250
49.933333
0.786451
0.512684
0
0
0
0
0.084138
0.041379
0
0
0
0
0
1
0.066667
false
0
0.4
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
25ccb0913ef4b3651479a239662414ae76f45041
609
py
Python
oauthprovider/permissions.py
avryhof/sub-g
46f403d189eb16de93a5ff8ab7fe88507bcaf2fd
[ "MIT" ]
null
null
null
oauthprovider/permissions.py
avryhof/sub-g
46f403d189eb16de93a5ff8ab7fe88507bcaf2fd
[ "MIT" ]
null
null
null
oauthprovider/permissions.py
avryhof/sub-g
46f403d189eb16de93a5ff8ab7fe88507bcaf2fd
[ "MIT" ]
null
null
null
from rest_framework import permissions from .models import AuthorizedAgent class AuthorizedAgentPermission(permissions.BasePermission): def has_permission(self, request, view): is_authorized = False try: AuthorizedAgent.objects.get(authorized=True, app_key=request.auth) exce...
22.555556
78
0.697865
59
609
7.050847
0.542373
0.144231
0.134615
0.149038
0.461538
0.461538
0.326923
0.326923
0.326923
0.326923
0
0
0.246305
609
26
79
23.423077
0.906318
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0.125
false
0.0625
0.125
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
1
0
0
0
0
0
1
25cdaf7cb219ebcc1a48a35fc052d380b63d54ae
655
py
Python
cobl/lexicon/migrations/0137_normalize_nexus_exports.py
Bibiko/CoBL-public
5092a0d01b7a13565c7da6bf2f6c52d648a2debe
[ "BSD-2-Clause" ]
3
2017-05-30T04:40:43.000Z
2019-04-25T14:54:54.000Z
cobl/lexicon/migrations/0137_normalize_nexus_exports.py
Bibiko/CoBL-public
5092a0d01b7a13565c7da6bf2f6c52d648a2debe
[ "BSD-2-Clause" ]
null
null
null
cobl/lexicon/migrations/0137_normalize_nexus_exports.py
Bibiko/CoBL-public
5092a0d01b7a13565c7da6bf2f6c52d648a2debe
[ "BSD-2-Clause" ]
3
2018-07-02T13:42:12.000Z
2019-05-17T13:11:13.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals, print_function import json from django.db import migrations def forwards_func(apps, schema_editor): NexusExport = apps.get_model("lexicon", "NexusExport") for export in NexusExport.objects.all(): settings = json.loads(export.exportSettin...
24.259259
59
0.690076
76
655
5.736842
0.631579
0.055046
0.06422
0.091743
0
0
0
0
0
0
0
0.032443
0.2
655
26
60
25.192308
0.799618
0.032061
0
0
0
0
0.075949
0.036392
0
0
0
0
0
1
0.117647
false
0.058824
0.176471
0
0.470588
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
1
0
0
0
0
0
1
25cf68d0a4b0a8526f46a9ffc1577f822840a5b8
2,156
py
Python
website/models.py
jkariukidev/personal_website
952e9416639c8b15e12fc7671c53e6996dda9f13
[ "MIT" ]
null
null
null
website/models.py
jkariukidev/personal_website
952e9416639c8b15e12fc7671c53e6996dda9f13
[ "MIT" ]
3
2022-03-19T03:29:55.000Z
2022-03-22T18:54:24.000Z
website/models.py
jkariukidev/personal_website
952e9416639c8b15e12fc7671c53e6996dda9f13
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone from django.urls import reverse from django.contrib.auth import get_user_model from ckeditor.fields import RichTextField from autoslug.fields import AutoSlugField User = get_user_model() class Post(models.Model): """Post model""" STATUS_CHOICES ...
29.135135
80
0.682746
254
2,156
5.653543
0.385827
0.050139
0.075209
0.100279
0.16156
0.107242
0.107242
0.107242
0.107242
0.107242
0
0.011027
0.200835
2,156
73
81
29.534247
0.822403
0.033395
0
0.156863
0
0
0.070658
0.010795
0
0
0
0
0
1
0.058824
false
0
0.117647
0.039216
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
25d004ca77753de79280c84d4b70c9b13ef42797
373
py
Python
owcli/template/yourapp/main.py
tadashi-aikawa/owcli
1c2f2ada146b671e37947ff1dfe25babaaf38094
[ "MIT" ]
1
2020-01-21T05:19:03.000Z
2020-01-21T05:19:03.000Z
owcli/template/yourapp/main.py
tadashi-aikawa/owcli
1c2f2ada146b671e37947ff1dfe25babaaf38094
[ "MIT" ]
3
2019-05-11T02:32:48.000Z
2019-06-26T23:05:52.000Z
owcli/template/yourapp/main.py
tadashi-aikawa/owcli
1c2f2ada146b671e37947ff1dfe25babaaf38094
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys PROJECT_ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.path.append(PROJECT_ROOT) sys.path.append(os.getcwd()) import owcli __version__ = '0.1.0' def main(): owcli.run(cli="__yourapp", version=__version__, root=os.path.dirname(os.path.realpath...
17.761905
101
0.72118
56
373
4.303571
0.464286
0.124481
0.161826
0.186722
0.344398
0.344398
0.257261
0
0
0
0
0.009063
0.112601
373
20
102
18.65
0.719033
0.053619
0
0
0
0
0.0625
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
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
25d56132a9991c67bebd41cd2677e0355c9c0bbd
1,302
py
Python
Aula 02/Salario.py
eduardojpsena/EstruturaDeDados-Python-IESP
97c22fc1411dfdae2d1085e9a3ca0c334ee07988
[ "MIT" ]
null
null
null
Aula 02/Salario.py
eduardojpsena/EstruturaDeDados-Python-IESP
97c22fc1411dfdae2d1085e9a3ca0c334ee07988
[ "MIT" ]
null
null
null
Aula 02/Salario.py
eduardojpsena/EstruturaDeDados-Python-IESP
97c22fc1411dfdae2d1085e9a3ca0c334ee07988
[ "MIT" ]
null
null
null
print("---SALARIO---") def salarioBruto(salarioHora, horasMes): return salarioHora * horasMes def irrf(brutoMes): return brutoMes * (11/100) def inss(brutoMes): return brutoMes * (8/100) def sindicato(brutoMes): return brutoMes * (5/100) def main(): nome = str(input("Digite seu nome: ")) ma...
38.294118
98
0.629032
135
1,302
6.422222
0.4
0.020761
0.041522
0.087659
0.143022
0.143022
0
0
0
0
0
0.01784
0.182028
1,302
33
99
39.454545
0.751174
0
0
0
0
0.037037
0.274962
0.040707
0
0
0
0
0
1
0.185185
false
0
0
0.148148
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
25d5fc91d14d71852cbb46890be81d83decb9e60
245
py
Python
9_Phan_Van_Quan/bai2_5.py
lpython2006e/exercies
84343eae57d86708a7984aa02f77183a4688a508
[ "MIT" ]
null
null
null
9_Phan_Van_Quan/bai2_5.py
lpython2006e/exercies
84343eae57d86708a7984aa02f77183a4688a508
[ "MIT" ]
null
null
null
9_Phan_Van_Quan/bai2_5.py
lpython2006e/exercies
84343eae57d86708a7984aa02f77183a4688a508
[ "MIT" ]
8
2020-07-10T14:13:54.000Z
2020-08-03T08:17:50.000Z
#Write a function that computes the running total of a list. sum def sum_list(list_1): tong = 0 for num in range(len(list_1)): tong = tong + list_1[num] print(tong) list_2 = [1,2,3,4,5,2,23,2,4,32,42,324,324] sum_list(list_2)
30.625
64
0.657143
52
245
2.961538
0.557692
0.097403
0.142857
0
0
0
0
0
0
0
0
0.133333
0.204082
245
8
65
30.625
0.65641
0.257143
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
25d6ed8f1b0d5bd4108f7c8f1345603288e8fe96
1,553
py
Python
test_tornado.py
LEvinson2504/pythonMicroframeworks
99d62ae6a027de36b82c17b0268b30321431fd7a
[ "MIT" ]
3
2016-04-06T19:44:12.000Z
2020-06-19T15:10:39.000Z
test_tornado.py
LEvinson2504/pythonMicroframeworks
99d62ae6a027de36b82c17b0268b30321431fd7a
[ "MIT" ]
2
2020-06-12T00:50:57.000Z
2020-06-20T14:24:37.000Z
test_tornado.py
LEvinson2504/pythonMicroframeworks
99d62ae6a027de36b82c17b0268b30321431fd7a
[ "MIT" ]
2
2020-06-14T06:13:58.000Z
2020-06-19T15:12:52.000Z
''' test_tornado.py @summary: Comparing (RAM usage) of different webframeworks @since: 5 Mar 2016 @author: Andreas @home github.com/drandreaskrueger/pythonMicroframeworks @license: MIT but please donate: @bitcoin: 14EyWS5z8Y5kgwq52D3qeZVor1rUsdNYJy ''' import tornado.ioloop, tornado.web...
25.883333
104
0.667096
199
1,553
5.110553
0.522613
0.031465
0.035398
0.025565
0.104228
0.066863
0
0
0
0
0
0.026016
0.207985
1,553
60
105
25.883333
0.800813
0.153896
0
0.142857
0
0
0.083089
0
0
0
0
0
0
0
null
null
0
0.142857
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
25d79945f6691e6fca74bc938b9fd9bae0ad541e
4,065
py
Python
Logistic_and_Softmax_Regression/SoftmaxRegression_Regularized.py
mmitic/Machine-Learning-algorithms-Python-
2f228a88d64b7c2748dfafbe41c0984dcf8923b0
[ "MIT" ]
1
2015-08-09T21:12:51.000Z
2015-08-09T21:12:51.000Z
Logistic_and_Softmax_Regression/SoftmaxRegression_Regularized.py
mmitic/Machine-Learning-algorithms-Python-
2f228a88d64b7c2748dfafbe41c0984dcf8923b0
[ "MIT" ]
null
null
null
Logistic_and_Softmax_Regression/SoftmaxRegression_Regularized.py
mmitic/Machine-Learning-algorithms-Python-
2f228a88d64b7c2748dfafbe41c0984dcf8923b0
[ "MIT" ]
1
2015-12-29T13:11:43.000Z
2015-12-29T13:11:43.000Z
import os import numpy as np import scipy.sparse import scipy.optimize class Softmax: def __init__(self): self.path='G:\MACHINE_LEARNING_ALGORITHMS\Logistic_and_Stochastic_Regression'### insert your path here! self.C1=0.0001 #weight decay (regularization parameter) ...
32.52
152
0.527429
499
4,065
4.214429
0.288577
0.038041
0.041845
0.060865
0.263433
0.263433
0.230147
0.230147
0.203519
0.174037
0
0.024657
0.301599
4,065
125
153
32.52
0.716097
0.071587
0
0.157895
0
0
0.056358
0.043032
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.013158
0
0
0
null
0
0
0
0
0
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
25db2994b8b673dcb1d9dda65713525f566bb09a
3,375
py
Python
flat_kivy/numpad.py
Kovak/KivyNBT
a20a41d1cc7465d772840e786fd7c6791301192f
[ "MIT" ]
5
2016-05-02T22:40:16.000Z
2018-11-21T22:44:54.000Z
flat_kivy/numpad.py
Kovak/KivyNBT
a20a41d1cc7465d772840e786fd7c6791301192f
[ "MIT" ]
null
null
null
flat_kivy/numpad.py
Kovak/KivyNBT
a20a41d1cc7465d772840e786fd7c6791301192f
[ "MIT" ]
2
2017-04-12T16:13:05.000Z
2018-11-21T22:44:57.000Z
from __future__ import unicode_literals, print_function from kivy.uix.widget import Widget from kivy.properties import (StringProperty, NumericProperty, ObjectProperty) from kivy.lang import Builder from flat_kivy.utils import construct_target_file_name Builder.load_file(construct_target_file_name('numpad.kv', _...
37.921348
79
0.626667
402
3,375
4.982587
0.169154
0.164753
0.142287
0.03994
0.682976
0.635047
0.621568
0.621568
0.607089
0.607089
0
0.006623
0.284148
3,375
88
80
38.352273
0.822434
0
0
0.592105
0
0
0.009185
0
0
0
0
0
0
1
0.078947
false
0
0.065789
0
0.328947
0.013158
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
25de7f55ccc72de9bedb0a3470a95db5f08788a1
3,727
py
Python
torb/tests/update_foursight/test_update_foursight.py
4dn-dcic/torb
10aac9d48dd65c59ce4fb29cc53cd5fd85ec7cef
[ "MIT" ]
null
null
null
torb/tests/update_foursight/test_update_foursight.py
4dn-dcic/torb
10aac9d48dd65c59ce4fb29cc53cd5fd85ec7cef
[ "MIT" ]
null
null
null
torb/tests/update_foursight/test_update_foursight.py
4dn-dcic/torb
10aac9d48dd65c59ce4fb29cc53cd5fd85ec7cef
[ "MIT" ]
null
null
null
from ...update_foursight import service import pytest import mock # TODO: This import relates to tests that need to move to dcicutils. See below. # These comments will go away when the move is accomplished. -kmp 10-Apr-2020 # from dcicutils.beanstalk_utils import create_foursight_auto @pytest.fixture def bs_pro...
40.956044
111
0.722297
501
3,727
5
0.237525
0.08982
0.100998
0.097006
0.590419
0.536128
0.519361
0.497006
0.437525
0.437525
0
0.00769
0.162597
3,727
90
112
41.411111
0.794938
0.561846
0
0.166667
0
0
0.314663
0.198238
0
0
0
0.011111
0.111111
1
0.111111
false
0
0.083333
0.055556
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
1
0
0
0
0
0
0
0
0
0
0
1
25e5490ec477dedc7eb148c4f563b08b5db0e429
864
py
Python
Ene-Jun-2018/Luis Carielo/Primer Parcial/GUI_Strategy.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ene-Jun-2018/Luis Carielo/Primer Parcial/GUI_Strategy.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ene-Jun-2018/Luis Carielo/Primer Parcial/GUI_Strategy.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
import types from tkinter import * su = Tk() su.geometry('300x300+200+300') Label(root, text="Label a : x=0, y=0", bg="#FFFF00", fg="negro").place(x=0, y=0) Label(root, text="Label b : x=50, y=40", bg="#3300CC", fg="blanco").place(x=40, y=30) Label(root, text="Label c : x=75, y=80", bg="#FF0099", fg="negro").place(x=8...
28.8
87
0.668981
142
864
3.957746
0.415493
0.064057
0.092527
0.128114
0
0
0
0
0
0
0
0.086022
0.138889
864
30
88
28.8
0.669355
0
0
0
0
0
0.219653
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
25e55bfd61a02cfff3e5f2e6263b20a8f3a99a80
1,254
py
Python
core/http/http_process.py
HyokaChen/DailyNewsSpider
ea70c69fb4cf10130a45e00a148246525571c013
[ "MIT" ]
10
2020-07-30T14:46:43.000Z
2021-11-16T12:04:01.000Z
core/http/http_process.py
HyokaChen/DailyNewsSpider
ea70c69fb4cf10130a45e00a148246525571c013
[ "MIT" ]
null
null
null
core/http/http_process.py
HyokaChen/DailyNewsSpider
ea70c69fb4cf10130a45e00a148246525571c013
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @File : http_process.py @Time : 2018/12/15 0015 16:50 @Author : Empty Chan @Contact : chen19941018@gmail.com @Description: @License : (C) Copyright 2016-2017, iFuture Corporation Limited. """ from utils.color import Colored class HTTPProce...
27.26087
73
0.590909
130
1,254
5.369231
0.523077
0.116046
0.093123
0.114613
0.19341
0
0
0
0
0
0
0.042286
0.302233
1,254
45
74
27.866667
0.755429
0.200957
0
0
0
0
0.090172
0
0
0
0
0
0
1
0.192308
false
0
0.038462
0.153846
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
25e8506b404a7c43a9263b7405423e9f4f524dd8
1,220
py
Python
src/dino/assets/sprites/dinos.py
I-question-this/dino_game
c7383c2a94d2947cdc9cea6bc7cc5d07e2a18681
[ "MIT" ]
null
null
null
src/dino/assets/sprites/dinos.py
I-question-this/dino_game
c7383c2a94d2947cdc9cea6bc7cc5d07e2a18681
[ "MIT" ]
null
null
null
src/dino/assets/sprites/dinos.py
I-question-this/dino_game
c7383c2a94d2947cdc9cea6bc7cc5d07e2a18681
[ "MIT" ]
null
null
null
from functools import partial from dino.assets import DINO_DOUX, DINO_BART, DINO_MORT, DINO_VITA from dino.assets.sprites.spritesheet import SpriteSheet class DinoSpriteSheet(SpriteSheet): def __init__(self, file_name, entity_width, entity_height): super().__init__(file_name=file_name, ...
40.666667
66
0.612295
142
1,220
4.929577
0.380282
0.074286
0.16
0.182857
0
0
0
0
0
0
0
0.018094
0.320492
1,220
29
67
42.068966
0.826297
0.07377
0
0
0
0
0
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.26087
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
25ebdcf92c7ed3663b62b783f4225ca5d6c87fdb
555
py
Python
EgammaAnalysis/CSA07Skims/python/egammaVeryHighEtOutputModuleAODSIM_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
EgammaAnalysis/CSA07Skims/python/egammaVeryHighEtOutputModuleAODSIM_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
EgammaAnalysis/CSA07Skims/python/egammaVeryHighEtOutputModuleAODSIM_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
import FWCore.ParameterSet.Config as cms from EgammaAnalysis.CSA07Skims.EgammaSkimEventContent_cff import * from EgammaAnalysis.CSA07Skims.AODSIMEgammaSkimEventContent_cff import * egammaVeryHighEtOutputModuleAODSIM = cms.OutputModule("PoolOutputModule", AODSIMEgammaSkimEventContent, egammaVeryHighEtEventSelec...
34.6875
73
0.790991
44
555
9.931818
0.590909
0.10984
0.12357
0.183066
0
0
0
0
0
0
0
0.008247
0.126126
555
15
74
37
0.892784
0
0
0
0
0
0.124774
0.088608
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
25f41f339374660d167de55f5724857acef6f27c
1,106
py
Python
tests/compiler/test_inline_list_compilation.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
5
2017-11-07T21:32:22.000Z
2019-06-30T18:35:17.000Z
tests/compiler/test_inline_list_compilation.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
null
null
null
tests/compiler/test_inline_list_compilation.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
1
2020-03-25T18:14:08.000Z
2020-03-25T18:14:08.000Z
import pytest from tests.compiler import compile_snippet, internal_call, STATIC_START, LOCAL_START from thinglang.compiler.errors import NoMatchingOverload, InvalidReference from thinglang.compiler.opcodes import OpcodePopLocal, OpcodePushStatic def test_inline_list_compilation(): assert compile_snippet('list<n...
31.6
96
0.726944
121
1,106
6.38843
0.363636
0.07762
0.082794
0.065977
0.146184
0.146184
0.098318
0
0
0
0
0.008734
0.17179
1,106
34
97
32.529412
0.835153
0.048825
0
0.142857
0
0
0.180688
0
0
0
0
0
0.142857
1
0.142857
true
0
0.190476
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
1
0
0
0
0
0
0
1
25f45c247e27f0d9f1285b78478c3c7ff114ba00
3,143
py
Python
COT/platforms/cisco_csr1000v.py
morneaup/cot
3d4dc7079a33aa0c09216ec339b44f84ab69ff4b
[ "MIT" ]
81
2015-01-18T22:31:42.000Z
2022-03-14T12:34:33.000Z
COT/platforms/cisco_csr1000v.py
morneaup/cot
3d4dc7079a33aa0c09216ec339b44f84ab69ff4b
[ "MIT" ]
67
2015-01-05T15:24:39.000Z
2021-08-16T12:44:58.000Z
COT/platforms/cisco_csr1000v.py
morneaup/cot
3d4dc7079a33aa0c09216ec339b44f84ab69ff4b
[ "MIT" ]
20
2015-07-09T14:20:25.000Z
2021-09-18T17:59:57.000Z
# September 2016, Glenn F. Matthews # Copyright (c) 2013-2017 the COT project developers. # See the COPYRIGHT.txt file at the top-level directory of this distribution # and at https://github.com/glennmatthews/cot/blob/master/COPYRIGHT.txt. # # This file is part of the Common OVF Tool (COT) project. # It is subject to t...
34.163043
78
0.652561
394
3,143
5.104061
0.446701
0.024863
0.004475
0.019891
0.101442
0.082546
0.082546
0.082546
0.082546
0.082546
0
0.043367
0.25167
3,143
91
79
34.538462
0.81165
0.491887
0
0
0
0
0.084311
0
0
0
0
0
0
1
0.096774
false
0
0.096774
0
0.516129
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
25facd889b29b9ae267203e862e6cd3bd007fecf
5,250
py
Python
tac/platform/shared_sim_status.py
fetchai/agents-tac
9e7de7cf6a43fff789972f6d7a3ed906858009e0
[ "Apache-2.0" ]
29
2019-07-17T08:58:19.000Z
2021-12-08T19:25:22.000Z
tac/platform/shared_sim_status.py
fetchai/agents-tac
9e7de7cf6a43fff789972f6d7a3ed906858009e0
[ "Apache-2.0" ]
90
2019-07-03T09:19:15.000Z
2022-01-20T10:37:48.000Z
tac/platform/shared_sim_status.py
fetchai/agents-tac
9e7de7cf6a43fff789972f6d7a3ed906858009e0
[ "Apache-2.0" ]
8
2019-07-12T11:06:54.000Z
2020-05-29T18:54:51.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You m...
34.090909
117
0.675619
734
5,250
4.618529
0.294278
0.042478
0.046018
0.024779
0.314454
0.172861
0.144543
0.126844
0.113274
0.113274
0
0.003338
0.201143
5,250
153
118
34.313725
0.804959
0.38419
0
0.232877
0
0
0.115568
0
0
0
0
0
0
1
0.191781
false
0
0.054795
0
0.520548
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
25faff081a1e019d56f15b0c1008f23995f1bd3a
396
py
Python
tests/pipeline/test_service.py
guilhermewebdev/esteira
0bd0a3193992f9c63d36627d73d43d8b84c51779
[ "MIT" ]
null
null
null
tests/pipeline/test_service.py
guilhermewebdev/esteira
0bd0a3193992f9c63d36627d73d43d8b84c51779
[ "MIT" ]
null
null
null
tests/pipeline/test_service.py
guilhermewebdev/esteira
0bd0a3193992f9c63d36627d73d43d8b84c51779
[ "MIT" ]
null
null
null
from esteira.pipeline.service import Service def test_instance(): envs = { "POSTGRES_DB": "nice_marmot", "POSTGRES_USER": "runner", "POSTGRES_PASSWORD": "pass", "POSTGRES_HOST_AUTH_METHOD": "trust", } service = Service( 'postgres', external_envs=envs ) ...
24.75
45
0.606061
40
396
5.75
0.675
0
0
0
0
0
0
0
0
0
0
0
0.262626
396
16
46
24.75
0.787671
0
0
0
0
0
0.261965
0.062972
0
0
0
0
0
1
0.066667
false
0.066667
0.066667
0
0.133333
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
25feeac7b261ec353d3c3925b8c071f4b0bf6332
6,835
py
Python
scripts/imgurloader.py
lorenzhs/thinkscripts
71a80b44e3221a2007b76813c455366d28016b5a
[ "BSD-2-Clause-FreeBSD" ]
1
2016-03-29T07:23:30.000Z
2016-03-29T07:23:30.000Z
scripts/imgurloader.py
lorenzhs/thinkscripts
71a80b44e3221a2007b76813c455366d28016b5a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
scripts/imgurloader.py
lorenzhs/thinkscripts
71a80b44e3221a2007b76813c455366d28016b5a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ imguralbum.py - Download a whole imgur album or account in one go. MIT License Copyright Alex Gisby <alex@solution10.com>, Lorenz H-S <thinkscripts@4z2.de> """ import sys import re import urllib import os import math help_message = ''' Quickly and easily download an album ...
37.146739
201
0.598098
895
6,835
4.481564
0.250279
0.055846
0.040389
0.010471
0.268262
0.241087
0.236101
0.165046
0.1456
0.133134
0
0.012622
0.281346
6,835
183
202
37.349727
0.80395
0.062619
0
0.243478
0
0.034783
0.237995
0.05277
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.121739
0
0
0
null
0
0
0
0
0
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
d30280339f281a9b13770d8cd558ca3d4224e5b2
3,907
py
Python
data/getAverage.py
BenjaminDeJager/ai_project
02bc3e92dc0bde8267c60ee4ba1efedd421e382e
[ "MIT" ]
1
2021-05-01T05:39:21.000Z
2021-05-01T05:39:21.000Z
data/getAverage.py
BenjaminDeJager/ai_project
02bc3e92dc0bde8267c60ee4ba1efedd421e382e
[ "MIT" ]
null
null
null
data/getAverage.py
BenjaminDeJager/ai_project
02bc3e92dc0bde8267c60ee4ba1efedd421e382e
[ "MIT" ]
null
null
null
files = [] outFile = open("Out.csv",'w') numFiles = int(input("num of files: ")) samplePoints = int(input("num of sample points: ")) for i in range(numFiles): file = open("Run#"+str(i+1)+".csv",'r') files.append(file) #print(files[i].readline().strip()) i = 0 outFile.write("Ants,Larva,Foo...
30.286822
83
0.502687
508
3,907
3.866142
0.167323
0.046334
0.039715
0.033605
0.707739
0.678208
0.678208
0.629328
0.595723
0.508147
0
0.057627
0.32045
3,907
128
84
30.523438
0.682109
0.178398
0
0.757895
0
0.042105
0.10493
0.059418
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d30dd6af77f73cd7074e5c34960a027a07ad307d
874
py
Python
tests/unit/test_trust.py
joeblackwaslike/gpgkeyring
65d595c2db2007eff400f929307fb3a036b7069c
[ "MIT" ]
null
null
null
tests/unit/test_trust.py
joeblackwaslike/gpgkeyring
65d595c2db2007eff400f929307fb3a036b7069c
[ "MIT" ]
null
null
null
tests/unit/test_trust.py
joeblackwaslike/gpgkeyring
65d595c2db2007eff400f929307fb3a036b7069c
[ "MIT" ]
null
null
null
import pytest import gpgkeyring from ..helpers import testdata TRUST_VALUE_MAP = gpgkeyring.trust._TRUST_MAP.items() class TestEnum: @pytest.fixture(params=testdata.TRUST_LEVELS) def level(self, request): yield request.param def test_trust_level_value(self, level): assert getattr(gpgk...
24.277778
78
0.685355
110
874
5.2
0.327273
0.061189
0.083916
0.118881
0
0
0
0
0
0
0
0
0.203661
874
35
79
24.971429
0.821839
0
0
0
0
0
0.024027
0
0
0
0
0
0.227273
1
0.272727
false
0
0.136364
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d30f5ec11518bb2f3f9914d1e8b20fbb8786d7a3
1,866
py
Python
src/sentry/lang/javascript/cache.py
noscripter/sentry
1c5b1b53e740ffd2747afb7f0995e026be9468d0
[ "BSD-3-Clause" ]
20
2016-10-01T04:29:24.000Z
2020-10-09T07:23:34.000Z
src/sentry/lang/javascript/cache.py
fotinakis/sentry
c5cfa5c5e47475bf5ef41e702548c2dfc7bb8a7c
[ "BSD-3-Clause" ]
null
null
null
src/sentry/lang/javascript/cache.py
fotinakis/sentry
c5cfa5c5e47475bf5ef41e702548c2dfc7bb8a7c
[ "BSD-3-Clause" ]
7
2016-10-27T05:12:45.000Z
2021-05-01T14:29:53.000Z
from __future__ import absolute_import, print_function __all__ = ['SourceCache', 'SourceMapCache'] class SourceCache(object): def __init__(self): self._cache = {} self._errors = {} self._aliases = {} def __contains__(self, url): url = self._get_canonical_url(url) retu...
26.28169
56
0.613076
232
1,866
4.573276
0.172414
0.079171
0.084826
0.089538
0.403393
0.290292
0.290292
0.114986
0.114986
0.079171
0
0.007479
0.283494
1,866
70
57
26.657143
0.786088
0
0
0.173077
0
0
0.013398
0
0
0
0
0
0
1
0.269231
false
0
0.019231
0.038462
0.5
0.019231
0
0
0
null
0
0
0
0
0
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
d30ff44dec9fff8e6bee775fc45c618a79c2122e
5,536
py
Python
trainers.py
dmrd/dnn
ed13beeccf92eccfd7ac8fe2eee63ab3a677a245
[ "MIT" ]
3
2015-05-01T15:10:45.000Z
2019-09-29T13:53:11.000Z
trainers.py
dmrd/dnn
ed13beeccf92eccfd7ac8fe2eee63ab3a677a245
[ "MIT" ]
null
null
null
trainers.py
dmrd/dnn
ed13beeccf92eccfd7ac8fe2eee63ab3a677a245
[ "MIT" ]
null
null
null
def initialize_states(model, data): """ Initialize states for a deep boltzmann machine given data. Double weights up to account for lack of top down input """ states = [data] for i, connection in enumerate(model.connections[:-1]): states.append(model.layers[i + 1].expectation(connection....
31.276836
92
0.621749
736
5,536
4.540761
0.213315
0.044883
0.02304
0.02693
0.437762
0.399162
0.36924
0.33094
0.28067
0.204668
0
0.014539
0.26698
5,536
176
93
31.454545
0.809019
0.180275
0
0.35
0
0
0.015643
0
0
0
0
0
0.02
1
0.22
false
0.02
0
0.04
0.43
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
d3106810ea3b19472343688d970458b005ab7d80
673
py
Python
src/examples/tutorial/ascent_intro/python/conduit_example1.py
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/examples/tutorial/ascent_intro/python/conduit_example1.py
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/examples/tutorial/ascent_intro/python/conduit_example1.py
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
############################################################################### # Copyright (c) Lawrence Livermore National Security, LLC and other Ascent # Project developers. See top-level LICENSE AND COPYRIGHT files for dates and # other details. No copyright assignment is required to contribute to Ascent. #########...
33.65
79
0.572065
82
673
4.682927
0.682927
0.0625
0.0625
0
0
0
0
0
0
0
0
0
0.136701
673
19
80
35.421053
0.660929
0.591382
0
0
0
0
0.075472
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
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
d313b7e118a7a494f6f99c74595b300841e68193
1,200
py
Python
src/213-HouseRobberII.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
1
2022-03-03T15:11:48.000Z
2022-03-03T15:11:48.000Z
src/213-HouseRobberII.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
null
null
null
src/213-HouseRobberII.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
2
2022-01-20T22:49:58.000Z
2022-01-20T22:53:13.000Z
#!/usr/bin/env python """ CREATED AT: 2021/9/26 Des: https://leetcode.com/problems/house-robber-ii/ GITHUB: https://github.com/Jiezhi/myleetcode Difficulty: Medium Tags: DP Also See: 198. House Robber """ from typing import List class Solution: def rob(self, nums: List[int]) -> int: """ 75 / 75...
23.529412
88
0.533333
178
1,200
3.550562
0.455056
0.110759
0.134494
0.166139
0.155063
0.155063
0.155063
0.079114
0
0
0
0.067776
0.299167
1,200
50
89
24
0.68371
0.316667
0
0
0
0
0.010695
0
0
0
0
0
0.25
1
0.15
false
0
0.05
0
0.4
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
d315502f46f1aa11d87503b81761556b6b7fb4fd
4,052
py
Python
Latest/venv/Lib/site-packages/pyface/ui/wx/list_box.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/pyface/ui/wx/list_box.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/pyface/ui/wx/list_box.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
""" A simple list box widget with a model-view architecture. """ from __future__ import absolute_import # Major package imports. import wx # Enthought library imports. from traits.api import Event, Instance, Int # Local imports. from pyface.list_box_model import ListBoxModel from .widget import Widget class ListBo...
27.753425
79
0.48001
378
4,052
4.97619
0.296296
0.029771
0.015949
0.030303
0.255183
0.255183
0.220096
0.220096
0.180755
0.180755
0
0.000984
0.247285
4,052
145
80
27.944828
0.615738
0.229516
0
0.245283
0
0
0.010748
0
0
0
0
0
0
1
0.169811
false
0
0.09434
0
0.528302
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
d3164d6cde62226723a47c88609917ab4203bb00
3,870
py
Python
simple_plot.py
rubind/wfirst_snfields
12038b7cc45f3847a2816a3b2d2134bab4d49b80
[ "MIT" ]
null
null
null
simple_plot.py
rubind/wfirst_snfields
12038b7cc45f3847a2816a3b2d2134bab4d49b80
[ "MIT" ]
null
null
null
simple_plot.py
rubind/wfirst_snfields
12038b7cc45f3847a2816a3b2d2134bab4d49b80
[ "MIT" ]
null
null
null
from numpy import * # Yup import matplotlib.pyplot as plt import ephem import sfdmap from astropy.io import ascii def add_point(RA, Dec, flipRA = 1, color = 'b', txtlabel = None, symb = '.', label = ""): assert abs(RA) <= 2.*pi assert abs(Dec) <= pi if RA <= pi: plotRA = RA else: plot...
31.721311
171
0.587855
598
3,870
3.719064
0.272575
0.040468
0.043165
0.026978
0.368255
0.299011
0.244604
0.244604
0.21313
0.21313
0
0.057757
0.230491
3,870
121
172
31.983471
0.689053
0.016537
0
0.164706
0
0
0.05788
0.013154
0
0
0
0
0.023529
0
null
null
0
0.058824
null
null
0.035294
0
0
0
null
0
0
0
0
0
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
d317c78a79f970d8e1f1a9e23c8512e7e86dd91e
1,028
py
Python
wueevents/webfrontent/migrations/0002_auto_20200416_1805.py
suspect22/wueevents
c8fb54c76da74d1c553418d04ea38cda810913ab
[ "MIT" ]
null
null
null
wueevents/webfrontent/migrations/0002_auto_20200416_1805.py
suspect22/wueevents
c8fb54c76da74d1c553418d04ea38cda810913ab
[ "MIT" ]
null
null
null
wueevents/webfrontent/migrations/0002_auto_20200416_1805.py
suspect22/wueevents
c8fb54c76da74d1c553418d04ea38cda810913ab
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-16 18:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('webfrontent', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='crawlerrun'...
34.266667
250
0.608949
102
1,028
6.039216
0.617647
0.038961
0.045455
0.071429
0
0
0
0
0
0
0
0.028241
0.242218
1,028
29
251
35.448276
0.762516
0.043774
0
0.217391
1
0
0.248726
0.074414
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
d3208f7ca007725b03f2e092235bb15cb6b677d8
3,035
py
Python
pybrowser/external/htmlrenderer.py
abranjith/pybrowser
8a4d435c7071e64e881f2c274fabd5cd7805ea34
[ "MIT" ]
22
2019-04-09T07:18:40.000Z
2021-03-05T22:49:55.000Z
pybrowser/external/htmlrenderer.py
abranjith/pybrowser
8a4d435c7071e64e881f2c274fabd5cd7805ea34
[ "MIT" ]
3
2019-04-09T05:50:21.000Z
2021-12-13T20:03:15.000Z
pybrowser/external/htmlrenderer.py
abranjith/pybrowser
8a4d435c7071e64e881f2c274fabd5cd7805ea34
[ "MIT" ]
2
2019-04-09T09:51:30.000Z
2019-04-09T20:27:21.000Z
import os import asyncio from pyppeteer import launch from ..log_adapter import get_logger from ..common_utils import get_user_home_dir, add_to_osenv from ..constants import CONSTANTS def render_html(url=None, html=None, get_text=False, script=None, reload_=False, wait_time=5, timeout=10): result, content = None, ...
38.910256
187
0.63855
384
3,035
4.893229
0.302083
0.071847
0.027674
0.033528
0.455029
0.455029
0.416711
0.405003
0.373071
0.287387
0
0.012543
0.238221
3,035
77
188
39.415584
0.800173
0.10313
0
0.415385
0
0.015385
0.115654
0.033149
0
0
0
0.012987
0
1
0.030769
false
0.015385
0.092308
0
0.153846
0.015385
0
0
0
null
0
0
0
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
d32729dd538314e17dc5dac6d681a1279a95cbc9
28,293
py
Python
birdCLEF_train.py
kahst/BirdCLEF2017
f485a3f9083b35bdd7a276dcd1c14da3a9568d85
[ "MIT" ]
43
2017-05-28T11:58:58.000Z
2022-03-17T19:11:04.000Z
birdCLEF_train.py
RodrigoGantier/BirdCLEF2017
f485a3f9083b35bdd7a276dcd1c14da3a9568d85
[ "MIT" ]
9
2018-02-16T14:30:34.000Z
2018-12-07T22:40:41.000Z
birdCLEF_train.py
RodrigoGantier/BirdCLEF2017
f485a3f9083b35bdd7a276dcd1c14da3a9568d85
[ "MIT" ]
18
2018-01-24T13:43:08.000Z
2021-05-26T16:16:46.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- print "HANDLING IMPORTS..." import os import time import operator import numpy as np import matplotlib.pyplot as plt import cv2 from scipy import interpolate from sklearn.utils import shuffle from sklearn.metrics import confusion_matrix import itertools import pickle ...
32.784473
185
0.614922
3,801
28,293
4.45488
0.170218
0.004488
0.007677
0.01004
0.231383
0.181008
0.160102
0.146519
0.119294
0.104707
0
0.022888
0.251052
28,293
862
186
32.822506
0.776215
0.194253
0
0.156504
0
0
0.052703
0.001087
0
0
0
0.00116
0
0
null
null
0.002033
0.04878
null
null
0.069106
0
0
0
null
0
0
0
0
0
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
d32f0bedeae16ecbd40f3a4da84f63b1b78f5fb3
369
py
Python
leet_code_array/mid_questions/subset.py
IvanFan/leetcode-python
72a12a107681cc5f09f1f88537c5b0741f0818a4
[ "MIT" ]
null
null
null
leet_code_array/mid_questions/subset.py
IvanFan/leetcode-python
72a12a107681cc5f09f1f88537c5b0741f0818a4
[ "MIT" ]
null
null
null
leet_code_array/mid_questions/subset.py
IvanFan/leetcode-python
72a12a107681cc5f09f1f88537c5b0741f0818a4
[ "MIT" ]
null
null
null
class Solution: def subsets(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ res=[] self.dfs([], 0, nums, res) return res def dfs(self, path, index, nums, res): res.append(path) for i in range(index, len(nums)): ...
26.357143
54
0.476965
48
369
3.666667
0.479167
0.119318
0
0
0
0
0
0
0
0
0
0.008475
0.360434
369
14
54
26.357143
0.737288
0.121951
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
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
1
0
0
0
0
0
0
0
1
d33a5e53c3e35f6d10e35e310588ea74362676d9
1,485
py
Python
giftshop/giftshop/management/serializers.py
mvbattista/django-shop-demo
3f6cdbeb627d16ca45c7f2304b32c410f16c8b4a
[ "BSD-3-Clause" ]
null
null
null
giftshop/giftshop/management/serializers.py
mvbattista/django-shop-demo
3f6cdbeb627d16ca45c7f2304b32c410f16c8b4a
[ "BSD-3-Clause" ]
null
null
null
giftshop/giftshop/management/serializers.py
mvbattista/django-shop-demo
3f6cdbeb627d16ca45c7f2304b32c410f16c8b4a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ These serializers are used exclusively to import the file ``workdir/fixtures/products-meta.json``. They are not intended for general purpose and can be deleted thereafter. """ from __future__ import unicode_literals from filer.models.imagemodels import Image from rest_framework import serial...
39.078947
98
0.760269
153
1,485
7.24183
0.575163
0.028881
0.041516
0.045126
0
0
0
0
0
0
0
0.000796
0.154209
1,485
37
99
40.135135
0.881369
0.13064
0
0
0
0
0.060795
0
0
0
0
0
0
1
0.04
false
0
0.24
0
0.72
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
d340c2f9f33daa88e8949aa4fa874217c0b4853c
365
py
Python
mmdet/datasets/my_dataset.py
jingwoo4710/mmdetection-icevision
da82741b29fdd1eb77b4e7483ff2a515d43d1760
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/my_dataset.py
jingwoo4710/mmdetection-icevision
da82741b29fdd1eb77b4e7483ff2a515d43d1760
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/my_dataset.py
jingwoo4710/mmdetection-icevision
da82741b29fdd1eb77b4e7483ff2a515d43d1760
[ "Apache-2.0" ]
null
null
null
from .coco import CocoDataset from .registry import DATASETS @DATASETS.register_module class MyDataset(CocoDataset): CLASSES = ('car', 'pedestrian', 'trafficLight-Red', 'trafficLight-Green', 'truck', 'trafficLight', 'biker', 'trafficLight-RedLeft', 'trafficLight-GreenLeft' , 'traf...
33.181818
89
0.693151
32
365
7.875
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.175342
365
10
90
36.5
0.837209
0
0
0
0
0
0.419178
0.123288
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d3484c8e71b0aac92d6811446f538aa49bf4b1e6
1,295
py
Python
lib/Sh.py
ldimaggi/acceptance-testing
abdb317b28dbb36b01d33da9479270b0073ba5be
[ "Apache-2.0" ]
null
null
null
lib/Sh.py
ldimaggi/acceptance-testing
abdb317b28dbb36b01d33da9479270b0073ba5be
[ "Apache-2.0" ]
9
2020-05-28T10:14:40.000Z
2021-01-12T14:43:05.000Z
lib/Sh.py
ldimaggi/acceptance-testing
abdb317b28dbb36b01d33da9479270b0073ba5be
[ "Apache-2.0" ]
1
2020-04-30T10:21:16.000Z
2020-04-30T10:21:16.000Z
# # Copyright The Helm Authors. # # 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 writin...
28.152174
74
0.683398
185
1,295
4.67027
0.486486
0.069444
0.038194
0.048611
0.085648
0.085648
0.085648
0.085648
0.085648
0
0
0.006098
0.240154
1,295
45
75
28.777778
0.871951
0.423938
0
0.25
0
0
0.010944
0
0
0
0
0
0
1
0.208333
false
0.041667
0.125
0
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d34a58117f94c2bbad5c3b0f79aa06165ee56d40
398
py
Python
Ex0108/moeda.py
Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo
3b2d68094dd5d60f0e45a75590eb2be9be030640
[ "MIT" ]
null
null
null
Ex0108/moeda.py
Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo
3b2d68094dd5d60f0e45a75590eb2be9be030640
[ "MIT" ]
null
null
null
Ex0108/moeda.py
Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo
3b2d68094dd5d60f0e45a75590eb2be9be030640
[ "MIT" ]
null
null
null
def metade(x=0): x = x / 2 return x def dobro(x=0): x = x * 2 return x def aumentar(x=0, i=0): x = x * (1+(i/100)) return x def diminuir(x=0, i=0): x = x * (1-(i/100)) return x def moeda(x=0, moeda='R$ '): x = f'{x:,.2f}' x = x.replace('.', '-') x = x.repl...
13.266667
31
0.40201
67
398
2.38806
0.253731
0.0875
0.075
0.05
0.61875
0.61875
0.45
0.45
0.2625
0.2625
0
0.070313
0.356784
398
29
32
13.724138
0.554688
0
0
0.222222
0
0
0.068354
0
0
0
0
0
0
1
0.277778
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d34eb3b9e813d06c380919c0a1a3b281d94e684d
1,791
py
Python
examples/simplelogin/routes/auth.py
mekarpeles/waltz
b5cbf1bc57b1fff0be34559b7d88d2da960bad45
[ "BSD-3-Clause" ]
null
null
null
examples/simplelogin/routes/auth.py
mekarpeles/waltz
b5cbf1bc57b1fff0be34559b7d88d2da960bad45
[ "BSD-3-Clause" ]
null
null
null
examples/simplelogin/routes/auth.py
mekarpeles/waltz
b5cbf1bc57b1fff0be34559b7d88d2da960bad45
[ "BSD-3-Clause" ]
null
null
null
#-*- coding: utf-8 -*- """ routes.auth ~~~~~~~~~~~ Routes for handling authentication (login, register, logout) :copyright: (c) Authentication Dance by Waltz. :license: GPLv3, see LICENSE for more details. """ import waltz from waltz import User, web, session, render class Login: def GET(se...
29.85
78
0.546064
207
1,791
4.705314
0.333333
0.043121
0.045175
0.065708
0.409651
0.392197
0.392197
0.392197
0.392197
0.392197
0
0.002408
0.304299
1,791
59
79
30.355932
0.779294
0.133445
0
0.487805
0
0
0.092166
0
0
0
0
0
0
1
0.121951
false
0.097561
0.04878
0.02439
0.414634
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
d352ebd61908d0718bc5d5e76a95055fb7b7c033
2,186
py
Python
src/choropleths/models.py
unt-libraries/texas-choropleth
ccc3cdddd94fe5ec49e0a547c805c62a066bd66e
[ "BSD-3-Clause" ]
1
2018-12-10T02:37:29.000Z
2018-12-10T02:37:29.000Z
src/choropleths/models.py
unt-libraries/texas-choropleth
ccc3cdddd94fe5ec49e0a547c805c62a066bd66e
[ "BSD-3-Clause" ]
21
2015-01-23T06:51:45.000Z
2018-10-10T20:27:55.000Z
src/choropleths/models.py
unt-libraries/texas-choropleth
ccc3cdddd94fe5ec49e0a547c805c62a066bd66e
[ "BSD-3-Clause" ]
1
2015-10-01T00:33:44.000Z
2015-10-01T00:33:44.000Z
from django.db import models from django.contrib.auth.models import User from datasets.models import Dataset, PublishedMixin, SCALE_CHOICES SCHEME_CHOICES = ( (1, 'Sequential'), (2, 'Diverging'), (3, 'Qualitative'), ) class AbstractModel(models.Model): status = models.BooleanField(default=False) ...
26.02381
77
0.661482
242
2,186
5.842975
0.367769
0.028289
0.042433
0.050919
0.273692
0.178218
0.055163
0.055163
0
0
0
0.004884
0.250686
2,186
83
78
26.337349
0.858364
0.121683
0
0.148148
0
0
0.032859
0
0
0
0
0
0
1
0.092593
false
0
0.055556
0.037037
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
0
1
0
0
1
d361a7c5bfc3b1ebc7879ad5a842156f10a0efba
1,278
py
Python
source/build.py
rclayton-the-terrible/Ansible-OpenSSL
2e95c43911b4c2cd8cc82d42f120fd6bd4e36931
[ "MIT" ]
29
2015-01-22T15:31:37.000Z
2021-07-14T02:46:53.000Z
source/build.py
berico-rclayton/Ansible-OpenSSL
2e95c43911b4c2cd8cc82d42f120fd6bd4e36931
[ "MIT" ]
5
2015-01-21T22:30:00.000Z
2016-07-12T22:55:54.000Z
source/build.py
berico-rclayton/Ansible-OpenSSL
2e95c43911b4c2cd8cc82d42f120fd6bd4e36931
[ "MIT" ]
12
2015-02-13T07:59:18.000Z
2022-01-24T09:13:28.000Z
import os, shutil BUILD_DIR = "../dist" FILES_TO_BUILD = [ { "file": "ca", "module": "ca_module.py", "library": "ca.py", "import": "from ca import CA" }, { "file": "certificate", "module": "certificate_module.py", "library": "certificate.py", "import": "from certificate import Certificate" }, { "file": "k...
38.727273
143
0.694836
155
1,278
5.548387
0.329032
0.081395
0.052326
0.04186
0.048837
0
0
0
0
0
0
0.000925
0.154147
1,278
32
144
39.9375
0.794635
0
0
0
0
0
0.238654
0.016432
0
0
0
0
0
0
null
null
0
0.269231
null
null
0.038462
0
0
0
null
0
0
0
0
0
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
d36503749b7bc4dd9ab596a44975407acae0d0ec
18,681
py
Python
010_XRDAnalysis/FeNi/FeNi_Ambient_019/ExtraPeakAttempt/Fit_XRD_Pattern.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
010_XRDAnalysis/FeNi/FeNi_Ambient_019/ExtraPeakAttempt/Fit_XRD_Pattern.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
010_XRDAnalysis/FeNi/FeNi_Ambient_019/ExtraPeakAttempt/Fit_XRD_Pattern.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
# Written by Rachel Morrison on July 1, 2016 # Updated October 2017 # ## Input Data and Parameters from Fit_XRD_Input import * # ## Outline # - Import data # - Specify 2theta range # - Identify phases # - Set starting parameter values for a (and c) # - Identify peaks present in 2theta range for given a (and c) # -...
36.486328
96
0.662598
2,443
18,681
4.967253
0.191568
0.040791
0.018789
0.021755
0.354182
0.299382
0.257684
0.204615
0.185084
0.15822
0
0.025443
0.196296
18,681
512
97
36.486328
0.782803
0.164606
0
0.247788
0
0
0.067243
0
0
0
0
0
0
0
null
null
0
0.050147
null
null
0.011799
0
0
0
null
0
0
0
0
0
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
d365d258e5da91f89533a37ebc45518a1726de2f
1,362
py
Python
core/cdag/node/metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
null
null
null
core/cdag/node/metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
null
null
null
core/cdag/node/metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
null
null
null
# ---------------------------------------------------------------------- # MetricsNode # ---------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # Python modules f...
27.24
85
0.532305
158
1,362
4.531646
0.56962
0.046089
0.036313
0.039106
0.041899
0
0
0
0
0
0
0.016854
0.215859
1,362
49
86
27.795918
0.653558
0.29442
0
0
0
0
0.053362
0
0
0
0
0
0
1
0.038462
false
0
0.192308
0
0.615385
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
d36fcf0138716f178ec96518e782b2fccc83abc3
620
py
Python
04-text-byte/example_4_10.py
hua372494277/fluent_python_example-code
07577e3e3ca822ab0e769bbaa22477fd988edb36
[ "MIT" ]
null
null
null
04-text-byte/example_4_10.py
hua372494277/fluent_python_example-code
07577e3e3ca822ab0e769bbaa22477fd988edb36
[ "MIT" ]
null
null
null
04-text-byte/example_4_10.py
hua372494277/fluent_python_example-code
07577e3e3ca822ab0e769bbaa22477fd988edb36
[ "MIT" ]
null
null
null
fp = open('cafe.txt', 'w', encoding='utf-8') print(fp) # <_io.TextIOWrapper name='cafe.txt' mode='w' encoding='utf-8'> # 默认情况下,open函数采用文本模式,返回一个TextIOWrapper对象 print(fp.write('café')) # 在TextIOWrapper对象上调用write方法返回写入的Unicode字符数:4 fp.close() import os print(os.stat('cafe.txt').st_size) fp2 = open('cafe.txt') print(fp2) ...
23.846154
63
0.729032
86
620
5.232558
0.406977
0.093333
0.097778
0.057778
0
0
0
0
0
0
0
0.027923
0.075806
620
25
64
24.8
0.757417
0.382258
0
0.105263
0
0
0.151596
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.526316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d373a4b5adeda9e4dca2dfc62136120dbf63f0c7
4,746
py
Python
htn/htn.py
jsupratman13/StudySession2018
ea52ae61a23b2a9ae08185acb49ceb34fcc7f750
[ "MIT" ]
null
null
null
htn/htn.py
jsupratman13/StudySession2018
ea52ae61a23b2a9ae08185acb49ceb34fcc7f750
[ "MIT" ]
null
null
null
htn/htn.py
jsupratman13/StudySession2018
ea52ae61a23b2a9ae08185acb49ceb34fcc7f750
[ "MIT" ]
null
null
null
################################ # @file htn.py # # @brief HTN Planner core # # @author Joshua Supratman # # @date 2017/09/07 # ################################ import copy class WorldState(object): def __init__(self, *args): self.define_status = args self.curr...
35.155556
132
0.578171
499
4,746
5.172345
0.190381
0.040294
0.029833
0.023247
0.359938
0.2716
0.235955
0.206509
0.194498
0.194498
0
0.003791
0.333123
4,746
134
133
35.41791
0.81169
0.022335
0
0.277228
0
0
0.044796
0
0
0
0
0
0.039604
0
null
null
0
0.009901
null
null
0.029703
0
0
0
null
0
0
0
0
0
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
d376f8e75aeda7a5f8ab84956c3eb1aca0f7b88f
842
pyde
Python
1/SaveJPG/SaveJPG.pyde
sinoapollo/pyprocessingsamplecode
6ed3a94ab8d2d3b58b1bf73f7c06b11870356f9c
[ "MIT" ]
2
2019-05-16T17:30:38.000Z
2020-06-17T05:33:11.000Z
1/SaveJPG/SaveJPG.pyde
sinoapollo/pyprocessingsamplecode
6ed3a94ab8d2d3b58b1bf73f7c06b11870356f9c
[ "MIT" ]
null
null
null
1/SaveJPG/SaveJPG.pyde
sinoapollo/pyprocessingsamplecode
6ed3a94ab8d2d3b58b1bf73f7c06b11870356f9c
[ "MIT" ]
1
2019-03-03T15:37:50.000Z
2019-03-03T15:37:50.000Z
""" Author: 陈天翼(Apollo Chen) Date: 2019-02-18 Description: 学习重点:beginShape, vertex, endShape, save, saveFrame """ x = 0 def setup(): size(800, 600) triangle(400, 150, 400, 250, 500, 200) triangle(250, 250, 300, 300, 300, 250) rect(300, 250, 200, 50) triangle(550, 250, 500, 300, 500, 250) save(...
19.581395
64
0.562945
116
842
4.086207
0.474138
0.101266
0.050633
0
0
0
0
0
0
0
0
0.248344
0.28266
842
42
65
20.047619
0.536424
0.195962
0
0.133333
0
0
0.040359
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
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
d37bfc505960f1acaa93775aaa08e42265d43e52
8,144
py
Python
docker-images/taigav2/taiga-back/taiga/base/api/viewsets.py
mattcongy/itshop
6be025a9eaa7fe7f495b5777d1f0e5a3184121c9
[ "MIT" ]
1
2017-05-29T19:01:06.000Z
2017-05-29T19:01:06.000Z
docker-images/taigav2/taiga-back/taiga/base/api/viewsets.py
mattcongy/itshop
6be025a9eaa7fe7f495b5777d1f0e5a3184121c9
[ "MIT" ]
null
null
null
docker-images/taigav2/taiga-back/taiga/base/api/viewsets.py
mattcongy/itshop
6be025a9eaa7fe7f495b5777d1f0e5a3184121c9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2014-2016 Andrey Antukh <niwi@niwi.nz> # Copyright (C) 2014-2016 Jesús Espino <jespinog@gmail.com> # Copyright (C) 2014-2016 David Barragán <bameda@dbarragan.com> # Copyright (C) 2014-2016 Alejandro Alonso <alejandro.alonso@kaleidos.net> # This program is free software: you can r...
37.018182
87
0.661469
993
8,144
5.365559
0.348439
0.013514
0.015015
0.013514
0.144707
0.090653
0.084647
0.062688
0.025526
0.025526
0
0.00733
0.262893
8,144
219
88
37.187215
0.880227
0.497544
0
0.223529
0
0
0.034617
0
0
0
0
0
0
1
0.082353
false
0.117647
0.070588
0.011765
0.376471
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
d38aebe3f58df0d025b3b9609b4879bf213f6c6a
1,769
py
Python
lang/Python/sum-multiples-of-3-and-5-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/sum-multiples-of-3-and-5-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/sum-multiples-of-3-and-5-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
'''Summed multiples of 3 and 5 up to n''' # sum35 :: Int -> Int def sum35(n): '''Sum of all positive multiples of 3 or 5 below n. ''' f = sumMults(n) return f(3) + f(5) - f(15) # sumMults :: Int -> Int -> Int def sumMults(n): '''Area under a straight line between the first multiple...
24.569444
70
0.453363
230
1,769
3.434783
0.369565
0.037975
0.034177
0.03038
0.040506
0
0
0
0
0
0
0.035918
0.307518
1,769
71
71
24.915493
0.60898
0.411532
0
0
0
0
0.023909
0
0
0
0
0
0
1
0.242424
false
0
0
0
0.454545
0.030303
0
0
0
null
0
0
0
0
0
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
d38b57724053d1049345f03cd38a32f256f067a2
1,515
py
Python
butterflow/source.py
changhaitravis/butterflow
d9f92e31a57e800a56b98fa17786144b50d3e3bb
[ "MIT" ]
1,340
2015-01-04T01:43:39.000Z
2022-03-29T04:44:41.000Z
butterflow/source.py
freelandy/butterflow
82133fed2f59c5753fc916e6c067373a640e5dcb
[ "MIT" ]
134
2015-04-05T10:04:02.000Z
2022-02-16T22:34:03.000Z
butterflow/source.py
freelandy/butterflow
82133fed2f59c5753fc916e6c067373a640e5dcb
[ "MIT" ]
116
2015-04-14T17:37:33.000Z
2022-02-19T21:36:22.000Z
# -*- coding: utf-8 -*- # uses the opencv api as the default frame source. must ensure that the ffmpeg # compiled that it is linked against is the same as the ffmpeg being used to # render video files import cv2 class OpenCvFrameSource(object): def __init__(self, src): self.src = src self.capture...
31.5625
79
0.629043
221
1,515
4.21267
0.38914
0.118153
0.022556
0.032223
0.094522
0.094522
0.094522
0.06015
0
0
0
0.012082
0.289769
1,515
47
80
32.234043
0.85316
0.271287
0
0.15625
0
0
0
0
0
0
0
0
0
1
0.21875
false
0
0.03125
0.03125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d3901c5c2b4293995ce5b2767aadc677d381a86e
559
py
Python
django_haveli_admin/templatetags/django_template_tags.py
purnendukar/django-haveli-admin
97fd8eb89bf2dbdbdf206ff3f267cfa94fa0961d
[ "BSD-3-Clause" ]
3
2021-11-07T17:26:06.000Z
2021-11-12T14:26:19.000Z
django_haveli_admin/templatetags/django_template_tags.py
purnendu-pdgt/django-haveli-admin
0dc09160f4ae9cc98ce4a37964fbec82ba62338f
[ "BSD-3-Clause" ]
null
null
null
django_haveli_admin/templatetags/django_template_tags.py
purnendu-pdgt/django-haveli-admin
0dc09160f4ae9cc98ce4a37964fbec82ba62338f
[ "BSD-3-Clause" ]
1
2020-09-09T13:55:25.000Z
2020-09-09T13:55:25.000Z
from django.conf import settings from django import template # Depending on your django version, `reverse` and `NoReverseMatch` has been moved. # From django 2.0 they've been moved to `django.urls` try: from django.urls import reverse, NoReverseMatch except ImportError: from django.core.urlresolvers import rev...
29.421053
82
0.774597
76
559
5.618421
0.526316
0.140515
0.126464
0
0
0
0
0
0
0
0
0.008511
0.159213
559
19
83
29.421053
0.9
0.366726
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d3a8a2f79d19fbc852c06ff0ec943aa182f437a2
458
py
Python
tests/conftest.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
11
2018-09-21T21:30:42.000Z
2021-03-11T08:46:35.000Z
tests/conftest.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
1
2020-04-10T10:47:26.000Z
2020-04-10T10:47:26.000Z
tests/conftest.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
3
2019-03-07T14:07:25.000Z
2020-04-10T15:28:09.000Z
from client import XTBClient from settings import XTB_USER, XTB_PASS import pytest @pytest.fixture(scope="session") def xtb_client(): client = XTBClient() logged_in_msg = client.login(XTB_USER, XTB_PASS) assert logged_in_msg.get('status') is True, 'Error code {}'.format(logged_in_msg.get('errorCode')) ...
28.625
102
0.722707
64
458
5
0.515625
0.075
0.103125
0.0875
0
0
0
0
0
0
0
0
0.157205
458
15
103
30.533333
0.829016
0
0
0
0
0
0.131004
0
0
0
0
0
0.166667
1
0.083333
false
0.166667
0.25
0
0.333333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d3af01baabb0bf8a6d526c06bb838f56579f9368
1,758
py
Python
src/ui/path_item_ui.py
yemenPython/TheBossBaby
86e447b3fa360646a179e62c70b1750da5427541
[ "MIT" ]
1
2021-12-16T16:31:29.000Z
2021-12-16T16:31:29.000Z
src/ui/path_item_ui.py
yemenPython/TheBossBaby
86e447b3fa360646a179e62c70b1750da5427541
[ "MIT" ]
null
null
null
src/ui/path_item_ui.py
yemenPython/TheBossBaby
86e447b3fa360646a179e62c70b1750da5427541
[ "MIT" ]
1
2021-12-16T16:31:35.000Z
2021-12-16T16:31:35.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'path_item.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 import QtCore, Qt...
38.217391
80
0.686007
224
1,758
5.267857
0.40625
0.071186
0.055932
0.068644
0.159322
0.055932
0.055932
0
0
0
0
0.024858
0.19909
1,758
45
81
39.066667
0.81321
0.155859
0
0
1
0
0.069783
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
6c958808bc4913c6337e5be759dac5c2df2ce99d
351
py
Python
collective/teamwork/skins/collective_teamwork/pwreset_constructURL.py
upiq/collective.teamwork
3751eeafa7f585a3ed2ff1e06f610e64145ac4d7
[ "BSD-4-Clause-UC" ]
null
null
null
collective/teamwork/skins/collective_teamwork/pwreset_constructURL.py
upiq/collective.teamwork
3751eeafa7f585a3ed2ff1e06f610e64145ac4d7
[ "BSD-4-Clause-UC" ]
null
null
null
collective/teamwork/skins/collective_teamwork/pwreset_constructURL.py
upiq/collective.teamwork
3751eeafa7f585a3ed2ff1e06f610e64145ac4d7
[ "BSD-4-Clause-UC" ]
1
2015-06-25T14:36:21.000Z
2015-06-25T14:36:21.000Z
## Script (Python) "pwreset_constructURL.py" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##title=Create the URL where passwords are reset ##parameters=randomstring host = container.absolute_url().replace('http:','https:') return "%s/passwordre...
31.909091
57
0.766382
43
351
6.186047
0.674419
0
0
0
0
0
0
0
0
0
0
0
0.08547
351
10
58
35.1
0.82866
0.615385
0
0
0
0
0.254237
0
0
0
0
0
0
1
0
false
0.5
0
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
1
0
0
0
0
0
1
6c966217b6d2aa15884d34a5166e0544588e8af4
1,144
py
Python
main.py
pratipo/wsd
b1322dc5372cb09e46f601fecac0394ade3d4c76
[ "MIT" ]
null
null
null
main.py
pratipo/wsd
b1322dc5372cb09e46f601fecac0394ade3d4c76
[ "MIT" ]
null
null
null
main.py
pratipo/wsd
b1322dc5372cb09e46f601fecac0394ade3d4c76
[ "MIT" ]
null
null
null
#!/usr/bin/python # wsd project main script # hardware: ws2801 led strips + raspberry pi + internet adapter # software pulls twits from an 'admin' (twits and retwits) and # displays the last result through the led strip # Written by Pratipo.org, hightly based on Adafruit's IoT Pinter. MIT license. # MUST BE RUN AS...
20.070175
78
0.678322
165
1,144
4.70303
0.606061
0.046392
0.03866
0.046392
0.085052
0.085052
0.085052
0
0
0
0
0.020474
0.188811
1,144
56
79
20.428571
0.815733
0.307692
0
0.21875
0
0
0.128991
0
0
0
0
0
0
0
null
null
0
0.09375
null
null
0.09375
0
0
0
null
0
0
0
0
0
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
6c96edce20f4f33056bc7d4162a68ff6c49c41f5
1,170
py
Python
signature_gen.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
signature_gen.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
signature_gen.py
srikanteswartalluri/pyutils
bf8d56ac9e9b0786861c08ef32eae49b021f20a3
[ "0BSD" ]
null
null
null
__author__ = 'talluri' #!/usr/bin/env python # by carlcarl import getopt import sys import hmac import hashlib import base64 import urllib def formattedCmd(api, cmd): s = 'apiKey=' + api + '&' + cmd return s def encypt(string, key): h = hmac.new(key, string, hashlib.sha1) return base64.b64encode(...
20.172414
99
0.567521
144
1,170
4.527778
0.493056
0.064417
0.082822
0.076687
0.104294
0
0
0
0
0
0
0.015439
0.280342
1,170
57
100
20.526316
0.758907
0.02735
0
0
0
0
0.09243
0
0
0
0
0
0.025641
0
null
null
0
0.153846
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
6c972dfb7033788ac0c0ebbf3dcb12d3878b4343
511
py
Python
skytour/skytour/apps/observe/migrations/0012_alter_observinglocation_time_zone.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
null
null
null
skytour/skytour/apps/observe/migrations/0012_alter_observinglocation_time_zone.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
1
2022-03-17T01:19:23.000Z
2022-03-17T01:19:23.000Z
skytour/skytour/apps/observe/migrations/0012_alter_observinglocation_time_zone.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-31 22:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('observe', '0011_observinglocation_time_zone'), ] operations = [ migrations.AlterField( model_name='observinglocation', ...
26.894737
154
0.626223
56
511
5.589286
0.696429
0.076677
0.076677
0
0
0
0
0
0
0
0
0.050891
0.23092
511
18
155
28.388889
0.745547
0.084149
0
0
1
0
0.236052
0.06867
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
6c9779400ff460d7f43eb4923020d7f32bcafb52
1,304
py
Python
tests/conftest.py
ENVIRO-Module/enbios
10e93df9a168627833eca6d04e4e2b864de8e8d9
[ "BSD-3-Clause" ]
2
2022-01-28T09:38:28.000Z
2022-01-28T09:38:32.000Z
tests/conftest.py
ENVIRO-Module/enbios
10e93df9a168627833eca6d04e4e2b864de8e8d9
[ "BSD-3-Clause" ]
1
2022-01-27T21:42:42.000Z
2022-01-27T21:42:42.000Z
tests/conftest.py
ENVIRO-Module/enbios
10e93df9a168627833eca6d04e4e2b864de8e8d9
[ "BSD-3-Clause" ]
null
null
null
import os import pytest import sys import datetime import time import ctypes.util from typing import Union # scopes (broader to narrower): session, module, class, function (default) @pytest.fixture(scope="session") def chrome_driver(): """ Prepare Chrome driver, visible or headless :return: """ ...
19.176471
85
0.68865
167
1,304
5.329341
0.473054
0.073034
0.101124
0.11236
0.125843
0
0
0
0
0
0
0.004907
0.218558
1,304
67
86
19.462687
0.868499
0.430215
0
0.137931
0
0
0.052326
0
0
0
0
0.029851
0
1
0.172414
false
0
0.241379
0.034483
0.448276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6c99f811bd8abcc5ae5f56fe91c193c7152c1b5e
286
py
Python
src/feature_detection/sift.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
1
2018-10-14T02:05:58.000Z
2018-10-14T02:05:58.000Z
src/feature_detection/sift.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
1
2018-10-05T01:48:48.000Z
2018-10-05T01:48:48.000Z
src/feature_detection/sift.py
jerry-le/computer-vision
bd81a0561680aa976c21c7902cf929257ffeedda
[ "MIT" ]
null
null
null
import cv2 import numpy as np from __utils__.general import show_image img = cv2.imread('../../asserts/images/zigzac.jpg') gray = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) sift = cv2.xfeatures2d.SIFT_create() kp = sift.detect(gray, None) cv2.drawKeypoints(gray, kp, img) show_image(img)
22
51
0.755245
44
286
4.727273
0.613636
0.086538
0.115385
0
0
0
0
0
0
0
0
0.031373
0.108392
286
12
52
23.833333
0.784314
0
0
0
0
0
0.108392
0.108392
0
0
0
0
0.111111
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
6c9b1eefd25dc21d37e4f4c876fc31060898bc73
203
py
Python
com/bigroad/python/demo/test3.py
liuyangyang2015/PythonDemo
a72c009a31ff833dd12405bb97e688ae91ceda6c
[ "MIT" ]
null
null
null
com/bigroad/python/demo/test3.py
liuyangyang2015/PythonDemo
a72c009a31ff833dd12405bb97e688ae91ceda6c
[ "MIT" ]
null
null
null
com/bigroad/python/demo/test3.py
liuyangyang2015/PythonDemo
a72c009a31ff833dd12405bb97e688ae91ceda6c
[ "MIT" ]
null
null
null
import numpy as np np.ones((3,4)) # film demo list = [(3,104),(2,100),(1,81),(101,10),(99,5),(98,2),(18,90)] print(list) for key , value in list: a = (key-18)**2+(value-90)**2 print(np.sqrt(a))
20.3
62
0.561576
43
203
2.651163
0.674419
0
0
0
0
0
0
0
0
0
0
0.197674
0.152709
203
10
63
20.3
0.465116
0.044335
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
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
6c9e9142e74f3b537a895131950a2b5f3457ba18
931
py
Python
home/migrations/0010_apply.py
kovoor/Crew
e6af475c7dd006b21a06ce8101d3735d483b2140
[ "MIT" ]
null
null
null
home/migrations/0010_apply.py
kovoor/Crew
e6af475c7dd006b21a06ce8101d3735d483b2140
[ "MIT" ]
null
null
null
home/migrations/0010_apply.py
kovoor/Crew
e6af475c7dd006b21a06ce8101d3735d483b2140
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-06-14 06:53 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('home', '0009_auto_201806...
34.481481
123
0.633727
104
931
5.519231
0.538462
0.055749
0.073171
0.114983
0.191638
0.191638
0.191638
0.191638
0.191638
0.191638
0
0.043662
0.237379
931
26
124
35.807692
0.764789
0.048335
0
0
1
0
0.080317
0.026018
0
0
0
0
0
1
0
false
0
0.15
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
6c9ed6e280c75bd9911e58f5c65043665bd54cc5
1,313
py
Python
gesso/gesso/git.py
machineeeee/builder-python
a01415ef8675e5a11afaa0fe33f794f8ab2a98dc
[ "Apache-2.0" ]
null
null
null
gesso/gesso/git.py
machineeeee/builder-python
a01415ef8675e5a11afaa0fe33f794f8ab2a98dc
[ "Apache-2.0" ]
null
null
null
gesso/gesso/git.py
machineeeee/builder-python
a01415ef8675e5a11afaa0fe33f794f8ab2a98dc
[ "Apache-2.0" ]
null
null
null
import os import sys import pygit2 import util def clone_github_repository(username, repository, clone_dir_path=None): if clone_dir_path == None: clone_dir_path = '%s/%s' % (util.get_gesso_dir(), 'components') remote_repository_uri = 'https://github.com/%s/%s' % (username, repository) local_repository_clone_pa...
35.486486
97
0.72658
187
1,313
4.839572
0.363636
0.01989
0.066298
0.064088
0.172376
0.048619
0
0
0
0
0
0.006071
0.121858
1,313
36
98
36.472222
0.778838
0.144707
0
0
0
0
0.122367
0
0
0
0
0.027778
0
1
0.1
false
0
0.2
0
0.3
0.05
0
0
0
null
0
0
0
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
6ca86f71b1eb54a5e578ed82970ef4d7a40e87f8
2,309
py
Python
auto_mark.py
CallowBlack/sevmoodle-automark
db1dc6c45f55b8f34b539a20eef7d73b4cef2294
[ "Apache-2.0" ]
null
null
null
auto_mark.py
CallowBlack/sevmoodle-automark
db1dc6c45f55b8f34b539a20eef7d73b4cef2294
[ "Apache-2.0" ]
null
null
null
auto_mark.py
CallowBlack/sevmoodle-automark
db1dc6c45f55b8f34b539a20eef7d73b4cef2294
[ "Apache-2.0" ]
null
null
null
import asyncio from src.moodle_session import MoodleSession import src.session_manager as session_manager import src.data_manager as data_manager import aioconsole async def terminal_loop(): print_command_list(None) while True: command_args = (await aioconsole.ainput("> ")).split() if len(comm...
25.097826
83
0.573841
262
2,309
4.774809
0.248092
0.035971
0.057554
0.052758
0.207034
0.198241
0.161471
0.068745
0.068745
0
0
0.009656
0.282373
2,309
91
84
25.373626
0.745323
0
0
0.236111
0
0
0.136856
0.009095
0
0
0
0
0
1
0.041667
false
0.055556
0.069444
0
0.111111
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6ca9521ccb6f1c2fb4f4b01dbc898fa8324bbc73
676
py
Python
scripts/main.py
rmanders/unlabeled-graphical-enumeration
ff9a5bdfa9e846e18308b428d24418dea5006f23
[ "MIT" ]
null
null
null
scripts/main.py
rmanders/unlabeled-graphical-enumeration
ff9a5bdfa9e846e18308b428d24418dea5006f23
[ "MIT" ]
null
null
null
scripts/main.py
rmanders/unlabeled-graphical-enumeration
ff9a5bdfa9e846e18308b428d24418dea5006f23
[ "MIT" ]
null
null
null
#!/bin/usr/env python """Primary script for testing""" from graphs.orderly import * import sys import argparse def setupArgs(): """Set up command line arguments""" parser = argparse.ArgumentParser(description='Program for generating unlabeled graphs over n vertices') parser.add_argument('--vertices', '-...
22.533333
107
0.634615
79
676
5.291139
0.670886
0.057416
0
0
0
0
0
0
0
0
0
0.001965
0.247041
676
29
108
23.310345
0.819253
0.029586
0
0
0
0
0.202726
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6ca986af7ca2960e93337363cd7ded1661a6a8ac
7,544
py
Python
gcn/bin/mksnpdb.py
kalon33/divine
2db92c093d98722f011224140e652c162a4f4336
[ "Intel" ]
11
2018-11-09T15:47:14.000Z
2021-08-18T18:05:11.000Z
gcn/bin/mksnpdb.py
kalon33/divine
2db92c093d98722f011224140e652c162a4f4336
[ "Intel" ]
5
2018-08-31T15:07:20.000Z
2020-03-30T18:52:04.000Z
gcn/bin/mksnpdb.py
kalon33/divine
2db92c093d98722f011224140e652c162a4f4336
[ "Intel" ]
1
2019-04-18T13:42:30.000Z
2019-04-18T13:42:30.000Z
#!/usr/bin/env python """ Script to build an sqlite database from a dbsnp or 1000 genomes vcf file. The script ignores all sample information and only processes those INFO fields that are described in the meta INFO section of the vcf file. Additionally QUAL and FILTER fields are also ignored since these tend to be sup...
33.678571
90
0.535525
896
7,544
4.452009
0.283482
0.025069
0.016546
0.011281
0.154926
0.113813
0.099774
0.082226
0.082226
0.056656
0
0.006926
0.349284
7,544
223
91
33.829596
0.805663
0.005302
0
0.09816
0
0
0.1991
0
0
0
0
0
0
0
null
null
0
0.04908
null
null
0.006135
0
0
0
null
0
0
0
0
0
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
6caa5053a07e5367a324d4aaa0f90ca9445678bb
2,829
py
Python
fff2_input_models_wrapper.py
jprchlik/cms2_python_helpers
8017598d6be01f9880a6f3350e5d6017212cd9c2
[ "MIT" ]
null
null
null
fff2_input_models_wrapper.py
jprchlik/cms2_python_helpers
8017598d6be01f9880a6f3350e5d6017212cd9c2
[ "MIT" ]
5
2018-01-12T22:12:25.000Z
2018-01-25T15:45:17.000Z
fff2_input_models_wrapper.py
jprchlik/cms2_python_helpers
8017598d6be01f9880a6f3350e5d6017212cd9c2
[ "MIT" ]
null
null
null
import sys, getopt import fff2_input_models as fim def main(argv): inargs1 = 'ht:c:o:i:n:s:l:' snargs1 = inargs1[1:].split(':') inargs2 = ['time','cmsdir','outdir','ifile',"nproc","minmod","maxmod"] helpinfo = "create_model_files_wrapper.py is a command line utility which calls the class create_mod...
32.147727
153
0.594203
395
2,829
4.192405
0.362025
0.029589
0.038043
0.043478
0.157005
0.102657
0.102657
0.06401
0.06401
0.06401
0
0.016999
0.272181
2,829
87
154
32.517241
0.787275
0.093319
0
0.066667
0
0.033333
0.360579
0.040282
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.066667
0
0
0
null
0
0
0
0
0
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
6caaa9a050f2a054c12f817e66ba775c13180ecd
470
py
Python
application/utils/ssl_required.py
xrlin/flask-personal-blog
58c8943a92a5040b80e0ec7ef098f610bdfe32aa
[ "BSD-2-Clause" ]
4
2015-11-22T07:59:32.000Z
2021-10-09T14:39:17.000Z
application/utils/ssl_required.py
xrlin/flask-personal-blog
58c8943a92a5040b80e0ec7ef098f610bdfe32aa
[ "BSD-2-Clause" ]
1
2017-02-08T02:25:39.000Z
2017-03-19T15:29:25.000Z
application/utils/ssl_required.py
xrlin/SimpleFlaskBlog
58c8943a92a5040b80e0ec7ef098f610bdfe32aa
[ "BSD-2-Clause" ]
null
null
null
#coding=utf-8 __author__ = 'archer' from functools import wraps from flask import request, redirect, current_app def ssl_required(fn): @wraps(fn) def decorated_view(*args, **kwargs): if current_app.config.get("SSL"): if request.is_secure: return fn(*args, **kwargs) ...
23.5
75
0.606383
56
470
4.910714
0.589286
0.109091
0.087273
0.130909
0
0
0
0
0
0
0
0.002899
0.265957
470
19
76
24.736842
0.794203
0.025532
0
0.153846
0
0
0.052516
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.615385
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
6cab23e29a5031e22270336c8ac40d73529295af
7,652
py
Python
generate_skeleton_try1-12.py
Luna86/tensorflow-wavenet_ssp
b0b9b55b16284f3810c7ac7f6d7eb0d637a3200d
[ "MIT" ]
null
null
null
generate_skeleton_try1-12.py
Luna86/tensorflow-wavenet_ssp
b0b9b55b16284f3810c7ac7f6d7eb0d637a3200d
[ "MIT" ]
null
null
null
generate_skeleton_try1-12.py
Luna86/tensorflow-wavenet_ssp
b0b9b55b16284f3810c7ac7f6d7eb0d637a3200d
[ "MIT" ]
null
null
null
from __future__ import division from __future__ import print_function import argparse from datetime import datetime import json import os import numpy as np import tensorflow as tf import scipy.io as sio from wavenet_skeleton import WaveNetModel SAMPLES = 16000 LOGDIR = './logdir' WINDOW = 25 #1 second of past samp...
36.966184
196
0.619054
928
7,652
4.934267
0.297414
0.045425
0.029701
0.017471
0.090194
0.057873
0.057873
0.034069
0
0
0
0.007758
0.275614
7,652
206
197
37.145631
0.818329
0
0
0.180645
0
0
0.154914
0.009721
0
0
0
0.004854
0
0
null
null
0.006452
0.064516
null
null
0.083871
0
0
0
null
0
0
0
0
0
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
6cab25a8711c049f37f9159e9bd87638f067fa1d
711
py
Python
estimate_cca.py
kshmelkov/forrestgump
da9a034854ccfc283d03bbc7d47855c2afba5c45
[ "BSD-3-Clause" ]
null
null
null
estimate_cca.py
kshmelkov/forrestgump
da9a034854ccfc283d03bbc7d47855c2afba5c45
[ "BSD-3-Clause" ]
null
null
null
estimate_cca.py
kshmelkov/forrestgump
da9a034854ccfc283d03bbc7d47855c2afba5c45
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python from fg_constants import * import cross_validation as cv import matplotlib.pyplot as plt import numpy as np from scipy.linalg import svd def load_regressor(name, num): lags = cv.REGRESSORS[name](num) return lags[:, :(lags.shape[1]/3)] def trunc_svd(x, d): u, s, _ = svd(x, full_matric...
20.911765
67
0.627286
120
711
3.55
0.483333
0.091549
0.042254
0.046948
0.037559
0
0
0
0
0
0
0.028933
0.222222
711
33
68
21.545455
0.74141
0.022504
0
0
0
0
0.057637
0
0
0
0
0
0
0
null
null
0
0.227273
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
6cab64af28bc93b2303a0d7f1d16396512a065a5
2,475
py
Python
HTTP/HTTPserver.py
jhonatheberson/sockets
43a0a4744caf94423281db77b5f826bce489aacb
[ "MIT" ]
null
null
null
HTTP/HTTPserver.py
jhonatheberson/sockets
43a0a4744caf94423281db77b5f826bce489aacb
[ "MIT" ]
null
null
null
HTTP/HTTPserver.py
jhonatheberson/sockets
43a0a4744caf94423281db77b5f826bce489aacb
[ "MIT" ]
1
2022-03-24T14:30:53.000Z
2022-03-24T14:30:53.000Z
# AUTOR: JHONAT HEBERSON AVELINO DE SOUZA # # SCRIPT: servidor com metodo GET (python 3) # # importacao das bibliotecas import socket # definicao do host e da porta do servidor HOST = '' # ip do servidor (em branco) PORT = 8081 # porta do servidor # cria o socket com IPv4 (AF_INET) usando TCP (SOCK_STREAM) listen_so...
34.859155
100
0.637576
341
2,475
4.539589
0.387097
0.05168
0.041344
0.05168
0.126615
0.090439
0.052972
0.052972
0.052972
0.052972
0
0.022198
0.253737
2,475
71
101
34.859155
0.815918
0.343434
0
0.097561
0
0
0.119003
0
0
0
0
0.014085
0
1
0
false
0
0.02439
0
0.02439
0.073171
0
0
0
null
0
0
0
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
6cae9624f9080d7829c2ab10ec2a57f9015d91e3
635
py
Python
app.py
thobiasn/steam-server-monitor
681f5d5d5b6d27ecd8623cd08929241d850f665d
[ "MIT" ]
null
null
null
app.py
thobiasn/steam-server-monitor
681f5d5d5b6d27ecd8623cd08929241d850f665d
[ "MIT" ]
null
null
null
app.py
thobiasn/steam-server-monitor
681f5d5d5b6d27ecd8623cd08929241d850f665d
[ "MIT" ]
null
null
null
import logging import sys from aiohttp import web import aiohttp_jinja2 import jinja2 import config from routes.api import routes_api from routes.ui import routes_ui def make_app(): app = web.Application() aiohttp_jinja2.setup(app, loader=jinja2.FileSystemLoader('templates')) handlers = [ loggi...
19.84375
74
0.730709
85
635
5.282353
0.411765
0.060134
0.053452
0.080178
0
0
0
0
0
0
0
0.015094
0.165354
635
31
75
20.483871
0.832075
0
0
0
0
0
0.085039
0
0
0
0
0
0
1
0.047619
false
0
0.380952
0
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
0
0
0
1
0
0
0
0
1
6cbfa6bedeec652c883c19b7a0bf5801e903affa
1,962
py
Python
src/blog/models.py
myth/overflow
269f950b6584b327832deb9f9309c2eea527612b
[ "MIT" ]
4
2018-08-21T05:33:40.000Z
2019-05-06T09:03:06.000Z
src/blog/models.py
myth/overflow
269f950b6584b327832deb9f9309c2eea527612b
[ "MIT" ]
1
2020-08-09T10:33:58.000Z
2020-08-09T10:33:58.000Z
src/blog/models.py
myth/overflow
269f950b6584b327832deb9f9309c2eea527612b
[ "MIT" ]
1
2019-05-06T13:33:06.000Z
2019-05-06T13:33:06.000Z
""" Blog models """ from django.contrib.auth import get_user_model from django.db import models from django.utils.text import slugify from markdown2 import markdown class Tag(models.Model): """ Blog tag model """ name = models.CharField(max_length=256) def __str__(self) -> str: """ ...
22.295455
86
0.614169
229
1,962
5.139738
0.371179
0.041631
0.061172
0.081563
0.278675
0.239592
0.208156
0.158879
0.158879
0.158879
0
0.011822
0.267074
1,962
87
87
22.551724
0.806676
0.149847
0
0.205882
0
0
0.026405
0
0
0
0
0
0
1
0.147059
false
0
0.117647
0
0.852941
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
6cc410667aa1dc5ed4d11b72dfa40fd1bb4977db
3,854
py
Python
model/loss.py
lycantrope/SleepStage
a6c8c6c353fe281e06f642eb7da1cbccfbedc1e4
[ "MIT" ]
null
null
null
model/loss.py
lycantrope/SleepStage
a6c8c6c353fe281e06f642eb7da1cbccfbedc1e4
[ "MIT" ]
null
null
null
model/loss.py
lycantrope/SleepStage
a6c8c6c353fe281e06f642eb7da1cbccfbedc1e4
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np # mean false error by Wang+16, IJCNN. class MFE_Loss(nn.Module): def __init__(self, orig_loss): super().__init__() self.set_orig_loss(self, orig_loss) print("using MFE_Loss") def set_orig_loss(self, o...
43.303371
117
0.579398
415
3,854
5.224096
0.192771
0.055351
0.116236
0.114391
0.478321
0.383764
0.325185
0.299354
0.266144
0.181734
0
0.015059
0.276336
3,854
88
118
43.795455
0.76228
0.379865
0
0.156863
0
0
0.018275
0
0
0
0
0.011364
0.019608
1
0.137255
false
0
0.078431
0
0.27451
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6ccd93a30d23fe43a26e36aa441642380e3dd346
3,501
py
Python
src/GUI/path_find_GUI.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
null
null
null
src/GUI/path_find_GUI.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
1
2020-04-25T05:48:45.000Z
2020-04-27T00:23:46.000Z
src/GUI/path_find_GUI.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
null
null
null
import kivy kivy.require('1.11.1') import sqlite3 from kivy.config import Config from kivy.app import App from kivy.properties import ObjectProperty from kivy.uix.screenmanager import ScreenManager, Screen from kivy.lang import Builder from kivy.uix.popup import Popup from kivy.uix.floatlayout import FloatLayout fro...
36.852632
145
0.732362
470
3,501
5.382979
0.331915
0.031621
0.026087
0.03913
0.348617
0.348617
0.332016
0.332016
0.30751
0.253755
0
0.018115
0.148529
3,501
95
146
36.852632
0.830594
0.167381
0
0.257576
0
0
0.130165
0.008264
0
0
0
0
0
1
0.045455
false
0.090909
0.181818
0.015152
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
1
0
0
0
0
0
1
6ccfedad79753d6e4523328c7738c36856cbbfea
475
py
Python
test.py
CraneLu/Basic_CNNs_TensorFlow2
9fe6df17899e53c82a99615703721c6e409fe489
[ "MIT" ]
null
null
null
test.py
CraneLu/Basic_CNNs_TensorFlow2
9fe6df17899e53c82a99615703721c6e409fe489
[ "MIT" ]
null
null
null
test.py
CraneLu/Basic_CNNs_TensorFlow2
9fe6df17899e53c82a99615703721c6e409fe489
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import tensorflow as tf datasets = tf.keras.datasets.fashion_mnist (train_images, train_labels), (test_images, test_labels) = datasets.load_data() print(train_images.shape) # (60000, 28, 28) print(len(train_labels)) # 60000 print(train_labels) # ([9, 0, 0, ..., 3,...
29.6875
79
0.707368
76
475
4.263158
0.447368
0.101852
0.055556
0.074074
0
0
0
0
0
0
0
0.102941
0.141053
475
15
80
31.666667
0.691176
0.242105
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.545455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1